diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9d33994..dc42ec6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'adopt' java-version: 8 - name: Cache Gradle uses: actions/cache@v2 @@ -51,7 +51,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'adopt' java-version: 8 - name: Cache Gradle uses: actions/cache@v2 @@ -84,7 +84,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'adopt' java-version: 11 - name: Cache SonarCloud packages uses: actions/cache@v2 diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 03902e06..207eecbd 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -34,7 +34,7 @@ jobs: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] java: [ 8, 11, 16 ] - needs: [ validation, commitlint, verify-google-java-format ] + needs: [ validation, commitlint ] runs-on: ${{ matrix.os }} steps: - name: Checkout @@ -42,7 +42,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'adopt' java-version: ${{ matrix.java }} - name: Cache Gradle uses: actions/cache@v2 @@ -64,6 +64,11 @@ jobs: if: matrix.os == 'windows-latest' shell: cmd run: gradlew --info check + - name: Publish Unit Test Results + uses: EnricoMi/publish-unit-test-result-action/composite@v1 + if: always() && matrix.os != 'ubuntu-latest' + with: + files: '**/build/test-results/**/*.xml' build: name: Sonar analysis @@ -80,7 +85,7 @@ jobs: if: env.SONAR_TOKEN != null uses: actions/setup-java@v2 with: - distribution: 'zulu' + distribution: 'adopt' java-version: 11 - name: Cache SonarCloud packages if: env.SONAR_TOKEN != null diff --git a/README.md b/README.md index 8d115862..fa0a1fc1 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # GraphQL and Graph*i*QL Spring Framework Boot Starters [![Maven Central](https://img.shields.io/maven-central/v/com.graphql-java-kickstart/graphql-spring-boot-starter.svg)](https://maven-badges.herokuapp.com/maven-central/com.graphql-java-kickstart/graphql-spring-boot-starter) +[![Sonatype Snapshot](https://img.shields.io/nexus/s/com.graphql-java-kickstart/graphql-spring-boot-starter?server=https%3A%2F%2Foss.sonatype.org)](#snapshots) [![GitHub CI Workflow](https://github.com/graphql-java-kickstart/graphql-spring-boot/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/graphql-java-kickstart/graphql-spring-boot/actions/workflows/ci.yml?query=workflow%3ACI+branch%3Amaster) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=graphql-java-kickstart_graphql-spring-boot&metric=alert_status)](https://sonarcloud.io/dashboard?id=graphql-java-kickstart_graphql-spring-boot) [![GitHub contributors](https://img.shields.io/github/contributors/graphql-java-kickstart/graphql-spring-boot)](https://github.com/graphql-java-kickstart/graphql-spring-boot/graphs/contributors) [![Discuss on GitHub](https://img.shields.io/badge/GitHub-discuss-orange)](https://github.com/graphql-java-kickstart/graphql-spring-boot/discussions) - #### We are looking for contributors! Are you interested in improving our documentation, working on the codebase, reviewing PRs? @@ -19,12 +19,12 @@ and join the team! **Table of Contents** - - [Quick start](#quick-start) - - [Using Gradle](#using-gradle) - - [Using Maven](#using-maven) +- [Quick start](#quick-start) + - [Using Gradle](#using-gradle) + - [Using Maven](#using-maven) - [Documentation](#documentation) - [Requirements and Downloads](#requirements-and-downloads) - - [Snapshots](#snapshots) + - [Snapshots](#snapshots) - [Enable GraphQL Servlet](#enable-graphql-servlet) - [Enable Graph*i*QL](#enable-graphiql) - [Enable Altair](#enable-altair) @@ -72,6 +72,7 @@ kotlin.version=1.3.70 Set the Kotlin version in your `` section ```xml + 1.3.70 @@ -109,86 +110,87 @@ repositories { } dependencies { - implementation 'com.graphql-java-kickstart:graphql-spring-boot-starter:11.0.0' + implementation 'com.graphql-java-kickstart:graphql-spring-boot-starter:12.0.0' // to embed Altair tool - runtimeOnly 'com.graphql-java-kickstart:altair-spring-boot-starter:11.0.0' + runtimeOnly 'com.graphql-java-kickstart:altair-spring-boot-starter:12.0.0' // to embed GraphiQL tool - runtimeOnly 'com.graphql-java-kickstart:graphiql-spring-boot-starter:11.0.0' + runtimeOnly 'com.graphql-java-kickstart:graphiql-spring-boot-starter:12.0.0' // to embed GraphQL Playground tool - runtimeOnly 'com.graphql-java-kickstart:playground-spring-boot-starter:11.0.0' + runtimeOnly 'com.graphql-java-kickstart:playground-spring-boot-starter:12.0.0' // to embed Voyager tool - runtimeOnly 'com.graphql-java-kickstart:voyager-spring-boot-starter:11.0.0' + runtimeOnly 'com.graphql-java-kickstart:voyager-spring-boot-starter:12.0.0' // testing facilities - testImplementation 'com.graphql-java-kickstart:graphql-spring-boot-starter-test:11.0.0' + testImplementation 'com.graphql-java-kickstart:graphql-spring-boot-starter-test:12.0.0' } ``` Maven: ```xml + - com.graphql-java-kickstart - graphql-spring-boot-starter - 11.0.0 + com.graphql-java-kickstart + graphql-spring-boot-starter + 12.0.0 - + - com.graphql-java-kickstart - altair-spring-boot-starter - 11.0.0 - runtime +com.graphql-java-kickstart +altair-spring-boot-starter +12.0.0 +runtime - + - com.graphql-java-kickstart - graphiql-spring-boot-starter - 11.0.0 - runtime +com.graphql-java-kickstart +graphiql-spring-boot-starter +12.0.0 +runtime - + - com.graphql-java-kickstart - playground-spring-boot-starter - 11.0.0 - runtime +com.graphql-java-kickstart +playground-spring-boot-starter +12.0.0 +runtime - + - com.graphql-java-kickstart - voyager-spring-boot-starter - 11.0.0 - runtime +com.graphql-java-kickstart +voyager-spring-boot-starter +12.0.0 +runtime - + - com.graphql-java-kickstart - graphql-spring-boot-starter-test - 11.0.0 - test +com.graphql-java-kickstart +graphql-spring-boot-starter-test +12.0.0 +test ``` - ### Snapshots ```xml + - - osshr-snapshots - osshr-sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots/ - + + osshr-snapshots + osshr-sonatype-snapshots + https://oss.sonatype.org/content/repositories/snapshots/ + ``` @@ -196,7 +198,7 @@ For gradle: ```groovy repositories { - maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } + maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } ``` @@ -251,28 +253,28 @@ or `application.properties`): ```yaml graphiql: - mapping: /graphiql - endpoint: - graphql: /graphql - subscriptions: /subscriptions - subscriptions: - timeout: 30 - reconnect: false - basePath: / - enabled: true - pageTitle: GraphiQL - cdn: - enabled: false - version: latest - props: - resources: - query: query.graphql - defaultQuery: defaultQuery.graphql - variables: variables.graphql - variables: - editorTheme: "solarized light" - headers: - Authorization: "Bearer " + mapping: /graphiql + endpoint: + graphql: /graphql + subscriptions: /subscriptions + subscriptions: + timeout: 30 + reconnect: false + basePath: / + enabled: true + pageTitle: GraphiQL + cdn: + enabled: false + version: latest + props: + resources: + query: query.graphql + defaultQuery: defaultQuery.graphql + variables: variables.graphql + variables: + editorTheme: "solarized light" + headers: + Authorization: "Bearer " ``` By default GraphiQL is served from within the package. This can be configured to be served from CDN @@ -298,37 +300,38 @@ or `application.properties`): ```yaml altair: - mapping: /altair - endpoint: - graphql: /graphql - subscriptions: /subscriptions - subscriptions: - timeout: 30 - reconnect: false - static: - basePath: / - enabled: true - pageTitle: Altair - cdn: - enabled: false - version: 2.1.7 - props: - resources: - defaultQuery: defaultQuery.graphql - variables: variables.graphql - headers: - Authorization: "Bearer " + enabled: true + mapping: /altair + subscriptions: + timeout: 30 + reconnect: false + static: + base-path: / + page-title: Altair + cdn: + enabled: false + version: 4.0.2 + options: + endpoint-url: /graphql + subscriptions-endpoint: /subscriptions + initial-settings: + theme: dracula + initial-headers: + Authorization: "Bearer " + resources: + initial-query: defaultQuery.graphql + initial-variables: variables.graphql + initial-pre-request-script: pre-request.graphql + initial-post-request-script: post-request.graphql ``` By default Altair is served from within the package. This can be configured to be served from CDN -instead, by setting the property `altair.cdn.enabled` to `true`. +instead, by setting the property `graphql.altair.cdn.enabled` to `true`. -You are able to set the Altair props as well. The `altair.props.variables` group. Since setting ( +You are able to set the Altair options as well using the `graphql.altair.options` group. Since +setting ( large) queries in the properties like this isn't very readable, you can use the properties in -the `altair.props.resources` group to set the classpath resources that should be loaded. - -Headers that are used when sending the Altair queries can be set by defining them in -the `altair.headers` group. +the `graphql.altair.resources` group to set the classpath resources that should be loaded. # Enable GraphQL Playground @@ -345,42 +348,42 @@ or `application.properties`): ```yaml graphql.playground: - mapping: /playground - endpoint: /graphql - subscriptionEndpoint: /subscriptions - staticPath.base: my-playground-resources-folder - enabled: true - pageTitle: Playground - cdn: - enabled: false - version: latest - settings: - editor.cursorShape: line - editor.fontFamily: "'Source Code Pro', 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace" - editor.fontSize: 14 - editor.reuseHeaders: true - editor.theme: dark - general.betaUpdates: false - prettier.printWidth: 80 - prettier.tabWidth: 2 - prettier.useTabs: false - request.credentials: omit - schema.polling.enable: true - schema.polling.endpointFilter: "*localhost*" - schema.polling.interval: 2000 - schema.disableComments: true - tracing.hideTracingResponse: true - headers: - headerFor: AllTabs - tabs: - - name: Example Tab - query: classpath:exampleQuery.graphql - headers: - SomeHeader: Some value - variables: classpath:variables.json - responses: - - classpath:exampleResponse1.json - - classpath:exampleResponse2.json + mapping: /playground + endpoint: /graphql + subscriptionEndpoint: /subscriptions + staticPath.base: my-playground-resources-folder + enabled: true + pageTitle: Playground + cdn: + enabled: false + version: latest + settings: + editor.cursorShape: line + editor.fontFamily: "'Source Code Pro', 'Consolas', 'Inconsolata', 'Droid Sans Mono', 'Monaco', monospace" + editor.fontSize: 14 + editor.reuseHeaders: true + editor.theme: dark + general.betaUpdates: false + prettier.printWidth: 80 + prettier.tabWidth: 2 + prettier.useTabs: false + request.credentials: omit + schema.polling.enable: true + schema.polling.endpointFilter: "*localhost*" + schema.polling.interval: 2000 + schema.disableComments: true + tracing.hideTracingResponse: true + headers: + headerFor: AllTabs + tabs: + - name: Example Tab + query: classpath:exampleQuery.graphql + headers: + SomeHeader: Some value + variables: classpath:variables.json + responses: + - classpath:exampleResponse1.json + - classpath:exampleResponse2.json ``` ## Basic settings @@ -437,11 +440,9 @@ You can configure the query, variables, headers and even supply sample responses , `variables` and `responses` are expected to be resources of the appropriate format (GraphQL for `query`, JSON for `variables` and `responses`). - # Enable GraphQL Voyager -**GraphQL Voyager** becomes accessible at root `/voyager` (or as configured -in `voyager.mapping`) +**GraphQL Voyager** becomes accessible at root `/voyager` (or as configured in `voyager.mapping`) if `voyager-spring-boot-starter` is added as a dependency to a boot application. Available Spring Boot configuration parameters (either `application.yml` @@ -470,28 +471,30 @@ voyager: ## GraphQL Voyager Basic settings -`mapping` and `endpoint` will default to `/voyager` and `/graphql`, respectively. Note that these values may not be empty. +`mapping` and `endpoint` will default to `/voyager` and `/graphql`, respectively. Note that these +values may not be empty. -`enabled` defaults to `true`, and therefor **GraphQL Voyager** will be available by default if the dependency -is added to a Spring Boot Web Application project. +`enabled` defaults to `true`, and therefor **GraphQL Voyager** will be available by default if the +dependency is added to a Spring Boot Web Application project. `pageTitle` defaults to `Voyager`. -All other properties default to the same as documented on the official [GraphQL Voyager readme](https://github.com/APIs-guru/graphql-voyager#properties) +All other properties default to the same as documented on the +official [GraphQL Voyager readme](https://github.com/APIs-guru/graphql-voyager#properties) ## GraphQL Voyager CDN The currently bundled version is `1.0.0-rc31`, which is - as of writing this - the latest release -of **GraphQL Voyager**. The CDN option uses `jsDelivr` CDN, if enabled. By default, it will -load the latest available release. Available CDN versions can be found on the project's -[jsDelivr page](https://www.jsdelivr.com/package/npm/graphql-voyager). The CDN option is -disabled by default. +of **GraphQL Voyager**. The CDN option uses `jsDelivr` CDN, if enabled. By default, it will load the +latest available release. Available CDN versions can be found on the project's +[jsDelivr page](https://www.jsdelivr.com/package/npm/graphql-voyager). The CDN option is disabled by +default. ## Customizing GraphQL Voyager -Further **GraphQL Voyager** `displayOptions`, `hideDocs` and `hideSettings` customizations can be configured, as documented in the official -[GraphQL Voyager readme](https://github.com/APIs-guru/graphql-voyager#properties). - +Further **GraphQL Voyager** `displayOptions`, `hideDocs` and `hideSettings` customizations can be +configured, as documented in the official +[GraphQL Voyager readme](https://github.com/APIs-guru/graphql-voyager#properties). # Supported GraphQL-Java Libraries @@ -512,11 +515,11 @@ or `application.properties`): ```yaml graphql: - tools: - schema-location-pattern: "**/*.graphqls" - # Enable or disable the introspection query. Disabling it puts your server in contravention of the GraphQL - # specification and expectations of most clients, so use this option with caution - introspection-enabled: true + tools: + schema-location-pattern: "**/*.graphqls" + # Enable or disable the introspection query. Disabling it puts your server in contravention of the GraphQL + # specification and expectations of most clients, so use this option with caution + introspection-enabled: true ``` By default GraphQL tools uses the location pattern `**/*.graphqls` to scan for GraphQL schemas on @@ -526,7 +529,8 @@ the classpath. Use the `schemaLocationPattern` property to customize this patter https://github.com/Enigmatis/graphql-java-annotations -The GraphQL Annotations library is used instead of GraphQL Java Tools if the `graphql-spring-boot-starter` +The GraphQL Annotations library is used instead of GraphQL Java Tools if +the `graphql-spring-boot-starter` dependency is replaced by `graphql-kickstart-spring-boot-starter-graphql-annotations`. The schema will be built using the GraphQL Annotations library in a code-first approach - instead of @@ -592,7 +596,8 @@ Annotations provides default implementation for these which should be sufficient ## Extended scalars -[Extended scalars](https://github.com/graphql-java/graphql-java-extended-scalars) can be enabled by using the +[Extended scalars](https://github.com/graphql-java/graphql-java-extended-scalars) can be enabled by +using the `graphql.extended-scalars` configuration property, e. g.: ```yaml @@ -600,15 +605,17 @@ graphql: extended-scalars: BigDecimal, Date ``` -The available scalars are the following: `BigDecimal`, `BigInteger`, `Byte`, `Char`, `Date`, `DateTime`, `JSON`, -`Locale`, `Long`, `NegativeFloat`, `NegativeInt`, `NonNegativeFloat`, `NonNegativeInt`, `NonPositiveFloat`, +The available scalars are the following: `BigDecimal`, `BigInteger`, `Byte`, `Char`, `Date` +, `DateTime`, `JSON`, +`Locale`, `Long`, `NegativeFloat`, `NegativeInt`, `NonNegativeFloat`, `NonNegativeInt` +, `NonPositiveFloat`, `NonPositiveInt`, `Object`, `PositiveFloat`, `PositiveInt`, `Short`, `Time`, `Url`. This setting works with both the [GraphQL Java Tools](#graphql-java-tools) and the [GraphQL Annotations](#graphql-annotations) integration. -When using the [GraphQL Java Tools](#graphql-java-tools) integration, the scalars must also be declared in the GraphQL -Schema: +When using the [GraphQL Java Tools](#graphql-java-tools) integration, the scalars must also be +declared in the GraphQL Schema: ```graphql scalar BigDecimal @@ -623,8 +630,8 @@ implementation, and can be enabled in the application.yml or application.propert ```yaml graphql: - servlet: - tracing-enabled: true + servlet: + tracing-enabled: true ``` the default value is false, with "metrics-only" being available. Metrics-only does not add the @@ -637,8 +644,8 @@ application.yml or application.properties to either true or false, with a defaul ```yaml graphql: - servlet: - actuator-metrics: true + servlet: + actuator-metrics: true ``` ## Usage @@ -652,8 +659,8 @@ The following metrics are available for exposure: * `graphql.websocket.sessions` - number of active websocket sessions for subscriptions * `graphql.websocket.subscriptions` - number of active subscriptions - ## FAQs + ### WARNING: NoClassDefFoundError when using GraphQL Java Tools > 5.4.x If you're using `graphql-java-tools` in combination with Spring Boot 2.1.x or below then you need to @@ -665,9 +672,6 @@ this version you will run into a `NoClassDefFoundError`. Spring Boot team has indicated the Kotlin version will be upgraded to 1.3 in Spring Boot 2.2. - - - # Contributions Contributions are welcome. Please respect diff --git a/altair-spring-boot-autoconfigure/LICENSE.md b/altair-spring-boot-autoconfigure/LICENSE.md deleted file mode 100644 index 9deca2c8..00000000 --- a/altair-spring-boot-autoconfigure/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Oembedler Inc. and Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/altair-spring-boot-autoconfigure/build.gradle b/altair-spring-boot-autoconfigure/build.gradle deleted file mode 100644 index 780c3f24..00000000 --- a/altair-spring-boot-autoconfigure/build.gradle +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -dependencies{ - implementation(project(':graphql-kickstart-starter-utils')) - annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" - - implementation "org.springframework.boot:spring-boot-autoconfigure" - implementation "org.apache.commons:commons-text:$LIB_APACHE_COMMONS_TEXT" - compileOnly "org.springframework.boot:spring-boot-starter-web" - - testImplementation "org.springframework.boot:spring-boot-starter-web" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} - -compileJava.dependsOn(processResources) diff --git a/altair-spring-boot-autoconfigure/src/main/java/graphql/kickstart/altair/boot/AltairController.java b/altair-spring-boot-autoconfigure/src/main/java/graphql/kickstart/altair/boot/AltairController.java deleted file mode 100644 index aaaa6cee..00000000 --- a/altair-spring-boot-autoconfigure/src/main/java/graphql/kickstart/altair/boot/AltairController.java +++ /dev/null @@ -1,128 +0,0 @@ -package graphql.kickstart.altair.boot; - -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.ObjectMapper; -import graphql.kickstart.util.PropertyGroupReader; -import graphql.kickstart.util.PropsLoader; -import java.io.IOException; -import java.io.InputStream; -import java.nio.charset.Charset; -import java.util.HashMap; -import java.util.Map; -import java.util.Properties; -import javax.annotation.PostConstruct; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import org.apache.commons.lang3.StringUtils; -import org.apache.commons.text.StringSubstitutor; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.core.env.Environment; -import org.springframework.core.io.ClassPathResource; -import org.springframework.stereotype.Controller; -import org.springframework.util.StreamUtils; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestParam; - -/** @author Moncef AOUDIA */ -@Controller -public class AltairController { - - private static final String CDN_UNPKG = "//unpkg.com/"; - private static final String ALTAIR = "altair-static"; - - @Autowired private AltairProperties altairProperties; - - @Autowired private Environment environment; - - private String template; - private String props; - private String headers; - - @PostConstruct - public void onceConstructed() throws IOException { - loadTemplate(); - loadProps(); - loadHeaders(); - } - - private void loadTemplate() throws IOException { - try (InputStream inputStream = new ClassPathResource("altair.html").getInputStream()) { - template = StreamUtils.copyToString(inputStream, Charset.defaultCharset()); - } - } - - private void loadProps() throws IOException { - props = new PropsLoader(environment, "altair.props.resources.", "altair.props.values.").load(); - } - - private void loadHeaders() throws JsonProcessingException { - PropertyGroupReader propertyReader = new PropertyGroupReader(environment, "altair.headers."); - Properties headerProperties = propertyReader.load(); - this.headers = new ObjectMapper().writeValueAsString(headerProperties); - } - - @GetMapping(value = "${altair.mapping:/altair}") - public void altair( - HttpServletRequest request, - HttpServletResponse response, - @PathVariable Map params) - throws IOException { - response.setContentType("text/html; charset=UTF-8"); - - Map replacements = - getReplacements( - constructGraphQlEndpoint(request, params), - request.getContextPath() + altairProperties.getEndpoint().getSubscriptions()); - - String populatedTemplate = StringSubstitutor.replace(template, replacements); - response.getOutputStream().write(populatedTemplate.getBytes(Charset.defaultCharset())); - } - - private Map getReplacements( - String graphqlEndpoint, String subscriptionsEndpoint) { - Map replacements = new HashMap<>(); - replacements.put("graphqlEndpoint", graphqlEndpoint); - replacements.put("subscriptionsEndpoint", subscriptionsEndpoint); - replacements.put("pageTitle", altairProperties.getPageTitle()); - replacements.put("pageFavicon", getResourceUrl("favicon.ico", "favicon.ico")); - replacements.put( - "altairBaseUrl", - getResourceUrl( - StringUtils.join(altairProperties.getBasePath(), "/vendor/altair/"), - joinJsUnpkgPath(ALTAIR, altairProperties.getCdn().getVersion(), "build/dist/"))); - replacements.put( - "altairLogoUrl", getResourceUrl("assets/img/logo_350.svg", "assets/img/logo_350.svg")); - replacements.put("altairCssUrl", getResourceUrl("styles.css", "styles.css")); - replacements.put("altairMainJsUrl", getResourceUrl("main.js", "main.js")); - replacements.put("altairPolyfillsJsUrl", getResourceUrl("polyfills.js", "polyfills.js")); - replacements.put("altairRuntimeJsUrl", getResourceUrl("runtime.js", "runtime.js")); - replacements.put("props", props); - replacements.put("headers", headers); - return replacements; - } - - private String getResourceUrl(String staticFileName, String cdnUrl) { - if (altairProperties.getCdn().isEnabled() && StringUtils.isNotBlank(cdnUrl)) { - return cdnUrl; - } - return staticFileName; - } - - private String joinJsUnpkgPath(String library, String cdnVersion, String cdnFileName) { - return CDN_UNPKG + library + "@" + cdnVersion + "/" + cdnFileName; - } - - private String constructGraphQlEndpoint( - HttpServletRequest request, @RequestParam Map params) { - String endpoint = altairProperties.getEndpoint().getGraphql(); - for (Map.Entry param : params.entrySet()) { - endpoint = endpoint.replaceAll("\\{" + param.getKey() + "}", param.getValue()); - } - if (StringUtils.isNotBlank(request.getContextPath()) - && !endpoint.startsWith(request.getContextPath())) { - return request.getContextPath() + endpoint; - } - return endpoint; - } -} diff --git a/altair-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/altair-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json deleted file mode 100644 index 0649f764..00000000 --- a/altair-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "groups": [ - { - "name": "altair" - } - ], - "properties": [ - { - "name": "altair.enabled", - "defaultValue": true, - "type": "java.lang.Boolean" - }, - { - "name": "altair.mapping", - "defaultValue": "/altair", - "type": "java.lang.String" - }, - { - "name": "altair.endpoint.graphql", - "defaultValue": "/graphql", - "type": "java.lang.String" - }, - { - "name": "altair.endpoint.subscriptions", - "defaultValue": "/subscriptions", - "type": "java.lang.String" - }, - { - "name": "altair.static.basePath", - "defaultValue": "", - "type": "java.lang.String" - }, - { - "name": "altair.pageTitle", - "defaultValue": "Altair", - "type": "java.lang.String" - }, - { - "name": "altair.cdn.enabled", - "defaultValue": false, - "type": "java.lang.Boolean" - }, - { - "name": "altair.cdn.version", - "defaultValue": "2.1.7", - "type": "java.lang.String" - }, - { - "name": "altair.props.resources.defaultQuery", - "defaultValue": null, - "type": "java.lang.String" - }, - { - "name": "altair.props.resources.variables", - "defaultValue": null, - "type": "java.lang.String" - }, - { - "name": "altair.headers.Authorization", - "defaultValue": null, - "type": "java.lang.String" - } - ] -} diff --git a/altair-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories b/altair-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 1d3a2732..00000000 --- a/altair-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1 +0,0 @@ -org.springframework.boot.autoconfigure.EnableAutoConfiguration=graphql.kickstart.altair.boot.AltairAutoConfiguration diff --git a/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/5.js b/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/5.js deleted file mode 100644 index 782c298d..00000000 --- a/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/5.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{kmxh:function(e,t,r){e.exports=function(e){"use strict";var t=Object.freeze({__proto__:null,get FunctionDeclaration(){return le},get VariableDeclaration(){return pe},get VariableDeclarator(){return de},get ClassDeclaration(){return fe},get ClassBody(){return me},get MethodDefinition(){return ge}}),r=Object.freeze({__proto__:null,get FunctionDeclaration(){return Re},get VariableDeclaration(){return De},get VariableDeclarator(){return Ue},get ClassDeclaration(){return Fe},get ClassBody(){return je},get MethodDefinition(){return He}}),i=Object.freeze,n=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=Object.prototype.hasOwnProperty;function o(e,t){return a.call(e,t)}var c=Object.getOwnPropertyNames,h=Object.setPrototypeOf,u=Object.getPrototypeOf;function l(e){return u?u(e):e.__proto__}var p=Object.getOwnPropertyDescriptor;function d(e,t,r){for(;t;){var i=p(t,r),n=void 0!==i&&void 0===i.writable&&"function"==typeof i[e]&&i[e];if(n)return n;t=l(t)}}function f(e,t){return d("get",e,t)}function m(e,t){return d("set",e,t)}var g=Object.create;function y(e,t){var r,i;r=e,i=t,h?h(r,i):r.__proto__=i,e.prototype=g(t.prototype,{constructor:{value:e,writable:!0}})}var v=Object.assign||function(e){for(var t=1;t0&&n[n.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function H(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){n={error:o}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}function G(){for(var e=[],t=0;t":return r>i;case">=":return r>=i;case"<<":return r<>":return r>>i;case">>>":return r>>>i;case"+":return r+i;case"-":return r-i;case"*":return r*i;case"**":return Math.pow(r,i);case"/":return r/i;case"%":return r%i;case"|":return r|i;case"^":return r^i;case"&":return r&i;case"in":return r in i;case"instanceof":return r instanceof i;default:throw new SyntaxError("Unexpected token "+e.operator)}},AssignmentExpression:function(e,t){var r,i=ue(e.right,t),n=e.left;if("Identifier"===n.type){if(!(r=W(n,t,{getVar:!0,throwErr:!1}))){var s=t.global().find("window").get();r=new D(s,n.name)}}else{if("MemberExpression"!==n.type)return Ye(n,t,{feed:i});r=Q(n,t,{getVar:!0})}switch(e.operator){case"=":return r.set(i),r.get();case"+=":return r.set(r.get()+i),r.get();case"-=":return r.set(r.get()-i),r.get();case"*=":return r.set(r.get()*i),r.get();case"/=":return r.set(r.get()/i),r.get();case"%=":return r.set(r.get()%i),r.get();case"**=":return r.set(Math.pow(r.get(),i)),r.get();case"<<=":return r.set(r.get()<>=":return r.set(r.get()>>i),r.get();case">>>=":return r.set(r.get()>>>i),r.get();case"|=":return r.set(r.get()|i),r.get();case"^=":return r.set(r.get()^i),r.get();case"&=":return r.set(r.get()&i),r.get();default:throw new SyntaxError("Unexpected token "+e.operator)}},LogicalExpression:function(e,t){switch(e.operator){case"||":return ue(e.left,t)||ue(e.right,t);case"&&":return ue(e.left,t)&&ue(e.right,t);default:throw new SyntaxError("Unexpected token "+e.operator)}},MemberExpression:Q,ConditionalExpression:function(e,t){return ue(e.test,t)?ue(e.consequent,t):ue(e.alternate,t)},CallExpression:function(e,t){var r,i;if("MemberExpression"===e.callee.type){var n;if(i=Q(e.callee,t,{getObj:!0}),n=e.callee.computed?ue(e.callee.property,t):e.callee.property.name,"Super"===e.callee.object.type){var s=t.find("this").get();r=i[n].bind(s)}else r=i[n];if("function"!=typeof r)throw new TypeError(n+" is not a function");if(r[V])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'")}else if(i=t.find("this").get(),"function"!=typeof(r=ue(e.callee,t))||"Super"!==e.callee.type&&r[V]){var a;if("Identifier"===e.callee.type)a=e.callee.name;else try{a=JSON.stringify(r)}catch(rt){a=""+r}throw"function"!=typeof r?new TypeError(a+" is not a function"):new TypeError("Class constructor "+a+" cannot be invoked without 'new'")}for(var o=[],c=0;c":return[2,r>i];case">=":return[2,r>=i];case"<<":return[2,r<>":return[2,r>>i];case">>>":return[2,r>>>i];case"+":return[2,r+i];case"-":return[2,r-i];case"*":return[2,r*i];case"**":return[2,Math.pow(r,i)];case"/":return[2,r/i];case"%":return[2,r%i];case"|":return[2,r|i];case"^":return[2,r^i];case"&":return[2,r&i];case"in":return[2,r in i];case"instanceof":return[2,r instanceof i];default:throw new SyntaxError("Unexpected token "+e.operator)}}}))},AssignmentExpression:function(e,t){var r,i,n,s;return F(this,(function(a){switch(a.label){case 0:return[5,j(Me(e.right,t))];case 1:return r=a.sent(),"Identifier"!==(i=e.left).type?[3,3]:[5,j(ye(i,t,{getVar:!0,throwErr:!1}))];case 2:return(n=a.sent())||(s=t.global().find("window").get(),n=new D(s,i.name)),[3,7];case 3:return"MemberExpression"!==i.type?[3,5]:[5,j(_e(i,t,{getVar:!0}))];case 4:return n=a.sent(),[3,7];case 5:return[5,j(ze(i,t,{feed:r}))];case 6:return[2,a.sent()];case 7:switch(e.operator){case"=":return n.set(r),[2,n.get()];case"+=":return n.set(n.get()+r),[2,n.get()];case"-=":return n.set(n.get()-r),[2,n.get()];case"*=":return n.set(n.get()*r),[2,n.get()];case"/=":return n.set(n.get()/r),[2,n.get()];case"%=":return n.set(n.get()%r),[2,n.get()];case"**=":return n.set(Math.pow(n.get(),r)),[2,n.get()];case"<<=":return n.set(n.get()<>=":return n.set(n.get()>>r),[2,n.get()];case">>>=":return n.set(n.get()>>>r),[2,n.get()];case"|=":return n.set(n.get()|r),[2,n.get()];case"^=":return n.set(n.get()^r),[2,n.get()];case"&=":return n.set(n.get()&r),[2,n.get()];default:throw new SyntaxError("Unexpected token "+e.operator)}}}))},LogicalExpression:function(e,t){var r,i;return F(this,(function(n){switch(n.label){case 0:switch(e.operator){case"||":return[3,1];case"&&":return[3,5]}return[3,9];case 1:return[5,j(Me(e.left,t))];case 2:return(r=n.sent())?[3,4]:[5,j(Me(e.right,t))];case 3:r=n.sent(),n.label=4;case 4:return[2,r];case 5:return[5,j(Me(e.left,t))];case 6:return(i=n.sent())?[5,j(Me(e.right,t))]:[3,8];case 7:i=n.sent(),n.label=8;case 8:return[2,i];case 9:throw new SyntaxError("Unexpected token "+e.operator)}}))},MemberExpression:_e,ConditionalExpression:function(e,t){var r;return F(this,(function(i){switch(i.label){case 0:return[5,j(Me(e.test,t))];case 1:return i.sent()?[5,j(Me(e.consequent,t))]:[3,3];case 2:return r=i.sent(),[3,5];case 3:return[5,j(Me(e.alternate,t))];case 4:r=i.sent(),i.label=5;case 5:return[2,r]}}))},CallExpression:function(e,t){var r,i,n,s,a,o,c,h,u,l,p,d;return F(this,(function(f){switch(f.label){case 0:return"MemberExpression"!==e.callee.type?[3,5]:[5,j(_e(e.callee,t,{getObj:!0}))];case 1:return i=f.sent(),n=void 0,e.callee.computed?[5,j(Me(e.callee.property,t))]:[3,3];case 2:return n=f.sent(),[3,4];case 3:n=e.callee.property.name,f.label=4;case 4:if("Super"===e.callee.object.type?(s=t.find("this").get(),r=i[n].bind(s)):r=i[n],"function"!=typeof r)throw new TypeError(n+" is not a function");if(r[V])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'");return[3,7];case 5:return i=t.find("this").get(),[5,j(Me(e.callee,t))];case 6:if("function"!=typeof(r=f.sent())||"Super"!==e.callee.type&&r[V]){if("Identifier"===e.callee.type)a=e.callee.name;else try{a=JSON.stringify(r)}catch(rt){a=""+r}throw"function"!=typeof r?new TypeError(a+" is not a function"):new TypeError("Class constructor "+a+" cannot be invoked without 'new'")}f.label=7;case 7:o=[],c=0,f.label=8;case 8:return c=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}(r),n=void 0,C.RES=i.next(),[4,C]):[3,8];case 2:n=l.sent(),l.label=3;case 3:return n.done?[3,7]:[5,j(Xe(e,t,{value:n.value}))];case 4:if((o=l.sent())===P)return[3,7];if(o===A)return[3,5];if(o===I)return[2,o];l.label=5;case 5:return C.RES=i.next(),[4,C];case 6:return n=l.sent(),[3,3];case 7:return[3,15];case 8:l.trys.push([8,13,14,15]),s=j(r),a=s.next(),l.label=9;case 9:return a.done?[3,12]:[5,j(Xe(e,t,{value:a.value}))];case 10:if((o=l.sent())===P)return[3,12];if(o===A)return[3,11];if(o===I)return[2,o];l.label=11;case 11:return a=s.next(),[3,9];case 12:return[3,15];case 13:return c=l.sent(),h={error:c},[3,15];case 14:try{a&&!a.done&&(u=s.return)&&u.call(s)}finally{if(h)throw h.error}return[7];case 15:return[2]}}))}});function Te(e,t,r){var i,n,s,a,o,c,h,u,l,p,d,f,m,g,y;return void 0===r&&(r={}),F(this,(function(x){switch(x.label){case 0:n=void 0===(i=r.kind)?"var":i,a=void 0!==(s=r.hoist)&&s,c=void 0!==(o=r.onlyBlock)&&o,u=void 0===(h=r.feed)?{}:h,l=[],p=0,x.label=1;case 1:return p-1;c--)e.body.splice(a[c],1);e.body=s.concat(e.body)}return[2]}}))}function qe(e,t){var r,i,n,s,a;return F(this,(function(o){switch(o.label){case 0:switch(e.type){case"VariableDeclaration":return[3,1];case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":return[3,3];case"BlockStatement":return[3,5];case"SwitchStatement":return[3,10];case"TryStatement":return[3,17]}return[3,30];case 1:return[5,j(De(e,t,{hoist:!0}))];case 2:return o.sent(),[3,30];case 3:return[5,j(qe(e.body,t))];case 4:return o.sent(),[3,30];case 5:a=0,o.label=6;case 6:return a-1;o--)e.body.splice(a[o],1);e.body=s.concat(e.body)}}function Ze(e,t){switch(e.type){case"VariableDeclaration":pe(e,t,{hoist:!0});break;case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":Ze(e.body,t);break;case"BlockStatement":for(var r=0;re)return!1;if((r+=t[i+1])>=e)return!0}}function f(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&h.test(String.fromCharCode(e)):!1!==t&&d(e,l)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&u.test(String.fromCharCode(e)):!1!==t&&(d(e,l)||d(e,p)))))}var g=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function y(e,t){return new g(e,{beforeExpr:!0,binop:t})}var v={beforeExpr:!0},x={startsExpr:!0},b={};function _(e,t){return void 0===t&&(t={}),t.keyword=e,b[e]=new g(e,t)}var k={num:new g("num",x),regexp:new g("regexp",x),string:new g("string",x),name:new g("name",x),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",v),semi:new g(";",v),colon:new g(":",v),dot:new g("."),question:new g("?",v),arrow:new g("=>",v),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",v),backQuote:new g("`",x),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:y("||",1),logicalAND:y("&&",2),bitwiseOR:y("|",3),bitwiseXOR:y("^",4),bitwiseAND:y("&",5),equality:y("==/!=/===/!==",6),relational:y("/<=/>=",7),bitShift:y("<>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:y("%",10),star:y("*",10),slash:y("/",10),starstar:new g("**",{beforeExpr:!0}),_break:_("break"),_case:_("case",v),_catch:_("catch"),_continue:_("continue"),_debugger:_("debugger"),_default:_("default",v),_do:_("do",{isLoop:!0,beforeExpr:!0}),_else:_("else",v),_finally:_("finally"),_for:_("for",{isLoop:!0}),_function:_("function",x),_if:_("if"),_return:_("return",v),_switch:_("switch"),_throw:_("throw",v),_try:_("try"),_var:_("var"),_const:_("const"),_while:_("while",{isLoop:!0}),_with:_("with"),_new:_("new",{beforeExpr:!0,startsExpr:!0}),_this:_("this",x),_super:_("super",x),_class:_("class",x),_extends:_("extends",v),_export:_("export"),_import:_("import",x),_null:_("null",x),_true:_("true",x),_false:_("false",x),_in:_("in",{beforeExpr:!0,binop:7}),_instanceof:_("instanceof",{beforeExpr:!0,binop:7}),_typeof:_("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:_("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:_("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,S=new RegExp(w.source,"g");function E(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var C=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,I=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,A=Object.prototype,P=A.hasOwnProperty,T=A.toString;function L(e,t){return P.call(e,t)}var N=Array.isArray||function(e){return"[object Array]"===T.call(e)};function V(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var B=function(e,t){this.line=e,this.column=t};B.prototype.offset=function(e){return new B(this.line,this.column+e)};var O=function(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)};function M(e,t){for(var r=1,i=0;;){S.lastIndex=i;var n=S.exec(e);if(!(n&&n.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),N(t.onToken)){var i=t.onToken;t.onToken=function(e){return i.push(e)}}return N(t.onComment)&&(t.onComment=function(e,t){return function(r,i,n,s,a,o){var c={type:r?"Block":"Line",value:i,start:n,end:s};e.locations&&(c.loc=new O(this,a,o)),e.ranges&&(c.range=[n,s]),t.push(c)}}(t,t.onComment)),t}(e),this.sourceFile=e.sourceFile,this.keywords=V(s[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";if(!0!==e.allowReserved){for(var a=e.ecmaVersion;!(n=i[a]);a--);"module"===e.sourceType&&(n+=" await")}this.reservedWords=V(n);var o=(n?n+" ":"")+i.strict;this.reservedWordsStrict=V(o),this.reservedWordsStrictBind=V(o+" "+i.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=k.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},F={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};U.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},F.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},F.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},F.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},F.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},F.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},F.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},U.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},U.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,i=0;i-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},j.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},j.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case k._class:return e&&this.unexpected(),this.parseClass(s,!0);case k._if:return this.parseIfStatement(s);case k._return:return this.parseReturnStatement(s);case k._switch:return this.parseSwitchStatement(s);case k._throw:return this.parseThrowStatement(s);case k._try:return this.parseTryStatement(s);case k._const:case k._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(s,i);case k._while:return this.parseWhileStatement(s);case k._with:return this.parseWithStatement(s);case k.braceL:return this.parseBlock(!0,s);case k.semi:return this.parseEmptyStatement(s);case k._export:case k._import:if(this.options.ecmaVersion>10&&n===k._import){I.lastIndex=this.pos;var a=I.exec(this.input);if(40===this.input.charCodeAt(this.pos+a[0].length))return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===k._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var o=this.value,c=this.parseExpression();return n===k.name&&"Identifier"===c.type&&this.eat(k.colon)?this.parseLabeledStatement(s,o,c,e):this.parseExpressionStatement(s,c)}},W.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(k.semi)||this.insertSemicolon()?e.label=null:this.type!==k.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(k.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},W.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(q),this.enterScope(0),this.expect(k.parenL),this.type===k.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===k._var||this.type===k._const||r){var i=this.startNode(),n=r?"let":this.value;return this.next(),this.parseVar(i,!0,n),this.finishNode(i,"VariableDeclaration"),(this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===i.declarations.length?(this.options.ecmaVersion>=9&&(this.type===k._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var s=new G,a=this.parseExpression(!0,s);return this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===k._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(a,!1,s),this.checkLVal(a),this.parseForIn(e,a)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))},W.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Q|(r?0:X),!1,t)},W.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(k._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},W.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(k.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},W.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(k.braceL),this.labels.push(z),this.enterScope(0);for(var r=!1;this.type!==k.braceR;)if(this.type===k._case||this.type===k._default){var i=this.type===k._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(k.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},W.parseThrowStatement=function(e){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var K=[];W.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===k._catch){var t=this.startNode();if(this.next(),this.eat(k.parenL)){t.param=this.parseBindingAtom();var r="Identifier"===t.param.type;this.enterScope(r?32:0),this.checkLVal(t.param,r?4:2),this.expect(k.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(k._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},W.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},W.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(q),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},W.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},W.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},W.parseLabeledStatement=function(e,t,r,i){for(var n=0,s=this.labels;n=0;o--){var c=this.labels[o];if(c.statementStart!==e.start)break;c.statementStart=this.start,c.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(i?-1===i.indexOf("label")?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},W.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},W.parseBlock=function(e,t){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(k.braceL),e&&this.enterScope(0);!this.eat(k.braceR);){var r=this.parseStatement(null);t.body.push(r)}return e&&this.exitScope(),this.finishNode(t,"BlockStatement")},W.parseFor=function(e,t){return e.init=t,this.expect(k.semi),e.test=this.type===k.semi?null:this.parseExpression(),this.expect(k.semi),e.update=this.type===k.parenR?null:this.parseExpression(),this.expect(k.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},W.parseForIn=function(e,t){var r=this.type===k._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(k.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},W.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(k.eq)?i.init=this.parseMaybeAssign(t):"const"!==r||this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===i.id.type||t&&(this.type===k._in||this.isContextual("of"))?i.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(k.comma))break}return e},W.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?1:2,!1)};var Q=1,X=2;W.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===k.star&&t&X&&this.unexpected(),e.generator=this.eat(k.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Q&&(e.id=4&t&&this.type!==k.name?null:this.parseIdent(),!e.id||t&X||this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(D(e.async,e.generator)),t&Q||(e.id=this.type===k.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&Q?"FunctionDeclaration":"FunctionExpression")},W.parseFunctionParams=function(e){this.expect(k.parenL),e.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},W.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),n=!1;for(i.body=[],this.expect(k.braceL);!this.eat(k.braceR);){var s=this.parseClassElement(null!==e.superClass);s&&(i.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind&&(n&&this.raise(s.start,"Duplicate constructor in the same class"),n=!0))}return e.body=this.finishNode(i,"ClassBody"),this.strict=r,this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},W.parseClassElement=function(e){var t=this;if(this.eat(k.semi))return null;var r=this.startNode(),i=function(e,i){void 0===i&&(i=!1);var n=t.start,s=t.startLoc;return!(!t.eatContextual(e)||(t.type===k.parenL||i&&t.canInsertSemicolon())&&(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(n,s),r.key.name=e,t.finishNode(r.key,"Identifier"),1))};r.kind="method",r.static=i("static");var n=this.eat(k.star),s=!1;n||(this.options.ecmaVersion>=8&&i("async",!0)?(s=!0,n=this.options.ecmaVersion>=9&&this.eat(k.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var a=r.key,o=!1;return r.computed||r.static||!("Identifier"===a.type&&"constructor"===a.name||"Literal"===a.type&&"constructor"===a.value)?r.static&&"Identifier"===a.type&&"prototype"===a.name&&this.raise(a.start,"Classes may not have a static property named prototype"):("method"!==r.kind&&this.raise(a.start,"Constructor can't have get/set modifier"),n&&this.raise(a.start,"Constructor can't be a generator"),s&&this.raise(a.start,"Constructor can't be an async method"),r.kind="constructor",o=e),this.parseClassMethod(r,n,s,o),"get"===r.kind&&0!==r.value.params.length&&this.raiseRecoverable(r.value.start,"getter should have no params"),"set"===r.kind&&1!==r.value.params.length&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),"set"===r.kind&&"RestElement"===r.value.params[0].type&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},W.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")},W.parseClassId=function(e,t){this.type===k.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},W.parseClassSuper=function(e){e.superClass=this.eat(k._extends)?this.parseExprSubscripts():null},W.parseExport=function(e,t){if(this.next(),this.eat(k.star))return this.expectContextual("from"),this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(k._default)){var r;if(this.checkExport(t,"default",this.lastTokStart),this.type===k._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,4|Q,!1,r)}else if(this.type===k._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var s=0,a=e.specifiers;s=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,n=e.properties;i=8&&!s&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(k._function))return this.parseFunction(this.startNodeAt(i,n),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(k.arrow))return this.parseArrowExpression(this.startNodeAt(i,n),[a],!1);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===k.name&&!s)return a=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(k.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,n),[a],!0)}return a;case k.regexp:var o=this.value;return(t=this.parseLiteral(o.value)).regex={pattern:o.pattern,flags:o.flags},t;case k.num:case k.string:return this.parseLiteral(this.value);case k._null:case k._true:case k._false:return(t=this.startNode()).value=this.type===k._null?null:this.type===k._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case k.parenL:var c=this.start,h=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),h;case k.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(k.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case k.braceL:return this.parseObj(!1,e);case k._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case k._class:return this.parseClass(this.startNode(),!1);case k._new:return this.parseNew();case k.backQuote:return this.parseTemplate();case k._import:return this.options.ecmaVersion>10?this.parseDynamicImport():this.unexpected();default:this.unexpected()}},Z.parseDynamicImport=function(){var e=this.startNode();return this.next(),this.type!==k.parenL&&this.unexpected(),this.finishNode(e,"Import")},Z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1)),this.next(),this.finishNode(t,"Literal")},Z.parseParenExpression=function(){this.expect(k.parenL);var e=this.parseExpression();return this.expect(k.parenR),e},Z.parseParenAndDistinguishExpression=function(e){var t,r=this.start,i=this.startLoc,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,a=this.start,o=this.startLoc,c=[],h=!0,u=!1,l=new G,p=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==k.parenR;){if(h?h=!1:this.expect(k.comma),n&&this.afterTrailingComma(k.parenR,!0)){u=!0;break}if(this.type===k.ellipsis){s=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,l,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(k.parenR),e&&!this.canInsertSemicolon()&&this.eat(k.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=d,this.parseParenArrowList(r,i,c);c.length&&!u||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(l,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=d||this.awaitPos,c.length>1?((t=this.startNodeAt(a,o)).expressions=c,this.finishNodeAt(t,"SequenceExpression",f,m)):t=c[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(r,i);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")}return t},Z.parseParenItem=function(e){return e},Z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var Y=[];Z.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(k.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||r)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,n=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0),this.options.ecmaVersion>10&&"Import"===e.callee.type&&this.raise(e.callee.start,"Cannot use new with import(...)"),e.arguments=this.eat(k.parenL)?this.parseExprList(k.parenR,this.options.ecmaVersion>=8&&"Import"!==e.callee.type,!1):Y,this.finishNode(e,"NewExpression")},Z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===k.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===k.backQuote,this.finishNode(r,"TemplateElement")},Z.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===k.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(k.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(k.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},Z.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===k.name||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===k.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},Z.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(k.braceR);){if(i)i=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,n,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},Z.parseProperty=function(e,t){var r,i,n,s,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(k.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===k.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===k.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(n=this.start,s=this.startLoc),e||(r=this.eat(k.star)));var o=this.containsEsc;return this.parsePropertyName(a),!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(a)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(k.star),this.parsePropertyName(a,t)):i=!1,this.parsePropertyValue(a,e,r,i,n,s,t,o),this.finishNode(a,"Property")},Z.parsePropertyValue=function(e,t,r,i,n,s,a,o){(r||i)&&this.type===k.colon&&this.unexpected(),this.eat(k.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):this.options.ecmaVersion>=6&&this.type===k.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i)):t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===k.comma||this.type===k.braceR?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,s,e.key):this.type===k.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected():((r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1),e.value.params.length!==("get"===e.kind?0:1)?this.raiseRecoverable(e.value.start,"get"===e.kind?"getter should have no params":"setter should have exactly one param"):"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params"))},Z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(k.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(k.bracketR),e.key;e.computed=!1}return e.key=this.type===k.num||this.type===k.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Z.parseMethod=function(e,t,r){var i=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|D(t,i.generator)|(r?128:0)),this.expect(k.parenL),i.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")},Z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|D(r,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=n,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},Z.parseFunctionBody=function(e,t,r){var i=this.strict,n=!1;if(t&&this.type!==k.braceL)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!s||(n=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var a=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!i&&!n&&!t&&!r&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=a}this.exitScope(),this.strict&&e.id&&this.checkLVal(e.id,5),this.strict=i},Z.isSimpleParamList=function(e){for(var t=0,r=e;t-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&1&n.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var s=this.currentScope();i=this.treatFunctionsAsVar?s.lexical.indexOf(e)>-1:s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(e)>-1&&!(32&o.flags&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){i=!0;break}if(o.var.push(e),this.inModule&&1&o.flags&&delete this.undefinedExports[e],3&o.flags)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ee.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ee.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ee.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},ee.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};var re=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new O(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},ie=U.prototype;function ne(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}ie.startNode=function(){return new re(this,this.start,this.startLoc)},ie.startNodeAt=function(e,t){return new re(this,e,t)},ie.finishNode=function(e,t){return ne.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ie.finishNodeAt=function(e,t,r,i){return ne.call(this,e,t,r,i)};var se=function(e,t,r,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=i,this.generator=!!n},ae={b_stat:new se("{",!1),b_expr:new se("{",!0),b_tmpl:new se("${",!1),p_stat:new se("(",!1),p_expr:new se("(",!0),q_tmpl:new se("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new se("function",!1),f_expr:new se("function",!0),f_expr_gen:new se("function",!0,!1,null,!0),f_gen:new se("function",!1,!1,null,!0)},oe=U.prototype;oe.initialContext=function(){return[ae.b_stat]},oe.braceIsBlock=function(e){var t=this.curContext();return t===ae.f_expr||t===ae.f_stat||(e!==k.colon||t!==ae.b_stat&&t!==ae.b_expr?e===k._return||e===k.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):e===k._else||e===k.semi||e===k.eof||e===k.parenR||e===k.arrow||(e===k.braceL?t===ae.b_stat:e!==k._var&&e!==k._const&&e!==k.name&&!this.exprAllowed):!t.isExpr)},oe.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},oe.updateContext=function(e){var t,r=this.type;r.keyword&&e===k.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},k.parenR.updateContext=k.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===ae.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},k.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ae.b_stat:ae.b_expr),this.exprAllowed=!0},k.dollarBraceL.updateContext=function(){this.context.push(ae.b_tmpl),this.exprAllowed=!0},k.parenL.updateContext=function(e){this.context.push(e===k._if||e===k._for||e===k._with||e===k._while?ae.p_stat:ae.p_expr),this.exprAllowed=!0},k.incDec.updateContext=function(){},k._function.updateContext=k._class.updateContext=function(e){!e.beforeExpr||e===k.semi||e===k._else||e===k._return&&w.test(this.input.slice(this.lastTokEnd,this.start))||(e===k.colon||e===k.braceL)&&this.curContext()===ae.b_stat?this.context.push(ae.f_stat):this.context.push(ae.f_expr),this.exprAllowed=!1},k.backQuote.updateContext=function(){this.curContext()===ae.q_tmpl?this.context.pop():this.context.push(ae.q_tmpl),this.exprAllowed=!1},k.star.updateContext=function(e){if(e===k._function){var t=this.context.length-1;this.context[t]=this.context[t]===ae.f_expr?ae.f_expr_gen:ae.f_gen}this.exprAllowed=!0},k.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==k.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ce={9:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",10:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic",11:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic"},he="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ue={9:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",10:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",11:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},le={};function pe(e){var t=le[e]={binary:V(ce[e]+" "+he),nonBinary:{General_Category:V(he),Script:V(ue[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}pe(9),pe(10),pe(11);var de=U.prototype,fe=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=le[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function me(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function ge(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function ye(e){return e>=65&&e<=90||e>=97&&e<=122}function ve(e){return ye(e)||95===e}function xe(e){return ve(e)||be(e)}function be(e){return e>=48&&e<=57}function _e(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function ke(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function we(e){return e>=48&&e<=55}fe.prototype.reset=function(e,t,r){var i=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchN=i&&this.parser.options.ecmaVersion>=9},fe.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},fe.prototype.at=function(e){var t=this.source,r=t.length;if(e>=r)return-1;var i=t.charCodeAt(e);if(!this.switchU||i<=55295||i>=57344||e+1>=r)return i;var n=t.charCodeAt(e+1);return n>=56320&&n<=57343?(i<<10)+n-56613888:i},fe.prototype.nextIndex=function(e){var t=this.source,r=t.length;if(e>=r)return r;var i,n=t.charCodeAt(e);return!this.switchU||n<=55295||n>=57344||e+1>=r||(i=t.charCodeAt(e+1))<56320||i>57343?e+1:e+2},fe.prototype.current=function(){return this.at(this.pos)},fe.prototype.lookahead=function(){return this.at(this.nextIndex(this.pos))},fe.prototype.advance=function(){this.pos=this.nextIndex(this.pos)},fe.prototype.eat=function(e){return this.current()===e&&(this.advance(),!0)},de.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i-1&&this.raise(e.start,"Duplicate regular expression flag")}},de.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},de.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},de.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},de.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},de.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return-1!==n&&n=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},de.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},de.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},de.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!ge(t)&&(e.lastIntValue=t,e.advance(),!0)},de.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!ge(r);)e.advance();return e.pos!==t},de.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},de.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},de.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},de.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=me(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=me(e.lastIntValue);return!0}return!1},de.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=e.current();return e.advance(),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(r=e.lastIntValue),function(e){return f(e,!0)||36===e||95===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},de.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=e.current();return e.advance(),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(r=e.lastIntValue),function(e){return m(e,!0)||36===e||95===e||8204===e||8205===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},de.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},de.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},de.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},de.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},de.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},de.regexp_eatZero=function(e){return 48===e.current()&&!be(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},de.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},de.regexp_eatControlLetter=function(e){var t=e.current();return!!ye(t)&&(e.lastIntValue=t%32,e.advance(),!0)},de.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t,r=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(e.switchU&&i>=55296&&i<=56319){var n=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=1024*(i-55296)+(s-56320)+65536,!0}e.pos=n,e.lastIntValue=i}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(t=e.lastIntValue)>=0&&t<=1114111)return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=r}return!1},de.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},de.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},de.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},de.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e))return this.regexp_validateUnicodePropertyNameAndValue(e,r,e.lastStringValue),!0}return e.pos=t,!!this.regexp_eatLoneUnicodePropertyNameOrValue(e)&&(this.regexp_validateUnicodePropertyNameOrValue(e,e.lastStringValue),!0)},de.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){L(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},de.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},de.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";ve(t=e.current());)e.lastStringValue+=me(t),e.advance();return""!==e.lastStringValue},de.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";xe(t=e.current());)e.lastStringValue+=me(t),e.advance();return""!==e.lastStringValue},de.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},de.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},de.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;!e.switchU||-1!==t&&-1!==r||e.raise("Invalid character class"),-1!==t&&-1!==r&&t>r&&e.raise("Range out of order in character class")}}},de.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||we(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return 93!==i&&(e.lastIntValue=i,e.advance(),!0)},de.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},de.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!be(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},de.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},de.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;be(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},de.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;_e(r=e.current());)e.lastIntValue=16*e.lastIntValue+ke(r),e.advance();return e.pos!==t},de.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;e.lastIntValue=t<=3&&this.regexp_eatOctalDigit(e)?64*t+8*r+e.lastIntValue:8*t+r}else e.lastIntValue=t;return!0}return!1},de.regexp_eatOctalDigit=function(e){var t=e.current();return we(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},de.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i>10),56320+(1023&e)))}Ee.next=function(){this.options.onToken&&this.options.onToken(new Se(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ee.getToken=function(){return this.next(),new Se(this)},"undefined"!=typeof Symbol&&(Ee[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===k.eof,value:t}}}}),Ee.curContext=function(){return this.context[this.context.length-1]},Ee.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(k.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Ee.readToken=function(e){return f(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Ee.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Ee.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),r=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(S.lastIndex=r;(e=S.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},Ee.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},Ee.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(k.ellipsis)):(++this.pos,this.finishToken(k.dot))},Ee.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(k.assign,2):this.finishOp(k.slash,1)},Ee.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=42===e?k.star:k.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,i=k.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(k.assign,r+1):this.finishOp(i,r)},Ee.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?k.logicalOR:k.logicalAND,2):61===t?this.finishOp(k.assign,2):this.finishOp(124===e?k.bitwiseOR:k.bitwiseAND,1)},Ee.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(k.assign,2):this.finishOp(k.bitwiseXOR,1)},Ee.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!w.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(k.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(k.assign,2):this.finishOp(k.plusMin,1)},Ee.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(k.assign,r+1):this.finishOp(k.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(k.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Ee.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(k.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(k.arrow)):this.finishOp(61===e?k.eq:k.prefix,1)},Ee.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(k.parenL);case 41:return++this.pos,this.finishToken(k.parenR);case 59:return++this.pos,this.finishToken(k.semi);case 44:return++this.pos,this.finishToken(k.comma);case 91:return++this.pos,this.finishToken(k.bracketL);case 93:return++this.pos,this.finishToken(k.bracketR);case 123:return++this.pos,this.finishToken(k.braceL);case 125:return++this.pos,this.finishToken(k.braceR);case 58:return++this.pos,this.finishToken(k.colon);case 63:return++this.pos,this.finishToken(k.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(k.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(k.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ce(e)+"'")},Ee.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},Ee.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(w.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++this.pos}var n=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var o=this.regexpState||(this.regexpState=new fe(this));o.reset(r,n,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var c=null;try{c=new RegExp(n,a)}catch(h){}return this.finishToken(k.regexp,{pattern:n,flags:a,value:c})},Ee.readInt=function(e,t){for(var r=this.pos,i=0,n=0,s=null==t?1/0:t;n=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,i=i*e+a}return this.pos===r||null!=t&&this.pos-r!==t?null:i},Ee.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r="undefined"!=typeof BigInt?BigInt(this.input.slice(t,this.pos)):null,++this.pos):f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,r)},Ee.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var r=this.pos-t>=2&&48===this.input.charCodeAt(t);r&&this.strict&&this.raise(t,"Invalid number"),r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1);var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===i){var n=this.input.slice(t,this.pos),s="undefined"!=typeof BigInt?BigInt(n):null;return++this.pos,f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,s)}46!==i||r||(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),69!==i&&101!==i||r||(43!==(i=this.input.charCodeAt(++this.pos))&&45!==i||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=this.input.slice(t,this.pos),o=r?parseInt(a,8):parseFloat(a);return this.finishToken(k.num,o)},Ee.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Ee.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;92===i?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(E(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(k.string,t)};var Ie={};Ee.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Ie)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Ee.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ie;this.raise(e,t)},Ee.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==k.template&&this.type!==k.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(k.template,e)):36===r?(this.pos+=2,this.finishToken(k.dollarBraceL)):(++this.pos,this.finishToken(k.backQuote));if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(E(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Ee.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return E(t)?"":String.fromCharCode(t)}},Ee.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},Ee.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos=(a.addQueryDepthLimit||0))return{query:"",meta:{}};var m=f&&f.getFields&&f.getFields(),y="";return m&&(y=Object.keys(m).reduce((function(t,c){if(r.filter((function(e){return e.name===c&&e.type===g})).length)return"";var u=i.generateFieldData(c,g,s(r,[{name:e,type:g}]),n+1,a);if(!u)return t;var h=u.query;return o.hasArgs=o.hasArgs||u.meta.hasArgs||!1,h?t+"\n"+h:t}),"").substring(1)),y&&(p+="{\n"+y+"\n",p+=" ".repeat(n*c)+"}"),{query:p,meta:o}},e}()}}]); \ No newline at end of file diff --git a/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/7.js b/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/7.js deleted file mode 100644 index 3506b893..00000000 --- a/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/7.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{azY9:function(e,n,t){!function(e){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e,n){return e(n={exports:{}},n.exports),n.exports}var r=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,n){if(!Boolean(e))throw new Error(n)}}));t(r);var o=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){"function"==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}}));t(o);var a=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Source=void 0;var t=a(r),i=a(o);function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,n,i){this.body=e,this.name=n||"GraphQL request",this.locationOffset=i||{line:1,column:1},this.locationOffset.line>0||(0,t.default)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||(0,t.default)(0,"column in locationOffset is 1-indexed and must be positive")};n.Source=s,(0,i.default)(s)}));t(a);var s=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getLocation=function(e,n){for(var t,i=/\r\n|[\n\r]/g,r=1,o=n+1;(t=i.exec(e.body))&&t.index120){for(var p=Math.floor(c/80),f=c%80,h=[],T=0;T",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});n.TokenKind=t}));t(l);var d=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;n.default=t}));t(d);var p=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=n,e.prototype.inspect=n,i.default&&(e.prototype[i.default]=n)};var t,i=(t=d)&&t.__esModule?t:{default:t}}));t(p);var f=i((function(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"==i(e)&&null!==e}}));t(f);var h=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.GraphQLError=r,n.printError=o;var t,i=(t=f)&&t.__esModule?t:{default:t};function r(e,n,t,o,a,c,u){var l=Array.isArray(n)?0!==n.length?n:void 0:n?[n]:void 0,d=t;if(!d&&l){var p=l[0];d=p&&p.loc&&p.loc.source}var f,h=o;!h&&l&&(h=l.reduce((function(e,n){return n.loc&&e.push(n.loc.start),e}),[])),h&&0===h.length&&(h=void 0),o&&t?f=o.map((function(e){return(0,s.getLocation)(t,e)})):l&&(f=l.reduce((function(e,n){return n.loc&&e.push((0,s.getLocation)(n.loc.source,n.loc.start)),e}),[]));var T=u;if(null==T&&null!=c){var v=c.extensions;(0,i.default)(v)&&(T=v)}Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:f||void 0,enumerable:Boolean(f)},path:{value:a||void 0,enumerable:Boolean(a)},nodes:{value:l||void 0},source:{value:d||void 0},positions:{value:h||void 0},originalError:{value:c},extensions:{value:T||void 0,enumerable:Boolean(T)}}),c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,r):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}function o(e){var n=e.message;if(e.nodes)for(var t=0,i=e.nodes;t0&&r(n[0]);)n.shift();for(;n.length>0&&r(n[n.length-1]);)n.pop();return n.join("\n")},n.getBlockStringIndentation=t,n.printBlockString=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=-1===e.indexOf("\n"),r=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a=!i||o||t,s="";return!a||i&&r||(s+="\n"+n),s+=n?e.replace(/\n/g,"\n"+n):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}}));t(v);var E=i((function(e,n){var t;function i(){return this.lastToken=this.token,this.token=this.lookahead()}function r(){var e=this.token;if(e.kind!==l.TokenKind.EOF)do{e=e.next||(e.next=s(this,e))}while(e.kind===l.TokenKind.COMMENT);return e}function o(e,n,t,i,r,o,a){this.kind=e,this.start=n,this.end=t,this.line=i,this.column=r,this.value=a,this.prev=o,this.next=null}function a(e){return isNaN(e)?l.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function s(e,n){var t=e.source,i=t.body,r=i.length,s=function(e,n,t){for(var i=e.length,r=n;r=r)return new o(l.TokenKind.EOF,r,r,d,p,n);var f=i.charCodeAt(s);switch(f){case 33:return new o(l.TokenKind.BANG,s,s+1,d,p,n);case 35:return function(e,n,t,i,r){var a,s=e.body,c=n;do{a=s.charCodeAt(++c)}while(!isNaN(a)&&(a>31||9===a));return new o(l.TokenKind.COMMENT,n,c,t,i,r,s.slice(n+1,c))}(t,s,d,p,n);case 36:return new o(l.TokenKind.DOLLAR,s,s+1,d,p,n);case 38:return new o(l.TokenKind.AMP,s,s+1,d,p,n);case 40:return new o(l.TokenKind.PAREN_L,s,s+1,d,p,n);case 41:return new o(l.TokenKind.PAREN_R,s,s+1,d,p,n);case 46:if(46===i.charCodeAt(s+1)&&46===i.charCodeAt(s+2))return new o(l.TokenKind.SPREAD,s,s+3,d,p,n);break;case 58:return new o(l.TokenKind.COLON,s,s+1,d,p,n);case 61:return new o(l.TokenKind.EQUALS,s,s+1,d,p,n);case 64:return new o(l.TokenKind.AT,s,s+1,d,p,n);case 91:return new o(l.TokenKind.BRACKET_L,s,s+1,d,p,n);case 93:return new o(l.TokenKind.BRACKET_R,s,s+1,d,p,n);case 123:return new o(l.TokenKind.BRACE_L,s,s+1,d,p,n);case 124:return new o(l.TokenKind.PIPE,s,s+1,d,p,n);case 125:return new o(l.TokenKind.BRACE_R,s,s+1,d,p,n);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,n,t,i,r){for(var a=e.body,s=a.length,c=n+1,u=0;c!==s&&!isNaN(u=a.charCodeAt(c))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++c;return new o(l.TokenKind.NAME,n,c,t,i,r,a.slice(n,c))}(t,s,d,p,n);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,n,t,i,r,s){var u=e.body,d=t,p=n,f=!1;if(45===d&&(d=u.charCodeAt(++p)),48===d){if((d=u.charCodeAt(++p))>=48&&d<=57)throw(0,T.syntaxError)(e,p,"Invalid number, unexpected digit after 0: ".concat(a(d),"."))}else p=c(e,p,d),d=u.charCodeAt(p);if(46===d&&(f=!0,d=u.charCodeAt(++p),p=c(e,p,d),d=u.charCodeAt(p)),69!==d&&101!==d||(f=!0,43!==(d=u.charCodeAt(++p))&&45!==d||(d=u.charCodeAt(++p)),p=c(e,p,d),d=u.charCodeAt(p)),46===d||69===d||101===d)throw(0,T.syntaxError)(e,p,"Invalid number, expected digit but got: ".concat(a(d),"."));return new o(f?l.TokenKind.FLOAT:l.TokenKind.INT,n,p,i,r,s,u.slice(n,p))}(t,s,f,d,p,n);case 34:return 34===i.charCodeAt(s+1)&&34===i.charCodeAt(s+2)?function(e,n,t,i,r,s){for(var c=e.body,u=n+3,d=u,p=0,f="";u=48&&o<=57){do{o=i.charCodeAt(++r)}while(o>=48&&o<=57);return r}throw(0,T.syntaxError)(e,r,"Invalid number, expected digit but got: ".concat(a(o),"."))}function u(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}Object.defineProperty(n,"__esModule",{value:!0}),n.createLexer=function(e,n){var t=new o(l.TokenKind.SOF,0,0,0,0,null);return{source:e,options:n,lastToken:t,token:t,line:1,lineStart:0,advance:i,lookahead:r}},n.isPunctuatorToken=function(e){var n=e.kind;return n===l.TokenKind.BANG||n===l.TokenKind.DOLLAR||n===l.TokenKind.AMP||n===l.TokenKind.PAREN_L||n===l.TokenKind.PAREN_R||n===l.TokenKind.SPREAD||n===l.TokenKind.COLON||n===l.TokenKind.EQUALS||n===l.TokenKind.AT||n===l.TokenKind.BRACKET_L||n===l.TokenKind.BRACKET_R||n===l.TokenKind.BRACE_L||n===l.TokenKind.PIPE||n===l.TokenKind.BRACE_R},(0,((t=p)&&t.__esModule?t:{default:t}).default)(o,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}))}));t(E);var y=i((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function e(n,t){switch(o(n)){case"string":return JSON.stringify(n);case"function":return n.name?"[function ".concat(n.name,"]"):"[function]";case"object":return null===n?"null":function(n,t){if(-1!==t.indexOf(n))return"[Circular]";var i=[].concat(t,[n]),o=function(e){var n=e[String(r.default)];return"function"==typeof n?n:"function"==typeof e.inspect?e.inspect:void 0}(n);if(void 0!==o){var a=o.call(n);if(a!==n)return"string"==typeof a?a:e(a,i)}else if(Array.isArray(n))return function(n,t){if(0===n.length)return"[]";if(t.length>2)return"[Array]";for(var i=Math.min(10,n.length),r=n.length-i,o=[],a=0;a1&&o.push("... ".concat(r," more items")),"["+o.join(", ")+"]"}(n,i);return function(n,t){var i=Object.keys(n);return 0===i.length?"{}":t.length>2?"["+function(e){var n=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof e.constructor){var t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return n}(n)+"]":"{ "+i.map((function(i){return i+": "+e(n[i],t)})).join(", ")+" }"}(n,i)}(n,t);default:return String(n)}}(e,[])};var i,r=(i=d)&&i.__esModule?i:{default:i};function o(e){return(o="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)})(e)}}));t(y);var N=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DirectiveLocation=void 0;var t=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});n.DirectiveLocation=t}));t(N);var m=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.parse=function(e,n){return new c(e,n).parseDocument()},n.parseValue=function(e,n){var t=new c(e,n);t.expectToken(l.TokenKind.SOF);var i=t.parseValueLiteral(!1);return t.expectToken(l.TokenKind.EOF),i},n.parseType=function(e,n){var t=new c(e,n);t.expectToken(l.TokenKind.SOF);var i=t.parseTypeReference();return t.expectToken(l.TokenKind.EOF),i};var t=s(y),i=s(r),o=s(p);function s(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e,n){var r="string"==typeof e?new a.Source(e):e;r instanceof a.Source||(0,i.default)(0,"Must provide Source. Received: ".concat((0,t.default)(r))),this._lexer=(0,E.createLexer)(r),this._options=n||{}}var n=e.prototype;return n.parseName=function(){var e=this.expectToken(l.TokenKind.NAME);return{kind:u.Kind.NAME,value:e.value,loc:this.loc(e)}},n.parseDocument=function(){var e=this._lexer.token;return{kind:u.Kind.DOCUMENT,definitions:this.many(l.TokenKind.SOF,this.parseDefinition,l.TokenKind.EOF),loc:this.loc(e)}},n.parseDefinition=function(){if(this.peek(l.TokenKind.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(l.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},n.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(l.TokenKind.BRACE_L))return{kind:u.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var n,t=this.parseOperationType();return this.peek(l.TokenKind.NAME)&&(n=this.parseName()),{kind:u.Kind.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseOperationType=function(){var e=this.expectToken(l.TokenKind.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},n.parseVariableDefinitions=function(){return this.optionalMany(l.TokenKind.PAREN_L,this.parseVariableDefinition,l.TokenKind.PAREN_R)},n.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:u.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(l.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(l.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},n.parseVariable=function(){var e=this._lexer.token;return this.expectToken(l.TokenKind.DOLLAR),{kind:u.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},n.parseSelectionSet=function(){var e=this._lexer.token;return{kind:u.Kind.SELECTION_SET,selections:this.many(l.TokenKind.BRACE_L,this.parseSelection,l.TokenKind.BRACE_R),loc:this.loc(e)}},n.parseSelection=function(){return this.peek(l.TokenKind.SPREAD)?this.parseFragment():this.parseField()},n.parseField=function(){var e,n,t=this._lexer.token,i=this.parseName();return this.expectOptionalToken(l.TokenKind.COLON)?(e=i,n=this.parseName()):n=i,{kind:u.Kind.FIELD,alias:e,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(l.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(t)}},n.parseArguments=function(e){return this.optionalMany(l.TokenKind.PAREN_L,e?this.parseConstArgument:this.parseArgument,l.TokenKind.PAREN_R)},n.parseArgument=function(){var e=this._lexer.token,n=this.parseName();return this.expectToken(l.TokenKind.COLON),{kind:u.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(!1),loc:this.loc(e)}},n.parseConstArgument=function(){var e=this._lexer.token;return{kind:u.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(l.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},n.parseFragment=function(){var e=this._lexer.token;this.expectToken(l.TokenKind.SPREAD);var n=this.expectOptionalKeyword("on");return!n&&this.peek(l.TokenKind.NAME)?{kind:u.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:u.Kind.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseFragmentDefinition=function(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:u.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:u.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},n.parseValueLiteral=function(e){var n=this._lexer.token;switch(n.kind){case l.TokenKind.BRACKET_L:return this.parseList(e);case l.TokenKind.BRACE_L:return this.parseObject(e);case l.TokenKind.INT:return this._lexer.advance(),{kind:u.Kind.INT,value:n.value,loc:this.loc(n)};case l.TokenKind.FLOAT:return this._lexer.advance(),{kind:u.Kind.FLOAT,value:n.value,loc:this.loc(n)};case l.TokenKind.STRING:case l.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case l.TokenKind.NAME:return"true"===n.value||"false"===n.value?(this._lexer.advance(),{kind:u.Kind.BOOLEAN,value:"true"===n.value,loc:this.loc(n)}):"null"===n.value?(this._lexer.advance(),{kind:u.Kind.NULL,loc:this.loc(n)}):(this._lexer.advance(),{kind:u.Kind.ENUM,value:n.value,loc:this.loc(n)});case l.TokenKind.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},n.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:u.Kind.STRING,value:e.value,block:e.kind===l.TokenKind.BLOCK_STRING,loc:this.loc(e)}},n.parseList=function(e){var n=this,t=this._lexer.token;return{kind:u.Kind.LIST,values:this.any(l.TokenKind.BRACKET_L,(function(){return n.parseValueLiteral(e)}),l.TokenKind.BRACKET_R),loc:this.loc(t)}},n.parseObject=function(e){var n=this,t=this._lexer.token;return{kind:u.Kind.OBJECT,fields:this.any(l.TokenKind.BRACE_L,(function(){return n.parseObjectField(e)}),l.TokenKind.BRACE_R),loc:this.loc(t)}},n.parseObjectField=function(e){var n=this._lexer.token,t=this.parseName();return this.expectToken(l.TokenKind.COLON),{kind:u.Kind.OBJECT_FIELD,name:t,value:this.parseValueLiteral(e),loc:this.loc(n)}},n.parseDirectives=function(e){for(var n=[];this.peek(l.TokenKind.AT);)n.push(this.parseDirective(e));return n},n.parseDirective=function(e){var n=this._lexer.token;return this.expectToken(l.TokenKind.AT),{kind:u.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(n)}},n.parseTypeReference=function(){var e,n=this._lexer.token;return this.expectOptionalToken(l.TokenKind.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(l.TokenKind.BRACKET_R),e={kind:u.Kind.LIST_TYPE,type:e,loc:this.loc(n)}):e=this.parseNamedType(),this.expectOptionalToken(l.TokenKind.BANG)?{kind:u.Kind.NON_NULL_TYPE,type:e,loc:this.loc(n)}:e},n.parseNamedType=function(){var e=this._lexer.token;return{kind:u.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},n.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===l.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},n.peekDescription=function(){return this.peek(l.TokenKind.STRING)||this.peek(l.TokenKind.BLOCK_STRING)},n.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},n.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var n=this.parseDirectives(!0),t=this.many(l.TokenKind.BRACE_L,this.parseOperationTypeDefinition,l.TokenKind.BRACE_R);return{kind:u.Kind.SCHEMA_DEFINITION,directives:n,operationTypes:t,loc:this.loc(e)}},n.parseOperationTypeDefinition=function(){var e=this._lexer.token,n=this.parseOperationType();this.expectToken(l.TokenKind.COLON);var t=this.parseNamedType();return{kind:u.Kind.OPERATION_TYPE_DEFINITION,operation:n,type:t,loc:this.loc(e)}},n.parseScalarTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");var t=this.parseName(),i=this.parseDirectives(!0);return{kind:u.Kind.SCALAR_TYPE_DEFINITION,description:n,name:t,directives:i,loc:this.loc(e)}},n.parseObjectTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");var t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:u.Kind.OBJECT_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},n.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(l.TokenKind.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(l.TokenKind.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(l.TokenKind.NAME))}return e},n.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(l.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===l.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(l.TokenKind.BRACE_L,this.parseFieldDefinition,l.TokenKind.BRACE_R)},n.parseFieldDefinition=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseArgumentDefs();this.expectToken(l.TokenKind.COLON);var r=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:u.Kind.FIELD_DEFINITION,description:n,name:t,arguments:i,type:r,directives:o,loc:this.loc(e)}},n.parseArgumentDefs=function(){return this.optionalMany(l.TokenKind.PAREN_L,this.parseInputValueDef,l.TokenKind.PAREN_R)},n.parseInputValueDef=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName();this.expectToken(l.TokenKind.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(l.TokenKind.EQUALS)&&(i=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:u.Kind.INPUT_VALUE_DEFINITION,description:n,name:t,type:r,defaultValue:i,directives:o,loc:this.loc(e)}},n.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();return{kind:u.Kind.INTERFACE_TYPE_DEFINITION,description:n,name:t,directives:i,fields:r,loc:this.loc(e)}},n.parseUnionTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseUnionMemberTypes();return{kind:u.Kind.UNION_TYPE_DEFINITION,description:n,name:t,directives:i,types:r,loc:this.loc(e)}},n.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(l.TokenKind.EQUALS)){this.expectOptionalToken(l.TokenKind.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(l.TokenKind.PIPE))}return e},n.parseEnumTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();return{kind:u.Kind.ENUM_TYPE_DEFINITION,description:n,name:t,directives:i,values:r,loc:this.loc(e)}},n.parseEnumValuesDefinition=function(){return this.optionalMany(l.TokenKind.BRACE_L,this.parseEnumValueDefinition,l.TokenKind.BRACE_R)},n.parseEnumValueDefinition=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseDirectives(!0);return{kind:u.Kind.ENUM_VALUE_DEFINITION,description:n,name:t,directives:i,loc:this.loc(e)}},n.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();return{kind:u.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:t,directives:i,fields:r,loc:this.loc(e)}},n.parseInputFieldsDefinition=function(){return this.optionalMany(l.TokenKind.BRACE_L,this.parseInputValueDef,l.TokenKind.BRACE_R)},n.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===l.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},n.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var n=this.parseDirectives(!0),t=this.optionalMany(l.TokenKind.BRACE_L,this.parseOperationTypeDefinition,l.TokenKind.BRACE_R);if(0===n.length&&0===t.length)throw this.unexpected();return{kind:u.Kind.SCHEMA_EXTENSION,directives:n,operationTypes:t,loc:this.loc(e)}},n.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var n=this.parseName(),t=this.parseDirectives(!0);if(0===t.length)throw this.unexpected();return{kind:u.Kind.SCALAR_TYPE_EXTENSION,name:n,directives:t,loc:this.loc(e)}},n.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:u.Kind.OBJECT_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:r,loc:this.loc(e)}},n.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:u.Kind.INTERFACE_TYPE_EXTENSION,name:n,directives:t,fields:i,loc:this.loc(e)}},n.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:u.Kind.UNION_TYPE_EXTENSION,name:n,directives:t,types:i,loc:this.loc(e)}},n.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:u.Kind.ENUM_TYPE_EXTENSION,name:n,directives:t,values:i,loc:this.loc(e)}},n.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:u.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:t,fields:i,loc:this.loc(e)}},n.parseDirectiveDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(l.TokenKind.AT);var t=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:u.Kind.DIRECTIVE_DEFINITION,description:n,name:t,arguments:i,repeatable:r,locations:o,loc:this.loc(e)}},n.parseDirectiveLocations=function(){this.expectOptionalToken(l.TokenKind.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(l.TokenKind.PIPE));return e},n.parseDirectiveLocation=function(){var e=this._lexer.token,n=this.parseName();if(void 0!==N.DirectiveLocation[n.value])return n;throw this.unexpected(e)},n.loc=function(e){if(!this._options.noLocation)return new d(e,this._lexer.lastToken,this._lexer.source)},n.peek=function(e){return this._lexer.token.kind===e},n.expectToken=function(e){var n=this._lexer.token;if(n.kind===e)return this._lexer.advance(),n;throw(0,T.syntaxError)(this._lexer.source,n.start,"Expected ".concat(e,", found ").concat(f(n)))},n.expectOptionalToken=function(e){var n=this._lexer.token;if(n.kind===e)return this._lexer.advance(),n},n.expectKeyword=function(e){var n=this._lexer.token;if(n.kind!==l.TokenKind.NAME||n.value!==e)throw(0,T.syntaxError)(this._lexer.source,n.start,'Expected "'.concat(e,'", found ').concat(f(n)));this._lexer.advance()},n.expectOptionalKeyword=function(e){var n=this._lexer.token;return n.kind===l.TokenKind.NAME&&n.value===e&&(this._lexer.advance(),!0)},n.unexpected=function(e){var n=e||this._lexer.token;return(0,T.syntaxError)(this._lexer.source,n.start,"Unexpected ".concat(f(n)))},n.any=function(e,n,t){this.expectToken(e);for(var i=[];!this.expectOptionalToken(t);)i.push(n.call(this));return i},n.optionalMany=function(e,n,t){if(this.expectOptionalToken(e)){var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i}return[]},n.many=function(e,n,t){this.expectToken(e);var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i},e}();function d(e,n,t){this.start=e.start,this.end=n.end,this.startToken=e,this.endToken=n,this.source=t}function f(e){var n=e.value;return n?"".concat(e.kind,' "').concat(n,'"'):e.kind}(0,o.default)(d,(function(){return{start:this.start,end:this.end}}))}));t(m);var k=i((function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.visit=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,c=void 0,u=Array.isArray(e),l=[e],d=-1,p=[],f=void 0,h=void 0,T=void 0,v=[],E=[],y=e;do{var N=++d===l.length,m=N&&0!==p.length;if(N){if(h=0===E.length?void 0:v[v.length-1],f=T,T=E.pop(),m){if(u)f=f.slice();else{for(var k={},I=0,_=Object.keys(f);I<_.length;I++){var O=_[I];k[O]=f[O]}f=k}for(var D=0,x=0;x"!==t.kind;)"Comment"===t.kind&&(Object.assign(t,{column:t.column-1}),n.push(t)),t=t.next;return n}(i),function e(t){if(t&&"object"===n(t))for(var i in delete t.startToken,delete t.endToken,delete t.prev,delete t.next,t)e(t[i]);return t}(i),i}catch(e){throw e instanceof A.GraphQLError?function(e,n){var t=new SyntaxError(e+" ("+n.start.line+":"+n.start.column+")");return t.loc=n,t}(e.message,{start:{line:e.locations[0].line,column:e.locations[0].column}}):e}},astFormat:"graphql",hasPragma:function(e){return/^\s*#[^\n\S]*@(format|prettier)\s*(\n|$)/.test(e)},locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}},b=K.parsers;e.default=K,e.parsers=b,Object.defineProperty(e,"__esModule",{value:!0})}(n)}}]); \ No newline at end of file diff --git a/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/8.js b/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/8.js deleted file mode 100644 index 8da01aee..00000000 --- a/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/8.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{MlsZ:function(e,t,n){var r;r=function(){"use strict";var e="Prettier is an opinionated code formatter",t={prettier:"./bin/prettier.js"},n={node:">=8"},r={"@angular/compiler":"8.2.13","@babel/code-frame":"7.5.5","@babel/parser":"7.7.3","@glimmer/syntax":"0.41.0","@iarna/toml":"2.2.3","@typescript-eslint/typescript-estree":"2.6.1","angular-estree-parser":"1.1.5","angular-html-parser":"1.3.0",camelcase:"5.3.1",chalk:"2.4.2","cjk-regex":"2.0.0",cosmiconfig:"5.2.1",dashify:"2.0.0",dedent:"0.7.0",diff:"4.0.1",editorconfig:"0.15.3","editorconfig-to-prettier":"0.1.1","escape-string-regexp":"1.0.5",esutils:"2.0.3","find-parent-dir":"0.3.0","find-project-root":"1.1.1","flow-parser":"0.111.3","get-stream":"4.1.0",globby:"6.1.0",graphql:"14.5.8","html-element-attributes":"2.2.0","html-styles":"1.0.0","html-tag-names":"1.1.4",ignore:"4.0.6","is-ci":"2.0.0","jest-docblock":"24.9.0","json-stable-stringify":"1.0.1",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.6.0","lodash.uniqby":"4.7.0",mem:"5.1.1",minimatch:"3.0.4",minimist:"1.2.0","n-readlines":"1.0.0","normalize-path":"3.0.0","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","postcss-less":"2.0.0","postcss-media-query-parser":"0.2.3","postcss-scss":"2.0.0","postcss-selector-parser":"2.2.3","postcss-values-parser":"1.5.0","regexp-util":"1.2.2","remark-math":"1.0.6","remark-parse":"5.0.0",resolve:"1.12.0",semver:"6.3.0","string-width":"4.1.0",typescript:"3.7.2","unicode-regex":"3.0.0",unified:"8.4.1",vnopts:"1.0.2","yaml-unist-parser":"1.1.1"},u={"@babel/core":"7.7.2","@babel/preset-env":"7.7.1","@rollup/plugin-alias":"2.2.0","@rollup/plugin-replace":"2.2.1","babel-loader":"8.0.6",benchmark:"2.1.4","builtin-modules":"3.1.0",codecov:"3.6.1","cross-env":"6.0.3",eslint:"6.6.0","eslint-config-prettier":"6.5.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.18.2","eslint-plugin-prettier":"3.1.1","eslint-plugin-react":"7.16.0",execa:"3.2.0",jest:"23.3.0","jest-junit":"9.0.0","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.4.0",mkdirp:"0.5.1",prettier:"1.19.0",prettylint:"1.0.0",rimraf:"3.0.0",rollup:"1.26.3","rollup-plugin-babel":"4.3.3","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-globals":"1.4.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-terser":"5.1.2",shelljs:"0.8.3","snapshot-diff":"0.4.0","strip-ansi":"5.2.0","synchronous-promise":"2.0.10",tempy:"0.2.1","terser-webpack-plugin":"2.2.1",webpack:"4.41.2"},a={prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dist":"node ./scripts/test-dist.js","test-integration":"jest tests_integration","perf-repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf-repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf-benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","check-types":"tsc",lint:"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint-docs":"prettylint {.,docs,website,website/blog}/*.md","lint-dist":'eslint --no-eslintrc --no-ignore --env=browser "dist/!(bin-prettier|index|third-party).js"',build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js","check-deps":"node ./scripts/check-deps.js",spellcheck:"npx -p cspell@4.0.31 cspell {bin,scripts,src}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md"},i=Object.freeze({__proto__:null,name:"prettier",version:"1.19.1",description:e,bin:t,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:n,dependencies:r,devDependencies:u,scripts:a,default:{name:"prettier",version:"1.19.1",description:e,bin:t,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:n,dependencies:r,devDependencies:u,scripts:a}});function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;ne.length?n:e})),l.value=e.join(p)}else l.value=e.join(n.slice(o,o+l.count));o+=l.count,l.added||(s+=l.count)}}var f=t[i-1];return i>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[i-2].value+=f.value,t.pop()),t}function x(e){return{newPos:e.newPos,components:e.components.slice(0)}}F.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var u=this;function a(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var i=(t=this.removeEmpty(this.tokenize(t))).length,o=e.length,s=1,l=i+o,c=[{newPos:-1,components:[]}],p=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=i&&p+1>=o)return a([{value:this.join(t),count:t.length}]);function f(){for(var n=-1*s;n<=s;n+=2){var r=void 0,l=c[n-1],p=c[n+1],f=(p?p.newPos:0)-n;l&&(c[n-1]=void 0);var d=l&&l.newPos+1=i&&f+1>=o)return a(b(u,r.components,t,e,u.useLongestToken));c[n]=r}else c[n]=void 0}s++}if(r)!function e(){setTimeout((function(){if(s>l)return r();f()||e()}),0)}();else for(;s<=l;){var d=f();if(d)return d}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var u=t.length,a=n.length,i=e.newPos,o=i-r,s=0;i+11&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],u=[],a=0;function i(){var e={};for(u.push(e);a2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=V(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,u,a=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=t.hunks,s=n.compareLine||function(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n0?r[0]:" ",i=r.length>0?r.substr(1):r;if(" "===u||"-"===u){if(!s(t+1,a[t],u,i)&&++l>c)return!1;t++}}return!0}for(var D=0;D0?x[0]:" ",w=x.length>0?x.substr(1):x,B=A.linedelimiters[b];if(" "===S)F++;else if("-"===S)a.splice(F,1),i.splice(F,1);else if("+"===S)a.splice(F,0,w),i.splice(F,0,B),F++;else if("\\"===S){var T=A.lines[b-1]?A.lines[b-1][0]:null;"+"===T?r=!0:"-"===T&&(u=!0)}}}if(r)for(;!a[a.length-1];)a.pop(),i.pop();else u&&(a.push(""),i.push("\n"));for(var k=0;k0?s(h.lines.slice(-i.context)):[],c-=f.length,p-=f.length)}(a=f).push.apply(a,L(u.map((function(e){return(t.added?"+":"-")+e})))),t.added?D+=u.length:d+=u.length}else{if(c)if(u.length<=2*i.context&&e=o.length-2&&u.length<=i.context){var E=/\n$/.test(n),C=/\n$/.test(r),A=0==u.length&&f.length>v.oldLines;!E&&A&&f.splice(v.oldLines,0,"\\ No newline at end of file"),(E||A)&&C||f.push("\\ No newline at end of file")}l.push(v),c=0,p=0,f=[]}d+=u.length,D+=u.length}},m=0;me.length)return!1;for(var n=0;n"):r.removed&&t.push(""),t.push(r.value.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")),r.added?t.push(""):r.removed&&t.push("")}return t.join("")},canonicalize:R}),se=Object.freeze({__proto__:null,default:{}}),le="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},ce=[],pe=[],fe="undefined"!=typeof Uint8Array?Uint8Array:Array,de=!1;function De(){de=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+ce[r>>12&63]+ce[r>>6&63]+ce[63&r]);return u.join("")}function me(e,t,n,r,u){var a,i,o=8*u-r-1,s=(1<>1,c=-7,p=n?u-1:0,f=n?-1:1,d=e[t+p];for(p+=f,a=d&(1<<-c)-1,d>>=-c,c+=o;c>0;a=256*a+e[t+p],p+=f,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=r;c>0;i=256*i+e[t+p],p+=f,c-=8);if(0===a)a=1-l;else{if(a===s)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,r),a-=l}return(d?-1:1)*i*Math.pow(2,a-r)}function ge(e,t,n,r,u,a){var i,o,s,l=8*a-u-1,c=(1<>1,f=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:a-1,D=r?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-i))<1&&(i--,s*=2),(t+=i+p>=1?f/s:f*Math.pow(2,1-p))*s>=2&&(i++,s/=2),i+p>=c?(o=0,i=c):i+p>=1?(o=(t*s-1)*Math.pow(2,u),i+=p):(o=t*Math.pow(2,p-1)*Math.pow(2,u),i=0));u>=8;e[n+d]=255&o,d+=D,o/=256,u-=8);for(i=i<0;e[n+d]=255&i,d+=D,i/=256,l-=8);e[n+d-D]|=128*h}var ye={}.toString,ve=Array.isArray||function(e){return"[object Array]"==ye.call(e)};function Ee(){return Ae.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ce(e,t){if(Ee()=Ee())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ee().toString(16)+" bytes");return 0|e}function Be(e){return!(null==e||!e._isBuffer)}function Te(e,t){if(Be(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return et(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return tt(e).length;default:if(r)return et(e).length;t=(""+t).toLowerCase(),r=!0}}function ke(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return $e(this,t,n);case"utf8":case"utf-8":return Ve(this,t,n);case"ascii":return Ue(this,t,n);case"latin1":case"binary":return We(this,t,n);case"base64":return qe(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Je(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Oe(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Ne(e,t,n,r,u){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=u?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(u)return-1;n=e.length-1}else if(n<0){if(!u)return-1;n=0}if("string"==typeof t&&(t=Ae.from(t,r)),Be(t))return 0===t.length?-1:Pe(e,t,n,r,u);if("number"==typeof t)return t&=255,Ae.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?u?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Pe(e,[t],n,r,u);throw new TypeError("val must be string, number or Buffer")}function Pe(e,t,n,r,u){var a,i=1,o=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,o/=2,s/=2,n/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(u){var c=-1;for(a=n;ao&&(n=o-s),a=n;a>=0;a--){for(var p=!0,f=0;fu&&(r=u):r=u;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var i=0;i>8,u.push(n%256),u.push(r);return u}(t,e.length-n),e,n,r)}function qe(e,t,n){return function(e){var t;de||De();for(var n=e.length,r=n%3,u="",a=[],i=0,o=n-r;io?o:i+16383));return 1===r?(u+=ce[(t=e[n-1])>>2],u+=ce[t<<4&63],u+="=="):2===r&&(u+=ce[(t=(e[n-2]<<8)+e[n-1])>>10],u+=ce[t>>4&63],u+=ce[t<<2&63],u+="="),a.push(u),a.join("")}(0===t&&n===e.length?e:e.slice(t,n))}function Ve(e,t,n){n=Math.min(e.length,n);for(var r=[],u=t;u239?4:l>223?3:l>191?2:1;if(u+p<=n)switch(p){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[u+1]))&&(s=(31&l)<<6|63&a)>127&&(c=s);break;case 3:i=e[u+2],128==(192&(a=e[u+1]))&&128==(192&i)&&(s=(15&l)<<12|(63&a)<<6|63&i)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:i=e[u+2],o=e[u+3],128==(192&(a=e[u+1]))&&128==(192&i)&&128==(192&o)&&(s=(15&l)<<18|(63&a)<<12|(63&i)<<6|63&o)>65535&&s<1114112&&(c=s)}null===c?(c=65533,p=1):c>65535&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),u+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;ru)&&(n=u);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function Ge(e,t,n,r,u,a){if(!Be(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>u||te.length)throw new RangeError("Index out of range")}function Xe(e,t,n,r){t<0&&(t=65535+t+1);for(var u=0,a=Math.min(e.length-n,2);u>>8*(r?u:1-u)}function He(e,t,n,r){t<0&&(t=4294967295+t+1);for(var u=0,a=Math.min(e.length-n,4);u>>8*(r?u:3-u)&255}function Ye(e,t,n,r,u,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ke(e,t,n,r,u){return u||Ye(e,0,n,4),ge(e,t,n,r,23,4),n+4}function Qe(e,t,n,r,u){return u||Ye(e,0,n,8),ge(e,t,n,r,52,8),n+8}Ae.TYPED_ARRAY_SUPPORT=void 0===le.TYPED_ARRAY_SUPPORT||le.TYPED_ARRAY_SUPPORT,Ae.poolSize=8192,Ae._augment=function(e){return e.__proto__=Ae.prototype,e},Ae.from=function(e,t,n){return Fe(null,e,t,n)},Ae.TYPED_ARRAY_SUPPORT&&(Ae.prototype.__proto__=Uint8Array.prototype,Ae.__proto__=Uint8Array),Ae.alloc=function(e,t,n){return function(e,t,n,r){return be(t),t<=0?Ce(null,t):void 0!==n?"string"==typeof r?Ce(null,t).fill(n,r):Ce(null,t).fill(n):Ce(null,t)}(0,e,t,n)},Ae.allocUnsafe=function(e){return xe(null,e)},Ae.allocUnsafeSlow=function(e){return xe(null,e)},Ae.isBuffer=function(e){return null!=e&&(!!e._isBuffer||rt(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&rt(e.slice(0,0))}(e))},Ae.compare=function(e,t){if(!Be(e)||!Be(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,u=0,a=Math.min(n,r);u0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},Ae.prototype.compare=function(e,t,n,r,u){if(!Be(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===u&&(u=this.length),t<0||n>e.length||r<0||u>this.length)throw new RangeError("out of range index");if(r>=u&&t>=n)return 0;if(r>=u)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(u>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0),o=Math.min(a,i),s=this.slice(r,u),l=e.slice(t,n),c=0;cu)&&(n=u),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return Ie(this,e,t,n);case"utf8":case"utf-8":return je(this,e,t,n);case"ascii":return Le(this,e,t,n);case"latin1":case"binary":return _e(this,e,t,n);case"base64":return Me(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Re(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},Ae.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Ae.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(u*=256);)r+=this[e+--t]*u;return r},Ae.prototype.readUInt8=function(e,t){return t||ze(e,1,this.length),this[e]},Ae.prototype.readUInt16LE=function(e,t){return t||ze(e,2,this.length),this[e]|this[e+1]<<8},Ae.prototype.readUInt16BE=function(e,t){return t||ze(e,2,this.length),this[e]<<8|this[e+1]},Ae.prototype.readUInt32LE=function(e,t){return t||ze(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Ae.prototype.readUInt32BE=function(e,t){return t||ze(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Ae.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||ze(e,t,this.length);for(var r=this[e],u=1,a=0;++a=(u*=128)&&(r-=Math.pow(2,8*t)),r},Ae.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||ze(e,t,this.length);for(var r=t,u=1,a=this[e+--r];r>0&&(u*=256);)a+=this[e+--r]*u;return a>=(u*=128)&&(a-=Math.pow(2,8*t)),a},Ae.prototype.readInt8=function(e,t){return t||ze(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Ae.prototype.readInt16LE=function(e,t){t||ze(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Ae.prototype.readInt16BE=function(e,t){t||ze(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Ae.prototype.readInt32LE=function(e,t){return t||ze(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Ae.prototype.readInt32BE=function(e,t){return t||ze(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Ae.prototype.readFloatLE=function(e,t){return t||ze(e,4,this.length),me(this,e,!0,23,4)},Ae.prototype.readFloatBE=function(e,t){return t||ze(e,4,this.length),me(this,e,!1,23,4)},Ae.prototype.readDoubleLE=function(e,t){return t||ze(e,8,this.length),me(this,e,!0,52,8)},Ae.prototype.readDoubleBE=function(e,t){return t||ze(e,8,this.length),me(this,e,!1,52,8)},Ae.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Ge(this,e,t,n,Math.pow(2,8*n)-1,0);var u=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+u]=e/a&255;return t+n},Ae.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,1,255,0),Ae.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Ae.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,2,65535,0),Ae.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Xe(this,e,t,!0),t+2},Ae.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,2,65535,0),Ae.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Xe(this,e,t,!1),t+2},Ae.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,4,4294967295,0),Ae.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):He(this,e,t,!0),t+4},Ae.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,4,4294967295,0),Ae.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):He(this,e,t,!1),t+4},Ae.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);Ge(this,e,t,n,u-1,-u)}var a=0,i=1,o=0;for(this[t]=255&e;++a>0)-o&255;return t+n},Ae.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);Ge(this,e,t,n,u-1,-u)}var a=n-1,i=1,o=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/i>>0)-o&255;return t+n},Ae.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,1,127,-128),Ae.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Ae.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,2,32767,-32768),Ae.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Xe(this,e,t,!0),t+2},Ae.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,2,32767,-32768),Ae.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Xe(this,e,t,!1),t+2},Ae.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,4,2147483647,-2147483648),Ae.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):He(this,e,t,!0),t+4},Ae.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Ge(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Ae.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):He(this,e,t,!1),t+4},Ae.prototype.writeFloatLE=function(e,t,n){return Ke(this,e,t,!0,n)},Ae.prototype.writeFloatBE=function(e,t,n){return Ke(this,e,t,!1,n)},Ae.prototype.writeDoubleLE=function(e,t,n){return Qe(this,e,t,!0,n)},Ae.prototype.writeDoubleBE=function(e,t,n){return Qe(this,e,t,!1,n)},Ae.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--u)e[u+t]=this[u+n];else if(a<1e3||!Ae.TYPED_ARRAY_SUPPORT)for(u=0;u>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!u){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&a.push(239,191,189);continue}u=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),u=n;continue}n=65536+(u-55296<<10|n-56320)}else u&&(t-=3)>-1&&a.push(239,191,189);if(u=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function tt(e){return function(e){var t,n,r,u,a,i;de||De();var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i=new fe(3*o/4-(a="="===e[o-2]?2:"="===e[o-1]?1:0)),r=a>0?o-4:o;var s=0;for(t=0,n=0;t>16&255,i[s++]=u>>8&255,i[s++]=255&u;return 2===a?(u=pe[e.charCodeAt(t)]<<2|pe[e.charCodeAt(t+1)]>>4,i[s++]=255&u):1===a&&(u=pe[e.charCodeAt(t)]<<10|pe[e.charCodeAt(t+1)]<<4|pe[e.charCodeAt(t+2)]>>2,i[s++]=u>>8&255,i[s++]=255&u),i}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Ze,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function nt(e,t,n,r){for(var u=0;u=t.length||u>=e.length);++u)t[u+n]=e[u];return u}function rt(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var ut="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function at(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function it(e,t){return e(t={exports:{}},t.exports),t.exports}function ot(e){return e&&e.default||e}var st=ot(se),lt=function(){function e(t,n){s(this,e),(n=n||{}).readChunk||(n.readChunk=1024),n.newLineCharacter=n.newLineCharacter?n.newLineCharacter.charCodeAt(0):10,this.fd="number"==typeof t?t:st.openSync(t,"r"),this.options=n,this.newLineCharacter=n.newLineCharacter,this.reset()}return c(e,[{key:"_searchInBuffer",value:function(e,t){for(var n=-1,r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}},{key:"reset",value:function(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function(){st.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function(e){for(var t,n=[],r=0,u=0;;){var a=e[r++];if(a===this.newLineCharacter)t=e.slice(u,r),n.push(t),u=r;else if(!a)break}var i=e.slice(u,r);return i.length&&n.push(i),n}},{key:"_readChunk",value:function(e){var t,n=0,r=[];do{var u=new Ae(this.options.readChunk);n+=t=st.readSync(this.fd,u,0,this.options.readChunk,this.fdPosition),this.fdPosition=this.fdPosition+t,r.push(u)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));var a=Ae.concat(r);return t1)for(var n=1;n)?=?)",l("XRANGEIDENTIFIERLOOSE"),a[i.XRANGEIDENTIFIERLOOSE]=a[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",l("XRANGEIDENTIFIER"),a[i.XRANGEIDENTIFIER]=a[i.NUMERICIDENTIFIER]+"|x|X|\\*",l("XRANGEPLAIN"),a[i.XRANGEPLAIN]="[v=\\s]*("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:"+a[i.PRERELEASE]+")?"+a[i.BUILD]+"?)?)?",l("XRANGEPLAINLOOSE"),a[i.XRANGEPLAINLOOSE]="[v=\\s]*("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:"+a[i.PRERELEASELOOSE]+")?"+a[i.BUILD]+"?)?)?",l("XRANGE"),a[i.XRANGE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAIN]+"$",l("XRANGELOOSE"),a[i.XRANGELOOSE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAINLOOSE]+"$",l("COERCE"),a[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",l("COERCERTL"),u[i.COERCERTL]=new RegExp(a[i.COERCE],"g"),l("LONETILDE"),a[i.LONETILDE]="(?:~>?)",l("TILDETRIM"),a[i.TILDETRIM]="(\\s*)"+a[i.LONETILDE]+"\\s+",u[i.TILDETRIM]=new RegExp(a[i.TILDETRIM],"g"),l("TILDE"),a[i.TILDE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAIN]+"$",l("TILDELOOSE"),a[i.TILDELOOSE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAINLOOSE]+"$",l("LONECARET"),a[i.LONECARET]="(?:\\^)",l("CARETTRIM"),a[i.CARETTRIM]="(\\s*)"+a[i.LONECARET]+"\\s+",u[i.CARETTRIM]=new RegExp(a[i.CARETTRIM],"g"),l("CARET"),a[i.CARET]="^"+a[i.LONECARET]+a[i.XRANGEPLAIN]+"$",l("CARETLOOSE"),a[i.CARETLOOSE]="^"+a[i.LONECARET]+a[i.XRANGEPLAINLOOSE]+"$",l("COMPARATORLOOSE"),a[i.COMPARATORLOOSE]="^"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+")$|^$",l("COMPARATOR"),a[i.COMPARATOR]="^"+a[i.GTLT]+"\\s*("+a[i.FULLPLAIN]+")$|^$",l("COMPARATORTRIM"),a[i.COMPARATORTRIM]="(\\s*)"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+"|"+a[i.XRANGEPLAIN]+")",u[i.COMPARATORTRIM]=new RegExp(a[i.COMPARATORTRIM],"g"),l("HYPHENRANGE"),a[i.HYPHENRANGE]="^\\s*("+a[i.XRANGEPLAIN]+")\\s+-\\s+("+a[i.XRANGEPLAIN]+")\\s*$",l("HYPHENRANGELOOSE"),a[i.HYPHENRANGELOOSE]="^\\s*("+a[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[i.XRANGEPLAINLOOSE]+")\\s*$",l("STAR"),a[i.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c256)return null;if(!(t.loose?u[i.LOOSE]:u[i.FULL]).test(e))return null;try{return new f(e,t)}catch(n){return null}}function f(e,t){if(t&&"object"===o(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof f){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof f))return new f(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?u[i.LOOSE]:u[i.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=a[4]?a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new f(e,n).inc(t,r).version}catch(u){return null}},t.diff=function(e,t){if(y(e,t))return null;var n=p(e),r=p(t),u="";if(n.prerelease.length||r.prerelease.length){u="pre";var a="prerelease"}for(var i in n)if(("major"===i||"minor"===i||"patch"===i)&&n[i]!==r[i])return u+i;return a},t.compareIdentifiers=D;var d=/^[0-9]+$/;function D(e,t){var n=d.test(e),r=d.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e0}function g(e,t,n){return h(e,t,n)<0}function y(e,t,n){return 0===h(e,t,n)}function v(e,t,n){return 0!==h(e,t,n)}function E(e,t,n){return h(e,t,n)>=0}function C(e,t,n){return h(e,t,n)<=0}function A(e,t,n,r){switch(t){case"===":return"object"===o(e)&&(e=e.version),"object"===o(n)&&(n=n.version),e===n;case"!==":return"object"===o(e)&&(e=e.version),"object"===o(n)&&(n=n.version),e!==n;case"":case"=":case"==":return y(e,n,r);case"!=":return v(e,n,r);case">":return m(e,n,r);case">=":return E(e,n,r);case"<":return g(e,n,r);case"<=":return C(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function F(e,t){if(t&&"object"===o(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof F){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof F))return new F(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===b?"":this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return D(t,e)},t.major=function(e,t){return new f(e,t).major},t.minor=function(e,t){return new f(e,t).minor},t.patch=function(e,t){return new f(e,t).patch},t.compare=h,t.compareLoose=function(e,t){return h(e,t,!0)},t.compareBuild=function(e,t,n){var r=new f(e,n),u=new f(t,n);return r.compare(u)||r.compareBuild(u)},t.rcompare=function(e,t,n){return h(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=m,t.lt=g,t.eq=y,t.neq=v,t.gte=E,t.lte=C,t.cmp=A,t.Comparator=F;var b={};function x(e,t){if(t&&"object"===o(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof x)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new x(e.raw,t);if(e instanceof F)return new x(e.value,t);if(!(this instanceof x))return new x(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function S(e,t){for(var n=!0,r=e.slice(),u=r.pop();n&&r.length;)n=r.every((function(e){return u.intersects(e,t)})),u=r.pop();return n}function w(e){return!e||"x"===e.toLowerCase()||"*"===e}function B(e,t,n,r,u,a,i,o,s,l,c,p,f){return((t=w(n)?"":w(r)?">="+n+".0.0":w(u)?">="+n+"."+r+".0":">="+t)+" "+(o=w(s)?"":w(l)?"<"+(+s+1)+".0.0":w(c)?"<"+s+"."+(+l+1)+".0":p?"<="+s+"."+l+"."+c+"-"+p:"<="+o)).trim()}function T(e,t,r){for(var u=0;u0){var a=e[u].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}function k(e,t,n){try{t=new x(t,n)}catch(r){return!1}return t.test(e)}function O(e,t,n,r){var u,a,i,o,s;switch(e=new f(e,r),t=new x(t,r),n){case">":u=m,a=C,i=g,o=">",s=">=";break;case"<":u=g,a=E,i=m,o="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(k(e,t,r))return!1;for(var l=0;l=0.0.0")),p=p||e,u(e.semver,(c=c||e).semver,r)?c=e:i(e.semver,p.semver,r)&&(p=e)})),c.operator===o||c.operator===s)return!1;if((!p.operator||p.operator===o)&&a(e,p.semver))return!1;if(p.operator===s&&i(e,p.semver))return!1}return!0}F.prototype.parse=function(e){var t=e.match(this.options.loose?u[i.COMPARATORLOOSE]:u[i.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new f(t[2],this.options.loose):b},F.prototype.toString=function(){return this.value},F.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===b||e===b)return!0;if("string"==typeof e)try{e=new f(e,this.options)}catch(t){return!1}return A(e,this.operator,this.semver,this.options)},F.prototype.intersects=function(e,t){if(!(e instanceof F))throw new TypeError("a Comparator is required");var n;if(t&&"object"===o(t)||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new x(e.value,t),k(this.value,n,t));if(""===e.operator)return""===e.value||(n=new x(this.value,t),k(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),u=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=A(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=A(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||u||a&&i||s||l},t.Range=x,x.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},x.prototype.toString=function(){return this.range},x.prototype.parseRange=function(e){var t=this.options.loose;e=(e=e.trim()).replace(t?u[i.HYPHENRANGELOOSE]:u[i.HYPHENRANGE],B),n("hyphen replace",e),e=e.replace(u[i.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,u[i.COMPARATORTRIM]),e=(e=(e=e.replace(u[i.TILDETRIM],"$1~")).replace(u[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var r=t?u[i.COMPARATORLOOSE]:u[i.COMPARATOR],a=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return n("caret",e,t),e.replace(t.loose?u[i.CARETLOOSE]:u[i.CARET],(function(t,r,u,a,i){var o;return n("caret",e,t,r,u,a,i),w(r)?o="":w(u)?o=">="+r+".0.0 <"+(+r+1)+".0.0":w(a)?o="0"===r?">="+r+"."+u+".0 <"+r+"."+(+u+1)+".0":">="+r+"."+u+".0 <"+(+r+1)+".0.0":i?(n("replaceCaret pr",i),o="0"===r?"0"===u?">="+r+"."+u+"."+a+"-"+i+" <"+r+"."+u+"."+(+a+1):">="+r+"."+u+"."+a+"-"+i+" <"+r+"."+(+u+1)+".0":">="+r+"."+u+"."+a+"-"+i+" <"+(+r+1)+".0.0"):(n("no pr"),o="0"===r?"0"===u?">="+r+"."+u+"."+a+" <"+r+"."+u+"."+(+a+1):">="+r+"."+u+"."+a+" <"+r+"."+(+u+1)+".0":">="+r+"."+u+"."+a+" <"+(+r+1)+".0.0"),n("caret return",o),o}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return e.replace(t.loose?u[i.TILDELOOSE]:u[i.TILDE],(function(t,r,u,a,i){var o;return n("tilde",e,t,r,u,a,i),w(r)?o="":w(u)?o=">="+r+".0.0 <"+(+r+1)+".0.0":w(a)?o=">="+r+"."+u+".0 <"+r+"."+(+u+1)+".0":i?(n("replaceTilde pr",i),o=">="+r+"."+u+"."+a+"-"+i+" <"+r+"."+(+u+1)+".0"):o=">="+r+"."+u+"."+a+" <"+r+"."+(+u+1)+".0",n("tilde return",o),o}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){return(e=e.trim()).replace(t.loose?u[i.XRANGELOOSE]:u[i.XRANGE],(function(r,u,a,i,o,s){n("xRange",e,r,u,a,i,o,s);var l=w(a),c=l||w(i),p=c||w(o);return"="===u&&p&&(u=""),s=t.includePrerelease?"-0":"",l?r=">"===u||"<"===u?"<0.0.0-0":"*":u&&p?(c&&(i=0),o=0,">"===u?(u=">=",c?(a=+a+1,i=0,o=0):(i=+i+1,o=0)):"<="===u&&(u="<",c?a=+a+1:i=+i+1),r=u+a+"."+i+"."+o+s):c?r=">="+a+".0.0"+s+" <"+(+a+1)+".0.0"+s:p&&(r=">="+a+"."+i+".0"+s+" <"+a+"."+(+i+1)+".0"+s),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(u[i.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(r)}))),a.map((function(e){return new F(e,this.options)}),this)},x.prototype.intersects=function(e,t){if(!(e instanceof x))throw new TypeError("a Range is required");return this.set.some((function(n){return S(n,t)&&e.set.some((function(e){return S(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new x(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},x.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new f(e,this.options)}catch(n){return!1}for(var t=0;t":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!m(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},t.validRange=function(e,t){try{return new x(e,t).range||"*"}catch(n){return null}},t.ltr=function(e,t,n){return O(e,t,"<",n)},t.gtr=function(e,t,n){return O(e,t,">",n)},t.outside=O,t.prerelease=function(e,t){var n=p(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new x(e,n),t=new x(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof f)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=u[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),u[i.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;u[i.COERCERTL].lastIndex=-1}else n=e.match(u[i.COERCE]);return null===n?null:p(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}})),Lt=it((function(e){e.exports=function(e){var t=void 0;t="string"==typeof e?[e]:e.raw;for(var n="",r=0;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function Kt(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,u,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(o){u={error:o}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(u)throw u.error}}return i}function Qt(e){return this instanceof Qt?(this.v=e,this):new Qt(e)}var Zt=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}Xt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Ht},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var u=0;for(r=Object.getOwnPropertySymbols(e);u=0;s--)(u=e[s])&&(i=(a<3?u(i):a>3?u(t,n,i):u(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":o(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(u,a){function i(e){try{s(r.next(e))}catch(t){a(t)}}function o(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){e.done?u(e.value):new n((function(t){t(e.value)})).then(i,o)}s((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,u,a,i={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=2&a[0]?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[2&a[0],u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((u=(u=i.trys).length>0&&u[u.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!u||a[1]>u[0]&&a[1]1||o(e,t)}))})}function o(e,t){try{(n=u[e](t)).value instanceof Qt?Promise.resolve(n.value.v).then(s,l):c(a[0][2],n)}catch(r){c(a[0][3],r)}var n}function s(e){o("next",e)}function l(e){o("throw",e)}function c(e,t){e(t),a.shift(),a.length&&o(a[0][0],a[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,u){t[r]=e[r]?function(t){return(n=!n)?{value:Qt(e[r](t)),done:"return"===r}:u?u(t):t}:u}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Yt(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,u){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,u,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}}}),en=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:function(e){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e)},value:function(e){if(null===e||"object"!==o(e))return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map((function(e){return t.apiDescriptor.value(e)})).join(", "),"]");var n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map((function(n){return"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))})).join(", ")," }")},pair:function(e){return t.apiDescriptor.value(p({},e.key,e.value))}}}));at(en);var tn=ot(Zt),nn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),tn.__exportStar(en,t)}));at(nn);var rn=/[|\\{}()[\]^$+*?.]/g,un=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(rn,"\\$&")},an={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},on=it((function(e){var t={};for(var n in an)an.hasOwnProperty(n)&&(t[an[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in r)if(r.hasOwnProperty(u)){if(!("channels"in r[u]))throw new Error("missing channels property: "+u);if(!("labels"in r[u]))throw new Error("missing channel labels property: "+u);if(r[u].labels.length!==r[u].channels)throw new Error("channel and label counts mismatch: "+u);var a=r[u].channels,i=r[u].labels;delete r[u].channels,delete r[u].labels,Object.defineProperty(r[u],"channels",{value:a}),Object.defineProperty(r[u],"labels",{value:i})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,u=e[1]/255,a=e[2]/255,i=Math.min(r,u,a),o=Math.max(r,u,a),s=o-i;return o===i?t=0:r===o?t=(u-a)/s:u===o?t=2+(a-r)/s:a===o&&(t=4+(r-u)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+o)/2,[t,100*(o===i?0:n<=.5?s/(o+i):s/(2-o-i)),100*n]},r.rgb.hsv=function(e){var t,n,r=e[0],u=e[1],a=e[2],i=Math.min(r,u,a),o=Math.max(r,u,a),s=o-i;return n=0===o?0:s/o*1e3/10,o===i?t=0:r===o?t=(u-a)/s:u===o?t=2+(a-r)/s:a===o&&(t=4+(r-u)/s),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,o/255*1e3/10]},r.rgb.hwb=function(e){var t=e[0],n=e[1],u=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,u))*100,100*(u=1-1/255*Math.max(t,Math.max(n,u)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-u)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-u-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,u,a,i=1/0;for(var o in an)if(an.hasOwnProperty(o)){var s=(u=e,a=an[o],Math.pow(u[0]-a[0],2)+Math.pow(u[1]-a[1],2)+Math.pow(u[2]-a[2],2));s.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],u=t[1],a=t[2];return u/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116)-16,500*(n-u),200*(u-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(e){var t,n,r,u,a,i=e[0]/360,o=e[1]/100,s=e[2]/100;if(0===o)return[a=255*s,a,a];t=2*s-(n=s<.5?s*(1+o):s+o-s*o),u=[0,0,0];for(var l=0;l<3;l++)(r=i+1/3*-(l-1))<0&&r++,r>1&&r--,u[l]=255*(a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t);return u},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,u=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,u*=a<=1?a:2-a,[t,100*(0===r?2*u/(a+u):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,u=Math.floor(t)%6,a=t-Math.floor(t),i=255*r*(1-n),o=255*r*(1-n*a),s=255*r*(1-n*(1-a));switch(r*=255,u){case 0:return[r,s,i];case 1:return[o,r,i];case 2:return[i,r,s];case 3:return[i,o,r];case 4:return[s,i,r];case 5:return[r,i,o]}},r.hsv.hsl=function(e){var t,n,r,u=e[0],a=e[1]/100,i=e[2]/100,o=Math.max(i,.01);return r=(2-a)*i,n=a*o,[u,100*(n=(n/=(t=(2-a)*o)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,u,a,i,o,s=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),u=l+r*((n=1-c)-l),t){default:case 6:case 0:a=n,i=u,o=l;break;case 1:a=u,i=n,o=l;break;case 2:a=l,i=n,o=u;break;case 3:a=l,i=u,o=n;break;case 4:a=u,i=l,o=n;break;case 5:a=n,i=l,o=u}return[255*a,255*i,255*o]},r.cmyk.rgb=function(e){var t=e[1]/100,n=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-r)+r)),255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},r.xyz.rgb=function(e){var t,n,r,u=e[0]/100,a=e[1]/100,i=e[2]/100;return n=-.9689*u+1.8758*a+.0415*i,r=.0557*u+-.204*a+1.057*i,t=(t=3.2406*u+-1.5372*a+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r;t=e[1]/500+(n=(e[0]+16)/116),r=n-e[2]/200;var u=Math.pow(n,3),a=Math.pow(t,3),i=Math.pow(r,3);return n=u>.008856?u:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=i>.008856?i:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],u=e[2];return(t=360*Math.atan2(u,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+u*u),t]},r.lch.lab=function(e){var t,n=e[1];return t=e[2]/360*2*Math.PI,[e[0],n*Math.cos(t),n*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],u=e[2],a=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var i=30+(Math.round(u/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===a&&(i+=60),i},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255,a=Math.max(Math.max(n,r),u),i=Math.min(Math.min(n,r),u),o=a-i;return t=o<=0?0:a===n?(r-u)/o%6:a===r?2+(u-n)/o:4+(n-r)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?i/(1-o):0)]},r.hsl.hcg=function(e){var t,n=e[1]/100,r=e[2]/100,u=0;return(t=r<.5?2*n*r:2*n*(1-r))<1&&(u=(r-.5*t)/(1-t)),[e[0],100*t,100*u]},r.hsv.hcg=function(e){var t=e[2]/100,n=e[1]/100*t,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},r.hcg.rgb=function(e){var t=e[1]/100,n=e[2]/100;if(0===t)return[255*n,255*n,255*n];var r,u=[0,0,0],a=e[0]/360%1*6,i=a%1,o=1-i;switch(Math.floor(a)){case 0:u[0]=1,u[1]=i,u[2]=0;break;case 1:u[0]=o,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=i;break;case 3:u[0]=0,u[1]=o,u[2]=1;break;case 4:u[0]=i,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=o}return[255*(t*u[0]+(r=(1-t)*n)),255*(t*u[1]+r),255*(t*u[2]+r)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=1-e[2]/100,n=t-e[1]/100,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}})),sn=Object.keys(on);function ln(e){var t=function(){for(var e={},t=sn.length,n=0;n1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===o(n))for(var r=n.length,u=0;u1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var dn,Dn=fn,hn=it((function(e){var t=function(e,t){return function(){var n=e.apply(Dn,arguments);return"\x1b[".concat(n+t,"m")}},n=function(e,t){return function(){var n=e.apply(Dn,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")}},r=function(e,t){return function(){var n=e.apply(Dn,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,u={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};u.color.grey=u.color.gray;for(var a=0,i=Object.keys(u);a=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in yn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in yn}))||"codeship"===yn.CI_NAME?1:t;if("TEAMCITY_VERSION"in yn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(yn.TEAMCITY_VERSION)?1:0;if("truecolor"===yn.COLORTERM)return 3;if("TERM_PROGRAM"in yn){var r=parseInt((yn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(yn.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(yn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(yn.TERM)||"COLORTERM"in yn?1:t}(e))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3};var t}gn("no-color")||gn("no-colors")||gn("color=false")?dn=!1:(gn("color")||gn("colors")||gn("color=true")||gn("color=always"))&&(dn=!0),"FORCE_COLOR"in yn&&(dn=0===yn.FORCE_COLOR.length||0!==parseInt(yn.FORCE_COLOR,10));var En={supportsColor:vn,stdout:vn(It.stdout),stderr:vn(It.stderr)},Cn=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,An=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Fn=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,bn=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,xn=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Sn(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):xn.get(e)||e}function wn(e,t){var n,r=[],u=t.trim().split(/\s*,\s*/g),a=!0,i=!1,o=void 0;try{for(var s,l=u[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;if(isNaN(c)){if(!(n=c.match(Fn)))throw new Error("Invalid Chalk template style argument: ".concat(c," (in style '").concat(e,"')"));r.push(n[2].replace(bn,(function(e,t,n){return t?Sn(t):n})))}else r.push(Number(c))}}catch(p){i=!0,o=p}finally{try{a||null==l.return||l.return()}finally{if(i)throw o}}return r}function Bn(e){An.lastIndex=0;for(var t,n=[];null!==(t=An.exec(e));){var r=t[1];if(t[2]){var u=wn(r,t[2]);n.push([r].concat(u))}else n.push([r])}return n}function Tn(e,t){var n={},r=!0,u=!1,a=void 0;try{for(var i,o=t[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var s=i.value,l=!0,c=!1,p=void 0;try{for(var f,d=s.styles[Symbol.iterator]();!(l=(f=d.next()).done);l=!0){var D=f.value;n[D[0]]=s.inverse?null:D.slice(1)}}catch(v){c=!0,p=v}finally{try{l||null==d.return||d.return()}finally{if(c)throw p}}}}catch(v){u=!0,a=v}finally{try{r||null==o.return||o.return()}finally{if(u)throw a}}for(var h=e,m=0,g=Object.keys(n);m0?h[y].apply(h,n[y]):h[y]}}return h}var kn=function(e,t){var n=[],r=[],u=[];if(t.replace(Cn,(function(t,a,i,o,s,l){if(a)u.push(Sn(a));else if(o){var c=u.join("");u=[],r.push(0===n.length?c:Tn(e,n)(c)),n.push({inverse:i,styles:Bn(o)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Tn(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)})),r.push(u.join("")),n.length>0){var a="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(a)}return r.join("")},On=it((function(e){var t=En.stdout,n="win32"===It.platform&&!(It.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),a=Object.create(null);function i(e,n){e.level=void 0===(n=n||{}).level?t?t.level:0:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function o(e){if(!this||!(this instanceof o)||this.template){var t={};return i(t,e),t.template=function(){var e=[].slice.call(arguments);return E.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,o.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=o,t.template}i(this,e)}n&&(hn.blue.open="\x1b[94m");for(var s=function(){var e=c[l];hn[e].closeRe=new RegExp(un(hn[e].close),"g"),a[e]={get:function(){var t=hn[e];return y.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},l=0,c=Object.keys(hn);l1)for(var u=1;ut.length&&(e=t,t=n);var r=e.length,u=t.length;if(0===r)return u;if(0===u)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-u);)r--,u--;if(0===r)return u;for(var a,i,o,s,l=0;li?s>i?i+1:s:s>o?o+1:s;return i}(e,t)<3}));o&&i.push("Did you mean ".concat(On.default.blue(r.key(o)),"?")),u.warn(i.join(" "))}}));at(Mn);var Rn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),tn.__exportStar(Mn,t)}));at(Rn);var qn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),tn.__exportStar(Pn,t),tn.__exportStar(jn,t),tn.__exportStar(Rn,t)}));at(qn);var Vn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){var r=new e(t),i=Object.create(r),o=!0,s=!1,l=void 0;try{for(var c,p=n[Symbol.iterator]();!(o=(c=p.next()).done);o=!0){var f=c.value;f in t&&(i[f]=a(t[f],r,u.prototype[f].length))}}catch(d){s=!0,l=d}finally{try{o||null==p.return||p.return()}finally{if(s)throw l}}return i}t.createSchema=r;var u=function(){function e(t){s(this,e),this.name=t.name}return c(e,[{key:"default",value:function(e){}},{key:"expected",value:function(e){return"nothing"}},{key:"validate",value:function(e,t){return!1}},{key:"deprecated",value:function(e,t){return!1}},{key:"forward",value:function(e,t){}},{key:"redirect",value:function(e,t){}},{key:"overlap",value:function(e,t,n){return e}},{key:"preprocess",value:function(e,t){return e}},{key:"postprocess",value:function(e,t){return e}}],[{key:"create",value:function(e){return r(this,e)}}]),e}();function a(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,u=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){var n=r("object"===o(e)&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"===o(e)&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}}));at(zn);var Gn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ChoiceSchema=function(e){function t(e){var n;return s(this,t),(n=y(this,d(t).call(this,e)))._choices=zn.mapFromArray(e.choices.map((function(e){return e&&"object"===o(e)?e:{value:e}})),"value"),n}return f(t,e),c(t,[{key:"expected",value:function(e){var t=this,n=e.descriptor,r=Array.from(this._choices.keys()).map((function(e){return t._choices.get(e)})).filter((function(e){return!e.deprecated})).map((function(e){return e.value})).sort(zn.comparePrimitive).map(n.value),u=r.slice(0,-2),a=r.slice(-2);return u.concat(a.join(" or ")).join(", ")}},{key:"validate",value:function(e){return this._choices.has(e)}},{key:"deprecated",value:function(e){var t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}},{key:"forward",value:function(e){var t=this._choices.get(e);return t?t.forward:void 0}},{key:"redirect",value:function(e){var t=this._choices.get(e);return t?t.redirect:void 0}}]),t}(Vn.Schema)}));at(Gn);var Xn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.NumberSchema=function(e){function t(){return s(this,t),y(this,d(t).apply(this,arguments))}return f(t,e),c(t,[{key:"expected",value:function(){return"a number"}},{key:"validate",value:function(e,t){return"number"==typeof e}}]),t}(Vn.Schema)}));at(Xn);var Hn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.IntegerSchema=function(e){function t(){return s(this,t),y(this,d(t).apply(this,arguments))}return f(t,e),c(t,[{key:"expected",value:function(){return"an integer"}},{key:"validate",value:function(e,n){return!0===n.normalizeValidateResult(v(d(t.prototype),"validate",this).call(this,e,n),e)&&zn.isInt(e)}}]),t}(Xn.NumberSchema)}));at(Hn);var Yn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringSchema=function(e){function t(){return s(this,t),y(this,d(t).apply(this,arguments))}return f(t,e),c(t,[{key:"expected",value:function(){return"a string"}},{key:"validate",value:function(e){return"string"==typeof e}}]),t}(Vn.Schema)}));at(Yn);var Kn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),tn.__exportStar(Un,t),tn.__exportStar(Wn,t),tn.__exportStar($n,t),tn.__exportStar(Jn,t),tn.__exportStar(Gn,t),tn.__exportStar(Hn,t),tn.__exportStar(Xn,t),tn.__exportStar(Yn,t)}));at(Kn);var Qn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=en.apiDescriptor,t.defaultUnknownHandler=Mn.levenUnknownHandler,t.defaultInvalidHandler=jn.commonInvalidHandler,t.defaultDeprecatedHandler=Nn.commonDeprecatedHandler}));at(Qn);var Zn=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=function(e,t,r){return new n(t,r).normalize(e)};var n=function(){function e(t,n){s(this,e);var r=n||{},u=r.logger,a=void 0===u?console:u,i=r.descriptor,o=r.unknown,l=void 0===o?Qn.defaultUnknownHandler:o,c=r.invalid,p=void 0===c?Qn.defaultInvalidHandler:c,f=r.deprecated,d=void 0===f?Qn.defaultDeprecatedHandler:f;this._utils={descriptor:void 0===i?Qn.defaultDescriptor:i,logger:a||{warn:function(){}},schemas:zn.recordFromArray(t,"name"),normalizeDefaultResult:zn.normalizeDefaultResult,normalizeDeprecatedResult:zn.normalizeDeprecatedResult,normalizeForwardResult:zn.normalizeForwardResult,normalizeRedirectResult:zn.normalizeRedirectResult,normalizeValidateResult:zn.normalizeValidateResult},this._unknownHandler=l,this._invalidHandler=p,this._deprecatedHandler=d,this.cleanHistory()}return c(e,[{key:"cleanHistory",value:function(){this._hasDeprecationWarned=zn.createAutoChecklist()}},{key:"normalize",value:function(e){var t=this,n={},r=[e],u=function(){for(;0!==r.length;){var e=r.shift(),u=t._applyNormalization(e,n);r.push.apply(r,A(u))}};u();for(var a=0,i=Object.keys(this._utils.schemas);at.length&&(e=t,t=n);for(var r=e.length,u=t.length;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-u);)r--,u--;for(var a,i,o,s,l=0;li?s>i?i+1:s:s>o?o+1:s;return i},ur=rr;ur.default=rr;var ar,ir={key:function(e){return 1===e.length?"-".concat(e):"--".concat(e)},value:function(e){return er.apiDescriptor.value(e)},pair:function(e){var t=e.key,n=e.value;return!1===n?"--no-".concat(t):!0===n?ir.key(t):""===n?"".concat(ir.key(t)," without an argument"):"".concat(ir.key(t),"=").concat(n)}},or=function(e){function t(e){var n,r=e.name,u=e.flags;return s(this,t),(n=y(this,d(t).call(this,{name:r,choices:u})))._flags=u.slice().sort(),n}return f(t,e),c(t,[{key:"preprocess",value:function(e,t){if("string"==typeof e&&0!==e.length&&-1===this._flags.indexOf(e)){var n=this._flags.find((function(t){return ur(t,e)<3}));if(n)return t.logger.warn(["Unknown flag ".concat(On.yellow(t.descriptor.value(e)),","),"did you mean ".concat(On.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}},{key:"expected",value:function(){return"a flag"}}]),t}(er.ChoiceSchema);function sr(e,t){var n=t.isCLI,r=[];n&&r.push(er.AnySchema.create({name:"_"}));var u=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var l=o.value;r.push(lr(l,{isCLI:n,optionInfos:e})),l.alias&&n&&r.push(er.AliasSchema.create({name:l.alias,sourceName:l.name}))}}catch(c){a=!0,i=c}finally{try{u||null==s.return||s.return()}finally{if(a)throw i}}return r}function lr(e,t){var n,r=t.isCLI,u=t.optionInfos,a={name:e.name},i={};switch(e.type){case"int":n=er.IntegerSchema,r&&(a.preprocess=function(e){return Number(e)});break;case"string":n=er.StringSchema;break;case"choice":n=er.ChoiceSchema,a.choices=e.choices.map((function(t){return"object"===o(t)&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t}));break;case"boolean":n=er.BooleanSchema;break;case"flag":n=or,a.flags=u.map((function(e){return[].concat(e.alias||[],e.description?e.name:[],e.oppositeDescription?"no-".concat(e.name):[])})).reduce((function(e,t){return e.concat(t)}),[]);break;case"path":n=er.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(a.validate=e.exception?function(t,n,r){return e.exception(t)||n.validate(t,r)}:function(e,t,n){return void 0===e||t.validate(e,n)},e.redirect&&(i.redirect=function(t){return t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0}),e.deprecated&&(i.deprecated=!0),r&&!e.array){var s=a.preprocess||function(e){return e};a.preprocess=function(e,t,n){return t.preprocess(s(Array.isArray(e)?e[e.length-1]:e),n)}}return e.array?er.ArraySchema.create(Object.assign(r?{preprocess:function(e){return[].concat(e)}}:{},i,{valueSchema:n.create(a)})):n.create(Object.assign({},a,i))}var cr=function(e,t,n){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.logger,u=n.isCLI,a=void 0!==u&&u,i=n.passThrough,o=void 0!==i&&i,s=o?Array.isArray(o)?function(e,t){return-1===o.indexOf(e)?void 0:p({},e,t)}:function(e,t){return p({},e,t)}:er.levenUnknownHandler,l=a?ir:er.apiDescriptor,c=sr(t,{isCLI:a}),f=new er.Normalizer(c,{logger:r,unknown:s,descriptor:l}),d=!1!==r;d&&ar&&(f._hasDeprecationWarned=ar);var D=f.normalize(e);return d&&(ar=f._hasDeprecationWarned),D}(e,t,n)},pr=function(e){return e.length>0?e[e.length-1]:null},fr=it((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}}));at(fr);var dr=it((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),Dr=it((function(e){!function(){var t,n,r,u,a,i;function o(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||36===i||95===i;for(a=new Array(128),i=0;i<128;++i)a[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||36===i||95===i;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?u[e]:n.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES5:function(e){return e<128?a[e]:n.NonAsciiIdentifierPart.test(o(e))},isIdentifierStartES6:function(e){return e<128?u[e]:t.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES6:function(e){return e<128?a[e]:t.NonAsciiIdentifierPart.test(o(e))}}}()})),hr=it((function(e){!function(){var t=Dr;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function u(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function i(e){var n,r,u;if(0===e.length)return!1;if(u=e.charCodeAt(0),!t.isIdentifierStartES5(u))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(a=e.charCodeAt(n))&&a<=57343))return!1;u=1024*(u-55296)+(a-56320)+65536}if(!i(u))return!1;i=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:u,isReservedWordES6:a,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:i,isIdentifierNameES6:o,isIdentifierES5:function(e,t){return i(e)&&!u(e,t)},isIdentifierES6:function(e,t){return o(e)&&!a(e,t)}}}()})),mr=it((function(e,t){t.ast=dr,t.code=Dr,t.keyword=hr})),gr=it((function(e,t){function n(){var e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(fr);return n=function(){return e},e}function r(){var e=a(mr);return r=function(){return e},e}function u(){var e=a(On);return u=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldHighlight=f,t.getChalk=d,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(f(t)){var n=d(t),r=i(n);return p(r,e)}return e};var o=/\r\n|[\n\r\u2028\u2029]/,s=/^[a-z][\w-]*$/i,l=/^[()[\]{}]$/;function c(e){var t=C(e.slice(-2),2),u=t[0],a=t[1],i=(0,n().matchToToken)(e);if("name"===i.type){if(r().default.keyword.isReservedWordES6(i.value))return"keyword";if(s.test(i.value)&&("<"===a[u-1]||"3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;var a="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(It.emitWarning)It.emitWarning(a,"DeprecationWarning");else{var i=new Error(a);i.name="DeprecationWarning",console.warn(new Error(a))}}var s={start:{column:n=Math.max(n,0),line:t}};return o(e,s,u)};var r=!1;function u(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var a=/\r\n|[\n\r\u2028\u2029]/;function i(e,t,n){var r=Object.assign({column:0,line:-1},e.start),u=Object.assign({},r,e.end),a=n||{},i=a.linesAbove,o=a.linesBelow,s=void 0===o?3:o,l=r.line,c=r.column,p=u.line,f=u.column,d=Math.max(l-((void 0===i?2:i)+1),0),D=Math.min(t.length,p+s);-1===l&&(d=0),-1===p&&(D=t.length);var h=p-l,m={};if(h)for(var g=0;g<=h;g++){var y=g+l;m[y]=!c||(0===g?[c,t[y-1].length-c+1]:g===h?[0,f]:[0,t[y-g].length])}else m[l]=c===f?!c||[c,0]:[c,f-c];return{start:d,end:D,markerLines:m}}function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(r.highlightCode||r.forceColor)&&(0,n().shouldHighlight)(r),s=(0,n().getChalk)(r),l=u(s),c=function(e,t){return o?e(t):t},p=e.split(a),f=i(t,p,r),d=f.start,D=f.end,h=f.markerLines,m=t.start&&"number"==typeof t.start.column,g=String(D).length,y=o?(0,n().default)(e,r):e,v=y.split(a).slice(d,D).map((function(e,t){var n=d+1+t,u=" ".concat(n).slice(-g),a=" ".concat(u," | "),i=h[n],o=!h[n+1];if(i){var s="";if(Array.isArray(i)){var p=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," "),f=i[1]||1;s=["\n ",c(l.gutter,a.replace(/\d/g," ")),p,c(l.marker,"^").repeat(f)].join(""),o&&r.message&&(s+=" "+c(l.message,r.message))}return[c(l.marker,">"),c(l.gutter,a),e,s].join("")}return" ".concat(c(l.gutter,a)).concat(e)})).join("\n");return r.message&&!m&&(v="".concat(" ".repeat(g+1)).concat(r.message,"\n").concat(v)),o?s.reset(v):v}}));at(yr);var vr=ct.ConfigError,Er=function e(t,n){return!(n=n||{}).ignoreDecorators&&t.declaration&&t.declaration.decorators&&t.declaration.decorators.length>0?e(t.declaration.decorators[0]):!n.ignoreDecorators&&t.decorators&&t.decorators.length>0?e(t.decorators[0]):t.__location?t.__location.startOffset:t.range?t.range[0]:"number"==typeof t.start?t.start:t.loc?t.loc.start:null},Cr=function e(t){var n=t.nodes&&pr(t.nodes);if(n&&t.source&&!t.source.end&&(t=n),t.__location)return t.__location.endOffset;var r=t.range?t.range[1]:"number"==typeof t.end?t.end:null;return t.typeAnnotation?Math.max(r,e(t.typeAnnotation)):t.loc&&!r?t.loc.end:r},Ar=Object.getOwnPropertyNames,Fr=Object.getOwnPropertyDescriptor;function br(e){var t={},n=!0,r=!1,u=void 0;try{for(var a,i=e.plugins[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var o=a.value;if(o.parsers){var s=!0,l=!1,c=void 0;try{for(var p,f=Ar(o.parsers)[Symbol.iterator]();!(s=(p=f.next()).done);s=!0){var d=p.value;Object.defineProperty(t,d,Fr(o.parsers,d))}}catch(D){l=!0,c=D}finally{try{s||null==f.return||f.return()}finally{if(l)throw c}}}}}catch(D){r=!0,u=D}finally{try{n||null==i.return||i.return()}finally{if(r)throw u}}return t}function xr(e,t){if(t=t||br(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Er,locEnd:Cr};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new vr("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Sr={parse:function(e,t){var n=br(t),r=Object.keys(n).reduce((function(e,t){return Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t].parse}})}),{}),u=xr(t,n);try{return u.preprocess&&(e=u.preprocess(e,t)),{text:e,ast:u.parse(e,r,t)}}catch(i){var a=i.loc;if(a)throw i.codeFrame=yr.codeFrameColumns(e,a,{highlightCode:!0}),i.message+="\n"+i.codeFrame,i;throw i.stack}},resolveParser:xr},wr=ct.UndefinedParserError,Br=Gt,Tr=Sr.resolveParser,kr={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},Or=function(e,t){t=t||{};var n,r,u,a,i,o=Object.assign({},e),s=Br(null,{plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,l=s.reduce((function(e,t){return void 0!==t.default?Object.assign(e,p({},t.name,t.default)):e}),Object.assign({},kr));if(!o.parser)if(o.filepath){if(o.parser=(r=o.plugins,u=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var n=e.length;if(n<=1)return e;var r="";if(n>4&&"\\"===e[3]){var u=e[2];"?"!==u&&"."!==u||"\\\\"!==e.slice(0,2)||(e=e.slice(2),r="//")}var a=e.split(/[/\\]+/);return""===a[a.length-1]&&a.pop(),r+a.join("/")}(n=o.filepath).split("/"),a=u[u.length-1].toLowerCase(),(i=Br(null,{plugins:r}).languages.find((function(e){return null!==e.since&&(e.extensions&&e.extensions.some((function(e){return a.endsWith(e)}))||e.filenames&&e.filenames.find((function(e){return e.toLowerCase()===a}))||-1===a.indexOf(".")&&e.interpreters&&-1!==e.interpreters.indexOf(function(e){if("string"!=typeof e)return"";var t;try{t=st.openSync(e,"r")}catch(a){return""}try{var n=new lt(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];var u=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return u?u[1]:""}catch(a){return""}finally{try{st.closeSync(t)}catch(a){}}}(n)))})))&&i.parsers[0]),!o.parser)throw new wr("No parser could be inferred for file: ".concat(o.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),o.parser="babel";var c=Tr(cr(o,[s.find((function(e){return"parser"===e.name}))],{passThrough:!0,logger:!1}));o.astFormat=c.astFormat,o.locEnd=c.locEnd,o.locStart=c.locStart;var f=function(e){var t=e.astFormat;if(!t)throw new Error("getPlugin() requires astFormat to be set");var n=e.plugins.find((function(e){return e.printers&&e.printers[t]}));if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(o);o.printer=f.printers[o.astFormat];var d=s.filter((function(e){return e.pluginDefaults&&void 0!==e.pluginDefaults[f.name]})).reduce((function(e,t){return Object.assign(e,p({},t.name,t.pluginDefaults[f.name]))}),{}),D=Object.assign({},l,d);return Object.keys(D).forEach((function(e){null==o[e]&&(o[e]=D[e])})),"json"===o.parser&&(o.trailingComma="none"),cr(o,s,Object.assign({passThrough:Object.keys(kr)},t))};function Nr(){}function Pr(e){return{type:"concat",parts:e}}function Ir(e){return{type:"indent",contents:e}}function jr(e,t){return{type:"align",contents:t,n:e}}function Lr(e,t){return{type:"group",id:(t=t||{}).id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}Nr.ok=function(){},Nr.strictEqual=function(){};var _r={type:"break-parent"},Mr=Pr([{type:"line",hard:!0},_r]),Rr=Pr([{type:"line",hard:!0,literal:!0},_r]),qr={concat:Pr,join:function(e,t){for(var n=[],r=0;r0){for(var u=0;u<~]))"].join("|");return new RegExp(t,e.onlyFirst?void 0:"g")}(),""):e},Ur=Vr;Ur.default=Vr;var Wr=function(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},$r=Wr;$r.default=Wr;var Jr=function(e){if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=Ur(e);for(var t=0,n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=$r(r)?2:1)}return t},zr=Jr;zr.default=Jr;var Gr=/[^\x20-\x7F]/;function Xr(e){if(e)switch(e.type){case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}function Hr(e){return function(t,n,r){var u=r&&r.backwards;if(!1===n)return!1;for(var a=t.length,i=n;i>=0&&i"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((function(e,t){e.forEach((function(e){ou[e]=t}))}));var lu={"==":!0,"!=":!0,"===":!0,"!==":!0},cu={"*":!0,"/":!0,"%":!0},pu={">>":!0,">>>":!0,"<<":!0};function fu(e,t,n){for(var r=0,u=n=n||0;u(n.match(i.regex)||[]).length?i.quote:a.quote),o}function Du(e,t,n){var r='"'===t?"'":'"',u=e.replace(/\\([\s\S])|(['"])/g,(function(e,u,a){return u===r?u:a===t?"\\"+a:a||(n&&/^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(u)?u:"\\"+u)}));return t+u+t}function hu(e){return e&&e.comments&&e.comments.length>0&&e.comments.some((function(e){return"prettier-ignore"===e.value.trim()}))}function mu(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var gu,yu={replaceEndOfLineWith:function(e,t){var n=[],r=!0,u=!1,a=void 0;try{for(var i,o=e.split("\n")[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var s=i.value;0!==n.length&&n.push(t),n.push(s)}}catch(l){u=!0,a=l}finally{try{r||null==o.return||o.return()}finally{if(u)throw a}}return n},getStringWidth:function(e){return e?Gr.test(e)?zr(e):e.length:0},getMaxContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(un(t),")+"),"g"));return null===n?0:n.reduce((function(e,n){return Math.max(e,n.length/t.length)}),0)},getMinNotPresentContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(un(t),")+"),"g"));if(null===n)return 0;var r=new Map,u=0,a=!0,i=!1,o=void 0;try{for(var s,l=n[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value.length/t.length;r.set(c,!0),c>u&&(u=c)}}catch(f){i=!0,o=f}finally{try{a||null==l.return||l.return()}finally{if(i)throw o}}for(var p=1;p1?e[e.length-2]:null},getLast:pr,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:au,getNextNonSpaceNonCommentCharacterIndex:iu,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(iu(e,t,n))},skip:Hr,skipWhitespace:Yr,skipSpaces:Kr,skipToLineEnd:Qr,skipEverythingButNewLine:Zr,skipInlineComment:eu,skipTrailingComment:tu,skipNewline:nu,isNextLineEmptyAfterIndex:uu,isNextLineEmpty:function(e,t,n){return uu(e,n(t))},isPreviousLineEmpty:function(e,t,n){var r=n(t)-1;return r=nu(e,r=Kr(e,r,{backwards:!0}),{backwards:!0}),(r=Kr(e,r,{backwards:!0}))!==nu(e,r,{backwards:!0})},hasNewline:ru,hasNewlineInRange:function(e,t,n){for(var r=t;r0&&D(i),y()):g()}function g(){o>0&&h(o),y()}function y(){i=0,o=0}}function Bu(e){if(0===e.length)return 0;for(var t=0;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[ \t]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){var n=e[e.length-1].replace(/[ \t]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function Tu(e,t,n,r,u){for(var a=t.length,i=[e],o=[];n>=0;)if(0!==i.length){var s=i.pop(),l=s[0],c=s[1],p=s[2];if("string"==typeof p)o.push(p),n-=Eu(p);else switch(p.type){case"concat":for(var f=p.parts.length-1;f>=0;f--)i.push([l,c,p.parts[f]]);break;case"indent":i.push([xu(l,r),c,p.contents]);break;case"align":i.push([Su(l,p.n,r),c,p.contents]);break;case"trim":n+=Bu(o);break;case"group":if(u&&p.break)return!1;i.push([l,p.break?1:c,p.contents]),p.id&&(gu[p.id]=i[i.length-1][1]);break;case"fill":for(var d=p.parts.length-1;d>=0;d--)i.push([l,c,p.parts[d]]);break;case"if-break":var D=p.groupId?gu[p.groupId]:c;1===D&&p.breakContents&&i.push([l,c,p.breakContents]),2===D&&p.flatContents&&i.push([l,c,p.flatContents]);break;case"line":switch(c){case 2:if(!p.hard){p.soft||(o.push(" "),n-=1);break}return!0;case 1:return!0}}}else{if(0===a)return!0;i.push(t[a-1]),a--}return!1}var ku={};function Ou(e,t,n,r){for(var u=[e];0!==u.length;){var a=u.pop();if(a!==ku){var i=!0;if(t&&!1===t(a)&&(i=!1),n&&(u.push(a),u.push(ku)),i)if("concat"===a.type||"fill"===a.type)for(var o=a.parts.length-1;o>=0;--o)u.push(a.parts[o]);else if("if-break"===a.type)a.flatContents&&u.push(a.flatContents),a.breakContents&&u.push(a.breakContents);else if("group"===a.type&&a.expandedStates)if(r)for(var s=a.expandedStates.length-1;s>=0;--s)u.push(a.expandedStates[s]);else u.push(a.contents);else a.contents&&u.push(a.contents)}else n(u.pop())}}function Nu(e,t){if("concat"===e.type||"fill"===e.type){var n=e.parts.map((function(e){return Nu(e,t)}));return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){var r=e.breakContents&&Nu(e.breakContents,t),u=e.flatContents&&Nu(e.flatContents,t);return t(Object.assign({},e,{breakContents:r,flatContents:u}))}if(e.contents){var a=Nu(e.contents,t);return t(Object.assign({},e,{contents:a}))}return t(e)}function Pu(e,t,n){var r=n,u=!1;return Ou(e,(function(e){var n=t(e);if(void 0!==n&&(u=!0,r=n),u)return!1})),r}function Iu(e){return"string"!=typeof e&&("line"===e.type||void 0)}function ju(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function Lu(e){if(e.length>0){var t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function _u(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function Mu(e){if("concat"===e.type){for(var t=[],n=0;n=0;d--)a.push([c,p,f.parts[d]]);break;case"indent":a.push([xu(c,t),p,f.contents]);break;case"align":a.push([Su(c,f.n,t),p,f.contents]);break;case"trim":u-=Bu(i);break;case"group":switch(p){case 2:if(!o){a.push([c,f.break?1:2,f.contents]);break}case 1:o=!1;var D=[c,2,f.contents],h=n-u;if(!f.break&&Tu(D,a,h,t))a.push(D);else if(f.expandedStates){var m=f.expandedStates[f.expandedStates.length-1];if(f.break){a.push([c,1,m]);break}for(var g=1;g=f.expandedStates.length){a.push([c,1,m]);break}var y=[c,2,f.expandedStates[g]];if(Tu(y,a,h,t)){a.push(y);break}}}else a.push([c,1,f.contents])}f.id&&(gu[f.id]=a[a.length-1][1]);break;case"fill":var v=n-u,E=f.parts;if(0===E.length)break;var C=E[0],A=[c,2,C],F=[c,1,C],b=Tu(A,[],v,t,!0);if(1===E.length){a.push(b?A:F);break}var x=E[1],S=[c,2,x],w=[c,1,x];if(2===E.length){b?(a.push(S),a.push(A)):(a.push(w),a.push(F));break}E.splice(0,2);var B=[c,p,Fu(E)];Tu([c,2,Au([C,x,E[0]])],[],v,t,!0)?(a.push(B),a.push(S),a.push(A)):b?(a.push(B),a.push(w),a.push(A)):(a.push(B),a.push(w),a.push(F));break;case"if-break":var T=f.groupId?gu[f.groupId]:p;1===T&&f.breakContents&&a.push([c,p,f.breakContents]),2===T&&f.flatContents&&a.push([c,p,f.flatContents]);break;case"line-suffix":s.push([c,p,f.contents]);break;case"line-suffix-boundary":s.length>0&&a.push([c,p,{type:"line",hard:!0}]);break;case"line":switch(p){case 2:if(!f.hard){f.soft||(i.push(" "),u+=1);break}o=!0;case 1:if(s.length){a.push([c,p,f]),[].push.apply(a,s.reverse()),s=[];break}f.literal?c.root?(i.push(r,c.root.value),u=c.root.length):(i.push(r),u=0):(u-=Bu(i),i.push(r+c.value),u=c.length)}}}var k=i.indexOf(bu.placeholder);if(-1!==k){var O=i.indexOf(bu.placeholder,k+1),N=i.slice(0,k).join(""),P=i.slice(k+1,O).join("");return{formatted:N+P+i.slice(O+1).join(""),cursorNodeStart:N.length,cursorNodeText:P}}return{formatted:i.join("")}}},utils:{isEmpty:function(e){return"string"==typeof e&&0===e.length},willBreak:function(e){return Pu(e,ju,!1)},isLineNext:function(e){return Pu(e,Iu,!1)},traverseDoc:Ou,findInDoc:Pu,mapDoc:Nu,propagateBreaks:function(e){var t=new Set,n=[];Ou(e,(function(e){if("break-parent"===e.type&&Lu(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&n.pop().break&&Lu(n)}),!0)},removeLines:function(e){return Nu(e,_u)},stripTrailingHardline:function e(t){if("concat"===t.type&&0!==t.parts.length){var n=t.parts[t.parts.length-1];if("concat"===n.type)return 2===n.parts.length&&n.parts[0].hard&&"break-parent"===n.parts[1].type?{type:"concat",parts:t.parts.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(n))}}return t}},debug:{printDocToDebug:function(e){return Ru(Mu(e))}}},Vu={getMaxContinuousCount:yu.getMaxContinuousCount,getStringWidth:yu.getStringWidth,getAlignmentSize:yu.getAlignmentSize,getIndentSize:yu.getIndentSize,skip:yu.skip,skipWhitespace:yu.skipWhitespace,skipSpaces:yu.skipSpaces,skipNewline:yu.skipNewline,skipToLineEnd:yu.skipToLineEnd,skipEverythingButNewLine:yu.skipEverythingButNewLine,skipInlineComment:yu.skipInlineComment,skipTrailingComment:yu.skipTrailingComment,hasNewline:yu.hasNewline,hasNewlineInRange:yu.hasNewlineInRange,hasSpaces:yu.hasSpaces,isNextLineEmpty:function(e,t,n){return yu.isNextLineEmpty(e,t,n.locEnd)},isNextLineEmptyAfterIndex:yu.isNextLineEmptyAfterIndex,isPreviousLineEmpty:function(e,t,n){return yu.isPreviousLineEmpty(e,t,n.locStart)},getNextNonSpaceNonCommentCharacterIndex:function(e,t,n){return yu.getNextNonSpaceNonCommentCharacterIndex(e,t,n.locEnd)},mapDoc:qu.utils.mapDoc,makeString:yu.makeString,addLeadingComment:yu.addLeadingComment,addDanglingComment:yu.addDanglingComment,addTrailingComment:yu.addTrailingComment},Uu=qu.builders,Wu=Uu.concat,$u=Uu.hardline,Ju=Uu.breakParent,zu=Uu.indent,Gu=Uu.lineSuffix,Xu=Uu.join,Hu=Uu.cursor,Yu=yu.hasNewline,Ku=yu.skipNewline,Qu=yu.isPreviousLineEmpty,Zu=Vu.addLeadingComment,ea=Vu.addDanglingComment,ta=Vu.addTrailingComment,na=Symbol("child-nodes");function ra(e,t,n){if(e){var r,u=t.printer,a=t.locStart,i=t.locEnd;if(n){if(e&&u.canAttachComment&&u.canAttachComment(e)){var s;for(s=n.length-1;s>=0&&!(a(n[s])<=a(e)&&i(n[s])<=i(e));--s);return void n.splice(s+1,0,e)}}else if(e[na])return e[na];if(u.getCommentChildNodes?r=u.getCommentChildNodes(e):e&&"object"===o(e)&&(r=Object.keys(e).filter((function(e){return"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e})).map((function(t){return e[t]}))),r)return n||Object.defineProperty(e,na,{value:n=[],enumerable:!1}),r.forEach((function(e){ra(e,t,n)})),n}}function ua(e,t,n){var r=e.length;if(0!==r){var u,a=e[0],i=a.precedingNode,o=a.followingNode,s=n.locStart(o);for(u=r;u>0;--u){var l=e[u-1];Nr.strictEqual(l.precedingNode,i),Nr.strictEqual(l.followingNode,o);var c=t.slice(n.locEnd(l),s);if(!/^[\s(]*$/.test(c))break;s=n.locStart(l)}e.forEach((function(e,t){t=0)return void ta(t,o)}!function e(t,n,r){for(var u,a,i=r.locStart,o=r.locEnd,s=ra(t,r),l=0,c=s.length;l>1,f=s[p];if(i(f)-i(n)<=0&&o(n)-o(f)<=0)return n.enclosingNode=f,void e(f,n,r);if(o(f)-i(n)<=0)u=f,l=p+1;else{if(!(o(n)-i(f)<=0))throw new Error("Comment location overlaps with node location");a=f,c=p}}if(n.enclosingNode&&"TemplateLiteral"===n.enclosingNode.type){var d=n.enclosingNode.quasis,D=ia(d,n,r);u&&ia(d,u,r)!==D&&(u=null),a&&ia(d,a,r)!==D&&(a=null)}u&&(n.precedingNode=u),a&&(n.followingNode=a)}(t,o,r);var l=o.precedingNode,c=o.enclosingNode,p=o.followingNode,f=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:function(){return!1},d=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:function(){return!1},D=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:function(){return!1},h=e.length-1===s;if(Yu(n,a(o),{backwards:!0}))f(o,n,r,t,h)||(p?Zu(p,o):l?ta(l,o):ea(c||t,o));else if(Yu(n,i(o)))d(o,n,r,t,h)||(l?ta(l,o):p?Zu(p,o):ea(c||t,o));else if(D(o,n,r,t,h));else if(l&&p){var m=u.length;m>0&&u[m-1].followingNode!==o.followingNode&&ua(u,n,r),u.push(o)}else l?ta(l,o):p?Zu(p,o):ea(c||t,o)})),ua(u,n,r),e.forEach((function(e){delete e.precedingNode,delete e.enclosingNode,delete e.followingNode}))}},printComments:function(e,t,n,r){var u=e.getValue(),a=t(e),i=u&&u.comments;if(!i||0===i.length)return oa(e,n,a);var o=[],s=[r?";":"",a];return e.each((function(e){var t=e.getValue(),r=t.trailing;if(t.leading){var u=function(e,t,n){var r=e.getValue(),u=aa(e,n);if(!u)return"";var a=n.printer.isBlockComment&&n.printer.isBlockComment(r);return Wu(a?[u,Yu(n.originalText,n.locEnd(r))?$u:" "]:[u,$u])}(e,0,n);if(!u)return;o.push(u);var a=n.originalText,i=Ku(a,n.locEnd(t));!1!==i&&Yu(a,i)&&o.push($u)}else r&&s.push(function(e,t,n){var r=e.getValue(),u=aa(e,n);if(!u)return"";var a=n.printer.isBlockComment&&n.printer.isBlockComment(r),i=e.getNode(1),o=e.getNode(2),s=o&&("ClassDeclaration"===o.type||"ClassExpression"===o.type)&&o.superClass===i;if(Yu(n.originalText,n.locStart(r),{backwards:!0})){var l=Qu(n.originalText,r,n.locStart);return Gu(Wu([$u,l?$u:"",u]))}return Wu(a||s?[" ",u]:[Gu(Wu([" ",u])),a?"":Ju])}(e,0,n))}),"comments"),oa(e,n,Wu(o.concat(s)))},printDanglingComments:function(e,t,n,r){var u=[],a=e.getValue();return a&&a.comments?(e.each((function(e){var n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||u.push(aa(e,t))}),"comments"),0===u.length?"":n?Xu($u,u):zu(Wu([$u,Xu($u,u)]))):""},getSortedChildNodes:ra};function la(e){Nr.ok(this instanceof la),this.stack=[e]}function ca(e,t){var n=pa(e.stack,t);return-1===n?null:e.stack[n]}function pa(e,t){for(var n=e.length-1;n>=0;n-=2){var r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}la.prototype.getName=function(){var e=this.stack,t=e.length;return t>1?e[t-2]:null},la.prototype.getValue=function(){var e=this.stack;return e[e.length-1]},la.prototype.getNode=function(e){return ca(this,~~e)},la.prototype.getParentNode=function(e){return ca(this,1+~~e)},la.prototype.call=function(e){for(var t=this.stack,n=t.length,r=t[n-1],u=arguments.length,a=1;a2&&void 0!==arguments[2]?arguments[2]:0,r=t.printer;r.preprocess&&(e=r.preprocess(e,t));var u=new Map;function a(e,n){var i,s=e.getValue(),l=s&&"object"===o(s)&&void 0===n;return l&&u.has(s)?u.get(s):(i=r.willPrintOwnComments&&r.willPrintOwnComments(e,t)?Ea(e,t,a,n):sa.printComments(e,(function(e){return Ea(e,t,a,n)}),t,n&&n.needsSemi),l&&u.set(s,i),i)}var i=a(new fa(e));return n>0&&(i=ga(ha([ma,i]),n,t.tabWidth)),ya.propagateBreaks(i),i}function Ea(e,t,n,r){Nr.ok(e instanceof fa);var u=e.getValue(),a=t.printer;if(a.hasPrettierIgnore&&a.hasPrettierIgnore(e))return t.originalText.slice(t.locStart(u),t.locEnd(u));if(u)try{var i=function(e,t,n,r){if(n.printer.embed)return n.printer.embed(e,t,(function(e,t){return function(e,t,n,r){var u=da(Object.assign({},n,t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),a=Sr.parse(e,u),i=a.ast;e=a.text;var o=i.comments;return delete i.comments,sa.attach(o,i,e,u),r(i,u)}(e,t,n,r)}),n)}(e,n,t,va);if(i)return i}catch(o){if(ut.PRETTIER_DEBUG)throw o}return a.print(e,t,n,r)}var Ca=va;function Aa(e,t,n,r,u){r=r||function(){return!0},u=u||[];var a=n.locStart(e,n.locStart),i=n.locEnd(e,n.locEnd);if(a<=t&&t<=i){var o=!0,s=!1,l=void 0;try{for(var c,p=sa.getSortedChildNodes(e,n)[Symbol.iterator]();!(o=(c=p.next()).done);o=!0){var f=Aa(c.value,t,n,r,[e].concat(u));if(f)return f}}catch(d){s=!0,l=d}finally{try{o||null==p.return||p.return()}finally{if(s)throw l}}if(r(e))return{node:e,parentNodes:u}}}function Fa(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"typescript":return["FunctionDeclaration","BlockStatement","BreakStatement","ContinueStatement","DebuggerStatement","DoWhileStatement","EmptyStatement","ExpressionStatement","ForInStatement","ForStatement","IfStatement","LabeledStatement","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","VariableDeclaration","WhileStatement","WithStatement","ClassDeclaration","ImportDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","TypeAlias","InterfaceDeclaration","TypeAliasDeclaration","ExportAssignment","ExportDeclaration"].indexOf(t.type)>-1;case"json":return["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"].indexOf(t.type)>-1;case"graphql":return["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"].indexOf(t.kind)>-1;case"vue":return"root"!==t.tag}return!1}var ba={calculateRange:function(e,t,n){var r,u=e.slice(t.rangeStart,t.rangeEnd),a=Math.max(t.rangeStart+u.search(/\S/),t.rangeStart);for(r=t.rangeEnd;r>t.rangeStart&&!e[r-1].match(/\S/);--r);var i=Aa(n,a,t,(function(e){return Fa(t,e)})),o=Aa(n,r,t,(function(e){return Fa(t,e)}));if(!i||!o)return{rangeStart:0,rangeEnd:0};var s=function(e,t,n){var r=e.node,u=t.node;if(r===u)return{startNode:r,endNode:u};var a=!0,i=!1,o=void 0;try{for(var s,l=t.parentNodes[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;if(!("Program"!==c.type&&"File"!==c.type&&n.locStart(c)>=n.locStart(e.node)))break;u=c}}catch(g){i=!0,o=g}finally{try{a||null==l.return||l.return()}finally{if(i)throw o}}var p=!0,f=!1,d=void 0;try{for(var D,h=e.parentNodes[Symbol.iterator]();!(p=(D=h.next()).done);p=!0){var m=D.value;if(!("Program"!==m.type&&"File"!==m.type&&n.locEnd(m)<=n.locEnd(t.node)))break;r=m}}catch(g){f=!0,d=g}finally{try{p||null==h.return||h.return()}finally{if(f)throw d}}return{startNode:r,endNode:u}}(i,o,t),l=s.startNode,c=s.endNode;return{rangeStart:Math.min(t.locStart(l,t.locStart),t.locStart(c,t.locStart)),rangeEnd:Math.max(t.locEnd(l,t.locEnd),t.locEnd(c,t.locEnd))}},findNodeAtOffset:Aa},xa=ot(oe),Sa=Or,wa=vu,Ba=qu.utils.mapDoc,Ta=qu.printer.printDocToString,ka=qu.debug.printDocToDebug,Oa=Symbol("cursor"),Na={cursorOffset:"<<>>",rangeStart:"<<>>",rangeEnd:"<<>>"};function Pa(e,t,n){var r=t.comments;return r&&(delete t.comments,sa.attach(r,t,e,n)),t.tokens=[],n.originalText="yaml"===n.parser?e:e.trimRight(),r}function Ia(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:0};n=n||0;var r=Sr.parse(e,t),u=r.ast;if(e=r.text,t.cursorOffset>=0){var a=ba.findNodeAtOffset(u,t.cursorOffset,t);a&&a.node&&(t.cursorNode=a.node)}var i=Pa(e,u,t),o=Ca(u,t,n),s=wa(t.endOfLine),l=Ta("lf"===t.endOfLine?o:Ba(o,(function(e){return"string"==typeof e&&-1!==e.indexOf("\n")?e.replace(/\n/g,s):e})),t);if(function(e){if(e){for(var t=0;t0){var c=l.formatted.trim();void 0!==l.cursorNodeStart&&(l.cursorNodeStart-=l.formatted.indexOf(c)),l.formatted=c+wa(t.endOfLine)}if(t.cursorOffset>=0){var p,f,d,D,h;if(t.cursorNode&&l.cursorNodeText?(p=t.locStart(t.cursorNode),f=e.slice(p,t.locEnd(t.cursorNode)),d=t.cursorOffset-p,D=l.cursorNodeStart,h=l.cursorNodeText):(p=0,f=e,d=t.cursorOffset,D=0,h=l.formatted),f===h)return{formatted:l.formatted,cursorOffset:D+d};var m=f.split("");m.splice(d,0,Oa);var g=h.split(""),y=xa.diffArrays(m,g),v=D,E=!0,C=!1,A=void 0;try{for(var F,b=y[Symbol.iterator]();!(E=(F=b.next()).done);E=!0){var x=F.value;if(x.removed){if(x.value.indexOf(Oa)>-1)break}else v+=x.count}}catch(S){C=!0,A=S}finally{try{E||null==b.return||b.return()}finally{if(C)throw A}}return{formatted:l.formatted,cursorOffset:v}}return{formatted:l.formatted}}function ja(e,t){var n=Sr.resolveParser(t),r=!n.hasPragma||n.hasPragma(e);if(t.requirePragma&&!r)return{formatted:e};"auto"===t.endOfLine&&(t.endOfLine=function(e){var t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}(e));var u=t.cursorOffset>=0,a=t.rangeStart>0,i=t.rangeEnd=0;s--){var l=o[s];e=e.slice(0,t[l])+Na[l]+e.slice(t[l])}e=e.replace(/\r\n?/g,"\n");for(var c=function(n){var r=o[n];e=e.replace(Na[r],(function(e,n){return t[r]=n,""}))},p=0;pe.length&&(t.rangeEnd=e.length);var d=a||i?function(e,t){var n,r=Sr.parse(e,t),u=ba.calculateRange(e=r.text,t,r.ast),a=u.rangeStart,i=u.rangeEnd,o=e.slice(a,i),s=Math.min(a,e.lastIndexOf("\n",a)+1),l=e.slice(s,a),c=yu.getAlignmentSize(l,t.tabWidth),p=Ia(o,Object.assign({},t,{rangeStart:0,rangeEnd:1/0,cursorOffset:t.cursorOffset>=a&&t.cursorOffset=i?h=t.cursorOffset-i+(a+f.length):void 0!==p.cursorOffset&&(h=p.cursorOffset+a),"lf"===t.endOfLine)n=d+f+D;else{var m=wa(t.endOfLine);if(h>=0){for(var g=[d,f,D],y=0,v=h;yt.length-n?"\r\n":"\n"},e.exports.graceful=function(t){return e.exports(t)||"\n"}})),$a=it((function(e,t){function n(){var e=mn;return n=function(){return e},e}function r(){var e,t=(e=Wa)&&e.__esModule?e:{default:e};return r=function(){return t},t}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){var t=e.match(i);return t?t[0].trimLeft():""},t.strip=function(e){var t=e.match(i);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return f(e).pragmas},t.parseWithComments=f,t.print=function(e){var t=e.comments,u=void 0===t?"":t,a=e.pragmas,i=void 0===a?{}:a,o=(0,r().default)(u)||n().EOL,s=Object.keys(i),l=s.map((function(e){return d(e,i[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return" * "+e+o})).join("");if(!u){if(0===s.length)return"";if(1===s.length&&!Array.isArray(i[s[0]])){var c=i[s[0]];return"".concat("/**"," ").concat(d(s[0],c)[0]).concat(" */")}}var p=u.split(o).map((function(e){return"".concat(" *"," ").concat(e)})).join(o)+o;return"/**"+o+(u?p:"")+(u&&s.length?" *"+o:"")+l+" */"};var u=/\*\/$/,a=/^\/\*\*/,i=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g;function f(e){var t=(0,r().default)(e)||n().EOL;e=e.replace(a,"").replace(u,"").replace(p,"$1");for(var i="";i!==e;)i=e,e=e.replace(l,"".concat(t,"$1 $2").concat(t));e=e.replace(s,"").trimRight();for(var f,d=Object.create(null),D=e.replace(c,"").replace(s,"").trimRight();f=c.exec(e);){var h=f[2].replace(o,"");d[f[1]]="string"==typeof d[f[1]]||Array.isArray(d[f[1]])?[].concat(d[f[1]],h):h}return{comments:D,pragmas:d}}function d(e,t){return[].concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}}));at($a);var Ja=function(e){var t=$a.parseWithComments($a.extract(e)),n=Object.assign({format:""},t.pragmas),r=$a.print({pragmas:n,comments:t.comments.replace(/^(\s+?\r?\n)+/,"")}).replace(/(\r\n|\r)/g,"\n"),u=$a.strip(e);return r+(u.startsWith("\n")?"\n":"\n\n")+u},za={"---":"yaml","+++":"toml"},Ga=function(e){var t=Object.keys(za).map(un).join("|"),n=e.match(new RegExp("^(".concat(t,")[^\\n\\S]*\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};var r=n[0].replace(/\n$/,"");return{frontMatter:{type:za[n[1]],value:n[2],raw:r},content:n[0].replace(/[^\n]/g," ")+e.slice(n[0].length)}},Xa=["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"];function Ha(e,t){var n=function(e,t){for(var n,r=[].concat(t),u=-1;n=e.getParentNode(++u);)if(-1!==r.indexOf(n.type))return u;return-1}(e,t);return-1===n?null:e.getParentNode(n)}function Ya(e){return"value-operator"===e.type&&"*"===e.value}function Ka(e){return"value-operator"===e.type&&"/"===e.value}function Qa(e){return"value-operator"===e.type&&"+"===e.value}function Za(e){return"value-operator"===e.type&&"-"===e.value}function ei(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function ti(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&ei(e.groups[0])}var ni=yu.printNumber,ri=yu.printString,ui=yu.hasIgnoreComment,ai=yu.hasNewline,ii=Vu.isNextLineEmpty,oi=qu.builders,si=oi.concat,li=oi.join,ci=oi.line,pi=oi.hardline,fi=oi.softline,di=oi.group,Di=oi.fill,hi=oi.indent,mi=oi.dedent,gi=oi.ifBreak,yi=qu.utils.removeLines,vi=Ha,Ei=function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},Ci=function(e,t){var n=Ha(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},Ai=function(e){var t=Ha(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},Fi=function(e,t){var n=[].concat(t),r=Ha(e,"css-atrule");return r&&-1!==n.indexOf(r.name.toLowerCase())},bi=function(e,t){var n=Ha(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&-1!==["from","to"].indexOf(t.toLowerCase())},xi=function(e){return-1!==La.indexOf(e.toLowerCase())},Si=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(\w\s*: [^}:]+|#){|@import[^\n]+(url|,)/.test(t)},wi=function(e,t){var n=e.getParentNode();if(!n)return!1;var r=n.nodes;return r&&r.indexOf(t)===r.length-1},Bi=function(e){return"css-atrule"===e.type&&-1!==["if","else","for","each","while"].indexOf(e.name)},Ti=function(e){return!!e.selector&&("string"==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},ki=function(e){return"value-word"===e.type&&-1!==["<",">","<=",">="].indexOf(e.value)},Oi=function(e){return"value-word"===e.type&&-1!==["==","!="].indexOf(e.value)},Ni=Ya,Pi=Ka,Ii=Qa,ji=Za,Li=function(e){return Ya(e)||Ka(e)||Qa(e)||Za(e)||function(e){return"value-operator"===e.type&&"%"===e.value}(e)},_i=function(e){return"value-word"===e.type&&"in"===e.value},Mi=function(e){return"value-word"===e.type&&-1!==["from","through","end"].indexOf(e.value)},Ri=function(e){return"value-word"===e.type&&-1!==["and","or","not"].indexOf(e.value)},qi=function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},Vi=function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},Ui=function(e){return e.raws&&""===e.raws.before},Wi=ei,$i=function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},Ji=function(e){return e.name.startsWith("prettier-placeholder")},zi=function(e){return e.prop.startsWith("@prettier-placeholder")},Gi=function(e){return"value-comment"===e.type&&e.inline},Xi=function(e){return"value-word"===e.type&&"#"===e.value},Hi=function(e){return"value-word"===e.type&&"{"===e.value},Yi=function(e){return"value-word"===e.type&&"}"===e.value},Ki=function(e){return-1!==["value-word","value-atword"].indexOf(e.type)},Qi=function(e){return"value-colon"===e.type},Zi=function(e){return e.value&&-1!==["not","and","or"].indexOf(e.value.toLowerCase())},eo=function(e){return"value-func"===e.type&&-1!==Xa.indexOf(e.value.toLowerCase())};function to(e){switch(e.trailingComma){case"all":case"es5":return!0;case"none":default:return!1}}function no(e,t,n){var r=e.getValue(),u=[],a=0;return e.map((function(e){var i=r.nodes[a-1];if(i&&"css-comment"===i.type&&"prettier-ignore"===i.text.trim()){var o=e.getValue();u.push(t.originalText.slice(t.locStart(o),t.locEnd(o)))}else u.push(e.call(n));a!==r.nodes.length-1&&("css-comment"===r.nodes[a+1].type&&!ai(t.originalText,t.locStart(r.nodes[a+1]),{backwards:!0})&&"yaml"!==r.nodes[a].type&&"toml"!==r.nodes[a].type||"css-atrule"===r.nodes[a+1].type&&"else"===r.nodes[a+1].name&&"css-comment"!==r.nodes[a].type?u.push(" "):(u.push(pi),ii(t.originalText,e.getValue(),t)&&"yaml"!==r.nodes[a].type&&"toml"!==r.nodes[a].type&&u.push(pi))),a++}),"nodes"),si(u)}var ro=/(['"])(?:(?!\1)[^\\]|\\[\s\S])*\1/g,uo=RegExp(ro.source+"|"+"(".concat(/[$@]?[a-zA-Z_\u0080-\uFFFF][\w\-\u0080-\uFFFF]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?/g.source,")")+"(".concat(/[a-zA-Z]+/g.source,")?"),"g");function ao(e,t){return e.replace(ro,(function(e){return ri(e,t)}))}function io(e,t){var n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function oo(e){return e.replace(uo,(function(e,t,n,r,u){return!n&&r?(n||"")+so(r)+Ei(u||""):e}))}function so(e){return ni(e).replace(/\.0(?=$|e)/,"")}var lo={print:function(e,t,n){var r,u,a=e.getValue();if(!a)return"";if("string"==typeof a)return a;switch(a.type){case"yaml":case"toml":return si([a.raw,pi]);case"css-root":var i=no(e,t,n);return i.parts.length?si([i,pi]):i;case"css-comment":if(a.raws.content)return a.raws.content;var o=t.originalText.slice(t.locStart(a),t.locEnd(a)),s=a.raws.text||a.text;return-1===o.indexOf(s)?si(a.raws.inline?["// ",s]:["/* ",s," */"]):o;case"css-rule":return si([e.call(n,"selector"),a.important?" !important":"",a.nodes?si([" {",a.nodes.length>0?hi(si([pi,no(e,t,n)])):"",pi,"}",Ti(a)?";":""]):";"]);case"css-decl":var l=e.getParentNode();return si([a.raws.before.replace(/[\s;]/g,""),Ai(e)?a.prop:Ei(a.prop),":"===a.raws.between.trim()?":":a.raws.between.trim(),a.extend?"":" ",qi(a)?yi(e.call(n,"value")):e.call(n,"value"),a.raws.important?a.raws.important.replace(/\s*!\s*important/i," !important"):a.important?" !important":"",a.raws.scssDefault?a.raws.scssDefault.replace(/\s*!default/i," !default"):a.scssDefault?" !default":"",a.raws.scssGlobal?a.raws.scssGlobal.replace(/\s*!global/i," !global"):a.scssGlobal?" !global":"",a.nodes?si([" {",hi(si([fi,no(e,t,n)])),fi,"}"]):zi(a)&&!l.raws.semicolon&&";"!==t.originalText[t.locEnd(a)-1]?"":";"]);case"css-atrule":var c=e.getParentNode();return si(["@",$i(a)||a.name.endsWith(":")?a.name:Ei(a.name),a.params?si([$i(a)?"":Ji(a)&&/^\s*\n/.test(a.raws.afterName)?/^\s*\n\s*\n/.test(a.raws.afterName)?si([pi,pi]):pi:" ",e.call(n,"params")]):"",a.selector?hi(si([" ",e.call(n,"selector")])):"",a.value?di(si([" ",e.call(n,"value"),Bi(a)?Vi(a)?" ":ci:""])):"else"===a.name?" ":"",a.nodes?si([Bi(a)?"":" ","{",hi(si([a.nodes.length>0?fi:"",no(e,t,n)])),fi,"}"]):Ji(a)&&!c.raws.semicolon&&";"!==t.originalText[t.locEnd(a)-1]?"":";"]);case"media-query-list":var p=[];return e.each((function(e){var t=e.getValue();"media-query"===t.type&&""===t.value||p.push(e.call(n))}),"nodes"),di(hi(li(ci,p)));case"media-query":return si([li(" ",e.map(n,"nodes")),wi(e,a)?"":","]);case"media-type":return oo(ao(a.value,t));case"media-feature-expression":return a.nodes?si(["(",si(e.map(n,"nodes")),")"]):a.value;case"media-feature":return Ei(ao(a.value.replace(/ +/g," "),t));case"media-colon":return si([a.value," "]);case"media-value":return oo(ao(a.value,t));case"media-keyword":return ao(a.value,t);case"media-url":return ao(a.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return a.value;case"selector-root":return di(si([Fi(e,"custom-selector")?si([vi(e,"css-atrule").customSelector,ci]):"",li(si([",",Fi(e,["extend","custom-selector","nest"])?ci:pi]),e.map(n,"nodes"))]));case"selector-selector":return di(hi(si(e.map(n,"nodes"))));case"selector-comment":return a.value;case"selector-string":return ao(a.value,t);case"selector-tag":var f=e.getParentNode(),d=f&&f.nodes.indexOf(a),D=d&&f.nodes[d-1];return si([a.namespace?si([!0===a.namespace?"":a.namespace.trim(),"|"]):"","selector-nesting"===D.type?a.value:oo(xi(a.value)||bi(e,a.value)?a.value.toLowerCase():a.value)]);case"selector-id":return si(["#",a.value]);case"selector-class":return si([".",oo(ao(a.value,t))]);case"selector-attribute":return si(["[",a.namespace?si([!0===a.namespace?"":a.namespace.trim(),"|"]):"",a.attribute.trim(),a.operator?a.operator:"",a.value?io(ao(a.value.trim(),t),t):"",a.insensitive?" i":"","]"]);case"selector-combinator":if("+"===a.value||">"===a.value||"~"===a.value||">>>"===a.value){var h=e.getParentNode();return si(["selector-selector"===h.type&&h.nodes[0]===a?"":ci,a.value,wi(e,a)?"":" "])}var m=a.value.trim().startsWith("(")?ci:"",g=oo(ao(a.value.trim(),t))||ci;return si([m,g]);case"selector-universal":return si([a.namespace?si([!0===a.namespace?"":a.namespace.trim(),"|"]):"",a.value]);case"selector-pseudo":return si([Ei(a.value),a.nodes&&a.nodes.length>0?si(["(",li(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return a.value;case"selector-unknown":var y=vi(e,"css-rule");return y&&y.isSCSSNesterProperty?oo(ao(Ei(a.value),t)):a.value;case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return si([a.inline?"//":"/*",a.value,a.inline?"":"*/"]);case"value-comma_group":for(var v=e.getParentNode(),E=e.getParentNode(1),C=function(e){var t=Ha(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()}(e),A=C&&"value-value"===v.type&&("grid"===C||C.startsWith("grid-template")),F=vi(e,"css-atrule"),b=F&&Bi(F),x=e.map(n,"groups"),S=[],w=Ci(e,"url"),B=!1,T=!1,k=0;k0&&"value-comma_group"===a.groups[0].type&&a.groups[0].groups.length>0&&"value-word"===a.groups[0].groups[0].type&&a.groups[0].groups[0].value.startsWith("data:")))return si([a.open?e.call(n,"open"):"",li(",",e.map(n,"groups")),a.close?e.call(n,"close"):""]);if(!a.open){for(var W=e.map(n,"groups"),$=[],J=0;J0?Po(Bo(["(",Io(Bo([No,To(Bo([jo("",", "),No]),e.call((function(e){return Mo(e,t,n)}),"arguments"))])),No,")"])):"",_o(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return Bo(r.block?['"""',ko,To(ko,r.value.replace(/"""/g,"\\$&").split("\n")),ko,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return Bo(["$",e.call(n,"name")]);case"ListValue":return Po(Bo(["[",Io(Bo([No,To(Bo([jo("",", "),No]),e.map(n,"values"))])),No,"]"]));case"ObjectValue":return Po(Bo(["{",t.bracketSpacing&&r.fields.length>0?" ":"",Io(Bo([No,To(Bo([jo("",", "),No]),e.map(n,"fields"))])),No,jo("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return Bo([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return Bo(["@",e.call(n,"name"),r.arguments.length>0?Po(Bo(["(",Io(Bo([No,To(Bo([jo("",", "),No]),e.call((function(e){return Mo(e,t,n)}),"arguments"))])),No,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return Bo([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?Bo([" = ",e.call(n,"defaultValue")]):"",_o(e,n,r)]);case"TypeExtensionDefinition":return Bo(["extend ",e.call(n,"definition")]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return Bo([e.call(n,"description"),r.description?ko:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?Bo([" implements ",To(Ro(t.originalText.substr(t.locStart(r),t.locEnd(r))),e.map(n,"interfaces"))]):"",_o(e,n,r),r.fields.length>0?Bo([" {",Io(Bo([ko,To(ko,e.call((function(e){return Mo(e,t,n)}),"fields"))])),ko,"}"]):""]);case"FieldDefinition":return Bo([e.call(n,"description"),r.description?ko:"",e.call(n,"name"),r.arguments.length>0?Po(Bo(["(",Io(Bo([No,To(Bo([jo("",", "),No]),e.call((function(e){return Mo(e,t,n)}),"arguments"))])),No,")"])):"",": ",e.call(n,"type"),_o(e,n,r)]);case"DirectiveDefinition":return Bo([e.call(n,"description"),r.description?ko:"","directive ","@",e.call(n,"name"),r.arguments.length>0?Po(Bo(["(",Io(Bo([No,To(Bo([jo("",", "),No]),e.call((function(e){return Mo(e,t,n)}),"arguments"))])),No,")"])):"",Bo([" on ",To(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return Bo([e.call(n,"description"),r.description?ko:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),_o(e,n,r),r.values.length>0?Bo([" {",Io(Bo([ko,To(ko,e.call((function(e){return Mo(e,t,n)}),"values"))])),ko,"}"]):""]);case"EnumValueDefinition":return Bo([e.call(n,"description"),r.description?ko:"",e.call(n,"name"),_o(e,n,r)]);case"InputValueDefinition":return Bo([e.call(n,"description"),r.description?r.description.block?ko:Oo:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?Bo([" = ",e.call(n,"defaultValue")]):"",_o(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return Bo([e.call(n,"description"),r.description?ko:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),_o(e,n,r),r.fields.length>0?Bo([" {",Io(Bo([ko,To(ko,e.call((function(e){return Mo(e,t,n)}),"fields"))])),ko,"}"]):""]);case"SchemaDefinition":return Bo(["schema",_o(e,n,r)," {",r.operationTypes.length>0?Io(Bo([ko,To(ko,e.call((function(e){return Mo(e,t,n)}),"operationTypes"))])):"",ko,"}"]);case"OperationTypeDefinition":return Bo([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return Bo([e.call(n,"description"),r.description?ko:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),_o(e,n,r),r.fields.length>0?Bo([" {",Io(Bo([ko,To(ko,e.call((function(e){return Mo(e,t,n)}),"fields"))])),ko,"}"]):""]);case"FragmentSpread":return Bo(["...",e.call(n,"name"),_o(e,n,r)]);case"InlineFragment":return Bo(["...",r.typeCondition?Bo([" on ",e.call(n,"typeCondition")]):"",_o(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return Po(Bo([e.call(n,"description"),r.description?ko:"",Po(Bo(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),_o(e,n,r),r.types.length>0?Bo([" =",jo(""," "),Io(Bo([jo(Bo([Oo," "])),To(Bo([Oo,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return Bo([e.call(n,"description"),r.description?ko:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),_o(e,n,r)]);case"NonNullType":return Bo([e.call(n,"type"),"!"]);case"ListType":return Bo(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:function(e,t){delete t.loc,delete t.comments},hasPrettierIgnore:yu.hasIgnoreComment,insertPragma:function(e){return"# @format\n\n"+e},printComment:function(e){var t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimRight();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},Vo={bracketSpacing:co.bracketSpacing},Uo=[".graphql",".gql",".graphqls"],Wo={languages:[fo(ot(Object.freeze({__proto__:null,name:"GraphQL",type:"data",extensions:Uo,tmScope:"source.graphql",aceMode:"text",languageId:139,default:{name:"GraphQL",type:"data",extensions:Uo,tmScope:"source.graphql",aceMode:"text",languageId:139}})),(function(e){return Object.assign(e,{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})}))],options:Vo,printers:{graphql:qo}},$o=qu.builders,Jo=$o.concat,zo=$o.join,Go=$o.softline,Xo=$o.hardline,Ho=$o.line,Yo=$o.group,Ko=$o.indent,Qo=$o.ifBreak,Zo=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function es(e,t,n){return Jo(e.map((function(r,u){var a=e.getValue(),i=0===u,o=u==e.getParentNode(0).children.length-1&&!i;return ss(a)&&o?n(r,t,n):i?Jo([Go,n(r,t,n)]):n(r,t,n)}),"children"))}function ts(e,t){var n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},u=t.singleQuote?r:n,a=u===r?n:r,i=!1;(e.includes(u.quote)||e.includes(a.quote))&&(i=(e.match(u.regex)||[]).length>(e.match(a.regex)||[]).length);var o=i?a:u,s=e.replace(o.regex,"\\".concat(o.quote));return"".concat(o.quote).concat(s).concat(o.quote)}function ns(e,t){return e.call(t,"path")}function rs(e,t){var n=e.getValue(),r=[];return n.params.length>0&&(r=r.concat(e.map(t,"params"))),n.hash&&n.hash.pairs.length>0&&r.push(e.call(t,"hash")),r}function us(e,t,n){var r=[];return n=Object.assign({group:!0},n||{}),r.push(ns(e,t)),r=r.concat(rs(e,t)),Ko(n.group?Yo(zo(Ho,r)):zo(Ho,r))}function as(e){var t=e.getValue();return t.program&&t.program.blockParams.length?Jo([" as |",t.program.blockParams.join(" "),"|"]):""}function is(e,t){return Yo(Jo(["{{#",us(e,t),as(e),Go,"}}"]))}function os(e,t){return Jo(["{{/",e.call(t,"path"),"}}"])}function ss(e){return"TextNode"===e.type&&!/\S/.test(e.chars)}function ls(e){var t=e.getValue(),n=e.getParentNode(0),r=n.children||n.body;if(r){var u=r.indexOf(t);if(u>0)return r[u-1]}}function cs(e){var t=e.getValue(),n=e.getParentNode(0),r=n.children||n.body;if(r){var u=r.indexOf(t);if(u0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Array(Math.min(e,t)).fill(Xo)}var hs={print:function(e,t,n){var r=e.getValue();if(!r)return"";switch(r.type){case"Block":case"Program":case"Template":return Yo(Jo(e.map(n,"body").filter((function(e){return""!==e}))));case"ElementNode":var u=r.tag[0],a=-1!==r.tag.indexOf("."),i=u.toUpperCase()===u||a,o=r.children.length>0,s=r.children.some((function(e){return!ss(e)})),l=i&&(!o||!s)||-1!==Zo.indexOf(r.tag),c=l?Jo([" />",Go]):">",p=l?"/>":">",f=cs(e);return Jo([Yo(Jo(["<",r.tag,function(e,t){return Ko(Jo([r.attributes.length?Ho:"",zo(Ho,e.map(t,"attributes")),r.modifiers.length?Ho:"",zo(Ho,e.map(t,"modifiers")),r.comments.length?Ho:"",zo(Ho,e.map(t,"comments"))]))}(e,n),r.blockParams.length?" as |".concat(r.blockParams.join(" "),"|"):"",Qo(Go,""),Qo(p,c)])),l?"":Yo(Jo([s?Ko(es(e,t,n)):"",Qo(o?Xo:"",""),Jo([""])])),f&&"ElementNode"===f.type?Xo:""]);case"BlockStatement":var d=e.getParentNode(1),D=d&&d.inverse&&1===d.inverse.body.length&&d.inverse.body[0]===r&&"if"===d.inverse.body[0].path.parts[0],h=r.inverse&&1===r.inverse.body.length&&"BlockStatement"===r.inverse.body[0].type&&"if"===r.inverse.body[0].path.parts[0],m=h?function(e){return e}:Ko;if(r.inverse)return Jo([D?Jo(["{{else ",us(e,n),"}}"]):is(e,n),Ko(Jo([Xo,e.call(n,"program")])),r.inverse&&!h?Jo([Xo,"{{else}}"]):"",r.inverse?m(Jo([Xo,e.call(n,"inverse")])):"",D?"":Jo([Xo,os(e,n)])]);if(D)return Jo([Jo(["{{else ",us(e,n),"}}"]),Ko(Jo([Xo,e.call(n,"program")]))]);var g=r.program.body.some((function(e){return!ss(e)}));return Jo([is(e,n),Yo(Jo([Ko(Jo([Go,e.call(n,"program")])),g?Xo:Go,os(e,n)]))]);case"ElementModifierStatement":case"MustacheStatement":var y=e.getParentNode(1),v=y&&"ConcatStatement"===y.type;return Yo(Jo([!1===r.escaped?"{{{":"{{",us(e,n,{group:!1}),v?"":Go,!1===r.escaped?"}}}":"}}"]));case"SubExpression":var E=rs(e,n),C=E.length>0?Ko(Jo([Ho,Yo(zo(Ho,E))])):"";return Yo(Jo(["(",ns(e,n),C,Go,")"]));case"AttrNode":var F="TextNode"===r.value.type;if(F&&r.value.loc.start.column===r.value.loc.end.column)return Jo([r.name]);var b=e.call(n,"value"),x=F?ts(b.parts.join(),t):b;return Jo([r.name,"=",x]);case"ConcatStatement":return Jo(['"',Yo(Ko(zo(Go,e.map((function(e){return n(e)}),"parts").filter((function(e){return""!==e}))))),'"']);case"Hash":return Jo([zo(Ho,e.map(n,"pairs"))]);case"HashPair":return Jo([r.key,"=",e.call(n,"value")]);case"TextNode":var S=!ls(e),w=!cs(e),B=!/\S/.test(r.chars),T=ds(r.chars),k="Block"===e.getParentNode(0).type,O="ElementNode"===e.getParentNode(0).type,N="Template"===e.getParentNode(0).type,P=function(e){return ds(((e="string"==typeof e?e:"").match(/^([^\S\r\n]*[\r\n])+/g)||[])[0]||"")}(r.chars),I=function(e){return ds(((e="string"==typeof e?e:"").match(/([\r\n][^\S\r\n]*)+$/g)||[])[0]||"")}(r.chars);if((S||w)&&B&&(k||O||N))return"";B&&T?(P=Math.min(T,2),I=0):((fs(e,"ElementNode")||fs(e,"BlockStatement"))&&(I=Math.max(I,1)),(ps(e,["ElementNode"])||ps(e,["BlockStatement"]))&&(P=Math.max(P,1)));var j="",L="";if(e.stack.indexOf("attributes")>=0){var _=e.getParentNode(0);if("ConcatStatement"===_.type){var M=_.parts,R=M.indexOf(r);R>0&&"MustacheStatement"===M[R-1].type&&(j=" "),R-1?"--":"";return Jo(["{{!",q,r.value,q,"}}"]);case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return Jo(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return ts(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:function(e,t){if(delete t.loc,delete t.selfClosing,"TextNode"===e.type){if(""===e.chars.replace(/\s+/,""))return null;t.chars=e.chars.replace(/^\s+/,"").replace(/\s+$/,"")}}},ms=["hbs","htmlbars"],gs=[".handlebars",".hbs"],ys={languages:[fo(ot(Object.freeze({__proto__:null,name:"Handlebars",type:"markup",group:"HTML",aliases:ms,extensions:gs,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155,default:{name:"Handlebars",type:"markup",group:"HTML",aliases:ms,extensions:gs,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}})),(function(e){return Object.assign(e,{since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})}))],printers:{glimmer:hs}},vs=["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],Es=["title"],Cs=["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],As=["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],Fs=["autoplay","controls","crossorigin","loop","muted","preload","src"],bs=["href","target"],xs=["color","face","size"],Ss=["dir"],ws=["cite"],Bs=["alink","background","bgcolor","link","text","vlink"],Ts=["clear"],ks=["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],Os=["height","width"],Ns=["align"],Ps=["align","char","charoff","span","valign","width"],Is=["align","char","charoff","span","valign","width"],js=["value"],Ls=["cite","datetime"],_s=["open"],Ms=["title"],Rs=["open"],qs=["compact"],Vs=["align"],Us=["compact"],Ws=["height","src","type","width"],$s=["disabled","form","name"],Js=["color","face","size"],zs=["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],Gs=["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],Xs=["cols","rows"],Hs=["align"],Ys=["align"],Ks=["align"],Qs=["align"],Zs=["align"],el=["align"],tl=["profile"],nl=["align","noshade","size","width"],rl=["manifest","version"],ul=["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],al=["align","alt","border","crossorigin","decoding","height","hspace","ismap","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],il=["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ol=["cite","datetime"],sl=["prompt"],ll=["accesskey","for","form"],cl=["accesskey","align"],pl=["type","value"],fl=["as","charset","color","crossorigin","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],dl=["name"],Dl=["compact"],hl=["charset","content","http-equiv","name","scheme"],ml=["high","low","max","min","optimum","value"],gl=["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],yl=["compact","reversed","start","type"],vl=["disabled","label"],El=["disabled","label","selected","value"],Cl=["for","form","name"],Al=["align"],Fl=["name","type","value","valuetype"],bl=["width"],xl=["max","value"],Sl=["cite"],wl=["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],Bl=["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],Tl=["name"],kl=["media","sizes","src","srcset","type"],Ol=["media","nonce","title","type"],Nl=["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],Pl=["align","char","charoff","valign"],Il=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],jl=["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],Ll=["align","char","charoff","valign"],_l=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],Ml=["align","char","charoff","valign"],Rl=["datetime"],ql=["align","bgcolor","char","charoff","valign"],Vl=["default","kind","label","src","srclang"],Ul=["compact","type"],Wl=["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"],$l=ot(Object.freeze({__proto__:null,a:vs,abbr:Es,applet:Cs,area:As,audio:Fs,base:bs,basefont:xs,bdo:Ss,blockquote:ws,body:Bs,br:Ts,button:ks,canvas:Os,caption:Ns,col:Ps,colgroup:Is,data:js,del:Ls,details:_s,dfn:Ms,dialog:Rs,dir:qs,div:Vs,dl:Us,embed:Ws,fieldset:$s,font:Js,form:zs,frame:Gs,frameset:Xs,h1:Hs,h2:Ys,h3:Ks,h4:Qs,h5:Zs,h6:el,head:tl,hr:nl,html:rl,iframe:ul,img:al,input:il,ins:ol,isindex:sl,label:ll,legend:cl,li:pl,link:fl,map:dl,menu:Dl,meta:hl,meter:ml,object:gl,ol:yl,optgroup:vl,option:El,output:Cl,p:Al,param:Fl,pre:bl,progress:xl,q:Sl,script:wl,select:Bl,slot:Tl,source:kl,style:Ol,table:Nl,tbody:Pl,td:Il,textarea:jl,tfoot:Ll,th:_l,thead:Ml,time:Rl,tr:ql,track:Vl,ul:Ul,video:Wl,default:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:vs,abbr:Es,applet:Cs,area:As,audio:Fs,base:bs,basefont:xs,bdo:Ss,blockquote:ws,body:Bs,br:Ts,button:ks,canvas:Os,caption:Ns,col:Ps,colgroup:Is,data:js,del:Ls,details:_s,dfn:Ms,dialog:Rs,dir:qs,div:Vs,dl:Us,embed:Ws,fieldset:$s,font:Js,form:zs,frame:Gs,frameset:Xs,h1:Hs,h2:Ys,h3:Ks,h4:Qs,h5:Zs,h6:el,head:tl,hr:nl,html:rl,iframe:ul,img:al,input:il,ins:ol,isindex:sl,label:ll,legend:cl,li:pl,link:fl,map:dl,menu:Dl,meta:hl,meter:ml,object:gl,ol:yl,optgroup:vl,option:El,output:Cl,p:Al,param:Fl,pre:bl,progress:xl,q:Sl,script:wl,select:Bl,slot:Tl,source:kl,style:Ol,table:Nl,tbody:Pl,td:Il,textarea:jl,tfoot:Ll,th:_l,thead:Ml,time:Rl,tr:ql,track:Vl,ul:Ul,video:Wl}})),Jl={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"none",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",video:"inline-block",audio:"inline-block"},zl={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function Gl(e){var t=Object.create(null),n=!0,r=!1,u=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0)t[a.value]=!0}catch(o){r=!0,u=o}finally{try{n||null==i.return||i.return()}finally{if(r)throw u}}return t}function Xl(e,t){return!("element"!==e.type||"template"!==e.fullName||!e.attrMap.lang||"html"===e.attrMap.lang)||!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&-1===["template","style","script","html"].indexOf(e.fullName)||!(!ic(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))}function Hl(e){return"attribute"!==e.type&&!Yl(e)&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function Yl(e){return"text"===e.type||"comment"===e.type}function Kl(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName)}function Ql(e){return"yaml"===e.type||"toml"===e.type}function Zl(e){return oc(e).startsWith("pre")}function ec(e){return"element"===e.type&&0!==e.children.length&&(-1!==["html","head","ul","ol","select"].indexOf(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function tc(e){return nc(e)&&rc(e)}function nc(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function uc(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return-1!==["script","select"].indexOf(e.name)}return!1}function ac(e){return"block"===e||"list-item"===e||e.startsWith("table")}function ic(e){return oc(e).startsWith("pre")}function oc(e){return"element"===e.type&&!e.namespace&&zl[e.name]||"normal"}function sc(e){var t=1/0,n=!0,r=!1,u=void 0;try{for(var a,i=e.split("\n")[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var o=a.value;if(0!==o.length){if(/\S/.test(o[0]))return 0;var s=o.match(/^\s*/)[0].length;o.length!==s&&s")}))},function(e,t){if("html"===t.parser)return e;var n=/\{\{([\s\S]+?)\}\}/g;return e.map((function(e){if(!function(e){return e.children&&!Kl(e)}(e))return e;var t=[],r=!0,u=!1,a=void 0;try{for(var i,o=e.children[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var s=i.value;if("text"===s.type)for(var l=s.sourceSpan.constructor,c=s.sourceSpan.start,p=null,f=s.value.split(n),d=0;d$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})}))},function(e){return e.map((function(e){return e.children?e.clone(0===e.children.length?{isDanglingSpaceSensitive:hc(e)}:{children:e.children.map((function(e){return Object.assign({},e,{isLeadingSpaceSensitive:gc(e),isTrailingSpaceSensitive:yc(e)})})).map((function(e,t,n){return Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})}))}):e}))},function(e){var t=function(e){return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!/[^\S\xA0]/.test(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type};return e.map((function(e){if(e.children){var n=e.children.map(t);if(n.some(Boolean)){for(var r=[],u=0;u")+a.firstChild.value+"")+o.value,sourceSpan:new s(i.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:l,hasTrailingSpaces:c}))}else r.push(a)}return e.clone({children:r})}}return e}))}],Ec=qu.builders,Cc=Ec.concat,Ac=Ec.group,Fc=it((function(e){var t,n;t=ut,n=function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function u(t){var n,r=t.exec(e.substring(g));if(r)return g+=(n=r[0]).length,n}for(var a,i,o,s,l,c=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,D=/[,]+$/,h=/^\d+$/,m=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,y=[];;){if(u(f),g>=c)return y;a=u(d),i=[],","===a.slice(-1)?(a=a.replace(D,""),E()):v()}function v(){for(u(p),o="",s="in descriptor";;){if(l=e.charAt(g),"in descriptor"===s)if(r(l))o&&(i.push(o),o="",s="after descriptor");else{if(","===l)return g+=1,o&&i.push(o),void E();if("("===l)o+=l,s="in parens";else{if(""===l)return o&&i.push(o),void E();o+=l}}else if("in parens"===s)if(")"===l)o+=l,s="in descriptor";else{if(""===l)return i.push(o),void E();o+=l}else if("after descriptor"===s)if(r(l));else{if(""===l)return void E();s="in descriptor",g-=1}g+=1}}function E(){var t,r,u,o,s,l,c,p,f,d=!1,D={};for(o=0;o1&&void 0!==arguments[1]?arguments[1]:function(){return!0},n=0,r=e.stack.length-1;r>=0;r--){var u=e.stack[r];u&&"object"===o(u)&&!Array.isArray(u)&&t(u)&&n++}return n},Gc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sc(e);return 0===t?e:e.split("\n").map((function(e){return e.slice(t)})).join("\n")},Xc=lc,Hc=function(e){return ec(e)||"element"===e.type&&0!==e.children.length&&(-1!==["body","script","style"].indexOf(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&nc(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||rc(e.lastChild))},Yc=function(e){return Ql(e)||e.next&&e.sourceSpan.end.line+1\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function bp(e){switch(e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function xp(e,t){if(rp(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function wp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?ip(t,Uc):ip(Gc(t.replace(/^\s*?\n|\n\s*?$/g,"")),_c):qc(Vc,t.split(/[\t\n\f\r ]+/)).parts}var Bp={preprocess:function(e,t){var n=!0,r=!1,u=void 0;try{for(var a,i=vc[Symbol.iterator]();!(n=(a=i.next()).done);n=!0)e=(0,a.value)(e,t)}catch(o){r=!0,u=o}finally{try{n||null==i.return||i.return()}finally{if(r)throw u}}return e},print:function(e,t,n){var r,u=e.getValue();switch(u.type){case"root":return Tc.concat([Lc(sp(e,t,n)),_c]);case"element":case"ieConditionalComment":var a=1===u.children.length&&"interpolation"===u.firstChild.type&&u.firstChild.isLeadingSpaceSensitive&&!u.firstChild.hasLeadingSpaces&&u.lastChild.isTrailingSpaceSensitive&&!u.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id");return op([Lc(op([Lc(lp(e,t,n),{id:i}),0===u.children.length?u.hasDanglingSpaces&&u.isDanglingSpaceSensitive?Vc:"":op([Hc(u)?Pc:"",(r=op([a?Mc($c,"",{groupId:i}):u.firstChild.hasLeadingSpaces&&u.firstChild.isLeadingSpaceSensitive?Vc:"text"===u.firstChild.type&&u.isWhitespaceSensitive&&u.isIndentationSensitive?Ic($c):$c,sp(e,t,n)]),a?Mc(Rc(r),r,{groupId:i}):Zc(u)&&"root"===u.parent.type&&"vue"===t.parser&&!t.vueIndentScriptAndStyle?r:Rc(r)),(u.next?gp(u.next):yp(u.parent))?u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?" ":"":a?Mc($c,"",{groupId:i}):u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?Vc:("comment"===u.lastChild.type||"text"===u.lastChild.type&&u.isWhitespaceSensitive&&u.isIndentationSensitive)&&new RegExp("\\n\\s{".concat(t.tabWidth*zc(e,(function(e){return e.parent&&"root"!==e.parent.type})),"}$")).test(u.lastChild.value)?"":$c])])),fp(u,t)]);case"ieConditionalStartComment":case"ieConditionalEndComment":return op([cp(u),Dp(u)]);case"interpolation":return op([cp(u,t),op(e.map(n,"children")),Dp(u,t)]);case"text":if("interpolation"===u.parent.type){var o=/\n[^\S\n]*?$/,s=o.test(u.value),l=s?u.value.replace(o,""):u.value;return op([op(ip(l,Uc)),s?_c:""])}return jc(tp([].concat(Ep(u,t),wp(u),Ap(u,t))));case"docType":return op([Lc(op([cp(u,t)," ",u.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),Dp(u,t)]);case"comment":return op([Ep(u,t),op(ip(t.originalText.slice(t.locStart(u),t.locEnd(u)),Uc)),Ap(u,t)]);case"attribute":if(null===u.value)return u.rawName;var c=ap(u.value),p=Jc(c,"'")|^function\s*\(/.test(t)||/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/.test(t)}(c)?l(c,{parser:"__js_expression"}):Oc(l(c,{parser:"__vue_event_binding"})))}if(r(["^:","^v-bind:"]))return s(l(u(),{parser:"__vue_expression"}));if(r(["^v-"]))return s(l(u(),{parser:"__js_expression"}))}if("angular"===n.parser){var p=function(e,t){return l(e,Object.assign({trailingComma:"none"},t))};if(r(["^\\(.+\\)$","^on-"]))return s(p(u(),{parser:"__ng_action"}));if(r(["^\\[.+\\]$","^bind(on)?-"]))return s(p(u(),{parser:"__ng_binding"}));if(r(["^i18n(-.+)?$"]))return o(jc(wp(e,u())));if(r(["^\\*"]))return s(p(u(),{parser:"__ng_directive"}));var f=/\{\{([\s\S]+?)\}\}/g,d=u();if(f.test(d)){var D=[];return d.split(f).forEach((function(e,t){if(t%2==0)D.push(op(ip(e,Uc)));else try{D.push(Lc(op(["{{",Rc(op([Vc,p(e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),Vc,"}}"])))}catch(n){D.push("{{",op(ip(e,Uc)),"}}")}})),Lc(op(D))}}return null}(u,(function(e,t){return n(e,Object.assign({__isInHtmlAttribute:!0},t))}),r);if(o)return op([u.rawName,'="',Lc(Nc(o,(function(e){return"string"==typeof e?e.replace(/"/g,"""):e}))),'"']);break;case"yaml":return Wc(op(["---",_c,0===u.value.trim().length?"":n(u.value,{parser:"yaml"}),"---"]))}}},Tp=["xhtml"],kp=[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],Op=Object.freeze({__proto__:null,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:Tp,extensions:kp,languageId:146,default:{name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:Tp,extensions:kp,languageId:146}}),Np=[".vue"],Pp=Object.freeze({__proto__:null,name:"Vue",type:"markup",color:"#2c3e50",extensions:Np,tmScope:"text.html.vue",aceMode:"html",languageId:391,default:{name:"Vue",type:"markup",color:"#2c3e50",extensions:Np,tmScope:"text.html.vue",aceMode:"html",languageId:391}}),Ip=ot(Op),jp=ot(Pp),Lp={languages:[fo(Ip,(function(e){return Object.assign(e,{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})})),fo(Ip,(function(e){return Object.assign(e,{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])})})),fo(Ip,(function(e){return Object.assign(e,{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})})),fo(jp,(function(e){return Object.assign(e,{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})}))],printers:{html:Bp},options:{htmlWhitespaceSensitivity:{since:"1.15.0",category:"HTML",type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:"HTML",type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}},_p=Vu.addLeadingComment,Mp=Vu.addTrailingComment,Rp=Vu.addDanglingComment;function qp(e,t){var n=e.body.filter((function(e){return"EmptyStatement"!==e.type}));0===n.length?Rp(e,t):_p(n[0],t)}function Vp(e,t){"BlockStatement"===e.type?qp(e,t):_p(e,t)}function Up(e,t,n,r,u,a){return!(!n||"IfStatement"!==n.type||!r||(")"===yu.getNextNonSpaceNonCommentCharacter(e,u,a.locEnd)?(Mp(t,u),0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?Mp(t,u):Rp(n,u),0):"BlockStatement"===r.type?(qp(r,u),0):"IfStatement"===r.type?(Vp(r.consequent,u),0):n.consequent!==r||(_p(r,u),0)))}function Wp(e,t,n,r,u,a){return!(!n||"WhileStatement"!==n.type||!r||(")"===yu.getNextNonSpaceNonCommentCharacter(e,u,a.locEnd)?(Mp(t,u),0):"BlockStatement"!==r.type||(qp(r,u),0)))}function $p(e,t,n,r){return!(!e||"TryStatement"!==e.type&&"CatchClause"!==e.type||!n||("CatchClause"===e.type&&t?(Mp(t,r),0):"BlockStatement"===n.type?(qp(n,r),0):"TryStatement"===n.type?(Vp(n.finalizer,r),0):"CatchClause"!==n.type||(Vp(n.body,r),0)))}function Jp(e,t,n,r){return!(!(e&&("ClassDeclaration"===e.type||"ClassExpression"===e.type)&&e.decorators&&e.decorators.length>0)||n&&"Decorator"===n.type||(e.decorators&&0!==e.decorators.length?Mp(e.decorators[e.decorators.length-1],r):_p(e,r),0))}function zp(e,t,n,r,u){return(t&&n&&("Property"===t.type||"MethodDefinition"===t.type)&&"Identifier"===n.type&&t.key===n&&":"!==yu.getNextNonSpaceNonCommentCharacter(e,n,u.locEnd)||!(!n||!t||"Decorator"!==n.type||"ClassMethod"!==t.type&&"ClassProperty"!==t.type&&"TSAbstractClassProperty"!==t.type&&"TSAbstractMethodDefinition"!==t.type&&"MethodDefinition"!==t.type))&&(Mp(n,r),!0)}function Gp(e,t,n,r,u,a){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return Mp(t,u),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&("ArrowFunctionExpression"===n.type||"FunctionExpression"===n.type||"FunctionDeclaration"===n.type||"ObjectMethod"===n.type||"ClassMethod"===n.type)&&")"===yu.getNextNonSpaceNonCommentCharacter(e,u,a.locEnd))return Mp(t,u),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){var i=function(){if(0!==n.params.length)return yu.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,a.locEnd(yu.getLast(n.params)));var t=yu.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,a.locEnd(n.id));return yu.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,t+1)}();if(a.locStart(u)>i)return qp(r,u),!0}return!1}function Xp(e,t){return!(!e||"ImportSpecifier"!==e.type||(_p(e,t),0))}function Hp(e,t,n,r){return t&&t.body&&0===t.body.length?(r?Rp(t,n):_p(t,n),!0):!(!e||"Program"!==e.type||0!==e.body.length||!e.directives||0!==e.directives.length||(r?Rp(e,n):_p(e,n),0))}var Yp={handleOwnLineComment:function(e,t,n,r,u){var a=e.precedingNode,i=e.enclosingNode,o=e.followingNode;return!!(Gp(t,a,i,o,e,n)||function(e,t,n){return!(!e||"MemberExpression"!==e.type&&"OptionalMemberExpression"!==e.type||!t||"Identifier"!==t.type||(_p(e,n),0))}(i,o,e)||Up(t,a,i,o,e,n)||Wp(t,a,i,o,e,n)||$p(i,a,o,e)||Jp(i,0,o,e)||Xp(i,e)||function(e,t,n){return!(!e||"ForInStatement"!==e.type&&"ForOfStatement"!==e.type||(_p(e,n),0))}(i,0,e)||function(e,t,n,r){return!(!t||"UnionTypeAnnotation"!==t.type&&"TSUnionType"!==t.type||(Mp(e,r),0))}(a,i,0,e)||Hp(i,r,e,u)||function(e,t,n,r,u){return!!(n&&"ImportSpecifier"===n.type&&t&&"ImportDeclaration"===t.type&&yu.hasNewline(e,u.locEnd(r)))&&(Mp(n,r),!0)}(t,i,a,e,n)||function(e,t){return!(!e||"AssignmentPattern"!==e.type||(_p(e,t),0))}(i,e)||zp(t,i,a,e,n))},handleEndOfLineComment:function(e,t,n,r,u){var a=e.precedingNode,i=e.enclosingNode,o=e.followingNode;return!!(Gp(t,a,i,o,e,n)||function(e,t,n,r,u,a){var i=t&&!yu.hasNewlineInRange(u,a.locEnd(t),a.locStart(r));return!(t&&i||!e||"ConditionalExpression"!==e.type||!n||(_p(n,r),0))}(i,a,o,e,t,n)||Xp(i,e)||Up(t,a,i,o,e,n)||Wp(t,a,i,o,e,n)||$p(i,a,o,e)||Jp(i,0,o,e)||function(e,t){return!(!e||"LabeledStatement"!==e.type||(_p(e,t),0))}(i,e)||function(e,t,n){return!!(t&&("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&e&&t.callee===e&&t.arguments.length>0)&&(_p(t.arguments[0],n),!0)}(a,i,e)||function(e,t){return!(!e||"Property"!==e.type&&"ObjectProperty"!==e.type||(_p(e,t),0))}(i,e)||Hp(i,r,e,u)||function(e,t,n){return!(!e||"TypeAlias"!==e.type||(_p(e,n),0))}(i,0,e)||function(e,t,n){return!(!e||"VariableDeclarator"!==e.type&&"AssignmentExpression"!==e.type||!t||"ObjectExpression"!==t.type&&"ArrayExpression"!==t.type&&"TemplateLiteral"!==t.type&&"TaggedTemplateExpression"!==t.type||(_p(t,n),0))}(i,o,e))},handleRemainingComment:function(e,t,n,r,u){var a=e.precedingNode,i=e.enclosingNode,o=e.followingNode;return!!(Up(t,a,i,o,e,n)||Wp(t,a,i,o,e,n)||function(e,t,n){return!(!e||"ObjectProperty"!==e.type&&"Property"!==e.type||!e.shorthand||e.key!==t||"AssignmentPattern"!==e.value.type||(Mp(e.value.left,n),0))}(i,a,e)||function(e,t,n,r){return!(")"!==yu.getNextNonSpaceNonCommentCharacter(e,n,r.locEnd)||(!t||("FunctionDeclaration"!==t.type&&"FunctionExpression"!==t.type&&"ArrowFunctionExpression"!==t.type&&"ClassMethod"!==t.type&&"ObjectMethod"!==t.type||0!==t.params.length)&&("CallExpression"!==t.type&&"OptionalCallExpression"!==t.type&&"NewExpression"!==t.type||0!==t.arguments.length)?!t||"MethodDefinition"!==t.type||0!==t.value.params.length||(Rp(t.value,n),0):(Rp(t,n),0)))}(t,i,e,n)||zp(t,i,a,e,n)||Hp(i,r,e,u)||function(e,t,n,r){if(!t||"ArrowFunctionExpression"!==t.type)return!1;var u=Vu.getNextNonSpaceNonCommentCharacterIndex(e,n,r);return"=>"===e.substr(u,2)&&(Rp(t,n),!0)}(t,i,e,n)||function(e,t,n,r,u){return!("("!==yu.getNextNonSpaceNonCommentCharacter(e,r,u.locEnd)||!n||!t||"FunctionDeclaration"!==t.type&&"FunctionExpression"!==t.type&&"ClassMethod"!==t.type&&"MethodDefinition"!==t.type&&"ObjectMethod"!==t.type||(Mp(n,r),0))}(t,i,a,e,n)||function(e,t,n,r,u){return!(!t||"TSMappedType"!==t.type||(r&&"TSTypeParameter"===r.type&&r.name?(_p(r.name,u),0):!n||"TSTypeParameter"!==n.type||!n.constraint||(Mp(n.constraint,u),0)))}(0,i,a,o,e)||function(e,t){return!(!e||"ContinueStatement"!==e.type&&"BreakStatement"!==e.type||e.label||(Mp(e,t),0))}(i,e))},hasLeadingComment:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some((function(e){return e.leading&&t(e)}))},isBlockComment:function(e){return"Block"===e.type||"CommentBlock"===e.type}},Kp=Yp.isBlockComment,Qp=Yp.hasLeadingComment,Zp=qu.builders,ef=Zp.indent,tf=Zp.join,nf=Zp.hardline,rf=Zp.softline,uf=Zp.literalline,af=Zp.concat,of=Zp.group,sf=Zp.dedentToRoot,lf=qu.utils,cf=lf.mapDoc,pf=lf.stripTrailingHardline;function ff(e){return e.replace(/([\\`]|\$\{)/g,"\\$1")}function df(e,t){return cf(e,(function(e){if(!e.parts)return e;var n=[];return e.parts.forEach((function(e){n.push("string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):ff(e):e)})),Object.assign({},e,{parts:n})}))}function Df(e){var t=[],n=!1;return e.map((function(e){return e.trim()})).forEach((function(e,r,u){""!==e&&(t.push(""===u[r-1]&&n?af([nf,e]):e),n=!0)})),0===t.length?null:tf(nf,t)}function hf(e){var t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}function mf(e){return Af(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"ArrayExpression"===e.type&&"elements"===t},function(e,t){return"Property"===e.type&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t}].concat([function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}]))}function gf(e){var t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;var n=t.tag;switch(n.type){case"MemberExpression":return vf(n.object)||Ef(n);case"CallExpression":return vf(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(vf(n.callee.object.object)||Ef(n.callee.object))||"CallExpression"===n.callee.object.type&&vf(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}function yf(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}function vf(e){return"Identifier"===e.type&&"styled"===e.name}function Ef(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function Cf(e,t){return Qp(e,(function(e){return Kp(e)&&e.value===" ".concat(t," ")}))}function Af(e,t){var n=e.stack.slice(),r=null,u=n.pop(),a=!0,i=!1,o=void 0;try{for(var s,l=t[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;if(void 0===u)return!1;if("number"==typeof r&&(r=n.pop(),u=n.pop()),!c(u,r))return!1;r=n.pop(),u=n.pop()}}catch(p){i=!0,o=p}finally{try{a||null==l.return||l.return()}finally{if(i)throw o}}return!0}var Ff=0;function bf(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}var xf=yu.getLast,Sf=yu.hasNewline,wf=yu.hasNewlineInRange,Bf=yu.hasIgnoreComment,Tf=yu.hasNodeIgnoreComment,kf=yu.skipWhitespace,Of=mr.keyword.isIdentifierNameES5,Nf=new RegExp("^".concat("(?:(?=.)\\s)","*:")),Pf=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function If(e,t){if(!e||"object"!==o(e))return!1;if(Array.isArray(e))return e.some((function(e){return If(e,t)}));var n=t(e);return"boolean"==typeof n?n:Object.keys(e).some((function(n){return If(e[n],t)}))}function jf(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function Lf(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function _f(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function Mf(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Rf(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function qf(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function Vf(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function Uf(e){return"get"===e.kind||"set"===e.kind}function Wf(e,t,n){return n.locStart(e)===n.locStart(t)}function $f(e,t){return Uf(e)||Wf(e,e.value,t)}var Jf=/^(skip|[fx]?(it|describe|test))$/;function zf(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}var Gf=new RegExp("([ \n\r\t]+)"),Xf=new RegExp("[^ \n\r\t]");function Hf(e){return Lf(e)&&(Xf.test(Qf(e))||!/\n/.test(Qf(e)))}function Yf(e,t,n){return Vf(t)?Tf(t):t.comments&&t.comments.some((function(t){return t.leading&&Sf(e,n.locEnd(t))}))}function Kf(e){return e.quasis.some((function(e){return e.value.raw.includes("\n")}))}function Qf(e){return e.extra?e.extra.raw:e.raw}var Zf={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){var t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":return!((e.value?e.value.async:e.async)||"get"===e.kind||"set"===e.kind||!e.computed&&!(e.value?e.value.generator:e.generator));case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){var t=e.getNode();if("ClassProperty"!==t.type)return!1;var n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},conditionalExpressionChainContainsJSX:function(e){return Boolean(function(e){var t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).find(Vf))},getFlowVariance:function(e){if(!e.variance)return null;var t=e.variance.kind||e.variance;switch(t){case"plus":return"+";case"minus":return"-";default:return t}},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side",t)},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some((function(e){return!e.leading&&!e.trailing}))},hasFlowAnnotationComment:function(e){return e&&e[0].value.match(Pf)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&e.trailingComments[0].value.match(Nf)},hasLeadingComment:function(e){return e.comments&&e.comments.some((function(e){return e.leading}))},hasLeadingOwnLineComment:Yf,hasNakedLeftSide:jf,hasNewlineBetweenOrAfterDecorators:function(e,t){return wf(t.originalText,t.locStart(e.decorators[0]),t.locEnd(xf(e.decorators)))||Sf(t.originalText,t.locEnd(xf(e.decorators)))},hasNgSideEffect:function(e){return If(e.getValue(),(function(e){switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))},hasNode:If,hasPrettierIgnore:function(e){return Bf(e)||function(e){var t=e.getValue(),n=e.getParentNode();if(!(n&&t&&Vf(t)&&Vf(n)))return!1;for(var r=null,u=n.children.indexOf(t);u>0;u--){var a=n.children[u-1];if("JSXText"!==a.type||Hf(a)){r=a;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.find((function(e){return"prettier-ignore"===e.value.trim()}))}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some((function(e){return e.trailing}))},identity:function(e){return e},isBinaryish:function(e){return"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type},isCallOrOptionalCallExpression:zf,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;var t=e.children[0];return Lf(t)&&!Hf(t)},isFlowAnnotationComment:function(e,t,n){var r=n.locStart(t),u=kf(e,n.locEnd(t));return"/*"===e.substr(r,2)&&"*/"===e.substr(u,2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;var t=0,n=!0,r=!1,u=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var o=a.value;if(Rf(o)){if((t+=1)>1)return!0}else if(zf(o)){var s=!0,l=!1,c=void 0;try{for(var p,f=o.arguments[Symbol.iterator]();!(s=(p=f.next()).done);s=!0)if(Rf(p.value))return!0}catch(d){l=!0,c=d}finally{try{s||null==f.return||f.return()}finally{if(l)throw c}}}}}catch(d){r=!0,u=d}finally{try{n||null==i.return||i.return()}finally{if(r)throw u}}return!1},isFunctionNotation:$f,isFunctionOrArrowExpression:Rf,isGetterOrSetter:Uf,isJestEachTemplateLiteral:function(e,t){var n=/^[xf]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJSXNode:Vf,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&Lf(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){var t=e.getParentNode();if(!t)return!0;var n=e.getValue(),r=(t.body||t.consequent).filter((function(e){return"EmptyStatement"!==e.type}));return r&&r[r.length-1]===n},isLiteral:Lf,isLongCurriedCallExpression:function(e){var t=e.getValue(),n=e.getParentNode();return zf(t)&&zf(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isMeaningfulJSXText:Hf,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&e.object},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:_f,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e,t){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||$f(e,t))},isSimpleFlowType:function(e){return e&&-1!==["AnyTypeAnnotation","NullLiteralTypeAnnotation","GenericTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation","BooleanTypeAnnotation","BooleanLiteralTypeAnnotation","StringTypeAnnotation"].indexOf(e.type)&&!("GenericTypeAnnotation"===e.type&&e.typeParameters)},isSimpleTemplateLiteral:function(e){return 0!==e.expressions.length&&e.expressions.every((function(e){if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){for(var t=e;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if((t=t.object).comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:Mf,isStringPropSafeToCoerceToIdentifier:function(e,t){return Mf(e.key)&&Of(e.key.value)&&"json"!==t.parser&&!("typescript"===t.parser&&"ClassProperty"===e.type)},isTemplateOnItsOwnLine:function(e,t,n){return("TemplateLiteral"===e.type&&Kf(e)||"TaggedTemplateExpression"===e.type&&Kf(e.quasi))&&!Sf(t,n.locStart(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(qf(t)&&n&&e(n))return Rf(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(before|after)(Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return qf(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Jf.test(t.callee.name)||("MemberExpression"===(r=t).callee.type||"OptionalMemberExpression"===r.callee.type)&&"Identifier"===r.callee.object.type&&"Identifier"===r.callee.property.type&&Jf.test(r.callee.object.name)&&("only"===r.callee.property.name||"skip"===r.callee.property.name))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||Mf(t.arguments[0])))return!(t.arguments[2]&&!_f(t.arguments[2]))&&((2===t.arguments.length?Rf(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&t.arguments[1].params.length<=1)||qf(t.arguments[1]));var r;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;var n=t.getNode();if(!n.expression||!Vf(n.expression))return!1;var r=t.getParentNode();return"Program"===r.type&&1==r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e,t){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||Wf(e,e.typeAnnotation,t))},matchJsxWhitespaceRegex:Gf,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;var t=xf(e.comments.filter((function(e){return!e.leading&&!e.trailing})));return t&&!Yp.isBlockComment(t)},rawText:Qf,returnArgumentHasLeadingComment:function(e,t){if(Yf(e.originalText,t,e))return!0;if(jf(t))for(var n,r=t;n=(u=r).expressions?u.expressions[0]:u.left||u.test||u.callee||u.object||u.tag||u.argument||u.expression;)if(Yf(e.originalText,r=n,e))return!0;var u;return!1}},ed=Zf.getLeftSidePathName,td=Zf.hasFlowShorthandAnnotationComment,nd=Zf.hasNakedLeftSide,rd=Zf.hasNode;function ud(e){var t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(ud);break;case"ObjectProperty":if("value"===r){var u=e.getParentNode(1);return u.properties[u.properties.length-1]===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(ud);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(ud);break;case"UnaryExpression":if(n.prefix)return e.callParent(ud)}return!1}var ad=function e(t,n){var r=t.getParentNode();if(!r)return!1;var u=t.getName(),a=t.getNode();if(t.getValue()!==a)return!1;if(n.__isInHtmlInterpolation&&!n.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(a)&&ud(t))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForAwaitStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(a))return!1;if(function(e,t){var n=t.getValue();return u(n)&&(r(n)||function e(n){var a=t.getParentNode(n);return!(!a||u(a))&&(r(a)||e(n+1))}(0));function r(e){return e.comments&&e.comments.some((function(e){return e.leading&&Yp.isBlockComment(e)&&function(e){var t=e.trim().split("\n").map((function(e){return e.replace(/^[\s*]+/,"")})).join(" ").trim();if(!/^@type\s*\{[^]+\}$/.test(t))return!1;var n=!1,r=0,u=!0,a=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var l=o.value;if("{"===l){if(n)return!1;r++}else if("}"===l){if(0===r)return!1;0==--r&&(n=!0)}}}catch(c){a=!0,i=c}finally{try{u||null==s.return||s.return()}finally{if(a)throw i}}return 0===r}(e.value)}))}function u(e){return e.extra&&e.extra.parenthesized}}(0,t))return!0;if("flow"!==n.parser&&td(t.getValue()))return!0;if("Identifier"===a.type)return!!(a.extra&&a.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(a.name));if("ParenthesizedExpression"===r.type)return!1;if(!("ClassDeclaration"!==r.type&&"ClassExpression"!==r.type||r.superClass!==a||"ArrowFunctionExpression"!==a.type&&"AssignmentExpression"!==a.type&&"AwaitExpression"!==a.type&&"BinaryExpression"!==a.type&&"ConditionalExpression"!==a.type&&"LogicalExpression"!==a.type&&"NewExpression"!==a.type&&"ObjectExpression"!==a.type&&"ParenthesizedExpression"!==a.type&&"SequenceExpression"!==a.type&&"TaggedTemplateExpression"!==a.type&&"UnaryExpression"!==a.type&&"UpdateExpression"!==a.type&&"YieldExpression"!==a.type))return!0;if("ExportDefaultDeclaration"===r.type)return function t(n,r){var u=n.getValue(),a=n.getParentNode();return"FunctionExpression"===u.type||"ClassExpression"===u.type?"ExportDefaultDeclaration"===a.type||!e(n,r):!(!nd(u)||"ExportDefaultDeclaration"!==a.type&&e(n,r))&&n.call.apply(n,[function(e){return t(e,r)}].concat(ed(n,u)))}(t,n);if("Decorator"===r.type&&r.expression===a){for(var i=!1,o=!1,s=a;s;)switch(s.type){case"MemberExpression":o=!0,s=s.object;break;case"CallExpression":if(o||i)return!0;i=!0,s=s.callee;break;case"Identifier":return!1;default:return!0}return!0}if("ArrowFunctionExpression"===r.type&&r.body===a&&"SequenceExpression"!==a.type&&yu.startsWithNoLookaheadToken(a,!1)||"ExpressionStatement"===r.type&&yu.startsWithNoLookaheadToken(a,!0))return!0;switch(a.type){case"SpreadElement":case"SpreadProperty":return"MemberExpression"===r.type&&"object"===u&&r.object===a;case"UpdateExpression":if("UnaryExpression"===r.type)return a.prefix&&("++"===a.operator&&"+"===r.operator||"--"===a.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return a.operator===r.operator&&("+"===a.operator||"-"===a.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===u;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===u;case"BinaryExpression":return"**"===r.operator&&"left"===u;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===r.type)return!0;if("in"===a.operator&&function(e){for(var n=0;e;){var r=t.getParentNode(n++);if(!r)return!1;if("ForStatement"===r.type&&r.init===e)return!0;e=r}return!1}(a))return!0;case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(r.type){case"ConditionalExpression":return"TSAsExpression"===a.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===u;case"ClassExpression":case"ClassDeclaration":return"superClass"===u&&r.superClass===a;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===u;case"AssignmentExpression":return r.left===a&&("TSTypeAssertion"===a.type||"TSAsExpression"===a.type);case"LogicalExpression":if("LogicalExpression"===a.type)return r.operator!==a.operator;case"BinaryExpression":if(!a.operator&&"TSTypeAssertion"!==a.type)return!0;var l=r.operator,c=yu.getPrecedence(l),p=a.operator,f=yu.getPrecedence(p);return c>f||(c===f&&"right"===u?(Nr.strictEqual(r.right,a),!0):c===f&&!yu.shouldFlatten(l,p)||(c0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&sh(e.expression)||"TSAsExpression"===e.type&&sh(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||aD(e.body))}function lh(e,t,n){var r=e.getValue(),u=r.arguments;if(0===u.length)return ND(["(",sa.printDanglingComments(e,t,!0),")"]);if(2===u.length&&"ArrowFunctionExpression"===u[0].type&&0===u[0].params.length&&"BlockStatement"===u[0].body.type&&"ArrayExpression"===u[1].type&&!u.find((function(e){return e.comments})))return ND(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);var a=!1,i=!1,o=!1,s=u.length-1,l=e.map((function(e,r){var u=e.getNode(),l=[n(e)];return r===s||(Bd(t.originalText,u,t)?(0===r&&(o=!0),a=!0,l.push(",",jD,jD)):l.push(",",ID)),i=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||!e.params||e.params.length<1)return!1;var r=!1;return t.each((function(e){var t=ND([n(e)]);r=r||HD(t)}),"params"),r}(u,e),ND(l)}),"arguments"),c=r.callee&&"Import"===r.callee.type||!th(t,"all")?"":",";function p(){return MD(ND(["(",RD(ND([ID,ND(l)])),c,ID,")"]),{shouldBreak:!0})}if(eD(u))return p();var f=function(e){if(2!==e.length)return!1;var t=e[0],n=e[1];return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type||"ConditionalExpression"===n.type||sh(n))}(u),d=function(e){var t=gd(e),n=Fd(e);return!Ud(t)&&!Xd(t)&&sh(t)&&(!n||n.type!==t.type)}(u);if(f||d){var D,h=(f?l.slice(1).some(HD):l.slice(0,-1).some(HD))||a||i,m=0;e.each((function(e){f&&0===m&&(D=[ND([e.call((function(e){return n(e,{expandFirstArg:!0})})),l.length>1?",":"",o?jD:ID,o?jD:""])].concat(l.slice(1))),d&&m===u.length-1&&(D=l.slice(0,-1).concat(e.call((function(e){return n(e,{expandLastArg:!0})})))),m++}),"arguments");var g=l.some(HD),y=ND(["(",ND(D),")"]);return ND([g?$D:"",VD([g||r.typeArguments||r.typeParameters?WD(p(),y):y,ND(f?["(",MD(D[0],{shouldBreak:!0}),ND(D.slice(1)),")"]:["(",ND(l.slice(0,-1)),MD(gd(D),{shouldBreak:!0}),")"]),p()],{shouldBreak:h})])}var v=ND(["(",RD(ND([LD,ND(l)])),WD(c),LD,")"]);return lD(e)?v:MD(v,{shouldBreak:l.some(HD)||a})}function ch(e,t,n){var r=e.getValue();if(!r.typeAnnotation)return"";var u=e.getParentNode(),a=r.definite||u&&"VariableDeclarator"===u.type&&u.definite,i="DeclareFunction"===u.type&&u.id===r;return Zd(t.originalText,r.typeAnnotation,t)?ND([" /*: ",e.call(n,"typeAnnotation")," */"]):ND([i?"":a?"!: ":": ",e.call(n,"typeAnnotation")])}function ph(e,t,n){var r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""}function fh(e,t,n,r,u){var a=e.getValue(),i=e.getParentNode(),o=a.parameters?"parameters":"params",s=AD(i),l=Ph(a),c=r&&!(a[o]&&a[o].some((function(e){return e.comments}))),p=u?ph(e,0,t):"",f=[];if(a[o]){var d=a[o].length-1;f=e.map((function(e,r){var u=[],i=e.getValue();return u.push(t(e)),r===d?a.rest&&u.push(",",ID):s||l||c?u.push(", "):Bd(n.originalText,i,n)?u.push(",",jD,jD):u.push(",",ID),ND(u)}),o)}if(a.rest&&f.push(ND(["...",e.call(t,"rest")])),0===f.length)return ND([p,"(",sa.printDanglingComments(e,n,!0,(function(e){return")"===Dd(n.originalText,e,n.locEnd)})),")"]);var D=gd(a[o]);if(c)return MD(ND([QD(p),"(",ND(f.map(QD)),")"]));var h=a[o].every((function(e){return!e.decorators}));if(l&&h)return ND([p,"(",ND(f),")"]);if(s)return ND([p,"(",ND(f),")"]);if((mD(i,n)||xD(i,n)||"TypeAlias"===i.type||"UnionTypeAnnotation"===i.type||"TSUnionType"===i.type||"IntersectionTypeAnnotation"===i.type||"FunctionTypeAnnotation"===i.type&&i.returnType===a)&&1===a[o].length&&null===a[o][0].name&&a[o][0].typeAnnotation&&null===a.typeParameters&&gD(a[o][0].typeAnnotation)&&!a.rest)return ND("always"===n.arrowParens?["(",ND(f),")"]:f);var m=!(D&&"RestElement"===D.type||a.rest);return ND([p,"(",RD(ND([LD,ND(f)])),WD(m&&th(n,"all")?",":""),LD,")"])}function dh(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&!(1!==(n=e.getValue()).params.length||n.rest||n.typeParameters||Rd(n)||"Identifier"!==n.params[0].type||n.params[0].typeAnnotation||n.params[0].comments||n.params[0].optional||n.predicate||n.returnType);var n}function Dh(e,t,n){var r=e.getValue(),u=[];return r.async&&u.push("async "),u.push("function"),r.generator&&u.push("*"),r.id&&u.push(" ",e.call(t,"id")),u.push(ph(e,0,t),MD(ND([fh(e,t,n),hh(e,t,n)])),r.body?" ":"",e.call(t,"body")),ND(u)}function hh(e,t,n){var r=e.getValue(),u=e.call(t,"returnType");if(r.returnType&&Zd(n.originalText,r.returnType,n))return ND([" /*: ",u," */"]);var a=[u];return r.returnType&&r.returnType.typeAnnotation&&a.unshift(": "),r.predicate&&a.push(r.returnType?" ":": ",e.call(t,"predicate")),ND(a)}function mh(e,t,n){var r=e.getValue(),u=t.semi?";":"",a=["export "],i=r.default||"ExportDefaultDeclaration"===r.type;if(i&&a.push("default "),a.push(sa.printDanglingComments(e,t,!0)),wD(r)&&a.push(jD),r.declaration)a.push(e.call(n,"declaration")),i&&"ClassDeclaration"!==r.declaration.type&&"FunctionDeclaration"!==r.declaration.type&&"TSInterfaceDeclaration"!==r.declaration.type&&"DeclareClass"!==r.declaration.type&&"DeclareFunction"!==r.declaration.type&&"TSDeclareFunction"!==r.declaration.type&&a.push(u);else{if(r.specifiers&&r.specifiers.length>0){var o=[],s=[],l=[];e.each((function(t){var r=e.getValue().type;"ExportSpecifier"===r?o.push(n(t)):"ExportDefaultSpecifier"===r?s.push(n(t)):"ExportNamespaceSpecifier"===r&&l.push(ND(["* as ",n(t)]))}),"specifiers");var c=0!==l.length&&0!==o.length,p=0!==s.length&&(0!==l.length||0!==o.length),f=o.length>1||s.length>0||r.specifiers&&r.specifiers.some((function(e){return e.comments})),d="";0!==o.length&&(d=f?MD(ND(["{",RD(ND([t.bracketSpacing?ID:LD,PD(ND([",",ID]),o)])),WD(th(t)?",":""),t.bracketSpacing?ID:LD,"}"])):ND(["{",t.bracketSpacing?" ":"",ND(o),t.bracketSpacing?" ":"","}"])),a.push("type"===r.exportKind?"type ":"",ND(s),ND([p?", ":""]),ND(l),ND([c?", ":""]),d)}else a.push("{}");r.source&&a.push(" from ",e.call(n,"source")),a.push(u)}return ND(a)}function gh(e,t){var n=pd(e);return n?Nr.strictEqual(n.type,"DeclareExportDeclaration"):t.unshift("declare "),ND(t)}function yh(e,t,n){var r=e.getValue();return r.modifiers&&r.modifiers.length?ND([PD(" ",e.map(n,"modifiers"))," "]):""}function vh(e,t,n,r){var u=e.getValue();if(!u[r])return"";if(!Array.isArray(u[r]))return e.call(n,r);var a=e.getNode(2),i=e.getNode(4);return null!=a&&AD(a)||0===u[r].length||1===u[r].length&&(Nh(u[r][0])||"GenericTypeAnnotation"===u[r][0].type&&Nh(u[r][0].id)||"TSTypeReference"===u[r][0].type&&Nh(u[r][0].typeName)||"NullableTypeAnnotation"===u[r][0].type||i&&"VariableDeclarator"===i.type&&a&&"TSTypeAnnotation"===a.type&&"TSUnionType"!==u[r][0].type&&"UnionTypeAnnotation"!==u[r][0].type&&"TSConditionalType"!==u[r][0].type&&"TSMappedType"!==u[r][0].type)?ND(["<",PD(", ",e.map(n,r)),">"]):MD(ND(["<",RD(ND([LD,PD(ND([",",ID]),e.map(n,r))])),WD("typescript"!==t.parser&&th(t,"all")?",":""),LD,">"]))}function Eh(e,t,n){var r=e.getValue(),u=[];r.abstract&&u.push("abstract "),u.push("class"),r.id&&u.push(" ",e.call(n,"id")),u.push(e.call(n,"typeParameters"));var a=[];if(r.superClass){var i=ND(["extends ",e.call(n,"superClass"),e.call(n,"superTypeParameters")]);r.implements&&0!==r.implements.length||r.superClass.comments&&0!==r.superClass.comments.length?a.push(MD(ND([ID,e.call((function(e){return sa.printComments(e,(function(){return i}),t)}),"superClass")]))):u.push(ND([" ",e.call((function(e){return sa.printComments(e,(function(){return i}),t)}),"superClass")]))}else r.extends&&r.extends.length>0&&u.push(" extends ",PD(", ",e.map(n,"extends")));return r.mixins&&r.mixins.length>0&&a.push(ID,"mixins ",MD(RD(PD(ND([",",ID]),e.map(n,"mixins"))))),r.implements&&r.implements.length>0&&a.push(ID,"implements",MD(RD(ND([ID,PD(ND([",",ID]),e.map(n,"implements"))])))),a.length>0&&u.push(MD(RD(ND(a)))),r.body&&r.body.comments&&Wd(t.originalText,r.body,t)?u.push(jD):u.push(" "),u.push(e.call(n,"body")),u}function Ch(e){var t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}function Ah(e,t,n){var r=e.call(n,"property"),u=e.getValue(),a=Ch(e);return u.computed?!u.property||DD(u.property)?ND([a,"[",r,"]"]):MD(ND([a,"[",RD(ND([LD,r])),LD,"]"])):ND([a,".",r])}function Fh(e,t,n){return ND(["::",e.call(n,"callee")])}function bh(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?LD:jD:LD}function xh(e,t,n,r){return e?jD:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?jD:LD:jD}function Sh(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||"ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!aD(e.right))}function wh(e,t,n,r){return Wd(r.originalText,t,r)?RD(ND([jD,n])):Yd(t)&&!Sh(t)||"ConditionalExpression"===t.type&&Yd(t.test)&&!Sh(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||vD(e)||"MemberExpression"===e.type)&&(vD(t)||pD(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?MD(RD(ND([ID,n]))):ND([" ",n])}function Bh(e,t,n,r,u,a){if(!r)return t;var i=wh(e,r,u,a);return MD(ND([t,n,i]))}function Th(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?ND([" ",t]):RD(ND([ID,t]))}function kh(e,t,n){var r=BD(e);return vd(r,t,n||"DirectiveLiteral"===e.type)}function Oh(e){var t=e.flags.split("").sort().join("");return"/".concat(e.pattern,"/").concat(t)}function Nh(e){if(gD(e)||hD(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){var t=e.types.filter((function(e){return"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type})).length,n=e.types.filter((function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type})).length;if(e.types.length-1===t&&n>0)return!0}return!1}function Ph(e){return e&&e.params&&1===e.params.length&&!e.params[0].comments&&("ObjectPattern"===e.params[0].type||"ArrayPattern"===e.params[0].type||"Identifier"===e.params[0].type&&e.params[0].typeAnnotation&&("TypeAnnotation"===e.params[0].typeAnnotation.type||"TSTypeAnnotation"===e.params[0].typeAnnotation.type)&&hD(e.params[0].typeAnnotation.typeAnnotation)||"FunctionTypeParam"===e.params[0].type&&hD(e.params[0].typeAnnotation)||"AssignmentPattern"===e.params[0].type&&("ObjectPattern"===e.params[0].left.type||"ArrayPattern"===e.params[0].left.type)&&("Identifier"===e.params[0].right.type||"ObjectExpression"===e.params[0].right.type&&0===e.params[0].right.properties.length||"ArrayExpression"===e.params[0].right.type&&0===e.params[0].right.elements.length))&&!e.rest}function Ih(e,t,n,r){var u=[],a=[];return e.each((function(e){u.push(ND(a)),u.push(MD(r(e))),a=[",",ID],e.getValue()&&Bd(t.originalText,e.getValue(),t)&&a.push(LD)}),n),ND(u)}var jh={preprocess:cd,print:function(e,t,n,r){var u=e.getValue(),a=!1,i=function(e,t,n,r){var u=e.getValue(),a=t.semi?";":"";if(!u)return"";if("string"==typeof u)return u;var i=function(e,t,n){var r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r),"File"===r.type)return t.__isVueForBindingLeft?e.call((function(e){var t=e.getValue().params;return od([t.length>1?"(":"",sd(od([",",ld]),e.map(n,"params")),t.length>1?")":""])}),"program","body",0):t.__isVueSlotScope?e.call((function(e){return sd(od([",",ld]),e.map(n,"params"))}),"program","body",0):void 0}(e,t,n);if(i)return i;var s=[];switch(u.type){case"JsExpressionRoot":return e.call(n,"node");case"JsonRoot":return ND([e.call(n,"node"),jD]);case"File":return u.program&&u.program.interpreter&&s.push(e.call((function(e){return e.call(n,"interpreter")}),"program")),s.push(e.call(n,"program")),ND(s);case"Program":return u.directives&&e.each((function(e){s.push(n(e),a,jD),Bd(t.originalText,e.getValue(),t)&&s.push(jD)}),"directives"),s.push(e.call((function(e){return uh(e,t,n)}),"body")),s.push(sa.printDanglingComments(e,t,!0)),(u.body.length||u.comments)&&s.push(jD),ND(s);case"EmptyStatement":return"";case"ExpressionStatement":if(u.directive)return ND([kh(u.expression,t,!0),a]);if("__vue_event_binding"===t.parser){var l=e.getParentNode();if("Program"===l.type&&1===l.body.length&&l.body[0]===u)return ND([e.call(n,"expression"),Nd(u.expression)?";":""])}return ND([e.call(n,"expression"),FD(t,e)?"":a]);case"ParenthesizedExpression":return ND(["(",e.call(n,"expression"),")"]);case"AssignmentExpression":return Bh(u.left,e.call(n,"left"),ND([" ",u.operator]),u.right,e.call(n,"right"),t);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":var c=e.getParentNode(),p=e.getParentNode(1),f=u!==c.body&&("IfStatement"===c.type||"WhileStatement"===c.type||"SwitchStatement"===c.type||"DoWhileStatement"===c.type),d=function e(t,n,r,u,a){var i=[],o=t.getValue();if(Yd(o)){dd(o.operator,o.left.operator)?i=i.concat(t.call((function(t){return e(t,n,r,!0,a)}),"left")):i.push(t.call(n,"left"));var s=Sh(o),l=("|>"===o.operator||"NGPipeExpression"===o.type||"|"===o.operator&&"__vue_expression"===r.parser)&&!Wd(r.originalText,o.right,r),c="NGPipeExpression"===o.type?"|":o.operator,p="NGPipeExpression"===o.type&&0!==o.arguments.length?MD(RD(ND([LD,": ",PD(ND([LD,":",WD(" ")]),t.map(n,"arguments").map((function(e){return qD(2,MD(e))})))]))):"",f=ND(s?[c," ",t.call(n,"right"),p]:[l?LD:"",c,l?" ":ID,t.call(n,"right"),p]),d=t.getParentNode();i.push(" ",a&&"LogicalExpression"===o.type||d.type===o.type||o.left.type===o.type||o.right.type===o.type?f:MD(f)),u&&o.comments&&(i=sa.printComments(t,(function(){return ND(i)}),r))}else i.push(t.call(n));return i}(e,n,t,!1,f);if(f)return ND(d);if(("CallExpression"===c.type||"OptionalCallExpression"===c.type)&&c.callee===u||"UnaryExpression"===c.type||("MemberExpression"===c.type||"OptionalMemberExpression"===c.type)&&!c.computed)return MD(ND([RD(ND([LD,ND(d)])),LD]));var D="ReturnStatement"===c.type||"JSXExpressionContainer"===c.type&&"JSXAttribute"===p.type||"NGPipeExpression"!==u.type&&("NGRoot"===c.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===c.type&&"NGMicrosyntax"===p.type&&1===p.body.length)||u===c.body&&"ArrowFunctionExpression"===c.type||u!==c.body&&"ForStatement"===c.type||"ConditionalExpression"===c.type&&"ReturnStatement"!==p.type&&"CallExpression"!==p.type&&"OptionalCallExpression"!==p.type,h="AssignmentExpression"===c.type||"VariableDeclarator"===c.type||"ClassProperty"===c.type||"TSAbstractClassProperty"===c.type||"ClassPrivateProperty"===c.type||"ObjectProperty"===c.type||"Property"===c.type,m=Yd(u.left)&&dd(u.operator,u.left.operator);if(D||Sh(u)&&!m||!Sh(u)&&h)return MD(ND(d));if(0===d.length)return"";var g=aD(u.right),y=ND(g?d.slice(1,-1):d.slice(1)),v=Symbol("logicalChain-"+ ++eh),E=MD(ND([d.length>0?d[0]:"",RD(y)]),{id:v});if(!g)return E;var C=gd(d);return MD(ND([E,WD(RD(C),C,{groupId:v})]));case"AssignmentPattern":return ND([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":var F=!("ArrayExpression"===u.expression.type||"ObjectExpression"===u.expression.type),b=MD(ND(["<",RD(ND([LD,e.call(n,"typeAnnotation")])),LD,">"])),x=ND([WD("("),RD(ND([LD,e.call(n,"expression")])),LD,WD(")")]);return F?VD([ND([b,e.call(n,"expression")]),ND([b,MD(x,{shouldBreak:!0})]),ND([b,e.call(n,"expression")])]):MD(ND([b,e.call(n,"expression")]));case"OptionalMemberExpression":case"MemberExpression":var S,w=e.getParentNode(),B=0;do{S=e.getParentNode(B),B++}while(S&&("MemberExpression"===S.type||"OptionalMemberExpression"===S.type||"TSNonNullExpression"===S.type));var T=S&&("NewExpression"===S.type||"BindExpression"===S.type||"VariableDeclarator"===S.type&&"Identifier"!==S.id.type||"AssignmentExpression"===S.type&&"Identifier"!==S.left.type)||u.computed||"Identifier"===u.object.type&&"Identifier"===u.property.type&&"MemberExpression"!==w.type&&"OptionalMemberExpression"!==w.type;return ND([e.call(n,"object"),T?Ah(e,0,n):MD(RD(ND([LD,Ah(e,0,n)])))]);case"MetaProperty":return ND([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return u.object&&s.push(e.call(n,"object")),s.push(MD(RD(ND([LD,Fh(e,0,n)])))),ND(s);case"Identifier":return ND([u.name,Ch(e),ch(e,t,n)]);case"V8IntrinsicIdentifier":return ND(["%",u.name]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return ND(["...",e.call(n,"argument"),ch(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return s.push(Dh(e,n,t)),u.body||s.push(a),ND(s);case"ArrowFunctionExpression":u.async&&s.push("async "),dh(e,t)?s.push(e.call(n,"params",0)):s.push(MD(ND([fh(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),hh(e,n,t)])));var k=sa.printDanglingComments(e,t,!0,(function(e){var n=kd(t.originalText,e,t);return"=>"===t.originalText.substr(n,2)}));k&&s.push(" ",k),s.push(" =>");var O=e.call((function(e){return n(e,r)}),"body");if(!Wd(t.originalText,u.body,t)&&("ArrayExpression"===u.body.type||"ObjectExpression"===u.body.type||"BlockStatement"===u.body.type||aD(u.body)||CD(u.body,t.originalText,t)||"ArrowFunctionExpression"===u.body.type||"DoExpression"===u.body.type))return MD(ND([ND(s)," ",O]));if("SequenceExpression"===u.body.type)return MD(ND([ND(s),MD(ND([" (",RD(ND([LD,O])),LD,")"]))]));var N=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(u.comments&&u.comments.length),P=r&&r.expandLastArg&&th(t,"all"),I="ConditionalExpression"===u.body.type&&!bd(u.body,!1);return MD(ND([ND(s),MD(ND([RD(ND([ID,I?WD("","("):"",O,I?WD("",")"):""])),N?ND([WD(P?",":""),LD]):""]))]));case"YieldExpression":return s.push("yield"),u.delegate&&s.push("*"),u.argument&&s.push(" ",e.call(n,"argument")),ND(s);case"AwaitExpression":s.push("await ",e.call(n,"argument"));var j=e.getParentNode();return("CallExpression"===j.type||"OptionalCallExpression"===j.type)&&j.callee===u||("MemberExpression"===j.type||"OptionalMemberExpression"===j.type)&&j.object===u?MD(ND([RD(ND([LD,ND(s)])),LD])):ND(s);case"ImportSpecifier":return u.importKind&&s.push(e.call(n,"importKind")," "),s.push(e.call(n,"imported")),u.local&&u.local.name!==u.imported.name&&s.push(" as ",e.call(n,"local")),ND(s);case"ExportSpecifier":return s.push(e.call(n,"local")),u.exported&&u.exported.name!==u.local.name&&s.push(" as ",e.call(n,"exported")),ND(s);case"ImportNamespaceSpecifier":return s.push("* as "),s.push(e.call(n,"local")),ND(s);case"ImportDefaultSpecifier":return e.call(n,"local");case"TSExportAssignment":return ND(["export = ",e.call(n,"expression"),a]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return mh(e,t,n);case"ExportAllDeclaration":return s.push("export "),"type"===u.exportKind&&s.push("type "),s.push("* from ",e.call(n,"source"),a),ND(s);case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return e.call(n,"exported");case"ImportDeclaration":s.push("import "),u.importKind&&"value"!==u.importKind&&s.push(u.importKind+" ");var L=[],_=[];return u.specifiers&&u.specifiers.length>0?(e.each((function(e){var t=e.getValue();"ImportDefaultSpecifier"===t.type||"ImportNamespaceSpecifier"===t.type?L.push(n(e)):_.push(n(e))}),"specifiers"),L.length>0&&s.push(PD(", ",L)),L.length>0&&_.length>0&&s.push(", "),1===_.length&&0===L.length&&u.specifiers&&!u.specifiers.some((function(e){return e.comments}))?s.push(ND(["{",t.bracketSpacing?" ":"",ND(_),t.bracketSpacing?" ":"","}"])):_.length>=1&&s.push(MD(ND(["{",RD(ND([t.bracketSpacing?ID:LD,PD(ND([",",ID]),_)])),WD(th(t)?",":""),t.bracketSpacing?ID:LD,"}"]))),s.push(" from ")):(u.importKind&&"type"===u.importKind||/{\s*}/.test(t.originalText.slice(t.locStart(u),t.locStart(u.source))))&&s.push("{} from "),s.push(e.call(n,"source"),a),ND(s);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":var M=e.call((function(e){return uh(e,t,n)}),"body"),R=u.body.find((function(e){return"EmptyStatement"!==e.type})),q=u.directives&&u.directives.length>0,V=e.getParentNode(),U=e.getParentNode(1);return R||q||Rd(u)||"ArrowFunctionExpression"!==V.type&&"FunctionExpression"!==V.type&&"FunctionDeclaration"!==V.type&&"ObjectMethod"!==V.type&&"ClassMethod"!==V.type&&"ClassPrivateMethod"!==V.type&&"ForStatement"!==V.type&&"WhileStatement"!==V.type&&"DoWhileStatement"!==V.type&&"DoExpression"!==V.type&&("CatchClause"!==V.type||U.finalizer)&&"TSModuleDeclaration"!==V.type?(s.push("{"),q&&e.each((function(e){s.push(RD(ND([jD,n(e),a]))),Bd(t.originalText,e.getValue(),t)&&s.push(jD)}),"directives"),R&&s.push(RD(ND([jD,M]))),s.push(sa.printDanglingComments(e,t)),s.push(jD,"}"),ND(s)):"{}";case"ReturnStatement":return s.push("return"),u.argument&&(TD(t,u.argument)?s.push(ND([" (",RD(ND([jD,e.call(n,"argument")])),jD,")"])):"LogicalExpression"===u.argument.type||"BinaryExpression"===u.argument.type||"SequenceExpression"===u.argument.type?s.push(MD(ND([WD(" ("," "),RD(ND([LD,e.call(n,"argument")])),LD,WD(")")]))):s.push(" ",e.call(n,"argument"))),Rd(u)&&s.push(" ",sa.printDanglingComments(e,t,!0)),s.push(a),ND(s);case"NewExpression":case"OptionalCallExpression":case"CallExpression":var W="NewExpression"===u.type,$=Ch(e);if(!W&&"Identifier"===u.callee.type&&("require"===u.callee.name||"define"===u.callee.name)||1===u.arguments.length&&CD(u.arguments[0],t.originalText,t)||!W&&AD(u,e.getParentNode()))return ND([W?"new ":"",e.call(n,"callee"),$,ph(e,0,n),ND(["(",PD(", ",e.map(n,"arguments")),")"])]);var J="Identifier"===u.callee.type&&qd(u.callee.trailingComments);if(J&&(u.callee.trailingComments[0].printed=!0),!W&&fD(u.callee))return function(e,t,n){var r=[];function u(e){var n=t.originalText,r=kd(n,e,t);return")"==n.charAt(r)?Td(n,r+1,t):Bd(n,e,t)}var a=e.getValue();r.unshift({node:a,printed:ND([Ch(e),ph(e,0,n),lh(e,t,n)])}),e.call((function(e){return function e(a){var i=a.getValue();"CallExpression"!==i.type&&"OptionalCallExpression"!==i.type||!fD(i.callee)&&"CallExpression"!==i.callee.type&&"OptionalCallExpression"!==i.callee.type?fD(i)?(r.unshift({node:i,needsParens:ad(a,t),printed:sa.printComments(a,(function(){return"OptionalMemberExpression"===i.type||"MemberExpression"===i.type?Ah(a,0,n):Fh(a,0,n)}),t)}),a.call((function(t){return e(t)}),"object")):"TSNonNullExpression"===i.type?(r.unshift({node:i,printed:sa.printComments(a,(function(){return"!"}),t)}),a.call((function(t){return e(t)}),"expression")):r.unshift({node:i,printed:a.call(n)}):(r.unshift({node:i,printed:ND([sa.printComments(a,(function(){return ND([Ch(a),ph(a,0,n),lh(a,t,n)])}),t),u(i)?jD:""])}),a.call((function(t){return e(t)}),"callee"))}(e)}),"callee");for(var i=[],o=[r[0]],s=1;s0&&i.push(o);var p=i.length>=2&&!i[1][0].node.comments&&function(n){var r=e.getParentNode(),u=r&&"ExpressionStatement"===r.type,a=n[1].length&&n[1][0].node.computed;if(1===n[0].length){var i=n[0][0].node;return"ThisExpression"===i.type||"Identifier"===i.type&&(c(i.name)||u&&i.name.length<=t.tabWidth||a)}var o=gd(n[0]).node;return("MemberExpression"===o.type||"OptionalMemberExpression"===o.type)&&"Identifier"===o.property.type&&(c(o.property.name)||a)}(i);function f(e){var t=e.map((function(e){return e.printed}));return ND(e.length>0&&e[e.length-1].needsParens?["("].concat(A(t),[")"]):t)}var d=i.map(f),D=ND(d),h=p?3:2,m=i.slice(0,h).reduce((function(e,t){return e.concat(t)}),[]),g=m.slice(1,-1).some((function(e){return Ud(e.node)}))||m.slice(0,-1).some((function(e){return Xd(e.node)}))||i[h]&&Ud(i[h][0].node);if(i.length<=h&&!g)return lD(e)?D:MD(D);var y,v,E=gd(p?i.slice(1,2)[0]:i[0]).node,C="CallExpression"!==E.type&&"OptionalCallExpression"!==E.type&&u(E),F=ND([f(i[0]),p?ND(i.slice(1,2).map(f)):"",C?jD:"",function(e){return 0===e.length?"":RD(MD(ND([jD,PD(jD,e.map(f))])))}(i.slice(p?2:1))]),b=r.map((function(e){return e.node})).filter(Kd);return g||b.length>=3||d.slice(0,-1).some(HD)||(y=gd(d),v=gd(gd(i)).node,Kd(v)&&HD(y)&&b.slice(0,-1).some((function(e){return e.arguments.some(nD)})))?MD(F):ND([HD(D)||C?$D:"",VD([D,F])])}(e,t,n);var z=ND([W?"new ":"",e.call(n,"callee"),$,J?"/*:: ".concat(u.callee.trailingComments[0].value.substring(2).trim()," */"):"",ph(e,0,n),lh(e,t,n)]);return Kd(u.callee)?MD(z):z;case"TSInterfaceDeclaration":return u.declare&&s.push("declare "),s.push(u.abstract?"abstract ":"",yh(e,0,n),"interface ",e.call(n,"id"),u.typeParameters?e.call(n,"typeParameters"):""," "),u.extends&&u.extends.length&&s.push(MD(RD(ND([LD,"extends ",(1===u.extends.length?Hd:RD)(PD(ND([",",ID]),e.map(n,"extends")))," "])))),s.push(e.call(n,"body")),ND(s);case"ObjectTypeInternalSlot":return ND([u.static?"static ":"","[[",e.call(n,"id"),"]]",Ch(e),u.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":var G;G="TSTypeLiteral"===u.type?"members":"TSInterfaceBody"===u.type?"body":"properties";var X="ObjectTypeAnnotation"===u.type,H=[];X&&H.push("indexers","callProperties","internalSlots"),H.push(G);var Y=H.map((function(e){return u[e][0]})).sort((function(e,n){return t.locStart(e)-t.locStart(n)}))[0],K=e.getParentNode(0),Q=X&&K&&("InterfaceDeclaration"===K.type||"DeclareInterface"===K.type||"DeclareClass"===K.type)&&"body"===e.getName(),Z="TSInterfaceBody"===u.type||Q||"ObjectPattern"===u.type&&"FunctionDeclaration"!==K.type&&"FunctionExpression"!==K.type&&"ArrowFunctionExpression"!==K.type&&"ObjectMethod"!==K.type&&"ClassMethod"!==K.type&&"ClassPrivateMethod"!==K.type&&"AssignmentPattern"!==K.type&&"CatchClause"!==K.type&&u.properties.some((function(e){return e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)}))||"ObjectPattern"!==u.type&&Y&&md(t.originalText,t.locStart(u),t.locStart(Y)),ee=Q?";":"TSInterfaceBody"===u.type||"TSTypeLiteral"===u.type?WD(a,";"):",",te=u.exact?"{|":"{",ne=u.exact?"|}":"}",re=[];H.forEach((function(r){e.each((function(e){var r=e.getValue();re.push({node:r,printed:n(e),loc:t.locStart(r)})}),r)}));var ue=[],ae=re.sort((function(e,t){return e.loc-t.loc})).map((function(e){var n=ND(ue.concat(MD(e.printed)));return ue=[ee,ID],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!Ad(e.node)||ue.shift(),Bd(t.originalText,e.node,t)&&ue.push(jD),n}));u.inexact&&ae.push(ND(ue.concat(MD("..."))));var ie,oe=gd(u[G]),se=!(oe&&("RestProperty"===oe.type||"RestElement"===oe.type||Ad(oe)||u.inexact));if(0===ae.length){if(!Rd(u))return ND([te,ne,ch(e,t,n)]);ie=MD(ND([te,sa.printDanglingComments(e,t),LD,ne,Ch(e),ch(e,t,n)]))}else ie=ND([te,RD(ND([t.bracketSpacing?ID:LD,ND(ae)])),WD(se&&(","!==ee||th(t))?ee:""),ND([t.bracketSpacing?ID:LD,ne]),Ch(e),ch(e,t,n)]);var le=e.getParentNode(2);return"ObjectPattern"===u.type&&K&&Ph(K)&&!u.decorators&&K.params[0]===u||Nh(u)&&le&&Ph(le)&&le.params[0].typeAnnotation&&le.params[0].typeAnnotation.typeAnnotation===u?ie:MD(ie,{shouldBreak:Z});case"ObjectProperty":case"Property":return u.method||"get"===u.kind||"set"===u.kind?ih(e,t,n):(s.push(u.shorthand?e.call(n,"value"):Bh(u.key,ah(e,t,n),":",u.value,e.call(n,"value"),t)),ND(s));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":return u.decorators&&0!==u.decorators.length&&s.push(nh(e,t,n)),u.accessibility&&s.push(u.accessibility+" "),u.static&&s.push("static "),"TSAbstractMethodDefinition"===u.type&&s.push("abstract "),s.push(ih(e,t,n)),ND(s);case"ObjectMethod":return ih(e,t,n);case"Decorator":return ND(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":if(0===u.elements.length)Rd(u)?s.push(MD(ND(["[",sa.printDanglingComments(e,t),LD,"]"]))):s.push("[]");else{var ce=gd(u.elements),pe=!(ce&&"RestElement"===ce.type),fe=pe&&null===ce,de=u.elements.length>1&&u.elements.every((function(e,t,n){var r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;var u=n[t+1];if(u&&r!==u.type)return!1;var a="ArrayExpression"===r?"elements":"properties";return e[a]&&e[a].length>1}));s.push(MD(ND(["[",RD(ND([LD,Ih(e,t,"elements",n)])),fe?",":"",WD(pe&&!fe&&th(t)?",":""),sa.printDanglingComments(e,t,!0),LD,"]"]),{shouldBreak:de}))}return s.push(Ch(e),ch(e,t,n)),ND(s);case"SequenceExpression":var De=e.getParentNode(0);if("ExpressionStatement"===De.type||"ForStatement"===De.type){var he=[];return e.each((function(e){0===e.getName()?he.push(n(e)):he.push(",",RD(ND([ID,n(e)])))}),"expressions"),MD(ND(he))}return MD(ND([PD(ND([",",ID]),e.map(n,"expressions"))]));case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return Oh(u);case"NumericLiteral":return Ed(u.extra.raw);case"BigIntLiteral":return(u.bigint||(u.extra?u.extra.raw:u.raw)).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":if(u.regex)return Oh(u.regex);if("number"==typeof u.value)return Ed(u.raw);if("string"!=typeof u.value)return""+u.value;var me=e.getParentNode(1);return kh(u,t,"typescript"===t.parser&&"string"==typeof u.value&&me&&("Program"===me.type||"BlockStatement"===me.type));case"Directive":return e.call(n,"value");case"DirectiveLiteral":return kh(u,t);case"UnaryExpression":return s.push(u.operator),/[a-z]$/.test(u.operator)&&s.push(" "),s.push(u.argument.comments&&u.argument.comments.length>0?MD(ND(["(",RD(ND([LD,e.call(n,"argument")])),LD,")"])):e.call(n,"argument")),ND(s);case"UpdateExpression":return s.push(e.call(n,"argument"),u.operator),u.prefix&&s.reverse(),ND(s);case"ConditionalExpression":return rh(e,t,n,{beforeParts:function(){return[e.call(n,"test")]},afterParts:function(e){return[e?LD:""]},shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyName:"test",breakNested:!0});case"VariableDeclaration":var ge,ye=e.map((function(e){return n(e)}),"declarations"),ve=e.getParentNode(),Ee="ForStatement"===ve.type||"ForInStatement"===ve.type||"ForOfStatement"===ve.type||"ForAwaitStatement"===ve.type,Ce=u.declarations.some((function(e){return e.init}));return 1!==ye.length||u.declarations[0].comments?ye.length>0&&(ge=RD(ye[0])):ge=ye[0],s=[u.declare?"declare ":"",u.kind,ge?ND([" ",ge]):"",RD(ND(ye.slice(1).map((function(e){return ND([",",Ce&&!Ee?jD:ID,e])}))))],Ee&&ve.body!==u||s.push(a),MD(ND(s));case"TSTypeAliasDeclaration":u.declare&&s.push("declare ");var Ae=wh(u.id,u.typeAnnotation,u.typeAnnotation&&e.call(n,"typeAnnotation"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",Ae,a),MD(ND(s));case"VariableDeclarator":return Bh(u.id,e.call(n,"id")," =",u.init,u.init&&e.call(n,"init"),t);case"WithStatement":return MD(ND(["with (",e.call(n,"object"),")",Th(u.body,e.call(n,"body"))]));case"IfStatement":var Fe=Th(u.consequent,e.call(n,"consequent")),be=MD(ND(["if (",MD(ND([RD(ND([LD,e.call(n,"test")])),LD])),")",Fe]));if(s.push(be),u.alternate){var xe=Xd(u.consequent)&&u.consequent.comments.some((function(e){return e.trailing&&!Yp.isBlockComment(e)}))||wD(u);s.push("BlockStatement"!==u.consequent.type||xe?jD:" "),Rd(u)&&s.push(sa.printDanglingComments(e,t,!0),xe?jD:" "),s.push("else",MD(Th(u.alternate,e.call(n,"alternate"),"IfStatement"===u.alternate.type)))}return ND(s);case"ForStatement":var Se=Th(u.body,e.call(n,"body")),we=sa.printDanglingComments(e,t,!0),Be=we?ND([we,LD]):"";return ND(u.init||u.test||u.update?[Be,MD(ND(["for (",MD(ND([RD(ND([LD,e.call(n,"init"),";",ID,e.call(n,"test"),";",ID,e.call(n,"update")])),LD])),")",Se]))]:[Be,MD(ND(["for (;;)",Se]))]);case"WhileStatement":return MD(ND(["while (",MD(ND([RD(ND([LD,e.call(n,"test")])),LD])),")",Th(u.body,e.call(n,"body"))]));case"ForInStatement":return MD(ND([u.each?"for each (":"for (",e.call(n,"left")," in ",e.call(n,"right"),")",Th(u.body,e.call(n,"body"))]));case"ForOfStatement":case"ForAwaitStatement":return MD(ND(["for","ForAwaitStatement"===u.type||u.await?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",Th(u.body,e.call(n,"body"))]));case"DoWhileStatement":var Te=Th(u.body,e.call(n,"body")),ke=MD(ND(["do",Te]));return(s=[ke]).push("BlockStatement"===u.body.type?" ":jD),s.push("while ("),s.push(MD(ND([RD(ND([LD,e.call(n,"test")])),LD])),")",a),ND(s);case"DoExpression":return ND(["do ",e.call(n,"body")]);case"BreakStatement":return s.push("break"),u.label&&s.push(" ",e.call(n,"label")),s.push(a),ND(s);case"ContinueStatement":return s.push("continue"),u.label&&s.push(" ",e.call(n,"label")),s.push(a),ND(s);case"LabeledStatement":return ND("EmptyStatement"===u.body.type?[e.call(n,"label"),":;"]:[e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return ND(["try ",e.call(n,"block"),u.handler?ND([" ",e.call(n,"handler")]):"",u.finalizer?ND([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(u.param){var Oe=u.param.comments&&u.param.comments.some((function(e){return!Yp.isBlockComment(e)||e.leading&&hd(t.originalText,t.locEnd(e))||e.trailing&&hd(t.originalText,t.locStart(e),{backwards:!0})})),Ne=e.call(n,"param");return ND(["catch ",ND(Oe?["(",RD(ND([LD,Ne])),LD,") "]:["(",Ne,") "]),e.call(n,"body")])}return ND(["catch ",e.call(n,"body")]);case"ThrowStatement":return ND(["throw ",e.call(n,"argument"),a]);case"SwitchStatement":return ND([MD(ND(["switch (",RD(ND([LD,e.call(n,"discriminant")])),LD,")"]))," {",u.cases.length>0?RD(ND([jD,PD(jD,e.map((function(e){var r=e.getValue();return ND([e.call(n),u.cases.indexOf(r)!==u.cases.length-1&&Bd(t.originalText,r,t)?jD:""])}),"cases"))])):"",jD,"}"]);case"SwitchCase":u.test?s.push("case ",e.call(n,"test"),":"):s.push("default:");var Pe=u.consequent.filter((function(e){return"EmptyStatement"!==e.type}));if(Pe.length>0){var Ie=e.call((function(e){return uh(e,t,n)}),"consequent");s.push(1===Pe.length&&"BlockStatement"===Pe[0].type?ND([" ",Ie]):RD(ND([jD,Ie])))}return ND(s);case"DebuggerStatement":return ND(["debugger",a]);case"JSXAttribute":if(s.push(e.call(n,"name")),u.value){var je;if(vD(u.value)){var Le=BD(u.value).replace(/'/g,"'").replace(/"/g,'"'),_e=wd(Le,t.jsxSingleQuote?"'":'"'),Me="'"===_e?"'":""";Le=Le.slice(1,-1).replace(new RegExp(_e,"g"),Me),je=ND([_e,Le,_e])}else je=e.call(n,"value");s.push("=",je)}return ND(s);case"JSXIdentifier":return""+u.name;case"JSXNamespacedName":return PD(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return PD(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return PD(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return ND(["{",e.call((function(e){var r=ND(["...",n(e)]),u=e.getValue();return u.comments&&u.comments.length?ND([RD(ND([LD,sa.printComments(e,(function(){return r}),t)])),LD]):r}),"JSXSpreadAttribute"===u.type?"argument":"expression"),"}"]);case"JSXExpressionContainer":var Re=e.getParentNode(0),qe=!("JSXAttribute"===Re.type&&u.expression.comments&&u.expression.comments.length>0)&&("ArrayExpression"===u.expression.type||"ObjectExpression"===u.expression.type||"ArrowFunctionExpression"===u.expression.type||"CallExpression"===u.expression.type||"OptionalCallExpression"===u.expression.type||"FunctionExpression"===u.expression.type||"JSXEmptyExpression"===u.expression.type||"TemplateLiteral"===u.expression.type||"TaggedTemplateExpression"===u.expression.type||"DoExpression"===u.expression.type||aD(Re)&&("ConditionalExpression"===u.expression.type||Yd(u.expression)));return MD(ND(qe?["{",e.call(n,"expression"),JD,"}"]:["{",RD(ND([LD,e.call(n,"expression")])),LD,JD,"}"]));case"JSXFragment":case"JSXElement":var Ve=sa.printComments(e,(function(){return function(e,t,n){var r=e.getValue();if("JSXElement"===r.type&&Qd(r))return ND([e.call(n,"openingElement"),e.call(n,"closingElement")]);var u=e.call(n,"JSXElement"===r.type?"openingElement":"openingFragment"),a=e.call(n,"JSXElement"===r.type?"closingElement":"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return ND([u,ND(e.map(n,"children")),a]);r.children=r.children.map((function(e){return iD(e)?{type:"JSXText",value:" ",raw:" "}:e}));for(var i=r.children.filter(aD).length>0,o=r.children.filter((function(e){return"JSXExpressionContainer"===e.type})).length>1,s="JSXElement"===r.type&&r.openingElement.attributes.length>1,l=HD(u)||i||s||o,c=t.singleQuote?"{' '}":'{" "}',p=WD(ND([c,LD])," "),f=function(e,t,n,r,u){var a=e.getValue(),i=[];return e.map((function(e,t){var o=e.getValue();if(sD(o)){var s=BD(o);if(cD(o)){var l,c=s.split(SD);if(""===c[0]&&(i.push(""),c.shift(),/\n/.test(c[0])?i.push(xh(u,c[1],o,a.children[t+1])):i.push(r),c.shift()),""===gd(c)&&(c.pop(),l=c.pop()),0===c.length)return;if(c.forEach((function(e,t){i.push(t%2==1?ID:e)})),void 0!==l)if(/\n/.test(l)){var p=a.children[t+1];i.push(xh(u,gd(i),o,p))}else i.push(r);else{var f=a.children[t+1];i.push(bh(u,gd(i),o,f))}}else/\n/.test(s)?s.match(/\n/g).length>1&&(i.push(""),i.push(jD)):(i.push(""),i.push(r))}else{var d=n(e);i.push(d);var D=a.children[t+1];if(D&&cD(D)){var h=BD(D).trim().split(SD)[0];i.push(bh(u,h,o,D))}else i.push(jD)}}),"children"),i}(e,0,n,p,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),d=r.children.filter((function(e){return cD(e)})).length>0,D=f.length-2;D>=0;D--){var h=f[D]===p&&""===f[D+1]&&(f[D+2]===LD||f[D+2]===jD);f[D]===jD&&""===f[D+1]&&f[D+2]===jD&&d||""===f[D]&&""===f[D+1]||(f[D]===LD||f[D]===jD)&&""===f[D+1]&&f[D+2]===p||f[D]===p&&""===f[D+1]&&f[D+2]===p||f[D]===LD&&""===f[D+1]&&f[D+2]===jD||f[D]===jD&&""===f[D+1]&&f[D+2]===LD?f.splice(D,2):h&&f.splice(D+1,2)}for(;f.length&&(YD(gd(f))||KD(gd(f)));)f.pop();for(;f.length&&(YD(f[0])||KD(f[0]))&&(YD(f[1])||KD(f[1]));)f.shift(),f.shift();var m=[];f.forEach((function(e,t){if(e===p){if(1===t&&""===f[t-1])return 2===f.length?void m.push(c):void m.push(ND([c,jD]));if(t===f.length-1)return void m.push(c);if(""===f[t-1]&&f[t-2]===jD)return void m.push(c)}m.push(e),HD(e)&&(l=!0)}));var g=d?UD(m):MD(ND(m),{shouldBreak:!0}),y=MD(ND([u,RD(ND([jD,g])),jD,a]));return l?y:VD([MD(ND([u,ND(f),a])),y])}(e,t,n)}),t);return function(e,t,n){var r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;var u=Sd(e,["ArrowFunctionExpression","CallExpression","JSXExpressionContainer"])||Sd(e,["ArrowFunctionExpression","OptionalCallExpression","JSXExpressionContainer"]),a=ad(e,n);return MD(ND([a?"":WD("("),RD(ND([LD,t])),LD,a?"":WD(")")]),{shouldBreak:u})}(e,Ve,t);case"JSXOpeningElement":var Ue=e.getValue(),We=Ue.name&&Ue.name.comments&&Ue.name.comments.length>0||Ue.typeParameters&&Ue.typeParameters.comments&&Ue.typeParameters.comments.length>0;if(Ue.selfClosing&&!Ue.attributes.length&&!We)return ND(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(Ue.attributes&&1===Ue.attributes.length&&Ue.attributes[0].value&&vD(Ue.attributes[0].value)&&!Ue.attributes[0].value.value.includes("\n")&&!We&&(!Ue.attributes[0].comments||!Ue.attributes[0].comments.length))return MD(ND(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",ND(e.map(n,"attributes")),Ue.selfClosing?" />":">"]));var $e=Ue.attributes.length&&Xd(gd(Ue.attributes)),Je=!Ue.attributes.length&&!We||t.jsxBracketSameLine&&(!We||Ue.attributes.length)&&!$e,ze=Ue.attributes&&Ue.attributes.some((function(e){return e.value&&vD(e.value)&&e.value.value.includes("\n")}));return MD(ND(["<",e.call(n,"name"),e.call(n,"typeParameters"),ND([RD(ND(e.map((function(e){return ND([ID,n(e)])}),"attributes"))),Ue.selfClosing?ID:Je?">":LD]),Ue.selfClosing?"/>":Je?"":">"]),{shouldBreak:ze});case"JSXClosingElement":return ND([""]);case"JSXOpeningFragment":case"JSXClosingFragment":var Ge=u.comments&&u.comments.length,Xe=Ge&&!u.comments.every(Yp.isBlockComment),He="JSXOpeningFragment"===u.type;return ND([He?"<":""]);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":var Ye=u.comments&&!u.comments.every(Yp.isBlockComment);return ND([sa.printDanglingComments(e,t,!Ye),Ye?jD:""]);case"ClassBody":return u.comments||0!==u.body.length?ND(["{",u.body.length>0?RD(ND([jD,e.call((function(e){return uh(e,t,n)}),"body")])):sa.printDanglingComments(e,t),jD,"}"]):"{}";case"ClassProperty":case"TSAbstractClassProperty":case"ClassPrivateProperty":u.decorators&&0!==u.decorators.length&&s.push(nh(e,t,n)),u.accessibility&&s.push(u.accessibility+" "),u.declare&&s.push("declare "),u.static&&s.push("static "),"TSAbstractClassProperty"===u.type&&s.push("abstract "),u.readonly&&s.push("readonly ");var Ke=Ld(u);return Ke&&s.push(Ke),s.push(ah(e,t,n),Ch(e),ch(e,t,n)),u.value&&s.push(" =",wh(u.key,u.value,e.call(n,"value"),t)),s.push(a),MD(ND(s));case"ClassDeclaration":case"ClassExpression":return u.declare&&s.push("declare "),s.push(ND(Eh(e,t,n))),ND(s);case"TSInterfaceHeritage":return s.push(e.call(n,"expression")),u.typeParameters&&s.push(e.call(n,"typeParameters")),ND(s);case"TemplateElement":return PD(_D,u.value.raw.split(/\r?\n/g));case"TemplateLiteral":var Qe=e.map(n,"expressions"),Ze=e.getParentNode();if(uD(u,Ze)){var et=function(e,t,n){var r=e.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(r.length>1||r.some((function(e){return 0!==e.length}))){for(var u=[],a=t.map((function(e){return"${"+ZD(e,Object.assign({},n,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"})),i=[{hasLineBreak:!1,cells:[]}],o=1;o ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),st&&s.push(")"),MD(ND(s));case"TSRestType":return ND(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return ND([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":return ND([e.call(n,"name"),Ch(e),u.name?": ":"",e.call(n,"typeAnnotation")]);case"GenericTypeAnnotation":return ND([e.call(n,"id"),e.call(n,"typeParameters")]);case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return("DeclareInterface"===u.type||u.declare)&&s.push("declare "),s.push("interface"),"DeclareInterface"!==u.type&&"InterfaceDeclaration"!==u.type||s.push(" ",e.call(n,"id"),e.call(n,"typeParameters")),u.extends.length>0&&s.push(MD(RD(ND([ID,"extends ",(1===u.extends.length?Hd:RD)(PD(ND([",",ID]),e.map(n,"extends")))])))),s.push(" ",e.call(n,"body")),MD(ND(s));case"ClassImplements":case"InterfaceExtends":return ND([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return ND([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":for(var lt=e.map(n,"types"),ct=[],pt=!1,ft=0;ft1&&(pt=!0),ct.push(" & ",ft>1?RD(lt[ft]):lt[ft])):ct.push(RD(ND([" &",ID,lt[ft]])));return MD(ND(ct));case"TSUnionType":case"UnionTypeAnnotation":var dt=e.getParentNode(),Dt=!("TypeParameterInstantiation"===dt.type||"TSTypeParameterInstantiation"===dt.type||"GenericTypeAnnotation"===dt.type||"TSTypeReference"===dt.type||"TSTypeAssertion"===dt.type||"TupleTypeAnnotation"===dt.type||"TSTupleType"===dt.type||"FunctionTypeParam"===dt.type&&!dt.name||("TypeAlias"===dt.type||"VariableDeclarator"===dt.type||"TSTypeAliasDeclaration"===dt.type)&&Wd(t.originalText,u,t)),ht=Nh(u),mt=e.map((function(e){var r=e.call(n);return ht||(r=qD(2,r)),sa.printComments(e,(function(){return r}),t)}),"types");if(ht)return PD(" | ",mt);var gt=Dt&&!Wd(t.originalText,u,t),yt=ND([WD(ND([gt?ID:"","| "])),PD(ND([ID,"| "]),mt)]);return ad(e,t)?MD(ND([RD(yt),LD])):MD("TupleTypeAnnotation"===dt.type&&dt.types.length>1||"TSTupleType"===dt.type&&dt.elementTypes.length>1?ND([RD(ND([WD(ND(["(",LD])),yt])),LD,WD(")")]):Dt?RD(yt):yt);case"NullableTypeAnnotation":return ND(["?",e.call(n,"typeAnnotation")]);case"TSNullKeyword":case"NullLiteralTypeAnnotation":return"null";case"ThisTypeAnnotation":return"this";case"NumberTypeAnnotation":return"number";case"ObjectTypeCallProperty":return u.static&&s.push("static "),s.push(e.call(n,"value")),ND(s);case"ObjectTypeIndexer":var vt=Ld(u);return ND([vt||"","[",e.call(n,"id"),u.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")]);case"ObjectTypeProperty":var Et=Ld(u),Ct="";return u.proto?Ct="proto ":u.static&&(Ct="static "),ND([Ct,rD(u)?u.kind+" ":"",Et||"",ah(e,t,n),Ch(e),tD(u,t)?"":": ",e.call(n,"value")]);case"QualifiedTypeIdentifier":return ND([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return kh(u,t);case"NumberLiteralTypeAnnotation":return Nr.strictEqual(o(u.value),"number"),Ed(null!=u.extra?u.extra.raw:u.raw);case"StringTypeAnnotation":return"string";case"DeclareTypeAlias":case"TypeAlias":("DeclareTypeAlias"===u.type||u.declare)&&s.push("declare ");var At=wh(u.id,u.right,e.call(n,"right"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",At,a),MD(ND(s));case"TypeCastExpression":var Ft=e.getValue(),bt=Ft&&Ft.typeAnnotation&&Ft.typeAnnotation.range&&t.originalText.substring(Ft.typeAnnotation.range[0]).match(/^\/\*\s*:/);return ND(["(",e.call(n,"expression"),bt?" /*":"",": ",e.call(n,"typeAnnotation"),bt?" */":"",")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":var xt=e.getValue(),St=xt.range?t.originalText.substring(0,xt.range[0]).lastIndexOf("/*"):-1;return St>=0&&t.originalText.substring(St).match(/^\/\*\s*::/)?ND(["/*:: ",vh(e,t,n,"params")," */"]):vh(e,t,n,"params");case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return vh(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":var wt=e.getParentNode();if("TSMappedType"===wt.type)return s.push("[",e.call(n,"name")),u.constraint&&s.push(" in ",e.call(n,"constraint")),s.push("]"),ND(s);var Bt=Ld(u);Bt&&s.push(Bt),s.push(e.call(n,"name")),u.bound&&(s.push(": "),s.push(e.call(n,"bound"))),u.constraint&&s.push(" extends ",e.call(n,"constraint")),u.default&&s.push(" = ",e.call(n,"default"));var Tt=e.getNode(2);return wt.params&&1===wt.params.length&&bD(t)&&!u.constraint&&"ArrowFunctionExpression"===Tt.type&&s.push(","),ND(s);case"TypeofTypeAnnotation":return ND(["typeof ",e.call(n,"argument")]);case"VoidTypeAnnotation":return"void";case"InferredPredicate":return"%checks";case"DeclaredPredicate":return ND(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"TSBooleanKeyword":return"boolean";case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSVoidKeyword":return"void";case"TSAsExpression":return ND([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return ND([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return u.export&&s.push("export "),u.accessibility&&s.push(u.accessibility+" "),u.static&&s.push("static "),u.readonly&&s.push("readonly "),s.push(ah(e,t,n),Ch(e)),u.typeAnnotation&&(s.push(": "),s.push(e.call(n,"typeAnnotation"))),u.initializer&&s.push(" = ",e.call(n,"initializer")),ND(s);case"TSParameterProperty":return u.accessibility&&s.push(u.accessibility+" "),u.export&&s.push("export "),u.static&&s.push("static "),u.readonly&&s.push("readonly "),s.push(e.call(n,"parameter")),ND(s);case"TSTypeReference":return ND([e.call(n,"typeName"),vh(e,t,n,"typeParameters")]);case"TSTypeQuery":return ND(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":var kt=e.getParentNode();return ND([u.export?"export ":"",u.accessibility?ND([u.accessibility," "]):"",u.static?"static ":"",u.readonly?"readonly ":"","[",u.parameters?ND(e.map(n,"parameters")):"","]: ",e.call(n,"typeAnnotation"),"ClassBody"===kt.type?a:""]);case"TSTypePredicate":return ND([u.asserts?"asserts ":"",e.call(n,"parameterName"),u.typeAnnotation?ND([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return ND([e.call(n,"expression"),"!"]);case"TSThisType":return"this";case"TSImportType":return ND([u.isTypeOf?"typeof ":"","import(",e.call(n,"parameter"),")",u.qualifier?ND([".",e.call(n,"qualifier")]):"",vh(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return ND([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":return"TSCallSignatureDeclaration"!==u.type&&s.push("new "),s.push(MD(fh(e,n,t,!1,!0))),u.returnType&&s.push("TSConstructorType"===u.type?" => ":": ",e.call(n,"returnType")),ND(s);case"TSTypeOperator":return ND([u.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":var Ot=md(t.originalText,t.locStart(u),t.locEnd(u));return MD(ND(["{",RD(ND([t.bracketSpacing?ID:LD,u.readonly?ND([Md(u.readonly,"readonly")," "]):"",yh(e,0,n),e.call(n,"typeParameter"),u.optional?Md(u.optional,"?"):"",": ",e.call(n,"typeAnnotation"),WD(a,"")])),sa.printDanglingComments(e,t,!0),t.bracketSpacing?ID:LD,"}"]),{shouldBreak:Ot});case"TSMethodSignature":return s.push(u.accessibility?ND([u.accessibility," "]):"",u.export?"export ":"",u.static?"static ":"",u.readonly?"readonly ":"",u.computed?"[":"",e.call(n,"key"),u.computed?"]":"",Ch(e),fh(e,n,t,!1,!0)),u.returnType&&s.push(": ",e.call(n,"returnType")),MD(ND(s));case"TSNamespaceExportDeclaration":return s.push("export as namespace ",e.call(n,"id")),t.semi&&s.push(";"),MD(ND(s));case"TSEnumDeclaration":return u.declare&&s.push("declare "),u.modifiers&&s.push(yh(e,0,n)),u.const&&s.push("const "),s.push("enum ",e.call(n,"id")," "),s.push(MD(ND(0===u.members.length?["{",sa.printDanglingComments(e,t),LD,"}"]:["{",RD(ND([jD,Ih(e,t,"members",n),th(t,"es5")?",":""])),sa.printDanglingComments(e,t,!0),jD,"}"]))),ND(s);case"TSEnumMember":return s.push(e.call(n,"id")),u.initializer&&s.push(" = ",e.call(n,"initializer")),ND(s);case"TSImportEqualsDeclaration":return u.isExport&&s.push("export "),s.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&s.push(";"),MD(ND(s));case"TSExternalModuleReference":return ND(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":var Nt=e.getParentNode(),Pt=sD(u.id),It=u.body&&"TSModuleDeclaration"===u.body.type;if("TSModuleDeclaration"===Nt.type)s.push(".");else{u.declare&&s.push("declare "),s.push(yh(e,0,n));var jt=t.originalText.slice(t.locStart(u),t.locStart(u.id));"Identifier"===u.id.type&&"global"===u.id.name&&!/namespace|module/.test(jt)||s.push(Pt||/(^|\s)module(\s|$)/.test(jt)?"module ":"namespace ")}return s.push(e.call(n,"id")),It?s.push(e.call(n,"body")):u.body?s.push(" ",MD(e.call(n,"body"))):s.push(a),ND(s);case"PrivateName":return ND(["#",e.call(n,"id")]);case"TSConditionalType":return rh(e,t,n,{beforeParts:function(){return[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")]},afterParts:function(){return[]},shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyName:"checkType",breakNested:!0});case"TSInferType":return ND(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return s.push("#!",u.value,jD),Bd(t.originalText,u,t)&&s.push(jD),ND(s);case"NGRoot":return ND([].concat(e.call(n,"node"),u.node.comments&&0!==u.node.comments.length?ND([" //",u.node.comments[0].value.trimRight()]):[]));case"NGChainedExpression":return MD(PD(ND([";",ID]),e.map((function(e){return zd(e)?n(e):ND(["(",n(e),")"])}),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return ND([u.prefix,":",u.value]);case"NGMicrosyntax":return ND(e.map((function(e,t){return ND([0===t?"":dD(e.getValue(),t,u)?" ":ND([";",ID]),n(e)])}),"body"));case"NGMicrosyntaxKey":return/^[a-z_$][a-z0-9_$]*(-[a-z_$][a-z0-9_$])*$/i.test(u.name)?u.name:JSON.stringify(u.name);case"NGMicrosyntaxExpression":return ND([e.call(n,"expression"),null===u.alias?"":ND([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":var Lt=e.getName(),_t=e.getParentNode(),Mt=dD(u,Lt,_t)||(1===Lt&&("then"===u.key.name||"else"===u.key.name)||2===Lt&&"else"===u.key.name&&"NGMicrosyntaxKeyedExpression"===_t.body[Lt-1].type&&"then"===_t.body[Lt-1].key.name)&&"NGMicrosyntaxExpression"===_t.body[0].type;return ND([e.call(n,"key"),Mt?" ":": ",e.call(n,"expression")]);case"NGMicrosyntaxLet":return ND(["let ",e.call(n,"key"),null===u.value?"":ND([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return ND([e.call(n,"key")," as ",e.call(n,"alias")]);case"ArgumentPlaceholder":return"?";default:throw new Error("unknown type: "+JSON.stringify(u.type))}}(e,t,n,r);if(!u||KD(i))return i;var s=pd(e),l=[];if("ClassMethod"===u.type||"ClassPrivateMethod"===u.type||"ClassProperty"===u.type||"TSAbstractClassProperty"===u.type||"ClassPrivateProperty"===u.type||"MethodDefinition"===u.type||"TSAbstractMethodDefinition"===u.type);else if(u.decorators&&u.decorators.length>0&&!(s&&t.locStart(s,{ignoreDecorators:!0})>t.locStart(u.decorators[0]))){var c="ClassExpression"===u.type||"ClassDeclaration"===u.type||Jd(u,t)?jD:ID;e.each((function(e){var t=e.getValue();t=t.expression?t.expression:t.callee,l.push(n(e),c)}),"decorators"),s&&l.unshift(jD)}else fd(u)&&u.declaration&&u.declaration.decorators&&u.declaration.decorators.length>0&&t.locStart(u,{ignoreDecorators:!0})>t.locStart(u.declaration.decorators[0])?e.each((function(e){var t=e.getValue();l.push("Decorator"===t.type?"":"@",n(e),jD)}),"declaration","decorators"):a=ad(e,t);var p=[];if(a&&p.unshift("("),p.push(i),a){var f=e.getValue();Vd(f)&&(p.push(" /*"),p.push(f.trailingComments[0].value.trimLeft()),p.push("*/"),f.trailingComments[0].printed=!0),p.push(")")}return l.length>0?MD(ND(l.concat(p))):ND(p)},embed:function(e,t,n,r){var u,a=e.getValue(),i=e.getParentNode(),o=e.getParentNode(1);switch(a.type){case"TemplateLiteral":if([hf,gf,yf,mf].some((function(t){return t(e)}))){var s=a.quasis.map((function(e){return e.value.raw})),l=0,c=s.reduce((function(e,t,n){return 0==n?t:e+"@prettier-placeholder-"+l+++"-id"+t}),"");return function(e,t,n){var r=t.getValue();if(1===r.quasis.length&&!r.quasis[0].value.raw.trim())return"``";var u=function(e,t){if(!t||!t.length)return e;var n=t.slice(),r=0,u=cf(e,(function(e){if(!e||!e.parts||!e.parts.length)return e;var t=e.parts,u=t.indexOf("@"),a=u+1;if(u>-1&&"string"==typeof t[a]&&t[a].startsWith("prettier-placeholder")){var i=t[u],o=t[a],s=t.slice(a+1);t=t.slice(0,u).concat([i+o]).concat(s)}var l=t.findIndex((function(e){return"string"==typeof e&&e.startsWith("@prettier-placeholder")}));if(l>-1){var c=t[l],p=t.slice(l+1),f=c.match(/@prettier-placeholder-(.+)-id([\s\S]*)/),d=f[2],D=n[f[1]];r++,t=t.slice(0,l).concat(["${",D,"}"+d]).concat(p)}return Object.assign({},e,{parts:t})}));return n.length===r?u:null}(e,r.expressions?t.map(n,"expressions"):[]);if(!u)throw new Error("Couldn't insert all the expressions");return af(["`",ef(af([nf,pf(u)])),rf,"`"])}(n(c,{parser:"css"}),e,t)}if(function(e){var t=e.getValue(),n=e.getParentNode();return Cf(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)){var p=a.expressions?e.map(t,"expressions"):[],f=a.quasis.length;if(1===f&&""===a.quasis[0].value.raw.trim())return"``";for(var d=[],D=0;D2&&""===y[0].trim()&&""===y[1].trim(),A=v>2&&""===y[v-1].trim()&&""===y[v-2].trim(),F=y.every((function(e){return/^\s*(?:#[^\r\n]*)?$/.test(e)}));if(!m&&/#[^\r\n]*$/.test(y[v-1]))return null;var b=null;(b=F?Df(y):pf(n(g,{parser:"graphql"})))?(b=df(b,!1),!h&&C&&d.push(""),d.push(b),!m&&A&&d.push("")):h||m||!C||d.push(""),E&&d.push(af(["${",E,"}"]))}return af(["`",ef(af([nf,tf(nf,d)])),nf,"`"])}var x=function(e){return Cf(e.getValue(),"HTML")||Af(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t}])}(e)?"html":function(e){return Af(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"Property"===e.type&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t}].concat([function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}]))}(e)?"angular":void 0;if(x)return function(e,t,n,r,u){var a=e.getValue(),i=Ff;Ff=Ff+1>>>0;var o=function(e){return"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(i,"_IN_JS")},s=a.quasis.map((function(e,t,n){return t===n.length-1?e.value.cooked:e.value.cooked+o(t)})).join(""),l=e.map(t,"expressions");if(0===l.length&&0===s.trim().length)return"``";var c=RegExp(o("(\\d+)"),"g"),p=cf(pf(n(s,{parser:r})),(function(e){if("string"!=typeof e)return e;for(var t=[],n=e.split(c),r=0;r1&&t.every((function(e){return"*"===e.trim()[0]}))}(n)){var r=function(e){var t=e.value.split("\n");return ND(["/*",PD(jD,t.map((function(e,n){return 0===n?e.trimRight():" "+(n x`"},{value:"always",description:"Always include parens. Example: `(x) => x`"}]},bracketSpacing:co.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:"JavaScript",type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:"JavaScript",type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:co.singleQuote,jsxSingleQuote:{since:"1.15.0",category:"JavaScript",type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:"JavaScript",type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:"JavaScript",type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"none",description:"No trailing commas."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:!0,deprecated:"0.19.0",redirect:"es5"},{value:!1,deprecated:"0.19.0",redirect:"none"}]}},Wh=["js","node"],$h=[".js","._js",".bones",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],Jh=["Jakefile"],zh=["chakra","d8","js","node","rhino","v8","v8-shell"],Gh=Object.freeze({__proto__:null,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Wh,extensions:$h,filenames:Jh,interpreters:zh,languageId:183,default:{name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Wh,extensions:$h,filenames:Jh,interpreters:zh,languageId:183}}),Xh=[".jsx"],Hh=Object.freeze({__proto__:null,name:"JSX",type:"programming",group:"JavaScript",extensions:Xh,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178,default:{name:"JSX",type:"programming",group:"JavaScript",extensions:Xh,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178}}),Yh=["ts"],Kh=["deno","ts-node"],Qh=[".ts"],Zh=Object.freeze({__proto__:null,name:"TypeScript",type:"programming",color:"#2b7489",aliases:Yh,interpreters:Kh,extensions:Qh,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378,default:{name:"TypeScript",type:"programming",color:"#2b7489",aliases:Yh,interpreters:Kh,extensions:Qh,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}),em=[".tsx"],tm=Object.freeze({__proto__:null,name:"TSX",type:"programming",group:"TypeScript",extensions:em,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924,default:{name:"TSX",type:"programming",group:"TypeScript",extensions:em,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}),nm=[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],rm=[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],um=Object.freeze({__proto__:null,name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:nm,filenames:rm,languageId:174,default:{name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:nm,filenames:rm,languageId:174}}),am=["jsonc"],im=[".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],om=[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","jsconfig.json","language-configuration.json","tsconfig.json"],sm=Object.freeze({__proto__:null,name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:am,extensions:im,filenames:om,languageId:423,default:{name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:am,extensions:im,filenames:om,languageId:423}}),lm=[".json5"],cm=Object.freeze({__proto__:null,name:"JSON5",type:"data",extensions:lm,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175,default:{name:"JSON5",type:"data",extensions:lm,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}),pm=ot(Gh),fm=ot(Hh),dm=ot(Zh),Dm=ot(tm),hm=ot(um),mm=ot(sm),gm=ot(cm),ym={languages:[fo(pm,(function(e){return Object.assign(e,{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript","mongo"],interpreters:e.interpreters.concat(["nodejs"])})})),fo(pm,(function(e){return Object.assign(e,{name:"Flow",since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})})),fo(fm,(function(e){return Object.assign(e,{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascriptreact"]})})),fo(dm,(function(e){return Object.assign(e,{since:"1.4.0",parsers:["typescript"],vscodeLanguageIds:["typescript"]})})),fo(Dm,(function(e){return Object.assign(e,{since:"1.4.0",parsers:["typescript"],vscodeLanguageIds:["typescriptreact"]})})),fo(hm,(function(e){return Object.assign(e,{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})})),fo(hm,(function(e){return Object.assign(e,{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:e.filenames.concat([".prettierrc"])})})),fo(mm,(function(e){return Object.assign(e,{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:e.filenames.concat([".eslintrc"])})})),fo(gm,(function(e){return Object.assign(e,{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})}))],options:Uh,printers:{estree:jh,"estree-json":Vh}},vm="[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d]",Em="[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]",Cm=yu.getLast,Am=["liquidNode","inlineCode","emphasis","strong","delete","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],Fm=Am.concat(["tableCell","paragraph","heading"]),bm=new RegExp("[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]"),xm=new RegExp(Em),Sm={mapAst:function(e,t){return function e(n,r,u){var a=t(n,r,u=u||[]);return Array.isArray(a)||(a=Object.assign({},a)).children&&(a.children=a.children.reduce((function(t,n,r){var i=e(n,r,[a].concat(u));return Array.isArray(i)||(i=[i]),t.push.apply(t,i),t}),[])),a}(e,null,null)},splitText:function(e,t){var n=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(vm,")\n(").concat(vm,")"),"g"),"$1$2")).split(/([ \t\n]+)/).forEach((function(e,t,u){t%2!=1?(0!==t&&t!==u.length-1||""!==e)&&e.split(new RegExp("(".concat(vm,")"))).forEach((function(e,t,n){(0!==t&&t!==n.length-1||""!==e)&&(t%2!=0?r(xm.test(e)?{type:"word",value:e,kind:"cjk-punctuation",hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:bm.test(e)?"k-letter":"cj-letter",hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&r({type:"word",value:e,kind:"non-cjk",hasLeadingPunctuation:xm.test(e[0]),hasTrailingPunctuation:xm.test(Cm(e))}))})):n.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})})),n;function r(e){var t=Cm(n);t&&"word"===t.type&&("non-cjk"===t.kind&&"cj-letter"===e.kind&&!t.hasTrailingPunctuation||"cj-letter"===t.kind&&"non-cjk"===e.kind&&!e.hasLeadingPunctuation?n.push({type:"whitespace",value:" "}):"non-cjk"===t.kind&&"cjk-punctuation"===e.kind||"cjk-punctuation"===t.kind&&"non-cjk"===e.kind||[t.value,e.value].some((function(e){return/\u3000/.test(e)}))||n.push({type:"whitespace",value:""})),n.push(e)}},punctuationPattern:Em,getFencedCodeBlockValue:function(e,t){var n=t.slice(e.position.start.offset,e.position.end.offset),r=n.match(/^\s*/)[0].length,u=new RegExp("^\\s{0,".concat(r,"}")),a=n.split("\n"),i=n[r],o=n.slice(r).match(new RegExp("^[".concat(i,"]+")))[0],s=new RegExp("^\\s{0,3}".concat(o)).test(a[a.length-1].slice(l(a.length-1)));return a.slice(1,s?-1:void 0).map((function(e,t){return e.slice(l(t+1)).replace(u,"")})).join("\n");function l(t){return e.position.indent[t-1]-1}},getOrderedListItemInfo:function(e,t){var n=C(t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),4);return{numberText:n[1],marker:n[2],leadingSpaces:n[3]}},INLINE_NODE_TYPES:Am,INLINE_NODE_WRAPPER_TYPES:Fm},wm=qu.builders,Bm=wm.hardline,Tm=wm.literalline,km=wm.concat,Om=wm.markAsRoot,Nm=qu.utils.mapDoc,Pm=Sm.getFencedCodeBlockValue,Im=["format","prettier"];function jm(e){var t="@(".concat(Im.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var Lm={startWithPragma:jm,hasPragma:function(e){return jm(Ga(e).content.trimLeft())},insertPragma:function(e){var t=Ga(e),n="\x3c!-- @".concat(Im[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}},_m=Sm.getOrderedListItemInfo,Mm=Sm.mapAst,Rm=Sm.splitText,qm=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function Vm(e,t,n){return Mm(e,(function(e){if(!e.children)return e;var r=e.children.reduce((function(e,r){var u=e[e.length-1];return u&&t(u,r)?e.splice(-1,1,n(u,r)):e.push(r),e}),[]);return Object.assign({},e,{children:r})}))}var Um=qu.builders,Wm=Um.breakParent,$m=Um.concat,Jm=Um.join,zm=Um.line,Gm=Um.literalline,Xm=Um.markAsRoot,Hm=Um.hardline,Ym=Um.softline,Km=Um.ifBreak,Qm=Um.fill,Zm=Um.align,eg=Um.indent,tg=Um.group,ng=qu.utils.mapDoc,rg=qu.printer.printDocToString,ug=Sm.getFencedCodeBlockValue,ag=Sm.getOrderedListItemInfo,ig=Sm.splitText,og=Sm.punctuationPattern,sg=Sm.INLINE_NODE_TYPES,lg=Sm.INLINE_NODE_WRAPPER_TYPES,cg=yu.replaceEndOfLineWith,pg=["importExport"],fg=["heading","tableCell","link"],dg=["listItem","definition","footnoteDefinition","jsx"];function Dg(e,t,n,r){var u=e.getValue(),a=null===u.checked?"":u.checked?"[x] ":"[ ] ";return $m([a,Eg(e,t,n,{processor:function(e,u){if(0===u&&"list"!==e.getValue().type)return Zm(" ".repeat(a.length),e.call(n));var i,o=" ".repeat((i=t.tabWidth-r.length)<0?0:i>3?3:i);return $m([o,Zm(o,e.call(n))])}})])}function hg(e,t){return function(e,t,n){n=n||function(){return!0};var r=-1,u=!0,a=!1,i=void 0;try{for(var o,s=t.children[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var l=o.value;if(l.type===e.type&&n(l)?r++:r=-1,l===e)return r}}catch(c){a=!0,i=c}finally{try{u||null==s.return||s.return()}finally{if(a)throw i}}}(e,t,(function(t){return t.ordered===e.ordered}))}function mg(e,t){for(var n,r=[].concat(t),u=-1;n=e.getParentNode(++u);)if(-1!==r.indexOf(n.type))return u;return-1}function gg(e,t){var n=mg(e,t);return-1===n?null:e.getParentNode(n)}function yg(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return Hm;var r="always"===n.proseWrap&&!gg(e,fg);return""!==t?r?zm:" ":r?Ym:""}function vg(e,t,n){var r=[],u=null,a=e.getValue().children;return a.forEach((function(e,t){switch(Ag(e)){case"start":null===u&&(u={index:t,offset:e.position.end.offset});break;case"end":null!==u&&(r.push({start:u,end:{index:t,offset:e.position.start.offset}}),u=null)}})),Eg(e,t,n,{processor:function(e,u){if(0!==r.length){var i=r[0];if(u===i.start.index)return $m([a[i.start.index].value,t.originalText.slice(i.start.offset,i.end.offset),a[i.end.index].value]);if(i.start.index$/);return null!==t&&(t[1]?t[1]:"next")}function Fg(e){return e&&-1!==sg.indexOf(e.type)}function bg(e){return e&&/\n+$/.test(e.value)}function xg(e,t){return t.prevNode&&"list"===t.prevNode.type&&"code"===e.type&&e.isIndented}function Sg(e){return ng(e,(function(e){if(!e.parts)return e;if("concat"===e.type&&1===e.parts.length)return e.parts[0];var t=[];return e.parts.forEach((function(e){"concat"===e.type?t.push.apply(t,e.parts):""!==e&&t.push(e)})),Object.assign({},e,{parts:Tg(t)})}))}function wg(e,t){var n=[" "].concat(t||[]);return new RegExp(n.map((function(e){return"\\".concat(e)})).join("|")).test(e)?"<".concat(e,">"):e}function Bg(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+Bg(e,t,!1);if(e.includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");var r=e.split("'").length-1,u=e.split('"').length-1,a=r>u?'"':u>r||t.singleQuote?"'":'"';return e=e.replace(new RegExp("(".concat(a,")"),"g"),"\\$1"),"".concat(a).concat(e).concat(a)}function Tg(e){return e.reduce((function(e,t){var n=yu.getLast(e);return"string"==typeof n&&"string"==typeof t?e.splice(-1,1,n+t):e.push(t),e}),[])}var kg={preprocess:function(e,t){return function(e){return Vm(e,(function(e,t){return"importExport"===e.type&&"importExport"===t.type}),(function(e,t){return{type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e){return Mm(e,(function(e){return"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"})}))}(e=function(e,t){return Mm(e,(function(e,n,r){var u=C(r,1)[0];if("text"!==e.type)return e;var a=e.value;return"paragraph"===u.type&&(0===n&&(a=a.trimLeft()),n===u.children.length-1&&(a=a.trimRight())),{type:"sentence",position:e.position,children:Rm(a,t)}}))}(e=function(e,t){return Mm(e,(function(e,r,u){if("list"===e.type&&0!==e.children.length){for(var a=0;a1)return!0;var i=n(u);return-1!==i&&(1===e.children.length?i%t.tabWidth==0:i===n(a)&&(i%t.tabWidth==0||_m(a,t.originalText).leadingSpaces.length>1))}(e)}return e}));function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}}(e=function(e,t){return Mm(e,(function(e,n,r){if("code"===e.type){var u=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=u,u)for(var a=0;a|^([-+*]|#{1,6}|[0-9]+[.)])$/.test(i.value)?"never":t.proseWrap;return yg(e,r.value,{proseWrap:o});case"emphasis":var s=e.getParentNode(),l=s.children.indexOf(r),c=s.children[l-1],p=s.children[l+1],f=c&&"sentence"===c.type&&c.children.length>0&&"word"===yu.getLast(c.children).type&&!yu.getLast(c.children).hasTrailingPunctuation||p&&"sentence"===p.type&&p.children.length>0&&"word"===p.children[0].type&&!p.children[0].hasLeadingPunctuation||gg(e,"emphasis")?"*":"_";return $m([f,Eg(e,t,n),f]);case"strong":return $m(["**",Eg(e,t,n),"**"]);case"delete":return $m(["~~",Eg(e,t,n),"~~"]);case"inlineCode":var d=yu.getMinNotPresentContinuousCount(r.value,"`"),D="`".repeat(d||1),h=d?" ":"";return $m([D,h,r.value,h,D]);case"link":switch(t.originalText[r.position.start.offset]){case"<":var m=r.url.startsWith("mailto:")&&"mailto:"!==t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+"mailto:".length)?r.url.slice("mailto:".length):r.url;return $m(["<",m,">"]);case"[":return $m(["[",Eg(e,t,n),"](",wg(r.url,")"),Bg(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return $m(["![",r.alt||"","](",wg(r.url,")"),Bg(r.title,t),")"]);case"blockquote":return $m(["> ",Zm("> ",Eg(e,t,n))]);case"heading":return $m(["#".repeat(r.depth)+" ",Eg(e,t,n)]);case"code":if(r.isIndented){var g=" ".repeat(4);return Zm(g,$m([g,$m(cg(r.value,Hm))]))}var y=t.__inJsTemplate?"~":"`",v=y.repeat(Math.max(3,yu.getMaxContinuousCount(r.value,y)+1));return $m([v,r.lang||"",Hm,$m(cg(ug(r,t.originalText),Hm)),Hm,v]);case"yaml":case"toml":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"html":var E=e.getParentNode(),C="root"===E.type&&yu.getLast(E.children)===r?r.value.trimRight():r.value,A=/^$/.test(C);return $m(cg(C,A?Hm:Xm(Gm)));case"list":var F=hg(r,e.getParentNode()),b=r.ordered&&r.children.length>1&&1==+ag(r.children[1],t.originalText).numberText;return Eg(e,t,n,{processor:function(e,u){var a,i=(a=r.ordered?(0===u?r.start:b?1:r.start+u)+(F%2==0?". ":") "):F%2==0?"- ":"* ",r.isAligned||r.hasIndentedCodeblock?function(e,t){var n,r=0==(n=e.length%t.tabWidth)?0:t.tabWidth-n;return e+" ".repeat(r>=4?0:r)}(a,t):a);return $m([i,Zm(" ".repeat(i.length),Dg(e,t,n,i))])}});case"thematicBreak":var x=mg(e,"list");return-1===x?"---":hg(e.getParentNode(x),e.getParentNode(x+1))%2==0?"***":"---";case"linkReference":return $m(["[",Eg(e,t,n),"]","full"===r.referenceType?$m(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return $m(["![",r.alt||"","][",r.identifier,"]"]);default:return $m(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":var S="always"===t.proseWrap?zm:" ";return tg($m([$m(["[",r.identifier,"]:"]),eg($m([S,wg(r.url),null===r.title?"":$m([S,Bg(r.title,t,!1)])]))]));case"footnote":return $m(["[^",Eg(e,t,n),"]"]);case"footnoteReference":return $m(["[^",r.identifier,"]"]);case"footnoteDefinition":var w=e.getParentNode().children[e.getName()+1];return $m(["[^",r.identifier,"]: ",1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line)?Eg(e,t,n):tg($m([Zm(" ".repeat(t.tabWidth),Eg(e,t,n,{processor:function(e,t){return 0===t?tg($m([Ym,Ym,e.call(n)])):e.call(n)}})),w&&"footnoteDefinition"===w.type?Ym:""]))]);case"table":return function(e,t,n){var r=Hm.parts[0],u=e.getValue(),a=[];e.map((function(e){var r=[];e.map((function(e){r.push(rg(e.call(n),t).formatted)}),"children"),a.push(r)}),"children");var i=a.reduce((function(e,t){return e.map((function(e,n){return Math.max(e,yu.getStringWidth(t[n]))}))}),a[0].map((function(){return 3}))),o=Jm(r,[c(a[0]),l(),Jm(r,a.slice(1).map((function(e){return c(e)})))]);if("never"!==t.proseWrap)return $m([Wm,o]);var s=Jm(r,[c(a[0],!0),l(!0),Jm(r,a.slice(1).map((function(e){return c(e,!0)})))]);return $m([Wm,tg(Km(s,o))]);function l(e){return $m(["| ",Jm(" | ",i.map((function(t,n){var r=e?3:t;switch(u.align[n]){case"left":return":"+"-".repeat(r-1);case"right":return"-".repeat(r-1)+":";case"center":return":"+"-".repeat(r-2)+":";default:return"-".repeat(r)}})))," |"])}function c(e,t){return $m(["| ",Jm(" | ",t?e:e.map((function(e,t){switch(u.align[t]){case"right":return r=i[t]-yu.getStringWidth(n=e),$m([" ".repeat(r),n]);case"center":return function(e,t){var n=t-yu.getStringWidth(e),r=Math.floor(n/2),u=n-r;return $m([" ".repeat(r),e," ".repeat(u)])}(e,i[t]);default:return function(e,t){var n=t-yu.getStringWidth(e);return $m([e," ".repeat(n)])}(e,i[t])}var n,r})))," |"])}}(e,t,n);case"tableCell":return Eg(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?$m([" ",Xm(Gm)]):$m(["\\",Hm]);case"liquidNode":return $m(cg(r.value,Hm));case"importExport":case"jsx":return r.value;case"math":return $m(["$$",Hm,r.value?$m([$m(cg(r.value,Hm)),Hm]):"","$$"]);case"inlineMath":return t.originalText.slice(t.locStart(r),t.locEnd(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:function(e,t,n,r){var u,a,i=e.getValue();if("code"===i.type&&null!==i.lang){var o=i.lang.match(/^[A-Za-z0-9_-]+/),s=(u=o?o[0]:"",(a=Gt(null,{plugins:r.plugins}).languages.find((function(e){return e.name.toLowerCase()===u||e.aliases&&-1!==e.aliases.indexOf(u)||e.extensions&&e.extensions.find((function(e){return e.substring(1)===u}))})))?a.parsers[0]:null);if(s){var l=r.__inJsTemplate?"~":"`",c=l.repeat(Math.max(3,yu.getMaxContinuousCount(i.value,l)+1)),p=n(Pm(i,r.originalText),{parser:s});return Om(km([c,i.lang,Bm,f(p),c]))}}if("yaml"===i.type)return Om(km(["---",Bm,i.value&&i.value.trim()?f(n(i.value,{parser:"yaml"})):"","---"]));switch(i.type){case"importExport":return n(i.value,{parser:"babel"});case"jsx":return n(i.value,{parser:"__js_expression"})}return null;function f(e){return Nm(e,(function(e){return"string"==typeof e&&e.includes("\n")?km(e.split(/(\n)/g).map((function(e,t){return t%2==0?e:Tm}))):e}))}},massageAstNode:function(e,t,n){return delete t.position,delete t.raw,"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[ \t\n]+/g," ")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||("yaml"===n.children[0].type||"toml"===n.children[0].type)&&n.children[1]===e)&&"html"===e.type&&Lm.startWithPragma(e.value)?null:void 0)},hasPrettierIgnore:function(e){var t=+e.getName();return 0!==t&&"next"===Ag(e.getParentNode().children[t-1])},insertPragma:Lm.insertPragma},Og={proseWrap:co.proseWrap,singleQuote:co.singleQuote},Ng=["pandoc"],Pg=[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],Ig=["contents.lr"],jg=ot(Object.freeze({__proto__:null,name:"Markdown",type:"prose",aliases:Ng,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:Pg,filenames:Ig,tmScope:"source.gfm",languageId:222,default:{name:"Markdown",type:"prose",aliases:Ng,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:Pg,filenames:Ig,tmScope:"source.gfm",languageId:222}})),Lg={languages:[fo(jg,(function(e){return Object.assign(e,{since:"1.8.0",parsers:["remark"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter((function(e){return".mdx"!==e}))})})),fo(jg,(function(e){return Object.assign(e,{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})}))],options:Og,printers:{mdast:kg}},_g=yu.getLast;function Mg(e,t){return e&&"string"==typeof e.type&&(!t||-1!==t.indexOf(e.type))}function Rg(e){return"prettier-ignore"===e.value.trim()}function qg(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function Vg(e){return e&&e.middleComments&&0!==e.middleComments.length}function Ug(e){return e&&e.indicatorComment}function Wg(e){return e&&e.trailingComment}function $g(e){return e&&e.endComments&&0!==e.endComments.length}function Jg(e){var t=[],n=void 0,r=!0,u=!1,a=void 0;try{for(var i,o=e.split(/( +)/g)[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var s=i.value;" "!==s?t.push(" "===n?s:(t.pop()||"")+s):void 0===n&&t.unshift(""),n=s}}catch(l){u=!0,a=l}finally{try{r||null==o.return||o.return()}finally{if(u)throw a}}return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var zg={getLast:_g,getAncestorCount:function(e,t){for(var n=0,r=e.stack.length-1,u=0;u=0&&0===t[r].length;r--)n++;return 0===n?t:t.slice(0,n>=2&&!u?-(n-1):-n)}("preserve"===a.proseWrap||"blockLiteral"===e.type?s.map((function(e){return 0===e.length?[]:[e]})):s.map((function(e){return 0===e.length?[]:Jg(e)})).reduce((function(e,t,n){return 0===n||0===s[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(_g(e))?e.concat([t]):e.concat([e.pop().concat(t)])}),[]).map((function(e){return e.reduce((function(e,t){return 0!==e.length&&/\s$/.test(_g(e))?e.concat(e.pop()+" "+t):e.concat(t)}),[])})).map((function(e){return"never"===a.proseWrap?[e.join(" ")]:e})))},getFlowScalarLineContents:function(e,t,n){var r=t.split("\n").map((function(e,t,n){return 0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimRight():e.trimLeft()}));return"preserve"===n.proseWrap?r.map((function(e){return 0===e.length?[]:[e]})):r.map((function(e){return 0===e.length?[]:Jg(e)})).reduce((function(t,n,u){return 0===u||0===r[u-1].length||0===n.length||"quoteDouble"===e&&_g(_g(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)])}),[]).map((function(e){return"never"===n.proseWrap?[e.join(" ")]:e}))},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(_g(t.children)):t},hasPrettierIgnore:function(e){var t=e.getValue();if("documentBody"===t.type){var n=e.getParentNode();return $g(n.head)&&Rg(_g(n.head.endComments))}return qg(t)&&Rg(_g(t.leadingComments))},hasLeadingComments:qg,hasMiddleComments:Vg,hasIndicatorComment:Ug,hasTrailingComment:Wg,hasEndComments:$g},Gg=zg.getAncestorCount,Xg=zg.getBlockValueLineContents,Hg=zg.getFlowScalarLineContents,Yg=zg.getLast,Kg=zg.getLastDescendantNode,Qg=zg.hasLeadingComments,Zg=zg.hasMiddleComments,ey=zg.hasIndicatorComment,ty=zg.hasTrailingComment,ny=zg.hasEndComments,ry=zg.hasPrettierIgnore,uy=zg.isLastDescendantNode,ay=zg.isNextLineEmpty,iy=zg.isNode,oy=zg.isEmptyNode,sy=zg.defineShortcut,ly=zg.mapNode,cy=qu.builders,py=cy.conditionalGroup,fy=cy.breakParent,dy=cy.concat,Dy=cy.dedent,hy=cy.dedentToRoot,my=cy.fill,gy=cy.group,yy=cy.hardline,vy=cy.ifBreak,Ey=cy.join,Cy=cy.line,Ay=cy.lineSuffix,Fy=cy.literalline,by=cy.markAsRoot,xy=cy.softline,Sy=yu.replaceEndOfLineWith;function wy(e){switch(e.type){case"document":sy(e,"head",(function(){return e.children[0]})),sy(e,"body",(function(){return e.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":sy(e,"content",(function(){return e.children[0]}));break;case"mappingItem":case"flowMappingItem":sy(e,"key",(function(){return e.children[0]})),sy(e,"value",(function(){return e.children[1]}))}return e}function By(e,t,n,r,u){switch(e.type){case"root":return dy([Ey(yy,n.map((function(t,r){var a=e.children[r],i=e.children[r+1];return dy([u(t),Oy(a,i)?dy([yy,"...",ty(a)?dy([" ",n.call(u,"trailingComment")]):""]):!i||ty(i.head)?"":dy([yy,"---"])])}),"children")),0===e.children.length||(x=Kg(e),iy(x,["blockLiteral","blockFolded"])&&"keep"===x.chomping)?"":yy]);case"document":var a=t.children[n.getName()+1];return Ey(yy,["head"===Ny(e,a,t,r)?Ey(yy,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(u,"head"),dy(["---",ty(e.head)?dy([" ",n.call(u,"head","trailingComment")]):""])].filter(Boolean)):"",(b=e,0!==b.body.children.length||ny(b.body)?n.call(u,"body"):"")].filter(Boolean));case"documentHead":return Ey(yy,[].concat(n.map(u,"children"),n.map(u,"endComments")));case"documentBody":var i=Ey(yy,n.map(u,"children")).parts,o=Ey(yy,n.map(u,"endComments")).parts,s=0===i.length||0===o.length?"":function(e){return iy(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":dy([yy,yy]):yy}(Kg(e));return dy([].concat(i,s,o));case"directive":return dy(["%",Ey(" ",[e.name].concat(e.parameters))]);case"comment":return dy(["#",e.value]);case"alias":return dy(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return dy(["&",e.value]);case"plain":return Ly(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":var l=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&l.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(l)){var c="quoteDouble"===e.type?'"':"'";return dy([c,Ly(e.type,l,r),c])}if(l.includes('"'))return dy(["'",Ly(e.type,"quoteDouble"===e.type?l.replace(/\\"/g,'"').replace(/'/g,"'".repeat(2)):l,r),"'"]);if(l.includes("'"))return dy(['"',Ly(e.type,"quoteSingle"===e.type?l.replace(/''/g,"'"):l,r),'"']);var p=r.singleQuote?"'":'"';return dy([p,Ly(e.type,l,r),p]);case"blockFolded":case"blockLiteral":var f=Gg(n,(function(e){return iy(e,["sequence","mapping"])})),d=uy(n);return dy(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",ey(e)?dy([" ",n.call(u,"indicatorComment")]):"",(null===e.indent?Dy:hy)(Ty(null===e.indent?r.tabWidth:e.indent-1+f,dy(Xg(e,{parentIndent:f,isLastDescendant:d,options:r}).reduce((function(t,n,r,u){return t.concat(0===r?yy:"",my(Ey(Cy,n).parts),r!==u.length-1?0===n.length?yy:by(Fy):"keep"===e.chomping&&d?hy(0===n.length?yy:Fy):"")}),[]))))]);case"sequence":return Ey(yy,n.map(u,"children"));case"sequenceItem":return dy(["- ",Ty(2,e.content?n.call(u,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(u,"content"):"";case"mapping":return Ey(yy,n.map(u,"children"));case"mappingItem":case"flowMappingItem":var D=oy(e.key),h=oy(e.value);if(D&&h)return dy([": "]);var m=n.call(u,"key"),g=n.call(u,"value");if(h)return"flowMappingItem"===e.type&&"flowMapping"===t.type?m:"mappingItem"!==e.type||!Py(e.key.content,r)||ty(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?dy(["? ",Ty(2,m)]):dy([m,Iy(e)?" ":"",":"]);if(D)return dy([": ",Ty(2,g)]);var y=Symbol("mappingKey");return Qg(e.value)||!ky(e.key.content)?dy(["? ",Ty(2,m),yy,Ey("",n.map(u,"value","leadingComments").map((function(e){return dy([e,yy])}))),": ",Ty(2,g)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||Qg(e.key.content)||Zg(e.key.content)||ty(e.key.content)||ny(e.key)||Qg(e.value.content)||Zg(e.value.content)||ny(e.value)||!Py(e.value.content,r)?py([dy([gy(dy([vy("? "),gy(Ty(2,m),{id:y})])),vy(dy([yy,": ",Ty(2,g)]),S(dy([Iy(e)?" ":"",":",Qg(e.value.content)||ny(e.value)&&e.value.content&&!iy(e.value.content,["mapping","sequence"])||"mapping"===t.type&&ty(e.key.content)&&ky(e.value.content)||iy(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?yy:e.value.content?Cy:"",g])),{groupId:y})])]):dy([m,Iy(e)?" ":"",": ",g]);case"flowMapping":case"flowSequence":var v="flowMapping"===e.type?"{":"[",E="flowMapping"===e.type?"}":"]",C="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?Cy:xy,A=0!==e.children.length&&"flowMappingItem"===(F=Yg(e.children)).type&&oy(F.key)&&oy(F.value);return dy([v,S(dy([C,dy(n.map((function(t,n){return dy([u(t),n===e.children.length-1?"":dy([",",Cy,e.children[n].position.start.line!==e.children[n+1].position.start.line?jy(t,r.originalText):""])])}),"children")),vy(",","")])),A?"":C,E]);case"flowSequenceItem":return n.call(u,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var F,b,x;function S(e){return cy.align(" ".repeat(r.tabWidth),e)}}function Ty(e,t){return cy.align("number"==typeof e&&e>0?" ".repeat(e):e,t)}function ky(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function Oy(e,t){return ty(e)||t&&(0!==t.head.children.length||ny(t.head))}function Ny(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(r.locStart(e),r.locStart(e)+4))||0!==e.head.children.length||ny(e.head)||ty(e.head)?"head":!Oy(e,t)&&!!t&&"root"}function Py(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return-1===e.value.indexOf("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function Iy(e){return e.key.content&&"alias"===e.key.content.type}function jy(e,t){var n=e.getValue(),r=e.stack[0];return r.isNextEmptyLinePrintedChecklist=r.isNextEmptyLinePrintedChecklist||[],!r.isNextEmptyLinePrintedChecklist[n.position.end.line]&&ay(n,t)?(r.isNextEmptyLinePrintedChecklist[n.position.end.line]=!0,xy):""}function Ly(e,t,n){var r=Hg(e,t,n);return Ey(yy,r.map((function(e){return my(Ey(Cy,e).parts)})))}var _y={preprocess:function(e){return ly(e,wy)},print:function(e,t,n){var r=e.getValue(),u=e.getParentNode(),a=r.tag?e.call(n,"tag"):"",i=r.anchor?e.call(n,"anchor"):"",o=iy(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!uy(e)?jy(e,t.originalText):"";return dy(["mappingValue"!==r.type&&Qg(r)?dy([Ey(yy,e.map(n,"leadingComments")),yy]):"",a,a&&i?" ":"",i,a||i?iy(r,["sequence","mapping"])&&!Zg(r)?yy:" ":"",Zg(r)?dy([1===r.middleComments.length?"":yy,Ey(yy,e.map(n,"middleComments")),yy]):"",ry(e)?dy(Sy(t.originalText.slice(r.position.start.offset,r.position.end.offset),Fy)):gy(By(r,u,e,t,n)),ty(r)&&!iy(r,["document","documentHead"])?Ay(dy(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===u.type&&"mapping"===e.getParentNode(2).type&&ky(r)?"":fy,e.call(n,"trailingComment")])):"",o,ny(r)&&!iy(r,["documentHead","documentBody"])?Ty("sequenceItem"===r.type?2:0,dy([yy,Ey(yy,e.map(n,"endComments"))])):""])},massageAstNode:function(e,t){if(iy(t))switch(delete t.position,t.type){case"comment":if(/^\s*@(prettier|format)\s*$/.test(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:function(e){return"# @format\n\n".concat(e)}},My={bracketSpacing:co.bracketSpacing,singleQuote:co.singleQuote,proseWrap:co.proseWrap},Ry=["yml"],qy=[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yml.mysql"],Vy=[".clang-format",".clang-tidy",".gemrc","glide.lock"],Uy=[fo(ot(Object.freeze({__proto__:null,name:"YAML",type:"data",tmScope:"source.yaml",aliases:Ry,extensions:qy,filenames:Vy,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407,default:{name:"YAML",type:"data",tmScope:"source.yaml",aliases:Ry,extensions:qy,filenames:Vy,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}})),(function(e){return Object.assign(e,{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml"]})}))],Wy=$t.version,$y=Gt,Jy=[So,Wo,ys,Lp,ym,Lg,{languages:Uy,printers:{yaml:_y},options:My}],zy=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Gy(e){return function(){var t=Array.from(arguments),n=t[1]&&t[1].plugins||[];return zy(n)||(n=Object.values(n)),t[1]=Object.assign({},t[1],{plugins:Jy.concat(n)}),e.apply(null,t)}}var Xy=Gy((function(e,t){return ja(e,t=Sa(t))}));return{formatWithCursor:Xy,format:function(e,t){return Xy(e,t).formatted},check:function(e,t){return Xy(e,t).formatted===e},doc:qu,getSupportInfo:Gy($y),version:Wy,util:Vu,__debug:{parse:Gy((function(e,t,n){t=Sa(t),-1!==e.indexOf("\r")&&(e=e.replace(/\r\n?/g,"\n"));var r=Sr.parse(e,t);return n&&(r.ast=function e(t,n,r){if(Array.isArray(t))return t.map((function(t){return e(t,n,r)})).filter((function(e){return e}));if(!t||"object"!==o(t))return t;for(var u={},a=0,i=Object.keys(t);a-1}},"+XMV":function(e,t,n){"use strict";e.exports=n("GOzd")()?String.prototype.contains:n("+Wds")},"+dQi":function(e,t,n){!function(e){"use strict";e.defineMode("javascript",(function(t,n){var i,r,o=t.indentUnit,a=n.statementIndent,s=n.jsonld,c=n.json||s,u=n.typescript,l=n.wordCharacters||/[\w$\xa1-\uffff]/,p=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),i=e("keyword c"),r=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:r,break:r,continue:r,new:e("new"),delete:i,void:i,throw:i,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:i,export:e("export"),import:e("import"),extends:i,await:i}}(),h=/[+\-*&%=<>!?|~^@]/,d=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function f(e,t,n){return i=e,r=n,t}function g(e,t){var n,i=e.next();if('"'==i||"'"==i)return t.tokenize=(n=i,function(e,t){var i,r=!1;if(s&&"@"==e.peek()&&e.match(d))return t.tokenize=g,f("jsonld-keyword","meta");for(;null!=(i=e.next())&&(i!=n||r);)r=!r&&"\\"==i;return r||(t.tokenize=g),f("string","string")}),t.tokenize(e,t);if("."==i&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return f("number","number");if("."==i&&e.match(".."))return f("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(i))return f(i);if("="==i&&e.eat(">"))return f("=>","operator");if("0"==i&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return f("number","number");if(/\d/.test(i))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),f("number","number");if("/"==i)return e.eat("*")?(t.tokenize=b,b(e,t)):e.eat("/")?(e.skipToEnd(),f("comment","comment")):Ze(e,t,1)?(function(e){for(var t,n=!1,i=!1;null!=(t=e.next());){if(!n){if("/"==t&&!i)return;"["==t?i=!0:i&&"]"==t&&(i=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),f("regexp","string-2")):(e.eat("="),f("operator","operator",e.current()));if("`"==i)return t.tokenize=m,m(e,t);if("#"==i&&"!"==e.peek())return e.skipToEnd(),f("meta","meta");if("#"==i&&e.eatWhile(l))return f("variable","property");if("<"==i&&e.match("!--")||"-"==i&&e.match("->"))return e.skipToEnd(),f("comment","comment");if(h.test(i))return">"==i&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=i&&"="!=i||e.eat("="):/[<>*+\-]/.test(i)&&(e.eat(i),">"==i&&e.eat(i))),"?"==i&&e.eat(".")?f("."):f("operator","operator",e.current());if(l.test(i)){e.eatWhile(l);var r=e.current();if("."!=t.lastType){if(p.propertyIsEnumerable(r)){var o=p[r];return f(o.type,o.style,r)}if("async"==r&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return f("async","keyword",r)}return f("variable","variable",r)}}function b(e,t){for(var n,i=!1;n=e.next();){if("/"==n&&i){t.tokenize=g;break}i="*"==n}return f("comment","comment")}function m(e,t){for(var n,i=!1;null!=(n=e.next());){if(!i&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=g;break}i=!i&&"\\"==n}return f("quasi","string-2",e.current())}function v(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(u){var i=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));i&&(n=i.index)}for(var r=0,o=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),c="([{}])".indexOf(s);if(c>=0&&c<3){if(!r){++a;break}if(0==--r){"("==s&&(o=!0);break}}else if(c>=3&&c<6)++r;else if(l.test(s))o=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&"\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!r){++a;break}}o&&!r&&(t.fatArrowAt=a)}}var y={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,i,r,o){this.indented=e,this.column=t,this.type=n,this.prev=r,this.info=o,null!=i&&(this.align=i)}function O(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var i=e.context;i;i=i.prev)for(n=i.vars;n;n=n.next)if(n.name==t)return!0}var C={state:null,column:null,marked:null,cc:null};function S(){for(var e=arguments.length-1;e>=0;e--)C.cc.push(arguments[e])}function z(){return S.apply(null,arguments),!0}function T(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function _(e){var t=C.state;if(C.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var i=function e(t,n){if(n){if(n.block){var i=e(t,n.prev);return i?i==n.prev?n:new D(i,n.vars,!0):null}return T(t,n.vars)?n:new D(n.prev,new x(t,n.vars),!1)}return null}(e,t.context);if(null!=i)return void(t.context=i)}else if(!T(e,t.localVars))return void(t.localVars=new x(e,t.localVars));n.globalVars&&!T(e,t.globalVars)&&(t.globalVars=new x(e,t.globalVars))}function k(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function D(e,t,n){this.prev=e,this.vars=t,this.block=n}function x(e,t){this.name=e,this.next=t}var E=new x("this",new x("arguments",null));function N(){C.state.context=new D(C.state.context,C.state.localVars,!1),C.state.localVars=E}function j(){C.state.context=new D(C.state.context,C.state.localVars,!0),C.state.localVars=null}function I(){C.state.localVars=C.state.context.vars,C.state.context=C.state.context.prev}function A(e,t){var n=function(){var n=C.state,i=n.indented;if("stat"==n.lexical.type)i=n.lexical.indented;else for(var r=n.lexical;r&&")"==r.type&&r.align;r=r.prev)i=r.indented;n.lexical=new w(i,C.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function M(){var e=C.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function L(e){return function t(n){return n==e?z():";"==e||"}"==n||")"==n||"]"==n?S():z(t)}}function P(e,t){return"var"==e?z(A("vardef",t),ve,L(";"),M):"keyword a"==e?z(A("form"),B,P,M):"keyword b"==e?z(A("form"),P,M):"keyword d"==e?C.stream.match(/^\s*$/,!1)?z():z(A("stat"),U,L(";"),M):"debugger"==e?z(L(";")):"{"==e?z(A("}"),j,oe,M,I):";"==e?z():"if"==e?("else"==C.state.lexical.info&&C.state.cc[C.state.cc.length-1]==M&&C.state.cc.pop()(),z(A("form"),B,P,M,ze)):"function"==e?z(De):"for"==e?z(A("form"),Te,P,M):"class"==e||u&&"interface"==t?(C.marked="keyword",z(A("form","class"==e?e:t),Ie,M)):"variable"==e?u&&"declare"==t?(C.marked="keyword",z(P)):u&&("module"==t||"enum"==t||"type"==t)&&C.stream.match(/^\s*\w/,!1)?(C.marked="keyword","enum"==t?z(We):"type"==t?z(Ee,L("operator"),le,L(";")):z(A("form"),ye,L("{"),A("}"),oe,M,M)):u&&"namespace"==t?(C.marked="keyword",z(A("form"),R,P,M)):u&&"abstract"==t?(C.marked="keyword",z(P)):z(A("stat"),K):"switch"==e?z(A("form"),B,L("{"),A("}","switch"),j,oe,M,M,I):"case"==e?z(R,L(":")):"default"==e?z(L(":")):"catch"==e?z(A("form"),N,F,P,M,I):"export"==e?z(A("stat"),Pe,M):"import"==e?z(A("stat"),Re,M):"async"==e?z(P):"@"==t?z(R,P):S(A("stat"),R,L(";"),M)}function F(e){if("("==e)return z(Ne,L(")"))}function R(e,t){return Y(e,t,!1)}function V(e,t){return Y(e,t,!0)}function B(e){return"("!=e?S():z(A(")"),U,L(")"),M)}function Y(e,t,n){if(C.state.fatArrowAt==C.stream.start){var i=n?G:$;if("("==e)return z(N,A(")"),ie(Ne,")"),M,L("=>"),i,I);if("variable"==e)return S(N,ye,L("=>"),i,I)}var r=n?W:H;return y.hasOwnProperty(e)?z(r):"function"==e?z(De,r):"class"==e||u&&"interface"==t?(C.marked="keyword",z(A("form"),je,M)):"keyword c"==e||"async"==e?z(n?V:R):"("==e?z(A(")"),U,L(")"),M,r):"operator"==e||"spread"==e?z(n?V:R):"["==e?z(A("]"),He,M,r):"{"==e?re(ee,"}",null,r):"quasi"==e?S(q,r):"new"==e?z(function(e){return function(t){return"."==t?z(e?X:Q):"variable"==t&&u?z(ge,e?W:H):S(e?V:R)}}(n)):"import"==e?z(R):z()}function U(e){return e.match(/[;\}\)\],]/)?S():S(R)}function H(e,t){return","==e?z(U):W(e,t,!1)}function W(e,t,n){var i=0==n?H:W,r=0==n?R:V;return"=>"==e?z(N,n?G:$,I):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?z(i):u&&"<"==t&&C.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?z(A(">"),ie(le,">"),M,i):"?"==t?z(R,L(":"),r):z(r):"quasi"==e?S(q,i):";"!=e?"("==e?re(V,")","call",i):"."==e?z(J,i):"["==e?z(A("]"),U,L("]"),M,i):u&&"as"==t?(C.marked="keyword",z(le,i)):"regexp"==e?(C.state.lastType=C.marked="operator",C.stream.backUp(C.stream.pos-C.stream.start-1),z(r)):void 0:void 0}function q(e,t){return"quasi"!=e?S():"${"!=t.slice(t.length-2)?z(q):z(R,Z)}function Z(e){if("}"==e)return C.marked="string-2",C.state.tokenize=m,z(q)}function $(e){return v(C.stream,C.state),S("{"==e?P:R)}function G(e){return v(C.stream,C.state),S("{"==e?P:V)}function Q(e,t){if("target"==t)return C.marked="keyword",z(H)}function X(e,t){if("target"==t)return C.marked="keyword",z(W)}function K(e){return":"==e?z(M,P):S(H,L(";"),M)}function J(e){if("variable"==e)return C.marked="property",z()}function ee(e,t){return"async"==e?(C.marked="property",z(ee)):"variable"==e||"keyword"==C.style?(C.marked="property","get"==t||"set"==t?z(te):(u&&C.state.fatArrowAt==C.stream.start&&(n=C.stream.match(/^\s*:\s*/,!1))&&(C.state.fatArrowAt=C.stream.pos+n[0].length),z(ne))):"number"==e||"string"==e?(C.marked=s?"property":C.style+" property",z(ne)):"jsonld-keyword"==e?z(ne):u&&k(t)?(C.marked="keyword",z(ee)):"["==e?z(R,ae,L("]"),ne):"spread"==e?z(V,ne):"*"==t?(C.marked="keyword",z(ee)):":"==e?S(ne):void 0;var n}function te(e){return"variable"!=e?S(ne):(C.marked="property",z(De))}function ne(e){return":"==e?z(V):"("==e?S(De):void 0}function ie(e,t,n){function i(r,o){if(n?n.indexOf(r)>-1:","==r){var a=C.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),z((function(n,i){return n==t||i==t?S():S(e)}),i)}return r==t||o==t?z():n&&n.indexOf(";")>-1?S(e):z(L(t))}return function(n,r){return n==t||r==t?z():S(e,i)}}function re(e,t,n){for(var i=3;i"),le):void 0}function pe(e){if("=>"==e)return z(le)}function he(e,t){return"variable"==e||"keyword"==C.style?(C.marked="property",z(he)):"?"==t||"number"==e||"string"==e?z(he):":"==e?z(le):"["==e?z(L("variable"),se,L("]"),he):"("==e?S(xe,he):void 0}function de(e,t){return"variable"==e&&C.stream.match(/^\s*[?:]/,!1)||"?"==t?z(de):":"==e?z(le):"spread"==e?z(de):S(le)}function fe(e,t){return"<"==t?z(A(">"),ie(le,">"),M,fe):"|"==t||"."==e||"&"==t?z(le):"["==e?z(le,L("]"),fe):"extends"==t||"implements"==t?(C.marked="keyword",z(le)):"?"==t?z(le,L(":"),le):void 0}function ge(e,t){if("<"==t)return z(A(">"),ie(le,">"),M,fe)}function be(){return S(le,me)}function me(e,t){if("="==t)return z(le)}function ve(e,t){return"enum"==t?(C.marked="keyword",z(We)):S(ye,ae,Ce,Se)}function ye(e,t){return u&&k(t)?(C.marked="keyword",z(ye)):"variable"==e?(_(t),z()):"spread"==e?z(ye):"["==e?re(Oe,"]"):"{"==e?re(we,"}"):void 0}function we(e,t){return"variable"!=e||C.stream.match(/^\s*:/,!1)?("variable"==e&&(C.marked="property"),"spread"==e?z(ye):"}"==e?S():"["==e?z(R,L("]"),L(":"),we):z(L(":"),ye,Ce)):(_(t),z(Ce))}function Oe(){return S(ye,Ce)}function Ce(e,t){if("="==t)return z(V)}function Se(e){if(","==e)return z(ve)}function ze(e,t){if("keyword b"==e&&"else"==t)return z(A("form","else"),P,M)}function Te(e,t){return"await"==t?z(Te):"("==e?z(A(")"),_e,M):void 0}function _e(e){return"var"==e?z(ve,ke):"variable"==e?z(ke):S(ke)}function ke(e,t){return")"==e?z():";"==e?z(ke):"in"==t||"of"==t?(C.marked="keyword",z(R,ke)):S(R,ke)}function De(e,t){return"*"==t?(C.marked="keyword",z(De)):"variable"==e?(_(t),z(De)):"("==e?z(N,A(")"),ie(Ne,")"),M,ce,P,I):u&&"<"==t?z(A(">"),ie(be,">"),M,De):void 0}function xe(e,t){return"*"==t?(C.marked="keyword",z(xe)):"variable"==e?(_(t),z(xe)):"("==e?z(N,A(")"),ie(Ne,")"),M,ce,I):u&&"<"==t?z(A(">"),ie(be,">"),M,xe):void 0}function Ee(e,t){return"keyword"==e||"variable"==e?(C.marked="type",z(Ee)):"<"==t?z(A(">"),ie(be,">"),M):void 0}function Ne(e,t){return"@"==t&&z(R,Ne),"spread"==e?z(Ne):u&&k(t)?(C.marked="keyword",z(Ne)):u&&"this"==e?z(ae,Ce):S(ye,ae,Ce)}function je(e,t){return"variable"==e?Ie(e,t):Ae(e,t)}function Ie(e,t){if("variable"==e)return _(t),z(Ae)}function Ae(e,t){return"<"==t?z(A(">"),ie(be,">"),M,Ae):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(C.marked="keyword"),z(u?le:R,Ae)):"{"==e?z(A("}"),Me,M):void 0}function Me(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&k(t))&&C.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(C.marked="keyword",z(Me)):"variable"==e||"keyword"==C.style?(C.marked="property",z(Le,Me)):"number"==e||"string"==e?z(Le,Me):"["==e?z(R,ae,L("]"),Le,Me):"*"==t?(C.marked="keyword",z(Me)):u&&"("==e?S(xe,Me):";"==e||","==e?z(Me):"}"==e?z():"@"==t?z(R,Me):void 0}function Le(e,t){if("?"==t)return z(Le);if(":"==e)return z(le,Ce);if("="==t)return z(V);var n=C.state.lexical.prev;return S(n&&"interface"==n.info?xe:De)}function Pe(e,t){return"*"==t?(C.marked="keyword",z(Ue,L(";"))):"default"==t?(C.marked="keyword",z(R,L(";"))):"{"==e?z(ie(Fe,"}"),Ue,L(";")):S(P)}function Fe(e,t){return"as"==t?(C.marked="keyword",z(L("variable"))):"variable"==e?S(V,Fe):void 0}function Re(e){return"string"==e?z():"("==e?S(R):S(Ve,Be,Ue)}function Ve(e,t){return"{"==e?re(Ve,"}"):("variable"==e&&_(t),"*"==t&&(C.marked="keyword"),z(Ye))}function Be(e){if(","==e)return z(Ve,Be)}function Ye(e,t){if("as"==t)return C.marked="keyword",z(Ve)}function Ue(e,t){if("from"==t)return C.marked="keyword",z(R)}function He(e){return"]"==e?z():S(ie(V,"]"))}function We(){return S(A("form"),ye,L("{"),A("}"),ie(qe,"}"),M,M)}function qe(){return S(ye,Ce)}function Ze(e,t,n){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return I.lex=!0,M.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new D(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),v(e,t)),t.tokenize!=b&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==i?n:(t.lastType="operator"!=i||"++"!=r&&"--"!=r?i:"incdec",function(e,t,n,i,r){var o=e.cc;for(C.state=e,C.stream=r,C.marked=null,C.cc=o,C.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():c?R:P)(n,i)){for(;o.length&&o[o.length-1].lex;)o.pop()();return C.marked?C.marked:"variable"==n&&O(e,i)?"variable-2":t}}(t,n,i,r,e))},indent:function(t,i){if(t.tokenize==b)return e.Pass;if(t.tokenize!=g)return 0;var r,s=i&&i.charAt(0),c=t.lexical;if(!/^\s*else\b/.test(i))for(var u=t.cc.length-1;u>=0;--u){var l=t.cc[u];if(l==M)c=c.prev;else if(l!=ze)break}for(;("stat"==c.type||"form"==c.type)&&("}"==s||(r=t.cc[t.cc.length-1])&&(r==H||r==W)&&!/^[,\.=+\-*:?[\(]/.test(i));)c=c.prev;a&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var p=c.type,d=s==p;return"vardef"==p?c.indented+("operator"==t.lastType||","==t.lastType?c.info.length+1:0):"form"==p&&"{"==s?c.indented:"form"==p?c.indented+o:"stat"==p?c.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||h.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,i)?a||o:0):"switch"!=c.info||d||0==n.doubleIndentSwitch?c.align?c.column+(d?0:1):c.indented+(d?0:o):c.indented+(/^(?:case|default)\b/.test(i)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:s,jsonMode:c,expressionAllowed:Ze,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=R&&t!=V||e.cc.pop()}}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n("VrN/"))},"+jMV":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l}));var i=n("Valr"),r=n("mrSG"),o=n("349r"),a=n("ED2X"),s=n("zPI3"),c=n("TYT/"),u=function(){function e(e,t,n){this.element=e,this.renderer=t,this.animationType=n,this.nzNoAnimation=!1}return e.prototype.ngOnChanges=function(){this.updateClass()},e.prototype.ngAfterViewInit=function(){this.updateClass()},e.prototype.updateClass=function(){var e=Object(o.e)(this.element);e&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(e,"nz-animate-disabled"):this.renderer.removeClass(e,"nz-animate-disabled"))},Object(r.b)([Object(s.a)(),Object(r.d)("design:type",Boolean)],e.prototype,"nzNoAnimation",void 0),e.\u0275fac=function(t){return new(t||e)(c.Tb(c.l),c.Tb(c.E),c.Tb(a.a,8))},e.\u0275dir=c.Ob({type:e,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[c.Bb]}),e}(),l=function(){function e(){}return e.\u0275mod=c.Rb({type:e}),e.\u0275inj=c.Qb({factory:function(t){return new(t||e)},imports:[[i.c]]}),e}()},"+klR":function(e,t,n){"use strict";e.exports=2147483647},"+tJ4":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return function(t){for(var n=0,i=e.length;n=0}},"/C/i":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("dWS+");function r(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(n){var r=n.name.value;return t[r]?e.reportError(new i.a(function(e){return'There can be only one argument named "'.concat(e,'".')}(r),[t[r],n.name])):t[r]=n.name,!1}}}},"/PH2":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("mrSG"),r=n("MGBS"),o=n("zotm");function a(){for(var e=[],t=0;t0){var a=o.indexOf(n);-1!==a&&o.splice(a,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(r.a)},"/WYv":function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return i}))},"/jXB":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},"/kEc":function(e,t,n){"use strict";function i(e){return void 0===e||e!=e}n.d(t,"a",(function(){return i}))},0:function(e,t,n){e.exports=n("zUnb")},"0/uQ":function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("6blF"),r=n("Fxb1"),o=n("pugT"),a=n("xTla"),s=n("JF+6"),c=n("En8+"),u=n("/WYv"),l=n("2ePl");function p(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new i.a((function(n){var i=new o.a;return i.add(t.schedule((function(){var r=e[a.a]();i.add(r.subscribe({next:function(e){i.add(t.schedule((function(){return n.next(e)})))},error:function(e){i.add(t.schedule((function(){return n.error(e)})))},complete:function(){i.add(t.schedule((function(){return n.complete()})))}}))}))),i}))}(e,t);if(Object(u.a)(e))return function(e,t){return new i.a((function(n){var i=new o.a;return i.add(t.schedule((function(){return e.then((function(e){i.add(t.schedule((function(){n.next(e),i.add(t.schedule((function(){return n.complete()})))})))}),(function(e){i.add(t.schedule((function(){return n.error(e)})))}))}))),i}))}(e,t);if(Object(l.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a((function(n){var i,r=new o.a;return r.add((function(){i&&"function"==typeof i.return&&i.return()})),r.add(t.schedule((function(){i=e[c.a](),r.add(t.schedule((function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}})))}))),r}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}},"0ZyQ":function(e,t,n){"use strict";var i=n("TOvx"),r=/[\n\r\u2028\u2029]/g;e.exports=function(e){var t=i(e);return t.length>100&&(t=t.slice(0,99)+"\u2026"),t.replace(r,(function(e){return JSON.stringify(e).slice(1,-1)}))}},"0dpv":function(e,t,n){"use strict";var i=n("1TtK"),r=n("nC3q"),o=n("ZI+j");o.max=function(e,t,n){var a,s,c;(e=i(e))&&(s=r(e),t.on("set"+(a=n.async&&o.async||n.promise&&o.promise?"async":""),c=function(e){void 0!==(e=s.hit(e))&&t.delete(e)}),t.on("get"+a,c),t.on("delete"+a,s.delete),t.on("clear"+a,s.clear))}},"0mNj":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("mrSG"),r=n("FFOo");function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.total))},e}(),s=function(e){function t(t,n){var i=e.call(this,t)||this;return i.total=n,i.count=0,i}return i.c(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(r.a)},"0t4y":function(e,t,n){!function(e){"use strict";e.registerHelper("lint","json",(function(t){var n=[];if(!window.jsonlint)return window.console&&window.console.error("Error: window.jsonlint not defined, CodeMirror JSON linting cannot run."),n;var i=window.jsonlint.parser||window.jsonlint;i.parseError=function(t,i){var r=i.loc;n.push({from:e.Pos(r.first_line-1,r.first_column),to:e.Pos(r.last_line-1,r.last_column),message:t})};try{i.parse(t)}catch(r){}return n}))}(n("VrN/"))},"0xor":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("dWS+"),r=n("dQau"),o=n("axIb"),a=n("umOc");function s(e){return{VariableDefinition:function(t){var n,s,c=Object(a.a)(e.getSchema(),t.type);c&&!Object(o.G)(c)&&e.reportError(new i.a((n=t.variable.name.value,s=Object(r.print)(t.type),'Variable "$'.concat(n,'" cannot be non-input type "').concat(s,'".')),t.type))}}}},"0zd0":function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("T1DM"),r=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}(),o=n("mrSG"),a=n("VGuC"),s=n("MGBS"),c=n("zotm"),u=function(){function e(e,t,n,i){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=i}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},e}(),l=function(e){function t(t,n,i,r,o){var a=e.call(this,t)||this;return a.absoluteTimeout=n,a.waitFor=i,a.withObservable=r,a.scheduler=o,a.action=null,a.scheduleTimeout(),a}return o.c(t,e),t.dispatchTimeout=function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(Object(c.a)(e,t))},t.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))},t.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},t.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},t}(s.a),p=n("XlPw");function h(e,t){return void 0===t&&(t=i.a),function(e,t,n){return void 0===n&&(n=i.a),function(i){var r=Object(a.a)(e),o=r?+e-n.now():Math.abs(e);return i.lift(new u(o,r,t,n))}}(e,Object(p.a)(new r),t)}},"1/U3":function(e,t,n){"use strict";t.a=Array.prototype.find?function(e,t){return Array.prototype.find.call(e,t)}:function(e,t){for(var n=0;n2147483647||t<-2147483648)throw new TypeError("Int cannot represent non 32-bit signed integer value: ".concat(Object(o.a)(e)));return t},parseValue:function(e){if(!r(e))throw new TypeError("Int cannot represent non-integer value: ".concat(Object(o.a)(e)));if(e>2147483647||e<-2147483648)throw new TypeError("Int cannot represent non 32-bit signed integer value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind===s.a.INT){var t=parseInt(e.value,10);if(t<=2147483647&&t>=-2147483648)return t}}}),l=new c.g({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e){if("boolean"==typeof e)return e?1:0;var t=e;if("string"==typeof e&&""!==e&&(t=Number(e)),!i(t))throw new TypeError("Float cannot represent non numeric value: ".concat(Object(o.a)(e)));return t},parseValue:function(e){if(!i(e))throw new TypeError("Float cannot represent non numeric value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){return e.kind===s.a.FLOAT||e.kind===s.a.INT?parseFloat(e.value):void 0}});function p(e){if(Object(a.a)(e)){if("function"==typeof e.valueOf){var t=e.valueOf();if(!Object(a.a)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}var h=new c.g({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var t=p(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if(i(t))return t.toString();throw new TypeError("String cannot represent value: ".concat(Object(o.a)(e)))},parseValue:function(e){if("string"!=typeof e)throw new TypeError("String cannot represent a non string value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){return e.kind===s.a.STRING?e.value:void 0}}),d=new c.g({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){if("boolean"==typeof e)return e;if(i(e))return 0!==e;throw new TypeError("Boolean cannot represent a non boolean value: ".concat(Object(o.a)(e)))},parseValue:function(e){if("boolean"!=typeof e)throw new TypeError("Boolean cannot represent a non boolean value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){return e.kind===s.a.BOOLEAN?e.value:void 0}}),f=new c.g({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=p(e);if("string"==typeof t)return t;if(r(t))return String(t);throw new TypeError("ID cannot represent value: ".concat(Object(o.a)(e)))},parseValue:function(e){if("string"==typeof e)return e;if(r(e))return e.toString();throw new TypeError("ID cannot represent value: ".concat(Object(o.a)(e)))},parseLiteral:function(e){return e.kind===s.a.STRING||e.kind===s.a.INT?e.value:void 0}}),g=Object.freeze([h,u,l,d,f]);function b(e){return Object(c.R)(e)&&g.some((function(t){return e.name===t.name}))}},"1QEH":function(e,t,n){"use strict";t.a=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))}},"1TtK":function(e,t,n){"use strict";var i=n("xfTp"),r=Math.max;e.exports=function(e){return r(0,i(e))}},"1UAX":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("AJqF"),r=n("TYT/"),o=n("bne5"),a=n("xyIE"),s=n("Valr"),c=n("VwhB"),u=n("pvWi"),l=function(){function e(e,t,n){this.el=e,this.document=t,this.zone=n,this.resizeDirection="left",this.resizeChange=new r.n,this.isRight=!1,this.draggingMode=!1,this.siblingGrowthFactor=2,this.throttleMs=100,this.documentMouseUp$=Object(o.a)(this.document,"mouseup"),this.documentMouseMove$=Object(o.a)(this.document,"mousemove").pipe(Object(i.a)(this.throttleMs)),this.elMouseMove$=Object(o.a)(this.el.nativeElement,"mousemove").pipe(Object(i.a)(this.throttleMs)),this.elMouseDown$=Object(o.a)(this.el.nativeElement,"mousedown"),this.resizeElement=this.el.nativeElement.parentElement,this.resizeContainer=this.getResizeContainer()}return e.prototype.ngOnInit=function(){var e=this;"right"===this.resizeDirection&&(this.isRight=!0),this.zone.runOutsideAngular((function(){e.documentMouseUp$.pipe(Object(c.a)(e)).subscribe((function(t){return e.onMouseUp(t)})),e.documentMouseMove$.pipe(Object(c.a)(e)).subscribe((function(t){return e.onResizerMove(t)})),e.elMouseMove$.pipe(Object(c.a)(e)).subscribe((function(t){return e.onResizerMove(t)})),e.elMouseDown$.pipe(Object(c.a)(e)).subscribe((function(t){return e.onResizerPress(t)}))}))},e.prototype.onResizerPress=function(e){var t=this;this.draggingMode=!0,this.originalWidth=this.resizeElement.clientWidth,this.originalX=e.clientX,this.resizeElement.parentElement&&(this.siblingGrowthFactor=Array.from(this.resizeElement.parentElement.children).filter((function(e){return t.resizeElement!==e})).reduce((function(e,t){return+getComputedStyle(t).getPropertyValue("flex-grow")+e}),0))},e.prototype.onResizerMove=function(e){var t=this;if(!this.draggingMode||!this.resizeContainer)return!0;e.stopPropagation(),e.preventDefault(),this.diffX=e.clientX-this.originalX;var n=this.isRight?this.originalWidth+this.diffX:this.originalWidth-this.diffX,i=n/this.resizeContainer.clientWidth,r=i*this.siblingGrowthFactor/(1-i);this.zone.run((function(){t.resizeChange.next(r),a.a.log("mouse moved resizer",n,r)}))},e.prototype.onMouseUp=function(e){if(!this.draggingMode)return!0;this.draggingMode=!1,a.a.log("mouse up.",this.originalWidth,this.diffX)},e.prototype.getResizeContainer=function(){for(var e=this.resizeElement;e&&!e.hasAttribute("data-resize-container");)e=e.parentElement;return e},e.prototype.ngOnDestroy=function(){},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.l),r.Tb(s.e),r.Tb(r.z))},e.\u0275cmp=r.Nb({type:e,selectors:[["app-flex-resizer"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Jb("is-right",t.isRight)},inputs:{resizeDirection:"resizeDirection"},outputs:{resizeChange:"resizeChange"},decls:1,vars:0,consts:[["name","more-vertical"]],template:function(e,t){1&e&&r.Ub(0,"app-icon",0)},directives:[u.a],styles:[""]}),e}()},"2/d+":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("rWdj"),r=n("dWS+"),o=n("axIb");function a(e){return{Field:function(t){var n=e.getType(),a=t.selectionSet;n&&(Object(o.I)(Object(o.A)(n))?a&&e.reportError(new r.a(function(e,t){return'Field "'.concat(e,'" must not have a selection since type "').concat(t,'" has no subfields.')}(t.name.value,Object(i.a)(n)),a)):a||e.reportError(new r.a(function(e,t){return'Field "'.concat(e,'" of type "').concat(t,'" must have a selection of subfields. Did you mean "').concat(e,' { ... }"?')}(t.name.value,Object(i.a)(n)),t)))}}}},"26FU":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("mrSG"),r=n("K9Ia"),o=n("8g8A"),a=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return i.c(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r.a)},"2Bdj":function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",(function(){return i}))},"2C6G":function(e,t,n){"use strict";function i(e,t){if(!Boolean(e))throw new Error(t||"Unexpected invariant triggered")}n.d(t,"a",(function(){return i}))},"2J3F":function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return u}));var i=n("mrSG"),r=n("TYT/"),o=n("Valr");function a(){throw Error("Host already has a portal attached")}var s=function(){function e(){}return e.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&a(),this._attachedHost=e,e.attach(this)},e.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(e.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),e.prototype.setAttachedHost=function(e){this._attachedHost=e},e}(),c=function(e){function t(t,n,i,r){var o=e.call(this)||this;return o.component=t,o.viewContainerRef=n,o.injector=i,o.componentFactoryResolver=r,o}return Object(i.c)(t,e),t}(s),u=function(e){function t(t,n,i){var r=e.call(this)||this;return r.templateRef=t,r.viewContainerRef=n,r.context=i,r}return Object(i.c)(t,e),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,n){return void 0===n&&(n=this.context),this.context=n,e.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,e.prototype.detach.call(this)},t}(s),l=function(e){function t(t){var n=e.call(this)||this;return n.element=t instanceof r.l?t.nativeElement:t,n}return Object(i.c)(t,e),t}(s),p=function(){function e(){this._isDisposed=!1,this.attachDomPortal=null}return e.prototype.hasAttached=function(){return!!this._attachedPortal},e.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&a(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof c?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof u?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof l?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},e.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},e.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},e.prototype.setDisposeFn=function(e){this._disposeFn=e},e.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},e}(),h=function(e){function t(t,n,i,r,o){var a=e.call(this)||this;return a.outletElement=t,a._componentFactoryResolver=n,a._appRef=i,a._defaultInjector=r,a.attachDomPortal=function(t){if(!a._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=t.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=a._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),a.outletElement.appendChild(n),e.prototype.setDisposeFn.call(a,(function(){i.parentNode&&i.parentNode.replaceChild(n,i)}))},a._document=o,a}return Object(i.c)(t,e),t.prototype.attachComponentPortal=function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn((function(){return t.destroy()}))):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t},t.prototype.attachTemplatePortal=function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.detectChanges(),i.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=n.indexOf(i);-1!==e&&n.remove(e)})),i},t.prototype.dispose=function(){e.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},t.prototype._getComponentRootNode=function(e){return e.hostView.rootNodes[0]},t}(p),d=function(e){function t(t,n,i){var o=e.call(this)||this;return o._componentFactoryResolver=t,o._viewContainerRef=n,o._isInitialized=!1,o.attached=new r.n,o.attachDomPortal=function(t){if(!o._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=t.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=o._document.createComment("dom-portal");t.setAttachedHost(o),n.parentNode.insertBefore(i,n),o._getRootNode().appendChild(n),e.prototype.setDisposeFn.call(o,(function(){i.parentNode&&i.parentNode.replaceChild(n,i)}))},o._document=i,o}return Object(i.c)(t,e),Object.defineProperty(t.prototype,"portal",{get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&e.prototype.detach.call(this),t&&e.prototype.attach.call(this,t),this._attachedPortal=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){e.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},t.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=n.createComponent(i,n.length,t.injector||n.injector);return n!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),e.prototype.setDisposeFn.call(this,(function(){return r.destroy()})),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t.prototype.attachTemplatePortal=function(t){var n=this;t.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return e.prototype.setDisposeFn.call(this,(function(){return n._viewContainerRef.clear()})),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i},t.prototype._getRootNode=function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode},t.\u0275fac=function(e){return new(e||t)(r.Tb(r.j),r.Tb(r.Q),r.Tb(o.e))},t.\u0275dir=r.Ob({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r.Ab]}),t}(p),f=function(){function e(){}return e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)}}),e}(),g=function(){function e(e,t){this._parentInjector=e,this._customTokens=t}return e.prototype.get=function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)},e}()},"2Rkc":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("dWS+"),r=n("dQau"),o=n("axIb"),a=n("umOc");function s(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var s=Object(a.a)(e.getSchema(),n);s&&!Object(o.D)(s)&&e.reportError(new i.a(function(e){return'Fragment cannot condition on non composite type "'.concat(e,'".')}(Object(r.print)(n)),n))}},FragmentDefinition:function(t){var n=Object(a.a)(e.getSchema(),t.typeCondition);n&&!Object(o.D)(n)&&e.reportError(new i.a(function(e,t){return'Fragment "'.concat(e,'" cannot condition on non composite type "').concat(t,'".')}(t.name.value,Object(r.print)(t.typeCondition)),t.typeCondition))}}}},"2WDa":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return a})),n.d(t,"m",(function(){return b})),n.d(t,"n",(function(){return m}));var i=function(){return function(){}}(),r=function(){return function(){}}(),o="*";function a(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function c(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function l(e,t,n){return{type:0,name:e,styles:t,options:n}}function p(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}}function h(e,t,n){return void 0===n&&(n=null),{type:11,selector:e,animation:t,options:n}}function d(e,t){return{type:12,timings:e,animation:t}}function f(e){Promise.resolve(null).then(e)}var g=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},e.prototype.triggerMicrotask=function(){var e=this;f((function(){return e._onFinish()}))},e.prototype._onStart=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),b=function(){function e(e){var t=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var n=0,i=0,r=0,o=this.players.length;0==o?f((function(){return t._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++n==o&&t._onFinish()})),e.onDestroy((function(){++i==o&&t._onDestroy()})),e.onStart((function(){++r==o&&t._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this.players.forEach((function(e){return e.init()}))},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))},e.prototype.pause=function(){this.players.forEach((function(e){return e.pause()}))},e.prototype.restart=function(){this.players.forEach((function(e){return e.restart()}))},e.prototype.finish=function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))},e.prototype.destroy=function(){this._onDestroy()},e.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype.setPosition=function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))},e.prototype.getPosition=function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e},e.prototype.beforeDestroy=function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),m="!"},"2WpN":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("mrSG"),r=n("FFOo"),o=n("pugT");function a(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.callback))},e}(),c=function(e){function t(t,n){var i=e.call(this,t)||this;return i.add(new o.a(n)),i}return i.c(t,e),t}(r.a)},"2ZJU":function(e,t,n){"use strict";var i=n("1TtK"),r=n("+klR");e.exports=function(e){if((e=i(e))>r)throw new TypeError(e+" exceeds maximum possible timeout");return e}},"2ePl":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},"306n":function(e,t,n){"use strict";e.exports=(e={})=>{let t;if(e.repoUrl)t=e.repoUrl;else{if(!e.user||!e.repo)throw new Error("You need to specify either the `repoUrl` option or both the `user` and `repo` options");t=`https://github.com/${e.user}/${e.repo}`}const n=new URL(t+"/issues/new"),i=["body","title","labels","template","milestone","assignee","projects"];for(const r of i){let t=e[r];if(void 0!==t){if("labels"===r||"projects"===r){if(!Array.isArray(t))throw new TypeError(`The \`${r}\` option should be an array`);t=t.join(",")}n.searchParams.set(r,t)}}return n.toString()},e.exports.default=e.exports},"349r":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return o}));var i=n("TYT/");function r(e){return null!=e&&""+e!="false"}function o(e,t){return void 0===t&&(t=0),a(e)?Number(e):t}function a(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function s(e){return Array.isArray(e)?e:[e]}function c(e){return null==e?"":"string"==typeof e?e:e+"px"}function u(e){return e instanceof i.l?e.nativeElement:e}},"3HNt":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("EkS5"),r=n("1QEH"),o=n("rWdj"),a=n("2C6G"),s=n("das/"),c=n("/kEc"),u=n("zpYP"),l=n("/jXB"),p=n("19Hc"),h=n("axIb");function d(e,t){if(Object(h.L)(t)){var n=d(e,t.ofType);return n&&n.kind===l.a.NULL?null:n}if(null===e)return{kind:l.a.NULL};if(Object(c.a)(e))return null;if(Object(h.J)(t)){var g=t.ofType;if(Object(i.e)(e)){var b=[];return Object(i.b)(e,(function(e){var t=d(e,g);t&&b.push(t)})),{kind:l.a.LIST,values:b}}return d(e,g)}if(Object(h.F)(t)){if(!Object(u.a)(e))return null;for(var m=[],v=0,y=Object(r.a)(t.getFields());vAn error occurred:

"+p(o.message+"",!0)+"
";throw o}}g.options=g.setOptions=function(e){return u(g.defaults,e),d(g.defaults),g},g.getDefaults=h,g.defaults=f,g.Parser=r,g.parser=r.parse,g.Renderer=o,g.TextRenderer=a,g.Lexer=i,g.lexer=i.lex,g.InlineLexer=s,g.inlineLexer=s.output,g.Slugger=c,g.parse=g,e.exports=g},"4RMZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("1/U3"),r=n("/jXB"),o=n("axIb"),a=n("LViu"),s=n("umOc"),c=function(){function e(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=t||u,n&&(Object(o.G)(n)&&this._inputTypeStack.push(n),Object(o.D)(n)&&this._parentTypeStack.push(n),Object(o.O)(n)&&this._typeStack.push(n))}var t=e.prototype;return t.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case r.a.SELECTION_SET:var n=Object(o.A)(this.getType());this._parentTypeStack.push(Object(o.D)(n)?n:void 0);break;case r.a.FIELD:var a,c,u=this.getParentType();u&&(a=this._getFieldDef(t,u,e))&&(c=a.type),this._fieldDefStack.push(a),this._typeStack.push(Object(o.O)(c)?c:void 0);break;case r.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case r.a.OPERATION_DEFINITION:var l;"query"===e.operation?l=t.getQueryType():"mutation"===e.operation?l=t.getMutationType():"subscription"===e.operation&&(l=t.getSubscriptionType()),this._typeStack.push(Object(o.N)(l)?l:void 0);break;case r.a.INLINE_FRAGMENT:case r.a.FRAGMENT_DEFINITION:var p=e.typeCondition,h=p?Object(s.a)(t,p):Object(o.A)(this.getType());this._typeStack.push(Object(o.O)(h)?h:void 0);break;case r.a.VARIABLE_DEFINITION:var d=Object(s.a)(t,e.type);this._inputTypeStack.push(Object(o.G)(d)?d:void 0);break;case r.a.ARGUMENT:var f,g,b=this.getDirective()||this.getFieldDef();b&&(f=Object(i.a)(b.args,(function(t){return t.name===e.name.value})))&&(g=f.type),this._argument=f,this._defaultValueStack.push(f?f.defaultValue:void 0),this._inputTypeStack.push(Object(o.G)(g)?g:void 0);break;case r.a.LIST:var m=Object(o.B)(this.getInputType()),v=Object(o.J)(m)?m.ofType:m;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(o.G)(v)?v:void 0);break;case r.a.OBJECT_FIELD:var y,w,O=Object(o.A)(this.getInputType());Object(o.F)(O)&&(w=O.getFields()[e.name.value])&&(y=w.type),this._defaultValueStack.push(w?w.defaultValue:void 0),this._inputTypeStack.push(Object(o.G)(y)?y:void 0);break;case r.a.ENUM:var C,S=Object(o.A)(this.getInputType());Object(o.E)(S)&&(C=S.getValue(e.value)),this._enumValue=C}},t.leave=function(e){switch(e.kind){case r.a.SELECTION_SET:this._parentTypeStack.pop();break;case r.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case r.a.DIRECTIVE:this._directive=null;break;case r.a.OPERATION_DEFINITION:case r.a.INLINE_FRAGMENT:case r.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case r.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case r.a.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case r.a.LIST:case r.a.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case r.a.ENUM:this._enumValue=null}},e}();function u(e,t,n){var i=n.name.value;return i===a.SchemaMetaFieldDef.name&&e.getQueryType()===t?a.SchemaMetaFieldDef:i===a.TypeMetaFieldDef.name&&e.getQueryType()===t?a.TypeMetaFieldDef:i===a.TypeNameMetaFieldDef.name&&Object(o.D)(t)?a.TypeNameMetaFieldDef:Object(o.N)(t)||Object(o.H)(t)?t.getFields()[i]:void 0}},"4fRq":function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var i=new Uint8Array(16);e.exports=function(){return n(i),i}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},"4suF":function(e,t,n){"use strict";n.d(t,"g",(function(){return f})),n.d(t,"f",(function(){return g})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return v})),n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return w})),n.d(t,"i",(function(){return O})),n.d(t,"h",(function(){return C}));var i=n("Y/la"),r=n("rWdj"),o=n("E9SJ"),a=n("t3R0"),s=n("Mw0p"),c=n("vJkw"),u=n("zpYP"),l=n("ZZnB"),p=n("F8X2"),h=n("19Hc"),d=n("axIb");function f(e){return Object(s.a)(e,b)}function g(e){if(!f(e))throw new Error("Expected ".concat(Object(r.a)(e)," to be a GraphQL directive."));return e}var b=function(){function e(e){this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!=e.isRepeatable&&e.isRepeatable,this.extensions=e.extensions&&Object(o.a)(e.extensions),this.astNode=e.astNode,e.name||Object(a.a)(0,"Directive must be named."),Array.isArray(e.locations)||Object(a.a)(0,"@".concat(e.name," locations must be an Array."));var t=e.args||{};Object(u.a)(t)&&!Array.isArray(t)||Object(a.a)(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=Object(i.a)(t).map((function(e){var t=e[1];return{name:e[0],description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(o.a)(t.extensions),astNode:t.astNode}}))}var t=e.prototype;return t.toString=function(){return"@"+this.name},t.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Object(d.i)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},e}();Object(l.a)(b),Object(c.a)(b);var m=new b({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[p.a.FIELD,p.a.FRAGMENT_SPREAD,p.a.INLINE_FRAGMENT],args:{if:{type:Object(d.e)(h.a),description:"Included when true."}}}),v=new b({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[p.a.FIELD,p.a.FRAGMENT_SPREAD,p.a.INLINE_FRAGMENT],args:{if:{type:Object(d.e)(h.a),description:"Skipped when true."}}}),y="No longer supported",w=new b({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[p.a.FIELD_DEFINITION,p.a.ENUM_VALUE],args:{reason:{type:h.e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).",defaultValue:y}}}),O=Object.freeze([m,v,w]);function C(e){return f(e)&&O.some((function(t){return t.name===e.name}))}},"51nL":function(e,t,n){"use strict";n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return b}));var i=n("1/U3"),r=n("1QEH"),o=n("rWdj"),a=n("E9SJ"),s=n("t3R0"),c=n("Mw0p"),u=n("zpYP"),l=n("ZZnB"),p=n("LViu"),h=n("4suF"),d=n("axIb");function f(e){return Object(c.a)(e,b)}function g(e){if(!f(e))throw new Error("Expected ".concat(Object(o.a)(e)," to be a GraphQL schema."));return e}var b=function(){function e(e){e&&e.assumeValid?this.__validationErrors=[]:(this.__validationErrors=void 0,Object(u.a)(e)||Object(s.a)(0,"Must provide configuration object."),!e.types||Array.isArray(e.types)||Object(s.a)(0,'"types" must be Array if provided but got: '.concat(Object(o.a)(e.types),".")),!e.directives||Array.isArray(e.directives)||Object(s.a)(0,'"directives" must be Array if provided but got: '+"".concat(Object(o.a)(e.directives),".")),!e.allowedLegacyNames||Array.isArray(e.allowedLegacyNames)||Object(s.a)(0,'"allowedLegacyNames" must be Array if provided but got: '+"".concat(Object(o.a)(e.allowedLegacyNames),"."))),this.extensions=e.extensions&&Object(a.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this.__allowedLegacyNames=e.allowedLegacyNames||[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=e.directives||h.i;var t=[this._queryType,this._mutationType,this._subscriptionType,p.__Schema].concat(e.types),n=Object.create(null);n=t.reduce(m,n),n=this._directives.reduce(v,n),this._typeMap=n,this._possibleTypeMap=Object.create(null),this._implementations=Object.create(null);for(var i=0,c=Object(r.a)(this._typeMap);i1&&"_"===e[0]&&"_"===e[1]?new r.a('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.'),t):o.test(e)?void 0:new r.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'),t)}},"5XwX":function(e,t,n){"use strict";n.d(t,"c",(function(){return f})),n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return b}));var i=n("1/U3"),r=n("kBjl"),o=n("rWdj"),a=n("tzQD"),s=n("dWS+"),c=n("/jXB"),u=n("dQau"),l=n("axIb"),p=n("umOc"),h=n("Mbdf"),d=n("67eP");function f(e,t,n,i){var r=i&&i.maxErrors,c=[];try{var f=function(e,t,n,i){for(var r={},c=function(c){var f=t[c],g=f.variable.name.value,b=Object(p.a)(e,f.type);if(!Object(l.G)(b)){var v=Object(u.print)(f.type);return i(new s.a('Variable "$'.concat(g,'" expected value of type "').concat(v,'" which cannot be used as an input type.'),f.type)),"continue"}if(!m(n,g)){if(f.defaultValue)r[g]=Object(h.a)(f.defaultValue,b);else if(Object(l.L)(b)){var y=Object(o.a)(b);i(new s.a('Variable "$'.concat(g,'" of required type "').concat(y,'" was not provided.'),f))}return"continue"}var w=n[g];if(null===w&&Object(l.L)(b)){var O=Object(o.a)(b);return i(new s.a('Variable "$'.concat(g,'" of non-null type "').concat(O,'" must not be null.'),f)),"continue"}r[g]=Object(d.a)(w,b,(function(e,t,n){var r='Variable "$'.concat(g,'" got invalid value ')+Object(o.a)(t);e.length>0&&(r+=' at "'.concat(g).concat(Object(a.a)(e),'"')),i(new s.a(r+"; "+n.message,f,void 0,void 0,void 0,n.originalError))}))},f=0;f=r)throw new s.a("Too many errors processing variables, error limit reached. Execution aborted.");c.push(e)}));if(0===c.length)return{coerced:f}}catch(g){c.push(g)}return{errors:c}}function g(e,t,n){for(var i={},a=Object(r.a)(t.arguments||[],(function(e){return e.name.value})),p=0,d=e.args;p2&&void 0!==arguments[2]?arguments[2]:g;return b(e,t,n)}function g(e,t,n){var i="Invalid value "+Object(o.a)(t);throw e.length>0&&(i+=' at "value'.concat(Object(l.a)(e),'": ')),n.message=i+": "+n.message,n}function b(e,t,n,l){if(Object(d.L)(t))return null!=e?b(e,t.ofType,n,l):void n(Object(p.b)(l),e,new h.a("Expected non-nullable type ".concat(Object(o.a)(t)," not to be null.")));if(null==e)return null;if(Object(d.J)(t)){var f=t.ofType;if(Object(i.e)(e)){var g=[];return Object(i.b)(e,(function(e,t){g.push(b(e,f,n,Object(p.a)(l,t)))})),g}return[b(e,f,n,l)]}if(Object(d.F)(t)){if(!Object(c.a)(e))return void n(Object(p.b)(l),e,new h.a("Expected type ".concat(t.name," to be an object.")));for(var m={},v=t.getFields(),y=0,w=Object(r.a)(v);y0&&(e=B.apply(null,Object(i.g)(t,[e]))),function(t,n){var i=e(t);return function(e,t){return i(e=void 0===e?n:e,t)}}}var U=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.c)(t,e),t}(a.a),H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.c)(t,e),t}(v),W="@ngrx/store/update-reducers",q=function(e){function t(t,n,i,r){var o=e.call(this,r(i,n))||this;return o.dispatcher=t,o.initialState=n,o.reducers=i,o.reducerFactory=r,o}return Object(i.c)(t,e),t.prototype.addFeature=function(e){this.addFeatures([e])},t.prototype.addFeatures=function(e){var t=e.reduce((function(e,t){var n=t.reducers,r=t.reducerFactory,o=t.metaReducers,a=t.initialState,s=t.key,c="function"==typeof n?function(e){var t=Array.isArray(e)&&e.length>0?B.apply(void 0,Object(i.g)(e)):function(e){return e};return function(e,n){return e=t(e),function(t,i){return e(t=void 0===t?n:t,i)}}}(o)(n,a):Y(r,o)(n,a);return e[s]=c,e}),{});this.addReducers(t)},t.prototype.removeFeature=function(e){this.removeFeatures([e])},t.prototype.removeFeatures=function(e){this.removeReducers(e.map((function(e){return e.key})))},t.prototype.addReducer=function(e,t){var n;this.addReducers(((n={})[e]=t,n))},t.prototype.addReducers=function(e){this.reducers=Object(i.a)(Object(i.a)({},this.reducers),e),this.updateReducers(Object.keys(e))},t.prototype.removeReducer=function(e){this.removeReducers([e])},t.prototype.removeReducers=function(e){var t=this;e.forEach((function(e){var n,i;t.reducers=(n=t.reducers,i=e,Object.keys(n).filter((function(e){return e!==i})).reduce((function(e,t){var i;return Object.assign(e,((i={})[t]=n[t],i))}),{}))})),this.updateReducers(e)},t.prototype.updateReducers=function(e){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:W,features:e})},t.prototype.ngOnDestroy=function(){this.complete()},t.\u0275fac=function(e){return new(e||t)(r.dc(H),r.dc(C),r.dc(T),r.dc(S))},t.\u0275prov=r.Pb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(o.a),Z=[q,{provide:U,useExisting:q},{provide:H,useExisting:v}],$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(i.c)(t,e),t.prototype.ngOnDestroy=function(){this.complete()},t.\u0275fac=function(e){return n(e||t)},t.\u0275prov=r.Pb({token:t,factory:function(e){return t.\u0275fac(e)}});var n=r.bc(t);return t}(s.a),G=[$],Q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.c)(t,e),t}(a.a),X=function(e){function t(t,n,i,r){var o=e.call(this,r)||this,a={state:r},s=t.pipe(Object(u.b)(c.a)).pipe(Object(l.a)(n)).pipe(Object(p.a)(K,a));return o.stateSubscription=s.subscribe((function(e){var t=e.action;o.next(e.state),i.next(t)})),o}return Object(i.c)(t,e),t.prototype.ngOnDestroy=function(){this.stateSubscription.unsubscribe(),this.complete()},t.INIT=m,t.\u0275fac=function(e){return new(e||t)(r.dc(v),r.dc(U),r.dc($),r.dc(C))},t.\u0275prov=r.Pb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(o.a);function K(e,t){void 0===e&&(e={state:void 0});var n=Object(i.e)(t,2),r=n[0];return{state:(0,n[1])(e.state,r),action:r}}var J=[X,{provide:Q,useExisting:X}],ee=function(e){function t(t,n,i){var r=e.call(this)||this;return r.actionsObserver=n,r.reducerManager=i,r.source=t,r}var n;return Object(i.c)(t,e),n=t,t.prototype.select=function(e){for(var t,n=[],r=1;r0?1:-1}},"7CWi":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return h}));var i,r=n("TYT/"),o=n("Valr");try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(g){i=!1}var a,s,c,u=function(){function e(e){this._platformId=e,this.isBrowser=this._platformId?Object(o.L)(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&&!i)&&"undefined"!=typeof CSS&&!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}return e.\u0275prov=Object(r.Pb)({factory:function(){return new e(Object(r.dc)(r.B,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(r.dc(r.B,8))},e}(),l=function(){function e(){}return e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)}}),e}();function p(e){return function(){if(null==a&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return a=!0}}))}finally{a=a||!1}return a}()?e:!!e.capture}function h(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function d(){if("object"!=typeof document||!document)return 0;if(null==s){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),s=0,0===e.scrollLeft&&(e.scrollLeft=1,s=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return s}function f(e){if(function(){if(null==c){var e="undefined"!=typeof document?document.head:null;c=!(!e||!e.createShadowRoot&&!e.attachShadow)}return c}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}},"7PmA":function(e,t,n){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},"86bp":function(e,t,n){"use strict";var i=n("YsTz"),r=Array.prototype.forEach,o=Object.create,a=function(e,t){var n;for(n in e)t[n]=e[n]};e.exports=function(e){var t=o(null);return r.call(arguments,(function(e){i(e)&&a(Object(e),t)})),t}},"8O83":function(e,t,n){"use strict";function i(e){const t=/^.+\.([^.]+)$/.exec(e);return t&&t.length>1?t[1]:null}function r(e,t){let n=e;return t&&(n=e.substr(0,e.length-(t.length+1))),n}function o(e){if(e)throw Error(`cannot import() module with extension '${e}'`)}n.r(t),n.d(t,"getFileExtension",(function(){return i})),n.d(t,"getPathWithoutExtension",(function(){return r})),n.d(t,"resolveFile",(function(){return l})),n.d(t,"requireFile",(function(){return p}));const a=e=>n("Lxz9").resolve(e+".js"),s=e=>n("FBZJ").resolve(e+".json"),c=e=>n("6VjI")(e+".js"),u=e=>n("3PdN")(e+".json");function l(e){const t=i(e),n=r(e,t);switch(t){case"js":return a(n);case"json":return s(n);default:try{return a(e)}catch(o){return s(e)}}}function p(e){const t=i(e),n=r(e,t);switch(t){case"js":return l(n+".js")?c(n):null;case"json":return l(n+".json")?u(n):null;default:try{if(l(e+".js"))return c(e)}catch(a){o(t)}if(l(e+".json"))return u(e);o(t)}}},"8Ur0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldReference=function(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:"Argument",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:"Argument",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(e){return{kind:"EnumValue",value:e.enumValue,type:(0,i.getNamedType)(e.inputType)}},t.getTypeReference=function(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}};var i=n("Tzvz");function r(e){return"__"===e.name.slice(0,2)}},"8g8A":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},"8j7D":function(e,t,n){"use strict";var i=n("9Qh4"),r=n("ZI+j"),o=Object.create,a=Object.defineProperties;r.refCounter=function(e,t,n){var s,c;s=o(null),t.on("set"+(c=n.async&&r.async||n.promise&&r.promise?"async":""),(function(e,t){s[e]=t||1})),t.on("get"+c,(function(e){++s[e]})),t.on("delete"+c,(function(e){delete s[e]})),t.on("clear"+c,(function(){s={}})),a(t.memoized,{deleteRef:i((function(){var e=t.get(arguments);return null===e?null:s[e]?!--s[e]&&(t.delete(e),!0):null})),getRefCount:i((function(){var e=t.get(arguments);return null===e?0:s[e]?s[e]:0}))})}},"93gR":function(e,t,n){"use strict";n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return b}));var i=n("1/U3"),r=n("PXbX"),o=n("1QEH"),a=n("Y/la"),s=n("rWdj"),c=n("dWS+"),u=n("5PMP"),l=n("sJV+"),p=n("4suF"),h=n("LViu"),d=n("51nL"),f=n("axIb");function g(e){if(Object(d.b)(e),e.__validationErrors)return e.__validationErrors;var t=new m(e);!function(e){var t=e.schema,n=t.getQueryType();n?Object(f.N)(n)||e.reportError("Query root type must be Object type, it cannot be ".concat(Object(s.a)(n),"."),v(t,n,"query")):e.reportError("Query root type must be provided.",t.astNode);var i=t.getMutationType();i&&!Object(f.N)(i)&&e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat(Object(s.a)(i),"."),v(t,i,"mutation"));var r=t.getSubscriptionType();r&&!Object(f.N)(r)&&e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat(Object(s.a)(r),"."),v(t,r,"subscription"))}(t),function(e){for(var t=0,n=e.schema.getDirectives();t0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]\n "+e.search+"\n "+e.cat+"\n "+e.description+"\n ")},this.translate.get("DOCS_SEARCH_INPUT_PLACEHOLDER_TEXT").pipe(Object(s.a)(this)).subscribe((function(e){return a.searchInputPlaceholder=e})),this.setDocViewChange.subscribe((function(){a.docViewerRef.nativeElement.scrollTop=0}))}return e.prototype.ngOnChanges=function(e){e.gqlSchema&&e.gqlSchema.currentValue&&(this.gqlSchema=e.gqlSchema.currentValue,this.updateDocs(e.gqlSchema.currentValue))},e.prototype.updateDocs=function(e){return _(this,void 0,void 0,(function(){var t,n,i,r;return k(this,(function(o){switch(o.label){case 0:a.a.log(e),this.rootTypes=Object(p.a)(e),o.label=1;case 1:return o.trys.push([1,6,,7]),[4,this.getDocUtilsWorker()];case 2:return t=o.sent(),[4,this.gqlService.getSDL(e)];case 3:return n=o.sent(),[4,t.updateSchema(n)];case 4:return o.sent(),i=this,[4,this.docUtilWorker.generateSearchIndex()];case 5:return i.index=o.sent(),a.a.log("Worker index:",this.index),this.hasSearchIndex=!0,[3,7];case 6:return r=o.sent(),a.a.log("Error while generating index.",r),this.hasSearchIndex=!1,[3,7];case 7:return[2]}}))}))},e.prototype.searchInputKeyUp=function(e,t){t&&13!==t.keyCode||this.searchDocs(e)},e.prototype.searchDocs=function(e){return _(this,void 0,void 0,(function(){var t,n;return k(this,(function(i){switch(i.label){case 0:return"string"!=typeof e&&(e=e.name),this.hasSearchIndex?(this.updateDocHistory(),this.setDocViewChange.next({view:"search"}),[4,this.getDocUtilsWorker()]):[2,!1];case 1:return t=i.sent(),n=this,[4,t.searchDocs(e)];case 2:return n.searchResult=i.sent(),a.a.log(this.searchResult),[2]}}))}))},e.prototype.cleanName=function(e){return e.replace(/[\[\]!]/g,"")},e.prototype.goBack=function(){this.docHistory.length&&this.setDocViewChange.next(this.docHistory.pop())},e.prototype.goHome=function(){this.setDocViewChange.next({view:"root"}),this.docHistory=[]},e.prototype.updateDocHistory=function(){this.docView&&"search"!==this.docView.view&&this.docHistory.push(T({},this.docView))},e.prototype.goToType=function(e){this.updateDocHistory(),this.setDocViewChange.next({view:"type",name:e.replace(/[\[\]!]/g,"")})},e.prototype.goToField=function(e,t){this.updateDocHistory(),this.setDocViewChange.next({view:"field",name:e.replace(/[\[\]!]/g,""),parentType:t.replace(/[\[\]!]/g,"")})},e.prototype.addToEditor=function(e,t){return _(this,void 0,void 0,(function(){var n;return k(this,(function(i){switch(i.label){case 0:return this.hasSearchIndex?[4,this.getDocUtilsWorker()]:[2,!1];case 1:return[4,i.sent().generateQuery(e,t,{tabSize:this.tabSize,addQueryDepthLimit:this.addQueryDepthLimit})];case 2:return(n=i.sent())&&this.addQueryToEditorChange.next(n),[2]}}))}))},e.prototype.exportSDL=function(){this.exportSDLChange.next()},e.prototype.getDocUtilsWorker=function(){return _(this,void 0,void 0,(function(){var e,t;return k(this,(function(i){switch(i.label){case 0:return this.docUtilWorker?[3,4]:W?(e=this,[4,new W]):[3,2];case 1:return e.docUtilWorker=i.sent(),[3,4];case 2:return[4,n.e(6).then(n.bind(null,"U3tN"))];case 3:t=i.sent().DocUtils,this.docUtilWorker=new t,i.label=4;case 4:return[2,this.docUtilWorker]}}))}))},e.prototype.onResize=function(e){this.resizeFactor=e},e.prototype.rootTypeTrackBy=function(e,t){return t.name},e.prototype.ngOnDestroy=function(){},e.\u0275fac=function(t){return new(t||e)(i.Tb(h.e),i.Tb(l.GqlService),i.Tb(d.b),i.Tb(o.a))},e.\u0275cmp=i.Nb({type:e,selectors:[["app-doc-viewer"]],viewQuery:function(e,t){var n;1&e&&i.Sc(D,!0),2&e&&i.zc(n=i.ic())&&(t.docViewerRef=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&i.Kc("flex-grow",t.resizeFactor)},inputs:{gqlSchema:"gqlSchema",allowIntrospection:"allowIntrospection",isLoading:"isLoading",addQueryDepthLimit:"addQueryDepthLimit",tabSize:"tabSize",docView:"docView",lastUpdatedAt:"lastUpdatedAt"},outputs:{toggleDocsChange:"toggleDocsChange",setDocViewChange:"setDocViewChange",addQueryToEditorChange:"addQueryToEditorChange",exportSDLChange:"exportSDLChange",loadSchemaChange:"loadSchemaChange"},features:[i.Bb],decls:8,vars:3,consts:[["class","app-doc-viewer",4,"ngIf"],["class","doc-viewer__last-updated",4,"ngIf"],["class","app-doc-notice",4,"ngIf"],[3,"resizeChange"],[1,"app-doc-viewer"],["docViewer",""],["class","app-doc-loader",4,"ngIf"],[1,"doc-viewer-header"],[1,"doc-viewer-navigation"],[1,"doc-viewer-navigation--left"],["class","doc-viewer-navigation__option","track-id","go_back_docs",3,"click",4,"ngIf"],["class","doc-viewer-navigation__option",3,"click",4,"ngIf"],[1,"doc-viewer-navigation--right"],["nz-dropdown","","nzTrigger","click",1,"doc-viewer-navigation__option",3,"nzDropdownMenu"],["name","more-horizontal"],["docViewerMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"click",4,"ngIf"],["nz-menu-item","",3,"click"],[1,"doc-viewer-navigation__option",3,"click"],["name","x"],[1,"doc-viewer-search-wrapper"],["ngui-auto-complete","","value-property-name","search","display-property-name","search",1,"doc-viewer-search-input",3,"ngModel","source","min-chars","list-formatter","placeholder","ngModelChange","keyup","valueChanged"],[1,"doc-viewer-items"],[3,"ngSwitch",4,"ngIf"],[1,"app-doc-loader"],[1,"app-doc-loader-content"],["src","assets/img/logo.svg","alt","",1,"anim",3,"ngClass"],["track-id","go_back_docs",1,"doc-viewer-navigation__option",3,"click"],["name","arrow-left"],["name","home"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","doc-viewer-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"doc-viewer-item"],["class","no-link-link",3,"click",4,"ngIf"],[1,"no-link-link",3,"click"],[3,"data","gqlSchema","goToFieldChange","goToTypeChange","addToEditorChange",4,"ngIf"],[3,"data","gqlSchema","goToFieldChange","goToTypeChange","addToEditorChange"],[3,"data","gqlSchema","parentType","goToFieldChange","goToTypeChange","addToEditorChange"],[3,"results","goToFieldChange","goToTypeChange"],[1,"doc-viewer__last-updated"],[1,"app-doc-notice"]],template:function(e,t){1&e&&(i.Lc(0,Y,54,14,"div",0),i.Nc(1,"\n"),i.Lc(2,U,4,7,"div",1),i.Nc(3,"\n"),i.Lc(4,H,3,3,"div",2),i.Nc(5,"\n"),i.Zb(6,"app-flex-resizer",3),i.hc("resizeChange",(function(e){return t.onResize(e)})),i.Yb(),i.Nc(7,"\n")),2&e&&(i.sc("ngIf",t.allowIntrospection),i.Db(2),i.sc("ngIf",t.gqlSchema&&t.lastUpdatedAt),i.Db(2),i.sc("ngIf",!t.allowIntrospection))},directives:[f.t,g.a,b.b,m.a,b.e,v.c,y.a,v.f,w.e,O.b,w.o,w.r,f.q,f.x,f.y,f.s,C.a,S.a,z.a],pipes:[h.d,f.f],encapsulation:2,data:{animation:[c.a]},changeDetection:0}),e}()}).call(this,n("DBmV"))},"9g66":function(e,t,n){"use strict";var i=n("e989"),r=n("lq5y"),o=Math.max;e.exports=function(e,t){var n,a,s,c=o(arguments.length,2);for(e=Object(r(e)),s=function(i){try{e[i]=t[i]}catch(r){n||(n=r)}},a=1;a=0;u--)if(l[u]!==p[u])return!1;for(u=l.length-1;u>=0;u--)if(!y(e[s=l[u]],t[s],n,i))return!1;return!0}(e,t,n,i))}return n?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function O(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function C(e,t,n,i){var r;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(i=n,n=null),r=function(e){var t;try{e()}catch(n){t=n}return t}(t),i=(n&&n.name?" ("+n.name+").":".")+(i?" "+i:"."),e&&!r&&m(r,n,"Missing expected exception"+i);var o="string"==typeof i,s=!e&&r&&!n;if((!e&&a.isError(r)&&o&&O(r,n)||s)&&m(r,n,"Got unwanted exception"+i),e&&r&&n&&!O(r,n)||!e&&r)throw r}h.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return g(b(e.actual),128)+" "+e.operator+" "+g(b(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||m;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var i=n.stack,r=f(t),o=i.indexOf("\n"+r);if(o>=0){var a=i.indexOf("\n",o+1);i=i.substring(a+1)}this.stack=i}}},a.inherits(h.AssertionError,Error),h.fail=m,h.ok=v,h.equal=function(e,t,n){e!=t&&m(e,t,n,"==",h.equal)},h.notEqual=function(e,t,n){e==t&&m(e,t,n,"!=",h.notEqual)},h.deepEqual=function(e,t,n){y(e,t,!1)||m(e,t,n,"deepEqual",h.deepEqual)},h.deepStrictEqual=function(e,t,n){y(e,t,!0)||m(e,t,n,"deepStrictEqual",h.deepStrictEqual)},h.notDeepEqual=function(e,t,n){y(e,t,!1)&&m(e,t,n,"notDeepEqual",h.notDeepEqual)},h.notDeepStrictEqual=function e(t,n,i){y(t,n,!0)&&m(t,n,i,"notDeepStrictEqual",e)},h.strictEqual=function(e,t,n){e!==t&&m(e,t,n,"===",h.strictEqual)},h.notStrictEqual=function(e,t,n){e===t&&m(e,t,n,"!==",h.notStrictEqual)},h.throws=function(e,t,n){C(!0,e,t,n)},h.doesNotThrow=function(e,t,n){C(!1,e,t,n)},h.ifError=function(e){if(e)throw e},h.strict=i((function e(t,n){t||m(t,!0,n,"==",e)}),h,{equal:h.strictEqual,deepEqual:h.deepStrictEqual,notEqual:h.notStrictEqual,notDeepEqual:h.notDeepStrictEqual}),h.strict.strict=h.strict;var S=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}},A67W:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("dWS+");function r(e,t){return t?'Variable "$'.concat(e,'" is never used in operation "').concat(t,'".'):'Variable "$'.concat(e,'" is never used.')}function o(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var o=Object.create(null),a=e.getRecursiveVariableUsages(n),s=n.name?n.name.value:null,c=0;c0&&e.reportError(new i.a("Must provide only one schema definition.",t)),++r)}}}},AJqF:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("mrSG"),r=n("FFOo"),o=n("T1DM"),a=(n("MGBS"),n("zotm"),{leading:!0,trailing:!1});function s(e,t,n){return void 0===t&&(t=o.a),void 0===n&&(n=a),function(i){return i.lift(new c(e,t,n.leading,n.trailing))}}var c=function(){function e(e,t,n,i){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=i}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.duration,this.scheduler,this.leading,this.trailing))},e}(),u=function(e){function t(t,n,i,r,o){var a=e.call(this,t)||this;return a.duration=n,a.scheduler=i,a.leading=r,a.trailing=o,a._hasTrailingValue=!1,a._trailingValue=null,a}return i.c(t,e),t.prototype._next=function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(l,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))},t.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},t.prototype.clearThrottle=function(){var e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)},t}(r.a);function l(e){e.subscriber.clearThrottle()}},"AW/X":function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var i=n("1QEH"),r=n("kBjl"),o=n("rWdj"),a=n("/kEc"),s=n("pv/G"),c=n("T95z"),u=n("dWS+"),l=n("dQau"),p=n("axIb");function h(e,t,n){return"Expected type ".concat(e,", found ").concat(t)+(n?"; ".concat(n):".")}function d(e,t,n){return"Expected type ".concat(e,", found ").concat(t,".")+Object(s.a)("the enum value",n)}function f(e){return{NullValue:function(t){var n=e.getInputType();Object(p.L)(n)&&e.reportError(new u.a(h(Object(o.a)(n),Object(l.print)(t)),t))},ListValue:function(t){var n=Object(p.B)(e.getParentInputType());if(!Object(p.J)(n))return g(e,t),!1},ObjectValue:function(t){var n=Object(p.A)(e.getInputType());if(!Object(p.F)(n))return g(e,t),!1;for(var a,s,c=Object(r.a)(t.fields,(function(e){return e.name.value})),l=0,h=Object(i.a)(n.getFields());l0&&a(t[0]);)t.shift();for(;t.length>0&&a(t[t.length-1]);)t.pop();return t.join("\n")}function r(e){for(var t=null,n=1;n1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=-1===e.indexOf("\n"),r=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a=!i||o||n,s="";return!a||i&&r||(s+="\n"+t),s+=t?e.replace(/\n/g,"\n"+t):e,a&&(s+="\n"),'"""'+s.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return s}))},C2QD:function(e,t){function n(e){this.ms=(e=e||{}).min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},C2zF:function(e,t,n){!function(e){"use strict";function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function n(e){return e.state.search||(e.state.search=new t)}function i(e){return"string"==typeof e&&e==e.toLowerCase()}function r(e,t,n){return e.getSearchCursor(t,n,{caseFold:i(t),multiline:!0})}function o(e,t,n,i,r){e.openDialog?e.openDialog(t,r,{value:i,selectValueOnOpen:!0}):r(prompt(n,i))}function a(e){return e.replace(/\\([nrt\\])/g,(function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"==t?"\\":e}))}function s(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(n){}else e=a(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function c(e,t,n){t.queryText=n,t.query=s(n),e.removeOverlay(t.overlay,i(t.query)),t.overlay=function(e,t){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,"searching";n?t.pos=n.index:t.skipToEnd()}}}(t.query,i(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,i(t.query)))}function u(t,i,r,a){var s=n(t);if(s.query)return l(t,i);var u=t.getSelection()||s.lastQuery;if(u instanceof RegExp&&"x^"==u.source&&(u=null),r&&t.openDialog){var d=null,f=function(n,i){e.e_stop(i),n&&(n!=s.queryText&&(c(t,s,n),s.posFrom=s.posTo=t.getCursor()),d&&(d.style.opacity=1),l(t,i.shiftKey,(function(e,n){var i;n.line<3&&document.querySelector&&(i=t.display.wrapper.querySelector(".CodeMirror-dialog"))&&i.getBoundingClientRect().bottom-4>t.cursorCoords(n,"window").top&&((d=i).style.opacity=.4)})))};!function(e,t,n,i,r){e.openDialog(t,i,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){p(e)},onKeyDown:r})}(t,h(t),u,f,(function(i,r){var o=e.keyName(i),a=t.getOption("extraKeys"),s=a&&a[o]||e.keyMap[t.getOption("keyMap")][o];"findNext"==s||"findPrev"==s||"findPersistentNext"==s||"findPersistentPrev"==s?(e.e_stop(i),c(t,n(t),r),t.execCommand(s)):"find"!=s&&"findPersistent"!=s||(e.e_stop(i),f(r,i))})),a&&u&&(c(t,s,u),l(t,i))}else o(t,h(t),"Search for:",u,(function(e){e&&!s.query&&t.operation((function(){c(t,s,e),s.posFrom=s.posTo=t.getCursor(),l(t,i)}))}))}function l(t,i,o){t.operation((function(){var a=n(t),s=r(t,a.query,i?a.posFrom:a.posTo);(s.find(i)||(s=r(t,a.query,i?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(i))&&(t.setSelection(s.from(),s.to()),t.scrollIntoView({from:s.from(),to:s.to()},20),a.posFrom=s.from(),a.posTo=s.to(),o&&o(s.from(),s.to()))}))}function p(e){e.operation((function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))}))}function h(e){return''+e.phrase("Search:")+' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function d(e,t,n){e.operation((function(){for(var i=r(e,t);i.findNext();)if("string"!=typeof t){var o=e.getRange(i.from(),i.to()).match(t);i.replace(n.replace(/\$(\d)/g,(function(e,t){return o[t]})))}else i.replace(n)}))}function f(e,t){if(!e.getOption("readOnly")){var i=e.getSelection()||n(e).lastQuery,c=''+e.phrase(t?"Replace all:":"Replace:")+"";o(e,c+function(e){return' '+e.phrase("(Use /re/ syntax for regexp search)")+""}(e),c,i,(function(n){n&&(n=s(n),o(e,function(e){return''+e.phrase("With:")+' '}(e),e.phrase("Replace with:"),"",(function(i){if(i=a(i),t)d(e,n,i);else{p(e);var o=r(e,n,e.getCursor("from")),s=function(){var t,a=o.from();!(t=o.findNext())&&(o=r(e,n),!(t=o.findNext())||a&&o.from().line==a.line&&o.from().ch==a.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,i){e.openConfirm?e.openConfirm(t,i):confirm(n)&&i[0]()}(e,function(e){return''+e.phrase("Replace?")+" "}(e),e.phrase("Replace?"),[function(){c(t)},s,function(){d(e,n,i)}]))},c=function(e){o.replace("string"==typeof n?i:i.replace(/\$(\d)/g,(function(t,n){return e[n]}))),s()};s()}})))}))}}e.commands.find=function(e){p(e),u(e)},e.commands.findPersistent=function(e){p(e),u(e,!1,!0)},e.commands.findPersistentNext=function(e){u(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){u(e,!0,!0,!0)},e.commands.findNext=u,e.commands.findPrev=function(e){u(e,!0)},e.commands.clearSearch=p,e.commands.replace=f,e.commands.replaceAll=function(e){f(e,!0)}}(n("VrN/"),n("uTOq"),n("Ku0u"))},"CCO+":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var i=n("TYT/"),r=n("Valr"),o=new i.q("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.W)(r.e)}}),a=function(){function e(e){if(this.value="ltr",this.change=new i.n,e){var t=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null);this.value="ltr"===t||"rtl"===t?t:"ltr"}}return e.prototype.ngOnDestroy=function(){this.change.complete()},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(o,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(o,8))},e}(),s=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)}}),e}()},CRiN:function(e,t,n){"use strict";var i,r=(i=n("VrN/"))&&i.__esModule?i:{default:i};function o(e,t){const n=e.state.info,i=t.target||t.srcElement;if("SPAN"!==i.nodeName||void 0!==n.hoverTimeout)return;const o=i.getBoundingClientRect(),a=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(c,u)},s=function(){r.default.off(document,"mousemove",a),r.default.off(e.getWrapperElement(),"mouseout",s),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},c=function(){r.default.off(document,"mousemove",a),r.default.off(e.getWrapperElement(),"mouseout",s),n.hoverTimeout=void 0,function(e,t){const n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),i=e.state.info.options,o=i.render||e.getHelper(n,"info");if(o){const a=e.getTokenAt(n,!0);if(a){const s=o(a,i,e,n);s&&function(e,t,n){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(n),document.body.appendChild(i);const o=i.getBoundingClientRect(),a=i.currentStyle||window.getComputedStyle(i),s=o.right-o.left+parseFloat(a.marginLeft)+parseFloat(a.marginRight),c=o.bottom-o.top+parseFloat(a.marginTop)+parseFloat(a.marginBottom);let u=t.bottom;c>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(u=t.top-c),u<0&&(u=t.bottom);let l,p=Math.max(0,window.innerWidth-s-15);p>t.left&&(p=t.left),i.style.opacity=1,i.style.top=u+"px",i.style.left=p+"px";const h=function(){clearTimeout(l)},d=function(){clearTimeout(l),l=setTimeout(f,200)},f=function(){r.default.off(i,"mouseover",h),r.default.off(i,"mouseout",d),r.default.off(e.getWrapperElement(),"mouseout",d),i.style.opacity?(i.style.opacity=0,setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)};r.default.on(i,"mouseover",h),r.default.on(i,"mouseout",d),r.default.on(e.getWrapperElement(),"mouseout",d)}(e,t,s)}}}(e,o)},u=function(e){const t=e.state.info.options;return t&&t.hoverTime||500}(e);n.hoverTimeout=setTimeout(c,u),r.default.on(document,"mousemove",a),r.default.on(e.getWrapperElement(),"mouseout",s)}r.default.defineOption("info",!1,(e,t,n)=>{if(n&&n!==r.default.Init){const t=e.state.info.onMouseOver;r.default.off(e.getWrapperElement(),"mouseover",t),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){const n=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(t);n.onMouseOver=o.bind(null,e),r.default.on(e.getWrapperElement(),"mouseover",n.onMouseOver)}})},CS9Q:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("mrSG"),r=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}(),o=function(e){function t(n,i){void 0===i&&(i=r.now);var o=e.call(this,n,(function(){return t.delegate&&t.delegate!==o?t.delegate.now():i()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return i.c(t,e),t.prototype.schedule=function(n,i,r){return void 0===i&&(i=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,i,r):e.prototype.schedule.call(this,n,i,r)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(r)},CbW8:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var i=n("vJkw"),r=n("oycr"),o=n("BLR7"),a=n("JvOi");function s(e,t){var n=new p(a.a.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:n,token:n,line:1,lineStart:0,advance:c,lookahead:u}}function c(){return this.lastToken=this.token,this.token=this.lookahead()}function u(){var e=this.token;if(e.kind!==a.a.EOF)do{e=e.next||(e.next=d(this,e))}while(e.kind===a.a.COMMENT);return e}function l(e){var t=e.kind;return t===a.a.BANG||t===a.a.DOLLAR||t===a.a.AMP||t===a.a.PAREN_L||t===a.a.PAREN_R||t===a.a.SPREAD||t===a.a.COLON||t===a.a.EQUALS||t===a.a.AT||t===a.a.BRACKET_L||t===a.a.BRACKET_R||t===a.a.BRACE_L||t===a.a.PIPE||t===a.a.BRACE_R}function p(e,t,n,i,r,o,a){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,this.value=a,this.prev=o,this.next=null}function h(e){return isNaN(e)?a.a.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function d(e,t){var n=e.source,i=n.body,s=i.length,c=function(e,t,n){for(var i=e.length,r=t;r=s)return new p(a.a.EOF,s,s,u,l,t);var d=i.charCodeAt(c);switch(d){case 33:return new p(a.a.BANG,c,c+1,u,l,t);case 35:return function(e,t,n,i,r){var o,s=e.body,c=t;do{o=s.charCodeAt(++c)}while(!isNaN(o)&&(o>31||9===o));return new p(a.a.COMMENT,t,c,n,i,r,s.slice(t+1,c))}(n,c,u,l,t);case 36:return new p(a.a.DOLLAR,c,c+1,u,l,t);case 38:return new p(a.a.AMP,c,c+1,u,l,t);case 40:return new p(a.a.PAREN_L,c,c+1,u,l,t);case 41:return new p(a.a.PAREN_R,c,c+1,u,l,t);case 46:if(46===i.charCodeAt(c+1)&&46===i.charCodeAt(c+2))return new p(a.a.SPREAD,c,c+3,u,l,t);break;case 58:return new p(a.a.COLON,c,c+1,u,l,t);case 61:return new p(a.a.EQUALS,c,c+1,u,l,t);case 64:return new p(a.a.AT,c,c+1,u,l,t);case 91:return new p(a.a.BRACKET_L,c,c+1,u,l,t);case 93:return new p(a.a.BRACKET_R,c,c+1,u,l,t);case 123:return new p(a.a.BRACE_L,c,c+1,u,l,t);case 124:return new p(a.a.PIPE,c,c+1,u,l,t);case 125:return new p(a.a.BRACE_R,c,c+1,u,l,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,i,r){for(var o=e.body,s=o.length,c=t+1,u=0;c!==s&&!isNaN(u=o.charCodeAt(c))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++c;return new p(a.a.NAME,t,c,n,i,r,o.slice(t,c))}(n,c,u,l,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,i,o,s){var c=e.body,u=n,l=t,d=!1;if(45===u&&(u=c.charCodeAt(++l)),48===u){if((u=c.charCodeAt(++l))>=48&&u<=57)throw Object(r.a)(e,l,"Invalid number, unexpected digit after 0: ".concat(h(u),"."))}else l=f(e,l,u),u=c.charCodeAt(l);if(46===u&&(d=!0,u=c.charCodeAt(++l),l=f(e,l,u),u=c.charCodeAt(l)),69!==u&&101!==u||(d=!0,43!==(u=c.charCodeAt(++l))&&45!==u||(u=c.charCodeAt(++l)),l=f(e,l,u),u=c.charCodeAt(l)),46===u||69===u||101===u)throw Object(r.a)(e,l,"Invalid number, expected digit but got: ".concat(h(u),"."));return new p(d?a.a.FLOAT:a.a.INT,t,l,i,o,s,c.slice(t,l))}(n,c,d,u,l,t);case 34:return 34===i.charCodeAt(c+1)&&34===i.charCodeAt(c+2)?function(e,t,n,i,s,c){for(var u=e.body,l=t+3,d=l,f=0,g="";l=48&&a<=57){do{a=i.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw Object(r.a)(e,o,"Invalid number, expected digit but got: ".concat(h(a),"."))}function g(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}Object(i.a)(p,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}))},DAag:function(e,t,n){"use strict";var i=n("IDEf"),r=n("IWB/"),o=n("YsTz"),a=Error.captureStackTrace;e.exports=function(t){var n=new Error(t),s=arguments[1],c=arguments[2];return o(c)||r(s)&&(c=s,s=null),o(c)&&i(n,c),o(s)&&(n.code=s),a&&a(n,e.exports),n}},DBmV:function(e,t,n){e.exports=n.p+"0.worker.js"},DKTb:function(e,t,n){"use strict";function i(e){setTimeout((function(){throw e}),0)}n.d(t,"a",(function(){return i}))},DOSD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=[];let i=e;for(;i&&i.kind;)n.push(i),i=i.prevState;for(let r=n.length-1;r>=0;r--)t(n[r])}},DUip:function(e,t,n){"use strict";n.d(t,"a",(function(){return He})),n.d(t,"b",(function(){return Y})),n.d(t,"c",(function(){return ie})),n.d(t,"d",(function(){return Kt})),n.d(t,"e",(function(){return Jt})),n.d(t,"f",(function(){return en}));var i=n("mrSG"),r=n("Valr"),o=n("TYT/"),a=n("F/XL"),s=n("0/uQ"),c=n("26FU"),u=n("6blF"),l=n("3fWJ"),p=n("dzgT"),h=n("lYZG"),d=n("K9Ia"),f=n("G5J1"),g=n("67Y/"),b=n("Txjg"),m=n("VnD/"),v=n("FFOo"),y=n("b7mW");function w(e){return function(t){return 0===e?Object(f.b)():t.lift(new O(e))}}var O=function(){function e(e){if(this.total=e,this.total<0)throw new y.a}return e.prototype.call=function(e,t){return t.subscribe(new C(e,this.total))},e}(),C=function(e){function t(t,n){var i=e.call(this,t)||this;return i.total=n,i.ring=new Array,i.count=0,i}return i.c(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,i=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r=2;return function(i){return i.pipe(e?Object(m.a)((function(t,n){return e(t,n,i)})):T.a,w(1),n?Object(z.a)(t):Object(S.a)((function(){return new l.a})))}}var k=n("9Z1F"),D=n("P6uZ"),x=n("psW0"),E=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new N(e,this.predicate,this.thisArg,this.source))},e}(),N=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=i,o.source=r,o.index=0,o.thisArg=i||o,o}return i.c(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(v.a),j=n("15JJ"),I=n("t9fZ"),A=n("p0Sj"),M=n("dC0D"),L=n("Phjn"),P=n("y3By"),F=n("xMyE"),R=n("2WpN"),V=(n("Zn8D"),function(){return function(e,t){this.id=e,this.url=t}}()),B=function(e){function t(t,n,i,r){void 0===i&&(i="imperative"),void 0===r&&(r=null);var o=e.call(this,t,n)||this;return o.navigationTrigger=i,o.restoredState=r,o}return Object(i.c)(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(V),Y=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.urlAfterRedirects=i,r}return Object(i.c)(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(V),U=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.reason=i,r}return Object(i.c)(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(V),H=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.error=i,r}return Object(i.c)(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(V),W=function(e){function t(t,n,i,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return Object(i.c)(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(V),q=function(e){function t(t,n,i,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return Object(i.c)(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(V),Z=function(e){function t(t,n,i,r,o){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=i,a.state=r,a.shouldActivate=o,a}return Object(i.c)(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(V),$=function(e){function t(t,n,i,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return Object(i.c)(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(V),G=function(e){function t(t,n,i,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return Object(i.c)(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(V),Q=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),X=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),K=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),J=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),ee=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),te=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),ne=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Nb({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&o.Ub(0,"router-outlet")},directives:function(){return[on]},encapsulation:2}),e}(),ie="primary",re=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function oe(e){return new re(e)}function ae(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function se(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length-1})):e===t}function ge(e){return e.length>0?e[e.length-1]:null}function be(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function me(e){return Object(o.tb)(e)?e:Object(o.ub)(e)?Object(s.a)(Promise.resolve(e)):Object(a.a)(e)}function ve(e,t,n){return n?function(e,t){return de(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Ce(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return fe(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,i,r){if(n.segments.length>r.length)return!!Ce(a=n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!Ce(n.segments,r))return!1;for(var o in i.children){if(!n.children[o])return!1;if(!e(n.children[o],i.children[o]))return!1}return!0}var a=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!Ce(n.segments,a)&&!!n.children[ie]&&t(n.children[ie],i,s)}(t,n,n.segments)}(e.root,t.root)}var ye=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=oe(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return ze.serialize(this)},e}(),we=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,be(t,(function(e,t){return e.parent=n}))}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Te(this)},e}(),Oe=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=oe(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Ne(this)},e}();function Ce(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Se(e,t){var n=[];return be(e.children,(function(e,i){i===ie&&(n=n.concat(t(e,i)))})),be(e.children,(function(e,i){i!==ie&&(n=n.concat(t(e,i)))})),n}var ze=new(function(){function e(){}return e.prototype.parse=function(e){var t=new Le(e);return new ye(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return Te(t);if(n){var i=t.children[ie]?e(t.children[ie],!1):"",r=[];return be(t.children,(function(t,n){n!==ie&&r.push(n+":"+e(t,!1))})),r.length>0?i+"("+r.join("//")+")":i}var o=Se(t,(function(n,i){return i===ie?[e(t.children[ie],!1)]:[i+":"+e(n,!1)]}));return Te(t)+"/("+o.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return ke(e)+"="+ke(t)})).join("&"):ke(e)+"="+ke(n)}))).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}());function Te(e){return e.segments.map((function(e){return Ne(e)})).join("/")}function _e(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ke(e){return _e(e).replace(/%3B/gi,";")}function De(e){return _e(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function xe(e){return decodeURIComponent(e)}function Ee(e){return xe(e.replace(/\+/g,"%20"))}function Ne(e){return""+De(e.path)+(t=e.parameters,Object.keys(t).map((function(e){return";"+De(e)+"="+De(t[e])})).join(""));var t}var je=/^[^\/()?;=#]+/;function Ie(e){var t=e.match(je);return t?t[0]:""}var Ae=/^[^=?&#]+/,Me=/^[^?&#]+/,Le=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new we([],{}):new we([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[ie]=new we(e,t)),n},e.prototype.parseSegment=function(){var e=Ie(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new Oe(xe(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Ie(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=Ie(this.remaining);i&&this.capture(n=i)}e[xe(t)]=xe(n)}},e.prototype.parseQueryParam=function(e){var t=function(e){var t=e.match(Ae);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(Me);return t?t[0]:""}(this.remaining);i&&this.capture(n=i)}var r=Ee(t),o=Ee(n);if(e.hasOwnProperty(r)){var a=e[r];Array.isArray(a)||(e[r]=a=[a]),a.push(o)}else e[r]=o}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ie(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '"+this.url+"'");var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=ie);var o=this.parseChildren();t[r]=1===Object.keys(o).length?o[ie]:new we([],o),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),Pe=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=Fe(e,this._root);return t?t.children.map((function(e){return e.value})):[]},e.prototype.firstChild=function(e){var t=Fe(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Re(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))},e.prototype.pathFromRoot=function(e){return Re(e,this._root).map((function(e){return e.value}))},e}();function Fe(e,t){var n,r;if(e===t.value)return t;try{for(var o=Object(i.h)(t.children),a=o.next();!a.done;a=o.next()){var s=Fe(e,a.value);if(s)return s}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Re(e,t){var n,r;if(e===t.value)return[t];try{for(var o=Object(i.h)(t.children),a=o.next();!a.done;a=o.next()){var s=Re(e,a.value);if(s.length)return s.unshift(t),s}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Ve=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Be(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var Ye=function(e){function t(t,n){var i=e.call(this,t)||this;return i.snapshot=n,$e(i,t),i}return Object(i.c)(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(Pe);function Ue(e,t){var n=function(e,t){var n=new qe([],{},{},"",{},ie,t,null,e.root,-1,{});return new Ze("",new Ve(n,[]))}(e,t),i=new c.a([new Oe("",{})]),r=new c.a({}),o=new c.a({}),a=new c.a({}),s=new c.a(""),u=new He(i,r,a,s,o,ie,t,n.root);return u.snapshot=n.root,new Ye(new Ve(u,[]),n)}var He=function(){function e(e,t,n,i,r,o,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(g.a)((function(e){return oe(e)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(g.a)((function(e){return oe(e)})))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function We(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(e){return e.reduce((function(e,t){return{params:Object(i.a)(Object(i.a)({},e.params),t.params),data:Object(i.a)(Object(i.a)({},e.data),t.data),resolve:Object(i.a)(Object(i.a)({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var qe=function(){function e(e,t,n,i,r,o,a,s,c,u,l){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=c,this._lastPathIndex=u,this._resolve=l}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=oe(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=oe(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map((function(e){return e.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Ze=function(e){function t(t,n){var i=e.call(this,n)||this;return i.url=t,$e(i,n),i}return Object(i.c)(t,e),t.prototype.toString=function(){return Ge(this._root)},t}(Pe);function $e(e,t){t.value._routerState=e,t.children.forEach((function(t){return $e(e,t)}))}function Ge(e){var t=e.children.length>0?" { "+e.children.map(Ge).join(", ")+" } ":"";return""+e.value+t}function Qe(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,de(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),de(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&Ke(n[0]))throw new Error("Root segment cannot have matrix parameters");var i=n.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(i&&i!==ge(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),tt=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function nt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[ie]:""+e}function it(e,t,n){if(e||(e=new we([],{})),0===e.segments.length&&e.hasChildren())return rt(e,t,n);var i=function(e,t,n){for(var i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};r=n.length)return o;var a=e.segments[r],s=nt(n[i]),c=i0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!ct(s,c,a))return o;i+=2}else{if(!ct(s,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex0?new we([],((i={})[ie]=e,i)):e;return new ye(r,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(g.a)((function(e){return new we([],e)}))):this.expandSegment(e,n,t,n.segments,i,!0)},e.prototype.expandChildren=function(e,t,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return Object(a.a)({});var o=[],s=[],c={};return be(n,(function(n,r){var a,u,l=(a=r,u=n,i.expandSegmentGroup(e,t,u,a)).pipe(Object(g.a)((function(e){return c[r]=e})));r===ie?o.push(l):s.push(l)})),a.a.apply(null,o.concat(s)).pipe(Object(b.a)(),_(),Object(g.a)((function(){return c})))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,o,s){var c=this;return a.a.apply(void 0,Object(i.g)(n)).pipe(Object(g.a)((function(i){return c.expandSegmentAgainstRoute(e,t,n,i,r,o,s).pipe(Object(k.a)((function(e){if(e instanceof dt)return Object(a.a)(null);throw e})))})),Object(b.a)(),Object(D.a)((function(e){return!!e})),Object(k.a)((function(e,n){if(e instanceof l.a||"EmptyError"===e.name){if(c.noLeftoversInUrl(t,r,o))return Object(a.a)(new we([],{}));throw new dt(t)}throw e})))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,i,r,o,a){return Ct(i)!==o?gt(t):void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):gt(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?bt(o):this.lineralizeSegments(n,o).pipe(Object(x.a)((function(n){var o=new we(n,{});return r.expandSegment(e,o,t,n,i,!1)})))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,i,r,o){var a=this,s=yt(t,i,r),c=s.consumedSegments,u=s.lastChild,l=s.positionalParamSegments;if(!s.matched)return gt(t);var p=this.applyRedirectCommands(c,i.redirectTo,l);return i.redirectTo.startsWith("/")?bt(p):this.lineralizeSegments(i,p).pipe(Object(x.a)((function(i){return a.expandSegment(e,t,n,i.concat(r.slice(u)),o,!1)})))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(g.a)((function(e){return n._loadedConfig=e,new we(r,{})}))):Object(a.a)(new we(r,{}));var s=yt(t,n,r),c=s.consumedSegments,u=s.lastChild;if(!s.matched)return gt(t);var l=r.slice(u);return this.getChildConfig(e,n,r).pipe(Object(x.a)((function(e){var n=e.module,r=e.routes,s=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some((function(n){return Ot(e,t,n)&&Ct(n)!==ie}))}(e,n,r)?{segmentGroup:wt(new we(t,function(e,t){var n,r,o={};o[ie]=t;try{for(var a=Object(i.h)(e),s=a.next();!s.done;s=a.next()){var c=s.value;""===c.path&&Ct(c)!==ie&&(o[Ct(c)]=new we([],{}))}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}(r,new we(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return Ot(e,t,n)}))}(e,n,r)?{segmentGroup:wt(new we(e.segments,function(e,t,n,r){var o,a,s={};try{for(var c=Object(i.h)(n),u=c.next();!u.done;u=c.next()){var l=u.value;Ot(e,t,l)&&!r[Ct(l)]&&(s[Ct(l)]=new we([],{}))}}catch(p){o={error:p}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}return Object(i.a)(Object(i.a)({},r),s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,c,l,r),u=s.segmentGroup,p=s.slicedSegments;return 0===p.length&&u.hasChildren()?o.expandChildren(n,r,u).pipe(Object(g.a)((function(e){return new we(c,e)}))):0===r.length&&0===p.length?Object(a.a)(new we(c,{})):o.expandSegment(n,u,r,p,ie,!0).pipe(Object(g.a)((function(e){return new we(c.concat(e.segments),e.children)})))})))},e.prototype.getChildConfig=function(e,t,n){var i=this;return t.children?Object(a.a)(new ce(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(a.a)(t._loadedConfig):function(e,t,n){var i,r=t.canLoad;return r&&0!==r.length?Object(s.a)(r).pipe(Object(g.a)((function(i){var r,o=e.get(i);if(function(e){return e&&pt(e.canLoad)}(o))r=o.canLoad(t,n);else{if(!pt(o))throw new Error("Invalid CanLoad guard");r=o(t,n)}return me(r)}))).pipe(Object(b.a)(),(i=function(e){return!0===e},function(e){return e.lift(new E(i,void 0,e))})):Object(a.a)(!0)}(e.injector,t,n).pipe(Object(x.a)((function(n){return n?i.configLoader.load(e.injector,t).pipe(Object(g.a)((function(e){return t._loadedConfig=e,e}))):function(e){return new u.a((function(t){return t.error(ae("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))}))}(t)}))):Object(a.a)(new ce([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(a.a)(n);if(i.numberOfChildren>1||!i.children[ie])return mt(e.redirectTo);i=i.children[ie]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new ye(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return be(e,(function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e})),n},e.prototype.createSegmentGroup=function(e,t,n,i){var r=this,o=this.createSegments(e,t.segments,n,i),a={};return be(t.children,(function(t,o){a[o]=r.createSegmentGroup(e,t,n,i)})),new we(o,a)},e.prototype.createSegments=function(e,t,n,i){var r=this;return t.map((function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)}))},e.prototype.findPosParam=function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return i},e.prototype.findOrReturn=function(e,t){var n,r,o=0;try{for(var a=Object(i.h)(t),s=a.next();!s.done;s=a.next()){var c=s.value;if(c.path===e.path)return t.splice(o),c;o++}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return e},e}();function yt(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(t.matcher||se)(n,e,t);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function wt(e){if(1===e.numberOfChildren&&e.children[ie]){var t=e.children[ie];return new we(e.segments.concat(t.segments),t.children)}return e}function Ot(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ct(e){return e.outlet||ie}var St=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),zt=function(){return function(e,t){this.component=e,this.route=t}}();function Tt(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function _t(e,t,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=Be(t);return e.children.forEach((function(e){!function(e,t,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ce(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ce(e.url,t.url)||!de(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xe(e,t)||!de(e.queryParams,t.queryParams);case"paramsChange":default:return!Xe(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new St(i)):(o.data=a.data,o._resolvedData=a._resolvedData),_t(e,t,o.component?s?s.children:null:n,i,r),c&&r.canDeactivateChecks.push(new zt(s&&s.outlet&&s.outlet.component||null,a))}else a&&kt(t,s,r),r.canActivateChecks.push(new St(i)),_t(e,null,o.component?s?s.children:null:n,i,r)}(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]})),be(o,(function(e,t){return kt(e,n.getContext(t),r)})),r}function kt(e,t,n){var i=Be(e),r=e.value;be(i,(function(e,i){kt(e,r.component?t?t.children.getContext(i):null:t,n)})),n.canDeactivateChecks.push(new zt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var Dt=Symbol("INITIAL_VALUE");function xt(){return Object(j.a)((function(e){return p.a.apply(void 0,Object(i.g)(e.map((function(e){return e.pipe(Object(I.a)(1),Object(A.a)(Dt))})))).pipe(Object(M.a)((function(e,t){var n=!1;return t.reduce((function(e,i,r){if(e!==Dt)return e;if(i===Dt&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||ht(i))return i}return e}),e)}),Dt),Object(m.a)((function(e){return e!==Dt})),Object(g.a)((function(e){return ht(e)?e:!0===e})),Object(I.a)(1))}))}function Et(e,t){return null!==e&&t&&t(new ee(e)),Object(a.a)(!0)}function Nt(e,t){return null!==e&&t&&t(new K(e)),Object(a.a)(!0)}function jt(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Object(a.a)(!0);var r=i.map((function(i){return Object(h.a)((function(){var r,o=Tt(i,t,n);if(function(e){return e&&pt(e.canActivate)}(o))r=me(o.canActivate(t,e));else{if(!pt(o))throw new Error("Invalid CanActivate guard");r=me(o(t,e))}return r.pipe(Object(D.a)())}))}));return Object(a.a)(r).pipe(xt())}function It(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return Object(h.a)((function(){var r=t.guards.map((function(r){var o,a=Tt(r,t.node,n);if(function(e){return e&&pt(e.canActivateChild)}(a))o=me(a.canActivateChild(i,e));else{if(!pt(a))throw new Error("Invalid CanActivateChild guard");o=me(a(i,e))}return o.pipe(Object(D.a)())}));return Object(a.a)(r).pipe(xt())}))}));return Object(a.a)(r).pipe(xt())}var At=function(){return function(){}}(),Mt=function(){function e(e,t,n,i,r,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}return e.prototype.recognize=function(){try{var e=Ft(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,ie),n=new qe([],Object.freeze({}),Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,{},ie,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ve(n,t),o=new Ze(this.url,r);return this.inheritParamsAndData(o._root),Object(a.a)(o)}catch(s){return new u.a((function(e){return e.error(s)}))}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,i=We(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,i=this,r=Se(t,(function(t,n){return i.processSegmentGroup(e,t,n)}));return n={},r.forEach((function(e){var t=n[e.value.outlet];if(t){var i=t.url.map((function(e){return e.toString()})).join("/"),r=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+i+"' and '"+r+"'.")}n[e.value.outlet]=e.value})),function(e){e.sort((function(e,t){return e.value.outlet===ie?-1:t.value.outlet===ie?1:e.value.outlet.localeCompare(t.value.outlet)}))}(r),r},e.prototype.processSegment=function(e,t,n,r){var o,a;try{for(var s=Object(i.h)(e),c=s.next();!c.done;c=s.next()){var u=c.value;try{return this.processSegmentAgainstRoute(u,t,n,r)}catch(l){if(!(l instanceof At))throw l}}}catch(p){o={error:p}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new At},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new At;if((e.outlet||ie)!==r)throw new At;var o,a=[],s=[];if("**"===e.path){var c=n.length>0?ge(n).parameters:{};o=new qe(n,c,Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,Bt(e),r,e.component,e,Lt(t),Pt(t)+n.length,Yt(e))}else{var u=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new At;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||se)(n,e,t);if(!r)throw new At;var o={};be(r.posParams,(function(e,t){o[t]=e.path}));var a=r.consumed.length>0?Object(i.a)(Object(i.a)({},o),r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(t,e,n);a=u.consumedSegments,s=n.slice(u.lastChild),o=new qe(a,u.parameters,Object.freeze(Object(i.a)({},this.urlTree.queryParams)),this.urlTree.fragment,Bt(e),r,e.component,e,Lt(t),Pt(t)+a.length,Yt(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),p=Ft(t,a,s,l,this.relativeLinkResolution),h=p.segmentGroup,d=p.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(l,h);return[new Ve(o,f)]}if(0===l.length&&0===d.length)return[new Ve(o,[])];var g=this.processSegment(l,h,d,ie);return[new Ve(o,g)]},e}();function Lt(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Pt(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Ft(e,t,n,r,o){if(n.length>0&&function(e,t,n){return n.some((function(n){return Rt(e,t,n)&&Vt(n)!==ie}))}(e,n,r)){var a=new we(t,function(e,t,n,r){var o,a,s={};s[ie]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var c=Object(i.h)(n),u=c.next();!u.done;u=c.next()){var l=u.value;if(""===l.path&&Vt(l)!==ie){var p=new we([],{});p._sourceSegment=e,p._segmentIndexShift=t.length,s[Vt(l)]=p}}}catch(h){o={error:h}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}return s}(e,t,r,new we(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return Rt(e,t,n)}))}(e,n,r)){var s=new we(e.segments,function(e,t,n,r,o,a){var s,c,u={};try{for(var l=Object(i.h)(r),p=l.next();!p.done;p=l.next()){var h=p.value;if(Rt(e,n,h)&&!o[Vt(h)]){var d=new we([],{});d._sourceSegment=e,d._segmentIndexShift="legacy"===a?e.segments.length:t.length,u[Vt(h)]=d}}}catch(f){s={error:f}}finally{try{p&&!p.done&&(c=l.return)&&c.call(l)}finally{if(s)throw s.error}}return Object(i.a)(Object(i.a)({},o),u)}(e,t,n,r,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var c=new we(e.segments,e.children);return c._sourceSegment=e,c._segmentIndexShift=t.length,{segmentGroup:c,slicedSegments:n}}function Rt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Vt(e){return e.outlet||ie}function Bt(e){return e.data||{}}function Yt(e){return e.resolve||{}}function Ut(e,t,n,i){var r=Tt(e,t,i);return me(r.resolve?r.resolve(t,n):r(t,n))}function Ht(e){return function(t){return t.pipe(Object(j.a)((function(t){var n=e(t);return n?Object(s.a)(n).pipe(Object(g.a)((function(){return t}))):Object(s.a)([t])})))}}var Wt=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),qt=new o.q("ROUTES"),Zt=function(){function e(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(g.a)((function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r,o=i.create(e);return new ce((r=o.injector.get(qt),Array.prototype.concat.apply([],r)).map(he),o)})))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?Object(s.a)(this.loader.load(e)):me(e()).pipe(Object(x.a)((function(e){return e instanceof o.v?Object(a.a)(e):Object(s.a)(t.compiler.compileModuleAsync(e))})))},e}(),$t=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function Gt(e){throw e}function Qt(e,t,n){return t.parse("/")}function Xt(e,t){return Object(a.a)(null)}var Kt=function(){function e(e,t,n,i,r,a,s,u){var l=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new d.a,this.errorHandler=Gt,this.malformedUriErrorHandler=Qt,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Xt,afterPreactivation:Xt},this.urlHandlingStrategy=new $t,this.routeReuseStrategy=new Wt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(o.x),this.console=r.get(o.ab);var p=r.get(o.z);this.isNgZoneEnabled=p instanceof o.z,this.resetConfig(u),this.currentUrlTree=new ye(new we([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Zt(a,s,(function(e){return l.triggerEvent(new Q(e))}),(function(e){return l.triggerEvent(new X(e))})),this.routerState=Ue(this.currentUrlTree,this.rootComponentType),this.transitions=new c.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(Object(m.a)((function(e){return 0!==e.id})),Object(g.a)((function(e){return Object(i.a)(Object(i.a)({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Object(j.a)((function(e){var r,o,u,l=!1,p=!1;return Object(a.a)(e).pipe(Object(F.a)((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object(i.a)(Object(i.a)({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Object(j.a)((function(e){var r,o,s,c,u=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||u)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(a.a)(e).pipe(Object(j.a)((function(e){var i=t.transitions.getValue();return n.next(new B(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?f.a:[e]})),Object(j.a)((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,o=t.configLoader,s=t.urlSerializer,c=t.config,function(e){return e.pipe(Object(j.a)((function(e){return function(e,t,n,i,r){return new vt(e,t,n,i,r).apply()}(r,o,s,e.extractedUrl,c).pipe(Object(g.a)((function(t){return Object(i.a)(Object(i.a)({},e),{urlAfterRedirects:t})})))})))}),Object(F.a)((function(e){t.currentNavigation=Object(i.a)(Object(i.a)({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,r,o,a){return function(r){return r.pipe(Object(x.a)((function(r){return function(e,t,n,i,r,o){return void 0===r&&(r="emptyOnly"),void 0===o&&(o="legacy"),new Mt(e,t,n,i,r,o).recognize()}(e,n,r.urlAfterRedirects,(s=r.urlAfterRedirects,t.serializeUrl(s)),o,a).pipe(Object(g.a)((function(e){return Object(i.a)(Object(i.a)({},r),{targetSnapshot:e})})));var s})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Object(F.a)((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Object(F.a)((function(e){var i=new W(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)})));if(u&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.extractedUrl,p=e.source,h=e.restoredState,d=e.extras,b=new B(e.id,t.serializeUrl(l),p,h);n.next(b);var m=Ue(l,t.rootComponentType).snapshot;return Object(a.a)(Object(i.a)(Object(i.a)({},e),{targetSnapshot:m,urlAfterRedirects:l,extras:Object(i.a)(Object(i.a)({},d),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),f.a})),Ht((function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Object(F.a)((function(e){var n=new q(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Object(g.a)((function(e){return Object(i.a)(Object(i.a)({},e),{guards:(n=e.targetSnapshot,r=e.currentSnapshot,o=t.rootContexts,a=n._root,_t(a,r?r._root:null,o,[a.value]))});var n,r,o,a})),function(e,t){return function(n){return n.pipe(Object(x.a)((function(n){var r=n.targetSnapshot,o=n.currentSnapshot,c=n.guards,u=c.canActivateChecks,l=c.canDeactivateChecks;return 0===l.length&&0===u.length?Object(a.a)(Object(i.a)(Object(i.a)({},n),{guardsResult:!0})):function(e,t,n,i){return Object(s.a)(e).pipe(Object(x.a)((function(e){return function(e,t,n,i,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(a.a)(!0);var s=o.map((function(o){var a,s=Tt(o,t,r);if(function(e){return e&&pt(e.canDeactivate)}(s))a=me(s.canDeactivate(e,t,n,i));else{if(!pt(s))throw new Error("Invalid CanDeactivate guard");a=me(s(e,t,n,i))}return a.pipe(Object(D.a)())}));return Object(a.a)(s).pipe(xt())}(e.component,e.route,n,t,i)})),Object(D.a)((function(e){return!0!==e}),!0))}(l,r,o,e).pipe(Object(x.a)((function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return Object(s.a)(t).pipe(Object(L.a)((function(t){return Object(s.a)([Nt(t.route.parent,i),Et(t.route,i),It(e,t.path,n),jt(e,t.route,n)]).pipe(Object(b.a)(),Object(D.a)((function(e){return!0!==e}),!0))})),Object(D.a)((function(e){return!0!==e}),!0))}(r,u,e,t):Object(a.a)(n)})),Object(g.a)((function(e){return Object(i.a)(Object(i.a)({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Object(F.a)((function(e){if(ht(e.guardsResult)){var n=ae('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}})),Object(F.a)((function(e){var n=new Z(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),Object(m.a)((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var i=new U(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(i),e.resolve(!1),!1}return!0})),Ht((function(e){if(e.guards.canActivateChecks.length)return Object(a.a)(e).pipe(Object(F.a)((function(e){var n=new $(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(Object(x.a)((function(e){var t=e.targetSnapshot,o=e.guards.canActivateChecks;return o.length?Object(s.a)(o).pipe(Object(L.a)((function(e){return function(e,t,n,r){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return Object(a.a)({});if(1===r.length){var o=r[0];return Ut(e[o],t,n,i).pipe(Object(g.a)((function(e){var t;return(t={})[o]=e,t})))}var c={};return Object(s.a)(r).pipe(Object(x.a)((function(r){return Ut(e[r],t,n,i).pipe(Object(g.a)((function(e){return c[r]=e,e})))}))).pipe(_(),Object(g.a)((function(){return c})))}(e._resolve,e,t,r).pipe(Object(g.a)((function(t){return e._resolvedData=t,e.data=Object(i.a)(Object(i.a)({},e.data),We(e,n).resolve),null})))}(e.route,t,n,r)})),function(e,t){return arguments.length>=2?function(n){return Object(P.a)(Object(M.a)(e,t),w(1),Object(z.a)(t))(n)}:function(t){return Object(P.a)(Object(M.a)((function(t,n,i){return e(t,n,i+1)})),w(1))(t)}}((function(e,t){return e})),Object(g.a)((function(t){return e}))):Object(a.a)(e)})))}),Object(F.a)((function(e){var n=new G(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,r})),Ht((function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Object(g.a)((function(e){var n,r,o,a=(o=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var o=function(t,n,r){return n.children.map((function(n){var o,a;try{for(var s=Object(i.h)(r.children),c=s.next();!c.done;c=s.next()){var u=c.value;if(t.shouldReuseRoute(u.value.snapshot,n.value))return e(t,n,u)}}catch(l){o={error:l}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}return e(t,n)}))}(t,n,r);return new Ve(l,o)}var a=t.retrieve(n.value);if(a){var s=a.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var i=0;ir;){if(o-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new tt(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(a,t,e),c=s.processChildren?rt(s.segmentGroup,s.index,a.commands):it(s.segmentGroup,s.index,a.commands);return Je(s.segmentGroup,c,t,r,o)}(l,this.currentUrlTree,e,h,p)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),Object(o.X)()&&this.isNgZoneEnabled&&!o.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=ht(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t-1&&(t.splice(n,1),o+=e+".")})),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a},t.getEventFullKey=function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&D.hasOwnProperty(t)&&(t=D[t]))}return k[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),_.forEach((function(i){i!=n&&(0,x[i])(e)&&(t+=i+".")})),t+=n},t.eventCallback=function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded((function(){return t(r)}))}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t.\u0275fac=function(e){return new(e||t)(a.dc(o.e))},t.\u0275prov=a.Pb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(f),N=function(){function e(){}return e.\u0275prov=Object(a.Pb)({factory:function(){return Object(a.dc)(I)},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}();function j(e){return new I(e.get(o.e))}var I=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(r.c)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case a.I.NONE:return t;case a.I.HTML:return Object(a.gb)(t,"HTML")?Object(a.zb)(t):Object(a.db)(this._doc,String(t));case a.I.STYLE:return Object(a.gb)(t,"Style")?Object(a.zb)(t):Object(a.eb)(t);case a.I.SCRIPT:if(Object(a.gb)(t,"Script"))return Object(a.zb)(t);throw new Error("unsafe value used in a script context");case a.I.URL:return Object(a.qb)(t),Object(a.gb)(t,"URL")?Object(a.zb)(t):Object(a.fb)(String(t));case a.I.RESOURCE_URL:if(Object(a.gb)(t,"ResourceURL"))return Object(a.zb)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.bypassSecurityTrustHtml=function(e){return Object(a.hb)(e)},t.prototype.bypassSecurityTrustStyle=function(e){return Object(a.kb)(e)},t.prototype.bypassSecurityTrustScript=function(e){return Object(a.jb)(e)},t.prototype.bypassSecurityTrustUrl=function(e){return Object(a.lb)(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return Object(a.ib)(e)},t.\u0275prov=Object(a.Pb)({factory:function(){return j(Object(a.dc)(a.o))},token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(a.dc(o.e))},t}(N),A=[{provide:a.B,useValue:o.O},{provide:a.C,useValue:function(){s.makeCurrent(),p.init()},multi:!0},{provide:o.e,useFactory:function(){return Object(a.xb)(document),document},deps:[]}],M=Object(a.T)(a.Y,"browser",A),L=[[],{provide:a.bb,useValue:"root"},{provide:a.m,useFactory:function(){return new a.m},deps:[]},{provide:h,useClass:T,multi:!0,deps:[o.e,a.z,a.B]},{provide:h,useClass:E,multi:!0,deps:[o.e]},[],{provide:O,useClass:O,deps:[d,b,a.c]},{provide:a.F,useExisting:O},{provide:g,useExisting:b},{provide:b,useClass:b,deps:[o.e]},{provide:a.N,useClass:a.N,deps:[a.z]},{provide:d,useClass:d,deps:[h,a.z]},[]],P=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:a.c,useValue:e.appId},{provide:u,useExisting:a.c},l]}},e.\u0275mod=a.Rb({type:e}),e.\u0275inj=a.Qb({factory:function(n){return new(n||e)(a.dc(t,12))},providers:L,imports:[o.c,a.f]}),e}(),F="undefined"!=typeof window&&window||{},R=function(){return function(e,t){this.msPerTick=e,this.numTicks=t}}(),V=function(){function e(e){this.appRef=e.injector.get(a.g)}return e.prototype.timeChangeDetection=function(e){var t=e&&e.record,n=null!=F.console.profile;t&&n&&F.console.profile("Change Detection");for(var i=Object(o.P)().performanceNow(),r=0;r<5||Object(o.P)().performanceNow()-i<500;)this.appRef.tick(),r++;var a=Object(o.P)().performanceNow();t&&n&&F.console.profileEnd("Change Detection");var s=(a-i)/r;return F.console.log("ran "+r+" change detection cycles"),F.console.log(s.toFixed(2)+" ms per check"),new R(s,r)},e}();function B(e){return t=new V(e),"undefined"!=typeof COMPILED&&COMPILED||((a.rb.ng=a.rb.ng||{}).profiler=t),e;var t}},E9SJ:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("Y/la");function r(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,r=Object(i.a)(e);n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var o=r[1],a=r[2],s=r[3];t.push(Q(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(Q(s,o))}(e,r,i)})):r.push(n),r),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:ne(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return q(n,e,t)})),options:ne(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,i=t.currentTime,r=0,o=e.steps.map((function(e){t.currentTime=i;var o=q(n,e,t);return r=Math.max(r,t.currentTime),o}));return t.currentTime=r,{type:3,steps:o,options:ne(e.options)}},e.prototype.visitAnimate=function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return ie(E(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var r=ie(0,0,"");return r.dynamic=!0,r.strValue=i,r}return ie((n=n||E(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:Object(a.j)({});if(5==r.type)n=this.visitKeyframes(r,t);else{var o=e.styles,s=!1;if(!o){s=!0;var c={};i.easing&&(c.easing=i.easing),o=Object(a.j)(c)}t.currentTime+=i.duration+i.delay;var u=this.visitStyle(o,t);u.isEmptyStep=s,n=u}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?e==a.a?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)})):n.push(e.styles);var i=!1,r=null;return n.forEach((function(e){if(te(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var o in t)if(t[o].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(i){if(n._driver.validateStyleProperty(i)){var a,s,c,u=t.collectedStyles[t.currentQuerySelector],l=u[i],p=!0;l&&(o!=r&&o>=l.startTime&&r<=l.endTime&&(t.errors.push('The CSS property "'+i+'" that exists between the times of "'+l.startTime+'ms" and "'+l.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+r+'ms"'),p=!1),o=l.startTime),p&&(u[i]={startTime:o,endTime:r}),t.options&&(a=t.errors,s=t.options.params||{},(c=R(e[i])).length&&c.forEach((function(e){s.hasOwnProperty(e)||a.push("Unable to resolve the local animation param "+e+" in the given list of values")})))}else t.errors.push('The provided animation property "'+i+'" is not a supported CSS property for animations')}))}))},e.prototype.visitKeyframes=function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,c=0,u=e.steps.map((function(e){var i=n._makeStyleAst(e,t),u=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),l=0;return null!=u&&(r++,l=i.offset=u),s=s||l<0||l>1,a=a||l0&&r0?r==h?1:p*r:o[r],s=a*g;t.currentTime=d+f.delay+s,f.duration=s,n._validateStyleAst(e,t),e.offset=a,i.styles.push(e)})),i},e.prototype.visitReference=function(e,t){return{type:8,animation:q(this,P(e.animation),t),options:ne(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:ne(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ne(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var o=Object(i.e)(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(X,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),a=o[0],s=o[1];t.currentQuerySelector=n.length?n+" "+a:a,d(t.collectedStyles,t.currentQuerySelector,{});var c=q(this,P(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:c,originalSelector:e.selector,options:ne(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:E(e.timings,t.errors,!0);return{type:12,animation:q(this,P(e.animation),t),timings:n,options:null}},e}(),ee=function(){return function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function te(e){return!Array.isArray(e)&&"object"==typeof e}function ne(e){var t;return e?(e=N(e)).params&&(e.params=(t=e.params)?N(t):null):e={},e}function ie(e,t,n){return{duration:e,delay:t,easing:n}}function re(e,t,n,i,r,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var oe=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,Object(i.g)(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),ae=new RegExp(":enter","g"),se=new RegExp(":leave","g");function ce(e,t,n,i,r,o,a,s,c,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new ue).buildKeyframes(e,t,n,i,r,o,a,s,c,u)}var ue=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,i,r,o,a,s,c,u){void 0===u&&(u=[]),c=c||new oe;var l=new pe(e,t,c,i,r,u,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),q(this,n,l);var p=l.timelines.filter((function(e){return e.containsAnimation()}));if(p.length&&Object.keys(a).length){var h=p[p.length-1];h.allowOnlyTimelineStyles()||h.setStyles([a],null,l.errors,s)}return p.length?p.map((function(e){return e.buildKeyframes()})):[re(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?D(n.duration):null,o=null!=n.delay?D(n.delay):null;return 0!==r&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)})),i},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),q(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,i=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=le);var a=D(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return q(n,e,r)})),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?D(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),q(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)})),i.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(r),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return E(t.params?V(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach((function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?D(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=le);var a=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var c=null;s.forEach((function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);o&&s.delayNextStep(o),i===t.element&&(c=s.currentTimeline),q(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var c=t.currentTimeline;s&&c.delayNextStep(s);var u=c.currentTime;q(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)},e}(),le={},pe=function(){function e(e,t,n,i,r,o,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=le,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new he(this._driver,t,0),a.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=D(i.duration)),null!=i.delay&&(r.delay=D(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(e){t&&a.hasOwnProperty(e)||(a[e]=V(o[e],a,n.errors))}))}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e},e.prototype.createSubContext=function(t,n,i){void 0===t&&(t=null);var r=n||this.element,o=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=le,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new de(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,r,o,a){var s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(ae,"."+this._enterClassName)).replace(se,"."+this._leaveClassName);var c=this._driver.query(this.element,e,1!=n);0!==n&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),s.push.apply(s,Object(i.g)(c))}return o||0!=s.length||a.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),s},e}(),he=function(){function e(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||a.a,t._currentKeyframe[e]=a.a})),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var o=i&&i.params||{},s=function(e,t){var n,i={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){i[e]=a.a})):j(e,!1,i)})),i}(e,this._globalTimelineStyles);Object.keys(s).forEach((function(e){var t=V(s[e],o,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:a.a),r._updateStyle(e,t)}))},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)}))},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach((function(o,s){var c=j(o,!0);Object.keys(c).forEach((function(e){var i=c[e];i==a.n?t.add(e):i==a.a&&n.add(e)})),i||(c.offset=s/e.duration),r.push(c)}));var o=t.size?B(t.values()):[],s=n.size?B(n.values()):[];if(i){var c=r[0],u=N(c);c.offset=0,u.offset=1,r=[c,u]}return re(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)},e}(),de=function(e){function t(t,n,i,r,o,a,s){void 0===s&&(s=!1);var c=e.call(this,t,n,a.delay)||this;return c.element=n,c.keyframes=i,c.preStyleProps=r,c.postStyleProps=o,c._stretchStartingKeyframe=s,c.timings={duration:a.duration,delay:a.delay,easing:a.easing},c}return Object(i.c)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,c=j(e[0],!1);c.offset=0,o.push(c);var u=j(e[0],!1);u.offset=fe(s),o.push(u);for(var l=e.length-1,p=1;p<=l;p++){var h=j(e[p],!1);h.offset=fe((n+h.offset*i)/a),o.push(h)}i=a,n=0,r="",e=o}return re(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)},t}(he);function fe(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var ge=function(){return function(){}}(),be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.c)(t,e),t.prototype.normalizePropertyName=function(e,t){return U(e)},t.prototype.normalizeStyleValue=function(e,t,n,i){var r="",o=n.toString().trim();if(me[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for "+e+":"+n)}return o+r},t}(ge),me=function(){return e="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".split(","),t={},e.forEach((function(e){return t[e]=!0})),t;var e,t}();function ve(e,t,n,i,r,o,a,s,c,u,l,p,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:p,errors:h}}var ye={},we=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,i){return function(e,t,n,i,r){return e.some((function(e){return e(t,n,i,r)}))}(this.ast.matchers,e,t,n,i)},e.prototype.buildStyles=function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o},e.prototype.build=function(e,t,n,r,o,a,s,c,u,l){var p=[],h=this.ast.options&&this.ast.options.params||ye,f=this.buildStyles(n,s&&s.params||ye,p),g=c&&c.params||ye,b=this.buildStyles(r,g,p),m=new Set,v=new Map,y=new Map,w="void"===r,O={params:Object(i.a)(Object(i.a)({},h),g)},C=l?[]:ce(e,t,this.ast.animation,o,a,f,b,O,u,p),S=0;if(C.forEach((function(e){S=Math.max(e.duration+e.delay,S)})),p.length)return ve(t,this._triggerName,n,r,w,f,b,[],[],v,y,S,p);C.forEach((function(e){var n=e.element,i=d(v,n,{});e.preStyleProps.forEach((function(e){return i[e]=!0}));var r=d(y,n,{});e.postStyleProps.forEach((function(e){return r[e]=!0})),n!==t&&m.add(n)}));var z=B(m.values());return ve(t,this._triggerName,n,r,w,f,b,C,z,v,y,S)},e}(),Oe=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},i=N(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(i[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach((function(e){var o=r[e];o.length>1&&(o=V(o,i,t)),n[e]=o}))}})),n},e}(),Ce=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach((function(e){n.states[e.name]=new Oe(e.style,e.options&&e.options.params||{})})),Se(this.states,"true","1"),Se(this.states,"false","0"),t.transitions.forEach((function(t){n.transitionFactories.push(new we(e,t,n.states))})),this.fallbackTransition=new we(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,i){return this.transitionFactories.find((function(r){return r.match(e,t,n,i)}))||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function Se(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var ze=new oe,Te=function(){function e(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],i=K(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=i},e.prototype._buildPlayer=function(e,t,n){var i=e.element,r=u(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var i=this;void 0===n&&(n={});var r,o=[],s=this._animations[e],u=new Map;if(s?(r=ce(this._driver,t,s,"ng-enter","ng-leave",{},{},n,ze,o)).forEach((function(e){var t=d(u,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),r=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));u.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=i._driver.computeStyle(t,n,a.a)}))}));var l=c(r.map((function(e){var t=u.get(e.element);return i._buildPlayer(e,{},t)})));return this._playersById[e]=l,l.onDestroy((function(){return i.destroy(e)})),this.players.push(l),l},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,i){var r=h(t,"","","");return l(this._getPlayer(e),n,r,i),function(){}},e.prototype.command=function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){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(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])},e}(),_e=[],ke={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},De={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},xe=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n,i=e&&e.hasOwnProperty("value");if(this.value=null!=(n=i?e.value:e)?n:null,i){var r=N(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}},e}(),Ee=new xe("void"),Ne=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Fe(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var a=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);var c=d(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||(Fe(e,"ng-trigger"),Fe(e,"ng-trigger-"+t),c[t]=Ee),function(){o._engine.afterFlush((function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete c[t]}))}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,i){var r=this;void 0===i&&(i=!0);var o=this._getTrigger(t),a=new Ie(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Fe(e,"ng-trigger"),Fe(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var c=s[t],u=new xe(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),s[t]=u,c||(c=Ee),"void"===u.value||c.value!==u.value){var l=d(this._engine.playersByElement,e,[]);l.forEach((function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()}));var p=o.matchTransition(c.value,u.value,e,u.params),h=!1;if(!p){if(!i)return;p=o.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:p,fromState:c,toState:u,player:a,isFallbackTransition:h}),h||(Fe(e,"ng-animate-queued"),a.onStart((function(){Re(e,"ng-animate-queued")}))),a.onDone((function(){var t=r.players.indexOf(a);t>=0&&r.players.splice(t,1);var n=r._engine.playersByElement.get(e);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}})),this.players.push(a),l.push(a),a}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return i.destroy(t)}))}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}i&&this.collectEnterElement(t)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Fe(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Re(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n,i){if(Ae(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,i)}}else this._onRemovalComplete(t,i)},e.prototype.markElementAsRemoved=function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,i,r){return Ae(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}},e.prototype._buildInstruction=function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)},e.prototype.destroyInnerAnimations=function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))},e.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))},e.prototype.whenRenderingDone=function(){var e=this;return new Promise((function(t){if(e.players.length)return c(e.players).onDone((function(){return t()}));t()}))},e.prototype.processLeaveNode=function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=ke,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))},e.prototype.flush=function(e){var t=this;void 0===e&&(e=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(e,n){return t._balanceNamespaceList(e,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;D--)this._namespaceList[D].drainQueuedTransitions(t).forEach((function(e){var t=e.player,i=e.element;if(_.push(t),n.collectedEnterElements.length){var a=i.__ng_removed;if(a&&a.setForMove)return void t.destroy()}var s=!g||!n.driver.containsElement(g,i),c=z.get(i),f=v.get(i),b=n._buildInstruction(e,r,f,c,s);if(b.errors&&b.errors.length)k.push(b);else{if(s)return t.onStart((function(){return L(i,b.fromStyles)})),t.onDestroy((function(){return M(i,b.toStyles)})),void o.push(t);if(e.isFallbackTransition)return t.onStart((function(){return L(i,b.fromStyles)})),t.onDestroy((function(){return M(i,b.toStyles)})),void o.push(t);b.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(i,b.timelines),u.push({instruction:b,player:t,element:i}),b.queriedElements.forEach((function(e){return d(l,e,[]).push(t)})),b.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var i=p.get(t);i||p.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))}})),b.postStyleProps.forEach((function(e,t){var n=Object.keys(e),i=h.get(t);i||h.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))}))}}));if(k.length){var x=[];k.forEach((function(e){x.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach((function(e){return x.push("- "+e+"\n")}))})),_.forEach((function(e){return e.destroy()})),this.reportError(x)}var E=new Map,N=new Map;u.forEach((function(e){var t=e.element;r.has(t)&&(N.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,E))})),o.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){d(E,t,[]).push(e),e.destroy()}))}));var j=w.filter((function(e){return Be(e,p,h)})),I=new Map;Le(I,this.driver,C,h,a.a).forEach((function(e){Be(e,p,h)&&j.push(e)}));var A=new Map;m.forEach((function(e,t){Le(A,n.driver,new Set(e),p,a.n)})),j.forEach((function(e){var t=I.get(e),n=A.get(e);I.set(e,Object(i.a)(Object(i.a)({},t),n))}));var P=[],F=[],R={};u.forEach((function(e){var t=e.element,i=e.player,a=e.instruction;if(r.has(t)){if(f.has(t))return i.onDestroy((function(){return M(t,a.toStyles)})),i.disabled=!0,i.overrideTotalTime(a.totalTime),void o.push(i);var u=R;if(N.size>1){for(var l=t,p=[];l=l.parentNode;){var h=N.get(l);if(h){u=h;break}p.push(l)}p.forEach((function(e){return N.set(e,u)}))}var d=n._buildAnimation(i.namespaceId,a,E,s,A,I);if(i.setRealPlayer(d),u===R)P.push(i);else{var g=n.playersByElement.get(u);g&&g.length&&(i.parentPlayer=c(g)),o.push(i)}}else L(t,a.fromStyles),i.onDestroy((function(){return M(t,a.toStyles)})),F.push(i),f.has(t)&&o.push(i)})),F.forEach((function(e){var t=s.get(e.element);if(t&&t.length){var n=c(t);e.setRealPlayer(n)}})),o.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var V=0;V0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new a.d(e.duration,e.delay)},e}(),Ie=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new a.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return l(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))},e.prototype._queueEvent=function(e,t){d(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function Ae(e){return e&&1===e.nodeType}function Me(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Le(e,t,n,i,r){var o=[];n.forEach((function(e){return o.push(Me(e))}));var a=[];i.forEach((function(n,i){var o={};n.forEach((function(e){var n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=De,a.push(i))})),e.set(i,o)}));var s=0;return n.forEach((function(e){return Me(e,o[s++])})),a}function Pe(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var i=new Set(t),r=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var o=r.get(t);if(o)return o;var a=t.parentNode;return o=n.has(a)?a:i.has(a)?1:e(a),r.set(t,o),o}(e);1!==t&&n.get(t).push(e)})),n}function Fe(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Re(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Ve(e,t,n){c(n).onDone((function(){return e.processLeaveNode(t)}))}function Be(e,t,n){var i=n.get(e);if(!i)return!1;var r=t.get(e);return r?i.forEach((function(e){return r.add(e)})):t.set(e,i),n.delete(e),!0}var Ye=function(){function e(e,t,n){var i=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new je(e,t,n),this._timelineEngine=new Te(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return i.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,i,r){var o=e+"-"+i,a=this._triggerCache[o];if(!a){var s=[],c=K(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'+i+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(e,t){return new Ce(e,t)}(i,c),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,i,a)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)},e.prototype.onRemove=function(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,r){if("@"==n.charAt(0)){var o=Object(i.e)(f(n),2);this._timelineEngine.command(o[0],t,o[1],r)}else this._transitionEngine.trigger(e,t,n,r)},e.prototype.listen=function(e,t,n,r,o){if("@"==n.charAt(0)){var a=Object(i.e)(f(n),2);return this._timelineEngine.listen(a[0],t,a[1],o)}return this._transitionEngine.listen(e,t,n,r,o)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}();function Ue(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=We(t[0]),t.length>1&&(i=We(t[t.length-1]))):t&&(n=We(t)),n||i?new He(e,n,i):null}var He=function(){function e(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}return e.prototype.start=function(){this._state<1&&(this._startStyles&&M(this._element,this._startStyles,this._initialStyles),this._state=1)},e.prototype.finish=function(){this.start(),this._state<2&&(M(this._element,this._initialStyles),this._endStyles&&(M(this._element,this._endStyles),this._endStyles=null),this._state=1)},e.prototype.destroy=function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(L(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),M(this._element,this._initialStyles),this._state=3)},e.initialStylesByElement=new WeakMap,e}();function We(e){for(var t=null,n=Object.keys(e),i=0;i=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Xe(this._element,this._eventFn,!0))},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){var n=Je(e,"").split(","),i=Qe(n,t);i>=0&&(n.splice(i,1),Ke(e,"",n.join(",")))}(this._element,this._name))},e}();function $e(e,t,n){Ke(e,"PlayState",n,Ge(e,t))}function Ge(e,t){var n=Je(e,"");return n.indexOf(",")>0?Qe(n.split(","),t):Qe([n],t)}function Qe(e,t){for(var n=0;n=0)return n;return-1}function Xe(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Ke(e,t,n,i){var r="animation"+t;if(null!=i){var o=e.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}e.style[r]=n}function Je(e,t){return e.style["animation"+t]}var et=function(){function e(e,t,n,i,r,o,a,s){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+r,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new Ze(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:Z(e.element,i))}))}this.currentSnapshot=t},e}(),tt=function(e){function t(t,n){var i=e.call(this)||this;return i.element=t,i._startingStyles={},i.__initialized=!1,i._styles=T(n),i}return Object(i.c)(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(e){t._startingStyles[e]=t.element.style[e]})),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(e){return t.element.style.setProperty(e,t._styles[e])})),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)})),this._startingStyles=null,e.prototype.destroy.call(this))},t}(a.d),nt=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return O(e)},e.prototype.matchesElement=function(e,t){return C(e,t)},e.prototype.containsElement=function(e,t){return S(e,t)},e.prototype.query=function(e,t,n){return z(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){n=n.map((function(e){return T(e)}));var i="@keyframes "+t+" {\n",r="";n.forEach((function(e){r=" ";var t=parseFloat(e.offset);i+=""+r+100*t+"% {\n",r+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=r+"animation-timing-function: "+n+";\n"));default:return void(i+=""+r+t+": "+n+";\n")}})),i+=r+"}\n"})),i+="}\n";var o=document.createElement("style");return o.innerHTML=i,o},e.prototype.animate=function(e,t,n,i,r,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter((function(e){return e instanceof et})),c={};H(n,i)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}(t=W(e,t,c));if(0==n)return new tt(e,u);var l="gen_css_kf_"+this._count++,p=this.buildKeyframeElement(e,l,t);document.querySelector("head").appendChild(p);var h=Ue(e,t),d=new et(e,t,l,n,i,r,u,h);return d.onDestroy((function(){var e;(e=p).parentNode.removeChild(e)})),d},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}(),it=function(){function e(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:Z(e.element,n))})),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),rt=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ot().toString()),this._cssKeyframesDriver=new nt}return e.prototype.validateStyleProperty=function(e){return O(e)},e.prototype.matchesElement=function(e,t){return C(e,t)},e.prototype.containsElement=function(e,t){return S(e,t)},e.prototype.query=function(e,t,n){return z(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,i,r,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var c={},u=o.filter((function(e){return e instanceof it}));H(n,i)&&u.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var l=Ue(e,t=W(e,t=t.map((function(e){return j(e,!1)})),c));return new it(e,t,s,l)},e}();function ot(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var at=n("Valr"),st=function(e){function t(t,n){var i=e.call(this)||this;return i._nextAnimationId=0,i._renderer=t.createRenderer(n.body,{id:"0",encapsulation:r.R.None,styles:[],data:{animation:[]}}),i}return Object(i.c)(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(a.g)(e):e;return lt(this._renderer,null,t,"register",[n]),new ct(t,this._renderer)},t.\u0275fac=function(e){return new(e||t)(r.dc(r.F),r.dc(at.e))},t.\u0275prov=r.Pb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(a.b),ct=function(e){function t(t,n){var i=e.call(this)||this;return i._id=t,i._renderer=n,i}return Object(i.c)(t,e),t.prototype.create=function(e,t){return new ut(this._id,e,t||{},this._renderer)},t}(a.c),ut=function(){function e(e,t,n,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return e.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},e.prototype._command=function(e){for(var t=[],n=1;n=0&&e",triples:"",explode:"[]{}"},n=e.Pos;function i(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(r),t.state.closeBrackets=null),n&&(o(i(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(r))}));var r={Backspace:function(t){var r=s(t);if(!r||t.getOption("disableInput"))return e.Pass;for(var o=i(r,"pairs"),a=t.listSelections(),u=0;u=0;u--){var p=a[u].head;t.replaceRange("",n(p.line,p.ch-1),n(p.line,p.ch+1),"+delete")}},Enter:function(t){var n=s(t),r=n&&i(n,"explode");if(!r||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),a=0;a1&&h.indexOf(r)>=0&&t.getRange(n(y.line,y.ch-2),y)==r+r){if(y.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(y.line,y.ch-2))))return e.Pass;m="addFour"}else if(d){var O=0==y.ch?" ":t.getRange(n(y.line,y.ch-1),y);if(e.isWordChar(w)||O==r||e.isWordChar(O))return e.Pass;m="both"}else{if(!g||!(0===w.length||/\s/.test(w)||p.indexOf(w)>-1))return e.Pass;m="both"}else m=d&&u(t,y)?"both":h.indexOf(r)>=0&&t.getRange(y,n(y.line,y.ch+3))==r+r+r?"skipThree":"skip";if(l){if(l!=m)return e.Pass}else l=m}var C=c%2?a.charAt(c-1):r,S=c%2?r:a.charAt(c+1);t.operation((function(){if("skip"==l)t.execCommand("goCharRight");else if("skipThree"==l)for(var i=0;i<3;i++)t.execCommand("goCharRight");else if("surround"==l){var r=t.getSelections();for(i=0;i0,{anchor:new n(o.anchor.line,o.anchor.ch+(a?-1:1)),head:new n(o.head.line,o.head.ch+(a?1:-1))});t.setSelections(r)}else"both"==l?(t.replaceSelection(C+S,null),t.triggerElectric(C+S),t.execCommand("goCharLeft")):"addFour"==l&&(t.replaceSelection(C+C+C+C,"before"),t.execCommand("goCharRight"));var o,a}))}(r,t)}}function s(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function c(e,t){var i=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==i.length?i:null}function u(e,t){var i=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(i.type)&&i.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+"`")}(n("VrN/"))},EMzn:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return f}));var i=n("rWdj"),r=n("t3R0"),o=n("vJkw"),a=n("oycr"),s=n("/jXB"),c=n("neE4"),u=n("CbW8"),l=n("F8X2"),p=n("JvOi");function h(e,t){return new g(e,t).parseDocument()}function d(e,t){var n=new g(e,t);n.expectToken(p.a.SOF);var i=n.parseValueLiteral(!1);return n.expectToken(p.a.EOF),i}function f(e,t){var n=new g(e,t);n.expectToken(p.a.SOF);var i=n.parseTypeReference();return n.expectToken(p.a.EOF),i}var g=function(){function e(e,t){var n="string"==typeof e?new c.a(e):e;n instanceof c.a||Object(r.a)(0,"Must provide Source. Received: ".concat(Object(i.a)(n))),this._lexer=Object(u.a)(n),this._options=t||{}}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(p.a.NAME);return{kind:s.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:s.a.DOCUMENT,definitions:this.many(p.a.SOF,this.parseDefinition,p.a.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(p.a.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(p.a.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(p.a.BRACE_L))return{kind:s.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(p.a.NAME)&&(t=this.parseName()),{kind:s.a.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(p.a.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(p.a.PAREN_L,this.parseVariableDefinition,p.a.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:s.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(p.a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(p.a.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(p.a.DOLLAR),{kind:s.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:s.a.SELECTION_SET,selections:this.many(p.a.BRACE_L,this.parseSelection,p.a.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(p.a.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(p.a.COLON)?(e=i,t=this.parseName()):t=i,{kind:s.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(p.a.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){return this.optionalMany(p.a.PAREN_L,e?this.parseConstArgument:this.parseArgument,p.a.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(p.a.COLON),{kind:s.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:s.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(p.a.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(p.a.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(p.a.NAME)?{kind:s.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:s.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:s.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:s.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case p.a.BRACKET_L:return this.parseList(e);case p.a.BRACE_L:return this.parseObject(e);case p.a.INT:return this._lexer.advance(),{kind:s.a.INT,value:t.value,loc:this.loc(t)};case p.a.FLOAT:return this._lexer.advance(),{kind:s.a.FLOAT,value:t.value,loc:this.loc(t)};case p.a.STRING:case p.a.BLOCK_STRING:return this.parseStringLiteral();case p.a.NAME:return"true"===t.value||"false"===t.value?(this._lexer.advance(),{kind:s.a.BOOLEAN,value:"true"===t.value,loc:this.loc(t)}):"null"===t.value?(this._lexer.advance(),{kind:s.a.NULL,loc:this.loc(t)}):(this._lexer.advance(),{kind:s.a.ENUM,value:t.value,loc:this.loc(t)});case p.a.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:s.a.STRING,value:e.value,block:e.kind===p.a.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:s.a.LIST,values:this.any(p.a.BRACKET_L,(function(){return t.parseValueLiteral(e)}),p.a.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:s.a.OBJECT,fields:this.any(p.a.BRACE_L,(function(){return t.parseObjectField(e)}),p.a.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(p.a.COLON),{kind:s.a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(p.a.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(p.a.AT),{kind:s.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(p.a.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(p.a.BRACKET_R),e={kind:s.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(p.a.BANG)?{kind:s.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:s.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===p.a.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(p.a.STRING)||this.peek(p.a.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.many(p.a.BRACE_L,this.parseOperationTypeDefinition,p.a.BRACE_R);return{kind:s.a.SCHEMA_DEFINITION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(p.a.COLON);var n=this.parseNamedType();return{kind:s.a.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),i=this.parseDirectives(!0);return{kind:s.a.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:s.a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(p.a.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(p.a.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(p.a.NAME))}return e},t.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(p.a.BRACE_L)&&this._lexer.lookahead().kind===p.a.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(p.a.BRACE_L,this.parseFieldDefinition,p.a.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(p.a.COLON);var r=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:s.a.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(p.a.PAREN_L,this.parseInputValueDef,p.a.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(p.a.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(p.a.EQUALS)&&(i=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:s.a.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();return{kind:s.a.INTERFACE_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseUnionMemberTypes();return{kind:s.a.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(p.a.EQUALS)){this.expectOptionalToken(p.a.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(p.a.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();return{kind:s.a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(p.a.BRACE_L,this.parseEnumValueDefinition,p.a.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseDirectives(!0);return{kind:s.a.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();return{kind:s.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(p.a.BRACE_L,this.parseInputValueDef,p.a.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===p.a.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(p.a.BRACE_L,this.parseOperationTypeDefinition,p.a.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:s.a.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:s.a.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:s.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:s.a.INTERFACE_TYPE_EXTENSION,name:t,directives:n,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:s.a.UNION_TYPE_EXTENSION,name:t,directives:n,types:i,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:s.a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:s.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(p.a.AT);var n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:s.a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(p.a.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(p.a.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==l.a[t.value])return t;throw this.unexpected(e)},t.loc=function(e){if(!this._options.noLocation)return new b(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw Object(a.a)(this._lexer.source,t.start,"Expected ".concat(e,", found ").concat(m(t)))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==p.a.NAME||t.value!==e)throw Object(a.a)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(m(t)));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===p.a.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=e||this._lexer.token;return Object(a.a)(this._lexer.source,t.start,"Unexpected ".concat(m(t)))},t.any=function(e,t,n){this.expectToken(e);for(var i=[];!this.expectOptionalToken(n);)i.push(t.call(this));return i},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i}return[]},t.many=function(e,t,n){this.expectToken(e);var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i},e}();function b(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function m(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}Object(o.a)(b,(function(){return{start:this.start,end:this.end}}))},ESbf:function(e,t,n){"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}},EkME:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return d}));var i=n("t3R0"),r=n("dWS+"),o=n("L2ys"),a=n("93gR"),s=n("4RMZ"),c=n("FQ53"),u=n("jOXf");function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.a,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new s.a(e),p=arguments.length>4?arguments[4]:void 0;t||Object(i.a)(0,"Must provide document"),Object(a.a)(e);var h=Object.freeze({}),d=[],f=p&&p.maxErrors,g=new u.b(e,t,l,(function(e){if(null!=f&&d.length>=f)throw d.push(new r.a("Too many validation errors, error limit reached. Validation aborted.")),h;d.push(e)})),b=Object(o.d)(n.map((function(e){return e(g)})));try{Object(o.c)(t,Object(o.e)(l,b))}catch(m){if(m!==h)throw m}return d}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.b,i=[],r=new u.a(e,t,(function(e){i.push(e)})),a=n.map((function(e){return e(r)}));return Object(o.c)(e,Object(o.d)(a)),i}function h(e){var t=p(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join("\n\n"))}function d(e,t){var n=p(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join("\n\n"))}Object.freeze({})},EkS5:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return d}));var i="function"==typeof Symbol?Symbol:void 0,r=i&&i.iterator;function o(e){var t=null!=e&&e.length;return"number"==typeof t&&t>=0&&t%1==0}function a(e){return Object(e)===e&&(o(e)||function(e){return!!s(e)}(e))}function s(e){if(null!=e){var t=r&&e[r]||e["@@iterator"];if("function"==typeof t)return t}}function c(e){this._o=e,this._i=0}function u(e,t,n){if(null!=e){if("function"==typeof e.forEach)return e.forEach(t,n);var i=0,r=function(e){var t=s(e);if(t)return t.call(e)}(e);if(r){for(var a;!(a=r.next()).done;)if(t.call(n,a.value,i++,e),i>9999999)throw new TypeError("Near-infinite iteration.")}else if(o(e))for(;i=this._o.length?(this._o=void 0,{value:void 0,done:!0}):{value:this._o[this._i++],done:!1}};var l=i&&i.asyncIterator,p=l||"@@asyncIterator";function h(e){return!!f(e)}function d(e){var t=f(e);if(t)return t.call(e)}function f(e){if(null!=e){var t=l&&e[l]||e["@@asyncIterator"];if("function"==typeof t)return t}}function g(e){this._i=e}function b(e,t,n){var i;return new Promise((function(r){r((i=e[t](n)).value)})).then((function(e){return{value:e,done:i.done}}))}g.prototype[p]=function(){return this},g.prototype.next=function(e){return b(this._i,"next",e)},g.prototype.return=function(e){return this._i.return?b(this._i,"return",e):Promise.resolve({value:e,done:!0})},g.prototype.throw=function(e){return this._i.throw?b(this._i,"throw",e):Promise.reject(e)}},"En8+":function(e,t,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return r}));var r=i()},"F/XL":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("nkY7"),r=n("IUTb"),o=n("JF+6");function a(){for(var e=[],t=0;t tag not found.")}var _=function(){function e(e,t,n,i){this._rendererFactory=e,this._handler=t,this._document=n,this.sanitizer=i,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new u.a,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new c.c(this._handler))}return Object.defineProperty(e.prototype,"twoToneColor",{get:function(){return Object(o.a)({},this._twoToneColorPalette)},set:function(e){var t=e.primaryColor,n=e.secondaryColor;this._twoToneColorPalette.primaryColor=t,this._twoToneColorPalette.secondaryColor=n||O(t)},enumerable:!0,configurable:!0}),e.prototype.useJsonpLoading=function(){var e=this;this._enableJsonpLoading?w("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=function(t){e._jsonpIconLoad$.next(t)})},e.prototype.changeAssetsSource=function(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/"},e.prototype.addIcon=function(){for(var e=this,t=[],n=0;n=0;n--){var i=t[n];"svg"===i.tagName.toLowerCase()&&this._renderer.removeChild(e,i)}},e.\u0275fac=function(t){return new(t||e)(r.Tb(_),r.Tb(r.l),r.Tb(r.E))},e.\u0275dir=r.Ob({type:e,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[r.Bb]}),e}(),D=n("zPI3"),x=n("rpki"),E=n("ryCu"),N={name:"star",theme:"fill",icon:''},j=[{name:"bars",theme:"outline",icon:''},{name:"calendar",theme:"outline",icon:''},{name:"caret-up",theme:"fill",icon:''},{name:"caret-up",theme:"outline",icon:''},{name:"caret-down",theme:"fill",icon:''},{name:"caret-down",theme:"outline",icon:''},{name:"check-circle",theme:"fill",icon:''},{name:"check-circle",theme:"outline",icon:''},{name:"check",theme:"outline",icon:''},{name:"clock-circle",theme:"outline",icon:''},{name:"close-circle",theme:"outline",icon:''},{name:"close-circle",theme:"fill",icon:''},{name:"close",theme:"outline",icon:''},{name:"copy",theme:"outline",icon:''},{name:"double-left",theme:"outline",icon:''},{name:"double-right",theme:"outline",icon:''},{name:"down",theme:"outline",icon:''},{name:"edit",theme:"outline",icon:''},{name:"ellipsis",theme:"outline",icon:''},{name:"exclamation-circle",theme:"fill",icon:''},{name:"exclamation-circle",theme:"outline",icon:''},{name:"eye",theme:"outline",icon:''},{name:"file",theme:"fill",icon:''},{name:"file",theme:"outline",icon:''},{name:"filter",theme:"fill",icon:''},{name:"info-circle",theme:"fill",icon:''},{name:"info-circle",theme:"outline",icon:''},{name:"left",theme:"outline",icon:''},{name:"loading",theme:"outline",icon:''},{name:"paper-clip",theme:"outline",icon:''},{name:"question-circle",theme:"outline",icon:''},{name:"right",theme:"outline",icon:''},N,{name:"search",theme:"outline",icon:''},N,{name:"upload",theme:"outline",icon:''},{name:"up",theme:"outline",icon:''},{name:"swap-right",theme:"outline",icon:''}],I=new r.q("nz_icons"),A=function(e){function t(t,n,i,r,a,s){var c=e.call(this,t,r,a,n)||this;return c.nzConfigService=i,c.configUpdated$=new u.a,c.iconfontCache=new Set,c.onConfigChange(),c.addIcon.apply(c,Object(o.g)(j,s||[])),c.configDefaultTwotoneColor(),c.configDefaultTheme(),c}return Object(o.c)(t,e),t.prototype.normalizeSvgElement=function(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),e.getAttribute("width")&&e.getAttribute("height")||(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")},t.prototype.fetchFromIconfont=function(e){var t=e.scriptUrl;if(this._document&&!this.iconfontCache.has(t)){var n=this._renderer.createElement("script");this._renderer.setAttribute(n,"src",t),this._renderer.setAttribute(n,"data-namespace",t.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,n),this.iconfontCache.add(t)}},t.prototype.createIconfontIcon=function(e){return this._createSVGElementFromString('')},t.prototype.onConfigChange=function(){var e=this;this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe((function(){e.configDefaultTwotoneColor(),e.configDefaultTheme(),e.configUpdated$.next()}))},t.prototype.configDefaultTheme=function(){var e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"},t.prototype.configDefaultTwotoneColor=function(){var e=this.getConfig().nzTwotoneColor||"#1890ff",t="#1890ff";e&&(e.startsWith("#")?t=e:Object(E.b)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:t}},t.prototype.getConfig=function(){return this.nzConfigService.getConfigForComponent("icon")||{}},t.\u0275prov=Object(r.Pb)({factory:function(){return new t(Object(r.dc)(r.F),Object(r.dc)(y.b),Object(r.dc)(x.a),Object(r.dc)(c.b,8),Object(r.dc)(a.e,8),Object(r.dc)(I,8))},token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(r.dc(r.F),r.dc(y.b),r.dc(x.a),r.dc(c.b,8),r.dc(a.e,8),r.dc(I,8))},t}(_),M=new r.q("nz_icons_patch"),L=function(){function e(e,t){this.extraIcons=e,this.rootIconService=t,this.patched=!1}return e.prototype.doPatch=function(){var e=this;this.patched||(this.extraIcons.forEach((function(t){return e.rootIconService.addIcon(t)})),this.patched=!0)},e.\u0275fac=function(t){return new(t||e)(r.dc(M,2),r.dc(A))},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),P=function(e){function t(t,n,i,r){var o=e.call(this,n,t,i)||this;return o.iconService=n,o.renderer=i,o.cacheClassName=null,o.nzRotate=0,o.spin=!1,r&&r.doPatch(),o.el=t.nativeElement,o}return Object(o.c)(t,e),Object.defineProperty(t.prototype,"nzSpin",{set:function(e){this.spin=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nzType",{set:function(e){this.type=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nzTheme",{set:function(e){this.theme=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nzTwotoneColor",{set:function(e){this.twoToneColor=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nzIconfont",{set:function(e){this.iconfont=e},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){var t=e.nzRotate;e.nzType||e.nzTwotoneColor||e.nzSpin||e.nzTheme?this.changeIcon2():t?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon("#"+this.iconfont))},t.prototype.ngOnInit=function(){this.renderer.setAttribute(this.el,"class",("anticon "+this.el.className).trim())},t.prototype.ngAfterContentChecked=function(){if(!this.type){var e=this.el.children,t=e.length;if(!this.type&&e.length)for(;t--;){var n=e[t];"svg"===n.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(n)}}},t.prototype.changeIcon2=function(){var e=this;this.setClassName(),this._changeIcon().then((function(t){t&&(e.setSVGData(t),e.handleSpin(t),e.handleRotate(t))}))},t.prototype.handleSpin=function(e){this.spin||"loading"===this.type?this.renderer.addClass(e,"anticon-spin"):this.renderer.removeClass(e,"anticon-spin")},t.prototype.handleRotate=function(e){this.nzRotate?this.renderer.setAttribute(e,"style","transform: rotate("+this.nzRotate+"deg)"):this.renderer.removeAttribute(e,"style")},t.prototype.setClassName=function(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName="anticon-"+this.type,this.renderer.addClass(this.el,this.cacheClassName)},t.prototype.setSVGData=function(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")},Object(o.b)([Object(D.a)(),Object(o.d)("design:type",Boolean),Object(o.d)("design:paramtypes",[Boolean])],t.prototype,"nzSpin",null),t.\u0275fac=function(e){return new(e||t)(r.Tb(r.l),r.Tb(A),r.Tb(r.E),r.Tb(L,8))},t.\u0275dir=r.Ob({type:t,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(e,t){2&e&&r.Jb("anticon",!0)},inputs:{nzSpin:"nzSpin",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont",nzRotate:"nzRotate"},exportAs:["nzIcon"],features:[r.Ab,r.Bb]}),t}(k),F=function(){function e(){}return e.forRoot=function(t){return{ngModule:e,providers:[{provide:I,useValue:t}]}},e.forChild=function(t){return{ngModule:e,providers:[L,{provide:M,useValue:t}]}},e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)},imports:[[i.b]]}),e}()},GFHA:function(e,t,n){"use strict";n.d(t,"g",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return s})),n.d(t,"j",(function(){return c})),n.d(t,"b",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"i",(function(){return p})),n.d(t,"h",(function(){return h}));var i="UPDATE_VARIABLES",r="ADD_FILE_VARIABLE",o="DELETE_FILE_VARIABLE",a="UPDATE_FILE_VARIABLE_NAME",s="UPDATE_FILE_VARIABLE_DATA",c=function(){return function(e,t){this.payload=e,this.windowId=t,this.type=i}}(),u=function(){return function(e,t){this.windowId=e,this.payload=t,this.type=r}}(),l=function(){return function(e,t){this.windowId=e,this.payload=t,this.type=o}}(),p=function(){return function(e,t){this.windowId=e,this.payload=t,this.type=a}}(),h=function(){return function(e,t){this.windowId=e,this.payload=t,this.type=s}}()},GOzd:function(e,t,n){"use strict";var i="razdwatrzy";e.exports=function(){return"function"==typeof i.contains&&!0===i.contains("dwa")&&!1===i.contains("foo")}},GP5n:function(e,t,n){!function(e){"use strict";function t(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var n=e.getCursor();!function(e,t,n,i,r){e.openDialog?e.openDialog(t,r,{value:i,selectValueOnOpen:!0}):r(prompt(n,i))}(e,function(e){return e.phrase("Jump to line:")+' '+e.phrase("(Use line:column or scroll% syntax)")+""}(e),e.phrase("Jump to line:"),n.line+1+":"+n.ch,(function(i){var r;if(i)if(r=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(i))e.setCursor(t(e,r[1]),Number(r[2]));else if(r=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(i)){var o=Math.round(e.lineCount()*Number(r[1])/100);/^[-+]/.test(r[1])&&(o=n.line+o+1),e.setCursor(o-1,n.ch)}else(r=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(i))&&e.setCursor(t(e,r[1]),n.ch)}))},e.keyMap.default["Alt-G"]="jumpToLine"}(n("VrN/"),n("Ku0u"))},Gb2T:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return s})),n.d(t,"i",(function(){return v})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return b}));var i=n("2WDa"),r=function(){function e(){}return e.SLOW="0.3s",e.BASE="0.2s",e.FAST="0.1s",e}(),o=function(){function e(){}return e.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",e.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",e.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",e.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",e.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",e.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",e.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",e.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",e.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",e.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",e.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",e.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",e.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",e.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",e}(),a=Object(i.l)("collapseMotion",[Object(i.i)("expanded",Object(i.j)({height:"*"})),Object(i.i)("collapsed",Object(i.j)({height:0,overflow:"hidden"})),Object(i.i)("hidden",Object(i.j)({height:0,overflow:"hidden",borderTopWidth:"0"})),Object(i.k)("expanded => collapsed",Object(i.e)("150ms "+o.EASE_IN_OUT)),Object(i.k)("expanded => hidden",Object(i.e)("150ms "+o.EASE_IN_OUT)),Object(i.k)("collapsed => expanded",Object(i.e)("150ms "+o.EASE_IN_OUT)),Object(i.k)("hidden => expanded",Object(i.e)("150ms "+o.EASE_IN_OUT))]),s=Object(i.l)("treeCollapseMotion",[Object(i.k)("* => *",[Object(i.f)("nz-tree-node:leave",[Object(i.j)({overflow:"hidden"}),Object(i.h)(0,[Object(i.e)("150ms "+o.EASE_IN_OUT,Object(i.j)({height:0}))])],{optional:!0}),Object(i.f)("nz-tree-node:enter",[Object(i.j)({overflow:"hidden",height:0}),Object(i.h)(0,[Object(i.e)("150ms "+o.EASE_IN_OUT,Object(i.j)({overflow:"hidden",height:"*"}))])],{optional:!0})])]),c=Object(i.l)("fadeMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0}),Object(i.e)(""+r.BASE,Object(i.j)({opacity:1}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1}),Object(i.e)(""+r.BASE,Object(i.j)({opacity:0}))])]),u=Object(i.l)("helpMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0,transform:"translateY(-5px)"}),Object(i.e)(r.SLOW+" "+o.EASE_IN_OUT,Object(i.j)({opacity:1,transform:"translateY(0)"}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"translateY(0)"}),Object(i.e)(r.SLOW+" "+o.EASE_IN_OUT,Object(i.j)({opacity:0,transform:"translateY(-5px)"}))])]),l=Object(i.l)("moveUpMotion",[Object(i.k)("* => enter",[Object(i.j)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),Object(i.e)(""+r.BASE,Object(i.j)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Object(i.k)("* => leave",[Object(i.j)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),Object(i.e)(""+r.BASE,Object(i.j)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),p=Object(i.l)("notificationMotion",[Object(i.i)("enterRight",Object(i.j)({opacity:1,transform:"translateX(0)"})),Object(i.k)("* => enterRight",[Object(i.j)({opacity:0,transform:"translateX(5%)"}),Object(i.e)("100ms linear")]),Object(i.i)("enterLeft",Object(i.j)({opacity:1,transform:"translateX(0)"})),Object(i.k)("* => enterLeft",[Object(i.j)({opacity:0,transform:"translateX(-5%)"}),Object(i.e)("100ms linear")]),Object(i.i)("leave",Object(i.j)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Object(i.k)("* => leave",[Object(i.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Object(i.e)("100ms linear")])]),h=r.BASE+" "+o.EASE_OUT_QUINT,d=r.BASE+" "+o.EASE_IN_QUINT,f=Object(i.l)("slideMotion",[Object(i.i)("bottom",Object(i.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"})),Object(i.i)("top",Object(i.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 100%"})),Object(i.k)("void => bottom",[Object(i.j)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"}),Object(i.e)(h)]),Object(i.k)("bottom => void",[Object(i.e)(d,Object(i.j)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"}))]),Object(i.k)("void => top",[Object(i.j)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 100%"}),Object(i.e)(h)]),Object(i.k)("top => void",[Object(i.e)(d,Object(i.j)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 100%"}))])]),g=Object(i.l)("slideAlertMotion",[Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Object(i.e)(r.SLOW+" "+o.EASE_IN_OUT_CIRC,Object(i.j)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),b=Object(i.l)("zoomMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0,transform:"scale(0.2)"}),Object(i.e)(r.BASE+" "+o.EASE_OUT_CIRC,Object(i.j)({opacity:1,transform:"scale(1)"}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"scale(1)"}),Object(i.e)(r.BASE+" "+o.EASE_IN_OUT_CIRC,Object(i.j)({opacity:0,transform:"scale(0.2)"}))])]),m=Object(i.l)("zoomBigMotion",[Object(i.k)("void => active",[Object(i.j)({opacity:0,transform:"scale(0.8)"}),Object(i.e)(r.BASE+" "+o.EASE_OUT_CIRC,Object(i.j)({opacity:1,transform:"scale(1)"}))]),Object(i.k)("active => void",[Object(i.j)({opacity:1,transform:"scale(1)"}),Object(i.e)(r.BASE+" "+o.EASE_IN_OUT_CIRC,Object(i.j)({opacity:0,transform:"scale(0.8)"}))])]),v=Object(i.l)("zoomBadgeMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),Object(i.e)(r.SLOW+" "+o.EASE_OUT_BACK,Object(i.j)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),Object(i.e)(r.SLOW+" "+o.EASE_IN_BACK,Object(i.j)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])])},Gi3i:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("mrSG"),r=n("FFOo"),o=n("T1DM");function a(e,t){return void 0===t&&(t=o.a),function(n){return n.lift(new s(e,t))}}var s=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.dueTime,this.scheduler))},e}(),c=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return i.c(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(r.a);function u(e){e.debouncedNext()}},GpRL:function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},H6OF:function(e,t,n){"use strict";var i=n("GpRL"),r=n("aFjk"),o=n("ZI+j"),a=n("e0LD"),s=n("Zq5j");e.exports=function e(t){var n,c,u;if(i(t),(n=Object(arguments[1])).async&&n.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!n.force?t:(c=s(n.length,t.length,n.async&&o.async),u=a(t,c,n),r(o,(function(e,t){n[t]&&e(n[t],u,n)})),e.__profiler__&&e.__profiler__(u),u.updateEnv(),u.memoized)}},HBFN:function(e,t,n){"use strict";var i=n("Tzvz"),r=s(n("VrN/")),o=s(n("i1zs")),a=n("8Ur0");function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n){const i=t.fieldDef.name;"__"!==i.slice(0,2)&&(p(e,t,n,t.parentType),d(e,".")),d(e,i,"field-name",n,(0,a.getFieldReference)(t))}function u(e,t,n){d(e,"@"+t.directiveDef.name,"directive-name",n,(0,a.getDirectiveReference)(t))}function l(e,t,n,i){d(e,": "),p(e,t,n,i)}function p(e,t,n,r){r instanceof i.GraphQLNonNull?(p(e,t,n,r.ofType),d(e,"!")):r instanceof i.GraphQLList?(d(e,"["),p(e,t,n,r.ofType),d(e,"]")):d(e,r.name,"type-name",n,(0,a.getTypeReference)(t,r))}function h(e,t,n){const i=n.description;if(i){const n=document.createElement("div");n.className="info-description",t.renderDescription?n.innerHTML=t.renderDescription(i):n.appendChild(document.createTextNode(i)),e.appendChild(n)}!function(e,t,n){const i=n.deprecationReason;if(i){const n=document.createElement("div");n.className="info-deprecation",t.renderDescription?n.innerHTML=t.renderDescription(i):n.appendChild(document.createTextNode(i));const r=document.createElement("span");r.className="info-deprecation-label",r.appendChild(document.createTextNode("Deprecated: ")),n.insertBefore(r,n.firstChild),e.appendChild(n)}}(e,t,n)}function d(e,t,n,i={onClick:null},r){if(n){const o=i.onClick;let a;o?(a=document.createElement("a"),a.href="javascript:void 0",a.addEventListener("click",e=>{o(r,e)})):a=document.createElement("span"),a.className=n,a.appendChild(document.createTextNode(t)),e.appendChild(a)}else e.appendChild(document.createTextNode(t))}n("CRiN"),r.default.registerHelper("info","graphql",(e,t)=>{if(!t.schema||!e.state)return;const n=e.state,i=n.kind,r=n.step,s=(0,o.default)(t.schema,e.state);if("Field"===i&&0===r&&s.fieldDef||"AliasedField"===i&&2===r&&s.fieldDef){const e=document.createElement("div");return function(e,t,n){c(e,t,n),l(e,t,n,t.type)}(e,s,t),h(e,t,s.fieldDef),e}if("Directive"===i&&1===r&&s.directiveDef){const e=document.createElement("div");return u(e,s,t),h(e,t,s.directiveDef),e}if("Argument"===i&&0===r&&s.argDef){const e=document.createElement("div");return function(e,t,n){t.directiveDef?u(e,t,n):t.fieldDef&&c(e,t,n);const i=t.argDef.name;d(e,"("),d(e,i,"arg-name",n,(0,a.getArgumentReference)(t)),l(e,t,n,t.inputType),d(e,")")}(e,s,t),h(e,t,s.argDef),e}if("EnumValue"===i&&s.enumValue&&s.enumValue.description){const e=document.createElement("div");return function(e,t,n){const i=t.enumValue.name;p(e,t,n,t.inputType),d(e,"."),d(e,i,"enum-value",n,(0,a.getEnumValueReference)(t))}(e,s,t),h(e,t,s.enumValue),e}if("NamedType"===i&&s.type&&s.type.description){const e=document.createElement("div");return p(e,s,t,s.type),h(e,t,s.type),e}})},HEoz:function(e,t,n){"use strict";e.exports=n("umFS")()?n("fEpb").Symbol:n("lO5s")},HJBe:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("mrSG"),r=n("FFOo");function o(e){return void 0===e&&(e=null),function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.defaultValue))},e}(),s=function(e){function t(t,n){var i=e.call(this,t)||this;return i.defaultValue=n,i.isEmpty=!0,i}return i.c(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(r.a)},HXN9:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("d0bx"));t.generate=r.default;var o={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"};t.presetPrimaryColors=o;var a={};t.presetPalettes=a,Object.keys(o).forEach((function(e){a[e]=r.default(o[e]),a[e].primary=a[e][5]})),t.red=a.red,t.volcano=a.volcano,t.gold=a.gold,t.orange=a.orange,t.yellow=a.yellow,t.lime=a.lime,t.green=a.green,t.cyan=a.cyan,t.blue=a.blue,t.geekblue=a.geekblue,t.purple=a.purple,t.magenta=a.magenta,t.grey=a.grey},HkoP:function(e,t,n){"use strict";var i,r=(i=n("VrN/"))&&i.__esModule?i:{default:i},o=n("JCIs");function a(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}r.default.defineMode("graphql",e=>{const t=(0,o.onlineParser)({eatWhitespace:e=>e.eatWhile(o.isIgnored),lexRules:o.LexRules,parseRules:o.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\s*[})\]]/,fold:"brace",lineComment:"#",closeBrackets:{pairs:'()[]{}""',explode:"()[]{}"}}})},HmyC:function(e,t,n){"use strict";n.r(t);var i=n("gI7C");n.d(t,"getASTNodeAtPosition",(function(){return i.getASTNodeAtPosition})),n.d(t,"pointToOffset",(function(){return i.pointToOffset}));var r=n("VWUu");n.d(t,"Position",(function(){return r.Position})),n.d(t,"Range",(function(){return r.Range})),n.d(t,"locToRange",(function(){return r.locToRange})),n.d(t,"offsetToPosition",(function(){return r.offsetToPosition}));var o=n("qvY7");n.d(t,"validateWithCustomRules",(function(){return o.validateWithCustomRules}));var a=n("8O83");n.d(t,"requireFile",(function(){return a.requireFile})),n.d(t,"resolveFile",(function(){return a.resolveFile}))},HsqM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"object"==typeof e}},I2ZF:function(e,t){for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);e.exports=function(e,t){var i=t||0;return[n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]]].join("")}},IDEf:function(e,t,n){"use strict";e.exports=n("FKvE")()?Object.assign:n("9g66")},IQOa:function(e,t,n){"use strict";n.r(t),n.d(t,"getDefinitionState",(function(){return o})),n.d(t,"getFieldDef",(function(){return a})),n.d(t,"forEachState",(function(){return s})),n.d(t,"objectValues",(function(){return c})),n.d(t,"hintList",(function(){return u})),n.d(t,"getAutocompleteSuggestions",(function(){return b})),n.d(t,"LANGUAGE",(function(){return S})),n.d(t,"getDefinitionQueryResultForFragmentSpread",(function(){return _})),n.d(t,"getDefinitionQueryResultForDefinitionNode",(function(){return k})),n.d(t,"getDiagnostics",(function(){return N})),n.d(t,"validateQuery",(function(){return j})),n.d(t,"getOutline",(function(){return V})),n.d(t,"getHoverInformation",(function(){return Y})),n.d(t,"GraphQLLanguageService",(function(){return de}));var i=n("axIb"),r=n("LViu");function o(e){let t;return s(e,e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}}),t}function a(e,t,n){return n===r.SchemaMetaFieldDef.name&&e.getQueryType()===t?r.SchemaMetaFieldDef:n===r.TypeMetaFieldDef.name&&e.getQueryType()===t?r.TypeMetaFieldDef:n===r.TypeNameMetaFieldDef.name&&Object(i.D)(t)?r.TypeNameMetaFieldDef:"getFields"in t?t.getFields()[n]:null}function s(e,t){const n=[];let i=e;for(;i&&i.kind;)n.push(i),i=i.prevState;for(let r=n.length-1;r>=0;r--)t(n[r])}function c(e){const t=Object.keys(e),n=t.length,i=new Array(n);for(let r=0;r({proximity:h(p(e.label),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry):l(e,e=>!e.isDeprecated)}(t,p(e.string))}function l(e,t){const n=e.filter(t);return 0===n.length?e:n}function p(e){return e.toLowerCase().replace(/\W/g,"")}function h(e,t){let n=function(e,t){let n,i;const r=[],o=e.length,a=t.length;for(n=0;n<=o;n++)r[n]=[n];for(i=1;i<=a;i++)r[0][i]=i;for(n=1;n<=o;n++)for(i=1;i<=a;i++){const o=e[n-1]===t[i-1]?0:1;r[n][i]=Math.min(r[n-1][i]+1,r[n][i-1]+1,r[n-1][i-1]+o),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(r[n][i]=Math.min(r[n][i],r[n-2][i-2]+o))}return r[o][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}var d=n("19Hc"),f=n("sJV+"),g=n("JCIs");function b(e,t,n,a){const s=a||m(t,n),l="Invalid"===s.state.kind?s.state.prevState:s.state;if(!l)return[];const p=l.kind,h=l.step,g=y(e,s.state);if("Document"===p)return u(s,[{label:"query"},{label:"mutation"},{label:"subscription"},{label:"fragment"},{label:"{"}]);if("SelectionSet"===p||"Field"===p||"AliasedField"===p)return function(e,t,n){if(t.parentType){const o=t.parentType,a="getFields"in o?c(o.getFields()):[];return Object(i.D)(o)&&a.push(r.TypeNameMetaFieldDef),o===n.getQueryType()&&a.push(r.SchemaMetaFieldDef,r.TypeMetaFieldDef),u(e,a.map((e,t)=>({sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:e.description,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason})))}return[]}(s,g,e);if("Arguments"===p||"Argument"===p&&0===h){const e=g.argDefs;if(e)return u(s,e.map(e=>({label:e.name,detail:String(e.type),documentation:e.description})))}return("ObjectValue"===p||"ObjectField"===p&&0===h)&&g.objectFieldDefs?u(s,c(g.objectFieldDefs).map(e=>({label:e.name,detail:String(e.type),documentation:e.description}))):"EnumValue"===p||"ListValue"===p&&1===h||"ObjectField"===p&&2===h||"Argument"===p&&2===h?function(e,t){const n=Object(i.A)(t.inputType);return n instanceof i.a?u(e,n.getValues().map(e=>({label:e.name,detail:String(n),documentation:e.description,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}))):n===d.a?u(e,[{label:"true",detail:String(d.a),documentation:"Not false."},{label:"false",detail:String(d.a),documentation:"Not true."}]):[]}(s,g):"TypeCondition"===p&&1===h||"NamedType"===p&&null!=l.prevState&&"TypeCondition"===l.prevState.kind?function(e,t,n){let r;if(t.parentType)if(Object(i.C)(t.parentType)){const e=Object(i.j)(t.parentType),o=n.getPossibleTypes(e),a=Object.create(null);o.forEach(e=>{e.getInterfaces().forEach(e=>{a[e.name]=e})}),r=o.concat(c(a))}else r=[t.parentType];else r=c(n.getTypeMap()).filter(i.D);return u(e,r.map(e=>{const t=Object(i.A)(e);return{label:String(e),documentation:t&&t.description||""}}))}(s,g,e):"FragmentSpread"===p&&1===h?function(e,t,n,r){const a=n.getTypeMap(),s=o(e.state);return u(e,function(e){const t=[];return v(e,(e,n)=>{"FragmentDefinition"===n.kind&&n.name&&n.type&&t.push({kind:"FragmentDefinition",name:{kind:"Name",value:n.name},selectionSet:{kind:"SelectionSet",selections:[]},typeCondition:{kind:"NamedType",name:{kind:"Name",value:n.type}}})}),t}(r).filter(e=>a[e.typeCondition.name.value]&&!(s&&"FragmentDefinition"===s.kind&&s.name===e.name.value)&&Object(i.D)(t.parentType)&&Object(i.D)(a[e.typeCondition.name.value])&&Object(f.a)(n,t.parentType,a[e.typeCondition.name.value])).map(e=>({label:e.name.value,detail:String(a[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`})))}(s,g,e,t):"VariableDefinition"===p&&2===h||"ListType"===p&&1===h||"NamedType"===p&&l.prevState&&("VariableDefinition"===l.prevState.kind||"ListType"===l.prevState.kind)?function(e,t){return u(e,c(t.getTypeMap()).filter(i.G).map(e=>({label:e.name,documentation:e.description})))}(s,e):"Directive"===p?function(e,t,n){return t.prevState&&t.prevState.kind?u(e,n.getDirectives().filter(e=>function(e,t){if(!e||!e.kind)return!1;const n=t.locations;switch(e.kind){case"Query":return-1!==n.indexOf("QUERY");case"Mutation":return-1!==n.indexOf("MUTATION");case"Subscription":return-1!==n.indexOf("SUBSCRIPTION");case"Field":case"AliasedField":return-1!==n.indexOf("FIELD");case"FragmentDefinition":return-1!==n.indexOf("FRAGMENT_DEFINITION");case"FragmentSpread":return-1!==n.indexOf("FRAGMENT_SPREAD");case"InlineFragment":return-1!==n.indexOf("INLINE_FRAGMENT");case"SchemaDef":return-1!==n.indexOf("SCHEMA");case"ScalarDef":return-1!==n.indexOf("SCALAR");case"ObjectTypeDef":return-1!==n.indexOf("OBJECT");case"FieldDef":return-1!==n.indexOf("FIELD_DEFINITION");case"InterfaceDef":return-1!==n.indexOf("INTERFACE");case"UnionDef":return-1!==n.indexOf("UNION");case"EnumDef":return-1!==n.indexOf("ENUM");case"EnumValue":return-1!==n.indexOf("ENUM_VALUE");case"InputDef":return-1!==n.indexOf("INPUT_OBJECT");case"InputValueDef":switch(e.prevState&&e.prevState.kind){case"ArgumentsDef":return-1!==n.indexOf("ARGUMENT_DEFINITION");case"InputDef":return-1!==n.indexOf("INPUT_FIELD_DEFINITION")}}return!1}(t.prevState,e)).map(e=>({label:e.name,documentation:e.description||""}))):[]}(s,l,e):[]}function m(e,t){let n=null,i=null,r=null;const o=v(e,(e,o,a,s)=>{if(s===t.line&&e.getCurrentPosition()>=t.character)return n=a,i={...o},r=e.current(),"BREAK"});return{start:o.start,end:o.end,string:r||o.string,state:i||o.state,style:n||o.style}}function v(e,t){const n=e.split("\n"),i=Object(g.onlineParser)();let r=i.startState(),o="",a=new g.CharacterStream("");for(let s=0;s{switch(t.kind){case"Query":case"ShortQuery":d=e.getQueryType();break;case"Mutation":d=e.getMutationType();break;case"Subscription":d=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(d=e.getType(t.type));break;case"Field":case"AliasedField":d&&t.name?(u=h?a(e,h,t.name):null,d=u?u.type:null):u=null;break;case"SelectionSet":h=Object(i.A)(d);break;case"Directive":o=t.name?e.getDirective(t.name):null;break;case"Arguments":if(t.prevState)switch(t.prevState.kind){case"Field":r=u&&u.args;break;case"Directive":r=o&&o.args;break;case"AliasedField":const n=t.prevState&&t.prevState.name;if(!n){r=null;break}const i=h?a(e,h,n):null;if(!i){r=null;break}r=i.args;break;default:r=null}else r=null;break;case"Argument":if(r)for(let e=0;ee.name.value===i);if(0===r.length)return process.stderr.write("Definition not found for GraphQL fragment "+i),{queryRange:[],definitions:[]};const o=r.map(({filePath:e,content:t,definition:n})=>D(e||"",t,n));return{definitions:o,queryRange:o.map(n=>z(e,t))}}function k(e,t,n){return{definitions:[D(e,t,n)],queryRange:n.name?[z(t,n.name)]:[]}}function D(e,t,n){const i=n.name;return C()(i,"Expected ASTNode to have a Name."),{path:e,position:T(t,n),range:z(t,n),name:i.value||"",language:S,projectRoot:e}}var x=n("EMzn"),E=n("hliF");function N(e,t=null,n,i){let r=null;try{r=Object(x.a)(e)}catch(o){const t=M(o.locations[0],e);return[{severity:1,message:o.message,source:"GraphQL: Syntax",range:t}]}return j(r,t,n,i)}function j(e,t=null,n,i){if(!t)return[];const r=I(Object(w.validateWithCustomRules)(t,e,n,i),e=>A(e,1,"Validation")),o=E.a?I(Object(E.a)(t,e),e=>A(e,2,"Deprecation")):[];return r.concat(o)}function I(e,t){return Array.prototype.concat.apply([],e.map(t))}function A(e,t,n){return e.nodes?e.nodes.map(i=>{const r="Variable"!==i.kind&&"name"in i?i.name:"variable"in i?i.variable:i;C()(e.locations,"GraphQL validation error requires locations.");const o=e.locations[0],a=function(e){const t=e.loc;return C()(t,"Expected ASTNode to have a location."),t}(r),s=o.column+(a.end-a.start);return{source:"GraphQL: "+n,message:e.message,severity:t,range:new w.Range(new w.Position(o.line-1,o.column-1),new w.Position(o.line-1,s))}}):[]}function M(e,t){const n=Object(g.onlineParser)(),i=n.startState(),r=t.split("\n");C()(r.length>=e.line,"Query text must have more lines than where the error happened");let o=null;for(let u=0;u({representativeName:t.name,startPosition:Object(w.offsetToPosition)(e,t.loc.start),endPosition:Object(w.offsetToPosition)(e,t.loc.end),children:t.selectionSet||[]});return{Field:e=>{const n=e.alias?[B("plain",e.alias),B("plain",": ")]:[];return n.push(B("plain",e.name)),{tokenizedText:n,...t(e)}},OperationDefinition:e=>({tokenizedText:[B("keyword",e.operation),B("whitespace"," "),B("class-name",e.name)],...t(e)}),Document:e=>e.definitions,SelectionSet:e=>function(e,t){const n=[];for(let r=0;re.value,FragmentDefinition:e=>({tokenizedText:[B("keyword","fragment"),B("whitespace"," "),B("class-name",e.name)],...t(e)}),FragmentSpread:e=>({tokenizedText:[B("plain","..."),B("class-name",e.name)],...t(e)}),InlineFragment:e=>e.selectionSet}}(e);return{outlineTrees:Object(P.c)(t,{leave:e=>R.hasOwnProperty(e.kind)&&n[e.kind]?n[e.kind](e):null})}}function B(e,t){return{kind:e,value:t}}function Y(e,t,n,i){const r=i||m(t,n);if(!e||!r||!r.state)return"";const o=r.state,a=o.kind,s=o.step,c=y(e,r.state),u={schema:e};if("Field"===a&&0===s&&c.fieldDef||"AliasedField"===a&&2===s&&c.fieldDef){const e=[];return function(e,t,n){U(e,t,n),W(e,t,n,t.type)}(e,c,u),Z(e,0,c.fieldDef),e.join("").trim()}if("Directive"===a&&1===s&&c.directiveDef){const e=[];return H(e,c),Z(e,0,c.directiveDef),e.join("").trim()}if("Argument"===a&&0===s&&c.argDef){const e=[];return function(e,t,n){if(t.directiveDef?H(e,t):t.fieldDef&&U(e,t,n),!t.argDef)return;const i=t.argDef.name;$(e,"("),$(e,i),W(e,t,n,t.inputType),$(e,")")}(e,c,u),Z(e,0,c.argDef),e.join("").trim()}if("EnumValue"===a&&c.enumValue&&"description"in c.enumValue){const e=[];return function(e,t,n){if(!t.enumValue)return;const i=t.enumValue.name;q(e,t,n,t.inputType),$(e,"."),$(e,i)}(e,c,u),Z(e,0,c.enumValue),e.join("").trim()}if("NamedType"===a&&c.type&&"description"in c.type){const e=[];return q(e,c,u,c.type),Z(e,0,c.type),e.join("").trim()}return""}function U(e,t,n){if(!t.fieldDef)return;const i=t.fieldDef.name;"__"!==i.slice(0,2)&&(q(e,t,n,t.parentType),$(e,".")),$(e,i)}function H(e,t,n){t.directiveDef&&$(e,"@"+t.directiveDef.name)}function W(e,t,n,i){$(e,": "),q(e,t,n,i)}function q(e,t,n,r){r&&(r instanceof i.e?(q(e,t,n,r.ofType),$(e,"!")):r instanceof i.d?($(e,"["),q(e,t,n,r.ofType),$(e,"]")):$(e,r.name))}function Z(e,t,n){if(!n)return;const i="string"==typeof n.description?n.description:null;i&&($(e,"\n\n"),$(e,i)),function(e,t,n){if(!n)return;const i=n.deprecationReason?n.deprecationReason:null;i&&($(e,"\n\n"),$(e,"Deprecated: "),$(e,i))}(e,0,n)}function $(e,t){e.push(t)}var G=n("dQau");const{FRAGMENT_DEFINITION:Q,OBJECT_TYPE_DEFINITION:X,INTERFACE_TYPE_DEFINITION:K,ENUM_TYPE_DEFINITION:J,UNION_TYPE_DEFINITION:ee,SCALAR_TYPE_DEFINITION:te,INPUT_OBJECT_TYPE_DEFINITION:ne,SCALAR_TYPE_EXTENSION:ie,OBJECT_TYPE_EXTENSION:re,INTERFACE_TYPE_EXTENSION:oe,UNION_TYPE_EXTENSION:ae,ENUM_TYPE_EXTENSION:se,INPUT_OBJECT_TYPE_EXTENSION:ce,DIRECTIVE_DEFINITION:ue,FRAGMENT_SPREAD:le,OPERATION_DEFINITION:pe,NAMED_TYPE:he}=L.a;class de{constructor(e){this._graphQLCache=e,this._graphQLConfig=e.getGraphQLConfig()}getConfigForURI(e){const t=this._graphQLConfig.getConfigForFile(e);if(t)return t;throw Error("No config found for uri: "+e)}async getDiagnostics(e,t,n){let i=!1;const r=this.getConfigForURI(t),{schemaPath:o,projectName:a,extensions:s}=r;try{const n=Object(x.a)(e);o&&t===o||(i=n.definitions.some(e=>{switch(e.kind){case X:case K:case J:case ee:case te:case ne:case ie:case re:case oe:case ae:case se:case ce:case ue:return!0}return!1}))}catch(f){const t=M(f.locations[0],e);return[{severity:1,message:f.message,source:"GraphQL: Syntax",range:t}]}let c=e;const u=await this._graphQLCache.getFragmentDefinitions(r);c=`${c} ${(await this._graphQLCache.getFragmentDependencies(e,u)).reduce((e,t)=>`${e} ${Object(G.print)(t.definition)}`,"")}`;let l,p=null;try{p=Object(x.a)(c)}catch(f){return[]}const h=s.customValidationRules;if(h){const e=Object(w.resolveFile)(h);if(e){const t=await Object(w.requireFile)(e);t&&(l=t(this._graphQLConfig))}}const d=await this._graphQLCache.getSchema(a,i).catch(()=>null);return d?j(p,d,l,n):[]}async getAutocompleteSuggestions(e,t,n){const i=this.getConfigForURI(n),r=await this._graphQLCache.getSchema(i.projectName).catch(()=>null);return r?b(r,e,t):[]}async getHoverInformation(e,t,n){const i=this.getConfigForURI(n),r=await this._graphQLCache.getSchema(i.projectName).catch(()=>null);return r?Y(r,e,t):""}async getDefinition(e,t,n){const i=this.getConfigForURI(n);let r;try{r=Object(x.a)(e)}catch(a){return null}const o=Object(w.getASTNodeAtPosition)(e,r,t);if(o)switch(o.kind){case le:return this._getDefinitionForFragmentSpread(e,r,o,n,i);case Q:case pe:return k(n,e,o);case he:return this._getDefinitionForNamedType(e,r,o,n,i)}return null}async _getDefinitionForNamedType(e,t,n,i,r){const o=await this._graphQLCache.getObjectTypeDefinitions(r),a=await this._graphQLCache.getObjectTypeDependenciesForAST(t,o),s=t.definitions.filter(e=>e.kind===X||e.kind===ne||e.kind===J).map(t=>({filePath:i,content:e,definition:t}));return await async function(e,t,n){const i=t.name.value,r=n.filter(({definition:e})=>e.name&&e.name.value===i);if(0===r.length)return process.stderr.write("Definition not found for GraphQL type "+i),{queryRange:[],definitions:[]};const o=r.map(({filePath:e,content:t,definition:n})=>function(e,t,n){const i=n.name;return C()(i,"Expected ASTNode to have a Name."),{path:e,position:T(t,n),range:z(t,n),name:i.value||"",language:S,projectRoot:e}}(e||"",t,n));return{definitions:o,queryRange:o.map(n=>z(e,t))}}(e,n,a.concat(s))}async _getDefinitionForFragmentSpread(e,t,n,i,r){const o=await this._graphQLCache.getFragmentDefinitions(r),a=await this._graphQLCache.getFragmentDependenciesForAST(t,o),s=t.definitions.filter(e=>e.kind===Q).map(t=>({filePath:i,content:e,definition:t}));return await _(e,n,a.concat(s))}}},IUTb:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("6blF"),r=n("+tJ4"),o=n("JF+6");function a(e,t){return t?Object(o.a)(e,t):new i.a(Object(r.a)(e))}},"IWB/":function(e,t,n){"use strict";var i=n("YsTz"),r={function:!0,object:!0};e.exports=function(e){return i(e)&&r[typeof e]||!1}},Iab2:function(e,t,n){var i,r;void 0===(r="function"==typeof(i=function(){"use strict";function t(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){o(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}var r="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,o=r.saveAs||("object"!=typeof window||window!==r?function(){}:"download"in HTMLAnchorElement.prototype?function(e,o,a){var s=r.URL||r.webkitURL,c=document.createElement("a");c.download=o=o||e.name||"download",c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?i(c):n(c.href)?t(e,o,a):i(c,c.target="_blank")):(c.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){i(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,r,o){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,o),r);else if(n(e))t(e,r,o);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout((function(){i(a)}))}}:function(e,n,i,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,i);var a="application/octet-stream"===e.type,s=/constructor/i.test(r.HTMLElement)||r.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||a&&s)&&"object"==typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},u.readAsDataURL(e)}else{var l=r.URL||r.webkitURL,p=l.createObjectURL(e);o?o.location=p:location.href=p,o=null,setTimeout((function(){l.revokeObjectURL(p)}),4e4)}});r.saveAs=o.saveAs=o,e.exports=o})?i.apply(t,[]):i)||(e.exports=r)},J1Ni:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("2WDa"),r=Object(i.l)("fadeInOutAnimation",[Object(i.k)(":enter",[Object(i.j)({opacity:0}),Object(i.e)(".3s ease",Object(i.j)({opacity:1}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1}),Object(i.e)(".3s ease",Object(i.j)({opacity:0}))])])},J7Ao:function(e,t){e.exports=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}},JCIs:function(e,t,n){"use strict";n.r(t),n.d(t,"CharacterStream",(function(){return i})),n.d(t,"LexRules",(function(){return l})),n.d(t,"ParseRules",(function(){return p})),n.d(t,"isIgnored",(function(){return u})),n.d(t,"butNot",(function(){return a})),n.d(t,"list",(function(){return o})),n.d(t,"opt",(function(){return r})),n.d(t,"p",(function(){return c})),n.d(t,"t",(function(){return s})),n.d(t,"onlineParser",(function(){return f}));class i{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let i=null,r=null;return"string"==typeof e?(r=new RegExp(e,n?"i":"g").test(this._sourceText.substr(this._pos,e.length)),i=e):e instanceof RegExp&&(r=this._sourceText.slice(this._pos).match(e),i=r&&r[0]),!(null==r||!("string"==typeof e||r instanceof Array&&this._sourceText.startsWith(r[0],this._pos)))&&(t&&(this._start=this._pos,i&&i.length&&(this._pos+=i.length)),r)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0===e.length){const n=e[0];let i=0;for(;n.length>i;)9===n.charCodeAt(i)?t+=2:t++,i++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}function r(e){return{ofRule:e}}function o(e,t){return{ofRule:e,isList:!0,separator:t}}function a(e,t){const n=e.match;return e.match=e=>{let i=!1;return n&&(i=n(e)),i&&t.every(t=>t.match&&!t.match(e))},e}function s(e,t){return{style:t,match:t=>t.kind===e}}function c(e,t){return{style:t||"punctuation",match:t=>"Punctuation"===t.kind&&t.value===e}}const u=e=>" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e,l={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},p={Document:[o("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return"FragmentDefinition";case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[h("query"),r(d("def")),r("VariableDefinitions"),o("Directive"),"SelectionSet"],Mutation:[h("mutation"),r(d("def")),r("VariableDefinitions"),o("Directive"),"SelectionSet"],Subscription:[h("subscription"),r(d("def")),r("VariableDefinitions"),o("Directive"),"SelectionSet"],VariableDefinitions:[c("("),o("VariableDefinition"),c(")")],VariableDefinition:["Variable",c(":"),"Type",r("DefaultValue")],Variable:[c("$","variable"),d("variable")],DefaultValue:[c("="),"Value"],SelectionSet:[c("{"),o("Selection"),c("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[d("property"),c(":"),d("qualifier"),r("Arguments"),o("Directive"),r("SelectionSet")],Field:[d("property"),r("Arguments"),o("Directive"),r("SelectionSet")],Arguments:[c("("),o("Argument"),c(")")],Argument:[d("attribute"),c(":"),"Value"],FragmentSpread:[c("..."),d("def"),o("Directive")],InlineFragment:[c("..."),r("TypeCondition"),o("Directive"),"SelectionSet"],FragmentDefinition:[h("fragment"),r(a(d("def"),[h("on")])),"TypeCondition",o("Directive"),"SelectionSet"],TypeCondition:[h("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[s("Number","number")],StringValue:[s("String","string")],BooleanValue:[s("Name","builtin")],NullValue:[s("Name","keyword")],EnumValue:[d("string-2")],ListValue:[c("["),o("Value"),c("]")],ObjectValue:[c("{"),o("ObjectField"),c("}")],ObjectField:[d("attribute"),c(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[c("["),"Type",c("]"),r(c("!"))],NonNullType:["NamedType",r(c("!"))],NamedType:[{style:"atom",match:e=>"Name"===e.kind,update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}}],Directive:[c("@","meta"),d("meta"),r("Arguments")],SchemaDef:[h("schema"),o("Directive"),c("{"),o("OperationTypeDef"),c("}")],OperationTypeDef:[d("keyword"),c(":"),d("atom")],ScalarDef:[h("scalar"),d("atom"),o("Directive")],ObjectTypeDef:[h("type"),d("atom"),r("Implements"),o("Directive"),c("{"),o("FieldDef"),c("}")],Implements:[h("implements"),o("NamedType")],FieldDef:[d("property"),r("ArgumentsDef"),c(":"),"Type",o("Directive")],ArgumentsDef:[c("("),o("InputValueDef"),c(")")],InputValueDef:[d("attribute"),c(":"),"Type",r("DefaultValue"),o("Directive")],InterfaceDef:[h("interface"),d("atom"),o("Directive"),c("{"),o("FieldDef"),c("}")],UnionDef:[h("union"),d("atom"),o("Directive"),c("="),o("UnionMember",c("|"))],UnionMember:["NamedType"],EnumDef:[h("enum"),d("atom"),o("Directive"),c("{"),o("EnumValueDef"),c("}")],EnumValueDef:[d("string-2"),o("Directive")],InputDef:[h("input"),d("atom"),o("Directive"),c("{"),o("InputValueDef"),c("}")],ExtendDef:[h("extend"),"ObjectTypeDef"],DirectiveDef:[h("directive"),c("@","meta"),d("meta"),r("ArgumentsDef"),h("on"),o("DirectiveLocation",c("|"))],DirectiveLocation:[d("string-2")]};function h(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function d(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}function f(e={eatWhitespace:e=>e.eatWhile(u),lexRules:l,parseRules:p,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return m(e.parseRules,t,"Document"),t},token:(t,n)=>function(e,t,n){const{lexRules:i,parseRules:r,eatWhitespace:o,editorConfig:a}=n;if(t.rule&&0===t.rule.length?v(t):t.needsAdvance&&(t.needsAdvance=!1,y(t,!0)),e.sol()){const n=a&&a.tabSize||2;t.indentLevel=Math.floor(e.indentation()/n)}if(o(e))return"ws";const s=function(e,t){const n=Object.keys(e);for(let i=0;i0&&e[e.length-1]=r)){var c=s&&s.getFields();return{kind:"SelectionSet",selections:Object.keys(c).map((function(e){var t=c[e];return{kind:"Field",name:{kind:"Name",value:e},selectionSet:M(t?t.type:null,{maxDepth:r,currentDepth:a+1})}}))}}}},L=function(e,t){if(0===t.length)return e;var n="",i=0;return t.forEach((function(t){var r=t.index,o=t.string;n+=e.slice(i,r)+o,i=r})),n+=e.slice(i)},P=n("YMfE"),F=(n("hkyM"),n("/jXB")),R=n("ADFt"),V=function(){return(V=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t)}))},e.prototype.getOperationNameAtIndex=function(e,t){var n=this.getOperationAtIndex(e,t);return n&&n.name&&n.name.value?n.name.value:""},e.prototype.getSelectedOperationData=function(e){var t=e.query,n=void 0===t?"":t,i=e.queryCursorIndex,r=e.selectedOperation,o=void 0===r?"":r,a=e.selectIfOneOperation,s=void 0!==a&&a,c=null,u=this.getOperations(n),l=!1;if(u){var p=u.map((function(e){return e.name&&"Name"===e.name.kind&&e.name.value})).filter(Boolean);if(p.length>1){var h="";void 0!==i&&(h=this.getOperationNameAtIndex(n,i)),o&&!p.includes(o)||!o?h?c=h:(c=null,l=!0):c=o}else c=s&&p[0]||null}else c=null;return{selectedOperation:c,operations:u,requestSelectedOperationFromUser:l}},e.prototype.prettify=function(e,t){return void 0===t&&(t=2),G(this,void 0,void 0,(function(){var i,r;return Q(this,(function(o){switch(o.label){case 0:return[4,n.e(8).then(n.t.bind(null,"MlsZ",7))];case 1:return i=o.sent(),[4,n.e(7).then(n.t.bind(null,"azY9",7))];case 2:return r=o.sent(),[2,i.format(e,{parser:"graphql",plugins:[r],tabWidth:t})]}}))}))},e.prototype.compress=function(e){return G(this,void 0,void 0,(function(){var t;return Q(this,(function(n){switch(n.label){case 0:return t=y.a,[4,this.prettify(e)];case 1:return[2,t.apply(void 0,[n.sent()])]}}))}))},e.prototype.nameQuery=function(e){if(e){var t=this.parseQuery(e),n=Object(d.c)(t,{OperationDefinition:function(t){E.a.log(t);var n=t.name||{kind:"Name",value:Y(e)};return $($({},t),{name:n})}});return Object(f.print)(n)}},e.prototype.refactorQuery=function(e,t){if(e&&t){var n=this.parseQuery(e),i=function(e){var t={};return Object.values(e.map).forEach((function(e){e.count>=2&&e.fields.length&&e.fields[0].forEach((function(n){e.fields.slice(1).every((function(e){return e.includes(n)}))&&(t[e.name]=t[e.name]||[],t[e.name].push(n))}))})),t}(function(e,t){var n=new N.a(t),i={name:"root",count:0,fields:[],children:{}},r={root:i};function o(e){var t=Object(_.A)(e),n=t.toString();return r[n]=r[n]||{name:n,count:0,type:t,fields:[],children:{}},r[n]}var a={enter:function(e){n.enter(e);var t=n.getType();if(e.type=t,t&&!Object(_.I)(Object(_.A)(t))){var r=o(t);if(r.count++,e.selectionSet&&e.selectionSet.selections){var a=e.selectionSet.selections.filter((function(e){return!e.selectionSet||!e.selectionSet.selections})).filter((function(e){return e.kind===F.a.FIELD})).filter((function(e){return e.name&&e.name.value})).map((function(e){return e.name&&e.name.value})).filter(Boolean);r.fields.push(a)}var s=n.getParentType();s?o(s).children[r.name]=r:i.children[r.name]=r}return e},leave:function(e){n.leave(e)}},s={OperationDefinition:a,Field:a};return Object(d.c)(e,Object(d.e)(n,s)),{map:r,tree:i}}(n,t)),r=function(e,t,n){var i={},r=[],o=new N.a(t);return{document:Object(d.c)(e,{enter:function(e){switch(o.enter(e),e.kind){case F.a.ARGUMENT:var t=o.getFieldDef();if(e.value.kind!==F.a.VARIABLE&&t&&t.args){var n=t.args.find((function(t){return t.name===e.name.value}));if(n){var a=Y(n.name),s={name:a,value:q(e,void 0),type:n.type.inspect()};return i[a]=s,r.push(s),V(V({},e),{value:{kind:F.a.VARIABLE,name:{kind:F.a.NAME,value:a}}})}}}},leave:function(e){switch(o.leave(e),e.kind){case F.a.OPERATION_DEFINITION:var t=V(V({},e),{variableDefinitions:(e.variableDefinitions||[]).concat(r.map((function(e){return{kind:F.a.VARIABLE_DEFINITION,variable:{kind:F.a.VARIABLE,name:{kind:F.a.NAME,value:e.name}},type:{kind:F.a.NAMED_TYPE,name:{kind:F.a.NAME,value:e.type}}}})))}),n=e.name||{kind:F.a.NAME,value:Y("refactored")};return t.name=n,r=[],t}}}),variables:Object.keys(i).reduce((function(e,t){return e[t]=i[t].value,e}),{})}}(function(e,t,n){return Object(d.c)(e,{Document:function(e){return V(V({},e),{definitions:e.definitions.concat(W(t,n))})}})}(function(e,t,n){var i=new N.a(n);return Object(d.c)(e,Object(d.e)(i,{Field:{enter:function(e){i.enter(e);var n=i.getType();if(n){var r=function(e){return Object(_.A)(e).toString()}(n),o=t[r];if(o&&e.selectionSet&&o.every((function(t){return!!e.selectionSet.selections.find((function(e){return e.name.value===t}))})))return V(V({},e),{selectionSet:V(V({},e.selectionSet),{selections:B(e.selectionSet.selections.filter((function(e){return!o.includes(e.name.value)})),[H(U(r))])})})}},leave:function(e){i.leave(e)}}}))}(n,i,t),i,t),t);return{query:Object(f.print)(r.document),variables:r.variables}}},e.prototype.getSDLSync=function(e){return this.isSchema(e)?Object(g.b)(e):""},e.prototype.getSDL=function(e){return G(this,void 0,void 0,(function(){return Q(this,(function(t){return this.isSchema(e)?[2,this.prettify(Object(g.b)(e))]:[2,""]}))}))},e.prototype.sdlToSchema=function(e){return Object(b.c)(e)},e.prototype.validateSchema=function(e){return Object(m.b)(e)},e.prototype.createStreamClient=function(e){return new EventSource(e)},e.prototype.closeStreamClient=function(e){e&&e.close&&e.close()},e.prototype._send=function(e){var t,n,o=e.variables,c=e.selectedOperation,u=e.files,l=e.withCredentials,p={query:e.query,variables:{},operationName:null},h=this.headers;if(c&&(p.operationName=c),o)try{p.variables=JSON.parse(o)}catch(g){return E.a.error(g),Object(i.a)(g)}if(this.isGETRequest())n=this.getParamsFromData(p);else if(u&&u.length){var d={};p.variables=p.variables||{},u.forEach((function(e,t){Object(P.i)(p.variables,e.name,null),d[t]=["variables."+e.name]}));var f=new FormData;f.append("operations",JSON.stringify(p)),f.append("map",JSON.stringify(d)),u.forEach((function(e,t){f.append(""+t,e.data||"")})),t=f}else t=JSON.stringify(p);if(!this.api_url)throw new Error("You need to have a URL for the request!");return this.http.request(this.method,this.api_url,$($({},!this.isGETRequest()&&{body:t}),{params:n,headers:h,observe:"response",withCredentials:l})).pipe(Object(a.a)((function(e){if(E.a.error(e),e.error instanceof ErrorEvent)E.a.error("An error occurred:",e.error.message);else{if(!(e.error instanceof ProgressEvent))return E.a.error(e.error),E.a.error("Backend returned code "+e.status+", body was: "+e.error),Object(r.a)(new s.j({body:e.error||e.message,headers:e.headers,status:e.status,statusText:e.statusText,url:e.url||void 0}));E.a.error("Progress event error",e.error)}return Object(i.a)(e)})))},e.\u0275fac=function(t){return new(t||e)(Z.dc(s.c),Z.dc(w.a))},e.\u0275prov=Z.Pb({token:e,factory:e.\u0275fac}),e}()},Jb7g:function(e,t,n){"use strict";var i=n("9Qh4"),r=n("s4AO"),o=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:i((function(t){return o[t]?o[t]:o[t]=e(String(t))})),keyFor:i((function(e){var t;for(t in r(e),o)if(o[t]===e)return t}))})}},JlUD:function(e,t){function n(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=n,e.exports.default=n},JvOi:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=Object.freeze({SOF:"",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"})},K9Ia:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return p}));var i=n("mrSG"),r=n("6blF"),o=n("FFOo"),a=n("pugT"),s=n("8g8A"),c=n("uMaO"),u=n("L/V9"),l=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return i.c(t,e),t}(o.a),p=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return i.c(t,e),t.prototype[u.a]=function(){return new l(this)},t.prototype.lift=function(e){var t=new h(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new s.a;if(!this.isStopped)for(var t=this.observers,n=t.length,i=t.slice(),r=0;r2&&void 0!==arguments[2]?arguments[2]:r,a=void 0,c=Array.isArray(e),u=[e],p=-1,h=[],d=void 0,f=void 0,g=void 0,b=[],m=[],v=e;do{var y=++p===u.length,w=y&&0!==h.length;if(y){if(f=0===m.length?void 0:b[b.length-1],d=g,g=m.pop(),w){if(c)d=d.slice();else{for(var O={},C=0,S=Object.keys(d);C=0?u(l):r(this.length)-u(c(l));t(0,o.getDiagnostics)(e,t.schema).map(e=>({message:e.message,severity:a[e.severity-1],type:s[e.source],from:r.default.Pos(e.range.start.line,e.range.start.character),to:r.default.Pos(e.range.end.line,e.range.end.character)})))},OO9G:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i,r=n("pv/G"),o=n("T95z"),a=n("dWS+"),s=n("/jXB"),c=n("Xizt"),u=n("axIb");function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){return"Cannot extend non-".concat(t,' type "').concat(e,'".')}function h(e){for(var t=e.getSchema(),n=Object.create(null),i=0,l=e.getDocument().definitions;ie.length)&&(t=e.length);for(var n=0,i=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[n++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var i=function(e,t){return function(e){e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},changeDefaults:function(t){e.exports.defaults=t}}}(t={exports:{}}),t.exports}(),r=/[&<>"']/,o=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"},u=function(e){return c[e]},l=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function p(e){return e.replace(l,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var h=/(^|[^\[])\^/g,d=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,g={},b=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,v=/^([^:]+:\/*[^/]*)[\s\S]*$/;function y(e,t,n){var i=e.length;if(0===i)return"";for(var r=0;r=0&&"\\"===n[r];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.length1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var n=this.rules.block.code.exec(e);if(n){var i=t[t.length-1];if(i&&"paragraph"===i.type)return{raw:n[0],text:n[0].trimRight()};var r=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:z(r,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],i=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var i=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:i}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:T(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var i,r=n.align.length;for(i=0;i ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){for(var n,i,r,o,a,s,c,u=t[0],l=t[2],p=l.length>1,h={type:"list",raw:u,ordered:p,start:p?+l:"",loose:!1,items:[]},d=t[0].match(this.rules.block.item),f=!1,g=d.length,b=0;b1?1===r.length:r.length>1||this.options.smartLists&&r!==l)&&(o=d.slice(b+1).join("\n"),h.raw=h.raw.substring(0,h.raw.length-o.length),b=g-1)),a=f||/\n\n(?!\s*$)/.test(n),b!==g-1&&(f="\n"===n.charAt(n.length-1),a||(a=f)),a&&(h.loose=!0),c=void 0,(s=/^\[[ xX]\] /.test(n))&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,"")),h.items.push({type:"list_item",raw:u,task:s,checked:c,loose:a,text:n});return h}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):_(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:T(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var i,r=n.align.length;for(i=0;i/i.test(i[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):_(i[0]):i[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,i=0,r=0;r-1){var i=(0===t[0].indexOf("!")?5:4)+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,i).trim(),t[3]=""}var r=t[2],o="";if(this.options.pedantic){var a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);a?(r=a[1],o=a[3]):o=""}else o=t[3]?t[3].slice(1,-1):"";return k(t,{href:(r=r.trim().replace(/^<([\s\S]*)>$/,"$1"))?r.replace(this.rules.inline._escapes,"$1"):r,title:o?o.replace(this.rules.inline._escapes,"$1"):o},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return k(n,i,n[0])}},t.strong=function(e){var t=this.rules.inline.strong.exec(e);if(t)return{type:"strong",raw:t[0],text:t[4]||t[3]||t[2]||t[1]}},t.em=function(e){var t=this.rules.inline.em.exec(e);if(t)return{type:"em",raw:t[0],text:t[6]||t[5]||t[4]||t[3]||t[2]||t[1]}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=n.startsWith(" ")&&n.endsWith(" ");return i&&r&&(n=n.substring(1,n.length-1)),n=_(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}},t.autolink=function(e,t){var n,i,r=this.rules.inline.autolink.exec(e);if(r)return i="@"===r[2]?"mailto:"+(n=_(this.options.mangle?t(r[1]):r[1])):n=_(r[1]),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var i,r;if("@"===n[2])r="mailto:"+(i=_(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);i=_(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},t.inlineText=function(e,t,n){var i,r=this.rules.inline.text.exec(e);if(r)return i=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):_(r[0]):r[0]:_(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:i}},e}(),x={exec:function(){}},E=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,i){return i=(i=i.source||i).replace(h,"$1"),e=e.replace(t,i),n},getRegex:function(){return new RegExp(e,t)}};return n},N=C,j={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:x,table:x,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};j.def=E(j.def).replace("label",j._label).replace("title",j._title).getRegex(),j.bullet=/(?:[*+-]|\d{1,9}\.)/,j.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,j.item=E(j.item,"gm").replace(/bull/g,j.bullet).getRegex(),j.list=E(j.list).replace(/bull/g,j.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+j.def.source+")").getRegex(),j._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",j._comment=//,j.html=E(j.html,"i").replace("comment",j._comment).replace("tag",j._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),j.paragraph=E(j._paragraph).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.blockquote=E(j.blockquote).replace("paragraph",j.paragraph).getRegex(),j.normal=N({},j),j.gfm=N({},j.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),j.gfm.nptable=E(j.gfm.nptable).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.gfm.table=E(j.gfm.table).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.pedantic=N({},j.normal,{html:E("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",j._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:x,paragraph:E(j.normal._paragraph).replace("hr",j.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",j.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var I={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:x,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^_([^\s_<][\s\S]*?[^\s_])_(?!_|[^\s,punctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\s,punctuation])|^\*([^\s*<\[])\*(?!\*)|^\*([^\s<"][\s\S]*?[^\s\[\*])\*(?![\]`punctuation])|^\*([^\s*"<\[][\s\S]*[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:x,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~"};I.em=E(I.em).replace(/punctuation/g,I._punctuation).getRegex(),I._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,I._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,I._email=/[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])?)+(?![-_])/,I.autolink=E(I.autolink).replace("scheme",I._scheme).replace("email",I._email).getRegex(),I._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,I.tag=E(I.tag).replace("comment",j._comment).replace("attribute",I._attribute).getRegex(),I._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,I._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,I._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,I.link=E(I.link).replace("label",I._label).replace("href",I._href).replace("title",I._title).getRegex(),I.reflink=E(I.reflink).replace("label",I._label).getRegex(),I.normal=N({},I),I.pedantic=N({},I.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:E(/^!?\[(label)\]\((.*?)\)/).replace("label",I._label).getRegex(),reflink:E(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",I._label).getRegex()}),I.gfm=N({},I.normal,{escape:E(I.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var V=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||M,this.options.tokenizer=this.options.tokenizer||new D,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:L.normal,inline:P.normal};this.options.pedantic?(t.block=L.pedantic,t.inline=P.pedantic):this.options.gfm&&(t.block=L.gfm,t.inline=this.options.breaks?P.breaks:P.gfm),this.tokenizer.rules=t}t.lex=function(e,n){return new t(n).lex(e)};var n,i,r=t.prototype;return r.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},r.blockTokens=function(e,t,n){var i,r,o,a;for(void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");e;)if(i=this.tokenizer.space(e))e=e.substring(i.raw.length),i.type&&t.push(i);else if(i=this.tokenizer.code(e,t))e=e.substring(i.raw.length),i.type?t.push(i):((a=t[t.length-1]).raw+="\n"+i.raw,a.text+="\n"+i.text);else if(i=this.tokenizer.fences(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.heading(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.nptable(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.hr(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.blockquote(e))e=e.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),t.push(i);else if(i=this.tokenizer.list(e)){for(e=e.substring(i.raw.length),o=i.items.length,r=0;r'+(n?e:U(e,!0))+"\n":"
"+(n?e:U(e,!0))+"
\n"},t.blockquote=function(e){return"
\n"+e+"
\n"},t.html=function(e){return e},t.heading=function(e,t,n,i){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
\n":"
\n"},t.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(null===(e=Y(this.options.sanitize,this.options.baseUrl,e)))return n;var i='"+n+""},t.image=function(e,t,n){if(null===(e=Y(this.options.sanitize,this.options.baseUrl,e)))return n;var i=''+n+'":">")},t.text=function(e){return e},e}(),W=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),q=function(){function e(){this.seen={}}return e.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},e}(),Z=i.defaults,$=O,G=function(){function e(e){this.options=e||Z,this.options.renderer=this.options.renderer||new H,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new W,this.slugger=new q}e.parse=function(t,n){return new e(n).parse(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,i,r,o,a,s,c,u,l,p,h,d,f,g,b,m,v,y,w="",O=e.length;for(n=0;n0&&"text"===b.tokens[0].type?(b.tokens[0].text=y+" "+b.tokens[0].text,b.tokens[0].tokens&&b.tokens[0].tokens.length>0&&"text"===b.tokens[0].tokens[0].type&&(b.tokens[0].tokens[0].text=y+" "+b.tokens[0].tokens[0].text)):b.tokens.unshift({type:"text",text:y}):g+=y),g+=this.parse(b.tokens,f),l+=this.renderer.listitem(g,v,m);w+=this.renderer.list(l,h,d);continue;case"html":w+=this.renderer.html(p.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(p.tokens));continue;case"text":for(l=p.tokens?this.parseInline(p.tokens):p.text;n+1An error occurred:

    "+X(c.message+"",!0)+"
    ";throw c}}return te.options=te.setOptions=function(e){return Q(te.defaults,e),J(te.defaults),te},te.getDefaults=K,te.defaults=ee,te.use=function(e){var t=Q({},e);if(e.renderer&&function(){var n=te.defaults.renderer||new H,i=function(t){var i=n[t];n[t]=function(){for(var r=arguments.length,o=new Array(r),a=0;a{a.code===t.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&l(e),r.default.off(document,"keyup",n),r.default.off(document,"click",i),e.off("mousedown",o))},i=t=>{const n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)},o=(t,n)=>{e.state.jump.destination&&(n.codemirrorIgnore=!0)};r.default.on(document,"keyup",n),r.default.on(document,"click",i),e.on("mousedown",o)}r.default.defineOption("jump",!1,(e,t,n)=>{if(n&&n!==r.default.Init){const t=e.state.jump.onMouseOver;r.default.off(e.getWrapperElement(),"mouseover",t);const n=e.state.jump.onMouseOut;r.default.off(e.getWrapperElement(),"mouseout",n),r.default.off(document,"keydown",e.state.jump.onKeyDown),delete e.state.jump}if(t){const n=e.state.jump={options:t,onMouseOver:o.bind(null,e),onMouseOut:a.bind(null,e),onKeyDown:s.bind(null,e)};r.default.on(e.getWrapperElement(),"mouseover",n.onMouseOver),r.default.on(e.getWrapperElement(),"mouseout",n.onMouseOut),r.default.on(document,"keydown",n.onKeyDown)}});const c="undefined"!=typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf("Mac");function u(e){if(e.state.jump.marker)return;const t=e.coordsChar(e.state.jump.cursor),n=e.getTokenAt(t,!0),i=e.state.jump.options,r=i.getDestination||e.getHelper(t,"jump");if(r){const o=r(n,i,e);if(o){const i=e.markText({line:t.line,ch:n.start},{line:t.line,ch:n.end},{className:"CodeMirror-jump-token"});e.state.jump.marker=i,e.state.jump.destination=o}}}function l(e){const t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}},P6uZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n("3fWJ"),r=n("VnD/"),o=n("t9fZ"),a=n("HJBe"),s=n("tNVB"),c=n("mChF");function u(e,t){var n=arguments.length>=2;return function(u){return u.pipe(e?Object(r.a)((function(t,n){return e(t,n,u)})):c.a,Object(o.a)(1),n?Object(a.a)(t):Object(s.a)((function(){return new i.a})))}}},PDj5:function(e,t,n){"use strict";function i(e){var t=!(e&&!1===e.descriptions);return"\n query IntrospectionQuery {\n __schema {\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ".concat(t?"description":"","\n locations\n args {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ").concat(t?"description":"","\n fields(includeDeprecated: true) {\n name\n ").concat(t?"description":"","\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ").concat(t?"description":"","\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ").concat(t?"description":"","\n type { ...TypeRef }\n defaultValue\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n ")}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r}));var r=i()},PJhV:function(e,t,n){!function(e){var t=e.Pos;function n(e,t){for(var n=0,i=e.length;na.ch&&(s.end=a.ch,s.string=s.string.slice(0,a.ch-s.start)):s={start:a.ch,end:a.ch,string:"",state:s.state,type:"."==s.string?"property":null};for(var u=s;"property"==u.type;){if("."!=(u=r(n,t(a.line,u.start))).string)return;if(u=r(n,t(a.line,u.start)),!p)var p=[];p.push(u)}return{list:l(s,p,i,o),from:t(a.line,s.start),to:t(a.line,s.end)}}}}function r(e,t){var n=e.getTokenAt(t);return t.ch==n.start+1&&"."==n.string.charAt(0)?(n.end=n.start,n.string=".",n.type="property"):/^\.[\w$_]*$/.test(n.string)&&(n.type="property",n.start++,n.string=n.string.replace(/\./,"")),n}e.registerHelper("hint","javascript",(function(e,t){return i(e,c,(function(e,t){return e.getTokenAt(t)}),t)})),e.registerHelper("hint","coffeescript",(function(e,t){return i(e,u,r,t)}));var o="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),a="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),s="prototype apply call bind".split(" "),c="break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),u="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ");function l(e,t,i,r){var c=[],u=e.string,l=r&&r.globalScope||window;function p(e){0!=e.lastIndexOf(u,0)||function(e,t){if(!Array.prototype.indexOf){for(var n=e.length;n--;)if(e[n]===t)return!0;return!1}return-1!=e.indexOf(t)}(c,e)||c.push(e)}function h(e){"string"==typeof e?n(o,p):e instanceof Array?n(a,p):e instanceof Function&&n(s,p),function(e,t){if(Object.getOwnPropertyNames&&Object.getPrototypeOf)for(var n=e;n;n=Object.getPrototypeOf(n))Object.getOwnPropertyNames(n).forEach(t);else for(var i in e)t(i)}(e,p)}if(t&&t.length){var d,f=t.pop();for(f.type&&0===f.type.indexOf("variable")?(r&&r.additionalContext&&(d=r.additionalContext[f.string]),r&&!1===r.useGlobalScope||(d=d||l[f.string])):"string"==f.type?d="":"atom"==f.type?d=1:"function"==f.type&&(null==l.jQuery||"$"!=f.string&&"jQuery"!=f.string||"function"!=typeof l.jQuery?null!=l._&&"_"==f.string&&"function"==typeof l._&&(d=l._()):d=l.jQuery());null!=d&&t.length;)d=d[t.pop().string];null!=d&&h(d)}else{for(var g=e.state.localVars;g;g=g.next)p(g.name);for(var b=e.state.context;b;b=b.prev)for(g=b.vars;g;g=g.next)p(g.name);for(g=e.state.globalVars;g;g=g.next)p(g.name);if(r&&null!=r.additionalContext)for(var m in r.additionalContext)p(m);r&&!1===r.useGlobalScope||h(l),n(i,p)}return c}}(n("VrN/"))},PRU4:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));const i=Symbol("Comlink.proxy"),r=Symbol("Comlink.endpoint"),o=Symbol("Comlink.releaseProxy"),a=Symbol("Comlink.thrown"),s=e=>"object"==typeof e&&null!==e||"function"==typeof e,c=new Map([["proxy",{canHandle:e=>s(e)&&e[i],serialize(e){const{port1:t,port2:n}=new MessageChannel;return function e(t,n=self){n.addEventListener("message",(function r(o){if(!o||!o.data)return;const{id:s,type:c,path:l}=Object.assign({path:[]},o.data),p=(o.data.argumentList||[]).map(g);let h;try{const n=l.slice(0,-1).reduce((e,t)=>e[t],t),r=l.reduce((e,t)=>e[t],t);switch(c){case 0:h=r;break;case 1:n[l.slice(-1)[0]]=g(o.data.value),h=!0;break;case 2:h=r.apply(n,p);break;case 3:h=function(e){return Object.assign(e,{[i]:!0})}(new r(...p));break;case 4:{const{port1:n,port2:i}=new MessageChannel;e(t,i),h=function(e,t){return d.set(e,t),e}(n,[n])}break;case 5:h=void 0}}catch(b){h={value:b,[a]:0}}Promise.resolve(h).catch(e=>({value:e,[a]:0})).then(e=>{const[t,i]=f(e);n.postMessage(Object.assign(Object.assign({},t),{id:s}),i),5===c&&(n.removeEventListener("message",r),u(n))})})),n.start&&n.start()}(e,t),[n,[n]]},deserialize:e=>(e.start(),l(e))}],["throw",{canHandle:e=>s(e)&&a in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function u(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function l(e,t){return function e(t,n=[],i=function(){}){let a=!1;const s=new Proxy(i,{get(i,r){if(p(a),r===o)return()=>b(t,{type:5,path:n.map(e=>e.toString())}).then(()=>{u(t),a=!0});if("then"===r){if(0===n.length)return{then:()=>s};const e=b(t,{type:0,path:n.map(e=>e.toString())}).then(g);return e.then.bind(e)}return e(t,[...n,r])},set(e,i,r){p(a);const[o,s]=f(r);return b(t,{type:1,path:[...n,i].map(e=>e.toString()),value:o},s).then(g)},apply(i,o,s){p(a);const c=n[n.length-1];if(c===r)return b(t,{type:4}).then(g);if("bind"===c)return e(t,n.slice(0,-1));const[u,l]=h(s);return b(t,{type:2,path:n.map(e=>e.toString()),argumentList:u},l).then(g)},construct(e,i){p(a);const[r,o]=h(i);return b(t,{type:3,path:n.map(e=>e.toString()),argumentList:r},o).then(g)}});return s}(e,[],t)}function p(e){if(e)throw new Error("Proxy has been released and is not useable")}function h(e){const t=e.map(f);return[t.map(e=>e[0]),(n=t.map(e=>e[1]),Array.prototype.concat.apply([],n))];var n}const d=new WeakMap;function f(e){for(const[t,n]of c)if(n.canHandle(e)){const[i,r]=n.serialize(e);return[{type:3,name:t,value:i},r]}return[{type:0,value:e},d.get(e)||[]]}function g(e){switch(e.type){case 3:return c.get(e.name).deserialize(e.value);case 0:return e.value}}function b(e,t,n){return new Promise(i=>{const r=new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===r&&(e.removeEventListener("message",t),i(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:r},t),n)})}},"PU/P":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"i",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"k",(function(){return c})),n.d(t,"b",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return h})),n.d(t,"f",(function(){return d})),n.d(t,"l",(function(){return f}));var i="ADD_HEADER",r="REMOVE_HEADER",o="EDIT_HEADER_KEY",a="EDIT_HEADER_VALUE",s="EDIT_HEADER_ENABLED",c="SET_HEADERS",u=function(){return function(e){this.windowId=e,this.type=i}}(),l=function(){return function(e,t){this.payload=e,this.windowId=t,this.type=r}}(),p=function(){return function(e,t){this.payload=e,this.windowId=t,this.type=o}}(),h=function(){return function(e,t){this.payload=e,this.windowId=t,this.type=a}}(),d=function(){return function(e,t){this.payload=e,this.windowId=t,this.type=s}}(),f=function(){return function(e,t){this.payload=e,this.windowId=t,this.type=c}}()},PXbX:function(e,t,n){"use strict";var i=Array.prototype.flatMap;t.a=i?function(e,t){return i.call(e,t)}:function(e,t){for(var n=[],i=0;ie?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return C(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return C(e.value)||T.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(C(t.value))return null;var n=t.value?t.value.length:0;return ne?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),n=new RegExp(i)):(i=t.toString(),n=t),function(e){if(C(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:i,actualValue:t}}}):e.nullValidator;var n,i},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(k);return 0==t.length?null:function(e){return x(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(k);return 0==t.length?null:function(e){var n=function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(D);return Object(a.a)(n).pipe(Object(c.a)(x))}},e}();function k(e){return null!=e}function D(e){var t=Object(r.ub)(e)?Object(s.a)(e):e;if(!Object(r.tb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function x(e){var t={};return e.forEach((function(e){t=null!=e?Object(i.a)(Object(i.a)({},t),e):t})),0===Object.keys(t).length?null:t}function E(e){return e.validate?function(t){return e.validate(t)}:e}function N(e){return e.validate?function(t){return e.validate(t)}:e}var j={provide:u,useExisting:Object(r.V)((function(){return I})),multi:!0},I=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.E),r.Tb(r.l))},e.\u0275dir=r.Ob({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r.hc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r.Cb([j])]}),e}(),A={provide:u,useExisting:Object(r.V)((function(){return L})),multi:!0},M=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),L=function(){function e(e,t,n,i){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(v),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.E),r.Tb(r.l),r.Tb(M),r.Tb(r.r))},e.\u0275dir=r.Ob({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&r.hc("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r.Cb([A])]}),e}(),P={provide:u,useExisting:Object(r.V)((function(){return F})),multi:!0},F=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.E),r.Tb(r.l))},e.\u0275dir=r.Ob({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&r.hc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r.Cb([P])]}),e}(),R='\n
    \n \n
    \n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',V='\n
    \n
    \n \n
    \n
    \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',B='\n
    \n
    \n \n
    \n
    ',Y=function(){function e(){}return e.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+R)},e.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+V+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+B)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+R)},e.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+V)},e.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},e.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},e.ngModelWarning=function(e){console.warn("\n It looks like you're using ngModel on the same form field as "+e+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===e?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},e}(),U={provide:u,useExisting:Object(r.V)((function(){return W})),multi:!0};function H(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var W=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=r.vb}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=H(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=Object(i.h)(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var a=o.value;if(this._compareWith(this._optionMap.get(a),e))return a}}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.E),r.Tb(r.l))},e.\u0275dir=r.Ob({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r.hc("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r.Cb([U])]}),e}(),q=function(){function e(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(e.prototype,"ngValue",{set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(H(this.id,e)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},e.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.l),r.Tb(r.E),r.Tb(W,9))},e.\u0275dir=r.Ob({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}(),Z={provide:u,useExisting:Object(r.V)((function(){return G})),multi:!0};function $(e,t){return null==e?""+t:("string"==typeof t&&(t="'"+t+"'"),t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}var G=function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=r.vb}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var i=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(i.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,o=0;o1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function ie(e){return null!=e?_.compose(e.map(E)):null}function re(e){return null!=e?_.composeAsync(e.map(N)):null}function oe(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(r.vb)(t,n.currentValue)}var ae=[p,F,I,W,G,L];function se(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function ce(e,t){if(!t)return null;Array.isArray(t)||ne(e,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return t.forEach((function(t){var o;t.constructor===f?n=t:(o=t,ae.some((function(e){return o.constructor===e}))?(i&&ne(e,"More than one built-in value accessor matches form control with"),i=t):(r&&ne(e,"More than one custom value accessor matches form control with"),r=t))})),r||i||n||(ne(e,"No valid value accessor for form control with"),null)}function ue(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function le(e,t,n,i){Object(r.X)()&&"never"!==i&&((null!==i&&"once"!==i||t._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(Y.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function pe(e){var t=de(e)?e.validators:e;return Array.isArray(t)?ie(t):t||null}function he(e,t){var n=de(t)?t.asyncValidators:e;return Array.isArray(n)?re(n):n||null}function de(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var fe=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=pe(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=he(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={});var t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object(i.a)(Object(i.a)({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(i.a)(Object(i.a)({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))},e.prototype.enable=function(e){void 0===e&&(e={});var t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object(i.a)(Object(i.a)({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object(i.a)(Object(i.a)({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=D(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach((function(e){i=i instanceof be?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof me&&i.at(e)||null})),i}(this,e)},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new r.n,this.statusChanges=new r.n},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls((function(t){return t.status===e}))},e.prototype._anyControlsDirty=function(){return this._anyControls((function(e){return e.dirty}))},e.prototype._anyControlsTouched=function(){return this._anyControls((function(e){return e.touched}))},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){de(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e.prototype._parentMarkedDirty=function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},e}(),ge=function(e){function t(t,n,i){void 0===t&&(t=null);var r=e.call(this,pe(n),he(i,n))||this;return r._onChange=[],r._applyFormState(t),r._setUpdateStrategy(n),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return Object(i.c)(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach((function(e){return e(n.value,!1!==t.emitViewToModelChange)})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(fe),be=function(e){function t(t,n,i){var r=e.call(this,pe(n),he(i,n))||this;return r.controls=t,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(i.c)(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach((function(i){n._throwIfControlMissing(i),n.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach((function(i){n.controls[i]&&n.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof ge?t.value:t.getRawValue(),e}))},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild((function(i,r){n=n||t.contains(r)&&e(i)})),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},(function(t,n,i){return(n.enabled||e.disabled)&&(t[i]=n.value),t}))},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild((function(e,i){n=t(n,e,i)})),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(i.h)(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){e={error:o}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")}))},t}(fe),me=function(e){function t(t,n,i){var r=e.call(this,pe(n),he(i,n))||this;return r.controls=t,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return Object(i.c)(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach((function(e,i){n._throwIfControlMissing(i),n.at(i).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach((function(e,i){n.at(i)&&n.at(i).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)},t.prototype.getRawValue=function(){return this.controls.map((function(e){return e instanceof ge?e.value:e.getRawValue()}))},t.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},t.prototype._syncPendingControls=function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach((function(t,n){e(t,n)}))},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))},t.prototype._anyControls=function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))},t.prototype._setUpControls=function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))},t.prototype._checkAllValuesPresent=function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")}))},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=Object(i.h)(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){e={error:o}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(fe),ve={provide:b,useExisting:Object(r.V)((function(){return we}))},ye=function(){return Promise.resolve(null)}(),we=function(e){function t(t,n){var i=e.call(this)||this;return i.submitted=!1,i._directives=[],i.ngSubmit=new r.n,i.form=new be({},ie(t),re(n)),i}return Object(i.c)(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;ye.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),K(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;ye.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),ue(t._directives,e)}))},t.prototype.addFormGroup=function(e){var t=this;ye.then((function(){var n=t._findContainer(e.path),i=new be({});ee(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})}))},t.prototype.removeFormGroup=function(e){var t=this;ye.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;ye.then((function(){n.form.get(e.path).setValue(t)}))},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,se(this.form,this._directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t.\u0275fac=function(e){return new(e||t)(r.Tb(S,10),r.Tb(z,10))},t.\u0275dir=r.Ob({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r.hc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.Cb([ve]),r.Ab]}),t}(b),Oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(i.c)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return X(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return re(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=r.Ob({type:t,features:[r.Ab]});var n=r.bc(t);return t}(b),Ce=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+R+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
    \n \n \n
    \n ')},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+V+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+B)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+V+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+B)},e}(),Se={provide:b,useExisting:Object(r.V)((function(){return ze}))},ze=function(e){function t(t,n,i){var r=e.call(this)||this;return r._parent=t,r._validators=n,r._asyncValidators=i,r}var n;return Object(i.c)(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof we||Ce.modelGroupParentException()},t.\u0275fac=function(e){return new(e||t)(r.Tb(b,5),r.Tb(S,10),r.Tb(z,10))},t.\u0275dir=r.Ob({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r.Cb([Se]),r.Ab]}),t}(Oe),Te={provide:v,useExisting:Object(r.V)((function(){return ke}))},_e=function(){return Promise.resolve(null)}(),ke=function(e){function t(t,n,i,o){var a=e.call(this)||this;return a.control=new ge,a._registered=!1,a.update=new r.n,a._parent=t,a._rawValidators=n||[],a._rawAsyncValidators=i||[],a.valueAccessor=ce(a,o),a}return Object(i.c)(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),oe(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?X(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return re(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){K(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof ze)&&this._parent instanceof Oe?Ce.formGroupNameException():this._parent instanceof ze||this._parent instanceof we||Ce.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ce.missingNameException()},t.prototype._updateValue=function(e){var t=this;_e.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;_e.then((function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()}))},t.\u0275fac=function(e){return new(e||t)(r.Tb(b,9),r.Tb(S,10),r.Tb(z,10),r.Tb(u,10))},t.\u0275dir=r.Ob({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:[r.Cb([Te]),r.Ab,r.Bb]}),t}(v),De=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Ob({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),xe=new r.q("NgModelWithFormControlWarning"),Ee={provide:v,useExisting:Object(r.V)((function(){return Ne}))},Ne=function(e){function t(t,n,i,o){var a=e.call(this)||this;return a._ngModelWarningConfig=o,a.update=new r.n,a._ngModelWarningSent=!1,a._rawValidators=t||[],a._rawAsyncValidators=n||[],a.valueAccessor=ce(a,i),a}var n;return Object(i.c)(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){Y.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&(K(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),oe(e,this.viewModel)&&(le("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return re(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._isControlChanged=function(e){return e.hasOwnProperty("form")},t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(r.Tb(S,10),r.Tb(z,10),r.Tb(u,10),r.Tb(xe,8))},t.\u0275dir=r.Ob({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r.Cb([Ee]),r.Ab,r.Bb]}),t}(v),je={provide:b,useExisting:Object(r.V)((function(){return Ie}))},Ie=function(e){function t(t,n){var i=e.call(this)||this;return i._validators=t,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new r.n,i}return Object(i.c)(t,e),t.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this.form.get(e.path);return K(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){ue(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);ee(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(e){},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.addFormArray=function(e){var t=this.form.get(e.path);ee(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(e){},t.prototype.getFormArray=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){this.form.get(e.path).setValue(t)},t.prototype.onSubmit=function(e){return this.submitted=!0,se(this.form,this.directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._updateDomValue=function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return te(t)})),t.valueAccessor.registerOnTouched((function(){return te(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&K(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},t.prototype._updateValidators=function(){var e=ie(this._validators);this.form.validator=_.compose([this.form.validator,e]);var t=re(this._asyncValidators);this.form.asyncValidator=_.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||Y.missingFormException()},t.\u0275fac=function(e){return new(e||t)(r.Tb(S,10),r.Tb(z,10))},t.\u0275dir=r.Ob({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&r.hc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.Cb([je]),r.Ab,r.Bb]}),t}(b),Ae={provide:b,useExisting:Object(r.V)((function(){return Me}))},Me=function(e){function t(t,n,i){var r=e.call(this)||this;return r._parent=t,r._validators=n,r._asyncValidators=i,r}return Object(i.c)(t,e),t.prototype._checkParentType=function(){Fe(this._parent)&&Y.groupParentException()},t.\u0275fac=function(e){return new(e||t)(r.Tb(b,13),r.Tb(S,10),r.Tb(z,10))},t.\u0275dir=r.Ob({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r.Cb([Ae]),r.Ab]}),t}(Oe),Le={provide:b,useExisting:Object(r.V)((function(){return Pe}))},Pe=function(e){function t(t,n,i){var r=e.call(this)||this;return r._parent=t,r._validators=n,r._asyncValidators=i,r}return Object(i.c)(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return X(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return re(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){Fe(this._parent)&&Y.arrayParentException()},t.\u0275fac=function(e){return new(e||t)(r.Tb(b,13),r.Tb(S,10),r.Tb(z,10))},t.\u0275dir=r.Ob({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r.Cb([Le]),r.Ab]}),t}(b);function Fe(e){return!(e instanceof Me||e instanceof Ie||e instanceof Pe)}var Re={provide:v,useExisting:Object(r.V)((function(){return Ve}))},Ve=function(e){function t(t,n,i,o,a){var s=e.call(this)||this;return s._ngModelWarningConfig=a,s._added=!1,s.update=new r.n,s._ngModelWarningSent=!1,s._parent=t,s._rawValidators=n||[],s._rawAsyncValidators=i||[],s.valueAccessor=ce(s,o),s}var n;return Object(i.c)(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){Y.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._added||this._setUpControl(),oe(e,this.viewModel)&&(le("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Object.defineProperty(t.prototype,"path",{get:function(){return X(null==this.name?this.name:this.name.toString(),this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ie(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return re(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof Me)&&this._parent instanceof Oe?Y.ngModelGroupException():this._parent instanceof Me||this._parent instanceof Ie||this._parent instanceof Pe||Y.controlParentException()},t.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(r.Tb(b,13),r.Tb(S,10),r.Tb(z,10),r.Tb(u,10),r.Tb(xe,8))},t.\u0275dir=r.Ob({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r.Cb([Re]),r.Ab,r.Bb]}),t}(v),Be={provide:S,useExisting:Object(r.V)((function(){return Ue})),multi:!0},Ye={provide:S,useExisting:Object(r.V)((function(){return He})),multi:!0},Ue=function(){function e(){}return Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this.required?_.required(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Ob({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&r.Eb("required",t.required?"":null)},inputs:{required:"required"},features:[r.Cb([Be])]}),e}(),He=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(i.c)(t,e),t.prototype.validate=function(e){return this.required?_.requiredTrue(e):null},t.\u0275fac=function(e){return n(e||t)},t.\u0275dir=r.Ob({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Eb("required",t.required?"":null)},features:[r.Cb([Ye]),r.Ab]});var n=r.bc(t);return t}(Ue),We={provide:S,useExisting:Object(r.V)((function(){return qe})),multi:!0},qe=function(){function e(){}return Object.defineProperty(e.prototype,"email",{set:function(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),e.prototype.validate=function(e){return this._enabled?_.email(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Ob({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r.Cb([We])]}),e}(),Ze={provide:S,useExisting:Object(r.V)((function(){return $e})),multi:!0},$e=function(){function e(){}return e.prototype.ngOnChanges=function(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null==this.minlength?null:this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=_.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Ob({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Eb("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[r.Cb([Ze]),r.Bb]}),e}(),Ge={provide:S,useExisting:Object(r.V)((function(){return Qe})),multi:!0},Qe=function(){function e(){}return e.prototype.ngOnChanges=function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return null!=this.maxlength?this._validator(e):null},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=_.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Ob({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Eb("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r.Cb([Ge]),r.Bb]}),e}(),Xe={provide:S,useExisting:Object(r.V)((function(){return Ke})),multi:!0},Ke=function(){function e(){}return e.prototype.ngOnChanges=function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())},e.prototype.validate=function(e){return this._validator(e)},e.prototype.registerOnValidatorChange=function(e){this._onChange=e},e.prototype._createValidator=function(){this._validator=_.pattern(this.pattern)},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Ob({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Eb("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[r.Cb([Xe]),r.Bb]}),e}(),Je=function(){function e(){}return e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)}}),e}(),et=function(){function e(){}return e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)},providers:[M],imports:[Je]}),e}()},QaEO:function(e,t,n){"use strict";var i=n("nA++");e.exports=function(e){try{return e&&i(e.toString)?e.toString():String(e)}catch(t){throw new TypeError("Passed argument cannot be stringifed")}}},Qcyp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e}},QvHX:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var i=n("6blF"),r=n("P6uZ"),o=n("xMyE"),a=n("67Y/"),s=n("xk4V"),c=n("fH2+"),u=n("sia0"),l=n("PU/P"),p=n("GFHA"),h=n("6a34"),d=n("Rp7s"),f=n("RXUe"),g=n("fBw0"),b=n("ytA7"),m=n("xKU2"),v=n("YMfE"),y=n("FGPJ"),w=n("xyIE"),O=n("JXuU"),C=n("TYT/"),S=n("6onV"),z=function(){return(z=Object.assign||function(e){for(var t,n=1,i=arguments.length;n1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null},t}(a.a),p=function(e){function t(t,n){var i=e.call(this)||this;return i.source=t,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return i.c(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.a).add(this.source.subscribe(new d(this.getSubject(),this))),e.closed&&(this._connection=null,e=s.a.EMPTY)),e},t.prototype.refCount=function(){return c()(this)},t}(o.a),h=function(){var e=p.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),d=function(e){function t(t,n){var i=e.call(this,t)||this;return i.connectable=n,i}return i.c(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(r.b);function f(){return new r.a}function g(){return function(e){return c()((t=f,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,h);return i.source=e,i.subjectFactory=n,i})(e));var t}}},S5bw:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("mrSG"),r=n("K9Ia"),o=n("zo3G"),a=n("pugT"),s=n("mZXl"),c=n("8g8A"),u=n("uMaO"),l=function(e){function t(t,n,i){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=e.call(this)||this;return r.scheduler=i,r._events=[],r._infiniteTimeWindow=!1,r._bufferSize=t<1?1:t,r._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(r._infiniteTimeWindow=!0,r.next=r.nextInfiniteTimeWindow):r.next=r.nextTimeWindow,r}return i.c(t,e),t.prototype.nextInfiniteTimeWindow=function(t){var n=this._events;n.push(t),n.length>this._bufferSize&&n.shift(),e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this._events.push(new p(this._getNow(),t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=i.length;if(this.closed)throw new c.a;if(this.isStopped||this.hasError?t=a.a.EMPTY:(this.observers.push(e),t=new u.a(this,e)),r&&e.add(e=new s.a(e,r)),n)for(var l=0;lt&&(o=Math.max(o,r-t)),o>0&&i.splice(0,o),i},t}(r.a),p=function(){return function(e,t){this.time=e,this.value=t}}()},SJVZ:function(e,t,n){!function(e){"use strict";function t(t,n,r,o){if(r&&r.call){var a=r;r=null}else a=i(t,r,"rangeFinder");"number"==typeof n&&(n=e.Pos(n,0));var s=i(t,r,"minFoldSize");function c(e){var i=a(t,n);if(!i||i.to.line-i.from.linet.firstLine();)n=e.Pos(n.line-1,0),u=c(!1);if(u&&!u.cleared&&"unfold"!==o){var l=function(e,t,n){var r=i(e,t,"widget");if("function"==typeof r&&(r=r(n.from,n.to)),"string"==typeof r){var o=document.createTextNode(r);(r=document.createElement("span")).appendChild(o),r.className="CodeMirror-foldmarker"}else r&&(r=r.cloneNode(!0));return r}(t,r,u);e.on(l,"mousedown",(function(t){p.clear(),e.e_preventDefault(t)}));var p=t.markText(u.from,u.to,{replacedWith:l,clearOnEnter:i(t,r,"clearOnEnter"),__isFold:!0});p.on("clear",(function(n,i){e.signal(t,"unfold",t,n,i)})),e.signal(t,"fold",t,u.from,u.to)}}e.newFoldFunction=function(e,n){return function(i,r){t(i,r,{rangeFinder:e,widget:n})}},e.defineExtension("foldCode",(function(e,n,i){t(this,e,n,i)})),e.defineExtension("isFolded",(function(e){for(var t=this.findMarksAt(e),n=0;n'+(n?e:o(e,!0))+"\n":"
    "+(n?e:o(e,!0))+"
    "}blockquote(e){return"
    \n"+e+"
    \n"}html(e){return e}heading(e,t,n,i){return this.options.headerIds?"'+e+"\n":""+e+"\n"}hr(){return this.options.xhtml?"
    \n":"
    \n"}list(e,t,n){const i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"}listitem(e){return"
  • "+e+"
  • \n"}checkbox(e){return" "}paragraph(e){return"

    "+e+"

    \n"}table(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"}tablerow(e){return"\n"+e+"\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"}strong(e){return""+e+""}em(e){return""+e+""}codespan(e){return""+e+""}br(){return this.options.xhtml?"
    ":"
    "}del(e){return""+e+""}link(e,t,n){if(null===(e=r(this.options.sanitize,this.options.baseUrl,e)))return n;let i='",i}image(e,t,n){if(null===(e=r(this.options.sanitize,this.options.baseUrl,e)))return n;let i=''+n+'":">",i}text(e){return e}}},Sh7c:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return l}));var i=n("7CWi"),r=n("TYT/"),o=n("ED2X"),a=function(){function e(e,t,n){var r=this;this.triggerElement=e,this.ngZone=t,this.insertExtraNode=n,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.platform=new i.a,this.onClick=function(e){!r.triggerElement||!r.triggerElement.getAttribute||r.triggerElement.getAttribute("disabled")||"INPUT"===e.target.tagName||r.triggerElement.className.indexOf("disabled")>=0||r.fadeOutWave()},this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}return Object.defineProperty(e.prototype,"waveAttributeName",{get:function(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"},enumerable:!0,configurable:!0}),e.prototype.bindTriggerEvent=function(){var e=this;this.platform.isBrowser&&this.ngZone.runOutsideAngular((function(){e.removeTriggerEvent(),e.triggerElement&&e.triggerElement.addEventListener("click",e.clickHandler,!0)}))},e.prototype.removeTriggerEvent=function(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)},e.prototype.removeStyleAndExtraNode=function(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)},e.prototype.destroy=function(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()},e.prototype.fadeOutWave=function(){var e=this,t=this.triggerElement,n=this.getWaveColor(t);t.setAttribute(this.waveAttributeName,"true"),Date.now()1&&l>1&&i[u-1]===r[l-2]&&i[u-2]===r[l-1]&&(n[u][l]=Math.min(n[u][l],n[u-2][l-2]+p))}return n[o][a]}n.d(t,"a",(function(){return i}))},T9Ld:function(e,t,n){const{defaults:i}=n("vbtb"),{block:r}=n("e56X"),{rtrim:o,splitCells:a,escape:s}=n("rUJ1");e.exports=class e{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||i,this.rules=r.normal,this.options.pedantic?this.rules=r.pedantic:this.options.gfm&&(this.rules=r.gfm)}static get rules(){return r}static lex(t,n){return new e(n).lex(t)}lex(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.token(e,!0)}token(e,t){let n,i,c,u,l,p,h,d,f,g,b,m,v,y,w,O;for(e=e.replace(/^ +$/gm,"");e;)if((c=this.rules.newline.exec(e))&&(e=e.substring(c[0].length),c[0].length>1&&this.tokens.push({type:"space"})),c=this.rules.code.exec(e)){const t=this.tokens[this.tokens.length-1];e=e.substring(c[0].length),t&&"paragraph"===t.type?t.text+="\n"+c[0].trimRight():(c=c[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?c:o(c,"\n")}))}else if(c=this.rules.fences.exec(e))e=e.substring(c[0].length),this.tokens.push({type:"code",lang:c[2]?c[2].trim():c[2],text:c[3]||""});else if(c=this.rules.heading.exec(e))e=e.substring(c[0].length),this.tokens.push({type:"heading",depth:c[1].length,text:c[2]});else if((c=this.rules.nptable.exec(e))&&(p={type:"table",header:a(c[1].replace(/^ *| *\| *$/g,"")),align:c[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:c[3]?c[3].replace(/\n$/,"").split("\n"):[]},p.header.length===p.align.length)){for(e=e.substring(c[0].length),b=0;b ?/gm,""),this.token(c,t),this.tokens.push({type:"blockquote_end"});else if(c=this.rules.list.exec(e)){for(e=e.substring(c[0].length),u=c[2],y=u.length>1,h={type:"list_start",ordered:y,start:y?+u:"",loose:!1},this.tokens.push(h),c=c[0].match(this.rules.item),d=[],n=!1,v=c.length,b=0;b1?1===l.length:l.length>1||this.options.smartLists&&l!==u)&&(e=c.slice(b+1).join("\n")+e,b=v-1)),i=n||/\n\n(?!\s*$)/.test(p),b!==v-1&&(n="\n"===p.charAt(p.length-1),i||(i=n)),i&&(h.loose=!0),w=/^\[[ xX]\] /.test(p),O=void 0,w&&(O=" "!==p[1],p=p.replace(/^\[[ xX]\] +/,"")),f={type:"list_item_start",task:w,checked:O,loose:i},d.push(f),this.tokens.push(f),this.token(p,!1),this.tokens.push({type:"list_item_end"});if(h.loose)for(v=d.length,b=0;b"}}},"TYT/":function(e,t,n){"use strict";n.d(t,"a",(function(){return Io})),n.d(t,"b",(function(){return uu})),n.d(t,"c",(function(){return ru})),n.d(t,"d",(function(){return nu})),n.d(t,"e",(function(){return iu})),n.d(t,"f",(function(){return el})),n.d(t,"g",(function(){return Hu})),n.d(t,"h",(function(){return go})),n.d(t,"i",(function(){return wu})),n.d(t,"j",(function(){return Cs})),n.d(t,"k",(function(){return hu})),n.d(t,"l",(function(){return Ss})),n.d(t,"m",(function(){return Tn})),n.d(t,"n",(function(){return jc})),n.d(t,"o",(function(){return G})),n.d(t,"p",(function(){return h})),n.d(t,"q",(function(){return $})),n.d(t,"r",(function(){return jo})),n.d(t,"s",(function(){return Ys})),n.d(t,"t",(function(){return Us})),n.d(t,"u",(function(){return pu})),n.d(t,"v",(function(){return ue})),n.d(t,"w",(function(){return qu})),n.d(t,"x",(function(){return ce})),n.d(t,"y",(function(){return Ru})),n.d(t,"z",(function(){return zu})),n.d(t,"A",(function(){return d})),n.d(t,"B",(function(){return cu})),n.d(t,"C",(function(){return su})),n.d(t,"D",(function(){return Ac})),n.d(t,"E",(function(){return ks})),n.d(t,"F",(function(){return Ts})),n.d(t,"G",(function(){return _s})),n.d(t,"H",(function(){return xs})),n.d(t,"I",(function(){return hi})),n.d(t,"J",(function(){return f})),n.d(t,"K",(function(){return g})),n.d(t,"L",(function(){return Gu})),n.d(t,"M",(function(){return Zs})),n.d(t,"N",(function(){return ju})),n.d(t,"O",(function(){return mo})),n.d(t,"P",(function(){return Es})),n.d(t,"Q",(function(){return Gs})),n.d(t,"R",(function(){return ve})),n.d(t,"S",(function(){return Bo})),n.d(t,"T",(function(){return Vu})),n.d(t,"U",(function(){return Un})),n.d(t,"V",(function(){return j})),n.d(t,"W",(function(){return re})),n.d(t,"X",(function(){return Yn})),n.d(t,"Y",(function(){return Ku})),n.d(t,"Z",(function(){return Au})),n.d(t,"ab",(function(){return lu})),n.d(t,"bb",(function(){return vo})),n.d(t,"cb",(function(){return pc})),n.d(t,"db",(function(){return li})),n.d(t,"eb",(function(){return gi})),n.d(t,"fb",(function(){return Zn})),n.d(t,"gb",(function(){return In})),n.d(t,"hb",(function(){return Mn})),n.d(t,"ib",(function(){return Rn})),n.d(t,"jb",(function(){return Pn})),n.d(t,"kb",(function(){return Ln})),n.d(t,"lb",(function(){return Fn})),n.d(t,"mb",(function(){return sc})),n.d(t,"nb",(function(){return Xu})),n.d(t,"ob",(function(){return cc})),n.d(t,"pb",(function(){return uc})),n.d(t,"qb",(function(){return An})),n.d(t,"rb",(function(){return V})),n.d(t,"sb",(function(){return Yo})),n.d(t,"tb",(function(){return da})),n.d(t,"ub",(function(){return ha})),n.d(t,"vb",(function(){return Vo})),n.d(t,"wb",(function(){return ac})),n.d(t,"xb",(function(){return Ue})),n.d(t,"yb",(function(){return x})),n.d(t,"zb",(function(){return jn})),n.d(t,"Ab",(function(){return ns})),n.d(t,"Bb",(function(){return cs})),n.d(t,"Cb",(function(){return vs})),n.d(t,"Db",(function(){return Vi})),n.d(t,"Eb",(function(){return Go})),n.d(t,"Fb",(function(){return Aa})),n.d(t,"Gb",(function(){return Qa})),n.d(t,"Hb",(function(){return Xa})),n.d(t,"Ib",(function(){return Ka})),n.d(t,"Jb",(function(){return Ia})),n.d(t,"Kb",(function(){return ga})),n.d(t,"Lb",(function(){return Zc})),n.d(t,"Mb",(function(){return yi})),n.d(t,"Nb",(function(){return Ce})),n.d(t,"Ob",(function(){return Ee})),n.d(t,"Pb",(function(){return y})),n.d(t,"Qb",(function(){return w})),n.d(t,"Rb",(function(){return ke})),n.d(t,"Sb",(function(){return Ne})),n.d(t,"Tb",(function(){return ea})),n.d(t,"Ub",(function(){return sa})),n.d(t,"Vb",(function(){return la})),n.d(t,"Wb",(function(){return ua})),n.d(t,"Xb",(function(){return ca})),n.d(t,"Yb",(function(){return aa})),n.d(t,"Zb",(function(){return oa})),n.d(t,"ac",(function(){return pa})),n.d(t,"bc",(function(){return On})),n.d(t,"cc",(function(){return Ja})),n.d(t,"dc",(function(){return ie})),n.d(t,"ec",(function(){return ta})),n.d(t,"fc",(function(){return tu})),n.d(t,"gc",(function(){return na})),n.d(t,"hc",(function(){return fa})),n.d(t,"ic",(function(){return Qc})),n.d(t,"jc",(function(){return Mt})),n.d(t,"kc",(function(){return ya})),n.d(t,"lc",(function(){return Tc})),n.d(t,"mc",(function(){return _c})),n.d(t,"nc",(function(){return kc})),n.d(t,"oc",(function(){return Dc})),n.d(t,"pc",(function(){return xc})),n.d(t,"qc",(function(){return Ca})),n.d(t,"rc",(function(){return Oa})),n.d(t,"sc",(function(){return ia})),n.d(t,"tc",(function(){return Sa})),n.d(t,"uc",(function(){return bc})),n.d(t,"vc",(function(){return mc})),n.d(t,"wc",(function(){return vc})),n.d(t,"xc",(function(){return yc})),n.d(t,"yc",(function(){return wc})),n.d(t,"zc",(function(){return Uc})),n.d(t,"Ac",(function(){return Jo})),n.d(t,"Bc",(function(){return nn})),n.d(t,"Cc",(function(){return tn})),n.d(t,"Dc",(function(){return ut})),n.d(t,"Ec",(function(){return bi})),n.d(t,"Fc",(function(){return vi})),n.d(t,"Gc",(function(){return Se})),n.d(t,"Hc",(function(){return De})),n.d(t,"Ic",(function(){return $c})),n.d(t,"Jc",(function(){return Hc})),n.d(t,"Kc",(function(){return ja})),n.d(t,"Lc",(function(){return Ko})),n.d(t,"Mc",(function(){return eu})),n.d(t,"Nc",(function(){return qa})),n.d(t,"Oc",(function(){return Za})),n.d(t,"Pc",(function(){return $a})),n.d(t,"Qc",(function(){return Ga})),n.d(t,"Rc",(function(){return es})),n.d(t,"Sc",(function(){return Wc}));var i=n("mrSG"),r=n("pugT"),o=n("K9Ia"),a=n("6blF"),s=n("p0ib"),c=n("S1nX");function u(e){return{toString:e}.toString()}var l="__parameters__";function p(e,t,n){return u((function(){var r=function(e){return function(){for(var t=[],n=0;n=e.length?e.push(n):e.splice(t,0,n)}function he(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function de(e,t){for(var n=[],i=0;i=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function ge(e,t){var n=be(e,t);if(n>=0)return e[1|n]}function be(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var o=i+(r-i>>1),a=e[o<<1];if(t===a)return o<<1;a>t?r=o:i=o+1}return~(r<<1)}(e,t)}var me=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),ve=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),ye={},we=[],Oe=0;function Ce(e){return u((function(){var t=e.type,n=t.prototype,i={},r={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===me.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||we,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ve.Emulated,id:"c",styles:e.styles||we,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,s=e.pipes;return r.id+=Oe++,r.inputs=xe(e.inputs,i),r.outputs=xe(e.outputs),a&&a.forEach((function(e){return e(r)})),r.directiveDefs=o?function(){return("function"==typeof o?o():o).map(ze)}:null,r.pipeDefs=s?function(){return("function"==typeof s?s():s).map(Te)}:null,r}))}function Se(e,t,n){var i=e.\u0275cmp;i.directiveDefs=function(){return t.map(ze)},i.pipeDefs=function(){return n.map(Te)}}function ze(e){return je(e)||function(e){return e[Y]||null}(e)}function Te(e){return function(e){return e[U]||null}(e)}var _e={};function ke(e){var t={type:e.type,bootstrap:e.bootstrap||we,declarations:e.declarations||we,imports:e.imports||we,exports:e.exports||we,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&u((function(){_e[e.id]=e.type})),t}function De(e,t){return u((function(){var n=Ae(e,!0);n.declarations=t.declarations||we,n.imports=t.imports||we,n.exports=t.exports||we}))}function xe(e,t){if(null==e)return ye;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}var Ee=Ce;function Ne(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function je(e){return e[B]||null}function Ie(e,t){return e.hasOwnProperty(q)?e[q]:null}function Ae(e,t){var n=e[H]||null;if(!n&&!0===t)throw new Error("Type "+x(e)+" does not have '\u0275mod' property.");return n}function Me(e){return Array.isArray(e)&&"object"==typeof e[1]}function Le(e){return Array.isArray(e)&&!0===e[1]}function Pe(e){return 0!=(8&e.flags)}function Fe(e){return 2==(2&e.flags)}function Re(e){return 1==(1&e.flags)}function Ve(e){return null!==e.template}function Be(e){return 0!=(512&e[2])}var Ye=void 0;function Ue(e){Ye=e}function He(){return void 0!==Ye?Ye:"undefined"!=typeof document?document:void 0}function We(e){return!!e.listen}var qe={createRenderer:function(e,t){return He()}};function Ze(e){for(;Array.isArray(e);)e=e[0];return e}function $e(e,t){return Ze(t[e+20])}function Ge(e,t){return Ze(t[e.index])}function Qe(e,t){return e.data[t+20]}function Xe(e,t){return e[t+20]}function Ke(e,t){var n=t[e];return Me(n)?n:n[0]}function Je(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function et(e){return 4==(4&e[2])}function tt(e){return 128==(128&e[2])}function nt(e,t){return null===e||null==t?null:e[t]}function it(e){e[18]=0}function rt(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var ot={lFrame:Dt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function at(){return ot.bindingsEnabled}function st(){return ot.lFrame.lView}function ct(){return ot.lFrame.tView}function ut(e){ot.lFrame.contextLView=e}function lt(){return ot.lFrame.previousOrParentTNode}function pt(e,t){ot.lFrame.previousOrParentTNode=e,ot.lFrame.isParent=t}function ht(){return ot.lFrame.isParent}function dt(){ot.lFrame.isParent=!1}function ft(){return ot.checkNoChangesMode}function gt(e){ot.checkNoChangesMode=e}function bt(){var e=ot.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function mt(){return ot.lFrame.bindingIndex}function vt(){return ot.lFrame.bindingIndex++}function yt(e){var t=ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function wt(e,t){var n=ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ot(t)}function Ot(e){ot.lFrame.currentDirectiveIndex=e}function Ct(e){var t=ot.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function St(){return ot.lFrame.currentQueryIndex}function zt(e){ot.lFrame.currentQueryIndex=e}function Tt(e,t){var n=kt();ot.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function _t(e,t){var n=kt(),i=e[1];ot.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex}function kt(){var e=ot.lFrame,t=null===e?null:e.child;return null===t?Dt(e):t}function Dt(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function xt(){var e=ot.lFrame;return ot.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var Et=xt;function Nt(){var e=xt();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function jt(){return ot.lFrame.selectedIndex}function It(e){ot.lFrame.selectedIndex=e}function At(){var e=ot.lFrame;return Qe(e.tView,e.selectedIndex)}function Mt(){ot.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Lt(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[a]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}var Yt=function(){return function(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}();function Ut(e,t,n){for(var i=We(e),r=0;rt){a=o-1;break}}}for(;o>16}function Xt(e,t){for(var n=Qt(e),i=t;n>0;)i=i[15],n--;return i}function Kt(e){return"string"==typeof e?e:null==e?"":""+e}function Jt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Kt(e)}var en=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(V)}();function tn(e){return{name:"window",target:e.ownerDocument.defaultView}}function nn(e){return{name:"document",target:e.ownerDocument}}function rn(e){return e instanceof Function?e():e}var on=!0;function an(e){var t=on;return on=e,t}var sn=0;function cn(e,t){var n=ln(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,un(i.data,e),un(t,null),un(i.blueprint,null));var r=pn(e,t),o=e.injectorIndex;if($t(r))for(var a=Gt(r),s=Xt(r,t),c=s[1].data,u=0;u<8;u++)t[o+u]=s[a+u]|c[a+u];return t[o+8]=r,o}function un(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ln(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function pn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],i=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function hn(e,t,n){!function(e,t,n){var i="string"!=typeof n?n[Z]:n.charCodeAt(0)||0;null==i&&(i=n[Z]=sn++);var r=255&i,o=1<0?255&t:t}(n);if("function"==typeof o){Tt(t,e);try{var a=o();if(null!=a||i&b.Optional)return a;throw new Error("No provider for "+Jt(n)+"!")}finally{Et()}}else if("number"==typeof o){if(-1===o)return new wn(e,t);var s=null,c=ln(e,t),u=-1,l=i&b.Host?t[16][6]:null;for((-1===c||i&b.SkipSelf)&&(u=-1===c?pn(e,t):t[c+8],yn(i,!1)?(s=t[1],c=Gt(u),t=Xt(u,t)):c=-1);-1!==c;){u=t[c+8];var p=t[1];if(vn(o,c,p.data)){var h=gn(c,t,n,s,i,l);if(h!==fn)return h}yn(i,t[1].data[c+8]===l)&&vn(o,c,t)?(s=p,c=Gt(u),t=Xt(u,t)):c=-1}}}if(i&b.Optional&&void 0===r&&(r=null),0==(i&(b.Self|b.Host))){var d=t[9],f=te(void 0);try{return d?d.get(n,r,i&b.Optional):oe(n,r,i&b.Optional)}finally{te(f)}}if(i&b.Optional)return r;throw new Error("NodeInjector: NOT_FOUND ["+Jt(n)+"]")}var fn={};function gn(e,t,n,i,r,o){var a=t[1],s=a.data[e+8],c=bn(s,a,n,null==i?Fe(s)&&on:i!=a&&3===s.type,r&b.Host&&o===s);return null!==c?mn(t,a,c,s):fn}function bn(e,t,n,i,r){for(var o=e.providerIndexes,a=t.data,s=65535&o,c=e.directiveStart,u=o>>16,l=r?s+u:e.directiveEnd,p=i?s:s+u;p=c&&h.type===n)return p}if(r){var d=a[c];if(d&&Ve(d)&&d.type===n)return c}return null}function mn(e,t,n,i){var r=e[n],o=t.data;if(r instanceof Yt){var a=r;if(a.resolving)throw new Error("Circular dep for "+Jt(o[n]));var s=an(a.canSeeViewProviders);a.resolving=!0;var c=void 0;a.injectImpl&&(c=te(a.injectImpl)),Tt(e,i);try{r=e[n]=a.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.onChanges,r=t.onInit,o=t.doCheck;i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{a.injectImpl&&te(c),an(s),a.resolving=!1,Et()}}return r}function vn(e,t,n){var i=64&e,r=32&e;return!!((128&e?i?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:i?r?n[t+3]:n[t+2]:r?n[t+1]:n[t])&1<',!t.querySelector||t.querySelector("svg")?(t.innerHTML='

    ',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(i){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();ti.hasOwnProperty(t)&&!Xn.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(ui(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),si=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/([^\#-~ |!])/g;function ui(e){return e.replace(/&/g,"&").replace(si,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ci,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}function li(e,t){var n=null;try{Qn=Qn||new Hn(e);var i=t?String(t):"";n=Qn.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Qn.getInertBodyElement(i)}while(i!==o);var a=new ai,s=a.sanitizeChildren(pi(n)||n);return Yn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=pi(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function pi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var hi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),di=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),fi=/^url\(([^)]+)\)$/;function gi(e){if(!(e=String(e).trim()))return"";var t=e.match(fi);return t&&Zn(t[1])===t[1]||e.match(di)&&function(e){for(var t=!0,n=!0,i=0;io?"":r[l+1].toLowerCase();var h=8&i?p:null;if(h&&-1!==zi(h,u,0)||2&i&&u!==p){if(xi(i))return!1;a=!0}}}}else{if(!a&&!xi(i)&&!xi(c))return!1;if(a&&xi(c))continue;a=!1,i=c|1&i}}return xi(i)||a}function xi(e){return 0==(1&e)}function Ei(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var o=!1;r-1)for(n++;n0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""===r||xi(a)||(t+=Ii(o,r),r=""),i=a,o=o||!xi(i);n++}return""!==r&&(t+=Ii(o,r)),t}var Mi={};function Li(e){var t=e[3];return Le(t)?t[3]:t}function Pi(e){return Ri(e[13])}function Fi(e){return Ri(e[4])}function Ri(e){for(;null!==e&&!Le(e);)e=e[4];return e}function Vi(e){Bi(ct(),st(),jt()+e,ft())}function Bi(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&Pt(t,r,n)}else{var o=e.preOrderHooks;null!==o&&Ft(t,o,0,n)}It(n)}function Yi(e,t){return e<<17|t<<2}function Ui(e){return e>>17&32767}function Hi(e){return 2|e}function Wi(e){return(131068&e)>>2}function qi(e,t){return-131069&e|t<<2}function Zi(e){return 1|e}function $i(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i20&&Bi(e,t,0,ft()),n(i,r)}finally{It(o)}}function nr(e,t,n){if(Pe(t))for(var i=t.directiveEnd,r=t.directiveStart;r0&&function e(t){for(var n=Pi(t);null!==n;n=Fi(n))for(var i=10;i0&&e(r)}var a=t[1].components;if(null!==a)for(i=0;i0&&e(s)}}(n)}}function zr(e,t){var n=Ke(t,e),i=n[1];!function(e,t){for(var n=t.length;n0&&(e[n-1][4]=i[4]);var o=he(e,10+t);Vr(i[1],i,!1,null);var a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function Ur(e,t){if(!(256&t[2])){var n=t[11];We(n)&&n.destroyNode&&to(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Wr(e[1],e);for(;t;){var n=null;if(Me(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Me(t)&&Wr(t[1],t),t=Hr(t,e);null===t&&(t=e),Me(t)&&Wr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Hr(e,t){var n;return Me(e)&&(n=e[6])&&2===n.type?Pr(n,e):e[3]===t?null:e[3]}function Wr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i=0?i[s]():i[-s].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&We(t[11])&&t[11].destroy();var i=t[17];if(null!==i&&Le(t[3])){i!==t[3]&&Br(i,t);var r=t[19];null!==r&&r.detachView(e)}}}function qr(e,t,n){for(var i=t.parent;null!=i&&(4===i.type||5===i.type);)i=(t=i).parent;if(null==i){var r=n[6];return 2===r.type?Fr(r,n):n[0]}if(t&&5===t.type&&4&t.flags)return Ge(t,n).parentNode;if(2&i.flags){var o=e.data,a=o[o[i.index].directiveStart].encapsulation;if(a!==ve.ShadowDom&&a!==ve.Native)return null}return Ge(i,n)}function Zr(e,t,n,i){We(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function $r(e,t,n){We(e)?e.appendChild(t,n):t.appendChild(n)}function Gr(e,t,n,i){null!==i?Zr(e,t,n,i):$r(e,t,n)}function Qr(e,t){return We(e)?e.parentNode(t):t.parentNode}function Xr(e,t){if(2===e.type){var n=Pr(e,t);return null===n?null:Jr(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Ge(e,t):null}function Kr(e,t,n,i){var r=qr(e,i,t);if(null!=r){var o=t[11],a=Xr(i.parent||t[6],t);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Ur(this._lView[1],this._lView)},e.prototype.onDestroy=function(e){var t,n,i;t=this._lView[1],i=e,Nr(n=this._lView).push(i),t.firstCreatePass&&jr(t).push(n[7].length-1,null)},e.prototype.markForCheck=function(){_r(this._cdRefInjectingView||this._lView)},e.prototype.detach=function(){this._lView[2]&=-129},e.prototype.reattach=function(){this._lView[2]|=128},e.prototype.detectChanges=function(){kr(this._lView[1],this._lView,this.context)},e.prototype.checkNoChanges=function(){!function(e,t,n){gt(!0);try{kr(e,t,n)}finally{gt(!1)}}(this._lView[1],this._lView,this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){var e;this._appRef=null,to(this._lView[1],e=this._lView,e[11],2,null,null)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e}(),uo=function(e){function t(t){var n=e.call(this,t)||this;return n._view=t,n}return Object(i.c)(t,e),t.prototype.detectChanges=function(){Dr(this._view)},t.prototype.checkNoChanges=function(){!function(e){gt(!0);try{Dr(e)}finally{gt(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(co);function lo(e,t,n){return oo||(oo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.c)(t,e),t}(e)),new oo(Ge(t,n))}function po(e,t,n,r){return ao||(ao=function(e){function t(t,n,i){var r=e.call(this)||this;return r._declarationView=t,r._declarationTContainer=n,r.elementRef=i,r}return Object(i.c)(t,e),t.prototype.createEmbeddedView=function(e){var t=this._declarationTContainer.tViews,n=Qi(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var i=this._declarationView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Ki(t,n,e),new co(n)},t}(e)),0===n.type?new ao(r,n,lo(t,n,r)):null}function ho(e,t,n,r){var o;so||(so=function(e){function n(t,n,i){var r=e.call(this)||this;return r._lContainer=t,r._hostTNode=n,r._hostView=i,r}return Object(i.c)(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return lo(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new wn(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=pn(this._hostTNode,this._hostView),t=Xt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var i=n.parent.injectorIndex,r=n.parent;null!=r.parent&&i==r.parent.injectorIndex;)r=r.parent;return r}for(var o=Qt(e),a=t,s=t[6];o>1;)s=(a=a[15])[6],o--;return s}(e,this._hostView,this._hostTNode);return $t(e)&&null!=n?new wn(n,t):new wn(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this.length>0;)this.remove(this.length-1)},n.prototype.get=function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer.length-10},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i},n.prototype.createComponent=function(e,t,n,i,r){var o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){var a=o.get(ce,null);a&&(r=a)}var s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s},n.prototype.insert=function(e,t){var n=e._lView,i=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Le(n[3])){var r=this.indexOf(e);if(-1!==r)this.detach(r);else{var o=n[3],a=new so(o,o[6],o[3]);a.detach(a.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,i){var r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):x(s)))}r="{"+o.join(", ")+"}"}return n+(i?"("+i+")":"")+"["+r+"]: "+e.replace(X,"\n ")}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{ee(r)}},e.prototype._resolveInjectorDefTypes=function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))},e.prototype.toString=function(){var e=[];return this.records.forEach((function(t,n){return e.push(x(n))})),"R3Injector["+e.join(", ")+"]"},e.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var i=this;if(!(e=I(e)))return!1;var r=S(e),o=null==r&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(r=S(o)),null==r)return!1;if(null!=r.imports&&!s){var c;n.push(a);try{le(r.imports,(function(e){i.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{}if(void 0!==c)for(var u=function(e){var t=c[e],n=t.ngModule,r=t.providers;le(r,(function(e){return i.processProvider(e,n,r||Oo)}))},l=0;l0){var n=de(t,"?");throw new Error("Can't resolve all parameters for "+x(e)+": ("+n.join(", ")+").")}var i=function(e){var t=e&&(e[z]||e[k]||e[_]&&e[_]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'+n+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+n+'" class.'),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ko(e,t,n){var r,o=void 0;if(Eo(e)){var a=I(e);return Ie(a)||_o(a)}if(xo(e))o=function(){return I(e.useValue)};else if((r=e)&&r.useFactory)o=function(){return e.useFactory.apply(e,Object(i.g)(ae(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))o=function(){return ie(I(e.useExisting))};else{var s=I(e&&(e.useClass||e.provide));if(s||function(e,t,n){var i="";throw e&&t&&(i=" - only instances of Provider and Type are allowed, got: ["+t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+x(e)+"'"+i)}(t,n,e),!function(e){return!!e.deps}(e))return Ie(s)||_o(s);o=function(){return new(s.bind.apply(s,Object(i.g)([void 0],ae(e.deps))))}}return o}function Do(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function xo(e){return null!==e&&"object"==typeof e&&K in e}function Eo(e){return"function"==typeof e}var No=function(e,t,n){return function(e,t,n,i){void 0===t&&(t=null),void 0===n&&(n=null);var r=zo(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)},jo=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?No(e,t,""):No(e.providers,e.parent,e.name||"")},e.THROW_IF_NOT_FOUND=Q,e.NULL=new se,e.\u0275prov=y({token:e,providedIn:"any",factory:function(){return ie(G)}}),e.__NG_ELEMENT_ID__=-1,e}(),Io=new $("AnalyzeForEntryComponents"),Ao=new Map,Mo=new Set;function Lo(e){return"string"==typeof e?e:e.text()}function Po(e,t,n){var i=n?e.styles:null,r=n?e.classes:null,o=0;if(null!==t)for(var a=0;ac?s[c]:null}"string"==typeof a&&(o+=2)}return null}(e,t,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,p=!1;else{o=va(i,t,o,!1);var v=n.listen(d.name||f,r,o);l.push(o,v),u&&u.push(r,b,g,g+1)}}else o=va(i,t,o,!0),f.addEventListener(r,o,a),l.push(o),u&&u.push(r,b,g,a)}var y,w=i.outputs;if(p&&null!==w&&(y=w[r])){var O=y.length;if(O)for(var C=0;C0;)t=t[15],e--;return t}(e,ot.lFrame.contextLView))[8]}(e)}function wa(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r=0}var Da={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xa(e){return e.substring(Da.key,Da.keyEnd)}function Ea(e,t){var n=Da.textEnd;return n===t?-1:(t=Da.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,Da.key=t,n),Na(e,t,n))}function Na(e,t,n){for(;t=0;n=Ea(t,n))fe(e,xa(t),!0)}function La(e,t,n,i){var r,o=st(),a=ct(),s=yt(2);if(a.firstUpdatePass&&Ra(a,e,s,i),t!==Mi&&qo(o,s,t)){var c=void 0;null==n&&(c=null===(r=ot.lFrame)?null:r.currentSanitizer)&&(n=c),Ya(a,a.data[jt()+20],o,o[11],e,o[s+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=x(jn(e)))),e}(t,n),i,s)}}function Pa(e,t,n,i){var r=ct(),o=yt(2);r.firstUpdatePass&&Ra(r,null,o,i);var a=st();if(n!==Mi&&qo(a,o,n)){var s=r.data[jt()+20];if(Wa(s,i)&&!Fa(r,o)){var c=i?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=E(c,n||"")),ra(r,s,a,n,i)}else!function(e,t,n,i,r,o,a,s){r===Mi&&(r=Ta);for(var c=0,u=0,l=0=e.expandoStartIndex}function Ra(e,t,n,i){var r=e.data;if(null===r[n+1]){var o=r[jt()+20],a=Fa(e,n);Wa(o,i)&&null===t&&!a&&(t=!1),t=function(e,t,n,i){var r=Ct(e),o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Ba(n=Va(null,e,t,n,i),t.attrs,i),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==r)if(n=Va(r,e,t,n,i),null===o){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==Wi(i))return e[Ui(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[Ui(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=Ba(s=Va(null,e,t,s[1],i),t.attrs,i))}else o=function(e,t,n){for(var i=void 0,r=t.directiveEnd,o=1+t.directiveStylingLast;o0)&&(l=!0):u=n,r)if(0!==c){var p=Ui(e[s+1]);e[i+1]=Yi(p,s),0!==p&&(e[p+1]=qi(e[p+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=Yi(s,0),0!==s&&(e[s+1]=qi(e[s+1],i)),s=i;else e[i+1]=Yi(c,0),0===s?s=i:e[c+1]=qi(e[c+1],i),c=i;l&&(e[i+1]=Hi(e[i+1])),_a(e,u,i,!0),_a(e,u,i,!1),function(e,t,n,i,r){var o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&be(o,t)>=0&&(n[i+1]=Zi(n[i+1]))}(t,u,e,i,o),a=Yi(s,c),o?t.classBindings=a:t.styleBindings=a}(r,o,t,n,a,i)}}function Va(e,t,n,i,r){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var c=e[r],u=Array.isArray(c),l=u?c[1]:c,p=null===l,h=n[r+1];h===Mi&&(h=p?Ta:void 0);var d=p?ge(h,i):l===i?h:void 0;if(u&&!Ha(d)&&(d=ge(c,i)),Ha(d)&&(s=d,a))return s;var f=e[r+1];r=a?Ui(f):Wi(f)}if(null!==t){var g=o?t.residualClasses:t.residualStyles;null!=g&&(s=ge(g,i))}return s}function Ha(e){return void 0!==e}function Wa(e,t){return 0!=(e.flags&(t?16:32))}function qa(e,t){void 0===t&&(t="");var n=st(),i=ct(),r=e+20,o=i.firstCreatePass?Xi(i,n[6],e,3,null,null):i.data[r],a=n[r]=function(e,t){return We(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Kr(i,n,a,o),pt(o,!1)}function Za(e){return $a("",e,""),Za}function $a(e,t,n){var i=st(),r=Qo(i,e,t,n);return r!==Mi&&Lr(i,jt(),r),$a}function Ga(e,t,n,i,r){var o=st(),a=Xo(o,e,t,n,i,r);return a!==Mi&&Lr(o,jt(),a),Ga}function Qa(e,t,n){Pa(fe,Ma,Qo(st(),e,t,n),!0)}function Xa(e,t,n,i,r){Pa(fe,Ma,Xo(st(),e,t,n,i,r),!0)}function Ka(e,t,n,i,r,o,a,s,c){Pa(fe,Ma,function(e,t,n,i,r,o,a,s,c,u){var l=$o(e,mt(),n,r,a,c);return yt(4),l?t+Kt(n)+i+Kt(r)+o+Kt(a)+s+Kt(c)+u:Mi}(st(),e,t,n,i,r,o,a,s,c),!0)}function Ja(e,t,n){var i=st();return qo(i,vt(),t)&&ur(ct(),At(),i,e,t,i[11],n,!0),Ja}function es(e,t,n){var i=st();if(qo(i,vt(),t)){var r=ct(),o=At();ur(r,o,i,e,t,Ir(Ct(r.data),o,i),n,!0)}return es}function ts(e,t){var n=Je(e)[1],i=n.data.length-1;Lt(n,{directiveStart:i,directiveEnd:i+1})}function ns(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var r=void 0;if(Ve(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var o=e;o.inputs=is(e.inputs),o.declaredInputs=is(e.declaredInputs),o.outputs=is(e.outputs);var a=r.hostBindings;a&&as(e,a);var s=r.viewQuery,c=r.contentQueries;if(s&&rs(e,s),c&&os(e,c),v(e.inputs,r.inputs),v(e.declaredInputs,r.declaredInputs),v(e.outputs,r.outputs),Ve(r)&&r.data.animation){var u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}o.afterContentChecked=o.afterContentChecked||r.afterContentChecked,o.afterContentInit=e.afterContentInit||r.afterContentInit,o.afterViewChecked=e.afterViewChecked||r.afterViewChecked,o.afterViewInit=e.afterViewInit||r.afterViewInit,o.doCheck=e.doCheck||r.doCheck,o.onDestroy=e.onDestroy||r.onDestroy,o.onInit=e.onInit||r.onInit}var l=r.features;if(l)for(var p=0;p=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=qt(r.hostAttrs,n=qt(n,r.hostAttrs))}}(i)}function is(e){return e===ye?{}:e===we?[]:e}function rs(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function os(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function as(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var ss=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function cs(e){e.type.prototype.ngOnChanges&&(e.setInput=us,e.onChanges=function(){var e=ls(this),t=e&&e.current;if(t){var n=e.previous;if(n===ye)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}})}function us(e,t,n,i){var r=ls(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ye,current:null}),o=r.current||(r.current={}),a=r.previous,s=this.declaredInputs[n],c=a[s];o[s]=new ss(c&&c.currentValue,t,a===ye),e[i]=t}function ls(e){return e.__ngSimpleChanges__||null}function ps(e,t,n,i,r){if(e=I(e),Array.isArray(e))for(var o=0;o>16;if(Eo(e)||!e.multi){var f=new Yt(u,r,ea),g=fs(c,t,r?p:p+d,h);-1===g?(hn(cn(l,s),a,c),hs(a,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{var b=fs(c,t,p+d,h),m=fs(c,t,p,p+d),v=m>=0&&n[m];r&&!v||!r&&!(b>=0&&n[b])?(hn(cn(l,s),a,c),f=function(e,t,n,i,r){var o=new Yt(e,n,ea);return o.multi=[],o.index=t,o.componentProviders=0,ds(o,r,i&&!n),o}(r?bs:gs,n.length,r,i,u),!r&&v&&(n[m].providerFactory=f),hs(a,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(f),s.push(f)):hs(a,e,b>-1?b:m,ds(n[r?m:b],u,!r&&i)),!r&&i&&v&&n[m].componentProviders++}}}function hs(e,t,n,i){var r=Eo(t);if(r||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[i,o]):a[s+1].push(i,o)}else a.push(n,o)}}}function ds(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fs(e,t,n,i){for(var r=n;r0&&ro(u,p,w.join(" "))}if(o=Qe(g,0),void 0!==t)for(var O=o.projection=[],C=0;C null != "+t+" <=Actual]")}(n,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var dc=new Map,fc=function(e){function t(t,n){var i=e.call(this)||this;i._parent=n,i._bootstrapComponents=[],i.injector=i,i.destroyCbs=[],i.componentFactoryResolver=new Ks(i);var r=Ae(t),o=t[W]||null;return o&&hc(o),i._bootstrapComponents=rn(r.bootstrap),i._r3Injector=zo(t,n,[{provide:ce,useValue:i},{provide:Cs,useValue:i.componentFactoryResolver}],x(t)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(t),i}return Object(i.c)(t,e),t.prototype.get=function(e,t,n){return void 0===t&&(t=jo.THROW_IF_NOT_FOUND),void 0===n&&(n=b.Default),e===jo||e===ce||e===G?this:this._r3Injector.get(e,t,n)},t.prototype.destroy=function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(ce),gc=function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,null!==Ae(t)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for "+e+" - "+x(t)+" vs "+x(t.name))})(n,dc.get(n),t),dc.set(n,t)}var i=t.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach((function(t){return e(t)}))}(t),n}return Object(i.c)(t,e),t.prototype.create=function(e){return new fc(this.moduleType,e)},t}(ue);function bc(e,t,n){var i=bt()+e,r=st();return r[i]===Mi?Ho(r,i,n?t.call(n):t()):Wo(r,i)}function mc(e,t,n,i){return Cc(st(),bt(),e,t,n,i)}function vc(e,t,n,i,r){return Sc(st(),bt(),e,t,n,i,r)}function yc(e,t,n,i,r,o){return zc(st(),bt(),e,t,n,i,r,o)}function wc(e,t,n,i,r,o,a,s,c){var u=bt()+e,l=st(),p=$o(l,u,n,i,r,o);return Zo(l,u+4,a,s)||p?Ho(l,u+6,c?t.call(c,n,i,r,o,a,s):t(n,i,r,o,a,s)):Wo(l,u+6)}function Oc(e,t){var n=e[t];return n===Mi?void 0:n}function Cc(e,t,n,i,r,o){var a=t+n;return qo(e,a,r)?Ho(e,a+1,o?i.call(o,r):i(r)):Oc(e,a+1)}function Sc(e,t,n,i,r,o,a){var s=t+n;return Zo(e,s,r,o)?Ho(e,s+2,a?i.call(a,r,o):i(r,o)):Oc(e,s+2)}function zc(e,t,n,i,r,o,a,s){var c=t+n;return function(e,t,n,i,r){var o=Zo(e,t,n,i);return qo(e,t+2,r)||o}(e,c,r,o,a)?Ho(e,c+3,s?i.call(s,r,o,a):i(r,o,a)):Oc(e,c+3)}function Tc(e,t){var n,i=ct(),r=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new Error("The pipe '"+e+"' could not be found!")}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var o=n.factory||(n.factory=Ie(n.type)),a=te(ea),s=an(!1),c=o();return an(s),te(a),function(e,t,n,i){var r=n+20;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=i}(i,st(),e,c),c}function _c(e,t,n){var i=st(),r=Xe(i,e);return Nc(i,Ec(i,e)?Cc(i,bt(),t,r.transform,n,r):r.transform(n))}function kc(e,t,n,i){var r=st(),o=Xe(r,e);return Nc(r,Ec(r,e)?Sc(r,bt(),t,o.transform,n,i,o):o.transform(n,i))}function Dc(e,t,n,i,r){var o=st(),a=Xe(o,e);return Nc(o,Ec(o,e)?zc(o,bt(),t,a.transform,n,i,r,a):a.transform(n,i,r))}function xc(e,t,n,i,r,o){var a=st(),s=Xe(a,e);return Nc(a,Ec(a,e)?function(e,t,n,i,r,o,a,s,c){var u=t+n;return $o(e,u,r,o,a,s)?Ho(e,u+4,c?i.call(c,r,o,a,s):i(r,o,a,s)):Oc(e,u+4)}(a,bt(),t,s.transform,n,i,r,o,s):s.transform(n,i,r,o))}function Ec(e,t){return e[1].data[t+20].pure}function Nc(e,t){return Bo.isWrapped(t)&&(t=Bo.unwrap(t),e[mt()]=Mi),t}var jc=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return Object(i.c)(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,i){var o,a=function(e){return null},s=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(a=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},n&&(a=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),i&&(s=this.__isAsync?function(){setTimeout((function(){return i()}))}:function(){i()}));var c=e.prototype.subscribe.call(this,o,a,s);return t instanceof r.a&&t.add(c),c},t}(o.a);function Ic(){return this._results[Ro()]()}var Ac=function(){function e(){this.dirty=!0,this._results=[],this.changes=new jc,this.length=0;var t=Ro(),n=e.prototype;n[t]||(n[t]=Ic)}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var i=0;i0)r.push(s[c/2]);else{for(var l=a[c+1],p=n[-u],h=10;h0&&(r=setTimeout((function(){i._callbacks=i._callbacks.filter((function(e){return e.timeoutId!==r})),e(i._didWork,i.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e.\u0275fac=function(t){return new(t||e)(ie(zu))},e.\u0275prov=y({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Iu=function(){function e(){this._applications=new Map,Lu.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Lu.findTestabilityInTree(this,e,t)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=y({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function Au(e){Lu=e}var Mu,Lu=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),Pu=function(e,t,n){var r=e.get(Ou,[]).concat(t),o=new gc(n);if(0===Ao.size)return Promise.resolve(o);var a,s,c=(a=r.map((function(e){return e.providers})),s=[],a.forEach((function(e){return e&&s.push.apply(s,Object(i.g)(e))})),s);if(0===c.length)return Promise.resolve(o);var u=function(){var e=V.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),l=jo.create({providers:c}).get(u.ResourceLoader);return function(e){var t=[],n=new Map;function i(e){var t=n.get(e);if(!t){var i=function(e){return Promise.resolve(l.get(e))}(e);n.set(e,t=i.then(Lo))}return t}return Ao.forEach((function(e,n){var r=[];e.templateUrl&&r.push(i(e.templateUrl).then((function(t){e.template=t})));var o=e.styleUrls,a=e.styles||(e.styles=[]),s=e.styles.length;o&&o.forEach((function(t,n){a.push(""),r.push(i(t).then((function(i){a[s+n]=i,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)})))}));var c=Promise.all(r).then((function(){return function(e){Mo.delete(e)}(n)}));t.push(c)})),Ao=new Map,Promise.all(t).then((function(){}))}().then((function(){return o}))},Fu=new $("AllowMultipleToken"),Ru=function(){return function(e,t){this.name=e,this.token=t}}();function Vu(e,t,n){void 0===n&&(n=[]);var i="Platform: "+t,r=new $(i);return function(t){void 0===t&&(t=[]);var o=Bu();if(!o||o.injector.get(Fu,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0},{provide:vo,useValue:"platform"});!function(e){if(Mu&&!Mu.destroyed&&!Mu.injector.get(Fu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Mu=e.get(Yu);var t=e.get(su,null);t&&t.forEach((function(e){return e()}))}(jo.create({providers:a,name:i}))}return function(e){var t=Bu();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function Bu(){return Mu&&!Mu.destroyed?Mu:null}var Yu=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,i,r=this,o=(i=t&&t.ngZoneEventCoalescing||!1,"noop"===(n=t?t.ngZone:void 0)?new Nu:("zone.js"===n?void 0:n)||new zu({enableLongStackTrace:Yn(),shouldCoalesceEventChangeDetection:i})),a=[{provide:zu,useValue:o}];return o.run((function(){var t=jo.create({providers:a,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(Tn,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return Wu(r._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){i.handleError(e)}})})),function(e,t,i){try{var o=((a=n.injector.get(iu)).runInitializers(),a.donePromise.then((function(){return hc(n.injector.get(pu,"en-US")||"en-US"),r._moduleDoBootstrap(n),n})));return ha(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(i,o)}))},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var i=Uu({},t);return Pu(this.injector,i,e).then((function(e){return n.bootstrapModuleFactory(e,i)}))},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Hu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+x(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)(ie(jo))},e.\u0275prov=y({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function Uu(e,t){return Array.isArray(t)?t.reduce(Uu,e):Object(i.a)(Object(i.a)({},e),t)}var Hu=function(){function e(e,t,n,i,r,o){var u=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Yn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run((function(){u.tick()}))}});var l=new a.a((function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular((function(){e.next(u._stable),e.complete()}))})),p=new a.a((function(e){var t;u._zone.runOutsideAngular((function(){t=u._zone.onStable.subscribe((function(){zu.assertNotInAngularZone(),Su((function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))}))}))}));var n=u._zone.onUnstable.subscribe((function(){zu.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(s.a)(l,p.pipe(Object(c.a)()))}return e.prototype.bootstrap=function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof ws?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(ce),o=n.create(jo.NULL,[],t||n.selector,r);o.onDestroy((function(){i._unloadComponent(o)}));var a=o.injector.get(ju,null);return a&&o.injector.get(Iu).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Yn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e,t,n,r,o=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;try{for(var a=Object(i.h)(this._views),s=a.next();!s.done;s=a.next())s.value.detectChanges()}catch(l){e={error:l}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var c=Object(i.h)(this._views),u=c.next();!u.done;u=c.next())u.value.checkNoChanges()}catch(p){n={error:p}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}catch(h){this._zone.runOutsideAngular((function(){return o._exceptionHandler.handleError(h)}))}finally{this._runningTick=!1}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Wu(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(uu,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Wu(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(e){return e.destroy()}))},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)(ie(zu),ie(lu),ie(jo),ie(Tn),ie(Cs),ie(iu))},e.\u0275prov=y({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function Wu(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var qu=function(){return function(){}}(),Zu=function(){return function(){}}(),$u={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Gu=function(){function e(e,t){this._compiler=e,this._config=t||$u}return e.prototype.load=function(e){return this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=Object(i.e)(e.split("#"),2),o=r[0],a=r[1];return void 0===a&&(a="default"),n("crnd")(o).then((function(e){return e[a]})).then((function(e){return Qu(e,o,a)})).then((function(e){return t._compiler.compileModuleAsync(e)}))},e.prototype.loadFactory=function(e){var t=Object(i.e)(e.split("#"),2),r=t[0],o=t[1],a="NgFactory";return void 0===o&&(o="default",a=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(e){return e[o+a]})).then((function(e){return Qu(e,r,o)}))},e.\u0275fac=function(t){return new(t||e)(ie(wu),ie(Zu,8))},e.\u0275prov=y({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function Qu(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var Xu=function(e){return null},Ku=Vu(null,"core",[{provide:cu,useValue:"unknown"},{provide:Yu,deps:[jo]},{provide:Iu,deps:[]},{provide:lu,deps:[]}]),Ju=[{provide:Hu,useClass:Hu,deps:[zu,lu,jo,Tn,Cs,iu]},{provide:ec,deps:[zu],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:iu,useClass:iu,deps:[[new d,nu]]},{provide:wu,useClass:wu,deps:[]},ou,{provide:Ys,useFactory:function(){return Ws},deps:[]},{provide:Us,useFactory:function(){return qs},deps:[]},{provide:pu,useFactory:function(e){return hc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new h(pu),new d,new g]]},{provide:hu,useValue:"USD"}],el=function(){function e(e){}return e.\u0275mod=ke({type:e}),e.\u0275inj=w({factory:function(t){return new(t||e)(ie(Hu))},providers:Ju}),e}()},TirB:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("1QEH"),r=n("rWdj"),o=n("t3R0"),a=n("WXJZ"),s=n("zpYP"),c=n("EMzn"),u=n("4suF"),l=n("19Hc"),p=n("LViu"),h=n("51nL"),d=n("axIb"),f=n("Mbdf");function g(e,t){Object(s.a)(e)&&Object(s.a)(e.__schema)||Object(o.a)(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '+Object(r.a)(e));for(var n=e.__schema,g=Object(a.a)(n.types,(function(e){return e.name}),(function(e){return function(e){if(e&&e.name&&e.kind)switch(e.kind){case p.TypeKind.SCALAR:return new d.g({name:(n=e).name,description:n.description});case p.TypeKind.OBJECT:return function(e){if(!e.interfaces)throw new Error("Introspection result missing interfaces: "+Object(r.a)(e));return new d.f({name:e.name,description:e.description,interfaces:function(){return e.interfaces.map(_)},fields:function(){return k(e)}})}(e);case p.TypeKind.INTERFACE:return new d.c({name:(t=e).name,description:t.description,fields:function(){return k(t)}});case p.TypeKind.UNION:return function(e){if(!e.possibleTypes)throw new Error("Introspection result missing possibleTypes: "+Object(r.a)(e));return new d.h({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(T)}})}(e);case p.TypeKind.ENUM:return function(e){if(!e.enumValues)throw new Error("Introspection result missing enumValues: "+Object(r.a)(e));return new d.a({name:e.name,description:e.description,values:Object(a.a)(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case p.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields)throw new Error("Introspection result missing inputFields: "+Object(r.a)(e));return new d.b({name:e.name,description:e.description,fields:function(){return D(e.inputFields)}})}(e)}var t,n;throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema:"+Object(r.a)(e))}(e)})),b=0,m=[].concat(l.g,p.introspectionTypes);b0)return{errors:d};try{t=Object(a.a)(i)}catch(Ke){return{errors:[Ke]}}var f=Object(s.c)(n,t);return f.length>0?{errors:f}:_({schema:n,document:t,rootValue:r,contextValue:o,variableValues:u,operationName:l,fieldResolver:p,typeResolver:h})}var ee=n("51nL"),te=n("19Hc"),ne=n("neE4"),ie=n("y4cC"),re=n("zsKT"),oe=n("CbW8"),ae=n("JvOi"),se=n("dQau"),ce=n("L2ys"),ue=n("F8X2"),le=n("Xizt");function pe(e,t){return new Promise((function(n){return n(t(e))}))}function he(e){return{value:e,done:!1}}function de(e,t,n,i,r,o,a,s){return ge(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:i,variableValues:r,operationName:o,fieldResolver:a,subscribeFieldResolver:s})}function fe(e){if(e instanceof m.a)return{errors:[e]};throw e}function ge(e){var t=e.schema,n=e.document,i=e.contextValue,r=e.variableValues,o=e.operationName,a=e.fieldResolver,s=be(t,n,e.rootValue,i,r,o,e.subscribeFieldResolver),c=function(e){return _(t,n,e,i,r,o,a)};return s.then((function(e){return Object(u.d)(e)?function(e,t,n){var i,r,o,a,s,c,l=Object(u.c)(e);function p(e){return e.done?e:pe(e.value,t).then(he,r)}if("function"==typeof l.return&&(i=l.return,r=function(e){var t=function(){return Promise.reject(e)};return i.call(l).then(t,t)}),n){var h=n;o=function(e){return pe(e,h).then(he,r)}}return c=function(){return this},(s=u.a)in(a={next:function(){return l.next().then(p,o)},return:function(){return i?i.call(l).then(p,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"==typeof l.throw?l.throw(e).then(p,o):Promise.reject(e).catch(r)}})?Object.defineProperty(a,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[s]=c,a}(e,c,fe):e}))}function be(e,t,n,i,r,o,a){D(e,t,r);try{var s=x(e,t,n,i,r,o,a);if(Array.isArray(s))return Promise.resolve({errors:s});var c=z(e,s.operation),p=N(s,c,s.operation.selectionSet,Object.create(null),Object.create(null)),h=Object.keys(p)[0],d=p[h],f=d[0].name.value,g=Q(e,c,f);if(!g)throw new m.a('The subscription field "'.concat(f,'" is not defined.'),d);var y=g.subscribe||s.fieldResolver,w=Object(b.a)(void 0,h),O=M(s,g,d,c,w),C=L(s,g,d,y,n,O);return Promise.resolve(C).then((function(e){if(e instanceof Error)return{errors:[v(e,d,Object(b.b)(w))]};if(Object(u.d)(e))return e;throw new Error("Subscription field must return Async Iterable. Received: "+Object(l.a)(e))}))}catch(S){return S instanceof m.a?Promise.resolve({errors:[S]}):Promise.reject(S)}}var me=n("jOXf"),ve=n("FQ53"),ye=n("ZfCc"),we=n("sdW/"),Oe=n("2Rkc"),Ce=n("y8IY"),Se=n("VlWk"),ze=n("E++1"),Te=n("10sW"),_e=n("g4S7"),ke=n("AeAO"),De=n("PmNC"),xe=n("ZBm+"),Ee=n("A67W"),Ne=n("r60r"),je=n("FduV"),Ie=n("Vuqn"),Ae=n("2/d+"),Me=n("gggk"),Le=n("/C/i"),Pe=n("sA7U"),Fe=n("lORA"),Re=n("dwPZ"),Ve=n("v96Q"),Be=n("U4FY"),Ye=n("AW/X"),Ue=n("0xor"),He=n("cfc+"),We=n("AF4T"),qe=n("+zUi"),Ze=n("pLY/"),$e=n("wpgB"),Ge=n("iyJ7"),Qe=n("herJ"),Xe=n("OO9G"),Ke=n("oycr");function Je(e){e||Object(h.a)(0,"Received null or undefined error.");var t=e.message||"An unknown error occurred.",n=e.locations,i=e.path,r=e.extensions;return r?{message:t,locations:n,path:i,extensions:r}:{message:t,locations:n,path:i}}var et=n("PDj5"),tt=n("SYjR");function nt(e,t){var n=_(e,Object(a.a)(Object(et.a)(t)));return!o(n)&&!n.errors&&n.data||Object(p.a)(0),n.data}var it=n("TirB"),rt=n("Yen0"),ot=n("PXbX"),at=n("1QEH"),st=n("Wzjs"),ct=n("WXJZ");function ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function lt(e){for(var t=1;t0&&(a+=' at "value'.concat(Object(_t.a)(s),'"')),r.push(new m.a(a+": "+o.message,n,void 0,void 0,void 0,o.originalError))}));return r.length>0?{errors:r,value:void 0}:{errors:void 0,value:o}}function Dt(e,t){var n=kt(e,t).errors;return n?n.map((function(e){return e.message})):[]}function xt(e,t){var n=new ee.a({}),i={kind:y.a.DOCUMENT,definitions:[]},r=new zt.a(n,void 0,e),o=new me.b(n,i,r),a=Object(Ye.a)(o);return Object(ce.c)(t,Object(ce.e)(r,a)),o.getErrors()}function Et(e){return{kind:"Document",definitions:Object(ot.a)(e,(function(e){return e.definitions}))}}function Nt(e){var t,n=[],i=Object.create(null),r=new Map,o=Object.create(null),a=0;Object(ce.c)(e,{OperationDefinition:function(e){t=jt(e),n.push(e),r.set(e,a++)},FragmentDefinition:function(e){i[t=e.name.value]=e,r.set(e,a++)},FragmentSpread:function(e){var n=e.name.value;(o[t]||(o[t]=Object.create(null)))[n]=!0}});for(var s=Object.create(null),c=0;c0&&(n="\n"+n);var r=n[n.length-1];return('"'===r&&'\\"""'!==n.slice(-4)||"\\"===r)&&(n+="\n"),'"""'+n+'"""'}var Pt=n("sJV+"),Ft=n("5PMP"),Rt=n("kBjl");function Vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yt=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",INTERFACE_REMOVED_FROM_OBJECT:"INTERFACE_REMOVED_FROM_OBJECT",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),Ut=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",INTERFACE_ADDED_TO_OBJECT:"INTERFACE_ADDED_TO_OBJECT",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function Ht(e,t){return qt(e,t).filter((function(e){return e.type in Yt}))}function Wt(e,t){return qt(e,t).filter((function(e){return e.type in Ut}))}function qt(e,t){return[].concat(function(e,t){for(var n=[],i=rn(Object(at.a)(e.getTypeMap()),Object(at.a)(t.getTypeMap())),r=0,o=i.removed;rthis.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new r(e,t)}setEnd(e,t){this.end=new r(e,t)}}class r{constructor(e,t){this.lessThanOrEqualTo=e=>this.line0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=b(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,i){var r=this.prepareExternalUrl(n+v(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)},t.prototype.replaceState=function(e,t,n,i){var r=this.prepareExternalUrl(n+v(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t.\u0275fac=function(e){return new(e||t)(r.dc(l),r.dc(O,8))},t.\u0275prov=r.Pb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(y),z=function(){function e(e,t){var n=this;this._subject=new r.n,this._urlChangeListeners=[],this._platformStrategy=e;var i=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=m(_(i)),this._platformStrategy.onPopState((function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})}))}var t;return t=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.getState=function(){return this._platformLocation.getState()},e.prototype.isCurrentPathEqualTo=function(e,t){return void 0===t&&(t=""),this.path()==this.normalize(e+v(t))},e.prototype.normalize=function(e){return t.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,_(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)},e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+v(t)),n)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.onUrlChange=function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))},e.prototype._notifyUrlChangeListeners=function(e,t){void 0===e&&(e=""),this._urlChangeListeners.forEach((function(n){return n(e,t)}))},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=v,e.joinWithSlash=b,e.stripTrailingSlash=m,e.\u0275prov=Object(r.Pb)({factory:T,token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(r.dc(y),r.dc(l))},e}();function T(){return new z(Object(r.dc)(y),Object(r.dc)(l))}function _(e){return e.replace(/\/index.html$/,"")}var k={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},D=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),x=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),E=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),N=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),j=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),I=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function A(e,t){return B(Object(r.mb)(e)[r.cb.DateFormat],t)}function M(e,t){return B(Object(r.mb)(e)[r.cb.TimeFormat],t)}function L(e,t){return B(Object(r.mb)(e)[r.cb.DateTimeFormat],t)}function P(e,t){var n=Object(r.mb)(e),i=n[r.cb.NumberSymbols][t];if(void 0===i){if(t===I.CurrencyDecimal)return n[r.cb.NumberSymbols][I.Decimal];if(t===I.CurrencyGroup)return n[r.cb.NumberSymbols][I.Group]}return i}function F(e,t){return Object(r.mb)(e)[r.cb.NumberFormats][t]}var R=r.pb;function V(e){if(!e[r.cb.ExtraData])throw new Error('Missing extra locale data for the locale "'+e[r.cb.LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function B(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function Y(e){var t=Object(i.e)(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var U=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,H={},W=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,q=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),Z=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),$=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function G(e,t,n,o){var a=function(e){if(re(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,n=parseFloat(e);if(!isNaN(e-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var r=Object(i.e)(e.split("-").map((function(e){return+e})),3);return new Date(r[0],r[1]-1,r[2])}if(t=e.match(U))return function(e){var t=new Date(0),n=0,i=0,r=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-i,c=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,c,u),t}(t)}var o=new Date(e);if(!re(o))throw new Error('Unable to convert "'+e+'" into a date');return o}(e);t=function e(t,n){var i=function(e){return Object(r.mb)(e)[r.cb.LocaleId]}(t);if(H[i]=H[i]||{},H[i][n])return H[i][n];var o="";switch(n){case"shortDate":o=A(t,j.Short);break;case"mediumDate":o=A(t,j.Medium);break;case"longDate":o=A(t,j.Long);break;case"fullDate":o=A(t,j.Full);break;case"shortTime":o=M(t,j.Short);break;case"mediumTime":o=M(t,j.Medium);break;case"longTime":o=M(t,j.Long);break;case"fullTime":o=M(t,j.Full);break;case"short":var a=e(t,"shortTime"),s=e(t,"shortDate");o=Q(L(t,j.Short),[a,s]);break;case"medium":var c=e(t,"mediumTime"),u=e(t,"mediumDate");o=Q(L(t,j.Medium),[c,u]);break;case"long":var l=e(t,"longTime"),p=e(t,"longDate");o=Q(L(t,j.Long),[l,p]);break;case"full":var h=e(t,"fullTime"),d=e(t,"fullDate");o=Q(L(t,j.Full),[h,d])}return o&&(H[i][n]=o),o}(n,t)||t;for(var s,c=[];t;){if(!(s=W.exec(t))){c.push(t);break}var u=(c=c.concat(s.slice(1))).pop();if(!u)break;t=u}var l=a.getTimezoneOffset();o&&(l=ie(o,l),a=function(e,t,n){var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ie(t,i)-i))}(a,o));var p="";return c.forEach((function(e){var t=function(e){if(ne[e])return ne[e];var t;switch(e){case"G":case"GG":case"GGG":t=J($.Eras,N.Abbreviated);break;case"GGGG":t=J($.Eras,N.Wide);break;case"GGGGG":t=J($.Eras,N.Narrow);break;case"y":t=K(Z.FullYear,1,0,!1,!0);break;case"yy":t=K(Z.FullYear,2,0,!0,!0);break;case"yyy":t=K(Z.FullYear,3,0,!1,!0);break;case"yyyy":t=K(Z.FullYear,4,0,!1,!0);break;case"M":case"L":t=K(Z.Month,1,1);break;case"MM":case"LL":t=K(Z.Month,2,1);break;case"MMM":t=J($.Months,N.Abbreviated);break;case"MMMM":t=J($.Months,N.Wide);break;case"MMMMM":t=J($.Months,N.Narrow);break;case"LLL":t=J($.Months,N.Abbreviated,E.Standalone);break;case"LLLL":t=J($.Months,N.Wide,E.Standalone);break;case"LLLLL":t=J($.Months,N.Narrow,E.Standalone);break;case"w":t=te(1);break;case"ww":t=te(2);break;case"W":t=te(1,!0);break;case"d":t=K(Z.Date,1);break;case"dd":t=K(Z.Date,2);break;case"E":case"EE":case"EEE":t=J($.Days,N.Abbreviated);break;case"EEEE":t=J($.Days,N.Wide);break;case"EEEEE":t=J($.Days,N.Narrow);break;case"EEEEEE":t=J($.Days,N.Short);break;case"a":case"aa":case"aaa":t=J($.DayPeriods,N.Abbreviated);break;case"aaaa":t=J($.DayPeriods,N.Wide);break;case"aaaaa":t=J($.DayPeriods,N.Narrow);break;case"b":case"bb":case"bbb":t=J($.DayPeriods,N.Abbreviated,E.Standalone,!0);break;case"bbbb":t=J($.DayPeriods,N.Wide,E.Standalone,!0);break;case"bbbbb":t=J($.DayPeriods,N.Narrow,E.Standalone,!0);break;case"B":case"BB":case"BBB":t=J($.DayPeriods,N.Abbreviated,E.Format,!0);break;case"BBBB":t=J($.DayPeriods,N.Wide,E.Format,!0);break;case"BBBBB":t=J($.DayPeriods,N.Narrow,E.Format,!0);break;case"h":t=K(Z.Hours,1,-12);break;case"hh":t=K(Z.Hours,2,-12);break;case"H":t=K(Z.Hours,1);break;case"HH":t=K(Z.Hours,2);break;case"m":t=K(Z.Minutes,1);break;case"mm":t=K(Z.Minutes,2);break;case"s":t=K(Z.Seconds,1);break;case"ss":t=K(Z.Seconds,2);break;case"S":t=K(Z.FractionalSeconds,1);break;case"SS":t=K(Z.FractionalSeconds,2);break;case"SSS":t=K(Z.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ee(q.Short);break;case"ZZZZZ":t=ee(q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ee(q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ee(q.Long);break;default:return null}return ne[e]=t,t}(e);p+=t?t(a,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),p}function Q(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function X(e,t,n,i,r){void 0===n&&(n="-");var o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=n));for(var a=String(e);a.length0||c>-n)&&(c+=n),e===Z.Hours)0===c&&-12===n&&(c=12);else if(e===Z.FractionalSeconds)return s=t,X(c,3).substr(0,s);var u=P(a,I.MinusSign);return X(c,t,u,i,r)}}function J(e,t,n,i){return void 0===n&&(n=E.Format),void 0===i&&(i=!1),function(o,a){return function(e,t,n,i,o,a){switch(n){case $.Months:return function(e,t,n){var i=Object(r.mb)(e),o=B([i[r.cb.MonthsFormat],i[r.cb.MonthsStandalone]],t);return B(o,n)}(t,o,i)[e.getMonth()];case $.Days:return function(e,t,n){var i=Object(r.mb)(e),o=B([i[r.cb.DaysFormat],i[r.cb.DaysStandalone]],t);return B(o,n)}(t,o,i)[e.getDay()];case $.DayPeriods:var s=e.getHours(),c=e.getMinutes();if(a){var u,l=function(e){var t=Object(r.mb)(e);return V(t),(t[r.cb.ExtraData][2]||[]).map((function(e){return"string"==typeof e?Y(e):[Y(e[0]),Y(e[1])]}))}(t),p=function(e,t,n){var i=Object(r.mb)(e);V(i);var o=B([i[r.cb.ExtraData][0],i[r.cb.ExtraData][1]],t)||[];return B(o,n)||[]}(t,o,i);if(l.forEach((function(e,t){if(Array.isArray(e)){var n=e[0],i=e[1],r=i.hours;s>=n.hours&&c>=n.minutes&&(s0?Math.floor(r/60):Math.ceil(r/60);switch(e){case q.Short:return(r>=0?"+":"")+X(a,2,o)+X(Math.abs(r%60),2,o);case q.ShortGMT:return"GMT"+(r>=0?"+":"")+X(a,1,o);case q.Long:return"GMT"+(r>=0?"+":"")+X(a,2,o)+":"+X(Math.abs(r%60),2,o);case q.Extended:return 0===i?"Z":(r>=0?"+":"")+X(a,2,o)+":"+X(Math.abs(r%60),2,o);default:throw new Error('Unknown zone width "'+e+'"')}}}function te(e,t){return void 0===t&&(t=!1),function(n,i){var r,o,a,s;if(t){var c=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();r=1+Math.floor((u+c)/7)}else{var l=(a=n.getFullYear(),s=new Date(a,0,1).getDay(),new Date(a,0,1+(s<=4?4:11)-s)),p=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(4-o.getDay()))).getTime()-l.getTime();r=1+Math.round(p/6048e5)}return X(r,e,P(i,I.MinusSign))}}var ne={};function ie(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function re(e){return e instanceof Date&&!isNaN(e.valueOf())}var oe=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ae(e,t,n,i,r,o,a){void 0===a&&(a=!1);var s="",c=!1;if(isFinite(e)){var u=function(e){var t,n,i,r,o,a=Math.abs(e)+"",s=0;for((n=a.indexOf("."))>-1&&(a=a.replace(".","")),(i=a.search(/e/i))>0?(n<0&&(n=i),n+=+a.slice(i+1),a=a.substring(0,i)):n<0&&(n=a.length),i=0;"0"===a.charAt(i);i++);if(i===(o=a.length))t=[0],n=1;else{for(o--;"0"===a.charAt(o);)o--;for(n-=i,t=[],r=0;i<=o;i++,r++)t[r]=Number(a.charAt(i))}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}(e);a&&(u=function(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(u));var l=t.minInt,p=t.minFrac,h=t.maxFrac;if(o){var d=o.match(oe);if(null===d)throw new Error(o+" is not a valid digit info");var f=d[1],g=d[3],b=d[5];null!=f&&(l=ce(f)),null!=g&&(p=ce(g)),null!=b?h=ce(b):null!=g&&p>h&&(h=p)}!function(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+n+").");var i=e.digits,r=i.length-e.integerLen,o=Math.min(Math.max(t,r),n),a=o+e.integerLen,s=i[a];if(a>0){i.splice(Math.max(e.integerLen,a));for(var c=a;c=5)if(a-1<0){for(var l=0;l>a;l--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[a-1]++;for(;r=h?i.pop():p=!1),t>=10?1:0}),0);d&&(i.unshift(d),e.integerLen++)}(u,p,h);var m=u.digits,v=u.integerLen,y=u.exponent,w=[];for(c=m.every((function(e){return!e}));v0?w=m.splice(v,m.length):(w=m,m=[0]);var O=[];for(m.length>=t.lgSize&&O.unshift(m.splice(-t.lgSize,m.length).join(""));m.length>t.gSize;)O.unshift(m.splice(-t.gSize,m.length).join(""));m.length&&O.unshift(m.join("")),s=O.join(P(n,i)),w.length&&(s+=P(n,r)+w.join("")),y&&(s+=P(n,I.Exponential)+"+"+y)}else s=P(n,I.Infinity);return e<0&&!c?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function se(e,t){void 0===t&&(t="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],o=i[1],a=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=a[0],c=a[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var u=0;u-1)return r;if(r=n.getPluralCategory(e,i),t.indexOf(r)>-1)return r;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+e+'"')}var pe=function(e){function t(t){var n=e.call(this)||this;return n.locale=t,n}return Object(i.c)(t,e),t.prototype.getPluralCategory=function(e,t){switch(R(t||this.locale)(e)){case x.Zero:return"zero";case x.One:return"one";case x.Two:return"two";case x.Few:return"few";case x.Many:return"many";default:return"other"}},t.\u0275fac=function(e){return new(e||t)(r.dc(r.u))},t.\u0275prov=r.Pb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(ue);function he(e,t,n){return Object(r.wb)(e,t,n)}function de(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=Object(i.h)(e.split(";")),a=o.next();!a.done;a=o.next()){var s=a.value,c=s.indexOf("="),u=Object(i.e)(-1==c?[s,""]:[s.slice(0,c),s.slice(c+1)],2),l=u[1];if(u[0].trim()===t)return decodeURIComponent(l)}}catch(p){n={error:p}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}var fe=function(){function e(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r.sb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r.yb)(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.s),r.Tb(r.t),r.Tb(r.l),r.Tb(r.E))},e.\u0275dir=r.Ob({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),ge=function(){function e(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return e.prototype.ngOnChanges=function(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=t.get(r.x);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var i=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(r.j)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,t,this.ngComponentOutletContent)}},e.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.Q))},e.\u0275dir=r.Ob({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r.Bb]}),e}(),be=function(){function e(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),me=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(r.X)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation((function(e,i,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new be(null,t._ngForOf,-1,-1),null===r?void 0:r),a=new ve(e,o);n.push(a)}else null==r?t._viewContainer.remove(null===i?void 0:i):null!==i&&(o=t._viewContainer.get(i),t._viewContainer.move(o,r),a=new ve(e,o),n.push(a))}));for(var i=0;i=15&&(p=!1,c=!0);var C=v&&(u||p&&(null==O||O<12.11)),S=n||a&&s>=9;function z(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var T,_=function(e,t){var n=e.className,i=z(t).exec(n);if(i){var r=n.slice(i.index+i[0].length);e.className=n.slice(0,i.index)+(r?i[1]+r:"")}};function k(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function D(e,t){return k(e).appendChild(t)}function x(e,t,n,i){var r=document.createElement(e);if(n&&(r.className=n),i&&(r.style.cssText=i),"string"==typeof t)r.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}g?M=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(M=function(e){try{e.select()}catch(t){}});var R=function(){this.id=null,this.f=null,this.time=0,this.handler=L(this.onTimeout,this)};function V(e,t){for(var n=0;n=t)return i+Math.min(a,t-r);if(r+=o-i,i=o+1,(r+=n-r%n)>=t)return i}}var q=[""];function Z(e){for(;q.length<=e;)q.push($(q)+" ");return q[e]}function $(e){return e[e.length-1]}function G(e,t){for(var n=[],i=0;i"\x80"&&(e.toUpperCase()!=e.toLowerCase()||K.test(e))}function ee(e,t){return t?!!(t.source.indexOf("\\w")>-1&&J(e))||t.test(e):J(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ie(e){return e.charCodeAt(0)>=768&&ne.test(e)}function re(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var r=(t+n)/2,o=i<0?Math.ceil(r):Math.floor(r);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+i}}var ae=null;function se(e,t,n){var i;ae=null;for(var r=0;rt)return r;o.to==t&&(o.from!=o.to&&"before"==n?i=r:ae=r),o.from==t&&(o.from!=o.to&&"before"!=n?i=r:ae=r)}return null!=i?i:ae}var ce=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,n=/[LRr]/,i=/[Lb1n]/,r=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var c="ltr"==s?"L":"R";if(0==a.length||"ltr"==s&&!e.test(a))return!1;for(var u,l=a.length,p=[],h=0;h-1&&(i[t]=r.slice(0,o).concat(r.slice(o+1)))}}}function fe(e,t){var n=he(e,t);if(n.length)for(var i=Array.prototype.slice.call(arguments,2),r=0;r0}function ve(e){e.prototype.on=function(e,t){pe(this,e,t)},e.prototype.off=function(e,t){de(this,e,t)}}function ye(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function we(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Oe(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ce(e){ye(e),we(e)}function Se(e){return e.target||e.srcElement}function ze(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),v&&e.ctrlKey&&1==t&&(t=3),t}var Te,_e,ke=function(){if(a&&s<9)return!1;var e=x("div");return"draggable"in e||"dragDrop"in e}();function De(e){if(null==Te){var t=x("span","\u200b");D(e,x("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Te=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=Te?x("span","\u200b"):x("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function xe(e){if(null!=_e)return _e;var t=D(e,document.createTextNode("A\u062eA")),n=T(t,0,1).getBoundingClientRect(),i=T(t,1,2).getBoundingClientRect();return k(e),!(!n||n.left==n.right)&&(_e=i.right-n.right<3)}var Ee,Ne=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],i=e.length;t<=i;){var r=e.indexOf("\n",t);-1==r&&(r=e.length);var o=e.slice(t,"\r"==e.charAt(r-1)?r-1:r),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=r+1)}return n}:function(e){return e.split(/\r\n?|\n/)},je=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(Ee){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(Ee){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Ie="oncopy"in(Ee=x("div"))||(Ee.setAttribute("oncopy","return;"),"function"==typeof Ee.oncopy),Ae=null,Me={},Le={};function Pe(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Me[e]=t}function Fe(e){if("string"==typeof e&&Le.hasOwnProperty(e))e=Le[e];else if(e&&"string"==typeof e.name&&Le.hasOwnProperty(e.name)){var t=Le[e.name];"string"==typeof t&&(t={name:t}),(e=X(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Fe("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Fe("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Re(e,t){t=Fe(t);var n=Me[t.name];if(!n)return Re(e,"text/plain");var i=n(e,t);if(Ve.hasOwnProperty(t.name)){var r=Ve[t.name];for(var o in r)r.hasOwnProperty(o)&&(i.hasOwnProperty(o)&&(i["_"+o]=i[o]),i[o]=r[o])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)i[a]=t.modeProps[a];return i}var Ve={};function Be(e,t){P(t,Ve.hasOwnProperty(e)?Ve[e]:Ve[e]={})}function Ye(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var i in t){var r=t[i];r instanceof Array&&(r=r.concat([])),n[i]=r}return n}function Ue(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function He(e,t,n){return!e.startState||e.startState(t,n)}var We=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function qe(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var i=0;;++i){var r=n.children[i],o=r.chunkSize();if(t=e.first&&tn?et(n,qe(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?et(e.line,t):n<0?et(e.line,0):e}(t,qe(e,t.line).text.length)}function ct(e,t){for(var n=[],i=0;i=this.string.length},We.prototype.sol=function(){return this.pos==this.lineStart},We.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},We.prototype.next=function(){if(this.post},We.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},We.prototype.skipToEnd=function(){this.pos=this.string.length},We.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},We.prototype.backUp=function(e){this.pos-=e},We.prototype.column=function(){return this.lastColumnPos0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}var r=function(e){return n?e.toLowerCase():e};if(r(this.string.substr(this.pos,e.length))==r(e))return!1!==t&&(this.pos+=e.length),!0},We.prototype.current=function(){return this.string.slice(this.start,this.pos)},We.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},We.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},We.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ut=function(e,t){this.state=e,this.lookAhead=t},lt=function(e,t,n,i){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};function pt(e,t,n,i){var r=[e.state.modeGen],o={};wt(e,t.text,e.doc.mode,n,(function(e,t){return r.push(e,t)}),o,i);for(var a=n.state,s=function(i){n.baseTokens=r;var s=e.state.overlays[i],c=1,u=0;n.state=!0,wt(e,t.text,s.mode,n,(function(e,t){for(var n=c;ue&&r.splice(c,1,e,r[c+1],i),c+=2,u=Math.min(e,i)}if(t)if(s.opaque)r.splice(n,c-n,e,"overlay "+t),c=n+2;else for(;ne.options.maxHighlightLength&&Ye(e.doc.mode,i.state),o=pt(e,t,i);r&&(i.state=r),t.stateAfter=i.save(!r),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function dt(e,t,n){var i=e.doc,r=e.display;if(!i.mode.startState)return new lt(i,!0,t);var o=function(e,t,n){for(var i,r,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var c=qe(o,s-1),u=c.stateAfter;if(u&&(!n||s+(u instanceof ut?u.lookAhead:0)<=o.modeFrontier))return s;var l=F(c.text,null,e.options.tabSize);(null==r||i>l)&&(r=s-1,i=l)}return r}(e,t,n),a=o>i.first&&qe(i,o-1).stateAfter,s=a?lt.fromSaved(i,a,o):new lt(i,He(i.mode),o);return i.iter(o,t,(function(n){ft(e,n.text,s);var i=s.line;n.stateAfter=i==t-1||i%5==0||i>=r.viewFrom&&it.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}lt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},lt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},lt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},lt.fromSaved=function(e,t,n){return t instanceof ut?new lt(e,Ye(e.mode,t.state),n,t.lookAhead):new lt(e,Ye(e.mode,t),n)},lt.prototype.save=function(e){var t=!1!==e?Ye(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ut(t,this.maxLookAhead):t};var mt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function vt(e,t,n,i){var r,o,a=e.doc,s=a.mode,c=qe(a,(t=st(a,t)).line),u=dt(e,t.line,n),l=new We(c.text,e.options.tabSize,u);for(i&&(o=[]);(i||l.pose.options.maxHighlightLength?(s=!1,a&&ft(e,t,i,p.pos),p.pos=t.length,c=null):c=yt(bt(n,p,i.state,h),o),h){var d=h[0].name;d&&(c="m-"+(c?d+" "+c:d))}if(!s||l!=c){for(;u=t:o.to>t)?null:o.to))}return i}(n,r,a),c=function(e,t,n){var i;if(e)for(var r=0;r=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft))&&(i||(i=[])).push(new St(a,null==o.from||(a.inclusiveLeft?o.from<=t:o.from0&&s)for(var y=0;yt)&&(!n||jt(n,o.marker)<0)&&(n=o.marker)}return n}function Pt(e,t,n,i,r){var o=qe(e,t),a=Ct&&o.markedSpans;if(a)for(var s=0;s=0&&p<=0||l<=0&&p>=0)&&(l<=0&&(c.marker.inclusiveRight&&r.inclusiveLeft?tt(u.to,n)>=0:tt(u.to,n)>0)||l>=0&&(c.marker.inclusiveRight&&r.inclusiveLeft?tt(u.from,i)<=0:tt(u.from,i)<0)))return!0}}}function Ft(e){for(var t;t=At(e);)e=t.find(-1,!0).line;return e}function Rt(e,t){var n=qe(e,t),i=Ft(n);return n==i?t:Qe(i)}function Vt(e,t){if(t>e.lastLine())return t;var n,i=qe(e,t);if(!Bt(e,i))return t;for(;n=Mt(i);)i=n.find(1,!0).line;return Qe(i)+1}function Bt(e,t){var n=Ct&&t.markedSpans;if(n)for(var i=void 0,r=0;rt.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var qt=function(e,t,n){this.text=e,xt(this,t),this.height=n?n(this):1};function Zt(e){e.parent=null,Dt(e)}qt.prototype.lineNo=function(){return Qe(this)},ve(qt);var $t={},Gt={};function Qt(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Gt:$t;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Xt(e,t){var n=E("span",null,null,c?"padding-right: .1px":null),i={pre:E("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var r=0;r<=(t.rest?t.rest.length:0);r++){var o=r?t.rest[r-1]:t.line,a=void 0;i.pos=0,i.addToken=Jt,xe(e.display.measure)&&(a=ue(o,e.doc.direction))&&(i.addToken=en(i.addToken,a)),i.map=[],nn(o,i,ht(e,o,t!=e.display.externalMeasured&&Qe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(i.bgClass=A(o.styleClasses.bgClass,i.bgClass||"")),o.styleClasses.textClass&&(i.textClass=A(o.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(De(e.display.measure))),0==r?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(c){var s=i.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return fe(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=A(i.pre.className,i.textClass||"")),i}function Kt(e){var t=x("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Jt(e,t,n,i,r,o,c){if(t){var u,l=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,i="",r=0;ru&&p.from<=u);h++);if(p.to>=l)return e(n,i,r,o,a,s,c);e(n,i.slice(0,p.to-u),r,o,null,s,c),o=null,i=i.slice(p.to-u),u=p.to}}}function tn(e,t,n,i){var r=!i&&n.widgetNode;r&&e.map.push(e.pos,e.pos+t,r),!i&&e.cm.display.input.needsContentAttribute&&(r||(r=e.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",n.id)),r&&(e.cm.display.input.setUneditable(r),e.content.appendChild(r)),e.pos+=t,e.trailingSpace=!1}function nn(e,t,n){var i=e.markedSpans,r=e.text,o=0;if(i)for(var a,s,c,u,l,p,h,d=r.length,f=0,g=1,b="",m=0;;){if(m==f){c=u=l=s="",h=null,p=null,m=1/0;for(var v=[],y=void 0,w=0;wf||C.collapsed&&O.to==f&&O.from==f)){if(null!=O.to&&O.to!=f&&m>O.to&&(m=O.to,u=""),C.className&&(c+=" "+C.className),C.css&&(s=(s?s+";":"")+C.css),C.startStyle&&O.from==f&&(l+=" "+C.startStyle),C.endStyle&&O.to==m&&(y||(y=[])).push(C.endStyle,O.to),C.title&&((h||(h={})).title=C.title),C.attributes)for(var S in C.attributes)(h||(h={}))[S]=C.attributes[S];C.collapsed&&(!p||jt(p.marker,C)<0)&&(p=O)}else O.from>f&&m>O.from&&(m=O.from)}if(y)for(var z=0;z=d)break;for(var _=Math.min(d,m);;){if(b){var k=f+b.length;if(!p){var D=k>_?b.slice(0,_-f):b;t.addToken(t,D,a?a+c:c,l,f+D.length==m?u:"",s,h)}if(k>=_){b=b.slice(_-f),f=_;break}f=k,l=""}b=r.slice(o,o=n[g++]),a=Qt(n[g++],t.cm.options)}}else for(var x=1;xn)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function En(e,t,n,i){return In(e,jn(e,t),n,i)}function Nn(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&o.push((c.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,i){var r,o=Ln(t.map,n,i),c=o.node,u=o.start,l=o.end,p=o.collapse;if(3==c.nodeType){for(var h=0;h<4;h++){for(;u&&ie(t.line.text.charAt(o.coverStart+u));)--u;for(;o.coverStart+l1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*i,bottom:t.bottom*i}}(e.display.measure,r))}else{var d;u>0&&(p=i="right"),r=e.options.lineWrapping&&(d=c.getClientRects()).length>1?d["right"==i?d.length-1:0]:c.getBoundingClientRect()}if(a&&s<9&&!u&&(!r||!r.left&&!r.right)){var f=c.parentNode.getClientRects()[0];r=f?{left:f.left,right:f.left+ri(e.display),top:f.top,bottom:f.bottom}:Mn}for(var g=r.top-t.rect.top,b=r.bottom-t.rect.top,m=(g+b)/2,v=t.view.measure.heights,y=0;yt)&&(r=(o=c-s)-1,t>=c&&(a="right")),null!=r){if(i=e[u+2],s==c&&n==(i.insertLeft?"left":"right")&&(a=n),"left"==n&&0==r)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)i=e[2+(u-=3)],a="left";if("right"==n&&r==c-s)for(;u=0&&(n=e[r]).left==n.right;r--);return n}function Fn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=i.text.length?(c=i.text.length,u="before"):c<=0&&(c=0,u="after"),!s)return a("before"==u?c-1:c,"before"==u);function l(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var p=se(s,c,u),h=ae,d=l(c,p,"before"==u);return null!=h&&(d.other=l(c,h,"before"!=u)),d}function $n(e,t){var n=0;t=st(e.doc,t),e.options.lineWrapping||(n=ri(e.display)*t.ch);var i=qe(e.doc,t.line),r=Ut(i)+Sn(e.display);return{left:n,right:n,top:r,bottom:r+i.height}}function Gn(e,t,n,i,r){var o=et(e,t,n);return o.xRel=r,i&&(o.outside=i),o}function Qn(e,t,n){var i=e.doc;if((n+=e.display.viewOffset)<0)return Gn(i.first,0,null,-1,-1);var r=Xe(i,n),o=i.first+i.size-1;if(r>o)return Gn(i.first+i.size-1,qe(i,o).text.length,null,1,1);t<0&&(t=0);for(var a=qe(i,r);;){var s=ei(e,a,r,t,n),c=Lt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!c)return s;var u=c.find(1);if(u.line==r)return u;a=qe(i,r=u.line)}}function Xn(e,t,n,i){i-=Un(t);var r=t.text.length,o=oe((function(t){return In(e,n,t-1).bottom<=i}),r,0);return{begin:o,end:r=oe((function(t){return In(e,n,t).top>i}),o,r)}}function Kn(e,t,n,i){return n||(n=jn(e,t)),Xn(e,t,n,Hn(e,t,In(e,n,i),"line").top)}function Jn(e,t,n,i){return!(e.bottom<=n)&&(e.top>n||(i?e.left:e.right)>t)}function ei(e,t,n,i,r){r-=Ut(t);var o=jn(e,t),a=Un(t),s=0,c=t.text.length,u=!0,l=ue(t,e.doc.direction);if(l){var p=(e.options.lineWrapping?ni:ti)(e,t,n,o,l,i,r);s=(u=1!=p.level)?p.from:p.to-1,c=u?p.to:p.from-1}var h,d,f=null,g=null,b=oe((function(t){var n=In(e,o,t);return n.top+=a,n.bottom+=a,!!Jn(n,i,r,!1)&&(n.top<=r&&n.left<=i&&(f=t,g=n),!0)}),s,c),m=!1;if(g){var v=i-g.left=w.bottom?1:0}return Gn(n,b=re(t.text,b,1),d,m,i-h)}function ti(e,t,n,i,r,o,a){var s=oe((function(s){var c=r[s],u=1!=c.level;return Jn(Zn(e,et(n,u?c.to:c.from,u?"before":"after"),"line",t,i),o,a,!0)}),0,r.length-1),c=r[s];if(s>0){var u=1!=c.level,l=Zn(e,et(n,u?c.from:c.to,u?"after":"before"),"line",t,i);Jn(l,o,a,!0)&&l.top>a&&(c=r[s-1])}return c}function ni(e,t,n,i,r,o,a){var s=Xn(e,t,i,a),c=s.begin,u=s.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var l=null,p=null,h=0;h=u||d.to<=c)){var f=In(e,i,1!=d.level?Math.min(u,d.to)-1:Math.max(c,d.from)).right,g=fg)&&(l=d,p=g)}}return l||(l=r[r.length-1]),l.fromu&&(l={from:l.from,to:u,level:l.level}),l}function ii(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==An){An=x("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)An.appendChild(document.createTextNode("x")),An.appendChild(x("br"));An.appendChild(document.createTextNode("x"))}D(e.measure,An);var n=An.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),k(e.measure),n||1}function ri(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=x("span","xxxxxxxxxx"),n=x("pre",[t],"CodeMirror-line-like");D(e.measure,n);var i=t.getBoundingClientRect(),r=(i.right-i.left)/10;return r>2&&(e.cachedCharWidth=r),r||10}function oi(e){for(var t=e.display,n={},i={},r=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+r,i[s]=o.clientWidth}return{fixedPos:ai(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function ai(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function si(e){var t=ii(e.display),n=e.options.lineWrapping,i=n&&Math.max(5,e.display.scroller.clientWidth/ri(e.display)-3);return function(r){if(Bt(e.doc,r))return 0;var o=0;if(r.widgets)for(var a=0;a0&&(c=qe(e.doc,u.line).text).length==u.ch){var l=F(c,c.length,e.options.tabSize)-c.length;u=et(u.line,Math.max(0,Math.round((o-Tn(e.display).left)/ri(e.display))-l))}return u}function li(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,i=0;it)&&(r.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=r.viewTo)Ct&&Rt(e.doc,t)r.viewFrom?di(e):(r.viewFrom+=i,r.viewTo+=i);else if(t<=r.viewFrom&&n>=r.viewTo)di(e);else if(t<=r.viewFrom){var o=fi(e,n,n+i,1);o?(r.view=r.view.slice(o.index),r.viewFrom=o.lineN,r.viewTo+=i):di(e)}else if(n>=r.viewTo){var a=fi(e,t,t,-1);a?(r.view=r.view.slice(0,a.index),r.viewTo=a.lineN):di(e)}else{var s=fi(e,t,t,-1),c=fi(e,n,n+i,1);s&&c?(r.view=r.view.slice(0,s.index).concat(on(e,s.lineN,c.lineN)).concat(r.view.slice(c.index)),r.viewTo+=i):di(e)}var u=r.externalMeasured;u&&(n=r.lineN&&t=i.viewTo)){var o=i.view[li(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==V(a,n)&&a.push(n)}}}function di(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function fi(e,t,n,i){var r,o=li(e,t),a=e.display.view;if(!Ct||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,c=0;c0){if(o==a.length-1)return null;r=s+a[o].size-t,o++}else r=s-t;t+=r,n+=r}for(;Rt(e.doc,n)!=n;){if(o==(i<0?0:a.length-1))return null;n+=i*a[o-(i<0?1:0)].size,o+=i}return{index:o,lineN:n}}function gi(e){for(var t=e.display.view,n=0,i=0;i=e.display.viewTo||s.to().linet||t==n&&a.to==t)&&(i(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),r=!0)}r||i(t,n,"ltr")}(g,n||0,null==i?h:i,(function(e,t,r,p){var b="ltr"==r,m=d(e,b?"left":"right"),v=d(t-1,b?"right":"left"),y=null==n&&0==e,w=null==i&&t==h,O=0==p,C=!g||p==g.length-1;if(v.top-m.top<=3){var S=(u?y:w)&&O?s:(b?m:v).left;l(S,m.top,((u?w:y)&&C?c:(b?v:m).right)-S,m.bottom)}else{var z,T,_,k;b?(z=u&&y&&O?s:m.left,T=u?c:f(e,r,"before"),_=u?s:f(t,r,"after"),k=u&&w&&C?c:v.right):(z=u?f(e,r,"before"):s,T=!u&&y&&O?c:m.right,_=!u&&w&&C?s:v.left,k=u?f(t,r,"after"):c),l(z,m.top,T-z,m.bottom),m.bottom0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Ci(e){e.state.focused||(e.display.input.focus(),zi(e))}function Si(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Ti(e))}),100)}function zi(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(fe(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),c&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Oi(e))}function Ti(e,t){e.state.delayingBlurEvent||(e.state.focused&&(fe(e,"blur",e,t),e.state.focused=!1,_(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function _i(e){for(var t=e.display,n=t.lineDiv.offsetTop,i=0;i.005||h<-.005)&&(Ge(r.line,c),ki(r.line),r.rest))for(var d=0;de.display.sizerWidth){var f=Math.ceil(u/ri(e.display));f>e.display.maxLineLength&&(e.display.maxLineLength=f,e.display.maxLine=r.line,e.display.maxLineChanged=!0)}}}}function ki(e){if(e.widgets)for(var t=0;t=a&&(o=Xe(t,Ut(qe(t,c))-e.wrapper.clientHeight),a=c)}return{from:o,to:Math.max(a,o+1)}}function xi(e,t){var n=e.display,i=ii(e.display);t.top<0&&(t.top=0);var r=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Dn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+zn(n),c=t.bottom>s-i;if(t.topr+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=r&&(a.scrollTop=u)}var l=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=kn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),h=t.right-t.left>p;return h&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.leftp+l-3&&(a.scrollLeft=t.right+(h?0:10)-p),a}function Ei(e,t){null!=t&&(Ii(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Ni(e){Ii(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function ji(e,t,n){null==t&&null==n||Ii(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Ii(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Ai(e,$n(e,t.from),$n(e,t.to),t.margin))}function Ai(e,t,n,i){var r=xi(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-i,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+i});ji(e,r.scrollLeft,r.scrollTop)}function Mi(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||cr(e,{top:t}),Li(e,t,!0),n&&cr(e),ir(e,100))}function Li(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Pi(e,t,n,i){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i||(e.doc.scrollLeft=t,pr(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Fi(e){var t=e.display,n=t.gutters.offsetWidth,i=Math.round(e.doc.height+zn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:i,scrollHeight:i+_n(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Ri=function(e,t,n){this.cm=n;var i=this.vert=x("div",[x("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),r=this.horiz=x("div",[x("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=r.tabIndex=-1,e(i),e(r),pe(i,"scroll",(function(){i.clientHeight&&t(i.scrollTop,"vertical")})),pe(r,"scroll",(function(){r.clientWidth&&t(r.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ri.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;return n?(this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0",this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+(e.viewHeight-(t?i:0)))+"px"):(this.vert.style.display="",this.vert.firstChild.style.height="0"),t?(this.horiz.style.display="block",this.horiz.style.right=n?i+"px":"0",this.horiz.style.left=e.barLeft+"px",this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+(e.viewWidth-e.barLeft-(n?i:0)))+"px"):(this.horiz.style.display="",this.horiz.firstChild.style.width="0"),!this.checkedZeroWidth&&e.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?i:0,bottom:t?i:0}},Ri.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ri.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ri.prototype.zeroWidthHack=function(){this.horiz.style.height=this.vert.style.width=v&&!d?"12px":"18px",this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new R,this.disableVert=new R},Ri.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,(function i(){var r=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,i)}))},Ri.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Vi=function(){};function Bi(e,t){t||(t=Fi(e));var n=e.display.barWidth,i=e.display.barHeight;Yi(e,t);for(var r=0;r<4&&n!=e.display.barWidth||i!=e.display.barHeight;r++)n!=e.display.barWidth&&e.options.lineWrapping&&_i(e),Yi(e,Fi(e)),n=e.display.barWidth,i=e.display.barHeight}function Yi(e,t){var n=e.display,i=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=i.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=i.bottom)+"px",n.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=i.bottom+"px",n.scrollbarFiller.style.width=i.right+"px"):n.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=i.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Vi.prototype.update=function(){return{bottom:0,right:0}},Vi.prototype.setScrollLeft=function(){},Vi.prototype.setScrollTop=function(){},Vi.prototype.clear=function(){};var Ui={native:Ri,null:Vi};function Hi(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&_(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ui[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?Pi(e,t):Mi(e,t)}),e),e.display.scrollbars.addClass&&I(e.display.wrapper,e.display.scrollbars.addClass)}var Wi=0;function qi(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Wi},t=e.curOp,an?an.ops.push(t):t.ownsGroup=an={ops:[t],delayedCallbacks:[]}}function Zi(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new or(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Gi(e){e.updatedDisplay=e.mustUpdate&&ar(e.cm,e.update)}function Qi(e){var t=e.cm,n=t.display;e.updatedDisplay&&_i(t),e.barMeasure=Fi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=En(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+_n(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-kn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Xi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(r=!1),null!=r&&!f){var o=x("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Sn(e.display))+"px;\n height: "+(t.bottom-t.top+_n(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(r),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,i){var r;null==i&&(i=0),e.options.lineWrapping||t!=n||(n="before"==(t=t.ch?et(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?et(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=Zn(e,t),c=n&&n!=t?Zn(e,n):s,u=xi(e,r={left:Math.min(s.left,c.left),top:Math.min(s.top,c.top)-i,right:Math.max(s.left,c.left),bottom:Math.max(s.bottom,c.bottom)+i}),l=e.doc.scrollTop,p=e.doc.scrollLeft;if(null!=u.scrollTop&&(Mi(e,u.scrollTop),Math.abs(e.doc.scrollTop-l)>1&&(a=!0)),null!=u.scrollLeft&&(Pi(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-p)>1&&(a=!0)),!a)break}return r}(t,st(i,e.scrollToPos.from),st(i,e.scrollToPos.to),e.scrollToPos.margin));var r=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(r)for(var a=0;a=e.display.viewTo)){var n=+new Date+e.options.workTime,i=dt(e,t.highlightFrontier),r=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(i.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ye(t.mode,i.state):null,c=pt(e,o,i,!0);s&&(i.state=s),o.styles=c.styles;var u=o.styleClasses,l=c.classes;l?o.styleClasses=l:u&&(o.styleClasses=null);for(var p=!a||a.length!=o.styles.length||u!=l&&(!u||!l||u.bgClass!=l.bgClass||u.textClass!=l.textClass),h=0;!p&&hn)return ir(e,e.options.workDelay),!0})),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),r.length&&Ji(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==gi(e))return!1;hr(e)&&(di(e),t.dims=oi(e));var r=i.first+i.size,o=Math.max(t.visible.from-e.options.viewportMargin,i.first),a=Math.min(r,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(r,n.viewTo)),Ct&&(o=Rt(e.doc,o),a=Vt(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var i=e.display;0==i.view.length||t>=i.viewTo||n<=i.viewFrom?(i.view=on(e,t,n),i.viewFrom=t):(i.viewFrom>t?i.view=on(e,t,i.viewFrom).concat(i.view):i.viewFromn&&(i.view=i.view.slice(0,li(e,n)))),i.viewTo=n}(e,o,a),n.viewOffset=Ut(qe(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var u=gi(e);if(!s&&0==u&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var l=function(e){if(e.hasFocus())return null;var t=j();if(!t||!N(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&N(e.display.lineDiv,i.anchorNode)&&(n.anchorNode=i.anchorNode,n.anchorOffset=i.anchorOffset,n.focusNode=i.focusNode,n.focusOffset=i.focusOffset)}return n}(e);return u>4&&(n.lineDiv.style.display="none"),function(e,t,n){var i=e.display,r=e.options.lineNumbers,o=i.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return c&&v&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var u=i.view,l=i.viewFrom,p=0;p-1&&(d=!1),ln(e,h,l,n)),d&&(k(h.lineNumber),h.lineNumber.appendChild(document.createTextNode(Je(e.options,l)))),a=h.node.nextSibling}else{var f=mn(e,h,l,n);o.insertBefore(f,a)}l+=h.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),u>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=j()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&N(document.body,e.anchorNode)&&N(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(l),k(n.cursorDiv),k(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ir(e,400)),n.updateLineNumbers=null,!0}function sr(e,t){for(var n=t.viewport,i=!0;;i=!1){if(i&&e.options.lineWrapping&&t.oldDisplayWidth!=kn(e))i&&(t.visible=Di(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+zn(e.display)-Dn(e),n.top)}),t.visible=Di(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ar(e,t))break;_i(e);var r=Fi(e);bi(e),Bi(e,r),lr(e,r),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function cr(e,t){var n=new or(e,t);if(ar(e,n)){_i(e),sr(e,n);var i=Fi(e);bi(e),Bi(e,i),lr(e,i),n.finish()}}function ur(e){e.sizer.style.marginLeft=e.gutters.offsetWidth+"px"}function lr(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+_n(e)+"px"}function pr(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var i=ai(t)-t.scroller.scrollLeft+e.doc.scrollLeft,r=t.gutters.offsetWidth,o=i+"px",a=0;as.clientHeight;if(r&&s.scrollWidth>s.clientWidth||o&&u){if(o&&v&&c)e:for(var l=t.target,h=a.view;l!=s;l=l.parentNode)for(var d=0;d=0&&tt(e,i.to())<=0)return n}return-1};var Sr=function(e,t){this.anchor=e,this.head=t};function zr(e,t,n){var i=e&&e.options.selectionsMayTouch,r=t[n];t.sort((function(e,t){return tt(e.from(),t.from())})),n=V(t,r);for(var o=1;o0:c>=0){var u=ot(s.from(),a.from()),l=rt(s.to(),a.to()),p=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new Sr(p?l:u,p?u:l))}}return new Cr(t,n)}function Tr(e,t){return new Cr([new Sr(e,t||e)],0)}function _r(e){return e.text?et(e.from.line+e.text.length-1,$(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function kr(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return _r(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=_r(t).ch-t.to.ch),et(n,i)}function Dr(e,t){for(var n=[],i=0;i1&&e.remove(s.line+1,f-1),e.insert(s.line+1,m)}cn(e,"change",e,t)}function Ar(e,t,n){!function e(i,r,o){if(i.linked)for(var a=0;as-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Rr(e.done),$(e.done)):e.done.length&&!$(e.done).ranges?$(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),$(e.done)):void 0}(r,r.lastOp==i)))a=$(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,a.to)?a.to=_r(t):o.changes.push(Fr(e,t));else{var c=$(r.done);for(c&&c.ranges||Br(e.sel,r.done),o={changes:[Fr(e,t)],generation:r.generation},r.done.push(o);r.done.length>r.undoDepth;)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(n),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=s,r.lastOp=r.lastSelOp=i,r.lastOrigin=r.lastSelOrigin=t.origin,a||fe(e,"historyAdded")}function Br(e,t){var n=$(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Yr(e,t,n,i){var r=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,i),(function(n){n.markedSpans&&((r||(r=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Ur(e){if(!e)return null;for(var t,n=0;n-1&&($(s)[p]=u[p],delete u[p])}}}return i}function qr(e,t,n,i){if(i){var r=e.anchor;if(n){var o=tt(t,r)<0;o!=tt(n,r)<0?(r=t,t=n):o!=tt(t,n)<0&&(t=n)}return new Sr(r,t)}return new Sr(n||t,t)}function Zr(e,t,n,i,r){null==r&&(r=e.cm&&(e.cm.display.shift||e.extend)),Kr(e,new Cr([qr(e.sel.primary(),t,n,r)],0),i)}function $r(e,t,n){for(var i=[],r=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:s.to>t.ch))){if(r&&(fe(c,"beforeCursorEnter"),c.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!c.atomic)continue;if(n){var p=c.find(i<0?1:-1),h=void 0;if((i<0?l:u)&&(p=oo(e,p,-i,p&&p.line==t.line?o:null)),p&&p.line==t.line&&(h=tt(p,n))&&(i<0?h<0:h>0))return io(e,p,t,i,r)}var d=c.find(i<0?-1:1);return(i<0?u:l)&&(d=oo(e,d,i,d.line==t.line?o:null)),d?io(e,d,t,i,r):null}}return t}function ro(e,t,n,i,r){var o=i||1;return io(e,t,n,o,r)||!r&&io(e,t,n,o,!0)||io(e,t,n,-o,r)||!r&&io(e,t,n,-o,!0)||(e.cantEdit=!0,et(e.first,0))}function oo(e,t,n,i){return n<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:n>0&&t.ch==(i||qe(e,t.line)).text.length?t.line0)){var l=[c,1],p=tt(u.from,s.from),h=tt(u.to,s.to);(p<0||!a.inclusiveLeft&&!p)&&l.push({from:u.from,to:s.from}),(h>0||!a.inclusiveRight&&!h)&&l.push({from:s.to,to:u.to}),r.splice.apply(r,l),c+=l.length-3}}return r}(e,t.from,t.to);if(i)for(var r=i.length-1;r>=0;--r)uo(e,{from:i[r].from,to:i[r].to,text:r?[""]:t.text,origin:t.origin});else uo(e,t)}}function uo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=tt(t.from,t.to)){var n=Dr(e,t);Vr(e,t,n,e.cm?e.cm.curOp.id:NaN),ho(e,t,n,_t(e,t));var i=[];Ar(e,(function(e,n){n||-1!=V(i,e.history)||(mo(e.history,t),i.push(e.history)),ho(e,t,null,_t(e,t))}))}}function lo(e,t,n){var i=e.cm&&e.cm.state.suppressEdits;if(!i||n){for(var r,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,c="undo"==t?o.undone:o.done,u=0;u=0;--d){var f=h(d);if(f)return f.v}}}}function po(e,t){if(0!=t&&(e.first+=t,e.sel=new Cr(G(e.sel.ranges,(function(e){return new Sr(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){pi(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,i=n.viewFrom;ie.lastLine())){if(t.from.lineo&&(t={from:t.from,to:et(o,qe(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ze(e,t.from,t.to),n||(n=Dr(e,t)),e.cm?function(e,t,n){var i=e.doc,r=e.display,o=t.from,a=t.to,s=!1,c=o.line;e.options.lineWrapping||(c=Qe(Ft(qe(i,o.line))),i.iter(c,a.line+1,(function(e){if(e==r.maxLine)return s=!0,!0}))),i.sel.contains(t.from,t.to)>-1&&be(e),Ir(i,t,n,si(e)),e.options.lineWrapping||(i.iter(c,o.line+t.text.length,(function(e){var t=Ht(e);t>r.maxLineLength&&(r.maxLine=e,r.maxLineLength=t,r.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;i--){var r=qe(e,i).stateAfter;if(r&&(!(r instanceof ut)||i+r.lookAhead1||!(this.children[0]instanceof yo))){var s=[];this.collapse(s),this.children=[new yo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=r.lines.length%25+25,s=a;s10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var i=0;i0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=E("span",[o.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Pt(e,t.line,t,n,o)||t.line!=n.line&&Pt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ct=!0}o.addToHistory&&Vr(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,c=t.line,u=e.cm;if(e.iter(c,n.line+1,(function(e){u&&o.collapsed&&!u.options.lineWrapping&&Ft(e)==u.display.maxLine&&(s=!0),o.collapsed&&c!=t.line&&Ge(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new St(o,c==t.line?t.ch:null,c==n.line?n.ch:null)),++c})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){Bt(e,t)&&Ge(t,0)})),o.clearOnEnter&&pe(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Ot=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++So,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)pi(u,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var l=t.line;l<=n.line;l++)hi(u,l,"text");o.atomic&&to(u.doc),cn(u,"markerAdded",u,o)}return o}zo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&qi(e),me(this,"clear")){var n=this.find();n&&cn(this,"clear",n.from,n.to)}for(var i=null,r=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=l,e.display.maxLineChanged=!0)}null!=i&&e&&this.collapsed&&pi(e,i,r+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&to(e.doc)),e&&cn(e,"markerCleared",e,this,i,r),t&&Zi(e),this.parent&&this.parent.clear()}},zo.prototype.find=function(e,t){var n,i;null==e&&"bookmark"==this.type&&(e=1);for(var r=0;r=0;c--)co(this,i[c]);s?Xr(this,s):this.cm&&Ni(this.cm)})),undo:nr((function(){lo(this,"undo")})),redo:nr((function(){lo(this,"redo")})),undoSelection:nr((function(){lo(this,"undo",!0)})),redoSelection:nr((function(){lo(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,i=0;i=e.ch)&&t.push(r.marker.parent||r.marker)}return t},findMarks:function(e,t,n){e=st(this,e),t=st(this,t);var i=[],r=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s=c.to||null==c.from&&r!=e.line||null!=c.from&&r==t.line&&c.from>=t.ch||n&&!n(c.marker)||i.push(c.marker.parent||c.marker)}++r})),i},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var i=0;ie)return t=e,!0;e-=o,++n})),st(this,et(n,t))},indexFromPos:function(e){var t=(e=st(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var p=e.dataTransfer.getData("Text");if(p){var h;if(t.state.draggingText&&!t.state.draggingText.copy&&(h=t.listSelections()),Jr(t.doc,Tr(n,n)),h)for(var d=0;d=0;t--)fo(e.doc,"",i[t].from,i[t].to,"+delete");Ni(e)}))}function Qo(e,t,n){var i=re(e.text,t+n,n);return i<0||i>e.text.length?null:i}function Xo(e,t,n){var i=Qo(e,t.ch,n);return null==i?null:new et(t.line,i,n<0?"after":"before")}function Ko(e,t,n,i,r){if(e){"rtl"==t.doc.direction&&(r=-r);var o=ue(n,t.doc.direction);if(o){var a,s=r<0?$(o):o[0],c=r<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=jn(t,n),l=In(t,u,a=r<0?n.text.length-1:0).top;a=oe((function(e){return In(t,u,e).top==l}),r<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=Qo(n,a,1))}else a=r<0?s.to:s.from;return new et(i,a,c)}}return new et(i,r<0?n.text.length:0,r<0?"before":"after")}Bo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Bo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Bo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Bo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Bo.default=v?Bo.macDefault:Bo.pcDefault;var Jo={selectAll:ao,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Y)},killLine:function(e){return Go(e,(function(t){if(t.empty()){var n=qe(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)r=new et(r.line,r.ch+1),e.replaceRange(o.charAt(r.ch-1)+o.charAt(r.ch-2),et(r.line,r.ch-2),r,"+transpose");else if(r.line>e.doc.first){var a=qe(e.doc,r.line-1).text;a&&(r=new et(r.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),et(r.line-1,a.length-1),r,"+transpose"))}n.push(new Sr(r,r))}e.setSelections(n)}))},newlineAndIndent:function(e){return Ji(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var i=0;i-1&&(tt((r=u.ranges[r]).from(),t)<0||t.xRel>0)&&(tt(r.to(),t)>0||t.xRel<0)?function(e,t,n,i){var r=e.display,o=!1,u=er(e,(function(t){c&&(r.scroller.draggable=!1),e.state.draggingText=!1,de(r.wrapper.ownerDocument,"mouseup",u),de(r.wrapper.ownerDocument,"mousemove",l),de(r.scroller,"dragstart",p),de(r.scroller,"drop",u),o||(ye(t),i.addNew||Zr(e.doc,n,null,null,i.extend),c&&!h||a&&9==s?setTimeout((function(){r.wrapper.ownerDocument.body.focus({preventScroll:!0}),r.input.focus()}),20):r.input.focus())})),l=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},p=function(){return o=!0};c&&(r.scroller.draggable=!0),e.state.draggingText=u,u.copy=!i.moveOnDrag,r.scroller.dragDrop&&r.scroller.dragDrop(),pe(r.wrapper.ownerDocument,"mouseup",u),pe(r.wrapper.ownerDocument,"mousemove",l),pe(r.scroller,"dragstart",p),pe(r.scroller,"drop",u),Si(e),setTimeout((function(){return r.input.focus()}),20)}(e,i,t,o):function(e,t,n,i){var r=e.display,o=e.doc;ye(t);var a,s,c=o.sel,u=c.ranges;if(i.addNew&&!i.extend?(s=o.sel.contains(n),a=s>-1?u[s]:new Sr(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==i.unit)i.addNew||(a=new Sr(n,n)),n=ui(e,t,!0,!0),s=-1;else{var l=ga(e,n,i.unit);a=i.extend?qr(a,l.anchor,l.head,i.extend):l}i.addNew?-1==s?(s=u.length,Kr(o,zr(e,u.concat([a]),s),{scroll:!1,origin:"*mouse"})):u.length>1&&u[s].empty()&&"char"==i.unit&&!i.extend?(Kr(o,zr(e,u.slice(0,s).concat(u.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):Gr(o,s,a,U):(s=0,Kr(o,new Cr([a],0),U),c=o.sel);var p=n,h=r.wrapper.getBoundingClientRect(),d=0;function f(t){e.state.selectingText=!1,d=1/0,t&&(ye(t),r.input.focus()),de(r.wrapper.ownerDocument,"mousemove",g),de(r.wrapper.ownerDocument,"mouseup",b),o.history.lastSelOrigin=null}var g=er(e,(function(t){0!==t.buttons&&ze(t)?function t(u){var l=++d,f=ui(e,u,!0,"rectangle"==i.unit);if(f)if(0!=tt(f,p)){e.curOp.focus=j(),function(t){if(0!=tt(p,t))if(p=t,"rectangle"==i.unit){for(var r=[],u=e.options.tabSize,l=F(qe(o,n.line).text,n.ch,u),h=F(qe(o,t.line).text,t.ch,u),d=Math.min(l,h),f=Math.max(l,h),g=Math.min(n.line,t.line),b=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=b;g++){var m=qe(o,g).text,v=W(m,d,u);d==f?r.push(new Sr(et(g,v),et(g,v))):m.length>v&&r.push(new Sr(et(g,v),et(g,W(m,f,u))))}r.length||r.push(new Sr(n,n)),Kr(o,zr(e,c.ranges.slice(0,s).concat(r),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,w=a,O=ga(e,t,i.unit),C=w.anchor;tt(O.anchor,C)>0?(y=O.head,C=ot(w.from(),O.anchor)):(y=O.anchor,C=rt(w.to(),O.head));var S=c.ranges.slice(0);S[s]=function(e,t){var n=t.anchor,i=t.head,r=qe(e.doc,n.line);if(0==tt(n,i)&&n.sticky==i.sticky)return t;var o=ue(r);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var c,u=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==u||u==o.length)return t;if(i.line!=n.line)c=(i.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var l=se(o,i.ch,i.sticky),p=l-a||(i.ch-n.ch)*(1==s.level?-1:1);c=l==u-1||l==u?p<0:p>0}var h=o[u+(c?-1:0)],d=c==(1==h.level),f=d?h.from:h.to,g=d?"after":"before";return n.ch==f&&n.sticky==g?t:new Sr(new et(n.line,f,g),i)}(e,new Sr(st(o,C),y)),Kr(o,zr(e,S,s),U)}}(f);var g=Di(r,o);(f.line>=g.to||f.lineh.bottom?20:0;b&&setTimeout(er(e,(function(){d==l&&(r.scroller.scrollTop+=b,t(u))})),50)}}(t):f(t)})),b=er(e,f);e.state.selectingText=b,pe(r.wrapper.ownerDocument,"mousemove",g),pe(r.wrapper.ownerDocument,"mouseup",b)}(e,i,t,o)}(t,i,o,e):Se(e)==n.scroller&&ye(e):2==r?(i&&Zr(t.doc,i),setTimeout((function(){return n.input.focus()}),20)):3==r&&(S?t.display.input.onContextMenu(e):Si(t)))}}function ga(e,t,n){if("char"==n)return new Sr(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new Sr(et(t.line,0),st(e.doc,et(t.line+1,0)));var i=n(e,t);return new Sr(i.from,i.to)}function ba(e,t,n,i){var r,o;if(t.touches)r=t.touches[0].clientX,o=t.touches[0].clientY;else try{r=t.clientX,o=t.clientY}catch(t){return!1}if(r>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&ye(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!me(e,n))return Oe(t);o-=s.top-a.viewOffset;for(var c=0;c=r)return fe(e,n,e,Xe(e.doc,o),e.display.gutterSpecs[c].className,t),Oe(t)}}function ma(e,t){return ba(e,t,"gutterClick",!0)}function va(e,t){Cn(e.display,t)||function(e,t){return!!me(e,"gutterContextMenu")&&ba(e,t,"gutterContextMenu",!1)}(e,t)||ge(e,t,"contextmenu")||S||e.display.input.onContextMenu(t)}function ya(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Vn(e)}da.prototype.compare=function(e,t,n){return this.time+400>e&&0==tt(t,this.pos)&&n==this.button};var wa={toString:function(){return"CodeMirror.Init"}},Oa={},Ca={};function Sa(e,t,n){if(!t!=!(n&&n!=wa)){var i=e.display.dragFunctions,r=t?pe:de;r(e.display.scroller,"dragstart",i.start),r(e.display.scroller,"dragenter",i.enter),r(e.display.scroller,"dragover",i.over),r(e.display.scroller,"dragleave",i.leave),r(e.display.scroller,"drop",i.drop)}}function za(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(_(e.display.wrapper,"CodeMirror-wrap"),Wt(e)),ci(e),pi(e),Vn(e),setTimeout((function(){return Bi(e)}),100)}function Ta(e,t){var n=this;if(!(this instanceof Ta))return new Ta(e,t);this.options=t=t?P(t):{},P(Oa,t,!1);var i=t.value;"string"==typeof i?i=new Eo(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var r=new Ta.inputStyles[t.inputStyle](this),o=this.display=new br(e,i,r,t);for(var u in o.wrapper.CodeMirror=this,ya(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Hi(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new R,keySeq:null,specialChars:null},t.autofocus&&!m&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;pe(t.scroller,"mousedown",er(e,fa)),pe(t.scroller,"dblclick",a&&s<11?er(e,(function(t){if(!ge(e,t)){var n=ui(e,t);if(n&&!ma(e,t)&&!Cn(e.display,t)){ye(t);var i=e.findWordAt(n);Zr(e.doc,i.anchor,i.head)}}})):function(t){return ge(e,t)||ye(t)}),pe(t.scroller,"contextmenu",(function(t){return va(e,t)})),pe(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||va(e,n)}));var n,i={end:0};function r(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(i=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,i=t.top-e.top;return n*n+i*i>400}pe(t.scroller,"touchstart",(function(r){if(!ge(e,r)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(r)&&!ma(e,r)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-i.end<=300?i:null},1==r.touches.length&&(t.activeTouch.left=r.touches[0].pageX,t.activeTouch.top=r.touches[0].pageY)}})),pe(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),pe(t.scroller,"touchend",(function(n){var i=t.activeTouch;if(i&&!Cn(t,n)&&null!=i.left&&!i.moved&&new Date-i.start<300){var a,s=e.coordsChar(t.activeTouch,"page");a=!i.prev||o(i,i.prev)?new Sr(s,s):!i.prev.prev||o(i,i.prev.prev)?e.findWordAt(s):new Sr(et(s.line,0),st(e.doc,et(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),ye(n)}r()})),pe(t.scroller,"touchcancel",r),pe(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(Mi(e,t.scroller.scrollTop),Pi(e,t.scroller.scrollLeft,!0),fe(e,"scroll",e))})),pe(t.scroller,"mousewheel",(function(t){return Or(e,t)})),pe(t.scroller,"DOMMouseScroll",(function(t){return Or(e,t)})),pe(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ge(e,t)||Ce(t)},over:function(t){ge(e,t)||(function(e,t){var n=ui(e,t);if(n){var i=document.createDocumentFragment();vi(e,n,i),e.display.dragCursor||(e.display.dragCursor=x("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),D(e.display.dragCursor,i)}}(e,t),Ce(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-No<100))Ce(t);else if(!ge(e,t)&&!Cn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var n=x("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",p&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),p&&n.parentNode.removeChild(n)}}(e,t)},drop:er(e,jo),leave:function(t){ge(e,t)||Io(e)}};var c=t.input.getField();pe(c,"keyup",(function(t){return ua.call(e,t)})),pe(c,"keydown",er(e,ca)),pe(c,"keypress",er(e,la)),pe(c,"focus",(function(t){return zi(e,t)})),pe(c,"blur",(function(t){return Ti(e,t)}))}(this),function(){var e;Mo||(pe(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Ao(Lo)}),100))})),pe(window,"blur",(function(){return Ao(Ti)})),Mo=!0)}(),qi(this),this.curOp.forceUpdate=!0,Mr(this,i),t.autofocus&&!m||this.hasFocus()?setTimeout(L(zi,this),20):Ti(this),Ca)Ca.hasOwnProperty(u)&&Ca[u](this,t[u],wa);hr(this),t.finishInit&&t.finishInit(this);for(var l=0;l<_a.length;++l)_a[l](this);Zi(this),c&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}Ta.defaults=Oa,Ta.optionHandlers=Ca;var _a=[];function ka(e,t,n,i){var r,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?r=dt(e,t).state:n="prev");var a=e.options.tabSize,s=qe(o,t),c=F(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var u,l=s.text.match(/^\s*/)[0];if(i||/\S/.test(s.text)){if("smart"==n&&((u=o.mode.indent(r,s.text.slice(l.length),s.text))==B||u>150)){if(!i)return;n="prev"}}else u=0,n="not";"prev"==n?u=t>o.first?F(qe(o,t-1).text,null,a):0:"add"==n?u=c+e.options.indentUnit:"subtract"==n?u=c-e.options.indentUnit:"number"==typeof n&&(u=c+n),u=Math.max(0,u);var p="",h=0;if(e.options.indentWithTabs)for(var d=Math.floor(u/a);d;--d)h+=a,p+="\t";if(ha,c=Ne(t),u=null;if(s&&i.ranges.length>1)if(Da&&Da.text.join("\n")==t){if(i.ranges.length%Da.text.length==0){u=[];for(var l=0;l=0;h--){var d=i.ranges[h],f=d.from(),g=d.to();d.empty()&&(n&&n>0?f=et(f.line,f.ch-n):e.state.overwrite&&!s?g=et(g.line,Math.min(qe(o,g.line).text.length,g.ch+$(c).length)):s&&Da&&Da.lineWise&&Da.text.join("\n")==t&&(f=g=et(f.line,0)));var b={from:f,to:g,text:u?u[h%u.length]:c,origin:r||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};co(e.doc,b),cn(e,"inputRead",e,b)}t&&!s&&ja(e,t),Ni(e),e.curOp.updateInput<2&&(e.curOp.updateInput=p),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Na(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Ji(t,(function(){return Ea(t,n,0,null,"paste")})),!0}function ja(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,i=n.ranges.length-1;i>=0;i--){var r=n.ranges[i];if(!(r.head.ch>100||i&&n.ranges[i-1].head.line==r.head.line)){var o=e.getModeAt(r.head),a=!1;if(o.electricChars){for(var s=0;s-1){a=ka(e,r.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(qe(e.doc,r.head.line).text.slice(0,r.head.ch))&&(a=ka(e,r.head.line,"smart"));a&&cn(e,"electricInput",e,r.head.line)}}}function Ia(e){for(var t=[],n=[],i=0;i=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=se(r,n.ch,n.sticky),a=r[o];if("ltr"==e.doc.direction&&a.level%2==0&&(i>0?a.to>n.ch:a.from=a.from&&h>=l.begin))return new et(n.line,h,p?"before":"after")}var d=function(e,t,i){for(var o=function(e,t){return t?new et(n.line,c(e,1),"before"):new et(n.line,e,"after")};e>=0&&e0==(1!=a.level),u=s?i.begin:c(i.end,-1);if(a.from<=u&&u0?l.end:c(l.begin,-1);return null==g||i>0&&g==t.text.length||!(f=d(i>0?0:r.length-1,i,u(g)))?null:f}(e.cm,s,t,n):Xo(s,t,n))){if(i||(a=t.line+c)=e.first+e.size||(t=new et(a,t.ch,t.sticky),!(s=qe(e,a))))return!1;t=Ko(r,e.cm,s,t.line,c)}else t=o;return!0}if("char"==i)u();else if("column"==i)u(!0);else if("word"==i||"group"==i)for(var l=null,p="group"==i,h=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||u(!d);d=!1){var f=s.text.charAt(t.ch)||"\n",g=ee(f,h)?"w":p&&"\n"==f?"n":!p||/\s/.test(f)?null:"p";if(!p||d||g||(g="s"),l&&l!=g){n<0&&(n=1,u(),t.sticky="after");break}if(g&&(l=g),n>0&&!u(!d))break}var b=ro(e,t,o,a,!0);return nt(o,b)&&(b.hitSide=!0),b}function Pa(e,t,n,i){var r,o,a=e.doc,s=t.left;if("page"==i){var c=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(c-.5*ii(e.display),3);r=(n>0?t.bottom:t.top)+n*u}else"line"==i&&(r=n>0?t.bottom+3:t.top-3);for(;(o=Qn(e,s,r)).outside;){if(n<0?r<=0:r>=a.height){o.hitSide=!0;break}r+=5*n}return o}var Fa=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new R,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ra(e,t){var n=Nn(e,t.line);if(!n||n.hidden)return null;var i=qe(e.doc,t.line),r=xn(n,i,t.line),o=ue(i,e.doc.direction),a="left";o&&(a=se(o,t.ch)%2?"right":"left");var s=Ln(r.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Va(e,t){return t&&(e.bad=!0),e}function Ba(e,t,n){var i;if(t==e.display.lineDiv){if(!(i=e.display.lineDiv.childNodes[n]))return Va(e.clipPos(et(e.display.viewTo-1)),!0);t=null,n=0}else for(i=t;;i=i.parentNode){if(!i||i==e.display.lineDiv)return null;if(i.parentNode&&i.parentNode==e.display.lineDiv)break}for(var r=0;r=t.display.viewTo||o.line=t.display.viewFrom&&Ra(t,r)||{node:c[0].measure.map[2],offset:0},l=o.linei.firstLine()&&(a=et(a.line-1,qe(i.doc,a.line-1).length)),s.ch==qe(i.doc,s.line).text.length&&s.liner.viewTo-1)return!1;a.line==r.viewFrom||0==(e=li(i,a.line))?(t=Qe(r.view[0].line),n=r.view[0].node):(t=Qe(r.view[e].line),n=r.view[e-1].node.nextSibling);var c,u,l=li(i,s.line);if(l==r.view.length-1?(c=r.viewTo-1,u=r.lineDiv.lastChild):(c=Qe(r.view[l+1].line)-1,u=r.view[l+1].node.previousSibling),!n)return!1;for(var p=i.doc.splitLines(function(e,t,n,i,r){var o="",a=!1,s=e.doc.lineSeparator(),c=!1;function u(){a&&(o+=s,c&&(o+=s),a=c=!1)}function l(e){e&&(u(),o+=e)}function p(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void l(n);var o,h=t.getAttribute("cm-marker");if(h){var d=e.findMarks(et(i,0),et(r+1,0),(b=+h,function(e){return e.id==b}));return void(d.length&&(o=d[0].find(0))&&l(Ze(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var f=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;f&&u();for(var g=0;g1&&h.length>1;)if($(p)==$(h))p.pop(),h.pop(),c--;else{if(p[0]!=h[0])break;p.shift(),h.shift(),t++}for(var d=0,f=0,g=p[0],b=h[0],m=Math.min(g.length,b.length);da.ch&&v.charCodeAt(v.length-f-1)==y.charCodeAt(y.length-f-1);)d--,f++;p[p.length-1]=v.slice(0,v.length-f).replace(/^\u200b+/,""),p[0]=p[0].slice(d).replace(/\u200b+$/,"");var O=et(t,d),C=et(c,h.length?$(h).length-f:0);return p.length>1||p[0]||tt(O,C)?(fo(i.doc,p,O,C,"+input"),!0):void 0},Fa.prototype.ensurePolled=function(){this.forceCompositionEnd()},Fa.prototype.reset=function(){this.forceCompositionEnd()},Fa.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Fa.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Fa.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ji(this.cm,(function(){return pi(e.cm)}))},Fa.prototype.setUneditable=function(e){e.contentEditable="false"},Fa.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||er(this.cm,Ea)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Fa.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Fa.prototype.onContextMenu=function(){},Fa.prototype.resetPosition=function(){},Fa.prototype.needsContentAttribute=!0;var Ua=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new R,this.hasSelection=!1,this.composing=null};Ua.prototype.init=function(e){var t=this,n=this,i=this.cm;this.createField(e);var r=this.textarea;function o(e){if(!ge(i,e)){if(i.somethingSelected())xa({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=Ia(i);xa({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,Y):(n.prevInput="",r.value=t.text.join("\n"),M(r))}"cut"==e.type&&(i.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(r.style.width="0px"),pe(r,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),pe(r,"paste",(function(e){ge(i,e)||Na(e,i)||(i.state.pasteIncoming=+new Date,n.fastPoll())})),pe(r,"cut",o),pe(r,"copy",o),pe(e.scroller,"paste",(function(t){if(!Cn(e,t)&&!ge(i,t)){if(!r.dispatchEvent)return i.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,r.dispatchEvent(o)}})),pe(e.lineSpace,"selectstart",(function(t){Cn(e,t)||ye(t)})),pe(r,"compositionstart",(function(){var e=i.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}})),pe(r,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ua.prototype.createField=function(e){this.wrapper=Ma(),this.textarea=this.wrapper.firstChild},Ua.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ua.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,i=mi(e);if(e.options.moveInputWithCursor){var r=Zn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,r.top+a.top-o.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,r.left+a.left-o.left))}return i},Ua.prototype.showSelection=function(e){var t=this.cm.display;D(t.cursorDiv,e.cursors),D(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ua.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&M(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},Ua.prototype.getField=function(){return this.textarea},Ua.prototype.supportsTouch=function(){return!1},Ua.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!m||j()!=this.textarea))try{this.textarea.focus()}catch(Ee){}},Ua.prototype.blur=function(){this.textarea.blur()},Ua.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ua.prototype.receivedFocus=function(){this.slowPoll()},Ua.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ua.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Ua.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||je(n)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var r=n.value;if(r==i&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===r||v&&/[\uf700-\uf7ff]/.test(r))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=r.charCodeAt(0);if(8203!=o||i||(i="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var c=0,u=Math.min(i.length,r.length);c1e3||r.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=r,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},Ua.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ua.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ua.prototype.onContextMenu=function(e){var t=this,n=t.cm,i=n.display,r=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=ui(n,e),u=i.scroller.scrollTop;if(o&&!p){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&er(n,Kr)(n.doc,Tr(o),Y);var l,h=r.style.cssText,d=t.wrapper.style.cssText,f=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",r.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",c&&(l=window.scrollY),i.input.focus(),c&&window.scrollTo(null,l),i.input.reset(),n.somethingSelected()||(r.value=t.prevInput=" "),t.contextMenuPending=m,i.selForContextMenu=n.doc.sel,clearTimeout(i.detectingSelectAll),a&&s>=9&&b(),S){Ce(e);var g=function(){de(window,"mouseup",g),setTimeout(m,20)};pe(window,"mouseup",g)}else setTimeout(m,50)}function b(){if(null!=r.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?r.value:"");r.value="\u21da",r.value=o,t.prevInput=e?"":"\u200b",r.selectionStart=1,r.selectionEnd=o.length,i.selForContextMenu=n.doc.sel}}function m(){if(t.contextMenuPending==m&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,r.style.cssText=h,a&&s<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=u),null!=r.selectionStart)){(!a||a&&s<9)&&b();var e=0,o=function(){i.selForContextMenu==n.doc.sel&&0==r.selectionStart&&r.selectionEnd>0&&"\u200b"==t.prevInput?er(n,ao)(n):e++<10?i.detectingSelectAll=setTimeout(o,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(o,200)}}},Ua.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},Ua.prototype.setUneditable=function(){},Ua.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,i,r,o){e.defaults[n]=i,r&&(t[n]=o?function(e,t,n){n!=wa&&r(e,t,n)}:r)}e.defineOption=n,e.Init=wa,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,Er(e)}),!0),n("indentUnit",2,Er,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){Nr(e),Vn(e),pi(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],i=e.doc.first;e.doc.iter((function(e){for(var r=0;;){var o=e.text.indexOf(t,r);if(-1==o)break;r=o+t.length,n.push(et(i,o))}i++}));for(var r=n.length-1;r>=0;r--)fo(e.doc,t,n[r],et(n[r].line,n[r].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=wa&&e.refresh()})),n("specialCharPlaceholder",Kt,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",m?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!w),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){ya(e),gr(e)}),!0),n("keyMap","default",(function(e,t,n){var i=$o(t),r=n!=wa&&$o(n);r&&r.detach&&r.detach(e,i),i.attach&&i.attach(e,r||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,za,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=dr(t,e.options.lineNumbers),gr(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?ai(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return Bi(e)}),!0),n("scrollbarStyle","native",(function(e){Hi(e),Bi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=dr(e.options.gutters,t),gr(e)}),!0),n("firstLineNumber",1,gr,!0),n("lineNumberFormatter",(function(e){return e}),gr,!0),n("showCursorWhenSelecting",!1,bi,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(Ti(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){e.display.input.screenReaderLabelChanged(t=""===t?null:t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Sa),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,bi,!0),n("singleCursorHeightPerLine",!0,bi,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,Nr,!0),n("addModeClass",!1,Nr,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,Nr,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}(Ta),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var i=this.options,r=i[e];i[e]==n&&"mode"!=e||(i[e]=n,t.hasOwnProperty(e)&&er(this,t[e])(this,n,r),fe(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"]($o(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(ka(this,r.head.line,e,!0),n=r.head.line,i==this.doc.sel.primIndex&&Ni(this));else{var o=r.from(),a=r.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var c=s;c0&&Gr(this.doc,i,new Sr(o,u[i].to()),Y)}}})),getTokenAt:function(e,t){return vt(this,e,t)},getLineTokens:function(e,t){return vt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,n=ht(this,qe(this.doc,e.line)),i=0,r=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=i+r>>1;if((a?n[2*a-1]:0)>=o)r=a;else{if(!(n[2*a+1]o&&(e=o,r=!0),i=qe(this.doc,e)}else i=e;return Hn(this,i,{top:0,left:0},t||"page",n||r).top+(r?this.doc.height-Ut(i):0)},defaultTextHeight:function(){return ii(this.display)},defaultCharWidth:function(){return ri(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,i,r){var o,a=this.display,s=(e=Zn(this,st(this.doc,e))).bottom,c=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==i)s=e.top;else if("above"==i||"near"==i){var u=Math.max(a.wrapper.clientHeight,this.doc.height),l=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==i||e.bottom+t.offsetHeight>u)&&e.top>t.offsetHeight?s=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=u&&(s=e.bottom),c+t.offsetWidth>l&&(c=l-t.offsetWidth)}t.style.top=s+"px",t.style.left=t.style.right="","right"==r?(c=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==r?c=0:"middle"==r&&(c=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),n&&(null!=(o=xi(this,{left:c,top:s,right:c+t.offsetWidth,bottom:s+t.offsetHeight})).scrollTop&&Mi(this,o.scrollTop),null!=o.scrollLeft&&Pi(this,o.scrollLeft))},triggerOnKeyDown:tr(ca),triggerOnKeyPress:tr(la),triggerOnKeyUp:ua,triggerOnMouseDown:tr(fa),execCommand:function(e){if(Jo.hasOwnProperty(e))return Jo[e].call(null,this)},triggerElectric:tr((function(e){ja(this,e)})),findPosH:function(e,t,n,i){var r=1;t<0&&(r=-1,t=-t);for(var o=st(this.doc,e),a=0;a0&&a(t.charAt(n-1));)--n;for(;i.5||this.options.lineWrapping)&&ci(this),fe(this,"refresh",this)})),swapDoc:tr((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Mr(this,e),Vn(this),this.display.input.reset(),ji(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,cn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ve(e),e.registerHelper=function(t,i,r){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][i]=r},e.registerGlobalHelper=function(t,i,r,o){e.registerHelper(t,i,o),n[t]._global.push({pred:r,val:o})}}(Ta);var Ha="iter insert remove copy getEditor constructor".split(" ");for(var Wa in Eo.prototype)Eo.prototype.hasOwnProperty(Wa)&&V(Ha,Wa)<0&&(Ta.prototype[Wa]=function(e){return function(){return e.apply(this.doc,arguments)}}(Eo.prototype[Wa]));return ve(Eo),Ta.inputStyles={textarea:Ua,contenteditable:Fa},Ta.defineMode=function(e){Ta.defaults.mode||"null"==e||(Ta.defaults.mode=e),Pe.apply(this,arguments)},Ta.defineMIME=function(e,t){Le[e]=t},Ta.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Ta.defineMIME("text/plain","null"),Ta.defineExtension=function(e,t){Ta.prototype[e]=t},Ta.defineDocExtension=function(e,t){Eo.prototype[e]=t},Ta.fromTextArea=function(e,t){if((t=t?P(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=j();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function i(){e.value=s.getValue()}var r;if(e.form&&(pe(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var o=e.form;r=o.submit;try{var a=o.submit=function(){i(),o.submit=r,o.submit(),o.submit=a}}catch(Ee){}}t.finishInit=function(n){n.save=i,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,i(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(de(e.form,"submit",i),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=r))}},e.style.display="none";var s=Ta((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=de,e.on=pe,e.wheelEventPixels=wr,e.Doc=Eo,e.splitLines=Ne,e.countColumn=F,e.findColumn=W,e.isWordChar=J,e.Pass=B,e.signal=fe,e.Line=qt,e.changeEnd=_r,e.scrollbarModel=Ui,e.Pos=et,e.cmpPos=tt,e.modes=Me,e.mimeModes=Le,e.resolveMode=Fe,e.getMode=Re,e.modeExtensions=Ve,e.extendMode=Be,e.copyState=Ye,e.startState=He,e.innerMode=Ue,e.commands=Jo,e.keyMap=Bo,e.keyName=Zo,e.isModifierKey=Wo,e.lookupKey=Ho,e.normalizeKeyMap=Uo,e.StringStream=We,e.SharedTextMarker=_o,e.TextMarker=zo,e.LineWidget=Oo,e.e_preventDefault=ye,e.e_stopPropagation=we,e.e_stop=Ce,e.addClass=I,e.contains=N,e.rmClass=_,e.keyNames=Po}(Ta),Ta.version="5.54.0",Ta}()},VsQa:function(e,t,n){"use strict";e.exports=function(e){return e!=e}},Vuqn:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f}));var i=n("rWdj"),r=n("kBjl"),o=n("dWS+"),a=n("/jXB"),s=n("dQau"),c=n("4suF"),u=n("axIb");function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t,n){return'Directive "@'.concat(e,'" argument "').concat(t,'" of type "').concat(n,'" is required, but it was not provided.')}function d(e){return function(e){for(var t=1;ti+t.offsetHeight)&&(t.scrollTop=r)},e.prototype.trackByIndex=function(e,t){return e},Object.defineProperty(e.prototype,"emptyList",{get:function(){return!(this.isLoading||this.minCharsEntered&&!this.isLoading&&!this.filteredList.length||this.filteredList.length)},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(y))},e.\u0275cmp=i.Nb({type:e,selectors:[["ngui-auto-complete"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(c,!0),i.Sc(u,!0)),2&e&&(i.zc(n=i.ic())&&(t.autoCompleteInput=n.first),i.zc(n=i.ic())&&(t.autoCompleteContainer=n.first))},inputs:{autocomplete:"autocomplete",minChars:["min-chars","minChars"],acceptUserInput:["accept-user-input","acceptUserInput"],loadingText:["loading-text","loadingText"],loadingTemplate:["loading-template","loadingTemplate"],showInputTag:["show-input-tag","showInputTag"],showDropdownOnInit:["show-dropdown-on-init","showDropdownOnInit"],tabToSelect:["tab-to-select","tabToSelect"],matchFormatted:["match-formatted","matchFormatted"],autoSelectFirstItem:["auto-select-first-item","autoSelectFirstItem"],selectOnBlur:["select-on-blur","selectOnBlur"],reFocusAfterSelect:["re-focus-after-select","reFocusAfterSelect"],headerItemTemplate:["header-item-template","headerItemTemplate"],ignoreAccents:["ignore-accents","ignoreAccents"],listFormatter:["list-formatter","listFormatter"],source:"source",pathToData:["path-to-data","pathToData"],placeholder:"placeholder",blankOptionText:["blank-option-text","blankOptionText"],noMatchFoundText:["no-match-found-text","noMatchFoundText"],maxNumList:["max-num-list","maxNumList"]},outputs:{valueSelected:"valueSelected",customSelected:"customSelected",textEntered:"textEntered"},decls:11,vars:2,consts:[[1,"ngui-auto-complete"],["autoCompleteContainer",""],["class","keyword",3,"placeholder","ngModel","focus","blur","keydown","input","ngModelChange",4,"ngIf"],[3,"empty",4,"ngIf"],[1,"keyword",3,"placeholder","ngModel","focus","blur","keydown","input","ngModelChange"],["autoCompleteInput",""],["class","loading",3,"innerHTML",4,"ngIf"],["class","loading",4,"ngIf"],["class","no-match-found",3,"mousedown",4,"ngIf"],["class","header-item",3,"innerHTML",4,"ngIf"],["class","blank-item",3,"mousedown",4,"ngIf"],["class","item",3,"ngClass","innerHtml","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],[1,"loading",3,"innerHTML"],[1,"loading"],[1,"no-match-found",3,"mousedown"],[1,"header-item",3,"innerHTML"],[1,"blank-item",3,"mousedown"],[1,"item",3,"ngClass","innerHtml","mousedown"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0,1),i.Nc(3,"\n "),i.Nc(4,"\n "),i.Lc(5,l,2,3,"input",2),i.Nc(6,"\n\n "),i.Nc(7,"\n "),i.Lc(8,v,14,9,"ul",3),i.Nc(9,"\n\n "),i.Yb(),i.Nc(10,"\n ")),2&e&&(i.Db(5),i.sc("ngIf",t.showInputTag),i.Db(3),i.sc("ngIf",t.dropdownVisible))},directives:[s.t,a.e,a.o,a.r,s.s,s.q],styles:["\n @keyframes slideDown {\n 0% {\n transform: translateY(-10px);\n }\n 100% {\n transform: translateY(0px);\n }\n }\n\n .ngui-auto-complete {\n background-color: transparent;\n }\n\n .ngui-auto-complete > input {\n outline: none;\n border: 0;\n padding: 2px;\n box-sizing: border-box;\n background-clip: content-box;\n }\n\n .ngui-auto-complete > ul {\n background-color: #fff;\n margin: 0;\n width: 100%;\n overflow-y: auto;\n list-style-type: none;\n padding: 0;\n border: 1px solid #ccc;\n box-sizing: border-box;\n animation: slideDown 0.1s;\n }\n\n .ngui-auto-complete > ul.empty {\n display: none;\n }\n\n .ngui-auto-complete > ul li {\n padding: 2px 5px;\n border-bottom: 1px solid #eee;\n }\n\n .ngui-auto-complete > ul li.selected {\n background-color: #ccc;\n }\n\n .ngui-auto-complete > ul li:last-child {\n border-bottom: none;\n }\n\n .ngui-auto-complete > ul li:not(.header-item):hover {\n background-color: #ccc;\n }"],encapsulation:2}),e}(),O=function(){function e(e,t,n){var r=this;this.resolver=e,this.viewContainerRef=t,this.parentForm=n,this.autocomplete=!1,this.acceptUserInput=!0,this.loadingTemplate=null,this.loadingText="Loading",this.tabToSelect=!0,this.selectOnBlur=!1,this.matchFormatted=!1,this.autoSelectFirstItem=!1,this.openOnFocus=!0,this.closeOnFocusOut=!0,this.reFocusAfterSelect=!0,this.headerItemTemplate=null,this.ignoreAccents=!0,this.zIndex="1",this.isRtl=!1,this.ngModelChange=new i.n,this.valueChanged=new i.n,this.customSelected=new i.n,this.showAutoCompleteDropdown=function(e){if(!r.dropdownJustHidden){r.hideAutoCompleteDropdown(),r.scheduledBlurHandler=null;var t=r.resolver.resolveComponentFactory(w);r.componentRef=r.viewContainerRef.createComponent(t);var n=r.componentRef.instance;n.keyword=r.inputEl.value,n.showInputTag=!1,n.pathToData=r.pathToData,n.minChars=r.minChars,n.source=r.source,n.placeholder=r.autoCompletePlaceholder,n.acceptUserInput=r.acceptUserInput,n.maxNumList=parseInt(r.maxNumList,10),n.loadingText=r.loadingText,n.loadingTemplate=r.loadingTemplate,n.listFormatter=r.listFormatter,n.blankOptionText=r.blankOptionText,n.noMatchFoundText=r.noMatchFoundText,n.tabToSelect=r.tabToSelect,n.selectOnBlur=r.selectOnBlur,n.matchFormatted=r.matchFormatted,n.autoSelectFirstItem=r.autoSelectFirstItem,n.headerItemTemplate=r.headerItemTemplate,n.ignoreAccents=r.ignoreAccents,n.valueSelected.subscribe(r.selectNewValue),n.textEntered.subscribe(r.enterNewText),n.customSelected.subscribe(r.selectCustomValue),r.acDropdownEl=r.componentRef.location.nativeElement,r.acDropdownEl.style.display="none",r.inputEl.parentElement.insertBefore(r.acDropdownEl,r.inputEl.nextSibling),r.revertValue=void 0!==r.ngModel?r.ngModel:r.inputEl.value,setTimeout((function(){n.reloadList(r.inputEl.value),r.styleAutoCompleteDropdown(),n.dropdownVisible=!0}))}},this.hideAutoCompleteDropdown=function(e){if(r.componentRef){var t=void 0,n=void 0!==r.revertValue;r.inputEl&&n&&!1===r.acceptUserInput&&(t=r.componentRef.instance.findItemFromSelectValue(r.inputEl.value)),r.componentRef.destroy(),r.componentRef=void 0,r.inputEl&&n&&!1===r.acceptUserInput&&null===t?r.selectNewValue(r.revertValue):r.inputEl&&!0===r.acceptUserInput&&void 0===t&&e&&e.target.value&&r.enterNewText(e.target.value)}r.dropdownJustHidden=!0,setTimeout((function(){return r.dropdownJustHidden=!1}),100)},this.styleAutoCompleteDropdown=function(){if(r.componentRef){r.el.getBoundingClientRect();var e=r.inputEl.getBoundingClientRect(),t=e.bottom+100>window.innerHeight,n=r.isRtl?"right":"left";r.acDropdownEl.style.width=e.width+"px",r.acDropdownEl.style.position="absolute",r.acDropdownEl.style.zIndex=r.zIndex,r.acDropdownEl.style[n]="0",r.acDropdownEl.style.display="inline-block",t?r.acDropdownEl.style.bottom=e.height+"px":r.acDropdownEl.style.top=e.height+"px"}},this.selectNewValue=function(e){e&&"object"==typeof e&&(e=r.setToStringFunction(e)),r.renderValue(e);var t=e;r.selectValueOf&&e[r.selectValueOf]&&(t=e[r.selectValueOf]),(r.parentForm&&r.formControlName||r.extFormControl)&&t&&r.formControl.patchValue(t),t!==r.ngModel&&r.ngModelChange.emit(t),r.valueChanged.emit(t),r.hideAutoCompleteDropdown(),setTimeout((function(){return r.reFocusAfterSelect&&r.inputEl.focus(),r.inputEl}))},this.selectCustomValue=function(e){r.customSelected.emit(e),r.hideAutoCompleteDropdown(),setTimeout((function(){return r.reFocusAfterSelect&&r.inputEl.focus(),r.inputEl}))},this.enterNewText=function(e){r.renderValue(e),r.ngModelChange.emit(e),r.valueChanged.emit(e),r.hideAutoCompleteDropdown()},this.keydownEventHandler=function(e){r.componentRef&&r.componentRef.instance.inputElKeyHandler(e)},this.inputEventHandler=function(e){if(r.componentRef){var t=r.componentRef.instance;t.dropdownVisible=!0,t.keyword=e.target.value,t.reloadListInDelay(e)}else r.showAutoCompleteDropdown()},this.el=this.viewContainerRef.element.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.documentClickListener=function(t){e.scheduledBlurHandler&&(e.scheduledBlurHandler(),e.scheduledBlurHandler=null)},document.addEventListener("click",this.documentClickListener),this.wrapperEl=document.createElement("div"),this.wrapperEl.className="ngui-auto-complete-wrapper",this.wrapperEl.style.position="relative",this.el.parentElement.insertBefore(this.wrapperEl,this.el.nextSibling),this.wrapperEl.appendChild(this.el),this.parentForm&&this.formControlName?this.parentForm.form?this.formControl=this.parentForm.form.get(this.formControlName):this.parentForm instanceof a.i&&(this.formControl=this.parentForm.control.controls[this.formControlName]):this.extFormControl&&(this.formControl=this.extFormControl),this.ngModel?this.selectNewValue(this.ngModel):this.formControl&&this.formControl.value&&this.selectNewValue(this.formControl.value)},e.prototype.ngAfterViewInit=function(){var e=this;this.inputEl="INPUT"===this.el.tagName?this.el:this.el.querySelector("input"),this.openOnFocus&&this.inputEl.addEventListener("focus",(function(t){return e.showAutoCompleteDropdown(t)})),this.closeOnFocusOut&&this.inputEl.addEventListener("focusout",(function(t){return e.hideAutoCompleteDropdown(t)})),this.autocomplete||this.inputEl.setAttribute("autocomplete","off"),this.inputEl.addEventListener("blur",(function(t){e.scheduledBlurHandler=function(){return e.blurHandler(t)}})),this.inputEl.addEventListener("keydown",(function(t){return e.keydownEventHandler(t)})),this.inputEl.addEventListener("input",(function(t){return e.inputEventHandler(t)}))},e.prototype.ngOnDestroy=function(){this.componentRef&&(this.componentRef.instance.valueSelected.unsubscribe(),this.componentRef.instance.textEntered.unsubscribe()),this.documentClickListener&&document.removeEventListener("click",this.documentClickListener)},e.prototype.ngOnChanges=function(e){e.ngModel&&(this.ngModel=this.setToStringFunction(e.ngModel.currentValue),this.renderValue(this.ngModel))},e.prototype.blurHandler=function(e){if(this.componentRef){var t=this.componentRef.instance;this.selectOnBlur&&t.selectOne(t.filteredList[t.itemIndex]),this.closeOnFocusOut&&this.hideAutoCompleteDropdown(e)}},e.prototype.setToStringFunction=function(e){if(e&&"object"==typeof e){var t;if("string"==typeof this.valueFormatter){var n=this.valueFormatter.match(/[a-zA-Z0-9_\$]+/g),i=this.valueFormatter;n&&"string"!=typeof e&&n.forEach((function(t){i=i.replace(t,e[t])})),t=i}else t="function"==typeof this.valueFormatter?this.valueFormatter(e):this.displayPropertyName?e[this.displayPropertyName]:"string"==typeof this.listFormatter&&this.listFormatter.match(/^\w+$/)?e[this.listFormatter]:e.value;e.toString=function(){return t}}return e},e.prototype.renderValue=function(e){this.inputEl&&(this.inputEl.value=""+e)},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.j),i.Tb(i.Q),i.Tb(a.d,13))},e.\u0275dir=i.Ob({type:e,selectors:[["","auto-complete",""],["","ngui-auto-complete",""]],inputs:{autocomplete:"autocomplete",acceptUserInput:["accept-user-input","acceptUserInput"],loadingTemplate:["loading-template","loadingTemplate"],loadingText:["loading-text","loadingText"],tabToSelect:["tab-to-select","tabToSelect"],selectOnBlur:["select-on-blur","selectOnBlur"],matchFormatted:["match-formatted","matchFormatted"],autoSelectFirstItem:["auto-select-first-item","autoSelectFirstItem"],openOnFocus:["open-on-focus","openOnFocus"],closeOnFocusOut:["close-on-focusout","closeOnFocusOut"],reFocusAfterSelect:["re-focus-after-select","reFocusAfterSelect"],headerItemTemplate:["header-item-template","headerItemTemplate"],ignoreAccents:["ignore-accents","ignoreAccents"],zIndex:["z-index","zIndex"],isRtl:["is-rtl","isRtl"],ngModel:"ngModel",autoCompletePlaceholder:["auto-complete-placeholder","autoCompletePlaceholder"],source:"source",pathToData:["path-to-data","pathToData"],minChars:["min-chars","minChars"],displayPropertyName:["display-property-name","displayPropertyName"],maxNumList:["max-num-list","maxNumList"],selectValueOf:["select-value-of","selectValueOf"],listFormatter:["list-formatter","listFormatter"],blankOptionText:["blank-option-text","blankOptionText"],noMatchFoundText:["no-match-found-text","noMatchFoundText"],valueFormatter:["value-formatter","valueFormatter"],formControlName:"formControlName",extFormControl:["formControl","extFormControl"]},outputs:{ngModelChange:"ngModelChange",valueChanged:"valueChanged",customSelected:"customSelected"},features:[i.Bb]}),e}(),C=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[s.c,a.j]]}),e}()},WXJZ:function(e,t,n){"use strict";function i(e,t,n){return e.reduce((function(e,i){return e[t(i)]=n(i),e}),Object.create(null))}n.d(t,"a",(function(){return i}))},Wbsq:function(e,t,n){"use strict";var i=n("86bp"),r=n("Zq5j"),o=n("H6OF");e.exports=function(e){var t,a=i(arguments[1]);return a.normalizer||0!==(t=a.length=r(a.length,e.length,a.async))&&(a.primitive?!1===t?a.normalizer=n("xeyX"):t>1&&(a.normalizer=n("YTm4")(t)):a.normalizer=!1===t?n("zdgv")():1===t?n("Q5MM")():n("ftEH")(t)),a.async&&n("SbUo"),a.promise&&n("96uS"),a.dispose&&n("Rk3w"),a.maxAge&&n("qhZs"),a.max&&n("0dpv"),a.refCounter&&n("8j7D"),o(e,a)}},Wlyd:function(e,t,n){"use strict";var i=Array.prototype.forEach,r=Object.create;e.exports=function(e){var t=r(null);return i.call(arguments,(function(e){t[e]=!0})),t}},Wzjs:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("Y/la");function r(e,t){for(var n=Object.create(null),r=0,o=Object(i.a)(e);r2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every((function(e){return!e.description}))?"("+t.map(S).join(", ")+")":"(\n"+t.map((function(t,i){return T(e,t," "+n,!i)+" "+n+S(t)})).join("\n")+"\n"+n+")"}function S(e){var t=Object(d.a)(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=" = ".concat(Object(s.print)(t))),n}function z(e){if(!e.isDeprecated)return"";var t=e.deprecationReason,n=Object(d.a)(t,l.e);return n&&""!==t&&t!==p.a?" @deprecated(reason: "+Object(s.print)(n)+")":" @deprecated"}function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t.description)return"";var r=k(t.description,120-n.length);if(e&&e.commentDescriptions)return _(r,n,i);var o=r.join("\n"),a=o.length>70,s=Object(c.c)(o,"",a),u=n&&!i?"\n"+n:n;return u+s.replace(/\n/g,"\n"+n)+"\n"}function _(e,t,n){for(var i=t&&!n?"\n":"",r=0;r{if(!t.schema||!t.onClick||!e.state)return;const n=e.state,i=n.kind,a=n.step,s=(0,r.default)(t.schema,n);return"Field"===i&&0===a&&s.fieldDef||"AliasedField"===i&&2===a&&s.fieldDef?(0,o.getFieldReference)(s):"Directive"===i&&1===a&&s.directiveDef?(0,o.getDirectiveReference)(s):"Argument"===i&&0===a&&s.argDef?(0,o.getArgumentReference)(s):"EnumValue"===i&&s.enumValue?(0,o.getEnumValueReference)(s):"NamedType"===i&&s.type?(0,o.getTypeReference)(s):void 0})},XlPw:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("6blF");function r(e,t){return new i.a(t?function(n){return t.schedule(o,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function o(e){e.subscriber.error(e.error)}},Xt1Y:function(e,t,n){"use strict";var i=n("k2qM"),r={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!i(e)&&hasOwnProperty.call(r,typeof e)}},"Y/la":function(e,t,n){"use strict";t.a=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}},YMfE:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"h",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return g})),n.d(t,"a",(function(){return b})),n.d(t,"e",(function(){return m})),n.d(t,"i",(function(){return y}));var i=n("Iab2"),r=(n("FDZY"),n("xyIE")),o=function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0)&&n.getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),i&&n&&(n.removeAllRanges(),n.addRange(i))},m=function(e){return e?c.isUri(e)?e:"*"===e.trim()?location.href:("/"===e.substr(0,1)&&(e=e.substr(1)),location.origin+"/"+e):e};function v(e){var t=parseInt(e,10);return t.toString()===e?t:e}function y(e,t,n){if("number"==typeof t&&(t=[t]),t&&0!==t.length){if("string"==typeof t)return y(e,t.split(".").map(v),n);var i=t[0],r=e[i];return 1===t.length?(e[i]=n,r):(void 0===r&&(e[i]="number"==typeof t[1]?[]:{}),y(e[i],t.slice(1),n))}}},YTm4:function(e,t,n){"use strict";e.exports=function(e){return e?function(t){for(var n=String(t[0]),i=0,r=e;--r;)n+="\x01"+t[++i];return n}:function(){return""}}},Yen0:function(e,t,n){"use strict";n.d(t,"b",(function(){return C})),n.d(t,"a",(function(){return z})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return D}));var i=n("1QEH"),r=n("kBjl"),o=n("rWdj"),a=n("2C6G"),s=n("t3R0"),c=n("WXJZ"),u=n("/jXB"),l=n("JvOi"),p=n("EMzn"),h=n("Xizt"),d=n("BLR7"),f=n("EkME"),g=n("5XwX"),b=n("19Hc"),m=n("LViu"),v=n("51nL"),y=n("4suF"),w=n("axIb"),O=n("Mbdf");function C(e,t){var n;e&&e.kind===u.a.DOCUMENT||Object(s.a)(0,"Must provide valid Document AST"),t&&(t.assumeValid||t.assumeValidSDL)||Object(f.a)(e);for(var r=[],o=[],a=0,c=e.definitions;a0?function(){return n.map((function(e){return t.getNamedType(e)}))}:[],o=i&&i.length>0?function(){return T(i,(function(e){return t.buildField(e)}))}:Object.create(null);return new w.f({name:e.name.value,description:k(e,this._options),interfaces:r,fields:o,astNode:e})},t._makeInterfaceDef=function(e){var t=this,n=e.fields,i=n&&n.length>0?function(){return T(n,(function(e){return t.buildField(e)}))}:Object.create(null);return new w.c({name:e.name.value,description:k(e,this._options),fields:i,astNode:e})},t._makeEnumDef=function(e){var t=this,n=e.values||[];return new w.a({name:e.name.value,description:k(e,this._options),values:T(n,(function(e){return t.buildEnumValue(e)})),astNode:e})},t._makeUnionDef=function(e){var t=this,n=e.types,i=n&&n.length>0?function(){return n.map((function(e){return t.getNamedType(e)}))}:[];return new w.h({name:e.name.value,description:k(e,this._options),types:i,astNode:e})},t._makeScalarDef=function(e){return new w.g({name:e.name.value,description:k(e,this._options),astNode:e})},t._makeInputObjectDef=function(e){var t=this,n=e.fields;return new w.b({name:e.name.value,description:k(e,this._options),fields:n?function(){return T(n,(function(e){return t.buildInputField(e)}))}:Object.create(null),astNode:e})},e}();function T(e,t){return Object(c.a)(e,(function(e){return e.name.value}),t)}function _(e){var t=Object(g.b)(y.b,e);return t&&t.reason}function k(e,t){if(e.description)return e.description.value;if(t&&t.commentDescriptions){var n=function(e){var t=e.loc;if(t){for(var n=[],i=t.startToken.prev;i&&i.kind===l.a.COMMENT&&i.next&&i.prev&&i.line+1===i.next.line&&i.line!==i.prev.line;){var r=String(i.value);n.push(r),i=i.prev}return n.reverse().join("\n")}}(e);if(void 0!==n)return Object(d.a)("\n"+n)}}function D(e,t){return C(Object(p.a)(e,t),t)}},YsTz:function(e,t,n){"use strict";var i=n("52x2")();e.exports=function(e){return e!==i&&null!==e}},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},YyF0:function(e,t,n){"use strict";var i=n("kBPl");e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(t){return!1}return!i(e)}},Yzoe:function(e,t,n){"use strict";var i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0){var s=r.shift();s&&s.applyMiddleware.apply(o,[e,a])}else n(e)})()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(i){return n(i)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var i=this.generateOperationId();return this.operations[i]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[i]&&(n.operations[i]={options:e,handler:t},n.sendMessage(i,m.default.GQL_START,e))})).catch((function(e){n.unsubscribe(i),t(n.formatErrors(e))})),i},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){return new c({min:1e3,max:this.wsTimeout,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,i=e.variables,r=e.operationName;if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!l.default(n)&&!d.getOperationAST(n,r)||r&&!l.default(r)||i&&!p.default(i))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?i({},n,{query:"string"==typeof n.query?n.query:h.print(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(n){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,m.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e=this;this.client=new this.wsImpl(this.url,this.wsProtocols),this.checkMaxConnectTimeout(),this.client.onopen=function(){return r(e,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){e.closedByUser||e.close(!1,!1)},this.client.onerror=function(t){e.eventEmitter.emit("error",t)},this.client.onmessage=function(t){e.processReceivedData(t.data)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(a){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var r=t.payload.errors?i({},t.payload,{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,r);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var o=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,o&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,m.default.GQL_STOP,void 0))},e}()},"ZBm+":function(e,t,n){"use strict";n.r(t),n.d(t,"unusedFragMessage",(function(){return r})),n.d(t,"NoUnusedFragments",(function(){return o}));var i=n("dWS+");function r(e){return'Fragment "'.concat(e,'" is never used.')}function o(e){var t=[],n=[];return{OperationDefinition:function(e){return t.push(e),!1},FragmentDefinition:function(e){return n.push(e),!1},Document:{leave:function(){for(var o=Object.create(null),a=0;a=0?n&&r?r-1:r:1:!1!==e&&i(e)}},Zss7:function(e,t,n){var i;!function(r){var o=/^\s+/,a=/\s+$/,s=0,c=r.round,u=r.min,l=r.max,p=r.random;function h(e,t){if(t=t||{},(e=e||"")instanceof h)return e;if(!(this instanceof h))return new h(e,t);var n=function(e){var t,n,i={r:0,g:0,b:0},s=1,c=null,p=null,h=null,d=!1,f=!1;return"string"==typeof e&&(e=function(e){e=e.replace(o,"").replace(a,"").toLowerCase();var t,n=!1;if(E[e])e=E[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=U.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=U.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=U.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=U.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=U.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=U.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=U.hex8.exec(e))?{r:M(t[1]),g:M(t[2]),b:M(t[3]),a:R(t[4]),format:n?"name":"hex8"}:(t=U.hex6.exec(e))?{r:M(t[1]),g:M(t[2]),b:M(t[3]),format:n?"name":"hex"}:(t=U.hex4.exec(e))?{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),a:R(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=U.hex3.exec(e))&&{r:M(t[1]+""+t[1]),g:M(t[2]+""+t[2]),b:M(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(H(e.r)&&H(e.g)&&H(e.b)?(t=e.g,n=e.b,i={r:255*I(e.r,255),g:255*I(t,255),b:255*I(n,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):H(e.h)&&H(e.s)&&H(e.v)?(c=P(e.s),p=P(e.v),i=function(e,t,n){e=6*I(e,360),t=I(t,100),n=I(n,100);var i=r.floor(e),o=e-i,a=n*(1-t),s=n*(1-o*t),c=n*(1-(1-o)*t),u=i%6;return{r:255*[n,s,a,a,c,n][u],g:255*[c,n,n,s,a,a][u],b:255*[a,a,c,n,n,s][u]}}(e.h,c,p),d=!0,f="hsv"):H(e.h)&&H(e.s)&&H(e.l)&&(c=P(e.s),h=P(e.l),i=function(e,t,n){var i,r,o;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=I(e,360),t=I(t,100),n=I(n,100),0===t)i=r=o=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;i=a(c,s,e+1/3),r=a(c,s,e),o=a(c,s,e-1/3)}return{r:255*i,g:255*r,b:255*o}}(e.h,c,h),d=!0,f="hsl"),e.hasOwnProperty("a")&&(s=e.a)),s=j(s),{ok:d,format:e.format||f,r:u(255,l(i.r,0)),g:u(255,l(i.g,0)),b:u(255,l(i.b,0)),a:s}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function d(e,t,n){e=I(e,255),t=I(t,255),n=I(n,255);var i,r,o=l(e,t,n),a=u(e,t,n),s=(o+a)/2;if(o==a)i=r=0;else{var c=o-a;switch(r=s>.5?c/(2-o-a):c/(o+a),o){case e:i=(t-n)/c+(t>1)+720)%360;--t;)i.h=(i.h+r)%360,o.push(h(i));return o}function x(e,t){t=t||6;for(var n=h(e).toHsv(),i=n.h,r=n.s,o=n.v,a=[],s=1/t;t--;)a.push(h({h:i,s:r,v:o})),o=(o+s)%1;return a}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,i=this.toRgb();return t=i.g/255,n=i.b/255,.2126*((e=i.r/255)<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=j(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=f(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),i=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+i+"%)":"hsva("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),i=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+i+"%)":"hsla("+t+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,i,r){var o=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16)),L(F(i))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*I(this._r,255))+"%",g:c(100*I(this._g,255))+"%",b:c(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%)":"rgba("+c(100*I(this._r,255))+"%, "+c(100*I(this._g,255))+"%, "+c(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),n=t,i=this._gradientType?"GradientType = 1, ":"";if(e){var r=h(e);n="#"+b(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1;return t||!(this._a<1&&this._a>=0)||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(O,arguments)},darken:function(){return this._applyModification(C,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(D,arguments)},complement:function(){return this._applyCombination(z,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(T,arguments)},tetrad:function(){return this._applyCombination(_,arguments)}},h.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]="a"===i?e[i]:P(e[i]));e=n}return h(e,t)},h.equals=function(e,t){return!(!e||!t)&&h(e).toRgbString()==h(t).toRgbString()},h.random=function(){return h.fromRatio({r:p(),g:p(),b:p()})},h.mix=function(e,t,n){n=0===n?0:n||50;var i=h(e).toRgb(),r=h(t).toRgb(),o=n/100;return h({r:(r.r-i.r)*o+i.r,g:(r.g-i.g)*o+i.g,b:(r.b-i.b)*o+i.b,a:(r.a-i.a)*o+i.a})},h.readability=function(e,t){var n=h(e),i=h(t);return(r.max(n.getLuminance(),i.getLuminance())+.05)/(r.min(n.getLuminance(),i.getLuminance())+.05)},h.isReadable=function(e,t,n){var i,r,o,a,s,c=h.readability(e,t);switch(r=!1,(o=n,"AA"!==(a=((o=o||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(s=(o.size||"small").toLowerCase())&&"large"!==s&&(s="small"),i={level:a,size:s}).level+i.size){case"AAsmall":case"AAAlarge":r=c>=4.5;break;case"AAlarge":r=c>=3;break;case"AAAsmall":r=c>=7}return r},h.mostReadable=function(e,t,n){var i,r,o,a,s=null,c=0;r=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var u=0;uc&&(c=i,s=h(t[u]));return h.isReadable(e,s,{level:o,size:a})||!r?s:(n.includeFallbackColors=!1,h.mostReadable(e,["#fff","#000"],n))};var E=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},N=h.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(E);function j(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=u(t,l(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),r.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return u(1,l(0,e))}function M(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function F(e){return r.round(255*parseFloat(e)).toString(16)}function R(e){return M(e)/255}var V,B,Y,U=(B="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",Y="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+B),rgba:new RegExp("rgba"+Y),hsl:new RegExp("hsl"+B),hsla:new RegExp("hsla"+Y),hsv:new RegExp("hsv"+B),hsva:new RegExp("hsva"+Y),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function H(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=h:void 0===(i=(function(){return h}).call(t,n,t,e))||(e.exports=i)}(Math)},a88y:function(e,t,n){"use strict";var i=n("lq5y"),r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;e.exports=function(e,t){var n,c=Object(i(t));if(e=Object(i(e)),a(c).forEach((function(i){try{r(e,i,o(t,i))}catch(a){n=a}})),"function"==typeof s&&s(c).forEach((function(i){try{r(e,i,o(t,i))}catch(a){n=a}})),void 0!==n)throw n;return e}},aFjk:function(e,t,n){"use strict";e.exports=n("zs8F")("forEach")},aGNc:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("mrSG"),r=n("FFOo");function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.value))},e}(),s=function(e){function t(t,n){var i=e.call(this,t)||this;return i.value=n,i}return i.c(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(r.a)},aSse:function(e,t,n){"use strict";var i=Object.prototype.toString,r=i.call("");e.exports=function(e){return"string"==typeof e||e&&"object"==typeof e&&(e instanceof String||i.call(e)===r)||!1}},ad02:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("mrSG"),r=n("FFOo");function o(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))},e}(),s=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.keySelector=i,r.hasKey=!1,"function"==typeof n&&(r.compare=n),r}return i.c(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))},t}(r.a)},axIb:function(e,t,n){"use strict";n.d(t,"S",(function(){return w})),n.d(t,"x",(function(){return O})),n.d(t,"R",(function(){return C})),n.d(t,"w",(function(){return S})),n.d(t,"N",(function(){return z})),n.d(t,"u",(function(){return T})),n.d(t,"H",(function(){return _})),n.d(t,"o",(function(){return k})),n.d(t,"T",(function(){return D})),n.d(t,"y",(function(){return x})),n.d(t,"E",(function(){return E})),n.d(t,"l",(function(){return N})),n.d(t,"F",(function(){return j})),n.d(t,"m",(function(){return I})),n.d(t,"J",(function(){return A})),n.d(t,"q",(function(){return M})),n.d(t,"L",(function(){return L})),n.d(t,"s",(function(){return P})),n.d(t,"G",(function(){return F})),n.d(t,"n",(function(){return R})),n.d(t,"O",(function(){return V})),n.d(t,"v",(function(){return B})),n.d(t,"I",(function(){return Y})),n.d(t,"p",(function(){return U})),n.d(t,"D",(function(){return H})),n.d(t,"k",(function(){return W})),n.d(t,"C",(function(){return q})),n.d(t,"j",(function(){return Z})),n.d(t,"d",(function(){return $})),n.d(t,"e",(function(){return G})),n.d(t,"U",(function(){return Q})),n.d(t,"z",(function(){return X})),n.d(t,"M",(function(){return K})),n.d(t,"t",(function(){return J})),n.d(t,"B",(function(){return ee})),n.d(t,"K",(function(){return te})),n.d(t,"r",(function(){return ne})),n.d(t,"A",(function(){return ie})),n.d(t,"g",(function(){return ae})),n.d(t,"f",(function(){return se})),n.d(t,"i",(function(){return he})),n.d(t,"P",(function(){return de})),n.d(t,"c",(function(){return fe})),n.d(t,"h",(function(){return ge})),n.d(t,"a",(function(){return me})),n.d(t,"b",(function(){return ve})),n.d(t,"Q",(function(){return we}));var i=n("Y/la"),r=n("rWdj"),o=n("kBjl"),a=n("Wzjs"),s=n("E9SJ"),c=n("t3R0"),u=n("WXJZ"),l=n("Mw0p"),p=n("zpYP");function h(e){return e}var d=n("vJkw"),f=n("ZZnB"),g=n("/jXB"),b=n("ADFt");function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function v(e){for(var t=1;t0?e:void 0}$.prototype.toString=function(){return"["+String(this.ofType)+"]"},Object(f.a)($),Object(d.a)($),G.prototype.toString=function(){return String(this.ofType)+"!"},Object(f.a)(G),Object(d.a)(G);var ae=function(){function e(e){var t=e.parseValue||h;this.name=e.name,this.description=e.description,this.serialize=e.serialize||h,this.parseValue=t,this.parseLiteral=e.parseLiteral||function(e){return t(Object(b.a)(e))},this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),"string"==typeof e.name||Object(c.a)(0,"Must provide name."),null==e.serialize||"function"==typeof e.serialize||Object(c.a)(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||Object(c.a)(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t=e.prototype;return t.toConfig=function(){return{name:this.name,description:this.description,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(f.a)(ae),Object(d.a)(ae);var se=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._fields=ue.bind(void 0,e),this._interfaces=ce.bind(void 0,e),"string"==typeof e.name||Object(c.a)(0,"Must provide name."),null==e.isTypeOf||"function"==typeof e.isTypeOf||Object(c.a)(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(Object(r.a)(e.isTypeOf),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:pe(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function ce(e){var t=re(e.interfaces)||[];return Array.isArray(t)||Object(c.a)(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),t}function ue(e){var t=re(e.fields)||{};return le(t)||Object(c.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(a.a)(t,(function(t,n){le(t)||Object(c.a)(0,"".concat(e.name,".").concat(n," field config must be an object")),!("isDeprecated"in t)||Object(c.a)(0,"".concat(e.name,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"==typeof t.resolve||Object(c.a)(0,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat(Object(r.a)(t.resolve),"."));var o=t.args||{};le(o)||Object(c.a)(0,"".concat(e.name,".").concat(n," args must be an object with argument names as keys."));var a=Object(i.a)(o).map((function(e){var t=e[1];return{name:e[0],description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(s.a)(t.extensions),astNode:t.astNode}}));return v({},t,{name:n,description:t.description,type:t.type,args:a,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:Boolean(t.deprecationReason),deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(s.a)(t.extensions),astNode:t.astNode})}))}function le(e){return Object(p.a)(e)&&!Array.isArray(e)}function pe(e){return Object(a.a)(e,(function(e){return{description:e.description,type:e.type,args:he(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function he(e){return Object(u.a)(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}))}function de(e){return L(e.type)&&void 0===e.defaultValue}Object(f.a)(se),Object(d.a)(se);var fe=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._fields=ue.bind(void 0,e),"string"==typeof e.name||Object(c.a)(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||Object(c.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(r.a)(e.resolveType),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){return{name:this.name,description:this.description,fields:pe(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(f.a)(fe),Object(d.a)(fe);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._types=be.bind(void 0,e),"string"==typeof e.name||Object(c.a)(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||Object(c.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(r.a)(e.resolveType),"."))}var t=e.prototype;return t.getTypes=function(){return"function"==typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function be(e){var t=re(e.types)||[];return Array.isArray(t)||Object(c.a)(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}Object(f.a)(ge),Object(d.a)(ge);var me=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._values=(t=this.name,le(n=e.values)||Object(c.a)(0,"".concat(t," values must be an object with value names as keys.")),Object(i.a)(n).map((function(e){var n=e[0],i=e[1];return le(i)||Object(c.a)(0,"".concat(t,".").concat(n,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(Object(r.a)(i),".")),!("isDeprecated"in i)||Object(c.a)(0,"".concat(t,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),{name:n,description:i.description,value:"value"in i?i.value:n,isDeprecated:Boolean(i.deprecationReason),deprecationReason:i.deprecationReason,extensions:i.extensions&&Object(s.a)(i.extensions),astNode:i.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=Object(o.a)(this._values,(function(e){return e.name})),"string"==typeof e.name||Object(c.a)(0,"Must provide name.")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(t)return t.name},t.parseValue=function(e){if("string"==typeof e){var t=this.getValue(e);if(t)return t.value}},t.parseLiteral=function(e,t){if(e.kind===g.a.ENUM){var n=this.getValue(e.value);if(n)return n.value}},t.toConfig=function(){var e=Object(u.a)(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(f.a)(me),Object(d.a)(me);var ve=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._fields=ye.bind(void 0,e),"string"==typeof e.name||Object(c.a)(0,"Must provide name.")}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e=Object(a.a)(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function ye(e){var t=re(e.fields)||{};return le(t)||Object(c.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(a.a)(t,(function(t,n){return!("resolve"in t)||Object(c.a)(0,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),v({},t,{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(s.a)(t.extensions),astNode:t.astNode})}))}function we(e){return L(e.type)&&void 0===e.defaultValue}Object(f.a)(ve),Object(d.a)(ve)},b7mW:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},bCCX:function(e,t,n){"use strict";n.r(t),(function(e){var i,r=n("SLVX");i="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:e;var o=Object(r.a)(i);t.default=o}).call(this,n("3UD+")(e))},bYjt:function(e,t,n){"use strict";n.d(t,"a",(function(){return q})),n.d(t,"b",(function(){return W})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return G})),n.d(t,"e",(function(){return Y})),n.d(t,"f",(function(){return T})),n.d(t,"g",(function(){return j})),n.d(t,"h",(function(){return E})),n.d(t,"i",(function(){return $})),n.d(t,"j",(function(){return I})),n.d(t,"k",(function(){return z}));var i=n("mrSG"),r=n("pdUi"),o=n("TYT/"),a=n("7CWi"),s=n("CCO+"),c=n("Valr"),u=n("349r"),l=n("2J3F"),p=n("K9Ia"),h=n("pugT"),d=n("p0ib"),f=n("t9fZ"),g=n("ny24"),b=n("qjWv"),m=function(){function e(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}return e.prototype.attach=function(){},e.prototype.enable=function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(u.d)(-this._previousScrollPosition.left),e.style.top=Object(u.d)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},e.prototype.disable=function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=i,n.scrollBehavior=r}},e.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width},e}();function v(){return Error("Scroll strategy has already been attached.")}var y=function(){function e(e,t,n,i){var r=this;this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run((function(){return r._overlayRef.detach()}))}}return e.prototype.attach=function(e){if(this._overlayRef)throw v();this._overlayRef=e},e.prototype.enable=function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e.prototype.detach=function(){this.disable(),this._overlayRef=null},e}(),w=function(){function e(){}return e.prototype.enable=function(){},e.prototype.disable=function(){},e.prototype.attach=function(){},e}();function O(e,t){return t.some((function(t){return e.bottomt.bottom||e.rightt.right}))}function C(e,t){return t.some((function(t){return e.topt.bottom||e.leftt.right}))}var S=function(){function e(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}return e.prototype.attach=function(e){if(this._overlayRef)throw v();this._overlayRef=e},e.prototype.enable=function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;O(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}})))},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e.prototype.detach=function(){this.disable(),this._overlayRef=null},e}(),z=function(){function e(e,t,n,i){var r=this;this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=function(){return new w},this.close=function(e){return new y(r._scrollDispatcher,r._ngZone,r._viewportRuler,e)},this.block=function(){return new m(r._viewportRuler,r._document)},this.reposition=function(e){return new S(r._scrollDispatcher,r._viewportRuler,r._ngZone,e)},this._document=i}return e.\u0275prov=Object(o.Pb)({factory:function(){return new e(Object(o.dc)(r.d),Object(o.dc)(r.f),Object(o.dc)(o.z),Object(o.dc)(c.e))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(o.dc(r.d),o.dc(r.f),o.dc(o.z),o.dc(c.e))},e}(),T=function(){return function(e){var t,n;if(this.scrollStrategy=new w,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){var r=Object.keys(e);try{for(var o=Object(i.h)(r),a=o.next();!a.done;a=o.next()){var s=a.value;void 0!==e[s]&&(this[s]=e[s])}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}}}(),_=function(){return function(e,t,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}(),k=function(){return function(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}();function D(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "top", "bottom" or "center".')}function x(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "start", "end" or "center".')}var E=function(){function e(e){var t=this;this._attachedOverlays=[],this._keydownListener=function(e){for(var n=t._attachedOverlays,i=n.length-1;i>-1;i--)if(n[i]._keydownEvents.observers.length>0){n[i]._keydownEvents.next(e);break}},this._document=e}return e.prototype.ngOnDestroy=function(){this._detach()},e.prototype.add=function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)},e.prototype.remove=function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()},e.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},e.\u0275prov=Object(o.Pb)({factory:function(){return new e(Object(o.dc)(c.e))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(o.dc(c.e))},e}(),N=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),j=function(){function e(e,t){this._platform=t,this._document=e}return e.prototype.ngOnDestroy=function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)},e.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},e.prototype._createContainer=function(){var e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||N)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),n=0;nm&&(m=O,b=w)}}catch(S){n={error:S}}finally{try{y&&!y.done&&(r=v.return)&&r.call(v)}finally{if(n)throw n.error}}return this._isPushed=!1,void this._applyPosition(b.position,b.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(o.position,o.originPoint);this._applyPosition(o.position,o.originPoint)}},e.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},e.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&L(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},e.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}},e.prototype.withScrollableContainers=function(e){return this._scrollables=e,this},e.prototype.withPositions=function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},e.prototype.withViewportMargin=function(e){return this._viewportMargin=e,this},e.prototype.withFlexibleDimensions=function(e){return void 0===e&&(e=!0),this._hasFlexibleDimensions=e,this},e.prototype.withGrowAfterOpen=function(e){return void 0===e&&(e=!0),this._growAfterOpen=e,this},e.prototype.withPush=function(e){return void 0===e&&(e=!0),this._canPush=e,this},e.prototype.withLockedPosition=function(e){return void 0===e&&(e=!0),this._positionLocked=e,this},e.prototype.setOrigin=function(e){return this._origin=e,this},e.prototype.withDefaultOffsetX=function(e){return this._offsetX=e,this},e.prototype.withDefaultOffsetY=function(e){return this._offsetY=e,this},e.prototype.withTransformOriginOn=function(e){return this._transformOriginSelector=e,this},e.prototype._getOriginPoint=function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}},e.prototype._getOverlayPoint=function(e,t,n){var i;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+i,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}},e.prototype._getOverlayFit=function(e,t,n,i){var r=e.x,o=e.y,a=this._getOffset(i,"x"),s=this._getOffset(i,"y");a&&(r+=a),s&&(o+=s);var c=0-o,u=o+t.height-n.height,l=this._subtractOverflows(t.width,0-r,r+t.width-n.width),p=this._subtractOverflows(t.height,c,u),h=l*p;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:p===t.height,fitsInViewportHorizontally:l==t.width}},e.prototype._canFitWithFlexibleDimensions=function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,o=P(this._overlayRef.getConfig().minHeight),a=P(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=o&&o<=i)&&(e.fitsInViewportHorizontally||null!=a&&a<=r)}return!1},e.prototype._pushOverlayOnScreen=function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,o=this._viewportRect,a=Math.max(e.x+t.width-o.right,0),s=Math.max(e.y+t.height-o.bottom,0),c=Math.max(o.top-n.top-e.y,0),u=Math.max(o.left-n.left-e.x,0);return this._previousPushAmount={x:i=t.width<=o.width?u||-a:e.xp&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-p/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)s=c.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)a=e.x,o=c.right-e.x;else{l=Math.min(c.right-e.x+c.left,e.x);var h=this._lastBoundingBoxSize.width;a=e.x-l,(o=2*l)>h&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-h/2)}return{top:i,left:a,bottom:r,right:s,width:o,height:n}},e.prototype._setBoundingBoxStyles=function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=Object(u.d)(n.height),i.top=Object(u.d)(n.top),i.bottom=Object(u.d)(n.bottom),i.width=Object(u.d)(n.width),i.left=Object(u.d)(n.left),i.right=Object(u.d)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=Object(u.d)(r)),o&&(i.maxWidth=Object(u.d)(o))}this._lastBoundingBoxSize=n,L(this._boundingBox.style,i)},e.prototype._resetBoundingBoxStyles=function(){L(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},e.prototype._resetOverlayElementStyles=function(){L(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},e.prototype._setOverlayElementStyles=function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){var a=this._viewportRuler.getViewportScrollPosition();L(n,this._getExactOverlayY(t,e,a)),L(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",c=this._getOffset(t,"x"),l=this._getOffset(t,"y");c&&(s+="translateX("+c+"px) "),l&&(s+="translateY("+l+"px)"),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=Object(u.d)(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=Object(u.d)(o.maxWidth):r&&(n.maxWidth="")),L(this._pane.style,n)},e.prototype._getExactOverlayY=function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(u.d)(r.y),i},e.prototype._getExactOverlayX=function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=Object(u.d)(r.x),i},e.prototype._getScrollVisibility=function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:C(e,n),isOriginOutsideView:O(e,n),isOverlayClipped:C(t,n),isOverlayOutsideView:O(t,n)}},e.prototype._subtractOverflows=function(e){for(var t=[],n=1;n1?Array.prototype.slice.call(arguments):e)}),i,n)}))}},c3ME:function(e,t,n){"use strict";var i=n("YsTz"),r=Object.keys;e.exports=function(e){return r(i(e)?Object(e):e)}},c52N:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var i=n("fYDj"),r=function(){return(r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0){var i=e.slice(0,n),r=i.toLowerCase(),o=e.slice(n+1).trim();t.maybeSetNormalizedName(i,r),t.headers.has(r)?t.headers.get(r).push(o):t.headers.set(r,[o])}}))}:function(){t.headers=new Map,Object.keys(e).forEach((function(n){var i=e[n],r=n.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(t.headers.set(r,i),t.maybeSetNormalizedName(n,r))}))}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,Object(i.g)(n)),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var a=this.headers.get(t);if(!a)return;0===(a=a.filter((function(e){return-1===o.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))},e}(),f=function(){function e(){}return e.prototype.encodeKey=function(e){return g(e)},e.prototype.encodeValue=function(e){return g(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function g(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var b=function(){function e(e){var t,n,r,o=this;if(void 0===e&&(e={}),this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new f,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach((function(e){var t=e.indexOf("="),o=Object(i.e)(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),a=o[0],s=o[1],c=r.get(a)||[];c.push(s),r.set(a,c)})),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((function(t){var n=e.fromObject[t];o.map.set(t,Array.isArray(n)?n:[n])}))):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(t.value);-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)},e}();function m(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function v(e){return"undefined"!=typeof Blob&&e instanceof Blob}function y(e){return"undefined"!=typeof FormData&&e instanceof FormData}var w=function(){function e(e,t,n,i){var r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=t;else{var a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a=200&&this.status<300}}(),S=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=O.ResponseHeader,n}return Object(i.c)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(C),z=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=O.Response,n.body=void 0!==t.body?t.body:null,n}return Object(i.c)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(C),T=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return Object(i.c)(t,e),t}(C);function _(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var k=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var i,r=this;if(void 0===n&&(n={}),e instanceof w)i=e;else{var a;a=n.headers instanceof d?n.headers:new d(n.headers);var l=void 0;n.params&&(l=n.params instanceof b?n.params:new b({fromObject:n.params})),i=new w(e,t,void 0!==n.body?n.body:null,{headers:a,params:l,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var p=Object(o.a)(i).pipe(Object(s.a)((function(e){return r.handler.handle(e)})));if(e instanceof w||"events"===n.observe)return p;var h=p.pipe(Object(c.a)((function(e){return e instanceof z})));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return h.pipe(Object(u.a)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return h.pipe(Object(u.a)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return h.pipe(Object(u.a)((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return h.pipe(Object(u.a)((function(e){return e.body})))}case"response":return h;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new b).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,_(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,_(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,_(n,t))},e.\u0275fac=function(t){return new(t||e)(r.dc(p))},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),D=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),x=new r.q("HTTP_INTERCEPTORS"),E=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),N=/^\)\]\}',?\n/,j=function(){return function(){}}(),I=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),A=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new a.a((function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((function(e,t){return i.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var o=e.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new d(i.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new S({headers:r,status:t,statusText:n,url:o})},u=function(){var t=c(),r=t.headers,o=t.status,a=t.statusText,s=t.url,u=null;204!==o&&(u=void 0===i.response?i.responseText:i.response),0===o&&(o=u?200:0);var l=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof u){var p=u;u=u.replace(N,"");try{u=""!==u?JSON.parse(u):null}catch(h){u=p,l&&(l=!1,u={error:h,text:u})}}l?(n.next(new z({body:u,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new T({error:u,headers:r,status:o,statusText:a,url:s||void 0}))},l=function(e){var t=c().url,r=new T({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},p=!1,h=function(t){p||(n.next(c()),p=!0);var r={type:O.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(e){var t={type:O.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",u),i.addEventListener("error",l),e.reportProgress&&(i.addEventListener("progress",h),null!==a&&i.upload&&i.upload.addEventListener("progress",f)),i.send(a),n.next({type:O.Sent}),function(){i.removeEventListener("error",l),i.removeEventListener("load",u),e.reportProgress&&(i.removeEventListener("progress",h),null!==a&&i.upload&&i.upload.removeEventListener("progress",f)),i.abort()}}))},e.\u0275fac=function(t){return new(t||e)(r.dc(j))},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),M=new r.q("XSRF_COOKIE_NAME"),L=new r.q("XSRF_HEADER_NAME"),P=function(){return function(){}}(),F=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.Q)(e,this.cookieName),this.lastCookieString=e),this.lastToken},e.\u0275fac=function(t){return new(t||e)(r.dc(l.e),r.dc(r.B),r.dc(M))},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),R=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)},e.\u0275fac=function(t){return new(t||e)(r.dc(P),r.dc(L))},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),V=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(x,[]);this.chain=t.reduceRight((function(e,t){return new D(e,t)}),this.backend)}return this.chain.handle(e)},e.\u0275fac=function(t){return new(t||e)(r.dc(h),r.dc(r.r))},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),B=function(){function e(){}var t;return t=e,e.disable=function(){return{ngModule:t,providers:[{provide:R,useClass:E}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:M,useValue:e.cookieName}:[],e.headerName?{provide:L,useValue:e.headerName}:[]]}},e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)},providers:[R,{provide:x,useExisting:R,multi:!0},{provide:P,useClass:F},{provide:M,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),e}(),Y=function(){function e(){}return e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)},providers:[k,{provide:p,useClass:V},A,{provide:h,useExisting:A},I,{provide:j,useExisting:I}],imports:[[B.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},cV09:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){this.cm=e,this.options=i;var r={listenForChanges:!1};for(var o in i)r[o]=i[o];r.className||(r.className="CodeMirror-search-match"),this.annotation=e.annotateScrollbar(r),this.query=t,this.caseFold=n,this.gap={from:e.firstLine(),to:e.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var a=this;e.on("change",this.changeHandler=function(e,t){a.onChange(t)})}function n(e,t,n){return e<=t?e:Math.max(t,e+n)}e.defineExtension("showMatchesOnScrollbar",(function(e,n,i){return"string"==typeof i&&(i={className:i}),i||(i={}),new t(this,e,n,i)})),t.prototype.findMatches=function(){if(this.gap){for(var t=0;t=this.gap.to);t++)r.to.line>=this.gap.from&&this.matches.splice(t--,1);for(var n=this.cm.getSearchCursor(this.query,e.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),i=this.options&&this.options.maxMatches||1e3;n.findNext();){var r;if((r={from:n.from(),to:n.to()}).from.line>=this.gap.to)break;if(this.matches.splice(t++,0,r),this.matches.length>i)break}this.gap=null}},t.prototype.onChange=function(t){var i=t.from.line,r=e.changeEnd(t).line,o=r-t.to.line;if(this.gap?(this.gap.from=Math.min(n(this.gap.from,i,o),t.from.line),this.gap.to=Math.max(n(this.gap.to,i,o),t.from.line)):this.gap={from:t.from.line,to:r+1},o)for(var a=0;a=0;a--){var s=r[a].from(),c=r[a].to();s.line>=n||(c.line>=n&&(c=i(n,0)),n=s.line,null==o?this.uncomment(s,c,e)?o="un":(this.lineComment(s,c,e),o="line"):"un"==o?this.uncomment(s,c,e):this.lineComment(s,c,e))}})),e.defineExtension("lineComment",(function(e,a,s){s||(s=t);var c=this,u=o(c,e),l=c.getLine(e.line);if(null!=l&&(p=l,!/\bstring\b/.test(c.getTokenTypeAt(i(e.line,0)))||/^[\'\"\`]/.test(p))){var p,h=s.lineComment||u.lineComment;if(h){var d=Math.min(0!=a.ch||a.line==e.line?a.line+1:a.line,c.lastLine()+1),f=null==s.padding?" ":s.padding,g=s.commentBlankLines||e.line==a.line;c.operation((function(){if(s.indent){for(var t=null,o=e.line;oa.length)&&(t=a)}for(o=e.line;op||s.operation((function(){if(0!=a.fullLines){var t=n.test(s.getLine(p));s.replaceRange(h+l,i(p)),s.replaceRange(u+h,i(e.line,0));var o=a.blockCommentLead||c.blockCommentLead;if(null!=o)for(var d=e.line+1;d<=p;++d)(d!=p||t)&&s.replaceRange(o+h,i(d,0))}else s.replaceRange(l,r),s.replaceRange(u,e)}))}}else(a.lineComment||c.lineComment)&&0!=a.fullLines&&s.lineComment(e,r,a)})),e.defineExtension("uncomment",(function(e,r,a){a||(a=t);var s,c=this,u=o(c,e),l=Math.min(0!=r.ch||r.line==e.line?r.line:r.line-1,c.lastLine()),p=Math.min(e.line,l),h=a.lineComment||u.lineComment,d=[],f=null==a.padding?" ":a.padding;e:if(h){for(var g=p;g<=l;++g){var b=c.getLine(g),m=b.indexOf(h);if(m>-1&&!/comment/.test(c.getTokenTypeAt(i(g,m+1)))&&(m=-1),-1==m&&n.test(b))break e;if(m>-1&&n.test(b.slice(0,m)))break e;d.push(b)}if(c.operation((function(){for(var e=p;e<=l;++e){var t=d[e-p],n=t.indexOf(h),r=n+h.length;n<0||(t.slice(r,r+f.length)==f&&(r+=f.length),s=!0,c.replaceRange("",i(e,n),i(e,r)))}})),s)return!0}var v=a.blockCommentStart||u.blockCommentStart,y=a.blockCommentEnd||u.blockCommentEnd;if(!v||!y)return!1;var w=a.blockCommentLead||u.blockCommentLead,O=c.getLine(p),C=O.indexOf(v);if(-1==C)return!1;var S=l==p?O:c.getLine(l),z=S.indexOf(y,l==p?C+v.length:0),T=i(p,C+1),_=i(l,z+1);if(-1==z||!/comment/.test(c.getTokenTypeAt(T))||!/comment/.test(c.getTokenTypeAt(_))||c.getRange(T,_,"\n").indexOf(y)>-1)return!1;var k=O.lastIndexOf(v,e.ch),D=-1==k?-1:O.slice(0,e.ch).indexOf(y,k+v.length);if(-1!=k&&-1!=D&&D+y.length!=e.ch)return!1;D=S.indexOf(y,r.ch);var x=S.slice(r.ch).lastIndexOf(v,D-r.ch);return k=-1==D||-1==x?-1:r.ch+x,(-1==D||-1==k||k==r.ch)&&(c.operation((function(){c.replaceRange("",i(l,z-(f&&S.slice(z-f.length,z)==f?f.length:0)),i(l,z+y.length));var e=C+v.length;if(f&&O.slice(e,e+f.length)==f&&(e+=f.length),c.replaceRange("",i(p,C),i(p,e)),w)for(var t=p+1;t<=l;++t){var r=c.getLine(t),o=r.indexOf(w);if(-1!=o&&!n.test(r.slice(0,o))){var a=o+w.length;f&&r.slice(a,a+f.length)==f&&(a+=f.length),c.replaceRange("",i(t,o),i(t,a))}}})),!0)}))}(n("VrN/"))},crnd:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},d0bx:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("Zss7"));function o(e,t,n){var i;return(i=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?i+=360:i>=360&&(i-=360),i}function a(e,t,n){return 0===e.h&&0===e.s?e.s:((i=n?Math.round(100*e.s)-16*t:4===t?Math.round(100*e.s)+16:Math.round(100*e.s)+5*t)>100&&(i=100),n&&5===t&&i>10&&(i=10),i<6&&(i=6),i);var i}function s(e,t,n){return n?Math.round(100*e.v)+5*t:Math.round(100*e.v)-15*t}t.default=function(e){for(var t=[],n=r.default(e),i=5;i>0;i-=1){var c=n.toHsv(),u=r.default({h:o(c,i,!0),s:a(c,i,!0),v:s(c,i,!0)}).toHexString();t.push(u)}for(t.push(n.toHexString()),i=1;i<=4;i+=1)c=n.toHsv(),u=r.default({h:o(c,i),s:a(c,i),v:s(c,i)}).toHexString(),t.push(u);return t}},dC0D:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("mrSG"),r=n("FFOo");function o(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new a(e,t,n))}}var a=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.accumulator,this.seed,this.hasSeed))},e}(),s=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o.accumulator=n,o._seed=i,o.hasSeed=r,o.index=0,o}return i.c(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)},t}(r.a)},dEwP:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("F/XL"),r=n("Txjg");function o(){for(var e=[],t=0;t=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),c=r[n];n=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),d(n)?i.showHidden=n:n&&t._extend(i,n),m(i.showHidden)&&(i.showHidden=!1),m(i.depth)&&(i.depth=2),m(i.colors)&&(i.colors=!1),m(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=s),u(i,e,i.depth)}function s(e,t){var n=a.styles[t];return n?"\x1b["+a.colors[n][0]+"m"+e+"\x1b["+a.colors[n][1]+"m":e}function c(e,t){return e}function u(e,n,i){if(e.customInspect&&n&&C(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(i,e);return b(r)||(r=u(e,r,i)),r}var o=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return g(t)?e.stylize(""+t,"number"):d(t)?e.stylize(""+t,"boolean"):f(t)?e.stylize("null","null"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),O(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(n);if(0===a.length){if(C(n))return e.stylize("[Function"+(n.name?": "+n.name:"")+"]","special");if(v(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(O(n))return l(n)}var c,y="",S=!1,z=["{","}"];return h(n)&&(S=!0,z=["[","]"]),C(n)&&(y=" [Function"+(n.name?": "+n.name:"")+"]"),v(n)&&(y=" "+RegExp.prototype.toString.call(n)),w(n)&&(y=" "+Date.prototype.toUTCString.call(n)),O(n)&&(y=" "+l(n)),0!==a.length||S&&0!=n.length?i<0?v(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=S?function(e,t,n,i,r){for(var o=[],a=0,s=t.length;a60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(c,y,z)):z[0]+y+z[1]}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,i,r,o){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?s=e.stylize(c.set?"[Getter/Setter]":"[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),k(i,r)||(a="["+r+"]"),s||(e.seen.indexOf(c.value)<0?(s=f(n)?u(e,c.value,null):u(e,c.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),m(a)){if(o&&r.match(/^\d+$/))return s;(a=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function f(e){return null===e}function g(e){return"number"==typeof e}function b(e){return"string"==typeof e}function m(e){return void 0===e}function v(e){return y(e)&&"[object RegExp]"===S(e)}function y(e){return"object"==typeof e&&null!==e}function w(e){return y(e)&&"[object Date]"===S(e)}function O(e){return y(e)&&("[object Error]"===S(e)||e instanceof Error)}function C(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function z(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(m(r)&&(r=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!o[e])if(new RegExp("\\b"+e+"\\b","i").test(r)){var n=process.pid;o[e]=function(){var i=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,i)}}else o[e]=function(){};return o[e]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=d,t.isNull=f,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=m,t.isRegExp=v,t.isObject=y,t.isDate=w,t.isError=O,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n("VNB6");var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _(){var e=new Date,t=[z(e.getHours()),z(e.getMinutes()),z(e.getSeconds())].join(":");return[e.getDate(),T[e.getMonth()],t].join(" ")}function k(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",_(),t.format.apply(t,arguments))},t.inherits=n("5wz/"),t._extend=function(e,t){if(!t||!y(t))return e;for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e}},"das/":function(e,t,n){"use strict";function i(e){return null==e||e!=e}n.d(t,"a",(function(){return i}))},dwPZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("dWS+");function r(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var r=t.name.value;n[r]?e.reportError(new i.a(function(e){return'There can be only one input field named "'.concat(e,'".')}(r),[n[r],t.name])):n[r]=t.name}}}},dzgT:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("mrSG"),r=n("nkY7"),o=n("isby"),a=n("MGBS"),s=n("zotm"),c=n("IUTb"),u={};function l(){for(var e=[],t=0;t ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:i,table:i,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};a.def=r(a.def).replace("label",a._label).replace("title",a._title).getRegex(),a.bullet=/(?:[*+-]|\d{1,9}\.)/,a.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,a.item=r(a.item,"gm").replace(/bull/g,a.bullet).getRegex(),a.list=r(a.list).replace(/bull/g,a.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+a.def.source+")").getRegex(),a._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",a._comment=//,a.html=r(a.html,"i").replace("comment",a._comment).replace("tag",a._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),a.paragraph=r(a._paragraph).replace("hr",a.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",a._tag).getRegex(),a.blockquote=r(a.blockquote).replace("paragraph",a.paragraph).getRegex(),a.normal=o({},a),a.gfm=o({},a.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),a.gfm.nptable=r(a.gfm.nptable).replace("hr",a.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",a._tag).getRegex(),a.gfm.table=r(a.gfm.table).replace("hr",a.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",a._tag).getRegex(),a.pedantic=o({},a.normal,{html:r("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",a._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:i,paragraph:r(a.normal._paragraph).replace("hr",a.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",a.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const s={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:i,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:i,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~"};s.em=r(s.em).replace(/punctuation/g,s._punctuation).getRegex(),s._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,s._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,s._email=/[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])?)+(?![-_])/,s.autolink=r(s.autolink).replace("scheme",s._scheme).replace("email",s._email).getRegex(),s._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,s.tag=r(s.tag).replace("comment",a._comment).replace("attribute",s._attribute).getRegex(),s._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,s._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,s._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,s.link=r(s.link).replace("label",s._label).replace("href",s._href).replace("title",s._title).getRegex(),s.reflink=r(s.reflink).replace("label",s._label).getRegex(),s.normal=o({},s),s.pedantic=o({},s.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:r(/^!?\[(label)\]\((.*?)\)/).replace("label",s._label).getRegex(),reflink:r(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",s._label).getRegex()}),s.gfm=o({},s.normal,{escape:r(s.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\1&&e.reportError(new i.a("This anonymous operation must be the only defined operation.",n))}}}},gI7C:function(e,t,n){"use strict";n.r(t),n.d(t,"getASTNodeAtPosition",(function(){return r})),n.d(t,"pointToOffset",(function(){return o}));var i=n("L2ys");function r(e,t,n){const r=o(e,n);let a;return Object(i.c)(t,{enter(e){if(!("Name"!==e.kind&&e.loc&&e.loc.start<=r&&r<=e.loc.end))return!1;a=e},leave(e){if(e.loc&&e.loc.start<=r&&r<=e.loc.end)return!1}}),a}function o(e,t){const n=e.split("\n").slice(0,t.line);return t.character+n.map(e=>e.length+1).reduce((e,t)=>e+t,0)}},gQ7D:function(e,t,n){"use strict";e.exports=n("tgdo")},gQXd:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i={isTestMode:!1}},gV3x:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("TYT/"),r=n("2WDa"),o=n("Valr"),a=n("o8Qb");function s(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"span",12),i.Nc(3),i.lc(4,"translate"),i.Yb(),i.Nc(5,"\n "),i.Wb()),2&e&&(i.Db(3),i.Oc(i.mc(4,1,"DOCS_TYPE_TEXT")))}function c(e,t){if(1&e&&(i.Zb(0,"span",15),i.Nc(1),i.Yb()),2&e){var n=i.kc(2).$implicit,r=i.kc();i.Db(1),i.Oc(r.getProperName(n.type))}}function u(e,t){1&e&&(i.Zb(0,"span",16),i.Nc(1),i.lc(2,"translate"),i.Yb()),2&e&&(i.Db(1),i.Oc(i.mc(2,1,"DOCS_FIELD_TEXT")))}function l(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,c,2,1,"span",13),i.Nc(3,"\n "),i.Lc(4,u,3,3,"span",14),i.Nc(5,"\n "),i.Wb()),2&e){var n=i.kc().$implicit;i.Db(2),i.sc("ngIf",n.isQuery),i.Db(2),i.sc("ngIf",!n.isQuery)}}function p(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"span",12),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Wb()),2&e){var n=i.kc().$implicit,r=i.kc();i.Db(3),i.Oc(r.getProperName(n.cat))}}function h(e,t){if(1&e){var n=i.ac();i.Zb(0,"span",17),i.hc("click",(function(){i.Dc(n);var e=i.kc().$implicit;return i.kc().goToItem(e.type,null,"type")})),i.Nc(1),i.Yb()}if(2&e){var r=i.kc().$implicit;i.Db(1),i.Pc("",r.type,".")}}function d(e,t){1&e&&(i.Zb(0,"span"),i.Nc(1,","),i.Yb())}var f=function(e){return{"doc-viewer-search-result-highlight":e}};function g(e,t){if(1&e&&(i.Zb(0,"span",9),i.Nc(1,"\n "),i.Zb(2,"span"),i.Nc(3),i.Yb(),i.Lc(4,d,2,0,"span",10),i.Nc(5,"\n "),i.Yb()),2&e){var n=t.$implicit,r=t.last,o=i.kc(2).$implicit;i.sc("ngClass",i.vc(3,f,"argument"===o.highlight)),i.Db(3),i.Oc(n.name),i.Db(1),i.sc("ngIf",!r)}}function b(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n (\n "),i.Lc(2,g,6,5,"span",18),i.Nc(3,"\n )\n "),i.Wb()),2&e){var n=i.kc().$implicit,r=i.kc();i.Db(2),i.sc("ngForOf",n.args)("ngForTrackBy",r.resultArgTrackBy)}}function m(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",3),i.hc("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc().goToItem(e.name,e.type,e.cat)})),i.Nc(1,"\n "),i.Xb(2,4),i.Nc(3,"\n "),i.Lc(4,s,6,3,"ng-container",5),i.Nc(5,"\n "),i.Lc(6,l,6,2,"ng-container",5),i.Nc(7,"\n "),i.Lc(8,p,5,1,"ng-container",6),i.Nc(9,"\n "),i.Wb(),i.Nc(10,"\n "),i.Zb(11,"div",7),i.Nc(12,"\n "),i.Lc(13,h,2,1,"span",8),i.Zb(14,"span",9),i.Nc(15),i.Yb(),i.Nc(16,"\n "),i.Lc(17,b,4,2,"ng-container",10),i.Nc(18,"\n "),i.Yb(),i.Nc(19,"\n "),i.Zb(20,"div",11),i.Nc(21),i.Yb(),i.Nc(22,"\n "),i.Yb()}if(2&e){var r=t.$implicit;i.sc("@showResultItem",void 0),i.Db(2),i.sc("ngSwitch",r.cat),i.Db(2),i.sc("ngSwitchCase","type"),i.Db(2),i.sc("ngSwitchCase","field"),i.Db(7),i.sc("ngIf",!r.isQuery&&r.type),i.Db(1),i.sc("ngClass",i.vc(9,f,"argument"!==r.highlight)),i.Db(1),i.Oc(r.name),i.Db(2),i.sc("ngIf",r.args&&r.args.length),i.Db(4),i.Oc(r.description)}}var v=function(){function e(){this.results=null,this.goToFieldChange=new i.n,this.goToTypeChange=new i.n}return e.prototype.ngOnInit=function(){},e.prototype.goToItem=function(e,t,n){switch(n){case"field":this.goToField(e,t);break;case"type":this.goToType(e)}},e.prototype.goToField=function(e,t){this.goToFieldChange.next({name:e,parentType:t})},e.prototype.goToType=function(e){this.goToTypeChange.next({name:e})},e.prototype.getProperName=function(e){return/mutation/i.test(e)?"Mutation":/query/i.test(e)?"Query":/subscription/i.test(e)?"Subscription":e},e.prototype.resultTrackBy=function(e,t){return t.name+"."+t.type+"."+t.cat},e.prototype.resultArgTrackBy=function(e,t){return t.name},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-doc-viewer-search-results"]],inputs:{results:"results"},outputs:{goToFieldChange:"goToFieldChange",goToTypeChange:"goToTypeChange"},decls:9,vars:5,consts:[[1,"doc-viewer-search-results"],[1,"doc-viewer-search-results-title"],["class","doc-viewer-search-result-item",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"doc-viewer-search-result-item",3,"click"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"doc-viewer-search-result-item-inner"],["class","doc-viewer-search-result-parent-type",3,"click",4,"ngIf"],[3,"ngClass"],[4,"ngIf"],[1,"doc-viewer-search-result-description"],[1,"doc-viewer-search-result-cat","cat-type"],["class","doc-viewer-search-result-cat cat-query",4,"ngIf"],["class","doc-viewer-search-result-cat cat-field",4,"ngIf"],[1,"doc-viewer-search-result-cat","cat-query"],[1,"doc-viewer-search-result-cat","cat-field"],[1,"doc-viewer-search-result-parent-type",3,"click"],[3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"]],template:function(e,t){1&e&&(i.Zb(0,"div",0),i.Nc(1,"\n "),i.Zb(2,"div",1),i.Nc(3),i.lc(4,"translate"),i.Yb(),i.Nc(5,"\n\n "),i.Lc(6,m,23,11,"div",2),i.Nc(7,"\n\n"),i.Yb(),i.Nc(8,"\n")),2&e&&(i.Db(3),i.Pc("\n ",i.mc(4,3,"DOCS_SEARCH_RESULTS_TEXT"),"\n "),i.Db(3),i.sc("ngForOf",t.results)("ngForTrackBy",t.resultTrackBy))},directives:[o.s,o.x,o.y,o.z,o.t,o.q],pipes:[a.d],styles:[""],data:{animation:[Object(r.l)("showResultItem",[Object(r.k)(":enter",[Object(r.j)({opacity:0,transform:"translateY(50%)"}),Object(r.e)(200,Object(r.j)({opacity:1,transform:"translateY(0)"}))]),Object(r.k)(":leave",[Object(r.j)({height:"*"}),Object(r.e)(200,Object(r.j)({transform:"translateY(150%)",opacity:0,height:0}))])])]}}),e}()},gggk:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("dWS+");function r(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new i.a(function(e){return e?'Subscription "'.concat(e,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field."}(t.name&&t.name.value),t.selectionSet.selections.slice(1)))}}}},h9Dq:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("mrSG"),r=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.pending=!1,i}return i.c(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,n){return e.call(this)||this}return i.c(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(n("pugT").a))},hYGK:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return StoreDevtoolsModule}));var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("mrSG"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("TYT/"),_ngrx_store__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("6onV"),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("G5J1"),rxjs__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("6blF"),rxjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("F/XL"),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("p0ib"),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("zo3G"),rxjs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("S5bw"),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("S1nX"),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("VnD/"),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("67Y/"),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("Phjn"),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("0zd0"),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("Gi3i"),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("9Z1F"),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("t9fZ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("ny24"),rxjs_operators__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("15JJ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("0mNj"),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("mZXl"),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("/PH2"),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("dC0D"),StoreDevtoolsConfig=function(){return function(){this.maxAge=!1}}(),STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.q("@ngrx/devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.q("@ngrx/devtools Initial Config");function noMonitor(){return null}var DEFAULT_NAME="NgRx Store DevTools";function createConfig(e){var t={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},n="function"==typeof e?e():e,i=Object.assign({},t,{features:n.features||!!n.logOnly&&{pause:!0,export:!0,test:!0}||t.features},n);if(i.maxAge&&i.maxAge<2)throw new Error("Devtools 'maxAge' cannot be less than 2, got "+i.maxAge);return i}var PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING",PerformAction=function(){return function(e,t){if(this.action=e,this.timestamp=t,this.type=PERFORM_ACTION,void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}(),Refresh=function(){return function(){this.type=REFRESH}}(),Reset=function(){return function(e){this.timestamp=e,this.type=RESET}}(),Rollback=function(){return function(e){this.timestamp=e,this.type=ROLLBACK}}(),Commit=function(){return function(e){this.timestamp=e,this.type=COMMIT}}(),Sweep=function(){return function(){this.type=SWEEP}}(),ToggleAction=function(){return function(e){this.id=e,this.type=TOGGLE_ACTION}}(),SetActionsActive=function(){return function(e,t,n){void 0===n&&(n=!0),this.start=e,this.end=t,this.active=n,this.type=SET_ACTIONS_ACTIVE}}(),JumpToState=function(){return function(e){this.index=e,this.type=JUMP_TO_STATE}}(),JumpToAction=function(){return function(e){this.actionId=e,this.type=JUMP_TO_ACTION}}(),ImportState=function(){return function(e){this.nextLiftedState=e,this.type=IMPORT_STATE}}(),LockChanges=function(){return function(e){this.status=e,this.type=LOCK_CHANGES}}(),PauseRecording=function(){return function(e){this.status=e,this.type=PAUSE_RECORDING}}(),DevtoolsDispatcher=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(tslib__WEBPACK_IMPORTED_MODULE_0__.c)(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Pb({token:t,factory:function(e){return t.\u0275fac(e)}});var n=_angular_core__WEBPACK_IMPORTED_MODULE_1__.bc(t);return t}(_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.a);function difference(e,t){return e.filter((function(e){return t.indexOf(e)<0}))}function unliftState(e){var t=e.computedStates,n=e.currentStateIndex;return n>=t.length?t[t.length-1].state:t[n].state}function unliftAction(e){return e.actionsById[e.nextActionId-1]}function liftAction(e){return new PerformAction(e,+Date.now())}function sanitizeActions(e,t){return Object.keys(t).reduce((function(n,i){var r=Number(i);return n[r]=sanitizeAction(e,t[r],r),n}),{})}function sanitizeAction(e,t,n){return Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)(Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)({},t),{action:e(t.action,n)})}function sanitizeStates(e,t){return t.map((function(t,n){return{state:sanitizeState(e,t.state,n),error:t.error}}))}function sanitizeState(e,t,n){return e(t,n)}function shouldFilterActions(e){return e.predicate||e.actionsSafelist||e.actionsBlocklist}function filterLiftedState(e,t,n,i){var r=[],o={},a=[];return e.stagedActionIds.forEach((function(s,c){var u=e.actionsById[s];u&&(c&&isActionFiltered(e.computedStates[c],u,t,n,i)||(o[s]=u,r.push(s),a.push(e.computedStates[c])))})),Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)(Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)({},e),{stagedActionIds:r,actionsById:o,computedStates:a})}function isActionFiltered(e,t,n,i,r){var o=n&&!n(e,t.action),a=i&&!t.action.type.match(i.map((function(e){return escapeRegExp(e)})).join("|")),s=r&&t.action.type.match(r.map((function(e){return escapeRegExp(e)})).join("|"));return o||a||s}function escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.q("Redux Devtools Extension"),DevtoolsExtension=function(){function DevtoolsExtension(e,t,n){this.config=t,this.dispatcher=n,this.devtoolsExtension=e,this.createActionStreams()}return DevtoolsExtension.prototype.notify=function(e,t){var n=this;if(this.devtoolsExtension)if(e.type===PERFORM_ACTION){if(t.isLocked||t.isPaused)return;var i=unliftState(t);if(shouldFilterActions(this.config)&&isActionFiltered(i,e,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;var r=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,i,t.currentStateIndex):i,o=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,e,t.nextActionId):e;this.sendToReduxDevtools((function(){return n.extensionConnection.send(o,r)}))}else{var a=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)(Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)({},t),{stagedActionIds:t.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,t.actionsById):t.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,t.computedStates):t.computedStates});this.sendToReduxDevtools((function(){return n.devtoolsExtension.send(null,a,n.getExtensionConfig(n.config))}))}},DevtoolsExtension.prototype.createChangesObservable=function(){var e=this;return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_4__.a((function(t){var n=e.devtoolsExtension.connect(e.getExtensionConfig(e.config));return e.extensionConnection=n,n.init(),n.subscribe((function(e){return t.next(e)})),n.unsubscribe})):Object(rxjs__WEBPACK_IMPORTED_MODULE_3__.b)()},DevtoolsExtension.prototype.createActionStreams=function(){var e=this,t=this.createChangesObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)()),n=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)((function(e){return e.type===ExtensionActionTypes.START}))),i=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)((function(e){return e.type===ExtensionActionTypes.STOP}))),r=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)((function(e){return e.type===ExtensionActionTypes.DISPATCH})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)((function(t){return e.unwrapAction(t.payload)})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.a)((function(t){return t.type===IMPORT_STATE?e.dispatcher.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)((function(e){return e.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.l})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)((function(){return t})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.a)((function(){return Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(t)})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(1)):Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(t)}))),o=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)((function(e){return e.type===ExtensionActionTypes.ACTION})),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)((function(t){return e.unwrapAction(t.payload)}))).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(i)),a=r.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(i));this.start$=n.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(i)),this.actions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)((function(){return o}))),this.liftedActions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)((function(){return a})))},DevtoolsExtension.prototype.unwrapAction=function(action){return"string"==typeof action?eval("("+action+")"):action},DevtoolsExtension.prototype.getExtensionConfig=function(e){var t={name:e.name,features:e.features,serialize:e.serialize};return!1!==e.maxAge&&(t.maxAge=e.maxAge),t},DevtoolsExtension.prototype.sendToReduxDevtools=function(e){try{e()}catch(t){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",t)}},DevtoolsExtension.\u0275fac=function(e){return new(e||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Pb({token:DevtoolsExtension,factory:function(e){return DevtoolsExtension.\u0275fac(e)}}),DevtoolsExtension}(),INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.b},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(e,t,n,i,r){if(i)return{state:n,error:"Interrupted by an error up the chain"};var o,a=n;try{a=e(n,t)}catch(s){o=s.toString(),r.handleError(s.stack||s)}return{state:a,error:o}}function recomputeStates(e,t,n,i,r,o,a,s,c){if(t>=e.length&&e.length===o.length)return e;for(var u=e.slice(0,t),l=o.length-(c?1:0),p=t;p-1?f:computeNextEntry(n,d,g,b,s);u.push(m)}return c&&u.push(e[e.length-1]),u}function liftInitialState(e,t){return{monitorState:t(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:e,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(e,t,n,i,r){return void 0===r&&(r={}),function(o){return function(a,s){var c,u=a||t,l=u.monitorState,p=u.actionsById,h=u.nextActionId,d=u.stagedActionIds,f=u.skippedActionIds,g=u.committedState,b=u.currentStateIndex,m=u.computedStates,v=u.isLocked,y=u.isPaused;function w(e){for(var t=e,n=d.slice(1,t+1),i=0;it?b-t:0}function O(){p={0:liftAction(INIT_ACTION)},h=1,d=[0],f=[],g=m[b].state,b=0,m=[]}a||(p=Object.create(p));var C=0;switch(s.type){case LOCK_CHANGES:v=s.status,C=1/0;break;case PAUSE_RECORDING:(y=s.status)?(d=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(d,[h]),p[h]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),h++,C=d.length-1,m=m.concat(m[m.length-1]),b===d.length-2&&b++,C=1/0):O();break;case RESET:p={0:liftAction(INIT_ACTION)},h=1,d=[0],f=[],g=e,b=0,m=[];break;case COMMIT:O();break;case ROLLBACK:p={0:liftAction(INIT_ACTION)},h=1,d=[0],f=[],b=0,m=[];break;case TOGGLE_ACTION:var S=s.id,z=f.indexOf(S);f=-1===z?Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)([S],f):f.filter((function(e){return e!==S})),C=d.indexOf(S);break;case SET_ACTIONS_ACTIVE:for(var T=s.start,_=s.end,k=s.active,D=[],x=T;x<_;x++)D.push(x);f=k?difference(f,D):Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(f,D),C=d.indexOf(T);break;case JUMP_TO_STATE:b=s.index,C=1/0;break;case JUMP_TO_ACTION:-1!==(z=d.indexOf(s.actionId))&&(b=z),C=1/0;break;case SWEEP:d=difference(d,f),f=[],b=Math.min(b,d.length-1);break;case PERFORM_ACTION:if(v)return a||t;if(y||a&&isActionFiltered(a.computedStates[b],s,r.predicate,r.actionsSafelist,r.actionsBlocklist)){var E=m[m.length-1];m=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(m.slice(0,-1),[computeNextEntry(o,s.action,E.state,E.error,n)]),C=1/0;break}r.maxAge&&d.length===r.maxAge&&w(1),b===d.length-1&&b++;var N=h++;p[N]=s,C=(d=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(d,[N])).length-1;break;case IMPORT_STATE:l=(c=s.nextLiftedState).monitorState,p=c.actionsById,h=c.nextActionId,d=c.stagedActionIds,f=c.skippedActionIds,g=c.committedState,b=c.currentStateIndex,m=c.computedStates,v=c.isLocked,y=c.isPaused;break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_2__.b:C=0,r.maxAge&&d.length>r.maxAge&&(m=recomputeStates(m,C,o,g,p,d,f,n,y),w(d.length-r.maxAge),C=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_2__.l:m.filter((function(e){return e.error})).length>0?(C=0,r.maxAge&&d.length>r.maxAge&&(m=recomputeStates(m,C,o,g,p,d,f,n,y),w(d.length-r.maxAge),C=1/0)):(y||v||(b===d.length-1&&b++,N=h++,p[N]=new PerformAction(s,+Date.now()),d=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(d,[N]),m=recomputeStates(m,C=d.length-1,o,g,p,d,f,n,y)),m=m.map((function(e){return Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)(Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)({},e),{state:o(e.state,RECOMPUTE_ACTION)})})),b=d.length-1,r.maxAge&&d.length>r.maxAge&&w(d.length-r.maxAge),C=1/0);break;default:C=1/0}return m=recomputeStates(m,C,o,g,p,d,f,n,y),{monitorState:l=i(l,s),actionsById:p,nextActionId:h,stagedActionIds:d,skippedActionIds:f,committedState:g,currentStateIndex:b,computedStates:m,isLocked:v,isPaused:y}}}}var StoreDevtools=function(){function e(e,t,n,i,r,o,a,s){var c=this,u=liftInitialState(a,s.monitor),l=liftReducerWith(a,u,o,s.monitor,s),p=Object(rxjs__WEBPACK_IMPORTED_MODULE_6__.a)(Object(rxjs__WEBPACK_IMPORTED_MODULE_6__.a)(t.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.a)(1)),i.actions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(liftAction)),e,i.liftedActions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.b)(rxjs__WEBPACK_IMPORTED_MODULE_7__.a)),h=n.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(l)),d=new rxjs__WEBPACK_IMPORTED_MODULE_8__.a(1),f=p.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.a)(h),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.a)((function(e,t){var n=e.state,r=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.e)(t,2),o=r[0],a=(0,r[1])(n,o);return o.type!==PERFORM_ACTION&&shouldFilterActions(s)&&(a=filterLiftedState(a,s.predicate,s.actionsSafelist,s.actionsBlocklist)),i.notify(o,a),{state:a,action:o}}),{state:u,action:null})).subscribe((function(e){var t=e.action;d.next(e.state),t.type===PERFORM_ACTION&&r.next(t.action)})),g=i.start$.subscribe((function(){c.refresh()})),b=d.asObservable(),m=b.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(unliftState));this.extensionStartSubscription=g,this.stateSubscription=f,this.dispatcher=e,this.liftedState=b,this.state=m}return e.prototype.dispatch=function(e){this.dispatcher.next(e)},e.prototype.next=function(e){this.dispatcher.next(e)},e.prototype.error=function(e){},e.prototype.complete=function(){},e.prototype.performAction=function(e){this.dispatch(new PerformAction(e,+Date.now()))},e.prototype.refresh=function(){this.dispatch(new Refresh)},e.prototype.reset=function(){this.dispatch(new Reset(+Date.now()))},e.prototype.rollback=function(){this.dispatch(new Rollback(+Date.now()))},e.prototype.commit=function(){this.dispatch(new Commit(+Date.now()))},e.prototype.sweep=function(){this.dispatch(new Sweep)},e.prototype.toggleAction=function(e){this.dispatch(new ToggleAction(e))},e.prototype.jumpToAction=function(e){this.dispatch(new JumpToAction(e))},e.prototype.jumpToState=function(e){this.dispatch(new JumpToState(e))},e.prototype.importState=function(e){this.dispatch(new ImportState(e))},e.prototype.lockChanges=function(e){this.dispatch(new LockChanges(e))},e.prototype.pauseRecording=function(e){this.dispatch(new PauseRecording(e))},e.\u0275fac=function(t){return new(t||e)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.a),_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.e),_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.f),_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(_angular_core__WEBPACK_IMPORTED_MODULE_1__.m),_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.c),_angular_core__WEBPACK_IMPORTED_MODULE_1__.dc(STORE_DEVTOOLS_CONFIG))},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.q("Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(e,t){return Boolean(e)||t.monitor!==noMonitor}function createReduxDevtoolsExtension(){return"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:null}function createStateObservable(e){return e.state}var StoreDevtoolsModule=function(){function e(){}var t;return t=e,e.instrument=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:e},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.g,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.d,useExisting:DevtoolsDispatcher}]}},e.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Rb({type:e}),e.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.Qb({factory:function(t){return new(t||e)}}),e}()},herJ:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("dWS+");function r(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(r){var o=r.name.value;if(!n||!n.getDirective(o))return t[o]?e.reportError(new i.a(function(e){return'There can be only one directive named "'.concat(e,'".')}(o),[t[o],r.name])):t[o]=r.name,!1;e.reportError(new i.a(function(e){return'Directive "'.concat(e,'" already exists in the schema. It cannot be redefined.')}(o),r.name))}}}},hkyM:function(e,t){},hliF:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("dWS+"),r=n("L2ys"),o=n("axIb"),a=n("4RMZ");function s(e,t){var n=[],s=new a.a(e);return Object(r.c)(t,Object(r.e)(s,{Field:function(e){var t=s.getFieldDef();if(t&&t.isDeprecated){var r=s.getParentType();if(r){var o=t.deprecationReason;n.push(new i.a("The field ".concat(r.name,".").concat(t.name," is deprecated.")+(o?" "+o:""),e))}}},EnumValue:function(e){var t=s.getEnumValue();if(t&&t.isDeprecated){var r=Object(o.A)(s.getInputType());if(r){var a=t.deprecationReason;n.push(new i.a("The enum value ".concat(r.name,".").concat(t.name," is deprecated.")+(a?" "+a:""),e))}}}})),n}},hyX7:function(e,t,n){const i=n("SbYC"),{defaults:r}=n("vbtb"),{inline:o}=n("e56X"),{findClosingBracket:a,escape:s}=n("rUJ1");e.exports=class e{constructor(e,t){if(this.options=t||r,this.links=e,this.rules=o.normal,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=o.pedantic:this.options.gfm&&(this.rules=this.options.breaks?o.breaks:o.gfm)}static get rules(){return o}static output(t,n,i){return new e(n,i).output(t)}output(t){let n,i,r,o,c,u,l="";for(;t;)if(c=this.rules.escape.exec(t))t=t.substring(c[0].length),l+=s(c[1]);else if(c=this.rules.tag.exec(t))!this.inLink&&/^/i.test(c[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(c[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(c[0])&&(this.inRawBlock=!1),t=t.substring(c[0].length),l+=this.renderer.html(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(c[0]):s(c[0]):c[0]);else if(c=this.rules.link.exec(t)){const i=a(c[2],"()");if(i>-1){const e=(0===c[0].indexOf("!")?5:4)+c[1].length+i;c[2]=c[2].substring(0,i),c[0]=c[0].substring(0,e).trim(),c[3]=""}t=t.substring(c[0].length),this.inLink=!0,r=c[2],this.options.pedantic?(n=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r),n?(r=n[1],o=n[3]):o=""):o=c[3]?c[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(c,{href:e.escapes(r),title:e.escapes(o)}),this.inLink=!1}else if((c=this.rules.reflink.exec(t))||(c=this.rules.nolink.exec(t))){if(t=t.substring(c[0].length),n=(c[2]||c[1]).replace(/\s+/g," "),n=this.links[n.toLowerCase()],!n||!n.href){l+=c[0].charAt(0),t=c[0].substring(1)+t;continue}this.inLink=!0,l+=this.outputLink(c,n),this.inLink=!1}else if(c=this.rules.strong.exec(t))t=t.substring(c[0].length),l+=this.renderer.strong(this.output(c[4]||c[3]||c[2]||c[1]));else if(c=this.rules.em.exec(t))t=t.substring(c[0].length),l+=this.renderer.em(this.output(c[6]||c[5]||c[4]||c[3]||c[2]||c[1]));else if(c=this.rules.code.exec(t))t=t.substring(c[0].length),l+=this.renderer.codespan(s(c[2].trim(),!0));else if(c=this.rules.br.exec(t))t=t.substring(c[0].length),l+=this.renderer.br();else if(c=this.rules.del.exec(t))t=t.substring(c[0].length),l+=this.renderer.del(this.output(c[1]));else if(c=this.rules.autolink.exec(t))t=t.substring(c[0].length),"@"===c[2]?(i=s(this.mangle(c[1])),r="mailto:"+i):(i=s(c[1]),r=i),l+=this.renderer.link(r,null,i);else if(this.inLink||!(c=this.rules.url.exec(t))){if(c=this.rules.text.exec(t))t=t.substring(c[0].length),l+=this.renderer.text(this.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(c[0]):s(c[0]):c[0]:s(this.smartypants(c[0])));else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0))}else{if("@"===c[2])i=s(c[0]),r="mailto:"+i;else{do{u=c[0],c[0]=this.rules._backpedal.exec(c[0])[0]}while(u!==c[0]);i=s(c[0]),r="www."===c[1]?"http://"+i:i}t=t.substring(c[0].length),l+=this.renderer.link(r,null,i)}return l}static escapes(t){return t?t.replace(e.rules._escapes,"$1"):t}outputLink(e,t){const n=t.href,i=t.title?s(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,i,this.output(e[1])):this.renderer.image(n,i,s(e[1]))}smartypants(e){return this.options.smartypants?e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026"):e}mangle(e){if(!this.options.mangle)return e;const t=e.length;let n,i="",r=0;for(;r.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}}},i1zs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,a.default)(t,t=>{switch(t.kind){case"Query":case"ShortQuery":n.type=e.getQueryType();break;case"Mutation":n.type=e.getMutationType();break;case"Subscription":n.type=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(n.type=e.getType(t.type));break;case"Field":case"AliasedField":n.fieldDef=n.type&&t.name?s(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case"SelectionSet":n.parentType=(0,r.getNamedType)(n.type);break;case"Directive":n.directiveDef=t.name&&e.getDirective(t.name);break;case"Arguments":const i="Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&s(e,n.parentType,t.prevState.name):null;n.argDefs=i&&i.args;break;case"Argument":if(n.argDef=null,n.argDefs)for(let e=0;e1,r.options.tooltips))}}c.onUpdateLinting&&c.onUpdateLinting(n,u,e)}function l(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){c(e)}),t.options.delay||500))}e.defineOption("lint",!1,(function(n,i,a){if(a&&a!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off("change",l),e.off(n.getWrapperElement(),"mouseover",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),i){for(var s=n.getOption("gutters"),u=!1,p=0;p{const t=(0,o.onlineParser)({eatWhitespace:e=>e.eatSpace(),lexRules:s,parseRules:c,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:a,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}});const s={Punctuation:/^\[|]|\{|\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?/,Keyword:/^true|false|null/},c={Document:[(0,o.p)("{"),(0,o.list)("Entry",(0,o.p)(",")),(0,o.p)("}")],Entry:[(0,o.t)("String","def"),(0,o.p)(":"),"Value"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[(0,o.t)("Number","number")],StringValue:[(0,o.t)("String","string")],BooleanValue:[(0,o.t)("Keyword","builtin")],NullValue:[(0,o.t)("Keyword","keyword")],ListValue:[(0,o.p)("["),(0,o.list)("Value",(0,o.p)(",")),(0,o.p)("]")],ObjectValue:[(0,o.p)("{"),(0,o.list)("ObjectField",(0,o.p)(",")),(0,o.p)("}")],ObjectField:[(0,o.t)("String","property"),(0,o.p)(":"),"Value"]}},imBb:function(e,t,n){var i;!function(r,o,a){if(r){for(var s,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},u={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},l={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},p={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},h=1;h<20;++h)c[111+h]="f"+h;for(h=0;h<=9;++h)c[h+96]=h.toString();v.prototype.bind=function(e,t,n){return this._bindMultiple.call(this,e=e instanceof Array?e:[e],t,n),this},v.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},v.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},v.prototype.reset=function(){return this._callbacks={},this._directMap={},this},v.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==o&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},v.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},v.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t]);s=null},v.init=function(){var e=v(o);for(var t in e)"_"!==t.charAt(0)&&(v[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},v.init(),r.Mousetrap=v,e.exports&&(e.exports=v),void 0===(i=(function(){return v}).call(t,n,t,e))||(e.exports=i)}function d(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function f(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:u[e.which]?u[e.which]:String.fromCharCode(e.which).toLowerCase()}function g(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function b(e,t,n){return n||(n=function(){if(!s)for(var e in s={},c)e>95&&e<112||c.hasOwnProperty(e)&&(s[c[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function m(e,t){var n,i,r,o=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),r=0;r1?function(e,t,o,a){function u(t){return function(){s=t,++i[e],clearTimeout(n),n=setTimeout(c,1e3)}}function p(t){l(o,t,e),"keyup"!==a&&(r=f(t)),setTimeout(c,10)}i[e]=0;for(var d=0;d=55296&&v<=56319&&(C+=e[++n]),C=S?h.call(S,z,C,g):C,t?(d.value=C,f(b,g,d)):b[g]=C,++g;m=g}if(void 0===m)for(m=a(e.length),t&&(b=new t(m)),n=0;n",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function r(e){return e&&e.bracketRegex||/[(){}[\]]/}function o(e,t,o){var s=e.getLineHandle(t.line),c=t.ch-1,u=o&&o.afterCursor;null==u&&(u=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var l=r(o),p=!u&&c>=0&&l.test(s.text.charAt(c))&&i[s.text.charAt(c)]||l.test(s.text.charAt(c+1))&&i[s.text.charAt(++c)];if(!p)return null;var h=">"==p.charAt(1)?1:-1;if(o&&o.strict&&h>0!=(c==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,c+1)),f=a(e,n(t.line,c+(h>0?1:0)),h,d||null,o);return null==f?null:{from:n(t.line,c),to:f&&f.pos,match:f&&f.ch==p.charAt(0),forward:h>0}}function a(e,t,o,a,s){for(var c=s&&s.maxScanLineLength||1e4,u=s&&s.maxScanLines||1e3,l=[],p=r(s),h=o>0?Math.min(t.line+u,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-u),d=t.line;d!=h;d+=o){var f=e.getLine(d);if(f){var g=o>0?0:f.length-1,b=o>0?f.length:-1;if(!(f.length>c))for(d==t.line&&(g=t.ch-(o<0?1:0));g!=b;g+=o){var m=f.charAt(g);if(p.test(m)&&(void 0===a||e.getTokenTypeAt(n(d,g+1))==a)){var v=i[m];if(v&&">"==v.charAt(1)==o>0)l.push(m);else{if(!l.length)return{pos:n(d,g),ch:m};l.pop()}}}}}return d-o!=(o>0?e.lastLine():e.firstLine())&&null}function s(e,i,r){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],c=e.listSelections(),u=0;ur))break;o=a}}return o?{from:e.Pos(i.line,n.getLine(i.line).length),to:e.Pos(o,n.getLine(o).length)}:void 0}}))}(n("VrN/"))},jZto:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WS_TIMEOUT=3e4},jqYt:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"h",(function(){return h}));var i=n("bYjt"),r=n("TYT/"),o=function(){function e(e){this.cdkConnectedOverlay=e,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop"}return e.\u0275fac=function(t){return new(t||e)(r.Tb(i.a))},e.\u0275dir=r.Ob({type:e,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],exportAs:["nzConnectedOverlay"]}),e}(),a=function(){function e(){}return e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)}}),e}(),s={top:new i.c({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new i.c({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new i.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new i.c({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new i.c({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new i.c({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new i.c({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new i.c({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new i.c({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new i.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new i.c({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new i.c({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new i.c({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new i.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},c=[s.top,s.right,s.bottom,s.left],u=[s.bottomLeft,s.bottomRight,s.topLeft,s.topRight],l=[new i.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new i.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})],p=[s.bottomLeft,new i.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})];function h(e){for(var t in s)if(e.connectionPair.originX===s[t].originX&&e.connectionPair.originY===s[t].originY&&e.connectionPair.overlayX===s[t].overlayX&&e.connectionPair.overlayY===s[t].overlayY)return t}},k2qM:function(e,t,n){"use strict";e.exports=function(e){return null!=e}},kBPl:function(e,t,n){"use strict";var i=n("Xt1Y");e.exports=function(e){if(!i(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}},kBjl:function(e,t,n){"use strict";function i(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))}n.d(t,"a",(function(){return i}))},kJOp:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("TYT/"),r=n("Valr"),o=function(){function e(e,t){this.document=e,this.platformId=t,this.documentIsAccessible=Object(r.L)(this.platformId)}return e.prototype.check=function(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))},e.prototype.get=function(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);var t=this.getCookieRegExp(e).exec(this.document.cookie);return decodeURIComponent(t[1])}return""},e.prototype.getAll=function(){if(!this.documentIsAccessible)return{};var e={},t=this.document;if(t.cookie&&""!==t.cookie)for(var n=t.cookie.split(";"),i=0;i (https://sirmuel.design/)","homepage":"https://imolorhe.github.io/altair/","scripts":{"ng":"ng","start":"ng serve","build":"npm run generate-settings-schema-validator && node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --prod --aot --stats-json","test-single-run":"ng test --watch=false --code-coverage","test":"jest && ng lint","test:watch":"jest --watch","prepare":"npm run generate-settings-schema-validator && node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --outputHashing=none --prod --aot --stats-json","test-build":"ng lint && npm run build && npm run test-single-run","postinstall":"npm run generate-settings-schema-validator","lint":"ng lint","e2e":"ng e2e","e2e:ci":"ng e2e --webdriver-update=false","generate-settings-schema":"typescript-json-schema --ignoreErrors src/app/store/settings/settings.reducer.ts State > src/app/utils/settings.schema.json","compile-settings-schema-validator":"ajv compile -s src/app/utils/settings.schema.json -o src/app/utils/validate_settings_schema.js","generate-settings-schema-validator":"npm run generate-settings-schema && npm run compile-settings-schema-validator","analyze":"ng build --stats-json && npx webpack-bundle-analyzer dist/stats.json","webdriver-update-ci":"webdriver-manager update --standalone false --gecko false --versions.chrome=83.0.4103.61"},"dependencies":{"@angular/animations":"^9.1.9","@angular/cdk":"^9.2.4","@angular/cli":"^9.1.6","@angular/common":"^9.1.9","@angular/core":"^9.1.9","@angular/forms":"^9.1.9","@angular/platform-browser":"^9.1.9","@angular/platform-browser-dynamic":"^9.1.9","@angular/platform-server":"^9.1.9","@angular/router":"^9.1.9","@briebug/jest-schematic":"^2.1.1","@ctrl/ngx-codemirror":"^3.1.3","@ngrx/effects":"^9.1.2","@ngrx/store":"^9.1.2","@ngrx/store-devtools":"^9.1.2","@ngui/auto-complete":"^3.0.0","@ngx-translate/core":"^12.1.2","@ngx-translate/http-loader":"^4.0.0","@webcomponents/custom-elements":"^1.4.1","angular-feather":"^6.0.10","codemirror":"^5.48.0","codemirror-graphql":"^0.11.1","comlink":"^4.2.0","comment-regex":"^1.0.1","cookie-parser":"^1.4.4","core-js":"^3.1.4","curlup":"^1.0.0","dexie":"^2.0.4","express":"^4.17.1","file-dialog":"^0.0.8","file-saver":"^2.0.2","graphql":"^14.4.2","graphql-query-compress":"^1.2.2","marked":"^0.8.0","memoizee":"^0.4.14","mousetrap":"^1.6.3","mousetrap-global-bind":"^1.1.0","new-github-issue-url":"^0.2.1","ng-zorro-antd":"9.1.2","ngrx-store-localstorage":"^9.0.0","ngx-contextmenu":"^5.4.0","ngx-cookie-service":"^2.2.0","ngx-electron":"^2.1.1","ngx-markdown":"^9.1.1","ngx-pipes":"^2.7.3","ngx-popper":"^7.0.0","ngx-sortablejs":"^3.1.4","ngx-take-until-destroy":"^5.4.0","ngx-toastr":"^12.0.1","popper.js":"^1.15.0","prettier":"^1.18.2","rxjs":"^6.5.5","sortablejs":"^1.10.2","subscriptions-transport-ws":"^0.9.16","sval":"^0.4.6","to-snake-case":"^1.0.0","tslib":"^1.10.0","uuid":"^3.3.2","valid-url":"^1.0.9","zone.js":"~0.10.2"},"devDependencies":{"@angular-devkit/build-angular":"~0.901.6","@angular/compiler":"^9.1.9","@angular/compiler-cli":"^9.1.9","@jest/globals":"^26.0.1","@types/chrome":"^0.0.90","@types/electron":"^1.6.10","@types/file-saver":"^2.0.1","@types/graphql":"^14.5.0","@types/jasmine":"3.5.0","@types/jest":"26.0.0","@types/memoizee":"^0.4.3","@types/mousetrap":"^1.6.3","@types/node":"^12.11.1","@types/prettier":"^1.19.0","@types/to-snake-case":"^1.0.0","@types/uuid":"^3.4.6","ajv":"^6.10.2","ajv-cli":"^3.0.0","babel-plugin-transform-async-to-generator":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","chai":"^4.2.0","chai-as-promised":"^7.1.1","codelyzer":"^5.1.2","jasmine-core":"^3.4.0","jasmine-spec-reporter":"~4.2.1","jest":"26.0.1","jest-preset-angular":"8.2.1","karma-cli":"^2.0.0","ncp":"^2.0.0","ngrx-store-freeze":"^0.2.0","protractor":"^5.4.2","rxjs-tslint-rules":"^4.32.0","start-server-and-test":"^1.10.6","ts-jest":"^26.1.0","ts-mocks":"^2.6.1","ts-node":"^8.3.0","tslint":"^6.1.2","typescript":"3.8.3","typescript-json-schema":"^0.42.0"},"private":true}')},klSw:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("S5bw");function r(e,t,n){var r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,r=e.bufferSize,o=void 0===r?Number.POSITIVE_INFINITY:r,a=e.windowTime,s=void 0===a?Number.POSITIVE_INFINITY:a,c=e.refCount,u=e.scheduler,l=0,p=!1,h=!1;return function(e){l++,t&&!p||(p=!1,t=new i.a(o,s,u),n=e.subscribe({next:function(e){t.next(e)},error:function(e){p=!0,t.error(e)},complete:function(){h=!0,n=void 0,t.complete()}}));var r=t.subscribe(this);this.add((function(){l--,r.unsubscribe(),n&&!h&&c&&0===l&&(n.unsubscribe(),n=void 0,t=void 0)}))}}(r))}}},lLG3:function(e,t,n){"use strict";var i=n("GpRL");e.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:i(e.get)},void 0!==e.set?(t.set=i(e.set),e.delete&&(t.delete=i(e.delete)),e.clear&&(t.clear=i(e.clear)),t):(t.set=t.get,t))}},lO5s:function(e,t,n){"use strict";var i,r,o,a=n("9Qh4"),s=n("s4AO"),c=n("fEpb").Symbol,u=n("lk0t"),l=n("4D8k"),p=n("Jb7g"),h=Object.create,d=Object.defineProperties,f=Object.defineProperty;if("function"==typeof c)try{String(c()),o=!0}catch(g){}else c=null;r=function(e){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return i(e)},e.exports=i=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?c(t):(n=h(r.prototype),t=void 0===t?"":String(t),d(n,{__description__:a("",t),__name__:a("",u(t))}))},l(i),p(i),d(r.prototype,{constructor:a(i),toString:a("",(function(){return this.__name__}))}),d(i.prototype,{toString:a((function(){return"Symbol ("+s(this).__description__+")"})),valueOf:a((function(){return s(this)}))}),f(i.prototype,i.toPrimitive,a("",(function(){var e=s(this);return"symbol"==typeof e?e:e.toString()}))),f(i.prototype,i.toStringTag,a("c","Symbol")),f(r.prototype,i.toStringTag,a("c",i.prototype[i.toStringTag])),f(r.prototype,i.toPrimitive,a("c",i.prototype[i.toPrimitive]))},lORA:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("dWS+");function r(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var r=n.name.value;return t[r]?e.reportError(new i.a('There can be only one fragment named "'.concat(r,'".'),[t[r],n.name])):t[r]=n.name,!1}}}},lWBa:function(e,t,n){"use strict";var i=n("sYVv"),r=Array.isArray;e.exports=function(e){return r(e)?e:i(e)}},lYZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("6blF"),r=n("0/uQ"),o=n("G5J1");function a(e){return new i.a((function(t){var n;try{n=e()}catch(i){return void t.error(i)}return(n?Object(r.a)(n):Object(o.b)()).subscribe(t)}))}},lk0t:function(e,t,n){"use strict";var i=n("9Qh4"),r=Object.defineProperty,o=Object.prototype,a=(0,Object.create)(null);e.exports=function(e){for(var t,n,s=0;a[e+(s||"")];)++s;return a[e+=s||""]=!0,r(o,t="@@"+e,i.gs(null,(function(e){n||(n=!0,r(this,t,i(e)),n=!1)}))),t}},lq5y:function(e,t,n){"use strict";var i=n("YsTz");e.exports=function(e){if(!i(e))throw new TypeError("Cannot use null or undefined");return e}},lup4:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"f",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"h",(function(){return u})),n.d(t,"l",(function(){return l})),n.d(t,"k",(function(){return p})),n.d(t,"i",(function(){return h})),n.d(t,"g",(function(){return d})),n.d(t,"j",(function(){return f}));var i="TOGGLE_HEADER_DIALOG",r="TOGGLE_VARIABLE_DIALOG",o="TOGGLE_SUBSCRIPTION_URL_DIALOG",a="TOGGLE_HISTORY_DIALOG",s="TOGGLE_ADD_TO_COLLECTION_DIALOG",c="TOGGLE_PRE_REQUEST_DIALOG",u=function(){return function(e){this.windowId=e,this.type=i}}(),l=function(){return function(e){this.windowId=e,this.type=r}}(),p=function(){return function(e){this.windowId=e,this.type=o}}(),h=function(){return function(e){this.windowId=e,this.type=a}}(),d=function(){return function(e){this.windowId=e,this.type=s}}(),f=function(){return function(e){this.windowId=e,this.type=c}}()},"m3Q/":function(e,t,n){!function(e){"use strict";function t(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;e.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var i={hint:t};if(n)for(var r in n)i[r]=n[r];return e.showHint(i)},e.defineExtension("showHint",(function(n){n=function(e,t,n){var i=e.options.hintOptions,r={};for(var o in c)r[o]=c[o];if(i)for(var o in i)void 0!==i[o]&&(r[o]=i[o]);if(n)for(var o in n)void 0!==n[o]&&(r[o]=n[o]);return r.hint.resolve&&(r.hint=r.hint.resolve(e,t)),r}(this,this.getCursor("start"),n);var i=this.listSelections();if(!(i.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var r=0;ru.clientHeight+1,E=a.getScrollInfo();if(D>0){var N=k.bottom-k.top;if(b.top-(b.bottom-k.top)-N>0)u.style.top=(v=b.top-N-O)+"px",y=!1;else if(N>_){u.style.height=_-5+"px",u.style.top=(v=b.bottom-k.top-O)+"px";var j=a.getCursor();n.from.ch!=j.ch&&(b=a.cursorCoords(j),u.style.left=(m=b.left-w)+"px",k=u.getBoundingClientRect())}}var I,A=k.right-T;if(A>0&&(k.right-k.left>T&&(u.style.width=T-5+"px",A-=k.right-k.left-T),u.style.left=(m=b.left-A-w)+"px"),x)for(var M=u.firstChild;M;M=M.nextSibling)M.style.paddingRight=a.display.nativeBarWidth+"px";return a.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n["Ctrl-P"]=function(){t.moveFocus(-1)},n["Ctrl-N"]=function(){t.moveFocus(1)});var i=e.options.customKeys,r=i?{}:n;function o(e,i){var o;o="string"!=typeof i?function(e){return i(e,t)}:n.hasOwnProperty(i)?n[i]:i,r[e]=o}if(i)for(var a in i)i.hasOwnProperty(a)&&o(a,i[a]);var s=e.options.extraKeys;if(s)for(var a in s)s.hasOwnProperty(a)&&o(a,s[a]);return r}(t,{moveFocus:function(e,t){i.changeActive(i.selectedHint+e,t)},setFocus:function(e){i.changeActive(e)},menuSize:function(){return i.screenAmount()},length:l.length,close:function(){t.close()},pick:function(){i.pick()},data:n})),t.options.closeOnUnfocus&&(a.on("blur",this.onBlur=function(){I=setTimeout((function(){t.close()}),100)}),a.on("focus",this.onFocus=function(){clearTimeout(I)})),a.on("scroll",this.onScroll=function(){var e=a.getScrollInfo(),n=a.getWrapperElement().getBoundingClientRect(),i=v+E.top-e.top,r=i-(c.pageYOffset||(s.documentElement||s.body).scrollTop);if(y||(r+=u.offsetHeight),r<=n.top||r>=n.bottom)return t.close();u.style.top=i+"px",u.style.left=m+E.left-e.left+"px"}),e.on(u,"dblclick",(function(e){var t=o(u,e.target||e.srcElement);t&&null!=t.hintId&&(i.changeActive(t.hintId),i.pick())})),e.on(u,"click",(function(e){var n=o(u,e.target||e.srcElement);n&&null!=n.hintId&&(i.changeActive(n.hintId),t.options.completeOnSingleClick&&i.pick())})),e.on(u,"mousedown",(function(){setTimeout((function(){a.focus()}),20)})),this.scrollToActive(),e.signal(n,"select",l[this.selectedHint],u.childNodes[this.selectedHint]),!0}function s(e,t,n,i){if(e.async)e(t,i,n);else{var r=e(t,n);r&&r.then?r.then(i):i(r)}}t.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var i=t.list[n],o=this;this.cm.operation((function(){i.hint?i.hint(o.cm,t,i):o.cm.replaceRange(r(i),i.from||t.from,i.to||t.to,"complete"),e.signal(t,"pick",i),o.cm.scrollIntoView()})),this.close()},cursorActivity:function(){this.debounce&&(i(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),r=this.cm.getLine(t.line);if(t.line!=this.startPos.line||r.length-t.ch!=this.startLen-this.startPos.ch||t.ch=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" CodeMirror-hint-active","")),(i=this.hints.childNodes[this.selectedHint=t]).className+=" CodeMirror-hint-active",this.scrollToActive(),e.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var e=this.hints.childNodes[this.selectedHint],t=this.hints.firstChild;e.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=e.offsetTop+e.offsetHeight-this.hints.clientHeight+t.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:function(t,n){var i,r=t.getHelpers(n,"hint");if(r.length){var o=function(e,t,n){var i=function(e,t){if(!e.somethingSelected())return t;for(var n=[],i=0;i0?t(e):r(o+1)}))}(0)};return o.async=!0,o.supportsSelection=!0,o}return(i=t.getHelper(t.getCursor(),"hintWords"))?function(t){return e.hint.fromList(t,{words:i})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper("hint","fromList",(function(t,n){var i,r=t.getCursor(),o=t.getTokenAt(r),a=e.Pos(r.line,o.start),s=r;o.start,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)}(n("VrN/"))},m8Fq:function(e,t,n){(function(e){!function(e){"use strict";e.exports.is_uri=n,e.exports.is_http_uri=i,e.exports.is_https_uri=r,e.exports.is_web_uri=o,e.exports.isUri=n,e.exports.isHttpUri=i,e.exports.isHttpsUri=r,e.exports.isWebUri=o;var t=function(e){return e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function n(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var n,i,r,o,a,s="",c="";if(i=(n=t(e))[2],r=n[3],o=n[4],a=n[5],(s=n[1])&&s.length&&r.length>=0){if(i&&i.length){if(0!==r.length&&!/^\//.test(r))return}else if(/^\/\//.test(r))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(s.toLowerCase()))return c+=s+":",i&&i.length&&(c+="//"+i),c+=r,o&&o.length&&(c+="?"+o),a&&a.length&&(c+="#"+a),c}}}function i(e,i){if(n(e)){var r,o,a,s,c="",u="",l="",p="";if(u=(r=t(e))[2],o=r[3],a=r[4],s=r[5],c=r[1]){if(i){if("https"!=c.toLowerCase())return}else if("http"!=c.toLowerCase())return;if(u)return/:(\d+)$/.test(u)&&(l=u.match(/:(\d+)$/)[0],u=u.replace(/:\d+$/,"")),p+=c+":",p+="//"+u,l&&(p+=l),p+=o,a&&a.length&&(p+="?"+a),s&&s.length&&(p+="#"+s),p}}}function r(e){return i(e,!0)}function o(e){return i(e)||r(e)}}(e)}).call(this,n("YuTi")(e))},mChF:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",(function(){return i}))},mZXl:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return c}));var i=n("mrSG"),r=n("FFOo"),o=n("60iU");function a(e,t){return void 0===t&&(t=0),function(n){return n.lift(new s(e,t))}}var s=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.scheduler,this.delay))},e}(),c=function(e){function t(t,n,i){void 0===i&&(i=0);var r=e.call(this,t)||this;return r.scheduler=n,r.delay=i,r}return i.c(t,e),t.dispatch=function(e){e.notification.observe(e.destination),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new u(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(o.a.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(o.a.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(o.a.createComplete()),this.unsubscribe()},t}(r.a),u=function(){return function(e,t){this.notification=e,this.destination=t}}()},mki7:function(e,t,n){!function(e){"use strict";var t=e.commands,n=e.Pos;function i(t,i){t.extendSelectionsBy((function(r){return t.display.shift||t.doc.extend||r.empty()?function(t,i,r){if(r<0&&0==i.ch)return t.clipPos(n(i.line-1));var o=t.getLine(i.line);if(r>0&&i.ch>=o.length)return t.clipPos(n(i.line+1,0));for(var a,s="start",c=i.ch,u=c,l=r<0?0:o.length,p=0;u!=l;u+=r,p++){var h=o.charAt(r<0?u-1:u),d="_"!=h&&e.isWordChar(h)?"w":"o";if("w"==d&&h.toUpperCase()==h&&(d="W"),"start"==s)"o"!=d?(s="in",a=d):c=u+r;else if("in"==s&&a!=d){if("w"==a&&"W"==d&&r<0&&u--,"W"==a&&"w"==d&&r>0){if(u==c+1){a="w";continue}u--}break}}return n(i.line,u)}(t.doc,r.head,i):i<0?r.from():r.to()}))}function r(t,i){if(t.isReadOnly())return e.Pass;t.operation((function(){for(var e=t.listSelections().length,r=[],o=-1,a=0;a=0;s--){var u=i[r[s]];if(!(c&&e.cmpPos(u.head,c)>0)){var l=o(t,u.head);c=l.from,t.replaceRange(n(l.word),l.from,l.to)}}}))}function p(t){var n=t.getCursor("from"),i=t.getCursor("to");if(0==e.cmpPos(n,i)){var r=o(t,n);if(!r.word)return;n=r.from,i=r.to}return{from:n,to:i,query:t.getRange(n,i),word:r}}function h(e,t){var i=p(e);if(i){var r=i.query,o=e.getSearchCursor(r,t?i.to:i.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(r,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):i.word&&e.setSelection(i.from,i.to))}}t.goSubwordLeft=function(e){i(e,-1)},t.goSubwordRight=function(e){i(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),i=[],r=0;ro.line&&s==a.line&&0==a.ch||i.push({anchor:s==o.line?o:n(s,0),head:s==a.line?a:n(s)});e.setSelections(i,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),i=[],r=0;ro?r.push(u,l):r.length&&(r[r.length-1]=l),o=l}t.operation((function(){for(var e=0;et.lastLine()?t.replaceRange("\n"+s,n(t.lastLine()),null,"+swapLine"):t.replaceRange(s+"\n",n(o,0),null,"+swapLine")}t.setSelections(a),t.scrollIntoView()}))},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var i=t.listSelections(),r=[],o=t.lastLine()+1,a=i.length-1;a>=0;a--){var s=i[a],c=s.to().line+1,u=s.from().line;0!=s.to().ch||s.empty()||c--,c=0;e-=2){var i=r[e],o=r[e+1],a=t.getLine(i);i==t.lastLine()?t.replaceRange("",n(i-1),n(i),"+swapLine"):t.replaceRange("",n(i,0),n(i+1,0),"+swapLine"),t.replaceRange(a+"\n",n(o,0),null,"+swapLine")}t.scrollIntoView()}))},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),i=[],r=0;r=0;o--){var a=i[o].head,s=t.getRange({line:a.line,ch:0},a),c=e.countColumn(s,null,t.getOption("tabSize")),u=t.findPosH(a,-1,"char",!1);if(s&&!/\S/.test(s)&&c%r==0){var l=new n(a.line,e.findColumn(s,c-r,r));l.ch!=a.ch&&(u=l)}t.replaceRange("",u,a,"+delete")}}))},t.delLineRight=function(e){e.operation((function(){for(var t=e.listSelections(),i=t.length-1;i>=0;i--)e.replaceRange("",t[i].anchor,n(t[i].to().line),"+delete");e.scrollIntoView()}))},t.upcaseAtCursor=function(e){l(e,(function(e){return e.toUpperCase()}))},t.downcaseAtCursor=function(e){l(e,(function(e){return e.toLowerCase()}))},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var i=t.getCursor(),r=n;if(e.cmpPos(i,r)>0){var o=r;r=i,i=o}t.state.sublimeKilled=t.getRange(i,r),t.replaceRange("",i,r)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},t.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){h(e,!0)},t.findUnderPrevious=function(e){h(e,!1)},t.findAllUnder=function(e){var t=p(e);if(t){for(var n=e.getSearchCursor(t.query),i=[],r=-1;n.findNext();)i.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&r++;e.setSelections(i,r)}};var d=e.keyMap;d.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Cmd-F5":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},e.normalizeKeyMap(d.macSublime),d.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Ctrl-F9":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},e.normalizeKeyMap(d.pcSublime),d.sublime=d.default==d.macDefault?d.macSublime:d.pcSublime}(n("VrN/"),n("uTOq"),n("jDMi"))},mrSG:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"h",(function(){return u})),n.d(t,"e",(function(){return l})),n.d(t,"g",(function(){return p}));var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function p(){for(var e=[],t=0;ta?t.charCoords(e,"local")[n?"top":"bottom"]:t.heightAtLine(c,"local")+(n?0:c.height)}var l=t.lastLine();if(t.display.barWidth)for(var p,h=0;hl)){for(var f=p||u(d.from,!0)*n,g=u(d.to,!1)*n;hl)&&!((p=u(r[h+1].from,!0)*n)>g+.9);)g=u((d=r[++h]).to,!1)*n;if(g!=f){var b=Math.max(g-f,3),m=i.appendChild(document.createElement("div"));m.style.cssText="position: absolute; right: 0px; width: "+Math.max(t.display.barWidth-1,2)+"px; top: "+(f+this.buttonHeight)+"px; height: "+b+"px",m.className=this.options.className,d.id&&m.setAttribute("annotation-id",d.id)}}}this.div.textContent="",this.div.appendChild(i)},t.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("changes",this.changeHandler),this.div.parentNode.removeChild(this.div)}}(n("VrN/"))},neE4:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("t3R0"),r=n("ZZnB"),o=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||Object(i.a)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||Object(i.a)(0,"column in locationOffset is 1-indexed and must be positive")};Object(r.a)(o)},nkY7:function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return i}))},ny24:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("mrSG"),r=n("MGBS"),o=n("zotm");function a(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new c(e),i=Object(o.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n},e}(),c=function(e){function t(t){var n=e.call(this,t)||this;return n.seenValue=!1,n}return i.c(t,e),t.prototype.notifyNext=function(e,t,n,i,r){this.seenValue=!0,this.complete()},t.prototype.notifyComplete=function(){},t}(r.a)},o0su:function(e,t,n){"use strict";n.r(t),n.d(t,"ApiService",(function(){return u})),n.d(t,"GqlService",(function(){return l.a})),n.d(t,"DbService",(function(){return d})),n.d(t,"QueryService",(function(){return m})),n.d(t,"WindowService",(function(){return v.a})),n.d(t,"NotifyService",(function(){return y.a})),n.d(t,"DonationService",(function(){return S})),n.d(t,"ElectronAppService",(function(){return x})),n.d(t,"KeybinderService",(function(){return j})),n.d(t,"StorageService",(function(){return pn})),n.d(t,"QueryCollectionService",(function(){return bn})),n.d(t,"EnvironmentService",(function(){return vn})),n.d(t,"PluginRegistryService",(function(){return zn})),n.d(t,"PluginEventService",(function(){return Tn.a})),n.d(t,"PreRequestService",(function(){return kn}));var i=n("XlPw"),r=n("67Y/"),o=n("9Z1F"),a=n("cUzu"),s=n("xyIE"),c=n("TYT/"),u=function(){function e(e){this.http=e,this.headers=new a.g({"Content-Type":"application/json",Accept:"application/json"}),this.api_url=""}return e.prototype.get=function(e){return this.http.get(""+this.api_url+e,{headers:this.headers}).pipe(Object(r.a)(this.checkForError),Object(o.a)((function(e){return Object(i.a)(e)})))},e.prototype.post=function(e,t){return this.http.post(""+this.api_url+e,JSON.stringify(t),{headers:this.headers}).pipe(Object(r.a)(this.checkForError),Object(o.a)((function(e){return Object(i.a)(e)})))},e.prototype.delete=function(e){return this.http.delete(""+this.api_url+e,{headers:this.headers}).pipe(Object(r.a)(this.checkForError),Object(o.a)((function(e){return Object(i.a)(e)})))},e.prototype.setHeaders=function(e){var t=this;Object.keys(e).forEach((function(n){return t.headers.set(n,e[n])}))},e.prototype.setUrl=function(e){this.api_url=e},e.prototype.checkForError=function(e){if(e.status>=200&&e.status<300)return e;var t=new Error(e.statusText);throw t.response=e,s.a.error(t),t},e.\u0275fac=function(t){return new(t||e)(c.dc(a.c))},e.\u0275prov=c.Pb({token:e,factory:e.\u0275fac}),e}(),l=n("JXuU"),p=n("6blF"),h=n("F/XL"),d=function(){function e(){this.storagePrefix="altair:",this.servicePrefix="db:"}return e.prototype.getItemByExactKey=function(e){var t=localStorage.getItem(e);return p.a.create((function(e){if(t)try{var n=JSON.parse(t);e.next(n.value)}catch(i){e.next(t)}else e.next(null)}))},e.prototype.getItem=function(e){return this.getItemByExactKey(this.getItemName(e))},e.prototype.setItem=function(e,t){var n={value:null};return e&&t&&(n.value=t),localStorage.setItem(this.getItemName(e),JSON.stringify(n)),new p.a((function(e){return e.next(null)}))},e.prototype.removeItemByExactKey=function(e){return localStorage.removeItem(e),new p.a((function(e){return e.next(null)}))},e.prototype.removeItem=function(e){return this.removeItemByExactKey(this.getItemName(e))},e.prototype.getAllKeys=function(){var e=this,t=Object.keys(localStorage).filter((function(t){return t.includes(e.storagePrefix)}));return Object(h.a)(t)},e.prototype.getItemName=function(e){return""+this.storagePrefix+this.servicePrefix+e},e.\u0275prov=c.Pb({token:e,factory:e.\u0275fac=function(t){return new(t||e)}}),e}(),f=n("sia0"),g=n("xKU2"),b=n("6onV"),m=function(){function e(e,t){this.db=e,this.store=t}return e.prototype.loadUrl=function(e){var t=this;return this.db.getItem(e+":url").subscribe((function(n){n&&t.store.dispatch(new f.X({url:n},e))}))},e.prototype.loadQuery=function(e){var t=this;return this.db.getItem(e+":query").subscribe((function(n){n&&t.store.dispatch(new f.N(n,e))}))},e.prototype.loadIntrospection=function(e){var t=this;return this.db.getItem(e+":introspection").subscribe((function(n){n&&t.store.dispatch(new g.m(n,e))}))},e.prototype.storeUrl=function(e,t){return this.db.setItem(t+":url",e)},e.prototype.storeQuery=function(e,t){return this.db.setItem(t+":query",e)},e.prototype.storeIntrospection=function(e,t){return this.db.setItem(t+":introspection",e)},e.\u0275fac=function(t){return new(t||e)(c.dc(d),c.dc(b.h))},e.\u0275prov=c.Pb({token:e,factory:e.\u0275fac}),e}(),v=n("QvHX"),y=n("x/P+"),w=n("dzgT"),O=n("Vx+w");function C(e){return function(e){var t,n,i=1,r=0;if(e)for(i=0,t=e.length-1;t>=0;t--)i=0!=(r=266338304&(i=(i<<6&268435455)+(n=e.charCodeAt(t))+(n<<14)))?i^r>>21:i;return String(i)}(navigator.userAgent+":"+e)}var S=function(){function e(e,t){this.dbService=e,this.altairConfig=t,this.actionCountKey="dac",this.seedKey="ds",this.hashKey="dh",this.seedBuff=1e5}return e.prototype.donated=function(){var e=Math.random()*this.seedBuff;this.dbService.setItem(this.seedKey,e),this.dbService.setItem(this.hashKey,C(e.toString())),this.dbService.setItem(this.actionCountKey,0)},e.prototype.trackAndCheckIfEligible=function(){var e=this,t=this.dbService.getItem(this.actionCountKey),n=this.dbService.getItem(this.seedKey),i=this.dbService.getItem(this.hashKey);return p.a.create((function(r){Object(w.a)(t,n,i).subscribe((function(t){var n=t[0],i=t[1],o=t[2];return n&&n>=e.altairConfig.donation.action_count_threshold?(e.dbService.setItem(e.actionCountKey,0),i&&C(i)===o?r.next(!1):r.next(!0)):(e.dbService.setItem(e.actionCountKey,n+1),r.next(!1))}))}))},e.\u0275fac=function(t){return new(t||e)(c.dc(d),c.dc(O.a))},e.\u0275prov=c.Pb({token:e,factory:e.\u0275fac}),e}(),z=n("P6uZ"),T=n("fYDj"),_=n("Rp7s"),k=n("6a34"),D=n("F6OF"),x=function(){function e(e,t,n,i,r){var o=this;this.electron=e,this.store=t,this.windowService=n,this.notifyService=i,this.zone=r,this.activeWindowId="",this.ipc=window.ipc,this.store.subscribe((function(e){o.windowIds=Object.keys(e.windows),o.activeWindowId=e.windowsMeta.activeWindowId}))}return e.prototype.connect=function(){var e=this;this.electron.isElectronApp&&(this.ipc.on("file-opened",(function(t,n){e.zone.run((function(){return e.windowService.importStringData(n)}))})),this.ipc.on("certificate-error",(function(t,n){e.zone.run((function(){return e.notifyService.warning("\n Your request has an invalid certificate.\n You should check that your request is coming from a trusted source.\n ",void 0,{tapToDismiss:!0})}))})),this.ipc.on("create-tab",(function(){e.zone.run((function(){return e.windowService.newWindow().pipe(Object(z.a)()).subscribe()}))})),this.ipc.on("close-tab",(function(){e.zone.run((function(){e.windowIds.length>1&&e.windowService.removeWindow(e.activeWindowId)}))})),this.ipc.on("next-tab",(function(){e.zone.run((function(){return e.store.dispatch(new _.m)}))})),this.ipc.on("previous-tab",(function(){e.zone.run((function(){return e.store.dispatch(new _.n)}))})),this.ipc.on("reopen-closed-tab",(function(){e.zone.run((function(){return e.store.dispatch(new k.l)}))})),this.ipc.on("send-request",(function(){e.zone.run((function(){return e.store.dispatch(new f.J(e.activeWindowId))}))})),this.ipc.on("reload-docs",(function(){e.zone.run((function(){return e.store.dispatch(new f.I(e.activeWindowId))}))})),this.ipc.on("show-docs",(function(){e.zone.run((function(){return e.store.dispatch(new T.h(e.activeWindowId))}))})),this.ipc.on("show-settings",(function(){e.zone.run((function(){return e.store.dispatch(new _.t({value:!0}))}))})),s.a.log("Electron app connected."),this.ipc.send("get-file-opened"))},e.prototype.setHeaders=function(e){this.electron.isElectronApp&&this.ipc.sendSync("set-headers-sync",e)},e.prototype.isElectronApp=function(){return this.electron.isElectronApp},e.\u0275fac=function(t){return new(t||e)(c.dc(D.a),c.dc(b.h),c.dc(v.a),c.dc(y.a),c.dc(c.z))},e.\u0275prov=c.Pb({token:e,factory:e.\u0275fac}),e}(),E=n("imBb"),N=(n("XcA1"),n("lup4")),j=function(){function e(e,t,n,i){var r=this;this.store=e,this.windowService=t,this.electronService=n,this.zone=i,this.activeWindowId="",this.shortcuts=[],this.store.subscribe((function(e){r.windowIds=Object.keys(e.windows),r.activeWindowId=e.windowsMeta.activeWindowId}))}return e.prototype.connect=function(){var e=this;this.bindShortcut(["Ctrl+Shift+V"],(function(){return e.store.dispatch(new N.l(e.activeWindowId))}),"Toggle Variable Pane"),this.bindShortcut(["Ctrl+Shift+H"],(function(){return e.store.dispatch(new N.h(e.activeWindowId))}),"Toggle Header Pane"),this.bindShortcut(["Ctrl+Shift+R"],(function(){return e.store.dispatch(new f.I(e.activeWindowId))}),"Reload Docs"),this.bindShortcut(["Ctrl+Shift+D"],(function(){return e.store.dispatch(new T.h(e.activeWindowId))}),"Toggle Docs"),this.bindShortcut(["Ctrl+Shift+P"],(function(){return e.store.dispatch(new f.n(e.activeWindowId))}),"Prettify Query"),this.bindShortcut(["Command+Enter","Ctrl+Enter"],(function(){return e.store.dispatch(new f.J(e.activeWindowId))}),"Send Request")},e.prototype.bindShortcut=function(e,t,n){var i=this;return void 0===n&&(n=""),this.shortcuts.push({keys:e,description:n}),E.bindGlobal(e.map((function(e){return e.toLowerCase()})),(function(){return i.zone.run(t)}))},e.prototype.getShortcuts=function(){var e=[{title:"General",shortcuts:this.shortcuts},{title:"Editor",shortcuts:[{keys:["Ctrl+D"],description:"Jump to docs"},{keys:["Ctrl+F","Alt+F"],description:"Search in context"},{keys:["Ctrl+/","Command+/"],description:"Toggle comment"},{keys:["Ctrl+Shift+Enter"],description:"Fill all fields"}]}];return this.electronService.isElectronApp()&&e.push({title:"Electron Shortcuts",shortcuts:[]}),e},e.\u0275fac=function(t){return new(t||e)(c.dc(b.h),c.dc(v.a),c.dc(x),c.dc(c.z))},e.\u0275prov=c.Pb({token:e,factory:e.\u0275fac}),e}(),I=Object.keys,A=Array.isArray,M="undefined"!=typeof self?self:"undefined"!=typeof window?window:global;function L(e,t){return"object"!=typeof t||I(t).forEach((function(n){e[n]=t[n]})),e}var P=Object.getPrototypeOf,F={}.hasOwnProperty;function R(e,t){return F.call(e,t)}function V(e,t){"function"==typeof t&&(t=t(P(e))),I(t).forEach((function(n){Y(e,n,t[n])}))}var B=Object.defineProperty;function Y(e,t,n,i){B(e,t,L(n&&R(n,"get")&&"function"==typeof n.get?{get:n.get,set:n.set,configurable:!0}:{value:n,configurable:!0,writable:!0},i))}function U(e){return{from:function(t){return e.prototype=Object.create(t.prototype),Y(e.prototype,"constructor",e),{extend:V.bind(null,e.prototype)}}}}var H=Object.getOwnPropertyDescriptor,W=[].slice;function q(e,t,n){return W.call(e,t,n)}function Z(e,t){return t(e)}function $(e){if(!e)throw new Error("Assertion Failed")}function G(e){M.setImmediate?setImmediate(e):setTimeout(e,0)}function Q(e,t){return e.reduce((function(e,n,i){var r=t(n,i);return r&&(e[r[0]]=r[1]),e}),{})}function X(e,t,n){try{e.apply(null,n)}catch(i){t&&t(i)}}function K(e,t){if(R(e,t))return e[t];if(!t)return e;if("string"!=typeof t){for(var n=[],i=0,r=t.length;i=0)t=e;else for(var r in t=e.constructor?Object.create(e.constructor.prototype):{},e)R(e,r)&&(t[r]=re(e[r]));return t}function oe(e,t,n,i){return n=n||{},i=i||"",I(e).forEach((function(r){if(R(t,r)){var o=e[r],a=t[r];"object"==typeof o&&"object"==typeof a&&o&&a&&""+o.constructor==""+a.constructor?oe(o,a,n,i+r+"."):o!==a&&(n[i+r]=t[r])}else n[i+r]=void 0})),I(t).forEach((function(r){R(e,r)||(n[i+r]=t[r])})),n}var ae="undefined"!=typeof Symbol&&Symbol.iterator,se=ae?function(e){var t;return null!=e&&(t=e[ae])&&t.apply(e)}:function(){return null},ce={};function ue(e){var t,n,i,r;if(1===arguments.length){if(A(e))return e.slice();if(this===ce&&"string"==typeof e)return[e];if(r=se(e)){for(n=[];!(i=r.next()).done;)n.push(i.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var le="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function pe(e,t){le=e,he=t}var he=function(){return!0},de=!new Error("").stack;function fe(){if(de)try{throw new Error}catch(e){return e}return new Error}function ge(e,t){var n=e.stack;return n?(t=t||0,0===n.indexOf(e.name)&&(t+=(e.name+e.message).split("\n").length),n.split("\n").slice(t).filter(he).map((function(e){return"\n"+e})).join("")):""}var be=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],me=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(be),ve={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed"};function ye(e,t){this._e=fe(),this.name=e,this.message=t}function we(e,t,n,i){this._e=fe(),this.failures=t,this.failedKeys=i,this.successCount=n}function Oe(e,t){this._e=fe(),this.name="BulkError",this.failures=t,this.message=function(e,t){return e+". Errors: "+t.map((function(e){return e.toString()})).filter((function(e,t,n){return n.indexOf(e)===t})).join("\n")}(e,t)}U(ye).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+ge(this._e,2))}},toString:function(){return this.name+": "+this.message}}),U(we).from(ye),U(Oe).from(ye);var Ce=me.reduce((function(e,t){return e[t]=t+"Error",e}),{}),Se=ye,ze=me.reduce((function(e,t){var n=t+"Error";function i(e,i){this._e=fe(),this.name=n,e?"string"==typeof e?(this.message=e,this.inner=i||null):"object"==typeof e&&(this.message=e.name+" "+e.message,this.inner=e):(this.message=ve[t]||n,this.inner=null)}return U(i).from(Se),e[t]=i,e}),{});ze.Syntax=SyntaxError,ze.Type=TypeError,ze.Range=RangeError;var Te=be.reduce((function(e,t){return e[t+"Error"]=ze[t],e}),{}),_e=me.reduce((function(e,t){return-1===["Syntax","Type","Range"].indexOf(t)&&(e[t+"Error"]=ze[t]),e}),{});function ke(){}function De(e){return e}function xe(e,t){return null==e||e===De?t:function(n){return t(e(n))}}function Ee(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function Ne(e,t){return e===ke?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var i=this.onsuccess,r=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?Ee(i,this.onsuccess):i),r&&(this.onerror=this.onerror?Ee(r,this.onerror):r),void 0!==o?o:n}}function je(e,t){return e===ke?t:function(){e.apply(this,arguments);var n=this.onsuccess,i=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?Ee(n,this.onsuccess):n),i&&(this.onerror=this.onerror?Ee(i,this.onerror):i)}}function Ie(e,t){return e===ke?t:function(n){var i=e.apply(this,arguments);L(n,i);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?Ee(r,this.onsuccess):r),o&&(this.onerror=this.onerror?Ee(o,this.onerror):o),void 0===i?void 0===a?void 0:a:L(i,a)}}function Ae(e,t){return e===ke?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function Me(e,t){return e===ke?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var i=this,r=arguments.length,o=new Array(r);r--;)o[r]=arguments[r];return n.then((function(){return t.apply(i,o)}))}return t.apply(this,arguments)}}_e.ModifyError=we,_e.DexieError=ye,_e.BulkError=Oe;var Le={},Pe=function(){try{return new Function("let F=async ()=>{},p=F();return [p,Object.getPrototypeOf(p),Promise.resolve(),F.constructor];")()}catch(t){var e=M.Promise;return e?[e.resolve(),e.prototype,e.resolve()]:[]}}(),Fe=Pe[0],Re=Pe[1],Ve=Pe[2],Be=Re&&Re.then,Ye=Fe&&Fe.constructor,Ue=Pe[3],He=!!Ve,We=!1,qe=Ve?function(){Ve.then(ft)}:M.setImmediate?setImmediate.bind(null,ft):M.MutationObserver?function(){var e=document.createElement("div");new MutationObserver((function(){ft(),e=null})).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(ft,0)},Ze=function(e,t){nt.push([e,t]),Ge&&(qe(),Ge=!1)},$e=!0,Ge=!0,Qe=[],Xe=[],Ke=null,Je=De,et={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:Pt,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach((function(e){try{Pt(e[0],e[1])}catch(t){}}))}},tt=et,nt=[],it=0,rt=[];function ot(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=ke,this._lib=!1;var t=this._PSD=tt;if(le&&(this._stackHolder=fe(),this._prev=null,this._numPrev=0),"function"!=typeof e){if(e!==Le)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&ut(this,this._value))}this._state=null,this._value=null,++t.ref,ct(this,e)}var at={get:function(){var e=tt,t=zt;function n(n,i){var r=this,o=!e.global&&(e!==tt||t!==zt);o&&Dt();var a=new ot((function(t,a){pt(r,new st(Mt(n,e,o),Mt(i,e,o),t,a,e))}));return le&&dt(a,this),a}return n.prototype=Le,n},set:function(e){Y(this,"then",e&&e.prototype===Le?at:{get:function(){return e},set:at.set})}};function st(e,t,n,i,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=i,this.psd=r}function ct(e,t){try{t((function(t){if(null===e._state){if(t===e)throw new TypeError("A promise cannot be resolved with itself.");var n=e._lib&>();t&&"function"==typeof t.then?ct(e,(function(e,n){t instanceof ot?t._then(e,n):t.then(e,n)})):(e._state=!0,e._value=t,lt(e)),n&&bt()}}),ut.bind(null,e))}catch(n){ut(e,n)}}function ut(e,t){if(Xe.push(t),null===e._state){var n=e._lib&>();t=Je(t),e._state=!1,e._value=t,le&&null!==t&&"object"==typeof t&&!t._promise&&X((function(){var n=function e(t,n){var i;return H(t,n)||(i=P(t))&&e(i,n)}(t,"stack");t._promise=e,Y(t,"stack",{get:function(){return We?n&&(n.get?n.get.apply(t):n.value):e.stack}})})),function(e){Qe.some((function(t){return t._value===e._value}))||Qe.push(e)}(e),lt(e),n&&bt()}}function lt(e){var t=e._listeners;e._listeners=[];for(var n=0,i=t.length;n0;)for(e=nt,nt=[],n=e.length,t=0;t0);$e=!0,Ge=!0}function mt(){var e=Qe;Qe=[],e.forEach((function(e){e._PSD.onunhandled.call(null,e._value,e)}));for(var t=rt.slice(0),n=t.length;n;)t[--n]()}function vt(e){return new ot(Le,!1,e)}function yt(e,t){var n=tt;return function(){var i=gt(),r=tt;try{return jt(n,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{jt(r,!1),i&&bt()}}}V(ot.prototype,{then:at,_then:function(e,t){pt(this,new st(null,null,e,t,tt))},catch:function(e){if(1===arguments.length)return this.then(null,e);var t=arguments[0],n=arguments[1];return this.then(null,"function"==typeof t?function(e){return e instanceof t?n(e):vt(e)}:function(e){return e&&e.name===t?n(e):vt(e)})},finally:function(e){return this.then((function(t){return e(),t}),(function(t){return e(),vt(t)}))},stack:{get:function(){if(this._stack)return this._stack;try{We=!0;var e=function e(t,n,i){if(n.length===i)return n;var r="";if(!1===t._state){var o,a,s=t._value;null!=s?(o=s.name||"Error",a=s.message||s,r=ge(s,0)):(o=s,a=""),n.push(o+(a?": "+a:"")+r)}return le&&((r=ge(t._stackHolder,2))&&-1===n.indexOf(r)&&n.push(r),t._prev&&e(t._prev,n,i)),n}(this,[],20).join("\nFrom previous: ");return null!==this._state&&(this._stack=e),e}finally{We=!1}}},timeout:function(e,t){var n=this;return e<1/0?new ot((function(i,r){var o=setTimeout((function(){return r(new ze.Timeout(t))}),e);n.then(i,r).finally(clearTimeout.bind(null,o))})):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&Y(ot.prototype,Symbol.toStringTag,"Promise"),et.env=It(),V(ot,{all:function(){var e=ue.apply(null,arguments).map(xt);return new ot((function(t,n){0===e.length&&t([]);var i=e.length;e.forEach((function(r,o){return ot.resolve(r).then((function(n){e[o]=n,--i||t(e)}),n)}))}))},resolve:function(e){if(e instanceof ot)return e;if(e&&"function"==typeof e.then)return new ot((function(t,n){e.then(t,n)}));var t=new ot(Le,!0,e);return dt(t,Ke),t},reject:vt,race:function(){var e=ue.apply(null,arguments).map(xt);return new ot((function(t,n){e.map((function(e){return ot.resolve(e).then(t,n)}))}))},PSD:{get:function(){return tt},set:function(e){return tt=e}},newPSD:_t,usePSD:At,scheduler:{get:function(){return Ze},set:function(e){Ze=e}},rejectionMapper:{get:function(){return Je},set:function(e){Je=e}},follow:function(e,t){return new ot((function(n,i){return _t((function(t,n){var i=tt;i.unhandleds=[],i.onunhandled=n,i.finalize=Ee((function(){var e=this;rt.push((function i(){0===e.unhandleds.length?t():n(e.unhandleds[0]),rt.splice(rt.indexOf(i),1)})),++it,Ze((function(){0==--it&&mt()}),[])}),i.finalize),e()}),t,n,i)}))}});var wt={awaits:0,echoes:0,id:0},Ot=0,Ct=[],St=0,zt=0,Tt=0;function _t(e,t,n,i){var r=tt,o=Object.create(r);o.parent=r,o.ref=0,o.global=!1,o.id=++Tt;var a=et.env;o.env=He?{Promise:ot,PromiseProp:{value:ot,configurable:!0,writable:!0},all:ot.all,race:ot.race,resolve:ot.resolve,reject:ot.reject,nthen:Lt(a.nthen,o),gthen:Lt(a.gthen,o)}:{},t&&L(o,t),++r.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=At(o,e,n,i);return 0===o.ref&&o.finalize(),s}function kt(){return wt.id||(wt.id=++Ot),++wt.awaits,wt.echoes+=7,wt.id}function Dt(e){!wt.awaits||e&&e!==wt.id||(0==--wt.awaits&&(wt.id=0),wt.echoes=7*wt.awaits)}function xt(e){return wt.echoes&&e&&e.constructor===Ye?(kt(),e.then((function(e){return Dt(),e}),(function(e){return Dt(),Ft(e)}))):e}function Et(e){++zt,wt.echoes&&0!=--wt.echoes||(wt.echoes=wt.id=0),Ct.push(tt),jt(e,!0)}function Nt(){var e=Ct[Ct.length-1];Ct.pop(),jt(e,!1)}function jt(e,t){var n,i=tt;if((t?!wt.echoes||St++&&e===tt:!St||--St&&e===tt)||(n=t?Et.bind(null,e):Nt,Be.call(Fe,n)),e!==tt&&(tt=e,i===et&&(et.env=It()),He)){var r=et.env.Promise,o=e.env;Re.then=o.nthen,r.prototype.then=o.gthen,(i.global||e.global)&&(Object.defineProperty(M,"Promise",o.PromiseProp),r.all=o.all,r.race=o.race,r.resolve=o.resolve,r.reject=o.reject)}}function It(){var e=M.Promise;return He?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(M,"Promise"),all:e.all,race:e.race,resolve:e.resolve,reject:e.reject,nthen:Re.then,gthen:e.prototype.then}:{}}function At(e,t,n,i,r){var o=tt;try{return jt(e,!0),t(n,i,r)}finally{jt(o,!1)}}function Mt(e,t,n){return"function"!=typeof e?e:function(){var i=tt;n&&kt(),jt(t,!0);try{return e.apply(this,arguments)}finally{jt(i,!1)}}}function Lt(e,t){return function(n,i){return e.call(this,Mt(n,t,!1),Mt(i,t,!1))}}function Pt(e,t){var n;try{n=t.onuncatched(e)}catch(o){}if(!1!==n)try{var i,r={promise:t,reason:e};if(M.document&&document.createEvent?((i=document.createEvent("Event")).initEvent("unhandledrejection",!0,!0),L(i,r)):M.CustomEvent&&L(i=new CustomEvent("unhandledrejection",{detail:r}),r),i&&M.dispatchEvent&&(dispatchEvent(i),!M.PromiseRejectionEvent&&M.onunhandledrejection))try{M.onunhandledrejection(i)}catch(a){}i.defaultPrevented||console.warn("Unhandled rejection: "+(e.stack||e))}catch(o){}}var Ft=ot.reject;function Rt(e){var t={},n=function(n,i){if(i){for(var r=arguments.length,o=new Array(r-1);--r;)o[r-1]=arguments[r];return t[n].subscribe.apply(null,o),e}if("string"==typeof n)return t[n]};n.addEventType=o;for(var i=1,r=arguments.length;i0?e:t}function pe(e,t){return p.cmp(e,t)}function he(e,t){return p.cmp(t,e)}function de(e,t){return et?-1:e===t?0:1}function me(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}function ve(e,t){for(var n=t.db.objectStoreNames,i=0;ie})).forEach((function(e){i.push((function(){var i=d,r=e._cfg.dbschema;ve(i,n),ve(r,n),d=S._dbSchema=r;var a=function(e,t){var n={del:[],add:[],change:[]};for(var i in e)t[i]||n.del.push(i);for(i in t){var r=e[i],o=t[i];if(r){var a={name:i,def:o,recreate:!1,del:[],add:[],change:[]};if(r.primKey.src!==o.primKey.src)a.recreate=!0,n.change.push(a);else{var s=r.idxByName,c=o.idxByName;for(var u in s)c[u]||a.del.push(u);for(u in c){var l=s[u],p=c[u];l?l.src!==p.src&&a.change.push(p):a.add.push(p)}(a.del.length>0||a.add.length>0||a.change.length>0)&&n.change.push(a)}}else n.add.push([i,o])}return n}(i,r);if(a.add.forEach((function(e){x(n,e[0],e[1].primKey,e[1].indexes)})),a.change.forEach((function(e){if(e.recreate)throw new ze.Upgrade("Not yet support for changing primary key");var t=n.objectStore(e.name);e.add.forEach((function(e){E(t,e)})),e.change.forEach((function(e){t.deleteIndex(e.name),E(t,e)})),e.del.forEach((function(e){t.deleteIndex(e)}))})),e._cfg.contentUpgrade)return o=!0,ot.follow((function(){e._cfg.contentUpgrade(t)}))})),i.push((function(t){o&&qt||function(e,t){for(var n=0;nMath.pow(2,62)?0:t.oldVersion)/10,i,n)}),n),r.onsuccess=yt((function(){if(i=null,m=r.result,Ht.push(S),_)!function(){if(S.verno=m.version/10,S._dbSchema=d={},0!==(g=q(m.objectStoreNames,0)).length){var e=m.transaction(an(g),"readonly");g.forEach((function(t){for(var n=e.objectStore(t),i=n.keyPath,r=i&&"string"==typeof i&&-1!==i.indexOf("."),o=new rn(i,i||"",!1,!1,!!n.autoIncrement,i&&"string"!=typeof i,r),a=[],s=0;s0)try{ve(d,m.transaction(an(m.objectStoreNames),"readonly"))}catch(n){}m.onversionchange=yt((function(e){S._vcFired=!0,S.on("versionchange").fire(e)})),k||"__dbnames"===e||Vt.dbnames.put({name:e}).catch(ke),t()}),n)}))]).then((function(){return w=[],ot.resolve(Gt.vip(S.on.ready.fire)).then((function e(){if(w.length>0){var t=w.reduce(Me,ke);return w=[],ot.resolve(Gt.vip(t)).then(e)}}))})).finally((function(){w=null})).then((function(){return y=!1,S})).catch((function(e){try{i&&i.abort()}catch(t){}return y=!1,S.close(),Ft(v=e)})).finally((function(){O=!0,t()}))},this.close=function(){var e=Ht.indexOf(S);if(e>=0&&Ht.splice(e,1),m){try{m.close()}catch(t){}m=null}l=!1,v=new ze.DatabaseClosed,y&&i(v),z=new ot((function(e){n=e})),T=new ot((function(e,t){i=t}))},this.delete=function(){var t=arguments.length>0;return new ot((function(n,i){if(t)throw new ze.InvalidArgument("Arguments not allowed in db.delete()");function r(){S.close();var t=p.deleteDatabase(e);t.onsuccess=yt((function(){k||Vt.dbnames.delete(e).catch(ke),n()})),t.onerror=Kt(i),t.onblocked=ye}y?z.then(r):r()}))},this.backendDB=function(){return m},this.isOpen=function(){return null!==m},this.hasBeenClosed=function(){return v&&v instanceof ze.DatabaseClosed},this.hasFailed=function(){return null!==v},this.dynamicallyOpened=function(){return _},this.name=e,V(this,{tables:{get:function(){return I(b).map((function(e){return b[e]}))}}}),this.on=Rt(this,"populate","blocked","versionchange",{ready:[Me,ke]}),this.on.ready.subscribe=Z(this.on.ready.subscribe,(function(e){return function(t,n){Gt.vip((function(){O?(v||ot.resolve().then(t),n&&e(t)):w?(w.push(t),n&&e(t)):(e(t),n||e((function e(){S.on.ready.unsubscribe(t),S.on.ready.unsubscribe(e)})))}))}})),this.transaction=function(){var e=N.apply(this,arguments);return this._transaction.apply(this,e)},this._transaction=function(e,t,n){var i=tt.trans;i&&i.db===S&&-1===e.indexOf("!")||(i=null);var r=-1!==e.indexOf("?");e=e.replace("!","").replace("?","");try{var o=t.map((function(e){var t=e instanceof j?e.name:e;if("string"!=typeof t)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t}));if("r"==e||"readonly"==e)e="readonly";else{if("rw"!=e&&e!=C)throw new ze.InvalidArgument("Invalid transaction mode: "+e);e=C}if(i){if("readonly"===i.mode&&e===C){if(!r)throw new ze.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");i=null}i&&o.forEach((function(e){if(i&&-1===i.storeNames.indexOf(e)){if(!r)throw new ze.SubTransaction("Table "+e+" not included in parent transaction.");i=null}})),r&&i&&!i.active&&(i=null)}}catch(s){return i?i._promise(null,(function(e,t){t(s)})):Ft(s)}return i?i._promise(e,a,"lock"):tt.trans?At(tt.transless,(function(){return S._whenReady(a)})):S._whenReady(a);function a(){return ot.resolve().then((function(){var t,r=tt.transless||tt,a=S._createTransaction(e,o,d,i),s={trans:a,transless:r};i?a.idbtrans=i.idbtrans:a.create(),n.constructor===Ue&&kt();var c=ot.follow((function(){if(t=n.call(a,a))if(t.constructor===Ye){var e=Dt.bind(null,null);t.then(e,e)}else"function"==typeof t.next&&"function"==typeof t.throw&&(t=nn(t))}),s);return(t&&"function"==typeof t.then?ot.resolve(t).then((function(e){return a.active?e:Ft(new ze.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))})):c.then((function(){return t}))).then((function(e){return i&&a._resolve(),a._completion.then((function(){return e}))})).catch((function(e){return a._reject(e),Ft(e)}))}))}},this.table=function(e){if(!R(b,e))throw new ze.InvalidTable("Table "+e+" does not exist");return b[e]},V(j.prototype,{_trans:function(e,t,n){var i=this._tx||tt.trans;return i&&i.db===S?i===tt.trans?i._promise(e,t,n):_t((function(){return i._promise(e,t,n)}),{trans:i,transless:tt.transless||tt}):function e(t,n,i){if(O||tt.letThrough){var r=S._createTransaction(t,n,d);try{r.create()}catch(o){return Ft(o)}return r._promise(t,(function(e,t){return _t((function(){return tt.trans=r,i(e,t,r)}))})).then((function(e){return r._completion.then((function(){return e}))}))}if(!y){if(!l)return Ft(new ze.DatabaseClosed);S.open().catch(ke)}return z.then((function(){return e(t,n,i)}))}(e,[this.name],t)},_idbstore:function(e,t,n){var i=this.name;return this._trans(e,(function(e,n,r){if(-1===r.storeNames.indexOf(i))throw new ze.NotFound("Table"+i+" not part of transaction");return t(e,n,r.idbtrans.objectStore(i),r)}),n)},get:function(e,t){if(e&&e.constructor===Object)return this.where(e).first(t);var n=this;return this._idbstore("readonly",(function(t,i,r){var o=r.get(e);o.onerror=Kt(i),o.onsuccess=yt((function(){t(n.hook.reading.fire(o.result))}),i)})).then(t)},where:function(e){if("string"==typeof e)return new U(this,e);if(A(e))return new U(this,"["+e.join("+")+"]");var t=I(e);if(1===t.length)return this.where(t[0]).equals(e[t[0]]);var n=this.schema.indexes.concat(this.schema.primKey).filter((function(e){return e.compound&&t.every((function(t){return e.keyPath.indexOf(t)>=0}))&&e.keyPath.every((function(e){return t.indexOf(e)>=0}))}))[0];if(n&&Yt!==Bt)return this.where(n.name).equals(n.keyPath.map((function(t){return e[t]})));n||console.warn("The query "+JSON.stringify(e)+" on "+this.name+" would benefit of a compound index ["+t.join("+")+"]");var i=this.schema.idxByName,r=t.reduce((function(t,n){return[t[0]||i[n],t[0]||!i[n]?me(t[1],(function(t){return""+K(t,n)==""+e[n]})):t[1]]}),[null,null]),o=r[0];return o?this.where(o.name).equals(e[o.keyPath]).filter(r[1]):n?this.filter(r[1]):this.where(t).equals("")},count:function(e){return this.toCollection().count(e)},offset:function(e){return this.toCollection().offset(e)},limit:function(e){return this.toCollection().limit(e)},reverse:function(){return this.toCollection().reverse()},filter:function(e){return this.toCollection().and(e)},each:function(e){return this.toCollection().each(e)},toArray:function(e){return this.toCollection().toArray(e)},orderBy:function(e){return new H(new U(this,A(e)?"["+e.join("+")+"]":e))},toCollection:function(){return new H(new U(this))},mapToClass:function(e,t){this.schema.mappedClass=e;var n=Object.create(e.prototype);t&&Qt(n,t),this.schema.instanceTemplate=n;var i=function(t){if(!t)return t;var n=Object.create(e.prototype);for(var i in t)if(R(t,i))try{n[i]=t[i]}catch(r){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=i,this.hook("reading",i),e},defineClass:function(e){return this.mapToClass(Gt.defineClass(e),e)},bulkDelete:function(e){return this.hook.deleting.fire===ke?this._idbstore(C,(function(t,n,i,r){t(F(i,r,e,!1,ke))})):this.where(":id").anyOf(e).delete().then((function(){}))},bulkPut:function(e,t){var n=this;return this._idbstore(C,(function(i,r,o){if(!o.keyPath&&!n.schema.primKey.auto&&!t)throw new ze.InvalidArgument("bulkPut() with non-inbound keys requires keys array in second argument");if(o.keyPath&&t)throw new ze.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(t&&t.length!==e.length)throw new ze.InvalidArgument("Arguments objects and keys must have the same length");if(0===e.length)return i();var a,s,c=function(e){0===u.length?i(e):r(new Oe(n.name+".bulkPut(): "+u.length+" of "+l+" operations failed",u))},u=[],l=e.length,p=n;if(n.hook.creating.fire===ke&&n.hook.updating.fire===ke){s=P(u);for(var h=0,d=e.length;h=0;--r){var o=f[r];(null==o||g[o])&&(n.push(e[r]),t&&i.push(o),null!=o&&(g[o]=null))}return n.reverse(),t&&i.reverse(),p.bulkAdd(n,i)})).then((function(e){var t=f[f.length-1];return null!=t?t:e})):p.bulkAdd(e)).then(c).catch(Oe,(function(e){u=u.concat(e.failures),c()})).catch(r)}}),"locked")},bulkAdd:function(e,t){var n=this,i=this.hook.creating.fire;return this._idbstore(C,(function(r,o,a,s){if(!a.keyPath&&!n.schema.primKey.auto&&!t)throw new ze.InvalidArgument("bulkAdd() with non-inbound keys requires keys array in second argument");if(a.keyPath&&t)throw new ze.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(t&&t.length!==e.length)throw new ze.InvalidArgument("Arguments objects and keys must have the same length");if(0===e.length)return r();function c(e){0===h.length?r(e):o(new Oe(n.name+".bulkAdd(): "+h.length+" of "+d+" operations failed",h))}var u,l,p,h=[],d=e.length;if(i!==ke){var f,g=a.keyPath;l=P(h,null,!0),p=Xt(null),X((function(){for(var n=0,r=e.length;n0&&!this._locked();){var e=this._blockedFuncs.shift();try{At(e[1],e[0])}catch(t){}}return this},_locked:function(){return this._reculock&&tt.lockOwnerFor!==this},create:function(e){var t=this;if(!this.mode)return this;if($(!this.idbtrans),!e&&!m)switch(v&&v.name){case"DatabaseClosedError":throw new ze.DatabaseClosed(v);case"MissingAPIError":throw new ze.MissingAPI(v.message,v);default:throw new ze.OpenFailed(v)}if(!this.active)throw new ze.TransactionInactive;return $(null===this._completion._state),(e=this.idbtrans=e||m.transaction(an(this.storeNames),this.mode)).onerror=yt((function(n){tn(n),t._reject(e.error)})),e.onabort=yt((function(n){tn(n),t.active&&t._reject(new ze.Abort(e.error)),t.active=!1,t.on("abort").fire(n)})),e.oncomplete=yt((function(){t.active=!1,t._resolve()})),this},_promise:function(e,t,n){var i=this;if(e===C&&this.mode!==C)return Ft(new ze.ReadOnly("Transaction is readonly"));if(!this.active)return Ft(new ze.TransactionInactive);if(this._locked())return new ot((function(r,o){i._blockedFuncs.push([function(){i._promise(e,t,n).then(r,o)},tt])}));if(n)return _t((function(){var e=new ot((function(e,n){i._lock();var r=t(e,n,i);r&&r.then&&r.then(e,n)}));return e.finally((function(){return i._unlock()})),e._lib=!0,e}));var r=new ot((function(e,n){var r=t(e,n,i);r&&r.then&&r.then(e,n)}));return r._lib=!0,r},_root:function(){return this.parent?this.parent._root():this},waitFor:function(e){var t=this._root();if(e=ot.resolve(e),t._waitingFor)t._waitingFor=t._waitingFor.then((function(){return e}));else{t._waitingFor=e,t._waitingQueue=[];var n=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(n.get(-1/0).onsuccess=e)}()}var i=t._waitingFor;return new ot((function(n,r){e.then((function(e){return t._waitingQueue.push(yt(n.bind(null,e)))}),(function(e){return t._waitingQueue.push(yt(r.bind(null,e)))})).finally((function(){t._waitingFor===i&&(t._waitingFor=null)}))}))},abort:function(){this.active&&this._reject(new ze.Abort),this.active=!1},tables:{get:(o="Transaction.tables",a=function(){return b},function(){return console.warn(o+" is deprecated. See https://github.com/dfahlander/Dexie.js/wiki/Deprecations. "+ge(fe(),1)),a.apply(this,arguments)})},table:function(e){return new j(e,S.table(e).schema,this)}}),V(U.prototype,(function(){function e(e,t,n){var i=e instanceof U?new H(e):e;return i._ctx.error=n?new n(t):new TypeError(t),i}function t(e){return new H(e,(function(){return h.only("")})).limit(0)}function n(e,t,n,i,r,o){for(var a=Math.min(e.length,i.length),s=-1,c=0;c=0?e.substr(0,s)+t[s]+n.substr(s+1):null;r(e[c],u)<0&&(s=c)}return a0)&&(h=b)}return t(null!==h?function(){e.continue(h+d)}:r),!1})),b}return{between:function(n,i,r,o){r=!1!==r,o=!0===o;try{return ae(n,i)>0||0===ae(n,i)&&(r||o)&&(!r||!o)?t(this):new H(this,(function(){return h.bound(n,i,!r,!o)}))}catch(a){return e(this,Ut)}},equals:function(e){return new H(this,(function(){return h.only(e)}))},above:function(e){return new H(this,(function(){return h.lowerBound(e,!0)}))},aboveOrEqual:function(e){return new H(this,(function(){return h.lowerBound(e)}))},below:function(e){return new H(this,(function(){return h.upperBound(e,!0)}))},belowOrEqual:function(e){return new H(this,(function(){return h.upperBound(e)}))},startsWith:function(t){return"string"!=typeof t?e(this,"String expected."):this.between(t,t+Bt,!0,!0)},startsWithIgnoreCase:function(e){return""===e?this.startsWith(e):i(this,(function(e,t){return 0===e.indexOf(t[0])}),[e],Bt)},equalsIgnoreCase:function(e){return i(this,(function(e,t){return e===t[0]}),[e],"")},anyOfIgnoreCase:function(){var e=ue.apply(ce,arguments);return 0===e.length?t(this):i(this,(function(e,t){return-1!==t.indexOf(e)}),e,"")},startsWithAnyOfIgnoreCase:function(){var e=ue.apply(ce,arguments);return 0===e.length?t(this):i(this,(function(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}),e,Bt)},anyOf:function(){var n=ue.apply(ce,arguments),i=pe;try{n.sort(i)}catch(a){return e(this,Ut)}if(0===n.length)return t(this);var r=new H(this,(function(){return h.bound(n[0],n[n.length-1])}));r._ondirectionchange=function(e){n.sort(i="next"===e?pe:he)};var o=0;return r._addAlgorithm((function(e,t,r){for(var a=e.key;i(a,n[o])>0;)if(++o===n.length)return t(r),!1;return 0===i(a,n[o])||(t((function(){e.continue(n[o])})),!1)})),r},notEqual:function(e){return this.inAnyRange([[-1/0,e],[e,Yt]],{includeLowers:!1,includeUppers:!1})},noneOf:function(){var t=ue.apply(ce,arguments);if(0===t.length)return new H(this);try{t.sort(pe)}catch(i){return e(this,Ut)}var n=t.reduce((function(e,t){return e?e.concat([[e[e.length-1][1],t]]):[[-1/0,t]]}),null);return n.push([t[t.length-1],Yt]),this.inAnyRange(n,{includeLowers:!1,includeUppers:!1})},inAnyRange:function(n,i){if(0===n.length)return t(this);if(!n.every((function(e){return void 0!==e[0]&&void 0!==e[1]&&pe(e[0],e[1])<=0})))return e(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",ze.InvalidArgument);var r,o=!i||!1!==i.includeLowers,a=i&&!0===i.includeUppers,s=pe;function c(e,t){return s(e[0],t[0])}try{(r=n.reduce((function(e,t){for(var n=0,i=e.length;n0){r[0]=ae(o=r[0],a=t[0])<0?o:a,r[1]=se(r[1],t[1]);break}}var o,a;return n===i&&e.push(t),e}),[])).sort(c)}catch(g){return e(this,Ut)}var u=0,l=a?function(e){return pe(e,r[u][1])>0}:function(e){return pe(e,r[u][1])>=0},p=o?function(e){return he(e,r[u][0])>0}:function(e){return he(e,r[u][0])>=0},d=l,f=new H(this,(function(){return h.bound(r[0][0],r[r.length-1][1],!o,!a)}));return f._ondirectionchange=function(e){"next"===e?(d=l,s=pe):(d=p,s=he),r.sort(c)},f._addAlgorithm((function(e,t,n){for(var i=e.key;d(i);)if(++u===r.length)return t(n),!1;return!!function(e){return!l(e)&&!p(e)}(i)||(0===ae(i,r[u][1])||0===ae(i,r[u][0])||t((function(){e.continue(s===pe?r[u][0]:r[u][1])})),!1)})),f},startsWithAnyOf:function(){var n=ue.apply(ce,arguments);return n.every((function(e){return"string"==typeof e}))?0===n.length?t(this):this.inAnyRange(n.map((function(e){return[e,e+Bt]}))):e(this,"startsWithAnyOf() only works with strings")}}})),V(H.prototype,(function(){function e(e,t){e.filter=me(e.filter,t)}function t(e,t,n){var i=e.replayFilter;e.replayFilter=i?function(){return me(i(),t())}:t,e.justLimit=n&&!i}function n(e,t){if(e.isPrimKey)return t;var n=e.table.schema.idxByName[e.index];if(!n)throw new ze.Schema("KeyPath "+e.index+" on object store "+t.name+" is not indexed");return t.index(n.name)}function i(e,t){var i=n(e,t);return e.keysOnly&&"openKeyCursor"in i?i.openKeyCursor(e.range||null,e.dir+e.unique):i.openCursor(e.range||null,e.dir+e.unique)}function o(e,t,n,r,o){var a=e.replayFilter?me(e.filter,e.replayFilter()):e.filter;e.or?function(){var s={},c=0;function u(){2==++c&&n()}function l(e,n,i){if(!a||a(n,i,u,r)){var o=n.primaryKey,c=""+o;"[object ArrayBuffer]"===c&&(c=""+new Uint8Array(o)),R(s,c)||(s[c]=!0,t(e,n,i))}}e.or._iterate(l,u,r,o),ie(i(e,o),e.algorithm,l,u,r,!e.keysOnly&&e.valueMapper)}():ie(i(e,o),me(e.algorithm,a),t,n,r,!e.keysOnly&&e.valueMapper)}return{_read:function(e,t){var n=this._ctx;return n.error?n.table._trans(null,Ft.bind(null,n.error)):n.table._idbstore("readonly",e).then(t)},_write:function(e){var t=this._ctx;return t.error?t.table._trans(null,Ft.bind(null,t.error)):t.table._idbstore(C,e,"locked")},_addAlgorithm:function(e){var t=this._ctx;t.algorithm=me(t.algorithm,e)},_iterate:function(e,t,n,i){return o(this._ctx,e,t,n,i)},clone:function(e){var t=Object.create(this.constructor.prototype),n=Object.create(this._ctx);return e&&L(n,e),t._ctx=n,t},raw:function(){return this._ctx.valueMapper=null,this},each:function(e){var t=this._ctx;return this._read((function(n,i,r){o(t,e,n,i,r)}))},count:function(e){var t=this._ctx;if(W(t,!0))return this._read((function(e,i,r){var o=n(t,r),a=t.range?o.count(t.range):o.count();a.onerror=Kt(i),a.onsuccess=function(n){e(Math.min(n.target.result,t.limit))}}),e);var i=0;return this._read((function(e,n,r){o(t,(function(){return++i,!1}),(function(){e(i)}),n,r)}),e)},sortBy:function(e,t){var n=e.split(".").reverse(),i=n[0],r=n.length-1;function o(e,t){return t?o(e[n[t]],t-1):e[i]}var a="next"===this._ctx.dir?1:-1;function s(e,t){var n=o(e,r),i=o(t,r);return ni?a:0}return this.toArray((function(e){return e.sort(s)})).then(t)},toArray:function(e){var t=this._ctx;return this._read((function(e,i,a){if(r&&"next"===t.dir&&W(t,!0)&&t.limit>0){var s=t.table.hook.reading.fire,c=n(t,a),u=t.limit<1/0?c.getAll(t.range,t.limit):c.getAll(t.range);u.onerror=Kt(i),u.onsuccess=Jt(s===De?e:function(t){try{e(t.map(s))}catch(n){i(n)}})}else{var l=[];o(t,(function(e){l.push(e)}),(function(){e(l)}),i,a)}}),e)},offset:function(e){var n=this._ctx;return e<=0||(n.offset+=e,W(n)?t(n,(function(){var t=e;return function(e,n){return 0===t||(1===t?(--t,!1):(n((function(){e.advance(t),t=0})),!1))}})):t(n,(function(){var t=e;return function(){return--t<0}}))),this},limit:function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),t(this._ctx,(function(){var t=e;return function(e,n,i){return--t<=0&&n(i),t>=0}}),!0),this},until:function(t,n){return e(this._ctx,(function(e,i,r){return!t(e.value)||(i(r),n)})),this},first:function(e){return this.limit(1).toArray((function(e){return e[0]})).then(e)},last:function(e){return this.reverse().first(e)},filter:function(t){return e(this._ctx,(function(e){return t(e.value)})),function(e,t){e.isMatch=me(e.isMatch,t)}(this._ctx,t),this},and:function(e){return this.filter(e)},or:function(e){return new U(this._ctx.table,e,this)},reverse:function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},desc:function(){return this.reverse()},eachKey:function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.key,n)}))},eachUniqueKey:function(e){return this._ctx.unique="unique",this.eachKey(e)},eachPrimaryKey:function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each((function(t,n){e(n.primaryKey,n)}))},keys:function(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each((function(e,t){n.push(t.key)})).then((function(){return n})).then(e)},primaryKeys:function(e){var t=this._ctx;if(r&&"next"===t.dir&&W(t,!0)&&t.limit>0)return this._read((function(e,i,r){var o=n(t,r),a=t.limit<1/0?o.getAllKeys(t.range,t.limit):o.getAllKeys(t.range);a.onerror=Kt(i),a.onsuccess=Jt(e)})).then(e);t.keysOnly=!t.isMatch;var i=[];return this.each((function(e,t){i.push(t.primaryKey)})).then((function(){return i})).then(e)},uniqueKeys:function(e){return this._ctx.unique="unique",this.keys(e)},firstKey:function(e){return this.limit(1).keys((function(e){return e[0]})).then(e)},lastKey:function(e){return this.reverse().firstKey(e)},distinct:function(){var t=this._ctx,n=t.index&&t.table.schema.idxByName[t.index];if(!n||!n.multi)return this;var i={};return e(this._ctx,(function(e){var t=e.primaryKey.toString(),n=R(i,t);return i[t]=!0,!n})),this},modify:function(e){var t=this,n=this._ctx.table.hook,i=n.updating.fire,r=n.deleting.fire;return this._write((function(n,o,a,s){var c;if("function"==typeof e)c=i===ke&&r===ke?e:function(t){var n=re(t);if(!1===e.call(this,t,this))return!1;if(R(this,"value")){var o=oe(n,this.value),a=i.call(this,o,this.primKey,n,s);a&&(t=this.value,I(a).forEach((function(e){J(t,e,a[e])})))}else r.call(this,this.primKey,t,s)};else if(i===ke){var u=I(e),l=u.length;c=function(t){for(var n=!1,i=0;i0?v():n(d))}t.clone().raw()._iterate((function(e,t){m=t.primaryKey;var n={primKey:t.primaryKey,value:e,onsuccess:null,onerror:null};function i(e){return g.push(e),b.push(n.primKey),y(),!0}if(!1!==c.call(n,e,n)){var r=!R(n,"value");++h,X((function(){var e=r?t.delete():t.update(n.value);e._hookCtx=n,e.onerror=en(i),e.onsuccess=Xt((function(){++d,y()}))}),i)}else n.onsuccess&&n.onsuccess(n.value)}),(function(){f=!0,y()}),v,a)}))},delete:function(){var e=this,t=this._ctx,n=t.range,i=t.table.hook.deleting.fire,r=i!==ke;if(!r&&W(t)&&(t.isPrimKey&&!Zt||!n))return this._write((function(e,t,i){var r=Kt(t),o=n?i.count(n):i.count();o.onerror=r,o.onsuccess=function(){var a=o.result;X((function(){var t=n?i.delete(n):i.clear();t.onerror=r,t.onsuccess=function(){return e(a)}}),(function(e){return t(e)}))}}));var o=r?2e3:1e4;return this._write((function(n,a,s,c){var u=0,l=e.clone({keysOnly:!t.isMatch&&!r}).distinct().limit(o).raw(),p=[],h=function(){return l.each(r?function(e,t){p.push([t.primaryKey,t.value])}:function(e,t){p.push(t.primaryKey)}).then((function(){return p.sort(r?function(e,t){return pe(e[0],t[0])}:pe),F(s,c,p,r,i)})).then((function(){var e=p.length;return u+=e,p=[],e0?console.warn("Another connection wants to upgrade database '"+S.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+S.name+"'. Closing db now to resume the delete request."),S.close()})),S.on("blocked",(function(e){!e.newVersion||e.newVersion\[(.*)\])?/);if(n&&n.length){var i=n[2],r=void 0===i?wn.b.NPM:i,o=n[3],a=n[5],s=void 0===a?"latest":a,c=n[7],u=n[8];if(o&&s){if(!o.startsWith("altair-graphql-plugin-"))throw new Error("Plugin name must start with altair-graphql-plugin-");return Sn({name:o,version:s,pluginSource:r},c&&u&&((t={})[c]=u,t))}}return null},e.prototype.pluginsReady=function(){return Promise.all(this.fetchedPlugins)},e.prototype.fetchPluginAssets=function(e,t){void 0===t&&(t={});var n,i,r,o=t.pluginSource,a=void 0===o?wn.b.NPM:o,c=t.version,u=void 0===c?"latest":c,l=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1] {\n "+e+";\n return altair.data;\n };\n exports.end = program();\n "),[2,o.exports.end.then((function(e){return s.a.log("interpreter result:",e)})).then((function(){return t}))]}}))},new((r=void 0)||(r=Promise))((function(e,t){function n(e){try{s(o.next(e))}catch(n){t(n)}}function a(e){try{s(o.throw(e))}catch(n){t(n)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof r?i:new r((function(e){e(i)}))).then(n,a)}s((o=o.apply(i,[])).next())}));var i,r,o},e.\u0275fac=function(t){return new(t||e)(c.dc(_n.a),c.dc(a.c))},e.\u0275prov=c.Pb({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},o8Qb:function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return A})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return N}));var i=n("TYT/"),r=n("mrSG"),o=n("F/XL"),a=n("zrt+"),s=n("VNr4"),c=n("dEwP"),u=n("lYZG"),l=n("t9fZ"),p=n("klSw"),h=n("67Y/"),d=n("Phjn"),f=n("15JJ"),g=function(){return function(){}}(),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(r.c)(t,e),t.prototype.getTranslation=function(e){return Object(o.a)({})},t.\u0275fac=function(e){return n(e||t)},t.\u0275prov=i.Pb({token:t,factory:function(e){return t.\u0275fac(e)}});var n=i.bc(t);return t}(g),m=function(){return function(){}}(),v=function(){function e(){}return e.prototype.handle=function(e){return e.key},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function y(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,i,r,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in r=Object.create(null),e){if(!y(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof c&&(n=e.pop()),null===s&&1===e.length&&e[0]instanceof i.a?e[0]:Object(o.a)(n)(Object(a.a)(e,s))}},"pLY/":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("dWS+");function r(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){var o=r.name.value;if(!n||!n.getType(o))return t[o]?e.reportError(new i.a(function(e){return'There can be only one type named "'.concat(e,'".')}(o),[t[o],r.name])):t[o]=r.name,!1;e.reportError(new i.a(function(e){return'Type "'.concat(e,'" already exists in the schema. It cannot also be defined in this type definition.')}(o),r.name))}}},pdUi:function(e,t,n){"use strict";n.d(t,"a",(function(){return Y})),n.d(t,"b",(function(){return G})),n.d(t,"c",(function(){return Z})),n.d(t,"d",(function(){return U})),n.d(t,"e",(function(){return X})),n.d(t,"f",(function(){return W}));var i=n("349r"),r=n("TYT/"),o=n("K9Ia"),a=n("F/XL"),s=n("6blF"),c=n("bne5"),u=n("p0ib"),l=n("mrSG"),p=n("h9Dq"),h=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i}return l.c(t,e),t.prototype.requestAsyncId=function(t,n,i){return void 0===i&&(i=0),null!==i&&i>0?e.prototype.requestAsyncId.call(this,t,n,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame((function(){return t.flush(null)}))))},t.prototype.recycleAsyncId=function(t,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,i);0===t.actions.length&&(cancelAnimationFrame(n),t.scheduled=void 0)},t}(p.a),d=n("CS9Q"),f=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l.c(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i0?e.prototype.requestAsyncId.call(this,t,n,i):(t.actions.push(this),t.scheduled||(t.scheduled=(r=t.flush.bind(t,null),o=g++,m[o]=!0,b.then((function(){return v(o)&&r()})),o)));var r,o},t.prototype.recycleAsyncId=function(t,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,i);0===t.actions.length&&(v(n),t.scheduled=void 0)},t}(p.a),w=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l.c(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i0&&(i.end=Math.min(o,i.end+u),i.start=Math.max(0,Math.floor(t-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(i),this._viewport.setRenderedContentOffset(this._itemSize*i.start),this._scrolledIndexChange.next(Math.floor(t))}},e}();function B(e){return e._scrollStrategy}var Y=function(){function e(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new V(this.itemSize,this.minBufferPx,this.maxBufferPx)}return Object.defineProperty(e.prototype,"itemSize",{get:function(){return this._itemSize},set:function(e){this._itemSize=Object(i.f)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minBufferPx",{get:function(){return this._minBufferPx},set:function(e){this._minBufferPx=Object(i.f)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxBufferPx",{get:function(){return this._maxBufferPx},set:function(e){this._maxBufferPx=Object(i.f)(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Ob({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[r.Cb([{provide:R,useFactory:B,deps:[Object(r.V)((function(){return e}))]}]),r.Bb]}),e}(),U=function(){function e(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new o.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}return e.prototype.register=function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=20),this._platform.isBrowser?new s.a((function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe(Object(z.a)(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}})):Object(a.a)()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()},e.prototype.ancestorScrolled=function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(T.a)((function(e){return!e||n.indexOf(e)>-1})))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach((function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)})),n},e.prototype._getDocument=function(){return this._document||document},e.prototype._getWindow=function(){return this._getDocument().defaultView||window},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){var t=e._getWindow();return Object(c.a)(t.document,"scroll").subscribe((function(){return e._scrolled.next()}))}))},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e.\u0275prov=Object(r.Pb)({factory:function(){return new e(Object(r.dc)(r.z),Object(r.dc)(I.a),Object(r.dc)(A.e,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(r.dc(r.z),r.dc(I.a),r.dc(A.e,8))},e}(),H=function(){function e(e,t,n,i){var r=this;this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=i,this._destroyed=new o.a,this._elementScrolled=new s.a((function(e){return r.ngZone.runOutsideAngular((function(){return Object(c.a)(r.elementRef.nativeElement,"scroll").pipe(Object(_.a)(r._destroyed)).subscribe(e)}))}))}return e.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)},e.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()},e.prototype.elementScrolled=function(){return this._elementScrolled},e.prototype.getElementRef=function(){return this.elementRef},e.prototype.scrollTo=function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=Object(I.d)()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Object(I.d)()?e.left=e.right:1==Object(I.d)()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)},e.prototype._applyScrollToOptions=function(e){var t=this.elementRef.nativeElement;Object(I.f)()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))},e.prototype.measureScrollOffset=function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==Object(I.d)()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==Object(I.d)()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.l),r.Tb(U),r.Tb(r.z),r.Tb(M.b,8))},e.\u0275dir=r.Ob({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e}(),W=function(){function e(e,t,n){var i=this;this._platform=e,this._document=n,t.runOutsideAngular((function(){var t=i._getWindow();i._change=e.isBrowser?Object(u.a)(Object(c.a)(t,"resize"),Object(c.a)(t,"orientationchange")):Object(a.a)(),i._invalidateCache=i.change().subscribe((function(){return i._updateViewportSize()}))}))}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._getDocument(),t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=20),e>0?this._change.pipe(Object(z.a)(e)):this._change},e.prototype._getDocument=function(){return this._document||document},e.prototype._getWindow=function(){return this._getDocument().defaultView||window},e.prototype._updateViewportSize=function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}},e.\u0275prov=Object(r.Pb)({factory:function(){return new e(Object(r.dc)(I.a),Object(r.dc)(r.z),Object(r.dc)(A.e,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(r.dc(I.a),r.dc(r.z),r.dc(A.e,8))},e}(),q="undefined"!=typeof requestAnimationFrame?f:w,Z=function(e){function t(t,n,i,r,a,c,u){var l=e.call(this,t,c,i,a)||this;if(l.elementRef=t,l._changeDetectorRef=n,l._scrollStrategy=r,l._detachedSubject=new o.a,l._renderedRangeSubject=new o.a,l._orientation="vertical",l.scrolledIndexChange=new s.a((function(e){return l._scrollStrategy.scrolledIndexChange.subscribe((function(t){return Promise.resolve().then((function(){return l.ngZone.run((function(){return e.next(t)}))}))}))})),l.renderedRangeStream=l._renderedRangeSubject.asObservable(),l._totalContentSize=0,l._totalContentWidth="",l._totalContentHeight="",l._renderedRange={start:0,end:0},l._dataLength=0,l._viewportSize=0,l._renderedContentOffset=0,l._renderedContentOffsetNeedsRewrite=!1,l._isChangeDetectionPending=!1,l._runAfterChangeDetection=[],l._viewportChanges=O.a.EMPTY,!r)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');return u&&(l._viewportChanges=u.change().subscribe((function(){l.checkViewportSize()}))),l}return Object(l.c)(t,e),Object.defineProperty(t.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;e.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){t._measureViewportSize(),t._scrollStrategy.attach(t),t.elementScrolled().pipe(Object(k.a)(null),Object(z.a)(0,q)).subscribe((function(){return t._scrollStrategy.onContentScrolled()})),t._markChangeDetectionNeeded()}))}))},t.prototype.ngOnDestroy=function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),e.prototype.ngOnDestroy.call(this)},t.prototype.attach=function(e){var t=this;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular((function(){t._forOf=e,t._forOf.dataStream.pipe(Object(_.a)(t._detachedSubject)).subscribe((function(e){var n=e.length;n!==t._dataLength&&(t._dataLength=n,t._scrollStrategy.onDataLengthChanged()),t._doChangeDetection()}))}))},t.prototype.detach=function(){this._forOf=null,this._detachedSubject.next()},t.prototype.getDataLength=function(){return this._dataLength},t.prototype.getViewportSize=function(){return this._viewportSize},t.prototype.getRenderedRange=function(){return this._renderedRange},t.prototype.setTotalContentSize=function(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())},t.prototype.setRenderedRange=function(e){var t,n,i=this;((t=this._renderedRange).start!=(n=e).start||t.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded((function(){return i._scrollStrategy.onContentRendered()})))},t.prototype.getOffsetToRenderedContentStart=function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset},t.prototype.setRenderedContentOffset=function(e,t){var n=this;void 0===t&&(t="to-start");var i="horizontal"==this.orientation,r=i?"X":"Y",o="translate"+r+"("+Number((i&&this.dir&&"rtl"==this.dir.value?-1:1)*e)+"px)";this._renderedContentOffset=e,"to-end"===t&&(o+=" translate"+r+"(-100%)",this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded((function(){n._renderedContentOffsetNeedsRewrite?(n._renderedContentOffset-=n.measureRenderedContentSize(),n._renderedContentOffsetNeedsRewrite=!1,n.setRenderedContentOffset(n._renderedContentOffset)):n._scrollStrategy.onRenderedOffsetChanged()})))},t.prototype.scrollToOffset=function(e,t){void 0===t&&(t="auto");var n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)},t.prototype.scrollToIndex=function(e,t){void 0===t&&(t="auto"),this._scrollStrategy.scrollToIndex(e,t)},t.prototype.measureScrollOffset=function(t){return e.prototype.measureScrollOffset.call(this,t||("horizontal"===this.orientation?"start":"top"))},t.prototype.measureRenderedContentSize=function(){var e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight},t.prototype.measureRangeSize=function(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0},t.prototype.checkViewportSize=function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()},t.prototype._measureViewportSize=function(){var e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight},t.prototype._markChangeDetectionNeeded=function(e){var t=this;e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){t._doChangeDetection()}))})))},t.prototype._doChangeDetection=function(){var e,t,n=this;this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run((function(){return n._changeDetectorRef.markForCheck()}));var i=this._runAfterChangeDetection;this._runAfterChangeDetection=[];try{for(var r=Object(l.h)(i),o=r.next();!o.done;o=r.next())(0,o.value)()}catch(a){e={error:a}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype._calculateSpacerSize=function(){this._totalContentHeight="horizontal"===this.orientation?"":this._totalContentSize+"px",this._totalContentWidth="horizontal"===this.orientation?this._totalContentSize+"px":""},t.\u0275fac=function(e){return new(e||t)(r.Tb(r.l),r.Tb(r.h),r.Tb(r.z),r.Tb(R,8),r.Tb(M.b,8),r.Tb(U),r.Tb(W,8))},t.\u0275cmp=r.Nb({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){var n;1&e&&r.Jc(P,!0),2&e&&r.zc(n=r.ic())&&(t._contentWrapper=n.first)},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&r.Jb("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[r.Cb([{provide:H,useExisting:t}]),r.Ab],ngContentSelectors:F,decls:10,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(r.rc(),r.Nc(0,"\n"),r.Zb(1,"div",0,1),r.Nc(3,"\n "),r.qc(4),r.Nc(5,"\n"),r.Yb(),r.Nc(6,"\n"),r.Nc(7,"\n"),r.Ub(8,"div",2),r.Nc(9,"\n")),2&e&&(r.Db(8),r.Kc("width",t._totalContentWidth)("height",t._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),t}(H);function $(e,t){if(!t.getBoundingClientRect)return 0;var n=t.getBoundingClientRect();return"horizontal"==e?n.width:n.height}var G=function(){function e(e,t,n,i,r){var a=this;this._viewContainerRef=e,this._template=t,this._differs=n,this._viewport=i,this.viewChange=new o.a,this._dataSourceChanges=new o.a,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(Object(k.a)(null),(function(e){return e.lift(new x)}),Object(N.a)((function(e){var t=Object(l.e)(e,2);return a._changeDataSource(t[0],t[1])})),Object(j.a)(1)),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new o.a,this.dataStream.subscribe((function(e){a._data=e,a._onRenderedDataChange()})),this._viewport.renderedRangeStream.pipe(Object(_.a)(this._destroyed)).subscribe((function(e){a._renderedRange=e,r.run((function(){return a.viewChange.next(a._renderedRange)})),a._onRenderedDataChange()})),this._viewport.attach(this)}return Object.defineProperty(e.prototype,"cdkVirtualForOf",{get:function(){return this._cdkVirtualForOf},set:function(e){this._cdkVirtualForOf=e,function(e){return e&&"function"==typeof e.connect}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new L(Object(C.a)(e)?e:Array.prototype.slice.call(e||[])))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cdkVirtualForTrackBy",{get:function(){return this._cdkVirtualForTrackBy},set:function(e){var t=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?function(n,i){return e(n+(t._renderedRange?t._renderedRange.start:0),i)}:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cdkVirtualForTemplate",{set:function(e){e&&(this._needsUpdate=!0,this._template=e)},enumerable:!0,configurable:!0}),e.prototype.measureRangeSize=function(e,t){if(e.start>=e.end)return 0;if(e.startthis._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");for(var n=e.start-this._renderedRange.start,i=0,r=e.end-e.start;r--;)for(var o=this._viewContainerRef.get(r+n),a=o?o.rootNodes.length:0;a--;)i+=$(t,o.rootNodes[a]);return i},e.prototype.ngDoCheck=function(){if(this._differ&&this._needsUpdate){var e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}},e.prototype.ngOnDestroy=function(){var e,t;this._viewport.detach(),this._dataSourceChanges.next(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();try{for(var n=Object(l.h)(this._templateCache),i=n.next();!i.done;i=n.next())i.value.destroy()}catch(r){e={error:r}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype._onRenderedDataChange=function(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)},e.prototype._changeDataSource=function(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):Object(a.a)()},e.prototype._updateContext=function(){for(var e=this._data.length,t=this._viewContainerRef.length;t--;){var n=this._viewContainerRef.get(t);n.context.index=this._renderedRange.start+t,n.context.count=e,this._updateComputedContextProperties(n.context),n.detectChanges()}},e.prototype._applyChanges=function(e){var t=this;e.forEachOperation((function(e,n,i){if(null==e.previousIndex)(r=t._insertViewForNewItem(i)).context.$implicit=e.item;else if(null==i)t._cacheView(t._detachView(n));else{var r=t._viewContainerRef.get(n);t._viewContainerRef.move(r,i),r.context.$implicit=e.item}})),e.forEachIdentityChange((function(e){t._viewContainerRef.get(e.currentIndex).context.$implicit=e.item}));for(var n=this._data.length,i=this._viewContainerRef.length;i--;){var r=this._viewContainerRef.get(i);r.context.index=this._renderedRange.start+i,r.context.count=n,this._updateComputedContextProperties(r.context)}},e.prototype._cacheView=function(e){if(this._templateCache.length0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(o.a)},pugT:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("isby"),r=n("McSo"),o=n("2Bdj"),a=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),s=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,s=this._unsubscribe,u=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var l=0;l0,this.toastrConfig.countDuplicates);if(t&&this.toastrConfig.preventDuplicates&&null!==o)return o;this.previousToastMessage=t;var a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));var s=this.overlay.create(i.positionClass,this.overlayContainer);this.index=this.index+1;var c=t;t&&i.enableHtml&&(c=this.sanitizer.sanitize(r.I.HTML,t));var u=new E(s),l=new C(this.index,i,c,n,e,u),p=new N(l,this._injector),h=new T(i.toastComponent,p),d=s.attach(h,this.toastrConfig.newestOnTop);u.componentInstance=d.instance;var f={toastId:this.index,message:t||"",toastRef:u,onShown:u.afterActivate(),onHidden:u.afterClosed(),onTap:l.onTap(),onAction:l.onAction(),portal:d};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout((function(){f.toastRef.activate()}))),this.toasts.push(f),f},e.\u0275prov=Object(r.Pb)({factory:function(){return new e(Object(r.dc)(z),Object(r.dc)(x),Object(r.dc)(r.o),Object(r.dc)(s.b),Object(r.dc)(r.z))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(r.dc(z),r.dc(x),r.dc(r.r),r.dc(s.b),r.dc(r.z))},e}(),I=function(){function e(e,t,n){var i=this;this.toastrService=e,this.toastPackage=t,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=t.toastType+" "+t.config.toastClass,this.sub=t.toastRef.afterActivate().subscribe((function(){i.activateToast()})),this.sub1=t.toastRef.manualClosed().subscribe((function(){i.remove()})),this.sub2=t.toastRef.timeoutReset().subscribe((function(){i.resetTimeout()})),this.sub3=t.toastRef.countDuplicate().subscribe((function(e){i.duplicatesCount=e}))}return Object.defineProperty(e.prototype,"displayStyle",{get:function(){if("inactive"===this.state.value)return"none"},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},e.prototype.activateToast=function(){var e=this;this.state=Object(i.a)(Object(i.a)({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout((function(){return e.remove()}),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval((function(){return e.updateProgress()}),10))},e.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},e.prototype.resetTimeout=function(){var e=this;clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object(i.a)(Object(i.a)({},this.state),{value:"active"}),this.outsideTimeout((function(){return e.remove()}),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval((function(){return e.updateProgress()}),10)},e.prototype.remove=function(){var e=this;"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object(i.a)(Object(i.a)({},this.state),{value:"removed"}),this.outsideTimeout((function(){return e.toastrService.remove(e.toastPackage.toastId)}),+this.toastPackage.config.easeTime))},e.prototype.tapToast=function(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},e.prototype.stickAround=function(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},e.prototype.delayedHideToast=function(){var e=this;!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state.value&&(this.outsideTimeout((function(){return e.remove()}),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval((function(){return e.updateProgress()}),10))},e.prototype.outsideTimeout=function(e,t){var n=this;this.ngZone?this.ngZone.runOutsideAngular((function(){return n.timeout=setTimeout((function(){return n.runInsideAngular(e)}),t)})):this.timeout=setTimeout((function(){return e()}),t)},e.prototype.outsideInterval=function(e,t){var n=this;this.ngZone?this.ngZone.runOutsideAngular((function(){return n.intervalId=setInterval((function(){return n.runInsideAngular(e)}),t)})):this.intervalId=setInterval((function(){return e()}),t)},e.prototype.runInsideAngular=function(e){this.ngZone?this.ngZone.run((function(){return e()})):e()},e.\u0275fac=function(t){return new(t||e)(r.Tb(j),r.Tb(C),r.Tb(r.z))},e.\u0275cmp=r.Nb({type:e,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(e,t){1&e&&r.hc("click",(function(){return t.tapToast()}))("mouseenter",(function(){return t.stickAround()}))("mouseleave",(function(){return t.delayedHideToast()})),2&e&&(r.Rc("@flyInOut",t.state),r.Fb(t.toastClasses),r.Kc("display",t.displayStyle))},attrs:u,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(e,t){1&e&&(r.Lc(0,l,3,0,"button",0),r.Lc(1,h,3,5,"div",1),r.Lc(2,d,1,3,"div",2),r.Lc(3,f,2,4,"div",3),r.Lc(4,g,2,2,"div",4)),2&e&&(r.sc("ngIf",t.options.closeButton),r.Db(1),r.sc("ngIf",t.title),r.Db(1),r.sc("ngIf",t.message&&t.options.enableHtml),r.Db(1),r.sc("ngIf",t.message&&!t.options.enableHtml),r.Db(1),r.sc("ngIf",t.options.progressBar))},directives:[c.t],encapsulation:2,data:{animation:[Object(o.l)("flyInOut",[Object(o.i)("inactive",Object(o.j)({opacity:0})),Object(o.i)("active",Object(o.j)({opacity:1})),Object(o.i)("removed",Object(o.j)({opacity:0})),Object(o.k)("inactive => active",Object(o.e)("{{ easeTime }}ms {{ easing }}")),Object(o.k)("active => removed",Object(o.e)("{{ easeTime }}ms {{ easing }}"))])]}}),e}(),A=Object(i.a)(Object(i.a)({},S),{toastComponent:I}),M=function(){function e(){}var t;return t=e,e.forRoot=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[{provide:z,useValue:{default:A,config:e}}]}},e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)},imports:[[c.c]]}),e}(),L=function(){function e(e,t,n){var i=this;this.toastrService=e,this.toastPackage=t,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=t.toastType+" "+t.config.toastClass,this.sub=t.toastRef.afterActivate().subscribe((function(){i.activateToast()})),this.sub1=t.toastRef.manualClosed().subscribe((function(){i.remove()})),this.sub2=t.toastRef.timeoutReset().subscribe((function(){i.resetTimeout()})),this.sub3=t.toastRef.countDuplicate().subscribe((function(e){i.duplicatesCount=e}))}return Object.defineProperty(e.prototype,"displayStyle",{get:function(){if("inactive"===this.state)return"none"},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},e.prototype.activateToast=function(){var e=this;this.state="active",!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout((function(){e.remove()}),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval((function(){return e.updateProgress()}),10))),this.options.onActivateTick&&this.appRef.tick()},e.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},e.prototype.resetTimeout=function(){var e=this;clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout((function(){return e.remove()}),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval((function(){return e.updateProgress()}),10))},e.prototype.remove=function(){var e=this;"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout((function(){return e.toastrService.remove(e.toastPackage.toastId)})))},e.prototype.tapToast=function(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},e.prototype.stickAround=function(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},e.prototype.delayedHideToast=function(){var e=this;!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state&&(this.timeout=setTimeout((function(){return e.remove()}),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval((function(){return e.updateProgress()}),10)))},e.\u0275fac=function(t){return new(t||e)(r.Tb(j),r.Tb(C),r.Tb(r.g))},e.\u0275cmp=r.Nb({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(e,t){1&e&&r.hc("click",(function(){return t.tapToast()}))("mouseenter",(function(){return t.stickAround()}))("mouseleave",(function(){return t.delayedHideToast()})),2&e&&(r.Fb(t.toastClasses),r.Kc("display",t.displayStyle))},attrs:u,decls:11,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(e,t){1&e&&(r.Nc(0,"\n "),r.Lc(1,b,5,0,"button",0),r.Nc(2,"\n "),r.Lc(3,v,4,5,"div",1),r.Nc(4,"\n "),r.Lc(5,y,2,3,"div",2),r.Nc(6,"\n "),r.Lc(7,w,2,4,"div",3),r.Nc(8,"\n "),r.Lc(9,O,4,2,"div",4),r.Nc(10,"\n ")),2&e&&(r.Db(1),r.sc("ngIf",t.options.closeButton),r.Db(2),r.sc("ngIf",t.title),r.Db(2),r.sc("ngIf",t.message&&t.options.enableHtml),r.Db(2),r.sc("ngIf",t.message&&!t.options.enableHtml),r.Db(2),r.sc("ngIf",t.options.progressBar))},directives:[c.t],encapsulation:2}),e}();Object(i.a)(Object(i.a)({},S),{toastComponent:L})},qhZs:function(e,t,n){"use strict";var i=n("sYVv"),r=n("aFjk"),o=n("n/l8"),a=n("JlUD"),s=n("2ZJU"),c=n("ZI+j"),u=Function.prototype,l=Math.max,p=Math.min,h=Object.create;c.maxAge=function(e,t,n){var d,f,g,b;(e=s(e))&&(d=h(null),t.on("set"+(f=n.async&&c.async||n.promise&&c.promise?"async":""),(function(n){d[n]=setTimeout((function(){t.delete(n)}),e),"function"==typeof d[n].unref&&d[n].unref(),b&&(b[n]&&"nextTick"!==b[n]&&clearTimeout(b[n]),b[n]=setTimeout((function(){delete b[n]}),g),"function"==typeof b[n].unref&&b[n].unref())})),t.on("delete"+f,(function(e){clearTimeout(d[e]),delete d[e],b&&("nextTick"!==b[e]&&clearTimeout(b[e]),delete b[e])})),n.preFetch&&(g=!0===n.preFetch||isNaN(n.preFetch)?.333:l(p(Number(n.preFetch),1),0))&&(b={},g=(1-g)*e,t.on("get"+f,(function(e,r,s){b[e]||(b[e]="nextTick",o((function(){var o;"nextTick"===b[e]&&(delete b[e],t.delete(e),n.async&&(r=i(r)).push(u),o=t.memoized.apply(s,r),n.promise&&a(o)&&("function"==typeof o.done?o.done(u,u):o.then(u,u)))})))}))),t.on("clear"+f,(function(){r(d,(function(e){clearTimeout(e)})),d={},b&&(r(b,(function(e){"nextTick"!==e&&clearTimeout(e)})),b={})})))}},qjWv:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return s})),n.d(t,"j",(function(){return r})),n.d(t,"k",(function(){return u})),n.d(t,"l",(function(){return g})),n.d(t,"m",(function(){return h})),n.d(t,"n",(function(){return b}));var i=8,r=9,o=13,a=27,s=32,c=37,u=38,l=39,p=40,h=48,d=57,f=65,g=90;function b(e){for(var t=[],n=1;n!l.some(t=>t===e)),h=new r.a(e);a&&Array.prototype.push.apply(p,a);const d=Object(o.c)(e,t,p,h);return d.length>0?d.filter(e=>{if(-1===e.message.indexOf("Unknown directive"))return!0;if(e.nodes&&e.nodes[0]){const t=e.nodes[0];return!(t.name&&"arguments"===t.name.value||"argumentDefinitions"===t.name.value)}}):[]}},qyF0:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("TYT/"),r=n("Valr"),o=n("tokB"),a=n("Olon"),s=n("o8Qb");function c(e,t){1&e&&(i.Xb(0),i.Nc(1),i.lc(2,"translate"),i.Wb()),2&e&&(i.Db(1),i.Oc(i.mc(2,1,"DOCS_ADD_QUERY_TEXT")))}function u(e,t){1&e&&(i.Xb(0),i.Nc(1),i.lc(2,"translate"),i.Wb()),2&e&&(i.Db(1),i.Oc(i.mc(2,1,"DOCS_ADD_FRAGMENT_TEXT")))}function l(e,t){if(1&e&&(i.Zb(0,"span",14),i.Nc(1),i.Yb()),2&e){var n=i.kc().$implicit;i.Db(1),i.Pc("= ",n.defaultValue,"")}}function p(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",10),i.Nc(1,"\n "),i.Zb(2,"div",4),i.Nc(3,"\n "),i.Zb(4,"span",11),i.hc("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc(3).goToType(e.type.inspect())})),i.Nc(5),i.Lc(6,l,2,1,"span",12),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Zb(9,"span",13),i.hc("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc(3).goToType(e.type.inspect())})),i.Nc(10),i.Yb(),i.Nc(11,"\n "),i.Yb(),i.Nc(12,"\n "),i.Zb(13,"div",5),i.Nc(14,"\n "),i.Yb(),i.Nc(15,"\n "),i.Yb()}if(2&e){var r=t.$implicit;i.Db(5),i.Pc("\n ",r.name,"\n "),i.Db(1),i.sc("ngIf",r.defaultValue&&r.defaultValue.toString),i.Db(4),i.Pc("\n ",r.type.inspect(),"\n "),i.Db(3),i.sc("data",r.description)}}function h(e,t){if(1&e&&(i.Zb(0,"div",8),i.Nc(1,"\n "),i.Zb(2,"div",1),i.Nc(3),i.lc(4,"translate"),i.Yb(),i.Nc(5,"\n "),i.Lc(6,p,16,4,"div",9),i.Nc(7,"\n "),i.Yb()),2&e){var n=i.kc(2);i.Db(3),i.Oc(i.mc(4,3,"DOCS_ARGUMENTS_TEXT")),i.Db(3),i.sc("ngForOf",n.data.args)("ngForTrackBy",n.argTrackBy)}}function d(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div",2),i.Nc(3,"\n "),i.Nc(4,"\n "),i.Zb(5,"div",3),i.Nc(6,"\n "),i.Zb(7,"div",4),i.Nc(8),i.Yb(),i.Nc(9,"\n "),i.Zb(10,"div",5),i.Nc(11,"\n "),i.Yb(),i.Nc(12,"\n "),i.Zb(13,"div",4),i.Nc(14,"\n "),i.Zb(15,"button",6),i.hc("click",(function(){i.Dc(n);var e=i.kc();return e.addToEditor({name:e.data.name,parentType:e.parentType})})),i.Nc(16,"\n "),i.Lc(17,c,3,3,"ng-container",0),i.Nc(18,"\n "),i.Lc(19,u,3,3,"ng-container",0),i.Nc(20,"\n "),i.Yb(),i.Nc(21,"\n "),i.Yb(),i.Nc(22,"\n "),i.Yb(),i.Nc(23,"\n "),i.Yb(),i.Nc(24,"\n "),i.Nc(25,"\n "),i.Lc(26,h,8,5,"div",7),i.Nc(27,"\n"),i.Wb()}if(2&e){var r=i.kc();i.Db(8),i.Pc("\n ",r.data.name,"\n "),i.Db(2),i.sc("data",r.data.description),i.Db(7),i.sc("ngIf",r.isRootType(r.parentType)),i.Db(2),i.sc("ngIf",!r.isRootType(r.parentType)),i.Db(7),i.sc("ngIf",r.data.args&&r.data.args.length)}}function f(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"app-doc-viewer-type",15),i.hc("goToFieldChange",(function(e){return i.Dc(n),i.kc().goToField(e.name,e.parentType)}))("goToTypeChange",(function(e){return i.Dc(n),i.kc().goToType(e.name)}))("addToEditorChange",(function(e){return i.Dc(n),i.kc().addToEditor(e)})),i.Yb(),i.Nc(3,"\n"),i.Wb()}if(2&e){var r=i.kc();i.Db(2),i.sc("data",r.gqlSchema.getType(r.cleanName(r.data.type.inspect())))("gqlSchema",r.gqlSchema)}}var g=function(){function e(){this.data={},this.parentType="",this.goToFieldChange=new i.n,this.goToTypeChange=new i.n,this.addToEditorChange=new i.n}return e.prototype.ngOnInit=function(){},e.prototype.cleanName=function(e){return e.replace(/[\[\]!]/g,"")},e.prototype.isRootType=function(e){if(!e||!this.gqlSchema)return!1;switch(e){case this.gqlSchema.getQueryType()&&this.gqlSchema.getQueryType().name:case this.gqlSchema.getMutationType()&&this.gqlSchema.getMutationType().name:case this.gqlSchema.getSubscriptionType()&&this.gqlSchema.getSubscriptionType().name:return!0}return!1},e.prototype.goToField=function(e,t){this.goToFieldChange.next({name:e,parentType:t})},e.prototype.goToType=function(e){this.goToTypeChange.next({name:e})},e.prototype.addToEditor=function(e){this.addToEditorChange.next(e)},e.prototype.argTrackBy=function(e,t){return t.name},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-doc-viewer-field"]],inputs:{data:"data",gqlSchema:"gqlSchema",parentType:"parentType"},outputs:{goToFieldChange:"goToFieldChange",goToTypeChange:"goToTypeChange",addToEditorChange:"addToEditorChange"},decls:9,vars:5,consts:[[4,"ngIf"],[1,"doc-viewer-section-title"],[1,"doc-viewer-section"],[1,"doc-viewer-item","doc-viewer-item-field"],[1,"doc-viewer-item-query-inner"],["markdown","",1,"doc-viewer-item-query-description",3,"data"],["track-id","add_query",1,"doc-viewer-item-query-add-btn",3,"click"],["class","doc-viewer-section doc-viewer-arguments",4,"ngIf"],[1,"doc-viewer-section","doc-viewer-arguments"],["class","doc-viewer-item doc-viewer-item-query",4,"ngFor","ngForOf","ngForTrackBy"],[1,"doc-viewer-item","doc-viewer-item-query"],[1,"no-link-link",3,"click"],["class","doc-viewer-item-value",4,"ngIf"],[1,"doc-viewer-item-type","doc-viewer-item-query-type","no-link-link",3,"click"],[1,"doc-viewer-item-value"],[3,"data","gqlSchema","goToFieldChange","goToTypeChange","addToEditorChange"]],template:function(e,t){1&e&&(i.Lc(0,d,28,5,"ng-container",0),i.Nc(1,"\n\n"),i.Nc(2,"\n"),i.Zb(3,"div",1),i.Nc(4),i.lc(5,"translate"),i.Yb(),i.Nc(6,"\n"),i.Lc(7,f,4,2,"ng-container",0),i.Nc(8,"\n")),2&e&&(i.sc("ngIf",t.data),i.Db(4),i.Oc(i.mc(5,3,"DOCS_TYPE_TEXT")),i.Db(3),i.sc("ngIf",t.gqlSchema&&t.data&&t.gqlSchema.getType(t.cleanName(t.data.type.inspect()))))},directives:[r.t,o.b,r.s,a.a],pipes:[s.d],styles:[""],changeDetection:0}),e}()},r60r:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("1/U3"),r=n("Y/la"),o=n("rWdj"),a=n("dWS+"),s=n("/jXB"),c=n("dQau"),u=n("axIb"),l=n("umOc");function p(e){var t=new v,n=new Map;return{SelectionSet:function(i){for(var o=function(e,t,n,i,o){var a=[],s=b(e,t,i,o),c=s[0],u=s[1];if(function(e,t,n,i,o){for(var a=0,s=Object(r.a)(o);a1)for(var p=0;p0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){return e.concat(t[1])}),[n]),e.reduce((function(e,t){return e.concat(t[2])}),[i])]}(function(e,t,n,i,r,o,a,s){var c=[],u=b(e,t,r,o),l=u[0],p=u[1],g=b(e,t,a,s),m=g[0],v=g[1];if(f(e,c,t,n,i,l,m),0!==v.length)for(var y=Object.create(null),w=0;we.trim().replace(/^('|")\s*/,"").replace(/\s*('|")$/,"");e.exports={parseCurl:e=>{let t=e.trim();const r=[],o={url:"",method:"GET",headers:{},auth:{}};for(;t;)n.some(e=>{if(e.regex.test(t))return r.push({name:e.name,value:t.match(e.regex)}),t=t.replace(e.regex,"").trim(),!0});if(r.length){if("curl"!==r.shift().name)throw new Error("Not a curl command.");let e="";r.forEach(t=>{if(e){switch(e){case"header-state":{const e=i(t.value[0]).split(/\s*:\s*/);o.headers[e[0]]=e[1];break}case"data-state":o.data=i(t.value[0]).trim();break;case"custom-method-state":o.method=i(t.value[0]).trim()}e=""}else switch(t.name){case"header-state":e="header-state";break;case"data-state":e="data-state";break;case"custom-method-state":e="custom-method-state";break;case"user-state":e="user-state";break;case"string":{const e=i(t.value[0]);(e=>/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)/.test(e))(e)&&(o.url=e);break}}})}return o}}},rPjj:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("mrSG"),r=function(e){function t(t,n,i){var r=e.call(this)||this;return r.parent=t,r.outerValue=n,r.outerIndex=i,r.index=0,r}return i.c(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(n("FFOo").a)},rUJ1:function(e,t){const n=/[&<>"']/,i=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,o=/[<>"']|&(?!#?\w+;)/g,a={"&":"&","<":"<",">":">",'"':""","'":"'"},s=e=>a[e],c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function u(e){return e.replace(c,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const l=/(^|[^\[])\^/g,p=/[^\w:]/g,h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,d={},f=/^[^:]+:\/*[^/]*$/,g=/^([^:]+:)[\s\S]*$/,b=/^([^:]+:\/*[^/]*)[\s\S]*$/;function m(e,t){d[" "+e]||(d[" "+e]=f.test(e)?e+"/":v(e,"/",!0));const n=-1===(e=d[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(g,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(b,"$1")+t:e+t}function v(e,t,n){const i=e.length;if(0===i)return"";let r=0;for(;r(i=(i=i.source||i).replace(l,"$1"),e=e.replace(t,i),n),getRegex:()=>new RegExp(e,t)};return n},cleanUrl:function(e,t,n){if(e){let e;try{e=decodeURIComponent(u(n)).replace(p,"").toLowerCase()}catch(i){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!h.test(n)&&(n=m(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n},resolveUrl:m,noopTest:{exec:function(){}},merge:function(e){let t,n,i=1;for(;i{let i=!1,r=t;for(;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"}).split(/ \|/);let i=0;if(n.length>t)n.splice(t);else for(;n.length2)return"[Array]";for(var i=Math.min(10,t.length),r=t.length-i,o=[],a=0;a1&&o.push("... ".concat(r," more items")),"["+o.join(", ")+"]"}(t,r);return function(t,n){var i=Object.keys(t);return 0===i.length?"{}":n.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(t)+"]":"{ "+i.map((function(i){return i+": "+e(t[i],n)})).join(", ")+" }"}(t,r)}(t,n);default:return String(t)}}(e,[])}},rpki:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return p}));var i=n("mrSG"),r=n("TYT/"),o=n("K9Ia"),a=n("VnD/"),s=n("aGNc"),c=new r.q("nz-config"),u=function(e){return void 0!==e},l=function(){function e(e){this.configUpdated$=new o.a,this.config=e||{}}return e.prototype.getConfigForComponent=function(e){return this.config[e]},e.prototype.getConfigChangeEventForComponent=function(e){return this.configUpdated$.pipe(Object(a.a)((function(t){return t===e})),Object(s.a)(void 0))},e.prototype.set=function(e,t){this.config[e]=Object(i.a)(Object(i.a)({},this.config[e]),t),this.configUpdated$.next(e)},e.\u0275prov=Object(r.Pb)({factory:function(){return new e(Object(r.dc)(c,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(r.dc(c,8))},e}();function p(e){return function(t,n,i){var r="$$__assignedValue__"+n;return Object.defineProperty(t,r,{configurable:!0,writable:!0,enumerable:!1}),{get:function(){var t=(null==i?void 0:i.get)?i.get.bind(this)():this[r];if((this.assignmentCount[n]||0)>1&&u(t))return t;var o=(this.nzConfigService.getConfigForComponent(e)||{})[n];return u(o)?o:t},set:function(e){this.assignmentCount=this.assignmentCount||{},this.assignmentCount[n]=(this.assignmentCount[n]||0)+1,(null==i?void 0:i.set)?i.set.bind(this)(e):this[r]=e},configurable:!0,enumerable:!0}}}},rt3J:function(e,t,n){!function(e){"use strict";e.registerHelper("fold","brace",(function(t,n){var i,r=n.line,o=t.getLine(r);function a(a){for(var s=n.ch,c=0;;){var u=s<=0?-1:o.lastIndexOf(a,s-1);if(-1!=u){if(1==c&&ut.lastLine())return null;var i=t.getTokenAt(e.Pos(n,1));if(/\S/.test(i.string)||(i=t.getTokenAt(e.Pos(n,i.end+1))),"keyword"!=i.type||"import"!=i.string)return null;for(var r=n,o=Math.min(t.lastLine(),n+10);r<=o;++r){var a=t.getLine(r).indexOf(";");if(-1!=a)return{startCh:i.end,end:e.Pos(r,a)}}}var r,o=n.line,a=i(o);if(!a||i(o-1)||(r=i(o-2))&&r.end.line==o-1)return null;for(var s=a.end;;){var c=i(s.line+1);if(null==c)break;s=c.end}return{from:t.clipPos(e.Pos(o,a.startCh+1)),to:s}})),e.registerHelper("fold","include",(function(t,n){function i(n){if(nt.lastLine())return null;var i=t.getTokenAt(e.Pos(n,1));return/\S/.test(i.string)||(i=t.getTokenAt(e.Pos(n,i.end+1))),"meta"==i.type&&"#include"==i.string.slice(0,8)?i.start+8:void 0}var r=n.line,o=i(r);if(null==o||null!=i(r-1))return null;for(var a=r;null!=i(a+1);)++a;return{from:e.Pos(r,o+1),to:t.clipPos(e.Pos(a))}}))}(n("VrN/"))},ryCu:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return p}));var i=n("mrSG"),r=n("TYT/"),o=n("gQXd"),a={},s="[NG-ZORRO]:";function c(){for(var e=[],t=0;t0&&(n=isNaN(n)?e.search(/\S|$/):Math.min(e.search(/\S|$/),n)),isNaN(t)&&(t=n),n?e.substring(n):e})).join("\n"):"";var t},e.\u0275fac=function(t){return new(t||e)(r.dc(r.B),r.dc(f),r.dc(s.c,8),r.dc(d,8),r.dc(c.b))},e.\u0275prov=r.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),b=function(e){return e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}({}),m=function(){function e(e,t){this.element=e,this.markdownService=t,this.error=new r.n,this.load=new r.n,this.ready=new r.n,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}return Object.defineProperty(e.prototype,"emoji",{get:function(){return this._emoji},set:function(e){this._emoji=this.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"katex",{get:function(){return this._katex},set:function(e){this._katex=this.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineHighlight",{get:function(){return this._lineHighlight},set:function(e){this._lineHighlight=this.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lineNumbers",{get:function(){return this._lineNumbers},set:function(e){this._lineNumbers=this.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(){null==this.data?null==this.src||this.handleSrc():this.handleData()},e.prototype.ngAfterViewInit=function(){this.data||this.src||this.handleTransclusion()},e.prototype.render=function(e,t){void 0===t&&(t=!1);var n=this.markdownService.compile(e,t,this.emoji);n=this.katex?this.markdownService.renderKatex(n,this.katexOptions):n,this.element.nativeElement.innerHTML=n,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()},e.prototype.coerceBooleanProperty=function(e){return null!=e&&""+e!="false"},e.prototype.handleData=function(){this.render(this.data)},e.prototype.handleSrc=function(){var e=this;this.markdownService.getSource(this.src).subscribe((function(t){e.render(t),e.load.emit(t)}),(function(t){return e.error.emit(t)}))},e.prototype.handleTransclusion=function(){this.render(this.element.nativeElement.innerHTML,!0)},e.prototype.handlePlugins=function(){this.lineHighlight&&(this.setPluginClass(this.element.nativeElement,b.LineHighlight),this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset})),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,b.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))},e.prototype.setPluginClass=function(e,t){for(var n,r=e.querySelectorAll("pre"),o=0;ol);p++){var h=e.getLine(u++);s=null==s?h:s+"\n"+h}c*=2,t.lastIndex=n.ch;var d=t.exec(s);if(d){var f=s.slice(0,d.index).split("\n"),g=d[0].split("\n"),b=n.line+f.length-1,m=f[f.length-1].length;return{from:i(b,m),to:i(b+g.length-1,1==g.length?m+g[0].length:g[g.length-1].length),match:d}}}}function c(e,t,n){for(var i,r=0;r<=e.length;){t.lastIndex=r;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!i||a>i.index+i[0].length)&&(i=o),r=o.index+1}return i}function u(e,t,n){t=r(t,"g");for(var o=n.line,a=n.ch,s=e.firstLine();o>=s;o--,a=-1){var u=e.getLine(o),l=c(u,t,a<0?0:u.length-a);if(l)return{from:i(o,l.index),to:i(o,l.index+l[0].length),match:l}}}function l(e,t,n){if(!o(t))return u(e,t,n);t=r(t,"gm");for(var a,s=1,l=e.getLine(n.line).length-n.ch,p=n.line,h=e.firstLine();p>=h;){for(var d=0;d=h;d++){var f=e.getLine(p--);a=null==a?f:f+"\n"+a}s*=2;var g=c(a,t,l);if(g){var b=a.slice(0,g.index).split("\n"),m=g[0].split("\n"),v=p+b.length,y=b[b.length-1].length;return{from:i(v,y),to:i(v+m.length-1,1==m.length?y+m[0].length:m[m.length-1].length),match:g}}}}function p(e,t,n,i){if(e.length==t.length)return n;for(var r=0,o=n+Math.max(0,e.length-t.length);;){if(r==o)return r;var a=r+o>>1,s=i(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:r=a+1}}function h(e,r,o,a){if(!r.length)return null;var s=a?t:n,c=s(r).split(/\r|\n\r?/);e:for(var u=o.line,l=o.ch,h=e.lastLine()+1-c.length;u<=h;u++,l=0){var d=e.getLine(u).slice(l),f=s(d);if(1==c.length){var g=f.indexOf(c[0]);if(-1==g)continue e;return o=p(d,f,g,s)+l,{from:i(u,p(d,f,g,s)+l),to:i(u,p(d,f,g+c[0].length,s)+l)}}var b=f.length-c[0].length;if(f.slice(b)==c[0]){for(var m=1;m=h;u--,l=-1){var d=e.getLine(u);l>-1&&(d=d.slice(0,l));var f=s(d);if(1==c.length){var g=f.lastIndexOf(c[0]);if(-1==g)continue e;return{from:i(u,p(d,f,g,s)),to:i(u,p(d,f,g+c[0].length,s))}}var b=c[c.length-1];if(f.slice(0,b.length)==b){var m=1;for(o=u-c.length+1;m0);)i.push({anchor:r.from(),head:r.to()});i.length&&this.setSelections(i,0)}))}(n("VrN/"))},uWOL:function(e,t,n){var i=n("NtLt");e.exports=function(e){return i(e).replace(/\s/g,"_")}},ufY2:function(e,t,n){"use strict";n.d(t,"a",(function(){return Q})),n.d(t,"b",(function(){return De})),n.d(t,"c",(function(){return se})),n.d(t,"d",(function(){return _e})),n.d(t,"e",(function(){return F})),n.d(t,"f",(function(){return ke})),n.d(t,"g",(function(){return $})),n.d(t,"h",(function(){return o})),n.d(t,"i",(function(){return D})),n.d(t,"j",(function(){return M})),n.d(t,"k",(function(){return j})),n.d(t,"l",(function(){return s})),n.d(t,"m",(function(){return Ce})),n.d(t,"n",(function(){return R})),n.d(t,"o",(function(){return A})),n.d(t,"p",(function(){return N})),n.d(t,"q",(function(){return a})),n.d(t,"r",(function(){return c})),n.d(t,"s",(function(){return Z})),n.d(t,"t",(function(){return q})),n.d(t,"u",(function(){return Pe})),n.d(t,"v",(function(){return Ne})),n.d(t,"w",(function(){return Ye})),n.d(t,"x",(function(){return Me})),n.d(t,"y",(function(){return Re})),n.d(t,"z",(function(){return Ve})),n.d(t,"A",(function(){return He})),n.d(t,"B",(function(){return Be})),n.d(t,"C",(function(){return qe})),n.d(t,"D",(function(){return Ue})),n.d(t,"E",(function(){return We})),n.d(t,"F",(function(){return je})),n.d(t,"G",(function(){return Le})),n.d(t,"H",(function(){return Fe})),n.d(t,"I",(function(){return Ae})),n.d(t,"J",(function(){return Ie})),n.d(t,"K",(function(){return B})),n.d(t,"L",(function(){return ce})),n.d(t,"M",(function(){return de})),n.d(t,"N",(function(){return K})),n.d(t,"O",(function(){return ue})),n.d(t,"P",(function(){return ge})),n.d(t,"Q",(function(){return pe})),n.d(t,"R",(function(){return ve})),n.d(t,"S",(function(){return ye})),n.d(t,"T",(function(){return Qe})),n.d(t,"U",(function(){return W})),n.d(t,"V",(function(){return L})),n.d(t,"W",(function(){return I})),n.d(t,"X",(function(){return U})),n.d(t,"Y",(function(){return we})),n.d(t,"Z",(function(){return H})),n.d(t,"ab",(function(){return _})),n.d(t,"bb",(function(){return Te})),n.d(t,"cb",(function(){return xe})),n.d(t,"db",(function(){return P})),n.d(t,"eb",(function(){return J})),n.d(t,"fb",(function(){return w})),n.d(t,"gb",(function(){return fe})),n.d(t,"hb",(function(){return ee})),n.d(t,"ib",(function(){return Se})),n.d(t,"jb",(function(){return E})),n.d(t,"kb",(function(){return te})),n.d(t,"lb",(function(){return ne})),n.d(t,"mb",(function(){return k})),n.d(t,"nb",(function(){return ae})),n.d(t,"ob",(function(){return x})),n.d(t,"pb",(function(){return ze})),n.d(t,"qb",(function(){return ie})),n.d(t,"rb",(function(){return Oe})),n.d(t,"sb",(function(){return O})),n.d(t,"tb",(function(){return he})),n.d(t,"ub",(function(){return $e})),n.d(t,"vb",(function(){return re})),n.d(t,"wb",(function(){return C})),n.d(t,"xb",(function(){return oe})),n.d(t,"yb",(function(){return X})),n.d(t,"zb",(function(){return le})),n.d(t,"Ab",(function(){return S})),n.d(t,"Bb",(function(){return z})),n.d(t,"Cb",(function(){return Y})),n.d(t,"Db",(function(){return T})),n.d(t,"Eb",(function(){return be}));var i=n("mrSG"),r=n("TYT/"),o=function(){function e(){}return e.prototype.transform=function(e){for(var t=[],n=1;n-2?e.slice(0,2).toUpperCase()+e.slice(2):e.slice(0,1).toUpperCase()+e.slice(1)})).join("");return Object(i.g)([o],r).join(" ")}function m(e,t){if(t<=0)return Math.round(e);var n=Math.pow(10,t);return Math.round(e*n)/n}function v(e,t){var n=t.split("."),i=n.shift();return n.reduce((function(e,t){return u(e)||null===e||u(e[t])?void 0:e[t]}),e[i||""])}function y(e,t){return Object(i.g)(Object.keys(e),Object.keys(t)).filter((function(e,t,n){return n.indexOf(e)===t}))}var w=function(){function e(){}return e.prototype.transform=function(e){return h(e)?e.split("").reverse().join(""):Array.isArray(e)?e.slice().reverse():e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"reverse",type:e,pure:!0}),e}(),O=function(){function e(){}return e.prototype.transform=function(e,t){return void 0===t&&(t=0),Array.isArray(e)?e.slice(t):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"tail",type:e,pure:!0}),e}(),C=function(){function e(){}return e.prototype.transform=function(e){return Array.isArray(e)?e.filter((function(e){return!!e})):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"truthify",type:e,pure:!0}),e}(),S=function(){function e(){}return e.prototype.transform=function(e,t){return void 0===t&&(t=[]),Array.isArray(e)&&Array.isArray(t)?t.reduce((function(e,t){return e.concat(t.reduce((function(t,n){return~t.indexOf(n)||~e.indexOf(n)?t:t.concat([n])}),[]))}),e):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"union",type:e,pure:!0}),e}(),z=function(){function e(){}return e.prototype.transform=function(e,t){var n=[];return Array.isArray(e)?u(t)?e.filter((function(t,n){return e.indexOf(t)===n})):e.filter((function(e,i){var r=v(e,t);return!u(r=d(r)?JSON.stringify(r):r)&&!n[r]&&(n[r]=!0,!0)})):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"unique",type:e,pure:!0}),e}(),T=function(){function e(){}return e.prototype.transform=function(e,t){return void 0===t&&(t=[]),Array.isArray(e)?e.filter((function(e){return!~t.indexOf(e)})):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"without",type:e,pure:!0}),e}(),_=function(){function e(){}return e.prototype.transform=function(e,t){return Array.isArray(e)?e.map((function(e){return v(e,t)})):d(e)?v(e,t):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"pluck",type:e,pure:!1}),e}(),k=function(){function e(){}return e.prototype.transform=function(e){var t;if(!Array.isArray(e))return e;for(var n=Object(i.g)(e),r=e.length-1,o=0;ot){if(i)return e.slice(0,t)+n;if(~e.indexOf(" ",t))return e.slice(0,e.indexOf(" ",t))+n}return e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"shorten",type:e,pure:!0}),e}(),ie=function(){function e(){}return e.prototype.transform=function(e){for(var t=[],n=1;n0?new RegExp("<(?!/?("+t.join("|")+")s*/?)[^>]+>","g"):/<(?:.|\s)*?>/g,"")},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"stripTags",type:e,pure:!0}),e}(),re=function(){function e(){}return e.prototype.transform=function(e,t){return void 0===t&&(t="\\s"),h(e)?e.replace(new RegExp("^["+t+"]+|["+t+"]+$","g"),""):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"trim",type:e,pure:!0}),e}(),oe=function(){function e(){}return e.prototype.transform=function(e){return h(e)?b(e):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"ucfirst",type:e,pure:!0}),e}(),ae=function(){function e(){}return e.prototype.transform=function(e){return h(e)?e.toLowerCase().trim().replace(/[^\w\-]+/g," ").replace(/\s+/g,"-"):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"slugify",type:e,pure:!0}),e}(),se=function(){function e(){}return e.prototype.transform=function(e,t){return void 0===t&&(t="\\s"),h(e)?e.toLowerCase().split(/[-_\s]/g).filter((function(e){return!!e})).map((function(e,t){return t?e.slice(0,1).toUpperCase()+e.slice(1):e})).join(""):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"camelize",type:e,pure:!0}),e}(),ce=function(){function e(){this.latinMap={"\xc1":"A","\u0102":"A","\u1eae":"A","\u1eb6":"A","\u1eb0":"A","\u1eb2":"A","\u1eb4":"A","\u01cd":"A","\xc2":"A","\u1ea4":"A","\u1eac":"A","\u1ea6":"A","\u1ea8":"A","\u1eaa":"A","\xc4":"A","\u01de":"A","\u0226":"A","\u01e0":"A","\u1ea0":"A","\u0200":"A","\xc0":"A","\u1ea2":"A","\u0202":"A","\u0100":"A","\u0104":"A","\xc5":"A","\u01fa":"A","\u1e00":"A","\u023a":"A","\xc3":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u1e02":"B","\u1e04":"B","\u0181":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0106":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0108":"C","\u010a":"C","\u0187":"C","\u023b":"C","\u010e":"D","\u1e10":"D","\u1e12":"D","\u1e0a":"D","\u1e0c":"D","\u018a":"D","\u1e0e":"D","\u01f2":"D","\u01c5":"D","\u0110":"D","\u018b":"D","\u01f1":"DZ","\u01c4":"DZ","\xc9":"E","\u0114":"E","\u011a":"E","\u0228":"E","\u1e1c":"E","\xca":"E","\u1ebe":"E","\u1ec6":"E","\u1ec0":"E","\u1ec2":"E","\u1ec4":"E","\u1e18":"E","\xcb":"E","\u0116":"E","\u1eb8":"E","\u0204":"E","\xc8":"E","\u1eba":"E","\u0206":"E","\u0112":"E","\u1e16":"E","\u1e14":"E","\u0118":"E","\u0246":"E","\u1ebc":"E","\u1e1a":"E","\ua76a":"ET","\u1e1e":"F","\u0191":"F","\u01f4":"G","\u011e":"G","\u01e6":"G","\u0122":"G","\u011c":"G","\u0120":"G","\u0193":"G","\u1e20":"G","\u01e4":"G","\u1e2a":"H","\u021e":"H","\u1e28":"H","\u0124":"H","\u2c67":"H","\u1e26":"H","\u1e22":"H","\u1e24":"H","\u0126":"H","\xcd":"I","\u012c":"I","\u01cf":"I","\xce":"I","\xcf":"I","\u1e2e":"I","\u0130":"I","\u1eca":"I","\u0208":"I","\xcc":"I","\u1ec8":"I","\u020a":"I","\u012a":"I","\u012e":"I","\u0197":"I","\u0128":"I","\u1e2c":"I","\ua779":"D","\ua77b":"F","\ua77d":"G","\ua782":"R","\ua784":"S","\ua786":"T","\ua76c":"IS","\u0134":"J","\u0248":"J","\u1e30":"K","\u01e8":"K","\u0136":"K","\u2c69":"K","\ua742":"K","\u1e32":"K","\u0198":"K","\u1e34":"K","\ua740":"K","\ua744":"K","\u0139":"L","\u023d":"L","\u013d":"L","\u013b":"L","\u1e3c":"L","\u1e36":"L","\u1e38":"L","\u2c60":"L","\ua748":"L","\u1e3a":"L","\u013f":"L","\u2c62":"L","\u01c8":"L","\u0141":"L","\u01c7":"LJ","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u0143":"N","\u0147":"N","\u0145":"N","\u1e4a":"N","\u1e44":"N","\u1e46":"N","\u01f8":"N","\u019d":"N","\u1e48":"N","\u0220":"N","\u01cb":"N","\xd1":"N","\u01ca":"NJ","\xd3":"O","\u014e":"O","\u01d1":"O","\xd4":"O","\u1ed0":"O","\u1ed8":"O","\u1ed2":"O","\u1ed4":"O","\u1ed6":"O","\xd6":"O","\u022a":"O","\u022e":"O","\u0230":"O","\u1ecc":"O","\u0150":"O","\u020c":"O","\xd2":"O","\u1ece":"O","\u01a0":"O","\u1eda":"O","\u1ee2":"O","\u1edc":"O","\u1ede":"O","\u1ee0":"O","\u020e":"O","\ua74a":"O","\ua74c":"O","\u014c":"O","\u1e52":"O","\u1e50":"O","\u019f":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\xd5":"O","\u1e4c":"O","\u1e4e":"O","\u022c":"O","\u01a2":"OI","\ua74e":"OO","\u0190":"E","\u0186":"O","\u0222":"OU","\u1e54":"P","\u1e56":"P","\ua752":"P","\u01a4":"P","\ua754":"P","\u2c63":"P","\ua750":"P","\ua758":"Q","\ua756":"Q","\u0154":"R","\u0158":"R","\u0156":"R","\u1e58":"R","\u1e5a":"R","\u1e5c":"R","\u0210":"R","\u0212":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua73e":"C","\u018e":"E","\u015a":"S","\u1e64":"S","\u0160":"S","\u1e66":"S","\u015e":"S","\u015c":"S","\u0218":"S","\u1e60":"S","\u1e62":"S","\u1e68":"S","\u1e9e":"SS","\u0164":"T","\u0162":"T","\u1e70":"T","\u021a":"T","\u023e":"T","\u1e6a":"T","\u1e6c":"T","\u01ac":"T","\u1e6e":"T","\u01ae":"T","\u0166":"T","\u2c6f":"A","\ua780":"L","\u019c":"M","\u0245":"V","\ua728":"TZ","\xda":"U","\u016c":"U","\u01d3":"U","\xdb":"U","\u1e76":"U","\xdc":"U","\u01d7":"U","\u01d9":"U","\u01db":"U","\u01d5":"U","\u1e72":"U","\u1ee4":"U","\u0170":"U","\u0214":"U","\xd9":"U","\u1ee6":"U","\u01af":"U","\u1ee8":"U","\u1ef0":"U","\u1eea":"U","\u1eec":"U","\u1eee":"U","\u0216":"U","\u016a":"U","\u1e7a":"U","\u0172":"U","\u016e":"U","\u0168":"U","\u1e78":"U","\u1e74":"U","\ua75e":"V","\u1e7e":"V","\u01b2":"V","\u1e7c":"V","\ua760":"VY","\u1e82":"W","\u0174":"W","\u1e84":"W","\u1e86":"W","\u1e88":"W","\u1e80":"W","\u2c72":"W","\u1e8c":"X","\u1e8a":"X","\xdd":"Y","\u0176":"Y","\u0178":"Y","\u1e8e":"Y","\u1ef4":"Y","\u1ef2":"Y","\u01b3":"Y","\u1ef6":"Y","\u1efe":"Y","\u0232":"Y","\u024e":"Y","\u1ef8":"Y","\u0179":"Z","\u017d":"Z","\u1e90":"Z","\u2c6b":"Z","\u017b":"Z","\u1e92":"Z","\u0224":"Z","\u1e94":"Z","\u01b5":"Z","\u0132":"IJ","\u0152":"OE","\u1d00":"A","\u1d01":"AE","\u0299":"B","\u1d03":"B","\u1d04":"C","\u1d05":"D","\u1d07":"E","\ua730":"F","\u0262":"G","\u029b":"G","\u029c":"H","\u026a":"I","\u0281":"R","\u1d0a":"J","\u1d0b":"K","\u029f":"L","\u1d0c":"L","\u1d0d":"M","\u0274":"N","\u1d0f":"O","\u0276":"OE","\u1d10":"O","\u1d15":"OU","\u1d18":"P","\u0280":"R","\u1d0e":"N","\u1d19":"R","\ua731":"S","\u1d1b":"T","\u2c7b":"E","\u1d1a":"R","\u1d1c":"U","\u1d20":"V","\u1d21":"W","\u028f":"Y","\u1d22":"Z","\xe1":"a","\u0103":"a","\u1eaf":"a","\u1eb7":"a","\u1eb1":"a","\u1eb3":"a","\u1eb5":"a","\u01ce":"a","\xe2":"a","\u1ea5":"a","\u1ead":"a","\u1ea7":"a","\u1ea9":"a","\u1eab":"a","\xe4":"a","\u01df":"a","\u0227":"a","\u01e1":"a","\u1ea1":"a","\u0201":"a","\xe0":"a","\u1ea3":"a","\u0203":"a","\u0101":"a","\u0105":"a","\u1d8f":"a","\u1e9a":"a","\xe5":"a","\u01fb":"a","\u1e01":"a","\u2c65":"a","\xe3":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u1e03":"b","\u1e05":"b","\u0253":"b","\u1e07":"b","\u1d6c":"b","\u1d80":"b","\u0180":"b","\u0183":"b","\u0275":"o","\u0107":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0109":"c","\u0255":"c","\u010b":"c","\u0188":"c","\u023c":"c","\u010f":"d","\u1e11":"d","\u1e13":"d","\u0221":"d","\u1e0b":"d","\u1e0d":"d","\u0257":"d","\u1d91":"d","\u1e0f":"d","\u1d6d":"d","\u1d81":"d","\u0111":"d","\u0256":"d","\u018c":"d","\u0131":"i","\u0237":"j","\u025f":"j","\u0284":"j","\u01f3":"dz","\u01c6":"dz","\xe9":"e","\u0115":"e","\u011b":"e","\u0229":"e","\u1e1d":"e","\xea":"e","\u1ebf":"e","\u1ec7":"e","\u1ec1":"e","\u1ec3":"e","\u1ec5":"e","\u1e19":"e","\xeb":"e","\u0117":"e","\u1eb9":"e","\u0205":"e","\xe8":"e","\u1ebb":"e","\u0207":"e","\u0113":"e","\u1e17":"e","\u1e15":"e","\u2c78":"e","\u0119":"e","\u1d92":"e","\u0247":"e","\u1ebd":"e","\u1e1b":"e","\ua76b":"et","\u1e1f":"f","\u0192":"f","\u1d6e":"f","\u1d82":"f","\u01f5":"g","\u011f":"g","\u01e7":"g","\u0123":"g","\u011d":"g","\u0121":"g","\u0260":"g","\u1e21":"g","\u1d83":"g","\u01e5":"g","\u1e2b":"h","\u021f":"h","\u1e29":"h","\u0125":"h","\u2c68":"h","\u1e27":"h","\u1e23":"h","\u1e25":"h","\u0266":"h","\u1e96":"h","\u0127":"h","\u0195":"hv","\xed":"i","\u012d":"i","\u01d0":"i","\xee":"i","\xef":"i","\u1e2f":"i","\u1ecb":"i","\u0209":"i","\xec":"i","\u1ec9":"i","\u020b":"i","\u012b":"i","\u012f":"i","\u1d96":"i","\u0268":"i","\u0129":"i","\u1e2d":"i","\ua77a":"d","\ua77c":"f","\u1d79":"g","\ua783":"r","\ua785":"s","\ua787":"t","\ua76d":"is","\u01f0":"j","\u0135":"j","\u029d":"j","\u0249":"j","\u1e31":"k","\u01e9":"k","\u0137":"k","\u2c6a":"k","\ua743":"k","\u1e33":"k","\u0199":"k","\u1e35":"k","\u1d84":"k","\ua741":"k","\ua745":"k","\u013a":"l","\u019a":"l","\u026c":"l","\u013e":"l","\u013c":"l","\u1e3d":"l","\u0234":"l","\u1e37":"l","\u1e39":"l","\u2c61":"l","\ua749":"l","\u1e3b":"l","\u0140":"l","\u026b":"l","\u1d85":"l","\u026d":"l","\u0142":"l","\u01c9":"lj","\u017f":"s","\u1e9c":"s","\u1e9b":"s","\u1e9d":"s","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u1d6f":"m","\u1d86":"m","\u0144":"n","\u0148":"n","\u0146":"n","\u1e4b":"n","\u0235":"n","\u1e45":"n","\u1e47":"n","\u01f9":"n","\u0272":"n","\u1e49":"n","\u019e":"n","\u1d70":"n","\u1d87":"n","\u0273":"n","\xf1":"n","\u01cc":"nj","\xf3":"o","\u014f":"o","\u01d2":"o","\xf4":"o","\u1ed1":"o","\u1ed9":"o","\u1ed3":"o","\u1ed5":"o","\u1ed7":"o","\xf6":"o","\u022b":"o","\u022f":"o","\u0231":"o","\u1ecd":"o","\u0151":"o","\u020d":"o","\xf2":"o","\u1ecf":"o","\u01a1":"o","\u1edb":"o","\u1ee3":"o","\u1edd":"o","\u1edf":"o","\u1ee1":"o","\u020f":"o","\ua74b":"o","\ua74d":"o","\u2c7a":"o","\u014d":"o","\u1e53":"o","\u1e51":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\xf5":"o","\u1e4d":"o","\u1e4f":"o","\u022d":"o","\u01a3":"oi","\ua74f":"oo","\u025b":"e","\u1d93":"e","\u0254":"o","\u1d97":"o","\u0223":"ou","\u1e55":"p","\u1e57":"p","\ua753":"p","\u01a5":"p","\u1d71":"p","\u1d88":"p","\ua755":"p","\u1d7d":"p","\ua751":"p","\ua759":"q","\u02a0":"q","\u024b":"q","\ua757":"q","\u0155":"r","\u0159":"r","\u0157":"r","\u1e59":"r","\u1e5b":"r","\u1e5d":"r","\u0211":"r","\u027e":"r","\u1d73":"r","\u0213":"r","\u1e5f":"r","\u027c":"r","\u1d72":"r","\u1d89":"r","\u024d":"r","\u027d":"r","\u2184":"c","\ua73f":"c","\u0258":"e","\u027f":"r","\u015b":"s","\u1e65":"s","\u0161":"s","\u1e67":"s","\u015f":"s","\u015d":"s","\u0219":"s","\u1e61":"s","\u1e63":"s","\u1e69":"s","\u0282":"s","\u1d74":"s","\u1d8a":"s","\u023f":"s","\u0261":"g","\xdf":"ss","\u1d11":"o","\u1d13":"o","\u1d1d":"u","\u0165":"t","\u0163":"t","\u1e71":"t","\u021b":"t","\u0236":"t","\u1e97":"t","\u2c66":"t","\u1e6b":"t","\u1e6d":"t","\u01ad":"t","\u1e6f":"t","\u1d75":"t","\u01ab":"t","\u0288":"t","\u0167":"t","\u1d7a":"th","\u0250":"a","\u1d02":"ae","\u01dd":"e","\u1d77":"g","\u0265":"h","\u02ae":"h","\u02af":"h","\u1d09":"i","\u029e":"k","\ua781":"l","\u026f":"m","\u0270":"m","\u1d14":"oe","\u0279":"r","\u027b":"r","\u027a":"r","\u2c79":"r","\u0287":"t","\u028c":"v","\u028d":"w","\u028e":"y","\ua729":"tz","\xfa":"u","\u016d":"u","\u01d4":"u","\xfb":"u","\u1e77":"u","\xfc":"u","\u01d8":"u","\u01da":"u","\u01dc":"u","\u01d6":"u","\u1e73":"u","\u1ee5":"u","\u0171":"u","\u0215":"u","\xf9":"u","\u1ee7":"u","\u01b0":"u","\u1ee9":"u","\u1ef1":"u","\u1eeb":"u","\u1eed":"u","\u1eef":"u","\u0217":"u","\u016b":"u","\u1e7b":"u","\u0173":"u","\u1d99":"u","\u016f":"u","\u0169":"u","\u1e79":"u","\u1e75":"u","\u1d6b":"ue","\ua778":"um","\u2c74":"v","\ua75f":"v","\u1e7f":"v","\u028b":"v","\u1d8c":"v","\u2c71":"v","\u1e7d":"v","\ua761":"vy","\u1e83":"w","\u0175":"w","\u1e85":"w","\u1e87":"w","\u1e89":"w","\u1e81":"w","\u2c73":"w","\u1e98":"w","\u1e8d":"x","\u1e8b":"x","\u1d8d":"x","\xfd":"y","\u0177":"y","\xff":"y","\u1e8f":"y","\u1ef5":"y","\u1ef3":"y","\u01b4":"y","\u1ef7":"y","\u1eff":"y","\u0233":"y","\u1e99":"y","\u024f":"y","\u1ef9":"y","\u017a":"z","\u017e":"z","\u1e91":"z","\u0291":"z","\u2c6c":"z","\u017c":"z","\u1e93":"z","\u0225":"z","\u1e95":"z","\u1d76":"z","\u1d8e":"z","\u0290":"z","\u01b6":"z","\u0240":"z","\ufb00":"ff","\ufb03":"ffi","\ufb04":"ffl","\ufb01":"fi","\ufb02":"fl","\u0133":"ij","\u0153":"oe","\ufb06":"st","\u2090":"a","\u2091":"e","\u1d62":"i","\u2c7c":"j","\u2092":"o","\u1d63":"r","\u1d64":"u","\u1d65":"v","\u2093":"x"}}return e.prototype.transform=function(e,t){var n=this;return void 0===t&&(t="\\s"),h(e)?e.replace(/[^A-Za-z0-9]/g,(function(e){return n.latinMap[e]||e})):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"latinise",type:e,pure:!0}),e}(),ue=function(){function e(){}return e.prototype.transform=function(e,t){return void 0===t&&(t="\\s"),h(e)?e.replace(/\r\n/g,"\n").split("\n"):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"lines",type:e,pure:!0}),e}(),le=function(){function e(){}return e.prototype.transform=function(e,t){return void 0===t&&(t="\\s"),h(e)?e.trim().replace(/\s+/g,"").replace(/[A-Z]/g,(function(e,t){return t?"_"+e.toLowerCase():e.toLowerCase()})):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"underscore",type:e,pure:!0}),e}(),pe=function(){function e(){}return e.prototype.transform=function(e,t,n){return h(e)?e.match(new RegExp(t,n)):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"match",type:e,pure:!0}),e}(),he=function(){function e(){}return e.prototype.transform=function(e,t,n){return h(e)?new RegExp(t,n).test(e):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"test",type:e,pure:!0}),e}(),de=function(){function e(){}return e.prototype.transform=function(e,t,n){if(void 0===n&&(n=" "),!h(e)||e.length>=t)return e;for(;e.length=t)return e;for(;e.length=t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"isGreaterEqualThan",type:e,pure:!0}),e}(),Ve=function(){function e(){}return e.prototype.transform=function(e,t){return e>t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"isGreaterThan",type:e,pure:!0}),e}(),Be=function(){function e(){}return e.prototype.transform=function(e,t){return e<=t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"isLessEqualThan",type:e,pure:!0}),e}(),Ye=function(){function e(){}return e.prototype.transform=function(e,t){return e==t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"isEqualTo",type:e,pure:!0}),e}(),Ue=function(){function e(){}return e.prototype.transform=function(e,t){return e!=t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"isNotEqualTo",type:e,pure:!0}),e}(),He=function(){function e(){}return e.prototype.transform=function(e,t){return e===t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"isIdenticalTo",type:e,pure:!0}),e}(),We=function(){function e(){}return e.prototype.transform=function(e,t){return e!==t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"isNotIdenticalTo",type:e,pure:!0}),e}(),qe=function(){function e(){}return e.prototype.transform=function(e,t){return ei)return"in the future";for(var r=0,o=t.MAPPER.length,a=i-n,s=t.YEAR_MS;r=1)return 1===u?c.single:u+" "+c.many+" ago"}return"just now"},e.YEAR_MS=290304e5,e.MAPPER=[{single:"last year",many:"years",div:1},{single:"last month",many:"months",div:12},{single:"last week",many:"weeks",div:4},{single:"yesterday",many:"days",div:7},{single:"an hour ago",many:"hours",div:24},{single:"just now",many:"minutes",div:60}],e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Sb({name:"timeAgo",type:e,pure:!0}),e}(),Ge=function(){function e(){}return e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)},imports:[[]]}),e}(),Qe=function(){function e(){}return e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)},imports:[V,me,Ee,Ze,G,Ge]}),e}()},uhBA:function(e,t,n){"use strict";var i=Object.prototype.hasOwnProperty,r="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,i,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),u.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)i.call(e,t)&&n.push(r?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},u.prototype.listeners=function(e){var t=this._events[r?r+e:e];if(!t)return[];if(t.fn)return[t.fn];for(var n=0,i=t.length,o=new Array(i);n1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}},vbtb:function(e,t){e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1},getDefaults:function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},changeDefaults:function(t){e.exports.defaults=t}}},w6bI:function(e,t,n){"use strict";var i,r=n("lWBa"),o=n("YsTz"),a=n("GpRL"),s=Array.prototype.slice;i=function(e){return this.map((function(t,n){return t?t(e[n]):e[n]})).concat(s.call(e,this.length))},e.exports=function(e){return(e=r(e)).forEach((function(e){o(e)&&a(e)})),i.bind(e)}},wmq6:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return a}));var i=n("Valr"),r=n("TYT/"),o=n("mrSG"),a=function(){function e(e,t){this.viewContainer=e,this.templateRef=t,this.embeddedViewRef=null,this.context=new s,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}return e.ngTemplateContextGuard=function(e,t){return!0},e.prototype.recreateView=function(){this.viewContainer.clear();var e=this.nzStringTemplateOutlet instanceof r.M;this.embeddedViewRef=this.viewContainer.createEmbeddedView(e?this.nzStringTemplateOutlet:this.templateRef,e?this.nzStringTemplateOutletContext:this.context)},e.prototype.updateContext=function(){var e,t,n=this.nzStringTemplateOutlet instanceof r.M?this.nzStringTemplateOutletContext:this.context,i=this.embeddedViewRef.context;if(n)try{for(var a=Object(o.h)(Object.keys(n)),s=a.next();!s.done;s=a.next()){var c=s.value;i[c]=n[c]}}catch(u){e={error:u}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},e.prototype.ngOnChanges=function(e){var t,n=e.nzStringTemplateOutletContext,i=e.nzStringTemplateOutlet;i&&(this.context.$implicit=i.currentValue),t=!1,i&&(t=!!i.firstChange||i.previousValue instanceof r.M||i.currentValue instanceof r.M),n&&function(e){var t,n,i=Object.keys(e.previousValue||{}),r=Object.keys(e.currentValue||{});if(i.length===r.length){try{for(var a=Object(o.h)(r),s=a.next();!s.done;s=a.next())if(-1===i.indexOf(s.value))return!0}catch(c){t={error:c}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return!1}return!0}(n)||t?this.recreateView():this.updateContext()},e.\u0275fac=function(t){return new(t||e)(r.Tb(r.Q),r.Tb(r.M))},e.\u0275dir=r.Ob({type:e,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[r.Bb]}),e}(),s=function(){return function(){}}(),c=function(){function e(){}return e.\u0275mod=r.Rb({type:e}),e.\u0275inj=r.Qb({factory:function(t){return new(t||e)},imports:[[i.c]]}),e}()},wpgB:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("dWS+"),r=n("axIb");function o(e,t){return'Enum value "'.concat(e,".").concat(t,'" can only be defined once.')}function a(e,t){return'Enum value "'.concat(e,".").concat(t,'" already exists in the schema. It cannot also be defined in this type extension.')}function s(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);return{EnumTypeDefinition:c,EnumTypeExtension:c};function c(t){var c=t.name.value;if(s[c]||(s[c]=Object.create(null)),t.values)for(var u=s[c],l=0,p=t.values;l=u){if(h&&a&&h.test(a.className))return;o=r(s.indicatorOpen)}}(o||a)&&e.setGutterMarker(n,s.gutter,o)}))}function a(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function s(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation((function(){o(e,t.from,t.to)})),n.from=t.from,n.to=t.to)}function c(e,n,r){var o=e.state.foldGutter;if(o){var a=o.options;if(r==a.gutter){var s=i(e,n);s?s.clear():e.foldCode(t(n,0),a)}}}function u(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){s(e)}),n.foldOnChangeTimeSpan||600)}}function l(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout((function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?s(e):e.operation((function(){n.fromt.to&&(o(e,t.to,n.to),t.to=n.to)}))}),n.updateViewportTimeSpan||400)}}function p(e,t){var n=e.state.foldGutter;if(n){var i=t.line;i>=n.from&&in&&(r=n);var o=function(e){return e.charCodeAt(0).toString(16).toUpperCase()},a=function(e,t,n){return e.substr(t,n).replace(/\\/g,"\\\\").replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,(function(e){return"\\x0"+o(e)})).replace(/[\x10-\x1F\x80-\xFF]/g,(function(e){return"\\x"+o(e)})).replace(/[\u0100-\u0FFF]/g,(function(e){return"\\u0"+o(e)})).replace(/[\u1000-\uFFFF]/g,(function(e){return"\\u"+o(e)}))};return{prologTrunc:i>0,prologText:a(e,i,t-i),tokenText:a(e,t,1),epilogText:a(e,t+1,r-(t+1)),epilogTrunc:r3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;c(this,e),this.type=t,this.value=n,this.text=i,this.pos=r,this.line=o,this.column=a}return l(e,[{key:"toString",value:function(){return"")}},{key:"isA",value:function(e,t){return e===this.type&&(2!==arguments.length||t===this.value)}}]),e}(),d=function(e){function t(e,n,i,o,a){var u;return c(this,t),(u=r(this,s(t).call(this,e))).name="ParsingError",u.message=e,u.pos=n,u.line=i,u.column=o,u.input=a,u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(t,o(Error)),l(t,[{key:"toString",value:function(){for(var e=p(this.input,this.pos),t="line ".concat(this.line," (column ").concat(this.column,"): "),n="",i=0;i0?((t=this._tokenizr).state.apply(t,arguments),this):(e=this._tokenizr).state.apply(e,arguments)}},{key:"tag",value:function(){var e;return(e=this._tokenizr).tag.apply(e,arguments),this}},{key:"tagged",value:function(){var e;return(e=this._tokenizr).tagged.apply(e,arguments)}},{key:"untag",value:function(){var e;return(e=this._tokenizr).untag.apply(e,arguments),this}},{key:"repeat",value:function(){return this._tokenizr._log(" REPEAT"),this._repeat=!0,this}},{key:"reject",value:function(){return this._tokenizr._log(" REJECT"),this._reject=!0,this}},{key:"ignore",value:function(){return this._tokenizr._log(" IGNORE"),this._ignore=!0,this}},{key:"accept",value:function(e,t){return arguments.length<2&&(t=this._match[0]),this._tokenizr._log(" ACCEPT: type: ".concat(e,", value: ")+"".concat(JSON.stringify(t)," (").concat(i(t),'), text: "').concat(this._match[0],'"')),this._tokenizr._pending.push(new h(e,t,this._match[0],this._tokenizr._pos,this._tokenizr._line,this._tokenizr._column)),this}},{key:"stop",value:function(){return this._tokenizr._stopped=!0,this}}]),e}(),g=function(){function e(){c(this,e),this._before=null,this._after=null,this._finish=null,this._rules=[],this._debug=!1,this.reset()}return l(e,[{key:"reset",value:function(){return this._input="",this._len=0,this._eof=!1,this._pos=0,this._line=1,this._column=1,this._state=["default"],this._tag={},this._transaction=[],this._pending=[],this._stopped=!1,this._ctx=new f(this),this}},{key:"error",value:function(e){return new d(e,this._pos,this._line,this._column,this._input)}},{key:"debug",value:function(e){return this._debug=e,this}},{key:"_log",value:function(e){this._debug&&console.log("tokenizr: ".concat(e))}},{key:"input",value:function(e){if("string"!=typeof e)throw new Error('parameter "input" not a String');return this.reset(),this._input=e,this._len=e.length,this}},{key:"push",value:function(e){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof e)throw new Error('parameter "state" not a String');return this._log(" STATE (PUSH): "+"old: <".concat(this._state[this._state.length-1],">, ")+"new: <".concat(e,">")),this._state.push(e),this}},{key:"pop",value:function(){if(0!==arguments.length)throw new Error("invalid number of arguments");if(this._state.length<2)throw new Error("no more custom states to pop");return this._log(" STATE (POP): "+"old: <".concat(this._state[this._state.length-1],">, ")+"new: <".concat(this._state[this._state.length-2],">")),this._state.pop()}},{key:"state",value:function(e){if(1===arguments.length){if("string"!=typeof e)throw new Error('parameter "state" not a String');return this._log(" STATE (SET): "+"old: <".concat(this._state[this._state.length-1],">, ")+"new: <".concat(e,">")),this._state[this._state.length-1]=e,this}if(0===arguments.length)return this._state[this._state.length-1];throw new Error("invalid number of arguments")}},{key:"tag",value:function(e){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof e)throw new Error('parameter "tag" not a String');return this._log(" TAG (ADD): ".concat(e)),this._tag[e]=!0,this}},{key:"tagged",value:function(e){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof e)throw new Error('parameter "tag" not a String');return!0===this._tag[e]}},{key:"untag",value:function(e){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof e)throw new Error('parameter "tag" not a String');return this._log(" TAG (DEL): ".concat(e)),delete this._tag[e],this}},{key:"before",value:function(e){return this._before=e,this}},{key:"after",value:function(e){return this._after=e,this}},{key:"finish",value:function(e){return this._finish=e,this}},{key:"rule",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unknown";if(2===arguments.length&&"function"==typeof t){var o=[e,t];t=o[0],n=o[1],e="*"}else if(3===arguments.length&&"function"==typeof t){var a=[e,t,n];t=a[0],n=a[1],r=a[2],e="*"}if("string"!=typeof e)throw new Error('parameter "state" not a String');if(!("object"===i(t)&&t instanceof RegExp))throw new Error('parameter "pattern" not a RegExp');if("function"!=typeof n)throw new Error('parameter "action" not a Function');if("string"!=typeof r)throw new Error('parameter "name" not a String');e=e.split(/\s*,\s*/g).map((function(e){var t=e.split(/\s+/g),n=t.filter((function(e){return null===e.match(/^#/)})),i=t.filter((function(e){return null!==e.match(/^#/)})).map((function(e){return e.replace(/^#/,"")}));if(1!==n.length)throw new Error("exactly one state required");return{state:n[0],tags:i}}));var s="g";try{"boolean"==typeof new RegExp("","y").sticky&&(s="y")}catch(e){}return"boolean"==typeof t.multiline&&t.multiline&&(s+="m"),"boolean"==typeof t.dotAll&&t.dotAll&&(s+="s"),"boolean"==typeof t.ignoreCase&&t.ignoreCase&&(s+="i"),"boolean"==typeof t.unicode&&t.unicode&&(s+="u"),t=new RegExp(t.source,s),this._log("rule: configure rule (state: ".concat(e,", pattern: ").concat(t.source,")")),this._rules.push({state:e,pattern:t,action:n,name:r}),this}},{key:"_progress",value:function(e,t){for(var n=this._line,i=this._column,r=this._input,o=e;o, ")+"to: "))}},{key:"_tokenize",value:function(){var e=this,t=function(){e._eof||(null!==e._finish&&e._finish.call(e._ctx,e._ctx),e._eof=!0,e._pending.push(new h("EOF","","",e._pos,e._line,e._column)))};if(!(this._stopped||this._pos>=this._len)){for(var n=!0;n;){if(n=!1,this._debug){var i=p(this._input,this._pos),r=Object.keys(this._tag).map((function(e){return"#".concat(e)})).join(" ");this._log("INPUT: state: <".concat(this._state[this._state.length-1],">, tags: <").concat(r,">, text: ")+(i.prologTrunc?"...":'"')+"".concat(i.prologText,"<").concat(i.tokenText,">").concat(i.epilogText)+(i.epilogTrunc?"...":'"')+", at: "))}for(var o=0;o0&&(t+=" "+e.tags.map((function(e){return"#".concat(e)})).join(" ")),t})).join(", ");this._log(" RULE: state(s): <".concat(a,">, ")+"pattern: ".concat(this._rules[o].pattern.source))}var s=!1,c=this._rules[o].state.map((function(e){return e.state})),u=c.indexOf("*");if(u<0&&(u=c.indexOf(this._state[this._state.length-1])),u>=0){s=!0;var l=this._rules[o].state[u].tags;(l=l.filter((function(t){return!e._tag[t]}))).length>0&&(s=!1)}if(s){this._rules[o].pattern.lastIndex=this._pos;var d=this._rules[o].pattern.exec(this._input);if(this._rules[o].pattern.lastIndex=this._pos,null!==(d=this._rules[o].pattern.exec(this._input))&&d.index===this._pos){if(this._debug&&this._log(" MATCHED: "+JSON.stringify(d)),this._ctx._match=d,this._ctx._repeat=!1,this._ctx._reject=!1,this._ctx._ignore=!1,null!==this._before&&this._before.call(this._ctx,this._ctx,d,this._rules[o]),this._rules[o].action.call(this._ctx,this._ctx,d),null!==this._after&&this._after.call(this._ctx,this._ctx,d,this._rules[o]),this._ctx._reject)continue;if(this._ctx._repeat){n=!0;break}if(this._ctx._ignore){if(this._progress(this._pos,this._rules[o].pattern.lastIndex),this._pos=this._rules[o].pattern.lastIndex,this._pos>=this._len)return void t();n=!0;break}if(this._pending.length>0)return this._progress(this._pos,this._rules[o].pattern.lastIndex),this._pos=this._rules[o].pattern.lastIndex,void(this._pos>=this._len&&t());throw new Error('action of pattern "'+this._rules[o].pattern.source+'" neither rejected nor accepted any token(s)')}}}}throw this.error("token not recognized")}t()}},{key:"token",value:function(){if(0===this._pending.length&&this._tokenize(),this._pending.length>0){var e=this._pending.shift();return this._transaction.length>0&&this._transaction[0].push(e),this._log("TOKEN: ".concat(e.toString())),e}return null}},{key:"tokens",value:function(){for(var e,t=[];null!==(e=this.token());)t.push(e);return t}},{key:"peek",value:function(e){void 0===e&&(e=0);for(var t=0;t=this._pending.length)throw new Error("not enough tokens available for peek operation");return this._log("PEEK: ".concat(this._pending[e].toString())),this._pending[e]}},{key:"skip",value:function(e){void 0===e&&(e=1);for(var t=0;tthis._pending.length)throw new Error("not enough tokens available for skip operation");for(;e-- >0;)this.token();return this}},{key:"consume",value:function(e,t){for(var n=this,r=0;r, ")+"found: "),o.pos,o.line,o.column,n._input)};return 2!==arguments.length||o.isA(e,t)?o.isA(e)||a():a(JSON.stringify(t),i(t)),o}},{key:"begin",value:function(){return this._log("BEGIN: level ".concat(this._transaction.length)),this._transaction.unshift([]),this}},{key:"depth",value:function(){if(0===this._transaction.length)throw new Error("cannot determine depth -- no active transaction");return this._transaction[0].length}},{key:"commit",value:function(){if(0===this._transaction.length)throw new Error("cannot commit transaction -- no active transaction");return this._transaction.shift(),this._log("COMMIT: level ".concat(this._transaction.length)),this}},{key:"rollback",value:function(){if(0===this._transaction.length)throw new Error("cannot rollback transaction -- no active transaction");return this._pending=this._transaction[0].concat(this._pending),this._transaction.shift(),this._log("ROLLBACK: level ".concat(this._transaction.length)),this}},{key:"alternatives",value:function(){for(var e=null,t=[],n=arguments.length,i=new Array(n),r=0;r0)throw(t=t.sort((function(e,t){return e.depth-t.depth})))[0].ex;return e}}]),e}();g.Token=h,g.ParsingError=d,g.ActionContext=f,t.exports=g},{}]},{},[1])(1)}))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var i,r=(i=e("tokenizr"))&&i.__esModule?i:{default:i};t.exports=function(e){var t=new r.default;t.rule(/#[^\r\n]*(?=\r?\n)/,(function(e,t){e.accept("comment")})),t.rule(/"(?:\\"|[^"])*"/,(function(e,t){e.accept("string")})),t.rule(/$[a-zA-Z_][a-zA-Z0-9_]*/,(function(e,t){e.accept("var")})),t.rule(/[a-zA-Z_][a-zA-Z0-9_]*/,(function(e,t){e.accept("id")})),t.rule(/[+-]?[0-9]*\.?[0-9]+(?:[eE][+-]?[0-9]+)?/,(function(e,t){e.accept("number")})),t.rule(/[ \t\r\n]+/,(function(e,t){e.accept("ws"," ")})),t.rule(/[{}]/,(function(e,t){e.accept("brace")})),t.rule(/[[\]]/,(function(e,t){e.accept("bracket")})),t.rule(/[()]/,(function(e,t){e.accept("parenthesis")})),t.rule(/,/,(function(e,t){e.accept("comma")})),t.rule(/!/,(function(e,t){e.accept("not")})),t.rule(/\.\.\./,(function(e,t){e.accept("ellipsis")})),t.rule(/@/,(function(e,t){e.accept("at")})),t.rule(/:/,(function(e,t){e.accept("colon")})),t.rule(/./,(function(e,t){e.accept("any")})),t.input(e),t.debug(!1);for(var n=t.tokens(),i="",o=/^(?:brace|bracket|parenthesis|comma|colon)$/,a=0;a0&&n[a-1].type.match(o)))&&(n.splice(a,1),a--);return n.forEach((function(e){i+=e.value})),i}},{tokenizr:1}]},{},[2])(2)},zPI3:function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return _})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return L})),n.d(t,"e",(function(){return Y})),n.d(t,"f",(function(){return D})),n.d(t,"g",(function(){return E})),n.d(t,"h",(function(){return N})),n.d(t,"i",(function(){return A})),n.d(t,"j",(function(){return M})),n.d(t,"k",(function(){return H})),n.d(t,"l",(function(){return J})),n.d(t,"m",(function(){return m})),n.d(t,"n",(function(){return g})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return f})),n.d(t,"q",(function(){return I})),n.d(t,"r",(function(){return U})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return x})),n.d(t,"u",(function(){return Q})),n.d(t,"v",(function(){return K})),n.d(t,"w",(function(){return j})),n.d(t,"x",(function(){return G})),n.d(t,"y",(function(){return P})),n.d(t,"z",(function(){return b})),n.d(t,"A",(function(){return k})),n.d(t,"B",(function(){return h})),n.d(t,"C",(function(){return w})),n.d(t,"D",(function(){return C})),n.d(t,"E",(function(){return O})),n.d(t,"F",(function(){return S})),n.d(t,"G",(function(){return ee}));var i=n("TYT/"),r=n("mrSG"),o=n("349r"),a=n("ryCu"),s=n("K9Ia"),c=n("zrt+"),u=n("0/uQ"),l=n("F/XL"),p=n("t9fZ");function h(e){return null==e?[]:Array.isArray(e)?e:[e]}function d(e,t){if(!e||!t||e.length!==t.length)return!1;for(var n=e.length,i=0;i1&&(n="["+n+"]"),new RegExp("(\\s|^)("+n+")[^\\s]*","g")}(t),i=e.match(n);return null!==i?i.map((function(e){return e.trim()})):[]}function j(e,t,n){if(e.length>t)return e;var i=""+function(e,t){return Array(e).fill(t).join("")}(t,n)+e;return i.slice(i.length-t,i.length)}function I(e){return!!e&&"function"==typeof e.then&&"function"==typeof e.catch}function A(e,t,n){return(n-e)/(t-e)*100}function M(e){var t=e.toString(),n=t.indexOf(".");return n>=0?t.length-n-1:0}function L(e,t,n){return isNaN(e)||en?n:e}function P(e){e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!1):e.scrollIntoView&&e.scrollIntoView(!1)}var F=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],R="undefined"!=typeof window,V=R&&null!=window.mozInnerScreenX,B=function(e){return parseInt(e,10)};function Y(e,t,n){if(!R)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var i=n&&n.debug||!1;if(i){var r=document.querySelector("#input-textarea-caret-position-mirror-div");r&&r.parentNode.removeChild(r)}var o=document.createElement("div");o.id="input-textarea-caret-position-mirror-div",document.body.appendChild(o);var a=o.style,s=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,c="INPUT"===e.nodeName;a.whiteSpace="pre-wrap",c||(a.wordWrap="break-word"),a.position="absolute",i||(a.visibility="hidden"),F.forEach((function(e){c&&"lineHeight"===e?a.lineHeight=s.height:a[e]=s[e]})),V?e.scrollHeight>B(s.height)&&(a.overflowY="scroll"):a.overflow="hidden",o.textContent=e.value.substring(0,t),c&&(o.textContent=o.textContent.replace(/\s/g,"\xa0"));var u=document.createElement("span");u.textContent=e.value.substring(t)||".",o.appendChild(u);var l={top:u.offsetTop+B(s.borderTopWidth),left:u.offsetLeft+B(s.borderLeftWidth),height:B(s.lineHeight)};return i?(u.style.backgroundColor="#eee",function(e,t){var n=getComputedStyle(e).getPropertyValue("font-size"),i=document.querySelector("#DEBUG")||document.createElement("div");document.body.appendChild(i),i.id="DEBUG",i.style.position="absolute",i.style.backgroundColor="red",i.style.height=n,i.style.width="1px",i.style.top=e.getBoundingClientRect().top-e.scrollTop+window.pageYOffset+t.top+"px",i.style.left=e.getBoundingClientRect().left-e.scrollLeft+window.pageXOffset+t.left+"px"}(e,l)):document.body.removeChild(o),l}function U(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1}function H(e){return e?Object.keys(e).map((function(t){var n=e[t];return t+":"+("string"==typeof n?n:n+"px")})).join(";"):""}var W,q,Z,$={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function G(e){if(!e)return 0;var t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}function Q(e,t,n,i,r,o){void 0===o&&(o=""),W||((W=document.createElement("div")).setAttribute("aria-hidden","true"),document.body.appendChild(W));var a,s=window.getComputedStyle(e),c=(a=s,Array.prototype.slice.apply(a).map((function(e){return e+": "+a.getPropertyValue(e)+";"})).join("")),u=G(s.lineHeight),l=Math.round(u*(t+1)+G(s.paddingTop)+G(s.paddingBottom));W.setAttribute("style",c),W.style.position="fixed",W.style.left="0",W.style.height="auto",W.style.minHeight="auto",W.style.maxHeight="auto",W.style.top="-999999px",W.style.zIndex="-1000",W.style.textOverflow="clip",W.style.whiteSpace="normal",W.style.webkitLineClamp="none";var p,h=(p=[],n.forEach((function(e){var t=p[p.length-1];t&&3===e.nodeType&&3===t.nodeType?t.data+=e.data:p.push(e)})),p),d=document.createElement("div"),f=document.createElement("span"),g=document.createTextNode(o),b=document.createElement("span");function m(){return W.offsetHeight=r-1)for(var s=r;s>=i;s-=1){var c=n.slice(0,s);if(t.textContent=c,m()||!c)return s===n.length?{finished:!1,node:document.createTextNode(n)}:{finished:!0,node:document.createTextNode(c)}}return m()?e(t,n,a,r,a):e(t,n,i,a,o)}(r,i)}return{finished:!1,node:null}}(e,t),i=n.finished,r=n.node;return r&&S.push(r),i}));for(var z={contentNodes:S,text:W.innerHTML,ellipsis:!0};W.firstChild;)W.removeChild(W.firstChild);return z}var X={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function K(e,t){if(void 0===e&&(e="vertical"),void 0===t&&(t="ant"),"undefined"==typeof document||"undefined"==typeof window)return 0;var n="vertical"===e;if(n&&q)return q;if(!n&&Z)return Z;var i=document.createElement("div");Object.keys(X).forEach((function(e){i.style[e]=X[e]})),i.className=t+"-hide-scrollbar scroll-div-append-to-body",n?i.style.overflowY="scroll":i.style.overflowX="scroll",document.body.appendChild(i);var r=0;return n?q=r=i.offsetWidth-i.clientWidth:Z=r=i.offsetHeight-i.clientHeight,document.body.removeChild(i),r}function J(){var e=new s.a;return Promise.resolve().then((function(){return e.next()})),e.pipe(Object(p.a)(1))}function ee(e){return Object(c.a)(e)?e:I(e)?Object(u.a)(Promise.resolve(e)):Object(l.a)(e)}},zUnb:function(e,t,n){"use strict";n.r(t);var i=n("TYT/"),r=n("AytR"),o=n("xyIE"),a=n("E1rE"),s=n("Vx+w"),c=n("6onV"),u=n("U/X8"),l=function(){return function(e){this.windowId=e,this.type="START_LOADING"}}(),p=function(){return function(e){this.windowId=e,this.type="STOP_LOADING"}}(),h=function(){return function(e,t){this.windowId=e,this.payload=t,this.type="SET_WINDOW_NAME"}}(),d=function(){return(d=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=e.windowIds.length-1?e.windowIds[0]:e.windowIds[i+1],P(P({},e),{activeWindowId:n});case L.e:var i;return n="",n=(i=e.windowIds.findIndex((function(t){return t===e.activeWindowId})))<=0?e.windowIds[e.windowIds.length-1]:e.windowIds[i-1],P(P({},e),{activeWindowId:n});case L.c:return P(P({},e),{activeWindowId:t.payload.windowId});case L.f:return P(P({},e),{windowIds:t.payload.ids});case L.a:var r=t.payload.currentPosition,o=t.payload.newPosition;if(r>-1&&r-1&&o0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]i)return 1;if(ni)return-1;if(ni)return-1;if(ni)return 1;if(n=Object(s.b)().query_history_depth&&n.list.pop(),A(A({},n),{list:M([{query:t.payload.query}],n.list)});case"CLEAR_HISTORY":return{list:[]};default:return e}},stream:function(e,t){switch(void 0===e&&(e={url:"",type:"",isConnected:!1,failed:null}),t.type){case ze.d:return Te(Te({},e),{url:t.payload.streamUrl,isConnected:!1});case ze.a:return Te(Te({},e),{client:t.payload.streamClient});case ze.c:return Te(Te({},e),{failed:t.payload.failed,isConnected:!1});case ze.b:return Te(Te({},e),{isConnected:t.payload.connected});default:return e}},preRequest:function(e,t){switch(void 0===e&&(e=De()),t.type){case _e.b:return ke(ke({},e),{script:t.payload.script});case _e.a:return ke(ke({},e),{enabled:t.payload.enabled});default:return e}}},ft=function(e){return""+(Object(s.b)().initialData.instanceStorageNamespace||"altair_")+e},gt=[function(e){return Object(u.localStorageSync)({keys:["windows","windowsMeta","settings","environments"],rehydrate:!0,storage:Ie,restoreDates:!1,storageKeySerializer:ft})(e)},function(e){return function(t,n){return r.a.production&&!window.__ENABLE_DEBUG_MODE__||o.a.log(n.type,n),window.__LAST_ACTION__=window.__LAST_ACTION__||[],window.__LAST_ACTION__.push(n.type),r.a.production&&window.__LAST_ACTION__.length>10&&window.__LAST_ACTION__.shift(),e(t,n)}}],bt=function(){return{windows:(e=Object(c.m)(dt),t=e(void 0,{type:"___INIT_WINDOW___"}),n={},function(i,r){void 0===i&&(i=n);var o=Object.assign({},i),a=o[r.windowId];switch(r.type){case x.a:var s=r.payload,u=s.windowId,l=s.title,p=s.url,h=s.collectionId,d=s.windowIdInCollection;return o[u]=JSON.parse(JSON.stringify(t)),o[u].layout.title=l,o[u].windowId=u,p&&(o[u].query.url=p),h&&(o[u].layout.collectionId=h),d&&(o[u].layout.windowIdInCollection=d),o;case x.m:var f={};return r.payload.forEach((function(e){f[e.windowId]=N({},e)})),f;case x.i:var g=r.payload.windowId;return o[g]&&delete o[g],Object.assign({},o);default:if(!a)return r.type===c.b?function(e){return Object.keys(e).map((function(t){var n=e[t];return n.headers=n.headers.map((function(e){return E(E({},e),{enabled:void 0===e.enabled||e.enabled})})),n})).reduce((function(e,t){return e[t.windowId]=t,e}),{})}(o):o;var b=e(a,r);return o[r.windowId]=N(N({},b),{windowId:r.windowId}),o}}),windowsMeta:R,settings:$,donation:K,collection:he,environments:Se,local:je};var e,t,n},mt=new i.q("Registered Reducers"),vt=(bt(),["__ALTAIR_ENDPOINT_URL__","__ALTAIR_SUBSCRIPTIONS_ENDPOINT__","__ALTAIR_INITIAL_QUERY__","__ALTAIR_INITIAL_VARIABLES__","__ALTAIR_INITIAL_HEADERS__","__ALTAIR_INITIAL_PRE_REQUEST_SCRIPT__","__ALTAIR_INSTANCE_STORAGE_NAMESPACE__"]),yt=function(e){console.warn("DEPRECATION NOTICE: Configuring altair using global variables is deprecated, and will be removed in a future version."),console.warn("You set [window."+e+"], which is deprecated."),console.warn("Use 'AltairGraphQL.init(opts)' instead.")},wt=n("ED2X"),Ot=n("QJY3"),Ct=n("cUzu"),St=n("qT8p"),zt=n("mrSG"),Tt=n("p0ib"),_t=n("6blF"),kt=n("K9Ia"),Dt=n("lYZG"),xt=n("60iU"),Et=n("FFOo"),Nt=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new jt(e))},e}(),jt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return zt.c(t,e),t.prototype._next=function(e){},t}(Et.a),It=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new At(e))},e}(),At=function(e){function t(t){return e.call(this,t)||this}return zt.c(t,e),t.prototype._next=function(e){this.destination.next(xt.a.createNext(e))},t.prototype._error=function(e){var t=this.destination;t.next(xt.a.createError(e)),t.complete()},t.prototype._complete=function(){var e=this.destination;e.next(xt.a.createComplete()),e.complete()},t}(Et.a),Mt=n("67Y/"),Lt=n("9Z1F"),Pt=n("VnD/"),Ft=n("pugT");function Rt(e,t,n,i){return function(r){return r.lift(new Vt(e,t,n,i))}}var Vt=function(){function e(e,t,n,i){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=i}return e.prototype.call=function(e,t){return t.subscribe(new Bt(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},e}(),Bt=function(e){function t(t,n,i,r,o){var a=e.call(this,t)||this;return a.keySelector=n,a.elementSelector=i,a.durationSelector=r,a.subjectSelector=o,a.groups=null,a.attemptedToUnsubscribe=!1,a.count=0,a}return zt.c(t,e),t.prototype._next=function(e){var t;try{t=this.keySelector(e)}catch(n){return void this.error(n)}this._group(e,t)},t.prototype._group=function(e,t){var n=this.groups;n||(n=this.groups=new Map);var i,r=n.get(t);if(this.elementSelector)try{i=this.elementSelector(e)}catch(s){this.error(s)}else i=e;if(!r){r=this.subjectSelector?this.subjectSelector():new kt.a,n.set(t,r);var o=new Ut(t,r,this);if(this.destination.next(o),this.durationSelector){var a=void 0;try{a=this.durationSelector(new Ut(t,r))}catch(s){return void this.error(s)}this.add(a.subscribe(new Yt(t,r,this)))}}r.closed||r.next(i)},t.prototype._error=function(e){var t=this.groups;t&&(t.forEach((function(t,n){t.error(e)})),t.clear()),this.destination.error(e)},t.prototype._complete=function(){var e=this.groups;e&&(e.forEach((function(e,t){e.complete()})),e.clear()),this.destination.complete()},t.prototype.removeGroup=function(e){this.groups.delete(e)},t.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&e.prototype.unsubscribe.call(this))},t}(Et.a),Yt=function(e){function t(t,n,i){var r=e.call(this,n)||this;return r.key=t,r.group=n,r.parent=i,r}return zt.c(t,e),t.prototype._next=function(e){this.complete()},t.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},t}(Et.a),Ut=function(e){function t(t,n,i){var r=e.call(this)||this;return r.key=t,r.groupSubject=n,r.refCountSubscription=i,r}return zt.c(t,e),t.prototype._subscribe=function(e){var t=new Ft.a,n=this.refCountSubscription,i=this.groupSubject;return n&&!n.closed&&t.add(new Ht(n)),t.add(i.subscribe(e)),t},t}(_t.a),Ht=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,t.count++,n}return zt.c(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(Ft.a),Wt=n("psW0"),qt=n("MGBS"),Zt=n("rPjj"),$t=n("zotm"),Gt=n("0/uQ"),Qt=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new Xt(e,this.project))},e}(),Xt=function(e){function t(t,n){var i=e.call(this,t)||this;return i.project=n,i.hasSubscription=!1,i.hasCompleted=!1,i.index=0,i}return zt.c(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var i=new Zt.a(this,t,n),r=this.destination;r.add(i);var o=Object($t.a)(this,e,void 0,void 0,i);o!==i&&r.add(o)},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,i,r){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(qt.a),Kt=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new Jt(e))},e}(),Jt=function(e){function t(t){return e.call(this,t)||this}return zt.c(t,e),t.prototype._next=function(e){e.observe(this.destination)},t}(Et.a),en=n("t9fZ"),tn=(n("Phjn"),n("2WpN")),nn={dispatch:!0,useEffectsErrorHandler:!0};function rn(e){return Object.getOwnPropertyNames(e).filter((function(t){return e[t]&&e[t].hasOwnProperty("__@ngrx/effects_create__")})).map((function(t){var n=e[t]["__@ngrx/effects_create__"];return Object(zt.a)({propertyName:t},n)}))}function on(e){return Object.getPrototypeOf(e)}function an(e){return void 0===e&&(e={}),function(t,n){var i,r;i=t,r=Object(zt.a)(Object(zt.a)(Object(zt.a)({},nn),e),{propertyName:n}),cn(i)?i.constructor["__@ngrx/effects__"].push(r):Object.defineProperty(i.constructor,"__@ngrx/effects__",{value:[r]})}}function sn(e){return Object(c.n)(un,on)(e)}function cn(e){return e.constructor.hasOwnProperty("__@ngrx/effects__")}function un(e){return cn(e)?e.constructor["__@ngrx/effects__"]:[]}function ln(e,t,n){return void 0===n&&(n=10),e.pipe(Object(Lt.a)((function(i){return t&&t.handleError(i),n<=1?e:ln(e,t,n-1)})))}var pn=function(e){function t(t){var n=e.call(this)||this;return t&&(n.source=t),n}var n;return Object(zt.c)(t,e),n=t,t.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},t.\u0275fac=function(e){return new(e||t)(i.dc(c.f))},t.\u0275prov=i.Pb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(_t.a);function hn(){for(var e=[],t=0;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Fn(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Rn=Fn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Vn=Fn(/Edge/i),Bn=Fn(/firefox/i),Yn=Fn(/safari/i)&&!Fn(/chrome/i)&&!Fn(/android/i),Un=Fn(/iP(ad|od|hone)/i),Hn=Fn(/chrome/i)&&Fn(/android/i),Wn={capture:!1,passive:!1};function qn(e,t,n){e.addEventListener(t,n,!Rn&&Wn)}function Zn(e,t,n){e.removeEventListener(t,n,!Rn&&Wn)}function $n(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function Gn(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Qn(e,t,n,i){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&$n(e,t):$n(e,t))||i&&e===n)return e;if(e===n)break}while(e=Gn(e))}return null}var Xn,Kn=/\s+/g;function Jn(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(Kn," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(Kn," ")}}function ei(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=n+("string"==typeof n?"":"px")}}function ti(e,t){var n="";if("string"==typeof e)n=e;else do{var i=ei(e,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function ni(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,o=i.length;if(n)for(;r=o:r<=o))return i;if(i===ii())break;i=li(i,!1)}return!1}function ai(e,t,n){for(var i=0,r=0,o=e.children;r2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=Pn(n,["evt"]);vi.pluginEvent.bind(pr)(e,t,Ln({dragEl:Oi,parentEl:Ci,ghostEl:Si,rootEl:zi,nextEl:Ti,lastDownEl:_i,cloneEl:ki,cloneHidden:Di,dragStarted:Bi,putSortable:Ai,activeSortable:pr.active,originalEvent:i,oldIndex:xi,oldDraggableIndex:Ni,newIndex:Ei,newDraggableIndex:ji,hideGhostForTarget:sr,unhideGhostForTarget:cr,cloneNowHidden:function(){Di=!0},cloneNowShown:function(){Di=!1},dispatchSortableEvent:function(e){wi({sortable:t,name:e,originalEvent:i})}},r))};function wi(e){!function(e){var t=e.sortable,n=e.rootEl,i=e.name,r=e.targetEl,o=e.cloneEl,a=e.toEl,s=e.fromEl,c=e.oldIndex,u=e.newIndex,l=e.oldDraggableIndex,p=e.newDraggableIndex,h=e.originalEvent,d=e.putSortable,f=e.extraEventProperties;if(t=t||n&&n[gi]){var g,b=t.options,m="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||Rn||Vn?(g=document.createEvent("Event")).initEvent(i,!0,!0):g=new CustomEvent(i,{bubbles:!0,cancelable:!0}),g.to=a||n,g.from=s||n,g.item=r||n,g.clone=o,g.oldIndex=c,g.newIndex=u,g.oldDraggableIndex=l,g.newDraggableIndex=p,g.originalEvent=h,g.pullMode=d?d.lastPutMode:void 0;var v=Ln({},f,vi.getEventProperties(i,t));for(var y in v)g[y]=v[y];n&&n.dispatchEvent(g),b[m]&&b[m].call(t,g)}}(Ln({putSortable:Ai,cloneEl:ki,targetEl:Oi,rootEl:zi,oldIndex:xi,oldDraggableIndex:Ni,newIndex:Ei,newDraggableIndex:ji},e))}var Oi,Ci,Si,zi,Ti,_i,ki,Di,xi,Ei,Ni,ji,Ii,Ai,Mi,Li,Pi,Fi,Ri,Vi,Bi,Yi,Ui,Hi,Wi,qi=!1,Zi=!1,$i=[],Gi=!1,Qi=!1,Xi=[],Ki=!1,Ji=[],er="undefined"!=typeof document,tr=Un,nr=Vn||Rn?"cssFloat":"float",ir=er&&!Hn&&!Un&&"draggable"in document.createElement("div"),rr=function(){if(er){if(Rn)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),or=function(e,t){var n=ei(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=ai(e,0,t),o=ai(e,1,t),a=r&&ei(r),s=o&&ei(o),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+ri(r).width,u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+ri(o).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":r&&a.float&&"none"!==a.float?!o||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":r&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||c>=i&&"none"===n[nr]||o&&"none"===n[nr]&&c+u>i)?"vertical":"horizontal"},ar=function(e){function t(e,n){return function(i,r,o,a){if(null==e&&(n||i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(i,r,o,a),n)(i,r,o,a);var s=(n?i:r).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},i=e.group;i&&"object"==In(i)||(i={name:i}),n.name=i.name,n.checkPull=t(i.pull,!0),n.checkPut=t(i.put),n.revertClone=i.revertClone,e.group=n},sr=function(){!rr&&Si&&ei(Si,"display","none")},cr=function(){!rr&&Si&&ei(Si,"display","")};er&&document.addEventListener("click",(function(e){if(Zi)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Zi=!1,!1}),!0);var ur=function(e){if(Oi){var t=(r=(e=e.touches?e.touches[0]:e).clientX,o=e.clientY,$i.some((function(e){if(!si(e)){var t=ri(e),n=e[gi].options.emptyInsertThreshold;return n&&r>=t.left-n&&r<=t.right+n&&o>=t.top-n&&o<=t.bottom+n?a=e:void 0}})),a);if(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[gi]._onDragOver(n)}}var r,o,a},lr=function(e){Oi&&Oi.parentNode[gi]._isOutsideThisEl(e.target)};function pr(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Mn({},t),e[gi]=this;var n,i,r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return or(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==pr.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var o in vi.initializePlugins(this,e,r),r)!(o in t)&&(t[o]=r[o]);for(var a in ar(t),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!t.forceFallback&&ir,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?qn(e,"pointerdown",this._onTapStart):(qn(e,"mousedown",this._onTapStart),qn(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(qn(e,"dragover",this),qn(e,"dragenter",this)),$i.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Mn(this,(i=[],{captureAnimationState:function(){i=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(e){if("none"!==ei(e,"display")&&e!==pr.ghost){i.push({target:e,rect:ri(e)});var t=Ln({},i[i.length-1].rect);if(e.thisAnimationDuration){var n=ti(e,!0);n&&(t.top-=n.f,t.left-=n.e)}e.fromRect=t}}))},addAnimationState:function(e){i.push(e)},removeAnimationState:function(e){i.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n);return-1}(i,{target:e}),1)},animateAll:function(e){var t=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof e&&e());var r=!1,o=0;i.forEach((function(e){var n=0,i=e.target,a=i.fromRect,s=ri(i),c=i.prevFromRect,u=i.prevToRect,l=e.rect,p=ti(i,!0);p&&(s.top-=p.f,s.left-=p.e),i.toRect=s,i.thisAnimationDuration&&pi(c,s)&&!pi(a,s)&&(l.top-s.top)/(l.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(n=function(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}(l,c,u,t.options)),pi(s,a)||(i.prevFromRect=a,i.prevToRect=s,n||(n=t.options.animation),t.animate(i,l,s,n)),n&&(r=!0,o=Math.max(o,n),clearTimeout(i.animationResetTimer),i.animationResetTimer=setTimeout((function(){i.animationTime=0,i.prevFromRect=null,i.fromRect=null,i.prevToRect=null,i.thisAnimationDuration=null}),n),i.thisAnimationDuration=n)})),clearTimeout(n),r?n=setTimeout((function(){"function"==typeof e&&e()}),o):"function"==typeof e&&e(),i=[]},animate:function(e,t,n,i){if(i){ei(e,"transition",""),ei(e,"transform","");var r=ti(this.el),o=(t.left-n.left)/(r&&r.a||1),a=(t.top-n.top)/(r&&r.d||1);e.animatingX=!!o,e.animatingY=!!a,ei(e,"transform","translate3d("+o+"px,"+a+"px,0)"),ei(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),ei(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){ei(e,"transition",""),ei(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}))}function hr(e,t,n,i,r,o,a,s){var c,u,l=e[gi],p=l.options.onMove;return!window.CustomEvent||Rn||Vn?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=t,c.from=e,c.dragged=n,c.draggedRect=i,c.related=r||t,c.relatedRect=o||ri(t),c.willInsertAfter=s,c.originalEvent=a,e.dispatchEvent(c),p&&(u=p.call(l,c,a)),u}function dr(e){e.draggable=!1}function fr(){Ki=!1}function gr(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;n--;)i+=t.charCodeAt(n);return i.toString(36)}function br(e){return setTimeout(e,0)}function mr(e){return clearTimeout(e)}pr.prototype={constructor:pr,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Yi=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,Oi):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,i=this.options,r=i.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,u=i.filter;if(function(e){Ji.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var i=t[n];i.checked&&Ji.push(i)}}(n),!Oi&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||i.disabled||c.isContentEditable||(s=Qn(s,i.draggable,n,!1))&&s.animated||_i===s)){if(xi=ci(s),Ni=ci(s,i.draggable),"function"==typeof u){if(u.call(this,e,s,this))return wi({sortable:t,rootEl:c,name:"filter",targetEl:s,toEl:n,fromEl:n}),yi("filter",t,{evt:e}),void(r&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(i){if(i=Qn(c,i.trim(),n,!1))return wi({sortable:t,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),yi("filter",t,{evt:e}),!0}))))return void(r&&e.cancelable&&e.preventDefault());i.handle&&!Qn(c,i.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var i,r=this,o=r.el,a=r.options,s=o.ownerDocument;if(n&&!Oi&&n.parentNode===o){var c=ri(n);if(zi=o,Ci=(Oi=n).parentNode,Ti=Oi.nextSibling,_i=n,Ii=a.group,pr.dragged=Oi,Ri=(Mi={target:Oi,clientX:(t||e).clientX,clientY:(t||e).clientY}).clientX-c.left,Vi=Mi.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,Oi.style["will-change"]="all",i=function(){yi("delayEnded",r,{evt:e}),pr.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!Bn&&r.nativeDraggable&&(Oi.draggable=!0),r._triggerDragStart(e,t),wi({sortable:r,name:"choose",originalEvent:e}),Jn(Oi,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){ni(Oi,e.trim(),dr)})),qn(s,"dragover",ur),qn(s,"mousemove",ur),qn(s,"touchmove",ur),qn(s,"mouseup",r._onDrop),qn(s,"touchend",r._onDrop),qn(s,"touchcancel",r._onDrop),Bn&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Oi.draggable=!0),yi("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(Vn||Rn))i();else{if(pr.eventCanceled)return void this._onDrop();qn(s,"mouseup",r._disableDelayedDrag),qn(s,"touchend",r._disableDelayedDrag),qn(s,"touchcancel",r._disableDelayedDrag),qn(s,"mousemove",r._delayedDragTouchMoveHandler),qn(s,"touchmove",r._delayedDragTouchMoveHandler),a.supportPointer&&qn(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Oi&&dr(Oi),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Zn(e,"mouseup",this._disableDelayedDrag),Zn(e,"touchend",this._disableDelayedDrag),Zn(e,"touchcancel",this._disableDelayedDrag),Zn(e,"mousemove",this._delayedDragTouchMoveHandler),Zn(e,"touchmove",this._delayedDragTouchMoveHandler),Zn(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?qn(document,this.options.supportPointer?"pointermove":t?"touchmove":"mousemove",this._onTouchMove):(qn(Oi,"dragend",this),qn(zi,"dragstart",this._onDragStart));try{document.selection?br((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(qi=!1,zi&&Oi){yi("dragStarted",this,{evt:t}),this.nativeDraggable&&qn(document,"dragover",lr);var n=this.options;!e&&Jn(Oi,n.dragClass,!1),Jn(Oi,n.ghostClass,!0),pr.active=this,e&&this._appendGhost(),wi({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Li){this._lastX=Li.clientX,this._lastY=Li.clientY,sr();for(var e=document.elementFromPoint(Li.clientX,Li.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Li.clientX,Li.clientY))!==t;)t=e;if(Oi.parentNode[gi]._isOutsideThisEl(e),t)do{if(t[gi]&&t[gi]._onDragOver({clientX:Li.clientX,clientY:Li.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=t.parentNode);cr()}},_onTouchMove:function(e){if(Mi){var t=this.options,n=t.fallbackTolerance,i=t.fallbackOffset,r=e.touches?e.touches[0]:e,o=Si&&ti(Si,!0),a=Si&&o&&o.a,s=Si&&o&&o.d,c=tr&&Wi&&ui(Wi),u=(r.clientX-Mi.clientX+i.x)/(a||1)+(c?c[0]-Xi[0]:0)/(a||1),l=(r.clientY-Mi.clientY+i.y)/(s||1)+(c?c[1]-Xi[1]:0)/(s||1);if(!pr.active&&!qi){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,r,this)&&!g.animated){if(g===Oi)return E(!1);if(g&&o===e.target&&(a=g),a&&(n=ri(a)),!1!==hr(zi,o,Oi,t,a,n,e,!!a))return x(),o.appendChild(Oi),Ci=o,N(),E(!0)}else if(a.parentNode===o){n=ri(a);var b,m,v,y=Oi.parentNode!==o,w=!function(e,t,n){var i=n?e.left:e.top,r=n?t.left:t.top;return i===r||(n?e.right:e.bottom)===(n?t.right:t.bottom)||i+(n?e.width:e.height)/2===r+(n?t.width:t.height)/2}(Oi.animated&&Oi.toRect||t,a.animated&&a.toRect||n,r),O=r?"top":"left",C=oi(a,"top","top")||oi(Oi,"top","top"),S=C?C.scrollTop:void 0;if(Yi!==a&&(m=n[O],Gi=!1,Qi=!w&&s.invertSwap||y),0!==(b=function(e,t,n,i,r,o,a,s){var c=i?e.clientY:e.clientX,u=i?n.height:n.width,l=i?n.top:n.left,p=i?n.bottom:n.right,h=!1;if(!a)if(s&&Hil+u*o/2:cp-Hi)return-Ui}else if(c>l+u*(1-r)/2&&cp-u*o/2)?c>l+u/2?1:-1:0}(e,a,n,r,w?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Qi,Yi===a))){var z=ci(Oi);do{v=Ci.children[z-=b]}while(v&&("none"===ei(v,"display")||v===Si))}if(0===b||v===a)return E(!1);Yi=a,Ui=b;var T=a.nextElementSibling,_=!1,k=hr(zi,o,Oi,t,a,n,e,_=1===b);if(!1!==k)return 1!==k&&-1!==k||(_=1===k),Ki=!0,setTimeout(fr,30),x(),_&&!T?o.appendChild(Oi):a.parentNode.insertBefore(Oi,_?T:a),C&&di(C,0,S-C.scrollTop),Ci=Oi.parentNode,void 0===m||Qi||(Hi=Math.abs(m-ri(a)[O])),N(),E(!0)}if(o.contains(Oi))return E(!1)}return!1}function D(s,c){yi(s,d,Ln({evt:e,isOwner:l,axis:r?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:p,fromSortable:h,target:a,completed:E,onMove:function(n,i){return hr(zi,o,Oi,t,n,ri(n),e,i)},changed:N},c))}function x(){D("dragOverAnimationCapture"),d.captureAnimationState(),d!==h&&h.captureAnimationState()}function E(t){return D("dragOverCompleted",{insertion:t}),t&&(l?u._hideClone():u._showClone(d),d!==h&&(Jn(Oi,Ai?Ai.options.ghostClass:u.options.ghostClass,!1),Jn(Oi,s.ghostClass,!0)),Ai!==d&&d!==pr.active?Ai=d:d===pr.active&&Ai&&(Ai=null),h===d&&(d._ignoreWhileAnimating=a),d.animateAll((function(){D("dragOverAnimationComplete"),d._ignoreWhileAnimating=null})),d!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(a===Oi&&!Oi.animated||a===o&&!a.animated)&&(Yi=null),s.dragoverBubble||e.rootEl||a===document||(Oi.parentNode[gi]._isOutsideThisEl(e.target),!t&&ur(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),f=!0}function N(){Ei=ci(Oi),ji=ci(Oi,s.draggable),wi({sortable:d,name:"change",toEl:o,newIndex:Ei,newDraggableIndex:ji,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){Zn(document,"mousemove",this._onTouchMove),Zn(document,"touchmove",this._onTouchMove),Zn(document,"pointermove",this._onTouchMove),Zn(document,"dragover",ur),Zn(document,"mousemove",ur),Zn(document,"touchmove",ur)},_offUpEvents:function(){var e=this.el.ownerDocument;Zn(e,"mouseup",this._onDrop),Zn(e,"touchend",this._onDrop),Zn(e,"pointerup",this._onDrop),Zn(e,"touchcancel",this._onDrop),Zn(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Ei=ci(Oi),ji=ci(Oi,n.draggable),yi("drop",this,{evt:e}),Ci=Oi&&Oi.parentNode,Ei=ci(Oi),ji=ci(Oi,n.draggable),pr.eventCanceled||(qi=!1,Qi=!1,Gi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),mr(this.cloneId),mr(this._dragStartId),this.nativeDraggable&&(Zn(document,"drop",this),Zn(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Yn&&ei(document.body,"user-select",""),ei(Oi,"transform",""),e&&(Bi&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),Si&&Si.parentNode&&Si.parentNode.removeChild(Si),(zi===Ci||Ai&&"clone"!==Ai.lastPutMode)&&ki&&ki.parentNode&&ki.parentNode.removeChild(ki),Oi&&(this.nativeDraggable&&Zn(Oi,"dragend",this),dr(Oi),Oi.style["will-change"]="",Bi&&!qi&&Jn(Oi,Ai?Ai.options.ghostClass:this.options.ghostClass,!1),Jn(Oi,this.options.chosenClass,!1),wi({sortable:this,name:"unchoose",toEl:Ci,newIndex:null,newDraggableIndex:null,originalEvent:e}),zi!==Ci?(Ei>=0&&(wi({rootEl:Ci,name:"add",toEl:Ci,fromEl:zi,originalEvent:e}),wi({sortable:this,name:"remove",toEl:Ci,originalEvent:e}),wi({rootEl:Ci,name:"sort",toEl:Ci,fromEl:zi,originalEvent:e}),wi({sortable:this,name:"sort",toEl:Ci,originalEvent:e})),Ai&&Ai.save()):Ei!==xi&&Ei>=0&&(wi({sortable:this,name:"update",toEl:Ci,originalEvent:e}),wi({sortable:this,name:"sort",toEl:Ci,originalEvent:e})),pr.active&&(null!=Ei&&-1!==Ei||(Ei=xi,ji=Ni),wi({sortable:this,name:"end",toEl:Ci,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){yi("nulling",this),zi=Oi=Ci=Si=Ti=ki=_i=Di=Mi=Li=Bi=Ei=ji=xi=Ni=Yi=Ui=Ai=Ii=pr.dragged=pr.ghost=pr.clone=pr.active=null,Ji.forEach((function(e){e.checked=!0})),Ji.length=Pi=Fi=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":Oi&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,i=0,r=n.length,o=this.options;i-1&&n!==t._activeItemIndex&&(t._activeItemIndex=n)}}))}return e.prototype.skipPredicate=function(e){return this._skipPredicateFn=e,this},e.prototype.withWrap=function(e){return void 0===e&&(e=!0),this._wrap=e,this},e.prototype.withVerticalOrientation=function(e){return void 0===e&&(e=!0),this._vertical=e,this},e.prototype.withHorizontalOrientation=function(e){return this._horizontal=e,this},e.prototype.withAllowedModifierKeys=function(e){return this._allowedModifierKeys=e,this},e.prototype.withTypeAhead=function(e){var t=this;if(void 0===e&&(e=200),this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object($r.a)((function(e){return t._pressedLetters.push(e)})),Object(Gr.a)(e),Object(Pt.a)((function(){return t._pressedLetters.length>0})),Object(Mt.a)((function(){return t._pressedLetters.join("")}))).subscribe((function(e){for(var n=t._getItemsArray(),i=1;i-1}));switch(n){case Zr.j:return void this.tabOut.next();case Zr.c:if(this._vertical&&i){this.setNextItemActive();break}return;case Zr.k:if(this._vertical&&i){this.setPreviousItemActive();break}return;case Zr.h:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Zr.f:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||Object(Zr.n)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=Zr.a&&n<=Zr.l||n>=Zr.m&&n<=Zr.g)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()},Object.defineProperty(e.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),e.prototype.isTyping=function(){return this._pressedLetters.length>0},e.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},e.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},e.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},e.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},e.prototype.updateActiveItem=function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n},e.prototype._setActiveItemByDelta=function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)},e.prototype._setActiveInWrapMode=function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}},e.prototype._setActiveInDefaultMode=function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)},e.prototype._setActiveItemByIndex=function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}},e.prototype._getItemsArray=function(){return this._items instanceof i.D?this._items.toArray():this._items},e}()),io=function(){function e(e){this._platform=e}return e.prototype.isDisabled=function(e){return e.hasAttribute("disabled")},e.prototype.isVisible=function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility},e.prototype.isTabbable=function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var i=n&&n.nodeName.toLowerCase();if(-1===oo(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===i)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var r=e.nodeName.toLowerCase(),o=oo(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===r)return!1;if("audio"===r){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0},e.prototype.isFocusable=function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||ro(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(Xr.a))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(Xr.a))},e}();function ro(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function oo(e){if(!ro(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var ao=function(){function e(e,t,n,i,r){var o=this;void 0===r&&(r=!1),this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,r||this.attachAnchors()}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null},e.prototype.attachAnchors=function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.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)},e.prototype.focusInitialElementWhenReady=function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))},e.prototype.focusFirstTabbableElementWhenReady=function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))},e.prototype.focusLastTabbableElementWhenReady=function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))},e.prototype._getRegionBoundary=function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-"+e+"], [cdkFocusRegion"+e+"], [cdk-focus-"+e+"]"),n=0;n=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null},e.prototype._createAnchor=function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e},e.prototype._toggleAnchorTabIndex=function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")},e.prototype.toggleAnchors=function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))},e.prototype._executeOnStable=function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Object(en.a)(1)).subscribe(e)},e}(),so=function(){function e(e,t,n){this._checker=e,this._ngZone=t,this._document=n}return e.prototype.create=function(e,t){return void 0===t&&(t=!1),new ao(e,this._checker,this._ngZone,this._document,t)},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(io),Object(i.dc)(i.z),Object(i.dc)(Vr.e))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(io),i.dc(i.z),i.dc(Vr.e))},e}(),co=function(e){function t(t,n,i,r,o,a,s){var c=e.call(this,t,n,i,r,s.defer)||this;return c._focusTrapManager=o,c._inertStrategy=a,c._focusTrapManager.register(c),c}return Object(zt.c)(t,e),Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._enabled=e,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._focusTrapManager.deregister(this),e.prototype.destroy.call(this)},t.prototype._enable=function(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)},t.prototype._disable=function(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)},t}(ao),uo="undefined"!=typeof Element&&!!Element.prototype.closest;function lo(e,t){return e.matches?e.matches(t):e.msMatchesSelector(t)}var po=function(){function e(){this._listener=null}return e.prototype.preventFocus=function(e){var t=this;this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=function(n){return t._trapFocus(e,n)},e._ngZone.runOutsideAngular((function(){e._document.addEventListener("focus",t._listener,!0)}))},e.prototype.allowFocus=function(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)},e.prototype._trapFocus=function(e,t){var n=t.target,i=e._element;i.contains(n)||null!==function(e,t){if(!(e instanceof Node))return null;for(var n=e;null!=n&&!(n instanceof Element);)n=n.parentNode;return n&&(uo?n.closest("div.cdk-overlay-pane"):function(e,t){for(var n=e;null!=n&&!(n instanceof Element&&lo(n,"div.cdk-overlay-pane"));)n=n.parentNode;return n||null}(n))}(n)||setTimeout((function(){e.enabled&&!i.contains(e._document.activeElement)&&e.focusFirstTabbableElement()}))},e}(),ho=function(){return function(){this.defer=!1}}(),fo=new i.q("FOCUS_TRAP_INERT_STRATEGY"),go=function(){function e(){this._focusTrapStack=[]}return e.prototype.register=function(e){this._focusTrapStack=this._focusTrapStack.filter((function(t){return t!==e}));var t=this._focusTrapStack;t.length&&t[t.length-1]._disable(),t.push(e),e._enable()},e.prototype.deregister=function(e){e._disable();var t=this._focusTrapStack,n=t.indexOf(e);-1!==n&&(t.splice(n,1),t.length&&t[t.length-1]._enable())},e.\u0275prov=Object(i.Pb)({factory:function(){return new e},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}(),bo=function(){function e(e,t,n,i,r){this._checker=e,this._ngZone=t,this._focusTrapManager=n,this._document=i,this._inertStrategy=r||new po}return e.prototype.create=function(e,t){var n;return void 0===t&&(t=new ho),"boolean"==typeof t?(n=new ho).defer=t:n=t,new co(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,n)},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(io),Object(i.dc)(i.z),Object(i.dc)(go),Object(i.dc)(Vr.e),Object(i.dc)(fo,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(io),i.dc(i.z),i.dc(go),i.dc(Vr.e),i.dc(fo,8))},e}(),mo=new i.q("cdk-focus-monitor-default-options"),vo=Object(Xr.e)({passive:!0,capture:!0}),yo=function(){function e(e,t,n,i){var r=this;this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){r._lastTouchTarget=null,r._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!r._lastTouchTarget){var t=function(e){return 0===e.buttons}(e)?"keyboard":"mouse";r._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){null!=r._touchTimeoutId&&clearTimeout(r._touchTimeoutId),r._lastTouchTarget=wo(e),r._touchTimeoutId=setTimeout((function(){return r._lastTouchTarget=null}),650)},this._windowFocusListener=function(){r._windowFocused=!0,r._windowFocusTimeoutId=setTimeout((function(){return r._windowFocused=!1}))},this._rootNodeFocusAndBlurListener=function(e){for(var t=wo(e),n="focus"===e.type?r._onFocus:r._onBlur,i=t;i;i=i.parentElement)n.call(r,e,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}return e.prototype.monitor=function(e,t){if(void 0===t&&(t=!1),!this._platform.isBrowser)return Object(qr.a)(null);var n=Object(Qr.e)(e),i=Object(Xr.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject.asObservable();var o={checkChildren:t,subject:new kt.a,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject.asObservable()},e.prototype.stopMonitoring=function(e){var t=Object(Qr.e)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))},e.prototype.focusVia=function(e,t,n){var i=Object(Qr.e)(e);this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n)},e.prototype.ngOnDestroy=function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))},e.prototype._getDocument=function(){return this._document||document},e.prototype._getWindow=function(){return this._getDocument().defaultView||window},e.prototype._toggleClass=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},e.prototype._getFocusOrigin=function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"},e.prototype._setClasses=function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)},e.prototype._setOriginForCurrentEventQueue=function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout((function(){return t._origin=null}),1))}))},e.prototype._wasCausedByTouch=function(e){var t=wo(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))},e.prototype._onFocus=function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===wo(e))){var i=this._getFocusOrigin(e);this._setClasses(t,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}},e.prototype._onBlur=function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))},e.prototype._emitOrigin=function(e,t){this._ngZone.run((function(){return e.next(t)}))},e.prototype._registerGlobalListeners=function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,vo),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,vo)})),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,vo),e.addEventListener("mousedown",t._documentMousedownListener,vo),e.addEventListener("touchstart",t._documentTouchstartListener,vo),n.addEventListener("focus",t._windowFocusListener)}))}},e.prototype._removeGlobalListeners=function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,vo),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,vo),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,vo),i.removeEventListener("mousedown",this._documentMousedownListener,vo),i.removeEventListener("touchstart",this._documentTouchstartListener,vo),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(i.z),Object(i.dc)(Xr.a),Object(i.dc)(Vr.e,8),Object(i.dc)(mo,8))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(i.z),i.dc(Xr.a),i.dc(Vr.e,8),i.dc(mo,8))},e}();function wo(e){return e.composedPath?e.composedPath()[0]:e.target}var Oo=function(){function e(e,t){this._platform=e,this._document=t}return e.prototype.getHighContrastMode=function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0},e.prototype._applyBodyHighContrastModeCssClasses=function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(Xr.a),Object(i.dc)(Vr.e))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(Xr.a),i.dc(Vr.e))},e}(),Co=function(){function e(e){e._applyBodyHighContrastModeCssClasses()}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)(i.dc(Oo))},imports:[[Xr.b,to]]}),e}(),So=["menu"],zo=["li"];function To(e,t){}var _o=function(e){return{$implicit:e}};function ko(e,t){if(1&e){var n=i.ac();i.Zb(0,"a",7),i.hc("click",(function(e){i.Dc(n);var t=i.kc().$implicit;return i.kc().onMenuItemSelect(t,e)}))("mouseenter",(function(e){i.Dc(n);var t=i.kc().$implicit;return i.kc().onOpenSubMenu(t,e)})),i.Nc(1,"\n "),i.Lc(2,To,0,0,"ng-template",8),i.Nc(3,"\n "),i.Yb()}if(2&e){var r=i.kc().$implicit,o=i.kc();i.Jb("dropdown-item",o.useBootstrap4)("active",r.isActive&&o.isMenuItemEnabled(r))("disabled",o.useBootstrap4&&!o.isMenuItemEnabled(r))("hasSubMenu",!!r.subMenu),i.Db(2),i.sc("ngTemplateOutlet",r.template)("ngTemplateOutletContext",i.vc(10,_o,o.item))}}function Do(e,t){}function xo(e,t){if(1&e){var n=i.ac();i.Zb(0,"span",9),i.hc("click",(function(e){return i.Dc(n),i.kc(2).stopEvent(e)}))("contextmenu",(function(e){return i.Dc(n),i.kc(2).stopEvent(e)})),i.Nc(1,"\n "),i.Lc(2,Do,0,0,"ng-template",8),i.Nc(3,"\n "),i.Yb()}if(2&e){var r=i.kc().$implicit,o=i.kc();i.Jb("dropdown-item",o.useBootstrap4)("disabled",o.useBootstrap4&&!o.isMenuItemEnabled(r)),i.Db(2),i.sc("ngTemplateOutlet",r.template)("ngTemplateOutletContext",i.vc(6,_o,o.item))}}function Eo(e,t){if(1&e&&(i.Zb(0,"li",null,4),i.Nc(2,"\n "),i.Lc(3,ko,4,12,"a",5),i.Nc(4,"\n\n "),i.Lc(5,xo,4,8,"span",6),i.Nc(6,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.kc();i.Jb("disabled",!r.isMenuItemEnabled(n))("divider",n.divider)("dropdown-divider",r.useBootstrap4&&n.divider)("active",n.isActive&&r.isMenuItemEnabled(n)),i.Eb("role",n.divider?"separator":void 0),i.Db(3),i.sc("ngIf",!n.divider&&!n.passive),i.Db(2),i.sc("ngIf",!n.divider&&n.passive)}}var No=function(){function e(e,t){this.template=e,this.elementRef=t,this.divider=!1,this.enabled=!0,this.passive=!1,this.visible=!0,this.execute=new i.n,this.isActive=!1}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this.passive||this.divider||!this.evaluateIfFunction(this.enabled,this.currentItem)},enumerable:!0,configurable:!0}),e.prototype.evaluateIfFunction=function(e,t){return e instanceof Function?e(t):e},e.prototype.setActiveStyles=function(){this.isActive=!0},e.prototype.setInactiveStyles=function(){this.isActive=!1},e.prototype.triggerExecute=function(e,t){this.evaluateIfFunction(this.enabled,e)&&this.execute.emit({event:t,item:e})},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.M),i.Tb(i.l))},e.\u0275dir=i.Ob({type:e,selectors:[["","contextMenuItem",""]],inputs:{divider:"divider",enabled:"enabled",passive:"passive",visible:"visible",subMenu:"subMenu"},outputs:{execute:"execute"}}),e}(),jo=new i.q("CONTEXT_MENU_OPTIONS"),Io=function(){function e(e,t,n){this.changeDetector=e,this.elementRef=t,this.options=n,this.menuItems=[],this.isLeaf=!1,this.execute=new i.n,this.openSubMenu=new i.n,this.closeLeafMenu=new i.n,this.closeAllMenus=new i.n,this.autoFocus=!1,this.useBootstrap4=!1,this.subscription=new Ft.a,n&&(this.autoFocus=n.autoFocus,this.useBootstrap4=n.useBootstrap4)}return e.prototype.ngOnInit=function(){var e=this;this.menuItems.forEach((function(t){t.currentItem=e.item,e.subscription.add(t.execute.subscribe((function(n){return e.execute.emit(Object(zt.a)({},n,{menuItem:t}))})))}));var t=new i.D;t.reset(this.menuItems),this._keyManager=new no(t).withWrap()},e.prototype.ngAfterViewInit=function(){var e=this;this.autoFocus&&setTimeout((function(){return e.focus()})),this.overlay.updatePosition()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.focus=function(){this.autoFocus&&this.menuElement.nativeElement.focus()},e.prototype.stopEvent=function(e){e.stopPropagation()},e.prototype.isMenuItemEnabled=function(e){return this.evaluateIfFunction(e&&e.enabled)},e.prototype.isMenuItemVisible=function(e){return this.evaluateIfFunction(e&&e.visible)},e.prototype.evaluateIfFunction=function(e){return e instanceof Function?e(this.item):e},e.prototype.isDisabled=function(e){return e.enabled&&!e.enabled(this.item)},e.prototype.onKeyEvent=function(e){this.isLeaf&&this._keyManager.onKeydown(e)},e.prototype.keyboardOpenSubMenu=function(e){if(this.isLeaf){this.cancelEvent(e);var t=this.menuItems[this._keyManager.activeItemIndex];t&&this.onOpenSubMenu(t)}},e.prototype.keyboardMenuItemSelect=function(e){if(this.isLeaf){this.cancelEvent(e);var t=this.menuItems[this._keyManager.activeItemIndex];t&&this.onMenuItemSelect(t,e)}},e.prototype.onCloseLeafMenu=function(e){this.isLeaf&&(this.cancelEvent(e),this.closeLeafMenu.emit({exceptRootMenu:37===e.keyCode,event:e}))},e.prototype.closeMenu=function(e){"click"===e.type&&2===e.button||this.closeAllMenus.emit({event:e})},e.prototype.onOpenSubMenu=function(e,t){var n=this.menuItemElements.toArray()[this._keyManager.activeItemIndex];this.openSubMenu.emit({anchorElement:n&&n.nativeElement,contextMenu:e.subMenu,event:t,item:this.item,parentContextMenu:this})},e.prototype.onMenuItemSelect=function(e,t){t.preventDefault(),t.stopPropagation(),this.onOpenSubMenu(e,t),e.subMenu||e.triggerExecute(this.item,t)},e.prototype.cancelEvent=function(e){if(e){var t=e.target;["INPUT","TEXTAREA","SELECT"].indexOf(t.tagName)>-1||t.isContentEditable||(e.preventDefault(),e.stopPropagation())}},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(i.l),i.Tb(jo,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["context-menu-content"]],viewQuery:function(e,t){var n;1&e&&(i.Jc(So,!0),i.Sc(zo,!0)),2&e&&(i.zc(n=i.ic())&&(t.menuElement=n.first),i.zc(n=i.ic())&&(t.menuItemElements=n))},hostBindings:function(e,t){1&e&&i.hc("keydown.ArrowDown",(function(e){return t.onKeyEvent(e)}),!1,i.Cc)("keydown.ArrowUp",(function(e){return t.onKeyEvent(e)}),!1,i.Cc)("keydown.ArrowRight",(function(e){return t.keyboardOpenSubMenu(e)}),!1,i.Cc)("keydown.Enter",(function(e){return t.keyboardMenuItemSelect(e)}),!1,i.Cc)("keydown.Space",(function(e){return t.keyboardMenuItemSelect(e)}),!1,i.Cc)("keydown.Escape",(function(e){return t.onCloseLeafMenu(e)}),!1,i.Cc)("keydown.ArrowLeft",(function(e){return t.onCloseLeafMenu(e)}),!1,i.Cc)("click",(function(e){return t.closeMenu(e)}),!1,i.Bc)("contextmenu",(function(e){return t.closeMenu(e)}),!1,i.Bc)},inputs:{menuItems:"menuItems",isLeaf:"isLeaf",item:"item",event:"event",parentContextMenu:"parentContextMenu",menuClass:"menuClass",overlay:"overlay"},outputs:{execute:"execute",openSubMenu:"openSubMenu",closeLeafMenu:"closeLeafMenu",closeAllMenus:"closeAllMenus"},decls:10,vars:2,consts:[["tabindex","0",1,"dropdown","open","show","ngx-contextmenu",3,"ngClass"],["tabindex","0",1,"dropdown-menu","show",2,"position","static","float","none"],["menu",""],[3,"disabled","divider","dropdown-divider","active",4,"ngFor","ngForOf"],["li",""],["href","",3,"dropdown-item","active","disabled","hasSubMenu","click","mouseenter",4,"ngIf"],["class","passive",3,"dropdown-item","disabled","click","contextmenu",4,"ngIf"],["href","",3,"click","mouseenter"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"passive",3,"click","contextmenu"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Zb(3,"ul",1,2),i.Nc(5,"\n "),i.Lc(6,Eo,7,11,"li",3),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n ")),2&e&&(i.Db(1),i.sc("ngClass",t.menuClass),i.Db(5),i.sc("ngForOf",t.menuItems))},directives:[Vr.q,Vr.s,Vr.t,Vr.A],styles:[".passive[_ngcontent-%COMP%] {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: @line-height-base;\n white-space: nowrap;\n }\n .hasSubMenu[_ngcontent-%COMP%]:before {\n content: '\u25b6';\n float: right;\n }"]}),e}(),Ao=function(){function e(e,t){this.overlay=e,this.scrollStrategy=t,this.isDestroyingLeafMenu=!1,this.show=new kt.a,this.triggerClose=new kt.a,this.close=new kt.a,this.overlays=[],this.fakeElement={getBoundingClientRect:function(){return{bottom:0,height:0,left:0,right:0,top:0,width:0}}}}return e.prototype.openContextMenu=function(e){var t=e.anchorElement,n=e.event,r=e.parentContextMenu;if(r){s=this.overlay.position().connectedTo(new i.l(n?n.target:t),{originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}).withFallbackPosition({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}).withFallbackPosition({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"});var o=this.overlay.create({positionStrategy:s,panelClass:"ngx-contextmenu",scrollStrategy:this.scrollStrategy.close()});this.destroySubMenus(r),this.overlays=this.overlays.concat(o),this.attachContextMenu(o,e)}else{var a=n;this.fakeElement.getBoundingClientRect=function(){return{bottom:a.clientY,height:0,left:a.clientX,right:a.clientX,top:a.clientY,width:0}},this.closeAllContextMenus({eventType:"cancel",event:n});var s=this.overlay.position().connectedTo(new i.l(t||this.fakeElement),{originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}).withFallbackPosition({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}).withFallbackPosition({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}).withFallbackPosition({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"});this.overlays=[this.overlay.create({positionStrategy:s,panelClass:"ngx-contextmenu",scrollStrategy:this.scrollStrategy.close()})],this.attachContextMenu(this.overlays[0],e)}},e.prototype.attachContextMenu=function(e,t){var n=this,i=t.event,r=t.item,o=t.menuItems,a=t.menuClass,s=e.attach(new Wr.c(Io));s.instance.event=i,s.instance.item=r,s.instance.menuItems=o,s.instance.overlay=e,s.instance.isLeaf=!0,s.instance.menuClass=a,e.contextMenu=s.instance;var c=new Ft.a;c.add(s.instance.execute.asObservable().subscribe((function(e){return n.closeAllContextMenus(Object(zt.a)({eventType:"execute"},e))}))),c.add(s.instance.closeAllMenus.asObservable().subscribe((function(e){return n.closeAllContextMenus(Object(zt.a)({eventType:"cancel"},e))}))),c.add(s.instance.closeLeafMenu.asObservable().subscribe((function(e){return n.destroyLeafMenu(e)}))),c.add(s.instance.openSubMenu.asObservable().subscribe((function(e){n.destroySubMenus(s.instance),e.contextMenu?(s.instance.isLeaf=!1,n.show.next(e)):s.instance.isLeaf=!0}))),s.onDestroy((function(){o.forEach((function(e){return e.isActive=!1})),c.unsubscribe()})),s.changeDetectorRef.detectChanges()},e.prototype.closeAllContextMenus=function(e){this.overlays&&(this.close.next(e),this.overlays.forEach((function(e,t){e.detach(),e.dispose()}))),this.overlays=[]},e.prototype.getLastAttachedOverlay=function(){for(var e=this.overlays[this.overlays.length-1];this.overlays.length>1&&e&&!e.hasAttached();)e.detach(),e.dispose(),this.overlays=this.overlays.slice(0,-1),e=this.overlays[this.overlays.length-1];return e},e.prototype.destroyLeafMenu=function(e){var t=this,n=void 0===e?{}:e,i=n.exceptRootMenu,r=n.event;this.isDestroyingLeafMenu||(this.isDestroyingLeafMenu=!0,setTimeout((function(){var e=t.getLastAttachedOverlay();t.overlays.length>1&&e&&(e.detach(),e.dispose()),!i&&t.overlays.length>0&&e&&(t.close.next({eventType:"cancel",event:r}),e.detach(),e.dispose());var n=t.getLastAttachedOverlay();n&&(n.contextMenu.isLeaf=!0),t.isDestroyingLeafMenu=!1})))},e.prototype.destroySubMenus=function(e){var t=this.overlays.indexOf(e.overlay);this.overlays.slice(t+1).forEach((function(e){e.detach(),e.dispose()}))},e.prototype.isLeafMenu=function(e){var t=this.getLastAttachedOverlay();return e.overlay===t},e.\u0275fac=function(t){return new(t||e)(i.dc(Ur.e),i.dc(Ur.k))},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Mo=function(){function e(e,t,n,r){var o=this;this._contextMenuService=e,this.changeDetector=t,this.elementRef=n,this.options=r,this.menuClass="",this.autoFocus=!1,this.useBootstrap4=!1,this.disabled=!1,this.close=new i.n,this.open=new i.n,this.visibleMenuItems=[],this.links=[],this.subscription=new Ft.a,r&&(this.autoFocus=r.autoFocus,this.useBootstrap4=r.useBootstrap4),this.subscription.add(e.show.subscribe((function(e){o.onMenuEvent(e)})))}return e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.onMenuEvent=function(e){var t=this;if(!this.disabled){var n=e.contextMenu,i=e.item;n&&n!==this||(this.event=e.event,this.item=i,this.setVisibleMenuItems(),this._contextMenuService.openContextMenu(Object(zt.a)({},e,{menuItems:this.visibleMenuItems,menuClass:this.menuClass})),this._contextMenuService.close.asObservable().pipe(Object(Hr.a)()).subscribe((function(e){return t.close.emit(e)})),this.open.next(e))}},e.prototype.isMenuItemVisible=function(e){return this.evaluateIfFunction(e.visible)},e.prototype.setVisibleMenuItems=function(){var e=this;this.visibleMenuItems=this.menuItems.filter((function(t){return e.isMenuItemVisible(t)}))},e.prototype.evaluateIfFunction=function(e){return e instanceof Function?e(this.item):e},e.\u0275fac=function(t){return new(t||e)(i.Tb(Ao),i.Tb(i.h),i.Tb(i.l),i.Tb(jo,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["context-menu"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,No,!1),2&e&&i.zc(r=i.ic())&&(t.menuItems=r)},viewQuery:function(e,t){var n;1&e&&i.Sc(So,!0),2&e&&i.zc(n=i.ic())&&(t.menuElement=n.first)},inputs:{menuClass:"menuClass",autoFocus:"autoFocus",useBootstrap4:"useBootstrap4",disabled:"disabled"},outputs:{close:"close",open:"open"},decls:1,vars:0,template:function(e,t){1&e&&i.Nc(0," ")},styles:["\n .cdk-overlay-container {\n position: fixed;\n z-index: 1000;\n pointer-events: none;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n .ngx-contextmenu.cdk-overlay-pane {\n position: absolute;\n pointer-events: auto;\n box-sizing: border-box;\n }\n "],encapsulation:2}),e}(),Lo=function(){function e(e){this.contextMenuService=e}return e.prototype.onContextMenu=function(e){this.contextMenu.disabled||(this.contextMenuService.show.next({contextMenu:this.contextMenu,event:e,item:this.contextMenuSubject}),e.preventDefault(),e.stopPropagation())},e.\u0275fac=function(t){return new(t||e)(i.Tb(Ao))},e.\u0275dir=i.Ob({type:e,selectors:[["","contextMenu",""]],hostBindings:function(e,t){1&e&&i.hc("contextmenu",(function(e){return t.onContextMenu(e)}))},inputs:{contextMenuSubject:"contextMenuSubject",contextMenu:"contextMenu"}}),e}(),Po=function(){function e(){}return e.forRoot=function(t){return{ngModule:e,providers:[Ao,{provide:jo,useValue:t},{provide:Ur.g,useClass:Ur.d}]}},e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ur.i]]}),e}(),Fo=n("WHo9"),Ro="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,Vo=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}(),Bo=Ro&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Vo))}};function Yo(e){return e&&"[object Function]"==={}.toString.call(e)}function Uo(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Ho(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Wo(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Uo(e);return/(auto|scroll|overlay)/.test(t.overflow+t.overflowY+t.overflowX)?e:Wo(Ho(e))}function qo(e){return e&&e.referenceNode?e.referenceNode:e}var Zo=Ro&&!(!window.MSInputMethodContext||!document.documentMode),$o=Ro&&/MSIE 10/.test(navigator.userAgent);function Go(e){return 11===e?Zo:10===e?$o:Zo||$o}function Qo(e){if(!e)return document.documentElement;for(var t=Go(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Uo(n,"position")?Qo(n):n:e?e.ownerDocument.documentElement:document.documentElement}function Xo(e){return null!==e.parentNode?Xo(e.parentNode):e}function Ko(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,c=o.commonAncestorContainer;if(e!==c&&t!==c||i.contains(r))return"BODY"===(s=(a=c).nodeName)||"HTML"!==s&&Qo(a.firstElementChild)!==a?Qo(c):c;var u=Xo(e);return u.host?Ko(u.host,t):Ko(e,Xo(t).host)}function Jo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var r=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||r;return o[n]}return e[n]}function ea(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Jo(t,"top"),r=Jo(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}function ta(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}function na(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Go(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function ia(e){var t=e.body,n=e.documentElement,i=Go(10)&&getComputedStyle(n);return{height:na("Height",t,n,i),width:na("Width",t,n,i)}}var ra=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},oa=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=Go(10),r="HTML"===t.nodeName,o=ua(e),a=ua(t),s=Wo(e),c=Uo(t),u=parseFloat(c.borderTopWidth),l=parseFloat(c.borderLeftWidth);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var p=ca({top:o.top-a.top-u,left:o.left-a.left-l,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!i&&r){var h=parseFloat(c.marginTop),d=parseFloat(c.marginLeft);p.top-=u-h,p.bottom-=u-h,p.left-=l-d,p.right-=l-d,p.marginTop=h,p.marginLeft=d}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(p=ea(p,t)),p}function pa(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=la(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:Jo(n),s=t?0:Jo(n,"left"),c={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o};return ca(c)}function ha(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Uo(e,"position"))return!0;var n=Ho(e);return!!n&&ha(n)}function da(e){if(!e||!e.parentElement||Go())return document.documentElement;for(var t=e.parentElement;t&&"none"===Uo(t,"transform");)t=t.parentElement;return t||document.documentElement}function fa(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?da(e):Ko(e,qo(t));if("viewport"===i)o=pa(a,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=Wo(Ho(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var c=la(s,a,r);if("HTML"!==s.nodeName||ha(a))o=c;else{var u=ia(e.ownerDocument),l=u.height,p=u.width;o.top+=c.top-c.marginTop,o.bottom=l+c.top,o.left+=c.left-c.marginLeft,o.right=p+c.left}}var h="number"==typeof(n=n||0);return o.left+=h?n:n.left||0,o.top+=h?n:n.top||0,o.right-=h?n:n.right||0,o.bottom-=h?n:n.bottom||0,o}function ga(e){return e.width*e.height}function ba(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=fa(n,i,o,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(s).map((function(e){return sa({key:e},s[e],{area:ga(s[e])})})).sort((function(e,t){return t.area-e.area})),u=c.filter((function(e){return e.width>=n.clientWidth&&e.height>=n.clientHeight})),l=u.length>0?u[0].key:c[0].key,p=e.split("-")[1];return l+(p?"-"+p:"")}function ma(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=i?da(t):Ko(t,qo(n));return la(n,r,i)}function va(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function ya(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function wa(e,t,n){n=n.split("-")[0];var i=va(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",c=o?"height":"width",u=o?"width":"height";return r[a]=t[a]+t[c]/2-i[c]/2,r[s]=n===s?t[s]-i[u]:t[ya(s)],r}function Oa(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Ca(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e.name===n}));var i=Oa(e,(function(e){return e.name===n}));return e.indexOf(i)}(e,0,n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Yo(n)&&(t.offsets.popper=ca(t.offsets.popper),t.offsets.reference=ca(t.offsets.reference),t=n(t,e))})),t}function Sa(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=ma(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=ba(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=wa(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Ca(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function za(e,t){return e.some((function(e){return e.enabled&&e.name===t}))}function Ta(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=Ma.indexOf(e),i=Ma.slice(n+1).concat(Ma.slice(0,n));return t?i.reverse():i}var Pa={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",u=s?"width":"height",l={start:aa({},c,o[c]),end:aa({},c,o[c]+o[u]-a[u])};e.offsets.popper=sa({},a,l[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,i=t.offset,r=e.offsets,o=r.popper,a=r.reference,s=e.placement.split("-")[0];return n=Ea(+i)?[+i,0]:function(e,t,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(Oa(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(u=u.map((function(e,i){var r=(1===i?!o:o)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return ca(s)[t]/100*o}return"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o}(e,r,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){Ea(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))}))})),r}(i,o,a,s),"left"===s?(o.top+=n[0],o.left-=n[1]):"right"===s?(o.top+=n[0],o.left+=n[1]):"top"===s?(o.left+=n[0],o.top-=n[1]):"bottom"===s&&(o.left+=n[0],o.top+=n[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Qo(e.instance.popper);e.instance.reference===n&&(n=Qo(n));var i=Ta("transform"),r=e.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var c=fa(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=o,r.left=a,r[i]=s,t.boundaries=c;var u=e.offsets.popper,l={primary:function(e){var n=u[e];return u[e]c[e]&&!t.escapeWithReference&&(i=Math.min(u[n],c[e]-("right"===e?u.width:u.height))),aa({},n,i)}};return t.priority.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=sa({},u,l[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",c=a?"left":"top",u=a?"width":"height";return n[s]o(i[s])&&(e.offsets.popper[c]=o(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Ia(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,a=o.popper,s=o.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",l=c?"Top":"Left",p=l.toLowerCase(),h=c?"left":"top",d=c?"bottom":"right",f=va(i)[u];s[d]-fa[d]&&(e.offsets.popper[p]+=s[p]+f-a[d]),e.offsets.popper=ca(e.offsets.popper);var g=s[p]+s[u]/2-f/2,b=Uo(e.instance.popper),m=parseFloat(b["margin"+l]),v=parseFloat(b["border"+l+"Width"]),y=g-e.offsets.popper[p]-m-v;return y=Math.max(Math.min(a[u]-f,y),0),e.arrowElement=i,e.offsets.arrow=(aa(n={},p,Math.round(y)),aa(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(za(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=fa(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],r=ya(i),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case"flip":a=[i,r];break;case"clockwise":a=La(i);break;case"counterclockwise":a=La(i,!0);break;default:a=t.behavior}return a.forEach((function(s,c){if(i!==s||a.length===c+1)return e;i=e.placement.split("-")[0],r=ya(i);var u=e.offsets.popper,l=e.offsets.reference,p=Math.floor,h="left"===i&&p(u.right)>p(l.left)||"right"===i&&p(u.left)p(l.top)||"bottom"===i&&p(u.top)p(n.right),g=p(u.top)p(n.bottom),m="left"===i&&d||"right"===i&&f||"top"===i&&g||"bottom"===i&&b,v=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(v&&"start"===o&&d||v&&"end"===o&&f||!v&&"start"===o&&g||!v&&"end"===o&&b)||!!t.flipVariationsByContent&&(v&&"start"===o&&f||v&&"end"===o&&d||!v&&"start"===o&&b||!v&&"end"===o&&g);(h||m||y)&&(e.flipped=!0,(h||m)&&(i=a[c+1]),y&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=i+(o?"-"+o:""),e.offsets.popper=sa({},e.offsets.popper,wa(e.instance.popper,e.offsets.reference,e.placement)),e=Ca(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),e.placement=ya(t),e.offsets.popper=ca(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Ia(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Oa(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};ra(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Bo(this.update.bind(this)),this.options=sa({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(sa({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){i.options.modifiers[t]=sa({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return sa({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Yo(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return oa(e,[{key:"update",value:function(){return Sa.call(this)}},{key:"destroy",value:function(){return _a.call(this)}},{key:"enableEventListeners",value:function(){return Da.call(this)}},{key:"disableEventListeners",value:function(){return xa.call(this)}}]),e}();Fa.Utils=("undefined"!=typeof window?window:global).PopperUtils,Fa.placements=Aa,Fa.Defaults=Pa;var Ra=Fa,Va=["popperViewRef"];function Ba(e,t){if(1&e&&(i.Zb(0,"div",5),i.Nc(1,"\n "),i.qc(2),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.sc("innerHTML",n.text,i.Ec)}}function Ya(e,t){1&e&&(i.Zb(0,"div",6),i.Nc(1,"\n "),i.qc(2,1),i.Nc(3,"\n "),i.Yb())}var Ua=["*","*"],Ha=function(){function e(){}return e.CLICK="click",e.HOVER="hover",e.MOUSEDOWN="mousedown",e.NONE="none",e}(),Wa=function(){function e(){}return e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e.TopStart="top-start",e.BottomStart="bottom-start",e.LeftStart="left-start",e.RightStart="right-start",e.TopEnd="top-end",e.BottomEnd="bottom-end",e.LeftEnd="left-end",e.RightEnd="right-end",e.Auto="auto",e.AutoStart="auto-start",e.AutoEnd="auto-end",e}(),qa=function(){function e(e,t,n,r){this.elemRef=e,this.renderer=t,this.viewRef=n,this.CDR=r,this.popperOptions={disableAnimation:!1,disableDefaultStyling:!1,placement:Wa.Auto,boundariesElement:"",trigger:Ha.HOVER,positionFixed:!1,appendToBody:!1,popperModifiers:{}},this.isMouseOver=!1,this.onHidden=new i.n,this.displayType="none",this.opacity=0,this.ariaHidden="true",this.arrowColor=null,this.state=!0}return e.prototype.onMouseOver=function(){this.isMouseOver=!0},e.prototype.showOnLeave=function(){this.isMouseOver=!1,(this.popperOptions.trigger===Ha.HOVER||this.popperOptions.hideOnMouseLeave)&&this.hide()},e.prototype.onDocumentResize=function(){this.update()},e.prototype.ngOnDestroy=function(){this.clean(),this.popperOptions.appendTo&&this.elemRef&&this.elemRef.nativeElement&&this.elemRef.nativeElement.parentNode&&(this.viewRef.detach(),this.elemRef.nativeElement.parentNode.removeChild(this.elemRef.nativeElement))},e.prototype.clean=function(){this.toggleVisibility(!1),this.popperInstance&&(this.popperInstance.disableEventListeners(),this.popperInstance.destroy())},e.prototype.show=function(){if(this.referenceObject){var e=this.popperOptions.appendTo&&document.querySelector(this.popperOptions.appendTo);e&&this.elemRef.nativeElement.parentNode!==e&&(this.elemRef.nativeElement.parentNode&&this.elemRef.nativeElement.parentNode.removeChild(this.elemRef.nativeElement),e.appendChild(this.elemRef.nativeElement));var t={placement:this.popperOptions.placement,positionFixed:this.popperOptions.positionFixed,modifiers:{arrow:{element:this.popperViewRef.nativeElement.querySelector(".ngxp__arrow")}}};this.onUpdate&&(t.onUpdate=this.onUpdate);var n=this.popperOptions.boundariesElement&&document.querySelector(this.popperOptions.boundariesElement);t.modifiers&&n&&(t.modifiers.preventOverflow={boundariesElement:n}),t.modifiers&&void 0!==this.popperOptions.preventOverflow&&(t.modifiers.preventOverflow=t.modifiers.preventOverflow||{},t.modifiers.preventOverflow.enabled=this.popperOptions.preventOverflow,t.modifiers.preventOverflow.enabled||(t.modifiers.hide={enabled:!1})),this.determineArrowColor(),t.modifiers=Object.assign(t.modifiers,this.popperOptions.popperModifiers),this.popperInstance=new Ra(this.referenceObject,this.popperViewRef.nativeElement,t),this.popperInstance.enableEventListeners(),this.scheduleUpdate(),this.toggleVisibility(!0),this.globalResize=this.renderer.listen("document","resize",this.onDocumentResize.bind(this))}},e.prototype.determineArrowColor=function(){var e=this;["background-color","backgroundColor"].some((function(t){return!!e.popperOptions.styles&&!!e.popperOptions.styles.hasOwnProperty(t)&&(e.arrowColor=e.popperOptions.styles[t],!0)}))},e.prototype.update=function(){this.popperInstance&&this.popperInstance.update()},e.prototype.scheduleUpdate=function(){this.popperInstance&&this.popperInstance.scheduleUpdate()},e.prototype.hide=function(){this.popperInstance&&this.popperInstance.destroy(),this.toggleVisibility(!1),this.onHidden.emit()},e.prototype.toggleVisibility=function(e){e?(this.opacity=1,this.displayType="block",this.ariaHidden="false",this.state=!0):(this.opacity=0,this.displayType="none",this.ariaHidden="true",this.state=!1),this.CDR.destroyed||this.CDR.detectChanges()},e.prototype.extractAppliedClassListExpr=function(e){if(!e||"string"!=typeof e)return null;try{return e.replace(/ /,"").split(",").reduce((function(e,t){return e[t]=!0,e}),{})}catch(t){return null}},e.prototype.clearGlobalResize=function(){this.globalResize&&"function"==typeof this.globalResize&&this.globalResize()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E),i.Tb(i.Q),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["popper-content"]],viewQuery:function(e,t){var n;1&e&&i.Sc(Va,!0),2&e&&i.zc(n=i.ic())&&(t.popperViewRef=n.first)},hostBindings:function(e,t){1&e&&i.hc("mouseover",(function(){return t.onMouseOver()}))("mouseleave",(function(){return t.showOnLeave()}))},ngContentSelectors:Ua,decls:11,vars:20,consts:[[3,"ngStyle","ngClass"],["popperViewRef",""],["class","ngxp__inner",3,"innerHTML",4,"ngIf"],["class","ngxp__inner",4,"ngIf"],[1,"ngxp__arrow",3,"ngClass"],[1,"ngxp__inner",3,"innerHTML"],[1,"ngxp__inner"]],template:function(e,t){1&e&&(i.rc(Ua),i.Nc(0,"\n "),i.Zb(1,"div",0,1),i.Nc(3,"\n "),i.Lc(4,Ba,4,1,"div",2),i.Nc(5,"\n "),i.Lc(6,Ya,4,0,"div",3),i.Nc(7,"\n "),i.Ub(8,"div",4),i.Nc(9,"\n\n "),i.Yb(),i.Nc(10,"\n ")),2&e&&(i.Db(1),i.Kc("display",t.displayType)("opacity",t.opacity),i.Jb("ngxp__container",!t.popperOptions.disableDefaultStyling)("ngxp__animation",!t.popperOptions.disableAnimation),i.sc("ngStyle",t.popperOptions.styles)("ngClass",t.extractAppliedClassListExpr(t.popperOptions.applyClass)),i.Eb("aria-hidden",t.ariaHidden)("aria-describedby",t.popperOptions.ariaDescribe||null)("role",t.popperOptions.ariaRole),i.Db(3),i.sc("ngIf",t.text),i.Db(2),i.sc("ngIf",!t.text),i.Db(2),i.Kc("border-color",t.arrowColor),i.Jb("__force-arrow",t.arrowColor),i.sc("ngClass",t.extractAppliedClassListExpr(t.popperOptions.applyArrowClass)))},directives:[Vr.w,Vr.q,Vr.t],styles:[".ngxp__container{display:none;position:absolute;border-radius:3px;border:1px solid grey;box-shadow:0 0 2px rgba(0,0,0,.5);padding:10px}.ngxp__container.ngxp__animation{-webkit-animation:150ms ease-out ngxp-fadeIn;animation:150ms ease-out ngxp-fadeIn}.ngxp__container>.ngxp__arrow{border-color:grey;width:0;height:0;border-style:solid;position:absolute;margin:5px}.ngxp__container[x-placement^=bottom],.ngxp__container[x-placement^=left],.ngxp__container[x-placement^=right],.ngxp__container[x-placement^=top]{display:block}.ngxp__container[x-placement^=top]{margin-bottom:5px}.ngxp__container[x-placement^=top]>.ngxp__arrow{border-width:5px 5px 0;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.ngxp__container[x-placement^=top]>.ngxp__arrow.__force-arrow{border-right-color:transparent!important;border-bottom-color:transparent!important;border-left-color:transparent!important}.ngxp__container[x-placement^=bottom]{margin-top:5px}.ngxp__container[x-placement^=bottom]>.ngxp__arrow{border-width:0 5px 5px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.ngxp__container[x-placement^=bottom]>.ngxp__arrow.__force-arrow{border-top-color:transparent!important;border-right-color:transparent!important;border-left-color:transparent!important}.ngxp__container[x-placement^=right]{margin-left:5px}.ngxp__container[x-placement^=right]>.ngxp__arrow{border-width:5px 5px 5px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.ngxp__container[x-placement^=right]>.ngxp__arrow.__force-arrow{border-top-color:transparent!important;border-bottom-color:transparent!important;border-left-color:transparent!important}.ngxp__container[x-placement^=left]{margin-right:5px}.ngxp__container[x-placement^=left]>.ngxp__arrow{border-width:5px 0 5px 5px;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.ngxp__container[x-placement^=left]>.ngxp__arrow.__force-arrow{border-top-color:transparent!important;border-bottom-color:transparent!important;border-right-color:transparent!important}@-webkit-keyframes ngxp-fadeIn{0%{display:none;opacity:0}1%{display:block;opacity:0}100%{display:block;opacity:1}}@keyframes ngxp-fadeIn{0%{display:none;opacity:0}1%{display:block;opacity:0}100%{display:block;opacity:1}}"],encapsulation:2,changeDetection:0}),e}(),Za=function(){function e(t,n,r,o,a,s){void 0===s&&(s={}),this.viewContainerRef=t,this.changeDetectorRef=n,this.resolver=r,this.elementRef=o,this.renderer=a,this.popperDefaults=s,this.popperContentClass=qa,this.shown=!1,this.subscriptions=[],this.eventListeners=[],this.globalEventListeners=[],this.hideTimeout=0,this.timeoutAfterShow=0,this.popperOnShown=new i.n,this.popperOnHidden=new i.n,this.popperOnUpdate=new i.n,e.baseOptions=Object(zt.a)({},e.baseOptions,this.popperDefaults)}return e.prototype.hideOnClickOutsideHandler=function(e){this.disabled||!this.hideOnClickOutside||e.srcElement&&e.srcElement===this.popperContent.elemRef.nativeElement||this.popperContent.elemRef.nativeElement.contains(e.srcElement)||this.scheduledHide(e,this.hideTimeout)},e.prototype.hideOnScrollHandler=function(e){!this.disabled&&this.hideOnScroll&&this.scheduledHide(e,this.hideTimeout)},e.prototype.applyTriggerListeners=function(){switch(this.showTrigger){case Ha.CLICK:this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"click",this.toggle.bind(this)));break;case Ha.MOUSEDOWN:this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mousedown",this.toggle.bind(this)));break;case Ha.HOVER:this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mouseenter",this.scheduledShow.bind(this,this.showDelay))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchend",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchcancel",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mouseleave",this.scheduledHide.bind(this,null,this.hideTimeout)))}this.showTrigger!==Ha.HOVER&&this.hideOnMouseLeave&&(this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchend",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchcancel",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mouseleave",this.scheduledHide.bind(this,null,this.hideTimeout))))},e.assignDefined=function(e){for(var t,n,i,r,o=[],a=1;a0&&this.scheduledHide(null,this.timeoutAfterShow),this.globalEventListeners.push(this.renderer.listen("document","touchend",this.hideOnClickOutsideHandler.bind(this))),this.globalEventListeners.push(this.renderer.listen("document","click",this.hideOnClickOutsideHandler.bind(this))),this.globalEventListeners.push(this.renderer.listen(this.getScrollParent(this.getRefElement()),"scroll",this.hideOnScrollHandler.bind(this)))}},e.prototype.hide=function(){this.disabled||(this.shown?(this.shown=!1,this.popperContentRef?this.popperContentRef.instance.hide():this.popperContent.hide(),this.popperOnHidden.emit(this),this.clearGlobalEventListeners()):this.overrideShowTimeout())},e.prototype.scheduledShow=function(e){var t=this;void 0===e&&(e=this.showDelay),this.disabled||(this.overrideHideTimeout(),this.scheduledShowTimeout=setTimeout((function(){t.show(),t.applyChanges()}),e))},e.prototype.scheduledHide=function(e,t){var n=this;void 0===e&&(e=null),void 0===t&&(t=this.hideTimeout),this.disabled||(this.overrideShowTimeout(),this.scheduledHideTimeout=setTimeout((function(){var t=e?e.toElement:null,i=!!n.popperContent.popperViewRef&&n.popperContent.popperViewRef.nativeElement;!i||i===t||i.contains(t)||n.content.isMouseOver||(n.hide(),n.applyChanges())}),t))},e.prototype.getRefElement=function(){return this.targetElement||this.viewContainerRef.element.nativeElement},e.prototype.applyChanges=function(){this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges()},e.prototype.setDefaults=function(){this.showDelay=void 0===this.showDelay?e.baseOptions.showDelay:this.showDelay,this.showTrigger=void 0===this.showTrigger?e.baseOptions.trigger:this.showTrigger,this.hideOnClickOutside=void 0===this.hideOnClickOutside?e.baseOptions.hideOnClickOutside:this.hideOnClickOutside,this.hideOnScroll=void 0===this.hideOnScroll?e.baseOptions.hideOnScroll:this.hideOnScroll,this.hideOnMouseLeave=void 0===this.hideOnMouseLeave?e.baseOptions.hideOnMouseLeave:this.hideOnMouseLeave,this.ariaRole=void 0===this.ariaRole?e.baseOptions.ariaRole:this.ariaRole,this.ariaDescribe=void 0===this.ariaDescribe?e.baseOptions.ariaDescribe:this.ariaDescribe,this.styles=void 0===this.styles?Object.assign({},e.baseOptions.styles):this.styles},e.prototype.clearEventListeners=function(){this.eventListeners.forEach((function(e){e&&"function"==typeof e&&e()})),this.eventListeners.length=0},e.prototype.clearGlobalEventListeners=function(){this.globalEventListeners.forEach((function(e){e&&"function"==typeof e&&e()})),this.globalEventListeners.length=0},e.prototype.overrideShowTimeout=function(){this.scheduledShowTimeout&&(clearTimeout(this.scheduledShowTimeout),this.scheduledHideTimeout=0)},e.prototype.overrideHideTimeout=function(){this.scheduledHideTimeout&&(clearTimeout(this.scheduledHideTimeout),this.scheduledHideTimeout=0)},e.prototype.constructContent=function(){var e=this.resolver.resolveComponentFactory(this.popperContentClass);return this.popperContentRef=this.viewContainerRef.createComponent(e),this.popperContentRef.instance},e.prototype.setContentProperties=function(t){t.popperOptions=e.assignDefined(t.popperOptions,e.baseOptions,{showDelay:this.showDelay,disableAnimation:this.disableAnimation,disableDefaultStyling:this.disableStyle,placement:this.placement,boundariesElement:this.boundariesElement,trigger:this.showTrigger,positionFixed:this.positionFixed,popperModifiers:this.popperModifiers,ariaDescribe:this.ariaDescribe,ariaRole:this.ariaRole,applyClass:this.applyClass,applyArrowClass:this.applyArrowClass,hideOnMouseLeave:this.hideOnMouseLeave,styles:this.styles,appendTo:this.appendTo,preventOverflow:this.preventOverflow}),t.onUpdate=this.onPopperUpdate.bind(this),this.subscriptions.push(t.onHidden.subscribe(this.hide.bind(this)))},e.prototype.getScrollParent=function(e){var t=e instanceof HTMLElement&&window.getComputedStyle(e).overflowY;return e?"visible"!==t&&"hidden"!==t&&e.scrollHeight>=e.clientHeight?e:this.getScrollParent(e.parentNode)||document:null},e.prototype.onPopperUpdate=function(e){this.popperOnUpdate.emit(e)},e.baseOptions={showDelay:0,placement:Wa.Auto,hideOnClickOutside:!0,hideOnMouseLeave:!1,hideOnScroll:!1,showTrigger:Ha.HOVER,appendTo:void 0,ariaRole:"popper",ariaDescribe:"",styles:{}},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.Q),i.Tb(i.h),i.Tb(i.j),i.Tb(i.l),i.Tb(i.E),i.Tb("popperDefaults"))},e.\u0275dir=i.Ob({type:e,selectors:[["","popper",""]],inputs:{hideTimeout:["popperTimeout","hideTimeout"],timeoutAfterShow:["popperTimeoutAfterShow","timeoutAfterShow"],hideOnClickOutside:["popperHideOnClickOutside","hideOnClickOutside"],showDelay:["popperDelay","showDelay"],showTrigger:["popperTrigger","showTrigger"],hideOnScroll:["popperHideOnScroll","hideOnScroll"],hideOnMouseLeave:["popperHideOnMouseLeave","hideOnMouseLeave"],ariaRole:["popperAriaRole","ariaRole"],ariaDescribe:["popperAriaDescribeBy","ariaDescribe"],styles:["popperStyles","styles"],content:["popper","content"],disabled:["popperDisabled","disabled"],placement:["popperPlacement","placement"],targetElement:["popperTarget","targetElement"],boundariesElement:["popperBoundaries","boundariesElement"],showOnStart:["popperShowOnStart","showOnStart"],closeOnClickOutside:["popperCloseOnClickOutside","closeOnClickOutside"],positionFixed:["popperPositionFixed","positionFixed"],popperModifiers:"popperModifiers",disableStyle:["popperDisableStyle","disableStyle"],disableAnimation:["popperDisableAnimation","disableAnimation"],applyClass:["popperApplyClass","applyClass"],applyArrowClass:["popperApplyArrowClass","applyArrowClass"],appendTo:["popperAppendTo","appendTo"],preventOverflow:["popperPreventOverflow","preventOverflow"]},outputs:{popperOnShown:"popperOnShown",popperOnHidden:"popperOnHidden",popperOnUpdate:"popperOnUpdate"},exportAs:["popper"],features:[i.Bb]}),e}(),$a=function(){function e(){}return e.prototype.ngDoBootstrap=function(){},e.forRoot=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[{provide:"popperDefaults",useValue:t}]}},e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c]]}),e}(),Ga=n("tokB"),Qa=n("rpki"),Xa=n("Rney"),Ka=n("p0Sj"),Ja=n("ad02"),es=(n("gQXd"),n("zPI3")),ts=["moz","ms","webkit"];function ns(){if("undefined"==typeof window)return function(){return 0};if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);var e,t=ts.filter((function(e){return e+"RequestAnimationFrame"in window}))[0];return t?window[t+"RequestAnimationFrame"]:(e=0,function(t){var n=(new Date).getTime(),i=Math.max(0,16-(n-e)),r=setTimeout((function(){t(n+i)}),i);return e=n+i,r})}var is,rs=ns(),os=n("dzgT"),as=(n("dEwP"),n("0mNj")),ss=n("ny24"),cs=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)}}),e}(),us=new Set,ls=function(){function e(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ps}return e.prototype.matchMedia=function(e){return this._platform.WEBKIT&&function(e){if(!us.has(e))try{is||((is=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(is)),is.sheet&&(is.sheet.insertRule("@media "+e+" {.fx-query-test{ }}",0),us.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(Xr.a))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(Xr.a))},e}();function ps(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var hs=function(){},ds=function(){function e(e,t){var n=this;this.ngZone=e,this.rendererFactory2=t,this.resizeSource$=new kt.a,this.listeners=0,this.disposeHandle=hs,this.handler=function(){n.ngZone.run((function(){n.resizeSource$.next()}))},this.renderer=this.rendererFactory2.createRenderer(null,null)}return e.prototype.subscribe=function(){var e=this;return this.registerListener(),this.resizeSource$.pipe(Object(Xa.a)(16),Object(tn.a)((function(){return e.unregisterListener()})))},e.prototype.unsubscribe=function(){this.unregisterListener()},e.prototype.registerListener=function(){var e=this;0===this.listeners&&this.ngZone.runOutsideAngular((function(){e.disposeHandle=e.renderer.listen("window","resize",e.handler)})),this.listeners+=1},e.prototype.unregisterListener=function(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=hs)},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(i.z),Object(i.dc)(i.F))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(i.z),i.dc(i.F))},e}(),fs=function(){function e(e){this.draggingThreshold=5,this.currentDraggingSequence=null,this.currentStartingPoint=null,this.handleRegistry=new Set,this.renderer=e.createRenderer(null,null)}return e.prototype.requestDraggingSequence=function(e){var t=this;return this.handleRegistry.size||this.registerDraggingHandler(Object(es.t)(e)),this.currentDraggingSequence&&this.currentDraggingSequence.complete(),this.currentStartingPoint=function(e){var t=Object(es.g)(e);return{x:t.pageX,y:t.pageY}}(e),this.currentDraggingSequence=new kt.a,this.currentDraggingSequence.pipe(Object(Mt.a)((function(e){return{x:e.pageX-t.currentStartingPoint.x,y:e.pageY-t.currentStartingPoint.y}})),Object(Pt.a)((function(e){return Math.abs(e.x)>t.draggingThreshold||Math.abs(e.y)>t.draggingThreshold})),Object(tn.a)((function(){return t.teardownDraggingSequence()})))},e.prototype.registerDraggingHandler=function(e){var t=this;e?(this.handleRegistry.add({teardown:this.renderer.listen("document","touchmove",(function(e){t.currentDraggingSequence&&t.currentDraggingSequence.next(e.touches[0]||e.changedTouches[0])}))}),this.handleRegistry.add({teardown:this.renderer.listen("document","touchend",(function(){t.currentDraggingSequence&&t.currentDraggingSequence.complete()}))})):(this.handleRegistry.add({teardown:this.renderer.listen("document","mousemove",(function(e){t.currentDraggingSequence&&t.currentDraggingSequence.next(e)}))}),this.handleRegistry.add({teardown:this.renderer.listen("document","mouseup",(function(){t.currentDraggingSequence&&t.currentDraggingSequence.complete()}))}))},e.prototype.teardownDraggingSequence=function(){this.currentDraggingSequence=null},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(i.F))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(i.F))},e}();function gs(e,t,n,i){var r=n-t,o=e/(i/2);return o<1?r/2*o*o*o+t:r/2*((o-=2)*o*o+2)+t}var bs=function(){function e(e){this.doc=e}return e.prototype.setScrollTop=function(e,t){void 0===t&&(t=0),e===window?(this.doc.body.scrollTop=t,this.doc.documentElement.scrollTop=t):e.scrollTop=t},e.prototype.getOffset=function(e){var t={top:0,left:0};if(!e||!e.getClientRects().length)return t;var n=e.getBoundingClientRect();if(n.width||n.height){var i=e.ownerDocument.documentElement;t.top=n.top-i.clientTop,t.left=n.left-i.clientLeft}else t.top=n.top,t.left=n.left;return t},e.prototype.getScroll=function(e,t){void 0===t&&(t=!0);var n=e||window,i=t?"scrollTop":"scrollLeft",r=n===window,o=r?n[t?"pageYOffset":"pageXOffset"]:n[i];return r&&"number"!=typeof o&&(o=this.doc.documentElement[i]),o},e.prototype.scrollTo=function(e,t,n,i){var r=this;void 0===t&&(t=0);var o=e||window,a=this.getScroll(o),s=Date.now(),c=function(){var e=Date.now()-s;r.setScrollTop(o,(n||gs)(e,a,t,450)),e<450?rs(c):i&&i()};rs(c)},e.\u0275fac=function(t){return new(t||e)(i.dc(Vr.e))},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),ms={provide:bs,useFactory:function(e,t){return t||new bs(e)},deps:[Vr.e,[new i.A,new i.K,bs]]},vs={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},ys={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"},ws=function(){function e(e,t){this.resizeService=e,this.mediaMatcher=t,this.resizeService.subscribe().subscribe((function(){}))}return e.prototype.subscribe=function(e,t){var n=this;if(t){var i=function(){return n.matchMedia(e,!0)};return this.resizeService.subscribe().pipe(Object(Mt.a)(i),Object(Ka.a)(i()),Object(Ja.a)((function(e,t){return e[0]===t[0]})),Object(Mt.a)((function(e){return e[1]})))}return i=function(){return n.matchMedia(e)},this.resizeService.subscribe().pipe(Object(Mt.a)(i),Object(Ka.a)(i()),Object(Ja.a)())},e.prototype.matchMedia=function(e,t){var n=this,i="md",r={};return Object.keys(e).map((function(e){var t=e,o=n.mediaMatcher.matchMedia(vs[t]).matches;r[e]=o,o&&(i=t)})),t?[i,r]:i},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(ds),Object(i.dc)(ls))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(ds),i.dc(ls))},e}(),Os=n("S5bw"),Cs=n("bne5"),Ss=["fixedEl"],zs=["*"],Ts={resize:"resize",scroll:"scroll",touchstart:"touchstart",touchmove:"touchmove",touchend:"touchend",pageshow:"pageshow",load:"LOAD"};function _s(e){return function(e){return"undefined"!=typeof window&&e===window}(e)?{top:0,left:0,bottom:0}:e.getBoundingClientRect()}var ks=function(){function e(e,t,n,r,o,a,s){this.nzConfigService=n,this.scrollSrv=r,this.ngZone=o,this.platform=a,this.renderer=s,this.nzTarget=window,this.nzOffsetTop=null,this.nzOffsetBottom=null,this.nzChange=new i.n,this.positionChangeSubscription=Ft.a.EMPTY,this.offsetChanged$=new Os.a(1),this.destroy$=new kt.a,this.placeholderNode=e.nativeElement,this.document=t}return Object.defineProperty(e.prototype,"target",{get:function(){var e=this.nzTarget;return("string"==typeof e?this.document.querySelector(e):e)||window},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=e.nzTarget;(e.nzOffsetBottom||e.nzOffsetTop)&&this.offsetChanged$.next(),t&&this.registerListeners()},e.prototype.ngAfterViewInit=function(){this.registerListeners()},e.prototype.ngOnDestroy=function(){this.removeListeners()},e.prototype.registerListeners=function(){var e=this;this.removeListeners(),this.positionChangeSubscription=this.ngZone.runOutsideAngular((function(){return Tt.a.apply(void 0,Object(zt.g)(Object.keys(Ts).map((function(t){return Object(Cs.a)(e.target,t)})),[e.offsetChanged$.pipe(Object(ss.a)(e.destroy$),Object(Mt.a)((function(){return{}})))])).pipe(Object(Xa.a)(20)).subscribe((function(t){return e.updatePosition(t)}))})),this.timeout=setTimeout((function(){return e.updatePosition({})}))},e.prototype.removeListeners=function(){clearTimeout(this.timeout),this.positionChangeSubscription.unsubscribe(),this.destroy$.next(),this.destroy$.complete()},e.prototype.getOffset=function(e,t){var n=e.getBoundingClientRect(),i=_s(t),r=this.scrollSrv.getScroll(t,!0),o=this.scrollSrv.getScroll(t,!1),a=this.document.body;return{top:n.top-i.top+r-(a.clientTop||0),left:n.left-i.left+o-(a.clientLeft||0),width:n.width,height:n.height}},e.prototype.setAffixStyle=function(e,t){var n=this.affixStyle,i=this.target===window;if(!("scroll"===e.type&&n&&t&&i||Object(es.z)(n,t))){var r=!!t,o=this.fixedEl.nativeElement;this.renderer.setStyle(o,"cssText",Object(es.k)(t)),this.affixStyle=t,r?o.classList.add("ant-affix"):o.classList.remove("ant-affix"),(t&&!n||!t&&n)&&this.nzChange.emit(r)}},e.prototype.setPlaceholderStyle=function(e){var t=this.placeholderStyle;Object(es.z)(e,t)||(this.renderer.setStyle(this.placeholderNode,"cssText",Object(es.k)(e)),this.placeholderStyle=e)},e.prototype.syncPlaceholderStyle=function(e){if(this.affixStyle){this.renderer.setStyle(this.placeholderNode,"cssText",""),this.placeholderStyle=void 0;var t={width:this.placeholderNode.offsetWidth,height:this.fixedEl.nativeElement.offsetHeight};this.setAffixStyle(e,Object(zt.a)(Object(zt.a)({},this.affixStyle),t)),this.setPlaceholderStyle(t)}},e.prototype.updatePosition=function(e){if(this.platform.isBrowser){var t=this.target,n=this.nzOffsetTop,i=this.scrollSrv.getScroll(t,!0),r=this.getOffset(this.placeholderNode,t),o=this.fixedEl.nativeElement,a={width:o.offsetWidth,height:o.offsetHeight},s={top:!1,bottom:!1};"number"!=typeof n&&"number"!=typeof this.nzOffsetBottom?(s.top=!0,n=0):(s.top="number"==typeof n,s.bottom="number"==typeof this.nzOffsetBottom);var c=_s(t),u=t.innerHeight||t.clientHeight;if(i>=r.top-n&&s.top)this.setAffixStyle(e,{position:"fixed",top:c.top+n,left:c.left+r.left,width:l=r.width}),this.setPlaceholderStyle({width:l,height:a.height});else if(i<=r.top+a.height+this.nzOffsetBottom-u&&s.bottom){var l,p=t===window?0:window.innerHeight-c.bottom;this.setAffixStyle(e,{position:"fixed",bottom:p+this.nzOffsetBottom,left:c.left+r.left,width:l=r.width}),this.setPlaceholderStyle({width:l,height:r.height})}else e.type===Ts.resize&&this.affixStyle&&"fixed"===this.affixStyle.position&&this.placeholderNode.offsetWidth?this.setAffixStyle(e,Object(zt.a)(Object(zt.a)({},this.affixStyle),{width:this.placeholderNode.offsetWidth})):this.setAffixStyle(e),this.setPlaceholderStyle();"resize"===e.type&&this.syncPlaceholderStyle(e)}},Object(zt.b)([Object(Qa.b)("affix"),Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzOffsetTop",void 0),Object(zt.b)([Object(Qa.b)("affix"),Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzOffsetBottom",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(Vr.e),i.Tb(Qa.a),i.Tb(bs),i.Tb(i.z),i.Tb(Xr.a),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-affix"]],viewQuery:function(e,t){var n;1&e&&i.Jc(Ss,!0),2&e&&i.zc(n=i.ic())&&(t.fixedEl=n.first)},inputs:{nzTarget:"nzTarget",nzOffsetTop:"nzOffsetTop",nzOffsetBottom:"nzOffsetBottom"},outputs:{nzChange:"nzChange"},exportAs:["nzAffix"],features:[i.Bb],ngContentSelectors:zs,decls:7,vars:0,consts:[["fixedEl",""]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Zb(1,"div",null,0),i.Nc(3,"\n "),i.qc(4),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n "))},encapsulation:2,changeDetection:0}),e}(),Ds=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},providers:[ms],imports:[[Vr.c,Xr.b]]}),e}(),xs=n("Gb2T"),Es=n("wmq6"),Ns=n("G6CK");function js(e,t){if(1&e&&(i.Xb(0),i.Ub(1,"i",6),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzType",n.nzIconType||n.inferredIconType)("nzTheme",n.iconTheme)}}function Is(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Oc(n.nzMessage)}}function As(e,t){if(1&e&&(i.Zb(0,"span",7),i.Lc(1,Is,2,1,"ng-container",8),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzMessage)}}function Ms(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Oc(n.nzDescription)}}function Ls(e,t){if(1&e&&(i.Zb(0,"span",9),i.Lc(1,Ms,2,1,"ng-container",8),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzDescription)}}function Ps(e,t){1&e&&i.Ub(0,"i",13)}function Fs(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"span",14),i.Nc(2),i.Yb(),i.Wb()),2&e){var n=i.kc(4);i.Db(2),i.Oc(n.nzCloseText)}}function Rs(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Fs,3,1,"ng-container",8),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzCloseText)}}function Vs(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",10),i.hc("click",(function(){return i.Dc(n),i.kc(2).closeAlert()})),i.Lc(1,Ps,1,0,"ng-template",null,11,i.Mc),i.Lc(3,Rs,2,1,"ng-container",12),i.Yb()}if(2&e){var r=i.Ac(2),o=i.kc(2);i.Db(3),i.sc("ngIf",o.nzCloseText)("ngIfElse",r)}}function Bs(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",1),i.hc("@slideAlertMotion.done",(function(){return i.Dc(n),i.kc().onFadeAnimationDone()})),i.Lc(1,js,2,2,"ng-container",2),i.Lc(2,As,2,1,"span",3),i.Lc(3,Ls,2,1,"span",4),i.Lc(4,Vs,4,2,"button",5),i.Yb()}if(2&e){var r=i.kc();i.Jb("ant-alert-success","success"===r.nzType)("ant-alert-info","info"===r.nzType)("ant-alert-warning","warning"===r.nzType)("ant-alert-error","error"===r.nzType)("ant-alert-no-icon",!r.nzShowIcon)("ant-alert-banner",r.nzBanner)("ant-alert-closable",r.nzCloseable)("ant-alert-with-description",!!r.nzDescription),i.sc("@.disabled",r.nzNoAnimation)("@slideAlertMotion",void 0),i.Db(1),i.sc("ngIf",r.nzShowIcon),i.Db(1),i.sc("ngIf",r.nzMessage),i.Db(1),i.sc("ngIf",r.nzDescription),i.Db(1),i.sc("ngIf",r.nzCloseable||r.nzCloseText)}}var Ys=function(){function e(e,t){var n=this;this.nzConfigService=e,this.cdr=t,this.nzCloseText=null,this.nzIconType=null,this.nzMessage=null,this.nzDescription=null,this.nzType="info",this.nzCloseable=!1,this.nzShowIcon=!1,this.nzBanner=!1,this.nzNoAnimation=!1,this.nzOnClose=new i.n,this.closed=!1,this.iconTheme="fill",this.inferredIconType="info-circle",this.isTypeSet=!1,this.isShowIconSet=!1,this.destroy$=new kt.a,this.nzConfigService.getConfigChangeEventForComponent("alert").pipe(Object(ss.a)(this.destroy$)).subscribe((function(){n.cdr.markForCheck()}))}return e.prototype.closeAlert=function(){this.closed=!0},e.prototype.onFadeAnimationDone=function(){this.closed&&this.nzOnClose.emit(!0)},e.prototype.ngOnChanges=function(e){var t=e.nzDescription,n=e.nzType,i=e.nzBanner;if(e.nzShowIcon&&(this.isShowIconSet=!0),n)switch(this.isTypeSet=!0,this.nzType){case"error":this.inferredIconType="close-circle";break;case"success":this.inferredIconType="check-circle";break;case"info":this.inferredIconType="info-circle";break;case"warning":this.inferredIconType="exclamation-circle"}t&&(this.iconTheme=this.nzDescription?"outline":"fill"),i&&(this.isTypeSet||(this.nzType="warning"),this.isShowIconSet||(this.nzShowIcon=!0))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(Qa.b)("alert"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzCloseable",void 0),Object(zt.b)([Object(Qa.b)("alert"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzShowIcon",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzBanner",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzNoAnimation",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-alert"]],inputs:{nzCloseText:"nzCloseText",nzIconType:"nzIconType",nzMessage:"nzMessage",nzDescription:"nzDescription",nzType:"nzType",nzCloseable:"nzCloseable",nzShowIcon:"nzShowIcon",nzBanner:"nzBanner",nzNoAnimation:"nzNoAnimation"},outputs:{nzOnClose:"nzOnClose"},exportAs:["nzAlert"],features:[i.Bb],decls:1,vars:1,consts:[["class","ant-alert",3,"ant-alert-success","ant-alert-info","ant-alert-warning","ant-alert-error","ant-alert-no-icon","ant-alert-banner","ant-alert-closable","ant-alert-with-description",4,"ngIf"],[1,"ant-alert"],[4,"ngIf"],["class","ant-alert-message",4,"ngIf"],["class","ant-alert-description",4,"ngIf"],["type","button","tabindex","0","class","ant-alert-close-icon",3,"click",4,"ngIf"],["nz-icon","",1,"ant-alert-icon",3,"nzType","nzTheme"],[1,"ant-alert-message"],[4,"nzStringTemplateOutlet"],[1,"ant-alert-description"],["type","button","tabindex","0",1,"ant-alert-close-icon",3,"click"],["closeDefaultTemplate",""],[4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"],[1,"ant-alert-close-text"]],template:function(e,t){1&e&&i.Lc(0,Bs,5,22,"div",0),2&e&&i.sc("ngIf",!t.closed)},directives:[Vr.t,Ns.a,Es.b],encapsulation:2,data:{animation:[xs.f]},changeDetection:0}),e}(),Us=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ns.b,Es.a]]}),e}(),Hs=n("ryCu"),Ws=n("AJqF"),qs=["ink"];function Zs(e,t){}function $s(e,t){if(1&e&&(i.Zb(0,"nz-affix",2),i.Lc(1,Zs,0,0,"ng-template",3),i.Yb()),2&e){var n=i.kc(),r=i.Ac(2);i.sc("nzOffsetTop",n.nzOffsetTop)("nzTarget",n.container),i.Db(1),i.sc("ngTemplateOutlet",r)}}var Gs=function(e){return{fixed:e}};function Qs(e,t){if(1&e&&(i.Zb(0,"div",4),i.Zb(1,"div",5),i.Zb(2,"div",6),i.Ub(3,"div",7,8),i.Yb(),i.qc(5),i.Yb(),i.Yb()),2&e){var n=i.kc();i.sc("ngStyle",n.wrapperStyle),i.Db(1),i.sc("ngClass",i.vc(2,Gs,!n.nzAffix&&!n.nzShowInkInFixed))}}var Xs=["*"],Ks=["nzTemplate"],Js=["linkTitle"];function ec(e,t){if(1&e&&(i.Zb(0,"span"),i.Nc(1),i.Yb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.titleStr)}}function tc(e,t){if(!e||!e.getClientRects().length)return 0;var n=e.getBoundingClientRect();return n.width||n.height?t===window?n.top-e.ownerDocument.documentElement.clientTop:n.top-t.getBoundingClientRect().top:n.top}var nc=/#([^#]+)$/,ic=function(){function e(e,t,n,r,o,a,s){this.doc=e,this.nzConfigService=t,this.scrollSrv=n,this.cdr=r,this.platform=o,this.zone=a,this.renderer=s,this.nzAffix=!0,this.nzShowInkInFixed=!1,this.nzBounds=5,this.nzOffsetTop=void 0,this.nzTarget="",this.nzClick=new i.n,this.nzScroll=new i.n,this.visible=!1,this.wrapperStyle={"max-height":"100vh"},this.links=[],this.animating=!1,this.destroy$=new kt.a,this.handleScrollTimeoutID=-1}return e.prototype.registerLink=function(e){this.links.push(e)},e.prototype.unregisterLink=function(e){this.links.splice(this.links.indexOf(e),1)},e.prototype.getContainer=function(){return this.container||window},e.prototype.ngAfterViewInit=function(){this.registerScrollEvent()},e.prototype.ngOnDestroy=function(){clearTimeout(this.handleScrollTimeoutID),this.destroy$.next(),this.destroy$.complete()},e.prototype.registerScrollEvent=function(){var e=this;this.platform.isBrowser&&(this.destroy$.next(),this.zone.runOutsideAngular((function(){Object(Cs.a)(e.getContainer(),"scroll").pipe(Object(Ws.a)(50),Object(ss.a)(e.destroy$)).subscribe((function(){return e.handleScroll()}))})),this.handleScrollTimeoutID=setTimeout((function(){return e.handleScroll()})))},e.prototype.handleScroll=function(){var e=this;if("undefined"!=typeof document&&!this.animating){var t=[],n=(this.nzOffsetTop||0)+this.nzBounds;if(this.links.forEach((function(i){var r=nc.exec(i.nzHref.toString());if(r){var o=e.doc.getElementById(r[1]);if(o){var a=tc(o,e.getContainer());ae.top?t:e}));this.handleActive(i.comp)}else this.clearActive(),this.cdr.detectChanges();this.setVisible()}},e.prototype.clearActive=function(){this.links.forEach((function(e){e.unsetActive()}))},e.prototype.handleActive=function(e){this.clearActive(),e.setActive();var t=e.getLinkTitleElement();this.ink.nativeElement.style.top=t.offsetTop+t.clientHeight/2-4.5+"px",this.visible=!0,this.setVisible(),this.nzScroll.emit(e)},e.prototype.setVisible=function(){this.ink&&(this.visible?this.renderer.addClass(this.ink.nativeElement,"visible"):this.renderer.removeClass(this.ink.nativeElement,"visible"))},e.prototype.handleScrollTo=function(e){var t=this,n=this.doc.querySelector(e.nzHref);if(n){this.animating=!0;var i=this.scrollSrv.getScroll(this.getContainer())+tc(n,this.getContainer())-(this.nzOffsetTop||0);this.scrollSrv.scrollTo(this.getContainer(),i,void 0,(function(){t.animating=!1,t.handleActive(e)})),this.nzClick.emit(e.nzHref)}},e.prototype.ngOnChanges=function(e){var t=e.nzTarget,n=e.nzContainer;if(e.nzOffsetTop&&(this.wrapperStyle={"max-height":"calc(100vh - "+this.nzOffsetTop+"px)"}),n||t){var i=this.nzContainer||this.nzTarget;this.container="string"==typeof i?this.doc.querySelector(i):i,this.registerScrollEvent(),t&&Object(Hs.c)("'nzTarget' of 'nz-anchor' is deprecated and will be removed in 10.0.0.Please use 'nzContainer' instead.")}},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAffix",void 0),Object(zt.b)([Object(Qa.b)("anchor"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzShowInkInFixed",void 0),Object(zt.b)([Object(Qa.b)("anchor"),Object(es.b)(),Object(zt.d)("design:type",Number)],e.prototype,"nzBounds",void 0),Object(zt.b)([Object(es.b)(),Object(Qa.b)("anchor"),Object(zt.d)("design:type",Number)],e.prototype,"nzOffsetTop",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Vr.e),i.Tb(Qa.a),i.Tb(bs),i.Tb(i.h),i.Tb(Xr.a),i.Tb(i.z),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-anchor"]],viewQuery:function(e,t){var n;1&e&&i.Sc(qs,!0),2&e&&i.zc(n=i.ic())&&(t.ink=n.first)},inputs:{nzAffix:"nzAffix",nzShowInkInFixed:"nzShowInkInFixed",nzBounds:"nzBounds",nzOffsetTop:"nzOffsetTop",nzTarget:"nzTarget",nzContainer:"nzContainer"},outputs:{nzClick:"nzClick",nzScroll:"nzScroll"},exportAs:["nzAnchor"],features:[i.Bb],ngContentSelectors:Xs,decls:3,vars:2,consts:[[3,"nzOffsetTop","nzTarget",4,"ngIf","ngIfElse"],["content",""],[3,"nzOffsetTop","nzTarget"],[3,"ngTemplateOutlet"],[1,"ant-anchor-wrapper",3,"ngStyle"],[1,"ant-anchor",3,"ngClass"],[1,"ant-anchor-ink"],[1,"ant-anchor-ink-ball"],["ink",""]],template:function(e,t){if(1&e&&(i.rc(),i.Lc(0,$s,2,3,"nz-affix",0),i.Lc(1,Qs,6,4,"ng-template",null,1,i.Mc)),2&e){var n=i.Ac(2);i.sc("ngIf",t.nzAffix)("ngIfElse",n)}},directives:[Vr.t,ks,Vr.A,Vr.w,Vr.q],encapsulation:2,changeDetection:0}),e}(),rc=function(){function e(e,t,n,i){this.elementRef=e,this.anchorComp=t,this.platform=n,this.renderer=i,this.nzHref="#",this.titleStr="",this.renderer.addClass(e.nativeElement,"ant-anchor-link")}return Object.defineProperty(e.prototype,"nzTitle",{set:function(e){e instanceof i.M?(this.titleStr=null,this.titleTpl=e):this.titleStr=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.anchorComp.registerLink(this)},e.prototype.getLinkTitleElement=function(){return this.linkTitle.nativeElement},e.prototype.setActive=function(){this.renderer.addClass(this.elementRef.nativeElement,"ant-anchor-link-active")},e.prototype.unsetActive=function(){this.renderer.removeClass(this.elementRef.nativeElement,"ant-anchor-link-active")},e.prototype.goToClick=function(e){e.preventDefault(),e.stopPropagation(),this.platform.isBrowser&&this.anchorComp.handleScrollTo(this)},e.prototype.ngOnDestroy=function(){this.anchorComp.unregisterLink(this)},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(ic),i.Tb(Xr.a),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-link"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,Ks,!0),2&e&&i.zc(r=i.ic())&&(t.nzTemplate=r.first)},viewQuery:function(e,t){var n;1&e&&i.Sc(Js,!0),2&e&&i.zc(n=i.ic())&&(t.linkTitle=n.first)},inputs:{nzHref:"nzHref",nzTitle:"nzTitle"},exportAs:["nzLink"],ngContentSelectors:Xs,decls:4,vars:4,consts:[[1,"ant-anchor-link-title",3,"href","title","click"],["linkTitle",""],[4,"ngIf","ngIfElse"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"a",0,1),i.hc("click",(function(e){return t.goToClick(e)})),i.Lc(2,ec,2,1,"span",2),i.Yb(),i.qc(3)),2&e&&(i.tc("href",t.nzHref,i.Fc),i.tc("title",t.titleStr),i.Db(2),i.sc("ngIf",t.titleStr)("ngIfElse",t.titleTpl||t.nzTemplate))},directives:[Vr.t],encapsulation:2,changeDetection:0}),e}(),oc=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},providers:[ms],imports:[[Vr.c,Ds,Xr.b]]}),e}(),ac=n("+jMV"),sc=n("15JJ");function cc(e,t){if(1&e&&i.Ub(0,"span",7),2&e){var n=i.kc(2);i.sc("icon",n.nzAddOnBeforeIcon)("template",n.nzAddOnBefore)}}function uc(e,t){}function lc(e,t){if(1&e&&(i.Zb(0,"span",8),i.Lc(1,uc,0,0,"ng-template",9),i.Yb()),2&e){var n=i.kc(2),r=i.Ac(4);i.Jb("ant-input-affix-wrapper-sm",n.isSmall)("ant-input-affix-wrapper-lg",n.isLarge),i.Db(1),i.sc("ngTemplateOutlet",r)}}function pc(e,t){if(1&e&&i.Ub(0,"span",7),2&e){var n=i.kc(2);i.sc("icon",n.nzAddOnAfterIcon)("template",n.nzAddOnAfter)}}function hc(e,t){if(1&e&&(i.Zb(0,"span",4),i.Lc(1,cc,1,2,"span",5),i.Lc(2,lc,2,5,"span",6),i.Lc(3,pc,1,2,"span",5),i.Yb()),2&e){var n=i.kc(),r=i.Ac(6);i.Db(1),i.sc("ngIf",n.nzAddOnBefore||n.nzAddOnBeforeIcon),i.Db(1),i.sc("ngIf",n.isAffix)("ngIfElse",r),i.Db(1),i.sc("ngIf",n.nzAddOnAfter||n.nzAddOnAfterIcon)}}function dc(e,t){}function fc(e,t){if(1&e&&i.Lc(0,dc,0,0,"ng-template",9),2&e){i.kc(2);var n=i.Ac(4);i.sc("ngTemplateOutlet",n)}}function gc(e,t){if(1&e&&i.Lc(0,fc,1,1,"ng-template",10),2&e){var n=i.kc(),r=i.Ac(6);i.sc("ngIf",n.isAffix)("ngIfElse",r)}}function bc(e,t){if(1&e&&i.Ub(0,"span",13),2&e){var n=i.kc(2);i.sc("icon",n.nzPrefixIcon)("template",n.nzPrefix)}}function mc(e,t){}function vc(e,t){if(1&e&&i.Ub(0,"span",14),2&e){var n=i.kc(2);i.sc("icon",n.nzSuffixIcon)("template",n.nzSuffix)}}function yc(e,t){if(1&e&&(i.Lc(0,bc,1,2,"span",11),i.Lc(1,mc,0,0,"ng-template",9),i.Lc(2,vc,1,2,"span",12)),2&e){var n=i.kc(),r=i.Ac(6);i.sc("ngIf",n.nzPrefix||n.nzPrefixIcon),i.Db(1),i.sc("ngTemplateOutlet",r),i.Db(1),i.sc("ngIf",n.nzSuffix||n.nzSuffixIcon)}}function wc(e,t){1&e&&i.qc(0)}var Oc=["*"],Cc=["nz-input-group-slot",""];function Sc(e,t){if(1&e&&i.Ub(0,"i",2),2&e){var n=i.kc();i.sc("nzType",n.icon)}}function zc(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.template)}}var Tc=function(){function e(e,t){this.nzSize="default",this.disabled=!1,this.disabled$=new kt.a,e.addClass(t.nativeElement,"ant-input")}return e.prototype.ngOnChanges=function(e){e.disabled&&this.disabled$.next(this.disabled)},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"disabled",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.E),i.Tb(i.l))},e.\u0275dir=i.Ob({type:e,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostVars:6,hostBindings:function(e,t){2&e&&i.Jb("ant-input-disabled",t.disabled)("ant-input-lg","large"===t.nzSize)("ant-input-sm","small"===t.nzSize)},inputs:{nzSize:"nzSize",disabled:"disabled"},exportAs:["nzInput"],features:[i.Bb]}),e}(),_c=function(){function e(e){this.elementRef=e}return e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l))},e.\u0275dir=i.Ob({type:e,selectors:[["nz-input-group","nzSuffix",""],["nz-input-group","nzPrefix",""]]}),e}(),kc=function(){function e(e,t,n){this.focusMonitor=e,this.elementRef=t,this.cdr=n,this.nzAddOnBeforeIcon=null,this.nzAddOnAfterIcon=null,this.nzPrefixIcon=null,this.nzSuffixIcon=null,this.nzSize="default",this.nzSearch=!1,this.nzCompact=!1,this.isLarge=!1,this.isSmall=!1,this.isAffix=!1,this.isAddOn=!1,this.focused=!1,this.disabled=!1,this.destroy$=new kt.a}return e.prototype.updateChildrenInputSize=function(){var e=this;this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach((function(t){return t.nzSize=e.nzSize}))},e.prototype.ngOnInit=function(){var e=this;this.focusMonitor.monitor(this.elementRef,!0).pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.focused=!!t,e.cdr.markForCheck()}))},e.prototype.ngAfterContentInit=function(){var e=this;this.updateChildrenInputSize();var t=this.listOfNzInputDirective.changes.pipe(Object(Ka.a)(this.listOfNzInputDirective));t.pipe(Object(sc.a)((function(e){return Tt.a.apply(void 0,Object(zt.g)([t],e.map((function(e){return e.disabled$}))))})),Object(Wt.a)((function(){return t})),Object(Mt.a)((function(e){return e.some((function(e){return e.disabled}))})),Object(ss.a)(this.destroy$)).subscribe((function(t){e.disabled=t,e.cdr.markForCheck()}))},e.prototype.ngOnChanges=function(e){var t=e.nzSuffix,n=e.nzPrefix,i=e.nzPrefixIcon,r=e.nzSuffixIcon,o=e.nzAddOnAfter,a=e.nzAddOnBefore,s=e.nzAddOnAfterIcon,c=e.nzAddOnBeforeIcon;e.nzSize&&(this.updateChildrenInputSize(),this.isLarge="large"===this.nzSize,this.isSmall="small"===this.nzSize),(t||n||i||r)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(o||a||s||c)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzSearch",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzCompact",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(yo),i.Tb(i.l),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-input-group"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,Tc,!1),2&e&&i.zc(r=i.ic())&&(t.listOfNzInputDirective=r)},hostVars:32,hostBindings:function(e,t){2&e&&i.Jb("ant-input-group-compact",t.nzCompact)("ant-input-search-enter-button",t.nzSearch)("ant-input-search",t.nzSearch)("ant-input-search-sm",t.nzSearch&&t.isSmall)("ant-input-search-large",t.nzSearch&&t.isLarge)("ant-input-group-wrapper",t.isAddOn)("ant-input-group-wrapper-lg",t.isAddOn&&t.isLarge)("ant-input-group-wrapper-sm",t.isAddOn&&t.isSmall)("ant-input-affix-wrapper",t.isAffix&&!t.isAddOn)("ant-input-affix-wrapper-focused",t.isAffix&&t.focused)("ant-input-affix-wrapper-disabled",t.isAffix&&t.disabled)("ant-input-affix-wrapper-lg",t.isAffix&&!t.isAddOn&&t.isLarge)("ant-input-affix-wrapper-sm",t.isAffix&&!t.isAddOn&&t.isSmall)("ant-input-group",!t.isAffix&&!t.isAddOn)("ant-input-group-lg",!t.isAffix&&!t.isAddOn&&t.isLarge)("ant-input-group-sm",!t.isAffix&&!t.isAddOn&&t.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzSize:"nzSize",nzSearch:"nzSearch",nzCompact:"nzCompact",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzSuffix:"nzSuffix"},exportAs:["nzInputGroup"],features:[i.Bb],ngContentSelectors:Oc,decls:7,vars:2,consts:[["class","ant-input-wrapper ant-input-group",4,"ngIf","ngIfElse"],["noAddOnTemplate",""],["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template",4,"ngIf"],["class","ant-input-affix-wrapper",3,"ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg",4,"ngIf","ngIfElse"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper"],[3,"ngTemplateOutlet"],[3,"ngIf","ngIfElse"],["nz-input-group-slot","","type","prefix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","suffix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"]],template:function(e,t){if(1&e&&(i.rc(),i.Lc(0,hc,4,4,"span",0),i.Lc(1,gc,1,2,"ng-template",null,1,i.Mc),i.Lc(3,yc,3,3,"ng-template",null,2,i.Mc),i.Lc(5,wc,1,0,"ng-template",null,3,i.Mc)),2&e){var n=i.Ac(2);i.sc("ngIf",t.isAddOn)("ngIfElse",n)}},directives:function(){return[Vr.t,xc,Vr.A]},encapsulation:2,changeDetection:0}),e}(),Dc=function(){function e(e,t,n,i){this.elementRef=e,this.ngZone=t,this.platform=n,this.resizeService=i,this.autosize=!1,this.el=this.elementRef.nativeElement,this.maxHeight=null,this.minHeight=null,this.destroy$=new kt.a,this.inputGap=10}return Object.defineProperty(e.prototype,"nzAutosize",{set:function(e){var t;"string"==typeof e?this.autosize=!0:"string"!=typeof(t=e)&&"boolean"!=typeof t&&(t.maxRows||t.minRows)&&(this.autosize=e,this.minRows=e.minRows,this.maxRows=e.maxRows,this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight())},enumerable:!0,configurable:!0}),e.prototype.resizeToFitContent=function(e){var t=this;if(void 0===e&&(e=!1),this.cacheTextareaLineHeight(),this.cachedLineHeight){var n=this.el,i=n.value;if(e||this.minRows!==this.previousMinRows||i!==this.previousValue){var r=n.placeholder;n.classList.add("nz-textarea-autosize-measuring"),n.placeholder="";var o=Math.round((n.scrollHeight-this.inputGap)/this.cachedLineHeight)*this.cachedLineHeight+this.inputGap;null!==this.maxHeight&&o>this.maxHeight&&(o=this.maxHeight),null!==this.minHeight&&o=0)&&this.el.parentNode){var e=this.el.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.el.parentNode.appendChild(e),this.cachedLineHeight=e.clientHeight-this.inputGap,this.el.parentNode.removeChild(e),this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight()}},e.prototype.setMinHeight=function(){var e=this.minRows&&this.cachedLineHeight?this.minRows*this.cachedLineHeight+this.inputGap:null;return null!==e&&(this.el.style.minHeight=e+"px"),e},e.prototype.setMaxHeight=function(){var e=this.maxRows&&this.cachedLineHeight?this.maxRows*this.cachedLineHeight+this.inputGap:null;return null!==e&&(this.el.style.maxHeight=e+"px"),e},e.prototype.noopInputHandler=function(){},e.prototype.ngAfterViewInit=function(){var e=this;this.autosize&&this.platform.isBrowser&&(this.resizeToFitContent(),this.resizeService.subscribe().pipe(Object(ss.a)(this.destroy$)).subscribe((function(){return e.resizeToFitContent(!0)})))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.ngDoCheck=function(){this.autosize&&this.platform.isBrowser&&this.resizeToFitContent()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.z),i.Tb(Xr.a),i.Tb(ds))},e.\u0275dir=i.Ob({type:e,selectors:[["textarea","nzAutosize",""]],hostAttrs:["rows","1"],hostBindings:function(e,t){1&e&&i.hc("input",(function(){return t.noopInputHandler()}))},inputs:{nzAutosize:"nzAutosize"},exportAs:["nzAutosize"]}),e}(),xc=function(){function e(){this.icon=null,this.type=null,this.template=null}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function(e,t){2&e&&i.Jb("ant-input-group-addon","addon"===t.type)("ant-input-prefix","prefix"===t.type)("ant-input-suffix","suffix"===t.type)},inputs:{icon:"icon",type:"type",template:"template"},attrs:Cc,decls:2,vars:2,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(e,t){1&e&&(i.Lc(0,Sc,1,1,"i",0),i.Lc(1,zc,2,1,"ng-container",1)),2&e&&(i.sc("ngIf",t.icon),i.Db(1),i.sc("nzStringTemplateOutlet",t.template))},directives:[Vr.t,Es.b,Ns.a],encapsulation:2,changeDetection:0}),e}(),Ec=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ns.b,Xr.b,Es.a]]}),e}(),Nc=n("T1DM"),jc=n("VGuC");function Ic(e,t){void 0===t&&(t=Nc.a);var n=Object(jc.a)(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new Ac(n,t))}}var Ac=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new Mc(e,this.delay,this.scheduler))},e}(),Mc=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.delay=n,r.scheduler=i,r.queue=[],r.active=!1,r.errored=!1,r}return zt.c(t,e),t.dispatch=function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var o=Math.max(0,n[0].time-i.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.destination.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,n=new Lc(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(xt.a.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.scheduleNotification(xt.a.createComplete()),this.unsubscribe()},t}(Et.a),Lc=function(){return function(e,t){this.time=e,this.notification=t}}(),Pc=function(){function e(e,t){this.keySelector=e,this.flushes=t}return e.prototype.call=function(e,t){return t.subscribe(new Fc(e,this.keySelector,this.flushes))},e}(),Fc=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.keySelector=n,r.values=new Set,i&&r.add(Object($t.a)(r,i)),r}return zt.c(t,e),t.prototype.notifyNext=function(e,t,n,i,r){this.values.clear()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype._next=function(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)},t.prototype._useKeySelector=function(e){var t,n=this.destination;try{t=this.keySelector(e)}catch(i){return void n.error(i)}this._finalizeNext(t,e)},t.prototype._finalizeNext=function(e,t){var n=this.values;n.has(e)||(n.add(e),this.destination.next(t))},t}(qt.a);function Rc(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.nzLabel)}}var Vc=[[["nz-auto-option"]]],Bc=["nz-auto-option"],Yc=["*"],Uc=["panel"],Hc=["content"];function Wc(e,t){}function qc(e,t){1&e&&i.Lc(0,Wc,0,0,"ng-template")}function Zc(e,t){1&e&&i.qc(0)}function $c(e,t){if(1&e&&(i.Zb(0,"nz-auto-option",8),i.Nc(1),i.Yb()),2&e){var n=t.$implicit;i.sc("nzValue",n)("nzLabel",n&&n.label?n.label:n),i.Db(1),i.Pc(" ",n&&n.label?n.label:n," ")}}function Gc(e,t){if(1&e&&i.Lc(0,$c,2,3,"nz-auto-option",7),2&e){var n=i.kc(2);i.sc("ngForOf",n.nzDataSource)}}function Qc(e,t){if(1&e&&(i.Zb(0,"div",0,1),i.Zb(2,"div",2),i.Zb(3,"div",3),i.Lc(4,qc,1,0,void 0,4),i.Yb(),i.Yb(),i.Yb(),i.Lc(5,Zc,1,0,"ng-template",null,5,i.Mc),i.Lc(7,Gc,1,1,"ng-template",null,6,i.Mc)),2&e){var n=i.Ac(6),r=i.Ac(8),o=i.kc();i.Jb("ant-select-dropdown-hidden",!o.showPanel),i.sc("ngClass",o.nzOverlayClassName)("ngStyle",o.nzOverlayStyle)("nzNoAnimation",null==o.noAnimation?null:o.noAnimation.nzNoAnimation)("@slideMotion",o.dropDownPosition)("@.disabled",null==o.noAnimation?null:o.noAnimation.nzNoAnimation),i.Db(4),i.sc("ngTemplateOutlet",o.nzDataSource?r:n)}}var Xc=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-auto-optgroup"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzAutoOptgroup"],ngContentSelectors:Bc,decls:3,vars:1,consts:[[1,"ant-select-item","ant-select-item-group"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(i.rc(Vc),i.Zb(0,"div",0),i.Lc(1,Rc,2,1,"ng-container",1),i.Yb(),i.qc(2)),2&e&&(i.Db(1),i.sc("nzStringTemplateOutlet",t.nzLabel))},directives:[Es.b],encapsulation:2,changeDetection:0}),e}(),Kc=function(){return function(e,t){void 0===t&&(t=!1),this.source=e,this.isUserInput=t}}(),Jc=function(){function e(e,t,n){this.changeDetectorRef=e,this.element=t,this.nzAutocompleteOptgroupComponent=n,this.nzDisabled=!1,this.selectionChange=new i.n,this.mouseEntered=new i.n,this.active=!1,this.selected=!1}return e.prototype.select=function(e){void 0===e&&(e=!0),this.selected=!0,this.changeDetectorRef.markForCheck(),e&&this.emitSelectionChangeEvent()},e.prototype.onMouseEnter=function(){this.mouseEntered.emit(this)},e.prototype.deselect=function(){this.selected=!1,this.changeDetectorRef.markForCheck(),this.emitSelectionChangeEvent()},e.prototype.getLabel=function(){return this.nzLabel||this.nzValue.toString()},e.prototype.setActiveStyles=function(){this.active||(this.active=!0,this.changeDetectorRef.markForCheck())},e.prototype.setInactiveStyles=function(){this.active&&(this.active=!1,this.changeDetectorRef.markForCheck())},e.prototype.scrollIntoViewIfNeeded=function(){Object(es.y)(this.element.nativeElement)},e.prototype.selectViaInteraction=function(){this.nzDisabled||(this.selected=!this.selected,this.selected?this.setActiveStyles():this.setInactiveStyles(),this.emitSelectionChangeEvent(!0),this.changeDetectorRef.markForCheck())},e.prototype.emitSelectionChangeEvent=function(e){void 0===e&&(e=!1),this.selectionChange.emit(new Kc(this,e))},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(i.l),i.Tb(Xc,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-auto-option"]],hostAttrs:["role","menuitem",1,"ant-select-item","ant-select-item-option"],hostVars:10,hostBindings:function(e,t){1&e&&i.hc("click",(function(){return t.selectViaInteraction()}))("mouseenter",(function(){return t.onMouseEnter()}))("mousedown",(function(e){return e.preventDefault()})),2&e&&(i.Eb("aria-selected",t.selected.toString())("aria-disabled",t.nzDisabled.toString()),i.Jb("ant-select-item-option-grouped",t.nzAutocompleteOptgroupComponent)("ant-select-item-option-selected",t.selected)("ant-select-item-option-active",t.active)("ant-select-item-option-disabled",t.nzDisabled))},inputs:{nzDisabled:"nzDisabled",nzValue:"nzValue",nzLabel:"nzLabel"},outputs:{selectionChange:"selectionChange",mouseEntered:"mouseEntered"},exportAs:["nzAutoOption"],ngContentSelectors:Yc,decls:2,vars:0,consts:[[1,"ant-select-item-option-content"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"div",0),i.qc(1),i.Yb())},encapsulation:2,changeDetection:0}),e}(),eu=function(){function e(e,t,n){var r=this;this.changeDetectorRef=e,this.ngZone=t,this.noAnimation=n,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzDefaultActiveFirstOption=!0,this.nzBackfill=!1,this.compareWith=function(e,t){return e===t},this.selectionChange=new i.n,this.showPanel=!0,this.isOpen=!1,this.dropDownPosition="bottom",this.activeItemIndex=-1,this.selectionChangeSubscription=Ft.a.EMPTY,this.optionMouseEnterSubscription=Ft.a.EMPTY,this.dataSourceChangeSubscription=Ft.a.EMPTY,this.optionSelectionChanges=Object(Dt.a)((function(){return r.options?Tt.a.apply(void 0,Object(zt.g)(r.options.map((function(e){return e.selectionChange})))):r.ngZone.onStable.asObservable().pipe(Object(en.a)(1),Object(sc.a)((function(){return r.optionSelectionChanges})))})),this.optionMouseEnter=Object(Dt.a)((function(){return r.options?Tt.a.apply(void 0,Object(zt.g)(r.options.map((function(e){return e.mouseEntered})))):r.ngZone.onStable.asObservable().pipe(Object(en.a)(1),Object(sc.a)((function(){return r.optionMouseEnter})))}))}return Object.defineProperty(e.prototype,"options",{get:function(){return this.nzDataSource?this.fromDataSourceOptions:this.fromContentOptions},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this.nzDataSource||this.optionsInit()},e.prototype.ngAfterViewInit=function(){this.nzDataSource&&this.optionsInit()},e.prototype.ngOnDestroy=function(){this.dataSourceChangeSubscription.unsubscribe(),this.selectionChangeSubscription.unsubscribe(),this.optionMouseEnterSubscription.unsubscribe()},e.prototype.setVisibility=function(){this.showPanel=!!this.options.length,this.changeDetectorRef.markForCheck()},e.prototype.setActiveItem=function(e){var t=this.options.toArray()[e];t&&!t.active&&(this.activeItem=t,this.activeItemIndex=e,this.clearSelectedOptions(this.activeItem),this.activeItem.setActiveStyles(),this.changeDetectorRef.markForCheck())},e.prototype.setNextItemActive=function(){this.setActiveItem(this.activeItemIndex+1<=this.options.length-1?this.activeItemIndex+1:0)},e.prototype.setPreviousItemActive=function(){this.setActiveItem(this.activeItemIndex-1<0?this.options.length-1:this.activeItemIndex-1)},e.prototype.getOptionIndex=function(e){var t=this;return this.options.reduce((function(n,i,r){return-1===n?t.compareWith(e,i.nzValue)?r:-1:n}),-1)},e.prototype.getOption=function(e){var t=this;return this.options.find((function(n){return t.compareWith(e,n.nzValue)}))||null},e.prototype.updatePosition=function(e){this.dropDownPosition=e,this.changeDetectorRef.markForCheck()},e.prototype.optionsInit=function(){var e=this;this.setVisibility(),this.subscribeOptionChanges(),this.dataSourceChangeSubscription=(this.nzDataSource?this.fromDataSourceOptions.changes:this.fromContentOptions.changes).subscribe((function(t){!t.dirty&&e.isOpen&&setTimeout((function(){return e.setVisibility()})),e.subscribeOptionChanges()}))},e.prototype.clearSelectedOptions=function(e,t){void 0===t&&(t=!1),this.options.forEach((function(n){n!==e&&(t&&n.deselect(),n.setInactiveStyles())}))},e.prototype.subscribeOptionChanges=function(){var e=this;this.selectionChangeSubscription.unsubscribe(),this.selectionChangeSubscription=this.optionSelectionChanges.pipe(Object(Pt.a)((function(e){return e.isUserInput}))).subscribe((function(t){t.source.select(),t.source.setActiveStyles(),e.activeItem=t.source,e.activeItemIndex=e.getOptionIndex(e.activeItem.nzValue),e.clearSelectedOptions(t.source,!0),e.selectionChange.emit(t.source)})),this.optionMouseEnterSubscription.unsubscribe(),this.optionMouseEnterSubscription=this.optionMouseEnter.subscribe((function(t){t.setActiveStyles(),e.activeItem=t,e.activeItemIndex=e.getOptionIndex(e.activeItem.nzValue),e.clearSelectedOptions(t)}))},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDefaultActiveFirstOption",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzBackfill",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(i.z),i.Tb(ac.a,9))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-autocomplete"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,Jc,!0),2&e&&i.zc(r=i.ic())&&(t.fromContentOptions=r)},viewQuery:function(e,t){var n;1&e&&(i.Sc(i.M,!0),i.Sc(Uc,!0),i.Sc(Hc,!0),i.Sc(Jc,!0)),2&e&&(i.zc(n=i.ic())&&(t.template=n.first),i.zc(n=i.ic())&&(t.panel=n.first),i.zc(n=i.ic())&&(t.content=n.first),i.zc(n=i.ic())&&(t.fromDataSourceOptions=n))},inputs:{nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzDefaultActiveFirstOption:"nzDefaultActiveFirstOption",nzBackfill:"nzBackfill",compareWith:"compareWith",nzWidth:"nzWidth",nzDataSource:"nzDataSource"},outputs:{selectionChange:"selectionChange"},exportAs:["nzAutocomplete"],ngContentSelectors:Yc,decls:1,vars:0,consts:[[1,"ant-select-dropdown","ant-select-dropdown-placement-bottomLeft",3,"ngClass","ngStyle","nzNoAnimation"],["panel",""],[2,"max-height","256px","overflow-y","auto","overflow-anchor","none"],[2,"display","flex","flex-direction","column"],[4,"ngTemplateOutlet"],["contentTemplate",""],["optionsTemplate",""],[3,"nzValue","nzLabel",4,"ngFor","ngForOf"],[3,"nzValue","nzLabel"]],template:function(e,t){1&e&&(i.rc(),i.Lc(0,Qc,9,8,"ng-template"))},directives:[Vr.q,Vr.w,ac.a,Vr.A,Vr.s,Jc],encapsulation:2,data:{animation:[xs.g]},changeDetection:0}),e}(),tu={provide:Ot.m,useExisting:Object(i.V)((function(){return nu})),multi:!0},nu=function(){function e(e,t,n,i,r,o){this.elementRef=e,this.overlay=t,this.viewContainerRef=n,this.ngZone=i,this.nzInputGroupWhitSuffixOrPrefixDirective=r,this.document=o,this.onChange=function(){},this.onTouched=function(){},this.panelOpen=!1,this.destroy$=new kt.a,this.overlayRef=null,this.portal=null,this.previousValue=null}return Object.defineProperty(e.prototype,"activeOption",{get:function(){if(this.nzAutocomplete&&this.nzAutocomplete.options.length)return this.nzAutocomplete.activeItem},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.destroyPanel()},e.prototype.writeValue=function(e){var t=this;Promise.resolve(null).then((function(){return t.setTriggerValue(e)}))},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.elementRef.nativeElement.disabled=e,this.closePanel()},e.prototype.openPanel=function(){this.previousValue=this.elementRef.nativeElement.value,this.attachOverlay(),this.updateStatus()},e.prototype.closePanel=function(){this.panelOpen&&(this.nzAutocomplete.isOpen=this.panelOpen=!1,this.overlayRef&&this.overlayRef.hasAttached()&&(this.selectionChangeSubscription.unsubscribe(),this.overlayBackdropClickSubscription.unsubscribe(),this.overlayPositionChangeSubscription.unsubscribe(),this.optionsChangeSubscription.unsubscribe(),this.overlayRef.dispose(),this.overlayRef=null,this.portal=null))},e.prototype.handleKeydown=function(e){var t=e.keyCode,n=t===Zr.k||t===Zr.c;t===Zr.e&&e.preventDefault(),!this.panelOpen||t!==Zr.e&&t!==Zr.j?this.panelOpen&&t===Zr.d?this.nzAutocomplete.showPanel&&this.activeOption&&(e.preventDefault(),this.activeOption.selectViaInteraction()):this.panelOpen&&n&&this.nzAutocomplete.showPanel&&(e.stopPropagation(),e.preventDefault(),t===Zr.k?this.nzAutocomplete.setPreviousItemActive():this.nzAutocomplete.setNextItemActive(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded(),this.doBackfill()):(this.activeOption&&this.activeOption.getLabel()!==this.previousValue&&this.setTriggerValue(this.previousValue),this.closePanel())},e.prototype.handleInput=function(e){var t=e.target,n=this.document,i=t.value;"number"===t.type&&(i=""===i?null:parseFloat(i)),this.previousValue!==i&&(this.previousValue=i,this.onChange(i),this.canOpen()&&n.activeElement===e.target&&this.openPanel())},e.prototype.handleFocus=function(){this.canOpen()&&this.openPanel()},e.prototype.handleBlur=function(){this.onTouched()},e.prototype.subscribeOptionsChange=function(){var e=this,t=this.ngZone.onStable.asObservable().pipe(Object(en.a)(1)),n=this.nzAutocomplete.options.changes.pipe(Object($r.a)((function(){return e.positionStrategy.reapplyLastPosition()})),Ic(0));return Object(Tt.a)(t,n).subscribe((function(){e.resetActiveItem(),e.panelOpen&&e.overlayRef.updatePosition()}))},e.prototype.subscribeSelectionChange=function(){var e=this;return this.nzAutocomplete.selectionChange.subscribe((function(t){e.setValueAndClose(t)}))},e.prototype.subscribeOverlayBackdropClick=function(){var e=this;return Object(Tt.a)(Object(Cs.a)(this.document,"click"),Object(Cs.a)(this.document,"touchend")).subscribe((function(t){var n=t.target;n!==e.elementRef.nativeElement&&!e.overlayRef.overlayElement.contains(n)&&e.panelOpen&&e.closePanel()}))},e.prototype.subscribeOverlayPositionChange=function(){var e=this;return this.positionStrategy.positionChanges.pipe(Object(Mt.a)((function(e){return e.connectionPair.originY})),(function(e){return e.lift(new Pc(void 0,void 0))}),Ic(0)).subscribe((function(t){e.nzAutocomplete.updatePosition(t)}))},e.prototype.attachOverlay=function(){var e=this;if(!this.nzAutocomplete)throw Error("Attempting to open an undefined instance of `nz-autocomplete`. Make sure that the id passed to the `nzAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");!this.portal&&this.nzAutocomplete.template&&(this.portal=new Wr.g(this.nzAutocomplete.template,this.viewContainerRef)),this.overlayRef||(this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayPositionChangeSubscription=this.subscribeOverlayPositionChange(),this.selectionChangeSubscription=this.subscribeSelectionChange(),this.overlayBackdropClickSubscription=this.subscribeOverlayBackdropClick(),this.optionsChangeSubscription=this.subscribeOptionsChange(),this.overlayRef.detachments().pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.closePanel()}))),this.nzAutocomplete.isOpen=this.panelOpen=!0},e.prototype.updateStatus=function(){this.overlayRef&&this.overlayRef.updateSize({width:this.nzAutocomplete.nzWidth||this.getHostWidth()}),this.nzAutocomplete.setVisibility(),this.resetActiveItem(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded()},e.prototype.destroyPanel=function(){this.overlayRef&&this.closePanel()},e.prototype.getOverlayConfig=function(){return new Ur.f({positionStrategy:this.getOverlayPosition(),disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:this.nzAutocomplete.nzWidth||this.getHostWidth()})},e.prototype.getConnectedElement=function(){return this.nzInputGroupWhitSuffixOrPrefixDirective?this.nzInputGroupWhitSuffixOrPrefixDirective.elementRef:this.elementRef},e.prototype.getHostWidth=function(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width},e.prototype.getOverlayPosition=function(){var e=[new Ur.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new Ur.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions(e),this.positionStrategy},e.prototype.resetActiveItem=function(){var e=this.nzAutocomplete.getOptionIndex(this.previousValue);this.nzAutocomplete.clearSelectedOptions(null,!0),-1!==e?(this.nzAutocomplete.setActiveItem(e),this.nzAutocomplete.activeItem.select(!1)):this.nzAutocomplete.setActiveItem(this.nzAutocomplete.nzDefaultActiveFirstOption?0:-1)},e.prototype.setValueAndClose=function(e){var t=e.nzValue;this.setTriggerValue(e.getLabel()),this.onChange(t),this.elementRef.nativeElement.focus(),this.closePanel()},e.prototype.setTriggerValue=function(e){var t=this.nzAutocomplete.getOption(e),n=t?t.getLabel():e;this.elementRef.nativeElement.value=null!=n?n:"",this.nzAutocomplete.nzBackfill||(this.previousValue=n)},e.prototype.doBackfill=function(){this.nzAutocomplete.nzBackfill&&this.nzAutocomplete.activeItem&&this.setTriggerValue(this.nzAutocomplete.activeItem.getLabel())},e.prototype.canOpen=function(){var e=this.elementRef.nativeElement;return!e.readOnly&&!e.disabled},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(Ur.e),i.Tb(i.Q),i.Tb(i.z),i.Tb(_c,8),i.Tb(Vr.e,8))},e.\u0275dir=i.Ob({type:e,selectors:[["input","nzAutocomplete",""],["textarea","nzAutocomplete",""]],hostAttrs:["autocomplete","off","aria-autocomplete","list"],hostBindings:function(e,t){1&e&&i.hc("focusin",(function(){return t.handleFocus()}))("blur",(function(){return t.handleBlur()}))("input",(function(e){return t.handleInput(e)}))("keydown",(function(e){return t.handleKeydown(e)}))},inputs:{nzAutocomplete:"nzAutocomplete"},exportAs:["nzAutocompleteTrigger"],features:[i.Cb([tu])]}),e}(),iu=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ur.i,Ot.j,Es.a,ac.b,Ec]]}),e}(),ru=["textEl"];function ou(e,t){if(1&e&&i.Ub(0,"i",3),2&e){var n=i.kc();i.sc("nzType",n.nzIcon)}}function au(e,t){if(1&e){var n=i.ac();i.Zb(0,"img",4),i.hc("error",(function(e){return i.Dc(n),i.kc().imgError(e)})),i.Yb()}if(2&e){var r=i.kc();i.sc("src",r.nzSrc,i.Fc),i.Eb("srcset",r.nzSrcSet,i.Fc)("alt",r.nzAlt)}}function su(e,t){if(1&e&&(i.Zb(0,"span",5,6),i.Nc(2),i.Yb()),2&e){var n=i.kc();i.sc("ngStyle",n.textStyles),i.Db(2),i.Oc(n.nzText)}}var cu=function(){function e(e,t,n,r){this.nzConfigService=e,this.elementRef=t,this.cdr=n,this.platform=r,this.nzShape="circle",this.nzSize="default",this.nzError=new i.n,this.hasText=!1,this.hasSrc=!0,this.hasIcon=!1,this.textStyles={},this.classMap={},this.customSize=null,this.el=this.elementRef.nativeElement}return e.prototype.imgError=function(e){this.nzError.emit(e),e.defaultPrevented||(this.hasSrc=!1,this.hasIcon=!1,this.hasText=!1,this.nzIcon?this.hasIcon=!0:this.nzText&&(this.hasText=!0),this.cdr.detectChanges(),this.setSizeStyle(),this.notifyCalc())},e.prototype.ngOnChanges=function(){this.hasText=!this.nzSrc&&!!this.nzText,this.hasIcon=!this.nzSrc&&!!this.nzIcon,this.hasSrc=!!this.nzSrc,this.setSizeStyle(),this.notifyCalc()},e.prototype.calcStringSize=function(){if(this.hasText){var e=this.textEl.nativeElement.offsetWidth,t=this.el.getBoundingClientRect().width;this.textStyles={transform:"scale("+(t-8this.nzVisibilityHeight&&(this.visible=!this.visible,this.cd.detectChanges())},e.prototype.registerScrollEvent=function(){var e=this;this.platform.isBrowser&&(this.scrollListenerDestroy$.next(),this.handleScroll(),this.zone.runOutsideAngular((function(){Object(Cs.a)(e.getTarget(),"scroll").pipe(Object(Ws.a)(50),Object(ss.a)(e.scrollListenerDestroy$)).subscribe((function(){return e.handleScroll()}))})))},e.prototype.ngOnDestroy=function(){this.scrollListenerDestroy$.next(),this.scrollListenerDestroy$.complete()},e.prototype.ngOnChanges=function(e){e.nzTarget&&(this.target="string"==typeof this.nzTarget?this.doc.querySelector(this.nzTarget):this.nzTarget,this.registerScrollEvent())},Object(zt.b)([Object(Qa.b)("backTop"),Object(es.b)(),Object(zt.d)("design:type",Number)],e.prototype,"nzVisibilityHeight",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Vr.e),i.Tb(Qa.a),i.Tb(bs),i.Tb(Xr.a),i.Tb(i.h),i.Tb(i.z))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-back-top"]],inputs:{nzVisibilityHeight:"nzVisibilityHeight",nzTemplate:"nzTemplate",nzTarget:"nzTarget"},outputs:{nzClick:"nzClick"},exportAs:["nzBackTop"],features:[i.Bb],decls:1,vars:1,consts:[["class","ant-back-top",3,"click",4,"ngIf"],[1,"ant-back-top",3,"click"],["defaultContent",""],[3,"ngTemplateOutlet"],[1,"ant-back-top-content"],[1,"ant-back-top-icon"]],template:function(e,t){1&e&&i.Lc(0,hu,4,2,"div",0),2&e&&i.sc("ngIf",t.visible)},directives:[Vr.t,Vr.A],encapsulation:2,data:{animation:[xs.b]},changeDetection:0}),e}(),fu=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},providers:[ms],imports:[[Vr.c,Xr.b]]}),e}(),gu=["contentElement"];function bu(e,t){if(1&e&&i.Ub(0,"span",4),2&e){var n=i.kc();i.Gb("ant-badge-status-dot ant-badge-status-",n.nzStatus||n.presetColor,""),i.Kc("background",!n.presetColor&&n.nzColor,i.Mb),i.sc("ngStyle",n.nzStyle)}}function mu(e,t){if(1&e&&(i.Zb(0,"span",5),i.Nc(1),i.Yb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.nzText)}}function vu(e,t){if(1&e&&(i.Zb(0,"p",13),i.Nc(1),i.Yb()),2&e){var n=t.$implicit,r=i.kc(3).index,o=i.kc(3);i.Jb("current",n===o.countArray[r]),i.Db(1),i.Pc(" ",n," ")}}function yu(e,t){if(1&e&&(i.Xb(0),i.Lc(1,vu,2,3,"p",12),i.Wb()),2&e){var n=i.kc(5);i.Db(1),i.sc("ngForOf",n.countSingleArray)}}function wu(e,t){if(1&e&&(i.Zb(0,"span",11),i.Lc(1,yu,2,1,"ng-container",9),i.Yb()),2&e){var n=i.kc().index,r=i.kc(3);i.Kc("transform","translateY("+100*(0-r.countArray[n])+"%)"),i.Db(1),i.sc("ngIf",!r.nzDot&&void 0!==r.countArray[n])}}function Ou(e,t){if(1&e&&(i.Xb(0),i.Lc(1,wu,2,3,"span",10),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.sc("ngIf",n.count<=n.nzOverflowCount)}}function Cu(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Pc("",n.nzOverflowCount,"+")}}function Su(e,t){if(1&e&&(i.Zb(0,"sup",7),i.Lc(1,Ou,2,1,"ng-container",8),i.Lc(2,Cu,2,1,"ng-container",9),i.Yb()),2&e){var n=i.kc(2);i.Kc("right",n.nzOffset&&n.nzOffset[0]?0-n.nzOffset[0]:null,"px")("margin-top",n.nzOffset&&n.nzOffset[1]?n.nzOffset[1]:null,"px"),i.Jb("ant-badge-count",!n.nzDot)("ant-badge-dot",n.nzDot)("ant-badge-multiple-words",n.countArray.length>=2),i.sc("@.disabled",n.notWrapper)("@zoomBadgeMotion",void 0)("ngStyle",n.nzStyle),i.Eb("title",null===n.nzTitle?"":n.nzTitle||n.nzCount),i.Db(1),i.sc("ngForOf",n.maxNumberArray),i.Db(1),i.sc("ngIf",n.count>n.nzOverflowCount)}}function zu(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Su,3,16,"sup",6),i.Wb()),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",n.showSup&&n.viewInit)}}var Tu=["*"],_u=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"],ku=function(){function e(e,t,n,i,r,o){this.nzConfigService=e,this.renderer=t,this.elementRef=n,this.contentObserver=i,this.cdr=r,this.ngZone=o,this.destroy$=new kt.a,this.notWrapper=!0,this.viewInit=!1,this.maxNumberArray=[],this.countArray=[],this.countSingleArray=[0,1,2,3,4,5,6,7,8,9],this.presetColor=null,this.count=0,this.nzShowZero=!1,this.nzShowDot=!0,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null}return e.prototype.checkContent=function(){var e;this.notWrapper=Object(es.m)(null===(e=this.contentElement)||void 0===e?void 0:e.nativeElement),this.notWrapper?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-not-a-wrapper"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-not-a-wrapper")},Object.defineProperty(e.prototype,"showSup",{get:function(){return this.nzShowDot&&this.nzDot||this.count>0||0===this.count&&this.nzShowZero},enumerable:!0,configurable:!0}),e.prototype.generateMaxNumberArray=function(){this.maxNumberArray=this.nzOverflowCount.toString().split("")},e.prototype.ngOnInit=function(){this.generateMaxNumberArray()},e.prototype.ngAfterViewInit=function(){var e=this;this.ngZone.onStable.pipe(Object(en.a)(1)).subscribe((function(){e.viewInit=!0,e.cdr.markForCheck()})),this.contentObserver.observe(this.contentElement).pipe(Object(Ka.a)(!0),Object(ss.a)(this.destroy$)).subscribe((function(){e.checkContent()}))},e.prototype.ngOnChanges=function(e){var t=e.nzOverflowCount,n=e.nzCount,r=e.nzColor;!n||n.currentValue instanceof i.M||(this.count=Math.max(0,n.currentValue),this.countArray=this.count.toString().split("").map((function(e){return+e}))),t&&this.generateMaxNumberArray(),r&&(this.presetColor=this.nzColor&&-1!==_u.indexOf(this.nzColor)?this.nzColor:null)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzShowZero",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowDot",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDot",void 0),Object(zt.b)([Object(Qa.b)("backTop"),Object(zt.d)("design:type",Number)],e.prototype,"nzOverflowCount",void 0),Object(zt.b)([Object(Qa.b)("backTop"),Object(zt.d)("design:type",String)],e.prototype,"nzColor",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.E),i.Tb(i.l),i.Tb(Jr),i.Tb(i.h),i.Tb(i.z))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-badge"]],viewQuery:function(e,t){var n;1&e&&i.Sc(gu,!0),2&e&&i.zc(n=i.ic())&&(t.contentElement=n.first)},hostAttrs:[1,"ant-badge"],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-badge-status",t.nzStatus)},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset"},exportAs:["nzBadge"],features:[i.Bb],ngContentSelectors:Tu,decls:6,vars:3,consts:[["contentElement",""],[3,"class","background","ngStyle",4,"ngIf"],["class","ant-badge-status-text",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],["class","ant-scroll-number",3,"ngStyle","right","marginTop","ant-badge-count","ant-badge-dot","ant-badge-multiple-words",4,"ngIf"],[1,"ant-scroll-number",3,"ngStyle"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","ant-scroll-number-only",3,"transform",4,"ngIf"],[1,"ant-scroll-number-only"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"span",null,0),i.qc(2),i.Yb(),i.Lc(3,bu,1,6,"span",1),i.Lc(4,mu,2,1,"span",2),i.Lc(5,zu,2,1,"ng-container",3)),2&e&&(i.Db(3),i.sc("ngIf",t.nzStatus||t.nzColor),i.Db(1),i.sc("ngIf",t.nzStatus||t.nzColor),i.Db(1),i.sc("nzStringTemplateOutlet",t.nzCount))},directives:[Vr.t,Es.b,Vr.w,Vr.s],encapsulation:2,data:{animation:[xs.i]},changeDetection:0}),e}(),Du=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,to,Es.a]]}),e}(),xu=n("P4PA"),Eu=n("DUip"),Nu=n("jqYt");function ju(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-breadcrumb-item"),i.Zb(1,"a",2),i.hc("click",(function(e){i.Dc(n);var r=t.$implicit;return i.kc(2).navigate(r.url,e)})),i.Nc(2),i.Yb(),i.Yb()}if(2&e){var r=t.$implicit;i.Db(1),i.Eb("href",r.url,i.Fc),i.Db(1),i.Oc(r.label)}}function Iu(e,t){if(1&e&&(i.Xb(0),i.Lc(1,ju,3,2,"nz-breadcrumb-item",1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.sc("ngForOf",n.breadcrumbs)}}var Au=["*"];function Mu(e,t){}function Lu(e,t){1&e&&i.Ub(0,"i",6)}function Pu(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"span",3),i.Lc(2,Mu,0,0,"ng-template",4),i.Lc(3,Lu,1,0,"i",5),i.Yb(),i.Wb()),2&e){var n=i.kc(),r=i.Ac(2);i.Db(1),i.sc("nzDropdownMenu",n.nzOverlay),i.Db(1),i.sc("ngTemplateOutlet",r),i.Db(1),i.sc("ngIf",!!n.nzOverlay)}}function Fu(e,t){1&e&&(i.Zb(0,"span",7),i.qc(1),i.Yb())}function Ru(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Pc(" ",n.nzBreadCrumbComponent.nzSeparator," ")}}function Vu(e,t){if(1&e&&(i.Zb(0,"span",8),i.Lc(1,Ru,2,1,"ng-container",9),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("nzStringTemplateOutlet",n.nzBreadCrumbComponent.nzSeparator)}}var Bu=function(){function e(e,t,n,i,r){this.injector=e,this.ngZone=t,this.cdr=n,this.nzAutoGenerate=!1,this.nzSeparator="/",this.nzRouteLabel="breadcrumb",this.breadcrumbs=[],this.destroy$=new kt.a,r.addClass(i.nativeElement,"ant-breadcrumb")}return e.prototype.ngOnInit=function(){this.nzAutoGenerate&&this.registerRouterChange()},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.navigate=function(e,t){var n=this;t.preventDefault(),this.ngZone.run((function(){return n.injector.get(Eu.d).navigateByUrl(e).then()})).then()},e.prototype.registerRouterChange=function(){var e=this;try{var t=this.injector.get(Eu.d),n=this.injector.get(Eu.a);t.events.pipe(Object(Pt.a)((function(e){return e instanceof Eu.b})),Object(ss.a)(this.destroy$),Object(Ka.a)(!0)).subscribe((function(){e.breadcrumbs=e.getBreadcrumbs(n.root),e.cdr.markForCheck()}))}catch(i){throw new Error(Hs.a+" You should import RouterModule if you want to use 'NzAutoGenerate'.")}},e.prototype.getBreadcrumbs=function(e,t,n){var i,r;void 0===t&&(t=""),void 0===n&&(n=[]);var o=e.children;if(0===o.length)return n;try{for(var a=Object(zt.h)(o),s=a.next();!s.done;s=a.next()){var c=s.value;if(c.outlet===Eu.c){var u=c.snapshot.url.map((function(e){return e.path})).filter((function(e){return e})).join("/"),l=t+"/"+u,p=c.snapshot.data[this.nzRouteLabel];return u&&p&&n.push({label:p,params:c.snapshot.params,url:l}),this.getBreadcrumbs(c,l,n)}}}catch(h){i={error:h}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAutoGenerate",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.r),i.Tb(i.z),i.Tb(i.h),i.Tb(i.l),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-breadcrumb"]],inputs:{nzAutoGenerate:"nzAutoGenerate",nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel"},exportAs:["nzBreadcrumb"],ngContentSelectors:Au,decls:2,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"click"]],template:function(e,t){1&e&&(i.rc(),i.qc(0),i.Lc(1,Iu,2,1,"ng-container",0)),2&e&&(i.Db(1),i.sc("ngIf",t.nzAutoGenerate))},directives:function(){return[Vr.t,Vr.s,Yu]},encapsulation:2,changeDetection:0}),e}(),Yu=function(){function e(e){this.nzBreadCrumbComponent=e}return e.\u0275fac=function(t){return new(t||e)(i.Tb(Bu))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:Au,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["noMenuTpl",""],["class","ant-breadcrumb-separator",4,"ngIf"],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","down"],[1,"ant-breadcrumb-link"],[1,"ant-breadcrumb-separator"],[4,"nzStringTemplateOutlet"]],template:function(e,t){if(1&e&&(i.rc(),i.Lc(0,Pu,4,3,"ng-container",0),i.Lc(1,Fu,2,0,"ng-template",null,1,i.Mc),i.Lc(3,Vu,2,1,"span",2)),2&e){var n=i.Ac(2);i.sc("ngIf",!!t.nzOverlay)("ngIfElse",n),i.Db(3),i.sc("ngIf",t.nzBreadCrumbComponent.nzSeparator)}},directives:[Vr.t,xu.b,Vr.A,Ns.a,Es.b],encapsulation:2,changeDetection:0}),e}(),Uu=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-breadcrumb-separator"]],exportAs:["nzBreadcrumbSeparator"],ngContentSelectors:Au,decls:6,vars:0,consts:[[1,"ant-breadcrumb-separator"]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Zb(1,"span",0),i.Nc(2,"\n "),i.qc(3),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "))},encapsulation:2}),e}(),Hu=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Es.a,Ur.i,Nu.f,xu.c,Ns.b]]}),e}(),Wu=n("AzBT"),qu=n("26FU");function Zu(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function $u(e){Zu(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function Gu(e){Zu(1,arguments);var t=$u(e);return!isNaN(t)}var Qu={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Xu(e){return function(t){var n=t||{},i=n.width?String(n.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var Ku={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Ju(e){return function(t,n){var i,r=n||{};if("formatting"===(r.context?String(r.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=r.width?String(r.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,c=r.width?String(r.width):e.defaultWidth;i=e.values[c]||e.values[s]}return i[e.argumentCallback?e.argumentCallback(t):t]}}function el(e){return function(t,n){var i=String(t),r=n||{},o=i.match(e.matchPattern);if(!o)return null;var a=o[0],s=i.match(e.parsePattern);if(!s)return null;var c=e.valueCallback?e.valueCallback(s[0]):s[0];return{value:c=r.valueCallback?r.valueCallback(c):c,rest:i.slice(a.length)}}}function tl(e){return function(t,n){var i=String(t),r=n||{},o=r.width,a=i.match(o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth]);if(!a)return null;var s,c=a[0],u=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth];return s="[object Array]"===Object.prototype.toString.call(u)?function(e,t){for(var n=0;n0?"in "+i:i+" ago":i},formatLong:{date:Xu({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Xu({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Xu({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:function(e,t,n,i){return Ku[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Ju({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Ju({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Ju({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Ju({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Ju({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:el({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:tl({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:tl({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:tl({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:tl({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:tl({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function il(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function rl(e,t){Zu(2,arguments);var n=$u(e).getTime(),i=il(t);return new Date(n+i)}function ol(e,t){Zu(2,arguments);var n=il(t);return rl(e,-n)}function al(e,t){for(var n=e<0?"-":"",i=Math.abs(e).toString();i.length=r.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function ul(e){Zu(1,arguments);var t=cl(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var i=sl(n);return i}function ll(e){Zu(1,arguments);var t=$u(e),n=sl(t).getTime()-ul(t).getTime();return Math.round(n/6048e5)+1}function pl(e,t){Zu(1,arguments);var n=t||{},i=n.locale,r=i&&i.options&&i.options.weekStartsOn,o=null==r?0:il(r),a=null==n.weekStartsOn?o:il(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=$u(e),c=s.getUTCDay(),u=(c=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setUTCFullYear(i+1,0,c),u.setUTCHours(0,0,0,0);var l=pl(u,t),p=new Date(0);p.setUTCFullYear(i,0,c),p.setUTCHours(0,0,0,0);var h=pl(p,t);return n.getTime()>=l.getTime()?i+1:n.getTime()>=h.getTime()?i:i-1}function dl(e,t){Zu(1,arguments);var n=t||{},i=n.locale,r=i&&i.options&&i.options.firstWeekContainsDate,o=null==r?1:il(r),a=null==n.firstWeekContainsDate?o:il(n.firstWeekContainsDate),s=hl(e,t),c=new Date(0);c.setUTCFullYear(s,0,a),c.setUTCHours(0,0,0,0);var u=pl(c,t);return u}function fl(e,t){Zu(1,arguments);var n=$u(e),i=pl(n,t).getTime()-dl(n,t).getTime();return Math.round(i/6048e5)+1}function gl(e,t){var n=e>0?"-":"+",i=Math.abs(e),r=Math.floor(i/60),o=i%60;if(0===o)return n+String(r);var a=t||"";return n+String(r)+a+al(o,2)}function bl(e,t){return e%60==0?(e>0?"-":"+")+al(Math.abs(e)/60,2):ml(e,t)}function ml(e,t){var n=t||"",i=e>0?"-":"+",r=Math.abs(e);return i+al(Math.floor(r/60),2)+n+al(r%60,2)}var vl={G:function(e,t,n){var i=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var i=e.getUTCFullYear();return n.ordinalNumber(i>0?i:1-i,{unit:"year"})}return function(e,t){var n=e.getUTCFullYear(),i=n>0?n:1-n;return al("yy"===t?i%100:i,t.length)}(e,t)},Y:function(e,t,n,i){var r=hl(e,i),o=r>0?r:1-r;return"YY"===t?al(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):al(o,t.length)},R:function(e,t){return al(cl(e),t.length)},u:function(e,t){return al(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return al(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return al(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){var i=e.getUTCMonth();switch(t){case"M":case"MM":return function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):al(n+1,2)}(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return al(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){var r=fl(e,i);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):al(r,t.length)},I:function(e,t,n){var i=ll(e);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):al(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):function(e,t){return al(e.getUTCDate(),t.length)}(e,t)},D:function(e,t,n){var i=function(e){Zu(1,arguments);var t=$u(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var i=t.getTime(),r=n-i;return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):al(i,t.length)},E:function(e,t,n){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){var r=e.getUTCDay(),o=(r-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return al(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){var r=e.getUTCDay(),o=(r-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return al(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){var i=e.getUTCDay(),r=0===i?7:i;switch(t){case"i":return String(r);case"ii":return al(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){var i=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var i,r=e.getUTCHours();switch(i=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",t){case"b":case"bb":case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){var i,r=e.getUTCHours();switch(i=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var i=e.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return function(e,t){return al(e.getUTCHours()%12||12,t.length)}(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):function(e,t){return al(e.getUTCHours(),t.length)}(e,t)},K:function(e,t,n){var i=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):al(i,t.length)},k:function(e,t,n){var i=e.getUTCHours();return 0===i&&(i=24),"ko"===t?n.ordinalNumber(i,{unit:"hour"}):al(i,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):function(e,t){return al(e.getUTCMinutes(),t.length)}(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):function(e,t){return al(e.getUTCSeconds(),t.length)}(e,t)},S:function(e,t){return function(e,t){var n=t.length,i=e.getUTCMilliseconds();return al(Math.floor(i*Math.pow(10,n-3)),t.length)}(e,t)},X:function(e,t,n,i){var r=(i._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return bl(r);case"XXXX":case"XX":return ml(r);case"XXXXX":case"XXX":default:return ml(r,":")}},x:function(e,t,n,i){var r=(i._originalDate||e).getTimezoneOffset();switch(t){case"x":return bl(r);case"xxxx":case"xx":return ml(r);case"xxxxx":case"xxx":default:return ml(r,":")}},O:function(e,t,n,i){var r=(i._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+gl(r,":");case"OOOO":default:return"GMT"+ml(r,":")}},z:function(e,t,n,i){var r=(i._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+gl(r,":");case"zzzz":default:return"GMT"+ml(r,":")}},t:function(e,t,n,i){return al(Math.floor((i._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,n,i){return al((i._originalDate||e).getTime(),t.length)}};function yl(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function wl(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}var Ol={p:wl,P:function(e,t){var n,i=e.match(/(P+)(p+)?/),r=i[1],o=i[2];if(!o)return yl(e,t);switch(r){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",yl(r,t)).replace("{{time}}",wl(o,t))}};function Cl(e){return e.getTime()%6e4}function Sl(e){var t=new Date(e.getTime()),n=Math.ceil(t.getTimezoneOffset());return t.setSeconds(0,0),6e4*n+(n>0?(6e4+Cl(t))%6e4:Cl(t))}var zl=["D","DD"],Tl=["YY","YYYY"];function _l(e){return-1!==zl.indexOf(e)}function kl(e){return-1!==Tl.indexOf(e)}function Dl(e){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===e)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===e)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===e)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}var xl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,El=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Nl=/^'([^]*?)'?$/,jl=/''/g,Il=/[a-zA-Z]/;function Al(e){return e.match(Nl)[1].replace(jl,"'")}function Ml(e,t){Zu(1,arguments);var n=t||{},i=n.locale,r=i&&i.options&&i.options.weekStartsOn,o=null==r?0:il(r),a=null==n.weekStartsOn?o:il(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=$u(e),c=s.getDay(),u=(c=r.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function Fl(e){Zu(1,arguments);var t=Pl(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var i=Ll(n);return i}function Rl(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Vl(e,t,n){Zu(2,arguments);var i=n||{},r=i.locale,o=r&&r.options&&r.options.weekStartsOn,a=null==o?0:il(o),s=null==i.weekStartsOn?a:il(i.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=$u(e),u=il(t),l=c.getUTCDay(),p=u%7,h=(p+7)%7,d=(h0,r=i?t:1-t;if(r<=50)n=e||100;else{var o=r+50;n=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return i?n:1-n}var vp=[31,28,31,30,31,30,31,31,30,31,30,31],yp=[31,29,31,30,31,30,31,31,30,31,30,31];function wp(e){return e%400==0||e%4==0&&e%100!=0}var Op={G:{priority:140,parse:function(e,t,n,i){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});case"GGGG":default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,i){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,i){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return fp(4,e,r);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return fp(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,i){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=mp(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}return e.setUTCFullYear("era"in t&&1!==t.era?1-n.year:n.year,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,i){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return fp(4,e,r);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return fp(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,i){var r=hl(e,i);if(n.isTwoDigitYear){var o=mp(n.year,r);return e.setUTCFullYear(o,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),pl(e,i)}return e.setUTCFullYear("era"in t&&1!==t.era?1-n.year:n.year,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),pl(e,i)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,i){return gp("R"===t?4:t.length,e)},set:function(e,t,n,i){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),sl(r)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,i){return gp("u"===t?4:t.length,e)},set:function(e,t,n,i){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,i){switch(t){case"Q":case"QQ":return fp(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,i){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,i){switch(t){case"q":case"qq":return fp(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,i){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,i){var r=function(e){return e-1};switch(t){case"M":return pp(Bl,e,r);case"MM":return fp(2,e,r);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,i){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,i){var r=function(e){return e-1};switch(t){case"L":return pp(Bl,e,r);case"LL":return fp(2,e,r);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,i){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,i){switch(t){case"w":return pp(Hl,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return fp(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,i){return pl(function(e,t,n){Zu(2,arguments);var i=$u(e),r=il(t),o=fl(i,n)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(e,n,i),i)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,i){switch(t){case"I":return pp(Hl,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return fp(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,i){return sl(function(e,t){Zu(2,arguments);var n=$u(e),i=il(t),r=ll(n)-i;return n.setUTCDate(n.getUTCDate()-7*r),n}(e,n,i),i)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,parse:function(e,t,n,i){switch(t){case"d":return pp(Yl,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return fp(t.length,e)}},validate:function(e,t,n){var i=wp(e.getUTCFullYear()),r=e.getUTCMonth();return i?t>=1&&t<=yp[r]:t>=1&&t<=vp[r]},set:function(e,t,n,i){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,parse:function(e,t,n,i){switch(t){case"D":case"DD":return pp(Ul,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return fp(t.length,e)}},validate:function(e,t,n){return wp(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,i){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,i){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,i){return(e=Vl(e,n,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,i){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return fp(t.length,e,r);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,i){return(e=Vl(e,n,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,i){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return fp(t.length,e,r);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,i){return(e=Vl(e,n,i)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,i){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return fp(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiii":default:return n.day(e,{width:"wide",context:"formatting",valueCallback:r})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,i){return(e=function(e,t){Zu(2,arguments);var n=il(t);n%7==0&&(n-=7);var i=1,r=$u(e),o=r.getUTCDay(),a=n%7,s=(a+7)%7,c=(s=1&&t<=12},set:function(e,t,n,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&n<12?n+12:r||12!==n?n:0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,i){switch(t){case"H":return pp(Wl,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return fp(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,i){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,i){switch(t){case"K":return pp(Zl,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return fp(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&n<12?n+12:n,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,i){switch(t){case"k":return pp(ql,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return fp(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,i){return e.setUTCHours(n<=24?n%24:n,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,i){switch(t){case"m":return pp(Gl,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return fp(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,i){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,i){switch(t){case"s":return pp(Ql,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return fp(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,i){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,i){return fp(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,i){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,i){switch(t){case"X":return hp(ap,e);case"XX":return hp(sp,e);case"XXXX":return hp(cp,e);case"XXXXX":return hp(lp,e);case"XXX":default:return hp(up,e)}},set:function(e,t,n,i){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,i){switch(t){case"x":return hp(ap,e);case"xx":return hp(sp,e);case"xxxx":return hp(cp,e);case"xxxxx":return hp(lp,e);case"xxx":default:return hp(up,e)}},set:function(e,t,n,i){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,i){return dp(e)},set:function(e,t,n,i){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,i){return dp(e)},set:function(e,t,n,i){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},Cp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Sp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zp=/^'([^]*?)'?$/,Tp=/''/g,_p=/\S/,kp=/[a-zA-Z]/;function Dp(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}function xp(e){return e.match(zp)[1].replace(Tp,"'")}var Ep={today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"},Np={placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4"},jp={lang:Object(zt.a)({placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"]},Ep),timePickerLocale:Object(zt.a)({},Np)};jp.lang.ok="\u786e \u5b9a";var Ip={locale:"zh-cn",Pagination:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875"},DatePicker:jp,TimePicker:Np,Calendar:Ep,global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"}},Ap=new i.q("nz-i18n"),Mp=new i.q("nz-date-locale"),Lp=function(){function e(e,t){this._change=new qu.a(this._locale),this.setLocale(e||Ip),this.setDateLocale(t||null)}return Object.defineProperty(e.prototype,"localeChange",{get:function(){return this._change.asObservable()},enumerable:!0,configurable:!0}),e.prototype.translate=function(e,t){var n=this._getObjectPath(this._locale,e);return"string"==typeof n?(t&&Object.keys(t).forEach((function(e){return n=n.replace(new RegExp("%"+e+"%","g"),t[e])})),n):e},e.prototype.setLocale=function(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))},e.prototype.getLocale=function(){return this._locale},e.prototype.getLocaleId=function(){return this._locale?this._locale.locale:""},e.prototype.setDateLocale=function(e){this.dateLocale=e},e.prototype.getDateLocale=function(){return this.dateLocale},e.prototype.getLocaleData=function(e,t){var n=e?this._getObjectPath(this._locale,e):this._locale;return n||t||Object(Hs.b)('Missing translations for "'+e+'" in language "'+this._locale.locale+'".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md'),n||t||{}},e.prototype._getObjectPath=function(e,t){for(var n=e,i=t.split("."),r=i.length,o=0;n&&o=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=o.options&&o.options.weekStartsOn,l=null==u?0:il(u),p=null==r.weekStartsOn?l:il(r.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var h=$u(e);if(!Gu(h))throw new RangeError("Invalid time value");var d=Sl(h),f=ol(h,d),g={firstWeekContainsDate:c,weekStartsOn:p,locale:o,_originalDate:h},b=i.match(El).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,Ol[t])(e,o.formatLong,g):e})).join("").match(xl).map((function(e){if("''"===e)return"'";var t=e[0];if("'"===t)return Al(e);var n=vl[t];if(n)return!r.useAdditionalWeekYearTokens&&kl(e)&&Dl(e),!r.useAdditionalDayOfYearTokens&&_l(e)&&Dl(e),n(f,e,o.localize,g);if(t.match(Il))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e})).join("");return b}(e,n,{locale:this.i18n.getDateLocale()}):""},t.prototype.parseDate=function(e,t){return function(e,t,n,i){Zu(3,arguments);var r=String(e),o=String(t),a=i||{},s=a.locale||nl;if(!s.match)throw new RangeError("locale must contain match property");var c=s.options&&s.options.firstWeekContainsDate,u=null==c?1:il(c),l=null==a.firstWeekContainsDate?u:il(a.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=s.options&&s.options.weekStartsOn,h=null==p?0:il(p),d=null==a.weekStartsOn?h:il(a.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===o)return""===r?$u(n):new Date(NaN);var f,g={firstWeekContainsDate:l,weekStartsOn:d,locale:s},b=[{priority:10,set:Dp,index:0}],m=o.match(Sp).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,Ol[t])(e,s.formatLong,g):e})).join("").match(Cp),v=[];for(f=0;f0&&_p.test(r))return new Date(NaN);var k=b.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return b.filter((function(t){return t.priority===e})).reverse()})).map((function(e){return e[0]})),D=$u(n);if(isNaN(D))return new Date(NaN);var x=ol(D,Sl(D)),E={};for(f=0;f-1?1:0}return this.config.firstDayOfWeek},t.prototype.format=function(e,t){return e?Object(Vr.J)(e,t,this.i18n.getLocaleId()):""},t.prototype.parseDate=function(e){return new Date(e)},t.prototype.parseTime=function(e){if(e)return new Date(Date.parse("1970-01-01 "+e))},t.\u0275prov=Object(i.Pb)({factory:function(){return Wp(Object(i.dc)(i.o),Object(i.dc)(Rp,8),Object(i.dc)(Bp,8))},token:t,providedIn:"root"}),t}(qp),Gp=(Object(zt.a)({placeholder:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u062a\u0627\u0631\u064a\u062e",rangePlaceholder:["\u0627\u0644\u0628\u062f\u0627\u064a\u0629","\u0627\u0644\u0646\u0647\u0627\u064a\u0629"]},{today:"\u0627\u0644\u064a\u0648\u0645",now:"\u0627\u0644\u0623\u0646",backToToday:"\u0627\u0644\u0639\u0648\u062f\u0629 \u0625\u0644\u0649 \u0627\u0644\u064a\u0648\u0645",ok:"\u062a\u0623\u0643\u064a\u062f",clear:"\u0645\u0633\u062d",month:"\u0627\u0644\u0634\u0647\u0631",year:"\u0627\u0644\u0633\u0646\u0629",timeSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0648\u0642\u062a",dateSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u062a\u0627\u0631\u064a\u062e",monthSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0634\u0647\u0631",yearSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0633\u0646\u0629",decadeSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0639\u0642\u062f",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0633\u0627\u0628\u0642 (PageUp)",nextMonth:"\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u062a\u0627\u0644\u0649(PageDown)",previousYear:"\u0627\u0644\u0639\u0627\u0645 \u0627\u0644\u0633\u0627\u0628\u0642 (Control + left)",nextYear:"\u0627\u0644\u0639\u0627\u0645 \u0627\u0644\u062a\u0627\u0644\u0649 (Control + right)",previousDecade:"\u0627\u0644\u0639\u0642\u062f \u0627\u0644\u0633\u0627\u0628\u0642",nextDecade:"\u0627\u0644\u0639\u0642\u062f \u0627\u0644\u062a\u0627\u0644\u0649",previousCentury:"\u0627\u0644\u0642\u0631\u0646 \u0627\u0644\u0633\u0627\u0628\u0642",nextCentury:"\u0627\u0644\u0642\u0631\u0646 \u0627\u0644\u062a\u0627\u0644\u0649"}),Object(zt.a)({},{placeholder:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0648\u0642\u062a"}),{today:"\u0414\u043d\u0435\u0441",now:"\u0421\u0435\u0433\u0430",backToToday:"\u041a\u044a\u043c \u0434\u043d\u0435\u0441",ok:"\u0414\u043e\u0431\u0440\u0435",clear:"\u0418\u0437\u0447\u0438\u0441\u0442\u0432\u0430\u043d\u0435",month:"\u041c\u0435\u0441\u0435\u0446",year:"\u0413\u043e\u0434\u0438\u043d\u0430",timeSelect:"\u0418\u0437\u0431\u043e\u0440 \u043d\u0430 \u0447\u0430\u0441",dateSelect:"\u0418\u0437\u0431\u043e\u0440 \u043d\u0430 \u0434\u0430\u0442\u0430",monthSelect:"\u0418\u0437\u0431\u043e\u0440 \u043d\u0430 \u043c\u0435\u0441\u0435\u0446",yearSelect:"\u0418\u0437\u0431\u043e\u0440 \u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",decadeSelect:"\u0414\u0435\u0441\u0435\u0442\u0438\u043b\u0435\u0442\u0438\u0435",yearFormat:"YYYY",dateFormat:"D M YYYY",dayFormat:"D",dateTimeFormat:"D M YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u041f\u0440\u0435\u0434\u0438\u0448\u0435\u043d \u043c\u0435\u0441\u0435\u0446 (PageUp)",nextMonth:"\u0421\u043b\u0435\u0434\u0432\u0430\u0449 \u043c\u0435\u0441\u0435\u0446 (PageDown)",previousYear:"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430 (Control + left)",nextYear:"\u0421\u043b\u0435\u0434\u0432\u0430\u0449\u0430 \u0433\u043e\u0434\u0438\u043d\u0430 (Control + right)",previousDecade:"\u041f\u0440\u0435\u0434\u0438\u0448\u043d\u043e \u0434\u0435\u0441\u0435\u0442\u0438\u043b\u0435\u0442\u0438\u0435",nextDecade:"\u0421\u043b\u0435\u0434\u0432\u0430\u0449\u043e \u0434\u0435\u0441\u0435\u0442\u0438\u043b\u0435\u0442\u0438\u0435",previousCentury:"\u041f\u043e\u0441\u043b\u0435\u0434\u0435\u043d \u0432\u0435\u043a",nextCentury:"\u0421\u043b\u0435\u0434\u0432\u0430\u0449 \u0432\u0435\u043a"}),Qp=(Object(zt.a)({placeholder:"\u0418\u0437\u0431\u043e\u0440 \u043d\u0430 \u0434\u0430\u0442\u0430",rangePlaceholder:["\u041d\u0430\u0447\u0430\u043b\u043d\u0430","\u041a\u0440\u0430\u0439\u043d\u0430"]},Gp),Object(zt.a)({},{placeholder:"\u0418\u0437\u0431\u043e\u0440 \u043d\u0430 \u0447\u0430\u0441"}),{today:"Avui",now:"Ara",backToToday:"Tornar a avui",ok:"Acceptar",clear:"Netejar",month:"Mes",year:"Any",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar data",monthSelect:"Escollir un mes",yearSelect:"Escollir un any",decadeSelect:"Escollir una d\xe8cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes seg\xfcent (PageDown)",previousYear:"Any anterior (Control + left)",nextYear:"Mes seg\xfcent (Control + right)",previousDecade:"D\xe8cada anterior",nextDecade:"D\xe8cada seg\xfcent",previousCentury:"Segle anterior",nextCentury:"Segle seg\xfcent"}),Xp=(Object(zt.a)({placeholder:"Seleccionar data",rangePlaceholder:["Data inicial","Data final"]},Qp),Object(zt.a)({},{placeholder:"Seleccionar hora"}),{today:"Dnes",now:"Nyn\xed",backToToday:"Zp\u011bt na dne\u0161ek",ok:"Ok",clear:"Vymazat",month:"M\u011bs\xedc",year:"Rok",timeSelect:"Vybrat \u010das",dateSelect:"Vybrat datum",monthSelect:"Vyberte m\u011bs\xedc",yearSelect:"Vyberte rok",decadeSelect:"Vyberte dek\xe1du",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"P\u0159edchoz\xed m\u011bs\xedc (PageUp)",nextMonth:"N\xe1sleduj\xedc\xed (PageDown)",previousYear:"P\u0159edchoz\xed rok (Control + left)",nextYear:"N\xe1sleduj\xedc\xed rok (Control + right)",previousDecade:"P\u0159edchoz\xed dek\xe1da",nextDecade:"N\xe1sleduj\xedc\xed dek\xe1da",previousCentury:"P\u0159edchoz\xed stolet\xed",nextCentury:"N\xe1sleduj\xedc\xed stolet\xed"}),Kp=(Object(zt.a)({placeholder:"Vybrat datum",rangePlaceholder:["Od","Do"]},Xp),Object(zt.a)({},{placeholder:"Vybrat \u010das"}),{today:"I dag",now:"Nu",backToToday:"G\xe5 til i dag",ok:"Ok",clear:"Annuller",month:"M\xe5ned",year:"\xc5r",timeSelect:"V\xe6lg tidspunkt",dateSelect:"V\xe6lg dato",monthSelect:"V\xe6lg m\xe5ned",yearSelect:"V\xe6lg \xe5r",decadeSelect:"V\xe6lg \xe5rti",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Forrige m\xe5ned(PageUp)",nextMonth:"N\xe6ste m\xe5ned (PageDown)",previousYear:"Forrige \xe5r (Control + left)",nextYear:"N\xe6ste r (Control + right)",previousDecade:"Forrige \xe5rti",nextDecade:"N\xe6ste \xe5rti",previousCentury:"Forrige \xe5rhundrede",nextCentury:"N\xe6ste \xe5rhundrede"}),Jp=(Object(zt.a)({placeholder:"V\xe6lg dato",rangePlaceholder:["Startdato","Slutdato"]},Kp),Object(zt.a)({},{placeholder:"V\xe6lg tid"}),{today:"Heute",now:"Jetzt",backToToday:"Zur\xfcck zu Heute",ok:"OK",clear:"Zur\xfccksetzen",month:"Monat",year:"Jahr",timeSelect:"Zeit w\xe4hlen",dateSelect:"Datum w\xe4hlen",monthSelect:"W\xe4hle einen Monat",yearSelect:"W\xe4hle ein Jahr",decadeSelect:"W\xe4hle ein Jahrzehnt",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Vorheriger Monat (PageUp)",nextMonth:"N\xe4chster Monat (PageDown)",previousYear:"Vorheriges Jahr (Ctrl + left)",nextYear:"N\xe4chstes Jahr (Ctrl + right)",previousDecade:"Vorheriges Jahrzehnt",nextDecade:"N\xe4chstes Jahrzehnt",previousCentury:"Vorheriges Jahrhundert",nextCentury:"N\xe4chstes Jahrhundert"}),eh=(Object(zt.a)({placeholder:"Datum ausw\xe4hlen",rangePlaceholder:["Startdatum","Enddatum"]},Jp),Object(zt.a)({},{placeholder:"Zeit ausw\xe4hlen"}),{today:"\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1",now:"\u03a4\u03ce\u03c1\u03b1",backToToday:"\u03a0\u03af\u03c3\u03c9 \u03c3\u03c4\u03b7 \u03c3\u03b7\u03bc\u03b5\u03c1\u03b9\u03bd\u03ae \u03bc\u03ad\u03c1\u03b1",ok:"Ok",clear:"\u039a\u03b1\u03b8\u03b1\u03c1\u03b9\u03c3\u03bc\u03cc\u03c2",month:"\u039c\u03ae\u03bd\u03b1\u03c2",year:"\u0388\u03c4\u03bf\u03c2",timeSelect:"\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03ce\u03c1\u03b1\u03c2",dateSelect:"\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03b7\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1\u03c2",monthSelect:"\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03bc\u03ae\u03bd\u03b1",yearSelect:"\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03ad\u03c4\u03bf\u03c5\u03c2",decadeSelect:"\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03b4\u03b5\u03ba\u03b1\u03b5\u03c4\u03af\u03b1\u03c2",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u03a0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2 (PageUp)",nextMonth:"\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03bf\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2 (PageDown)",previousYear:"\u03a0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf \u03ad\u03c4\u03bf\u03c2 (Control + \u03b1\u03c1\u03b9\u03c3\u03c4\u03b5\u03c1\u03ac)",nextYear:"\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03bf \u03ad\u03c4\u03bf\u03c2 (Control + \u03b4\u03b5\u03be\u03b9\u03ac)",previousDecade:"\u03a0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03b4\u03b5\u03ba\u03b1\u03b5\u03c4\u03af\u03b1",nextDecade:"\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03b7 \u03b4\u03b5\u03ba\u03b1\u03b5\u03c4\u03af\u03b1",previousCentury:"\u03a0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf\u03c2 \u03b1\u03b9\u03ce\u03bd\u03b1\u03c2",nextCentury:"\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03bf\u03c2 \u03b1\u03b9\u03ce\u03bd\u03b1\u03c2"}),th=(Object(zt.a)({placeholder:"\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03b7\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1",rangePlaceholder:["\u0391\u03c1\u03c7\u03b9\u03ba\u03ae \u03b7\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1","\u03a4\u03b5\u03bb\u03b9\u03ba\u03ae \u03b7\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1"]},eh),Object(zt.a)({},{placeholder:"\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03ce\u03c1\u03b1"}),{today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"Select time",dateSelect:"Select date",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),nh=(Object(zt.a)({placeholder:"Select date",rangePlaceholder:["Start date","End date"]},th),Object(zt.a)({},{placeholder:"Select time"}),{today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),ih=(Object(zt.a)({placeholder:"Select date",rangePlaceholder:["Start date","End date"]},nh),Object(zt.a)({},{placeholder:"Select time"}),{today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xf1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xf1o",decadeSelect:"Elegir una d\xe9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"A\xf1o anterior (Control + left)",nextYear:"A\xf1o siguiente (Control + right)",previousDecade:"D\xe9cada anterior",nextDecade:"D\xe9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"}),rh=(Object(zt.a)({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"]},ih),Object(zt.a)({},{placeholder:"Seleccionar hora"}),{today:"T\xe4na",now:"Praegu",backToToday:"Tagasi t\xe4nase juurde",ok:"Ok",clear:"T\xfchista",month:"Kuu",year:"Aasta",timeSelect:"Vali aeg",dateSelect:"Vali kuup\xe4ev",monthSelect:"Vali kuu",yearSelect:"Vali aasta",decadeSelect:"Vali dekaad",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Eelmine kuu (PageUp)",nextMonth:"J\xe4rgmine kuu (PageDown)",previousYear:"Eelmine aasta (Control + left)",nextYear:"J\xe4rgmine aasta (Control + right)",previousDecade:"Eelmine dekaad",nextDecade:"J\xe4rgmine dekaad",previousCentury:"Eelmine sajand",nextCentury:"J\xe4rgmine sajand"}),oh=(Object(zt.a)({placeholder:"Vali kuup\xe4ev",rangePlaceholder:["Algus kuup\xe4ev","L\xf5pu kuup\xe4ev"]},rh),Object(zt.a)({},{placeholder:"Vali aeg"}),{today:"\u0627\u0645\u0631\u0648\u0632",now:"\u0627\u06a9\u0646\u0648\u0646",backToToday:"\u0628\u0627\u0632\u06af\u0634\u062a \u0628\u0647 \u0631\u0648\u0632",ok:"\u0628\u0627\u0634\u0647",clear:"\u067e\u0627\u06a9 \u06a9\u0631\u062f\u0646",month:"\u0645\u0627\u0647",year:"\u0633\u0627\u0644",timeSelect:"\u0627\u0646\u062a\u062e\u0627\u0628 \u0632\u0645\u0627\u0646",dateSelect:"\u0627\u0646\u062a\u062e\u0627\u0628 \u062a\u0627\u0631\u06cc\u062e",monthSelect:"\u06cc\u06a9 \u0645\u0627\u0647 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f",yearSelect:"\u06cc\u06a9 \u0633\u0627\u0644 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f",decadeSelect:"\u06cc\u06a9 \u062f\u0647\u0647 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u0645\u0627\u0647 \u0642\u0628\u0644 (PageUp)",nextMonth:"\u0645\u0627\u0647 \u0628\u0639\u062f (PageDown)",previousYear:"\u0633\u0627\u0644 \u0642\u0628\u0644 (Control + left)",nextYear:"\u0633\u0627\u0644 \u0628\u0639\u062f (Control + right)",previousDecade:"\u062f\u0647\u0647 \u0642\u0628\u0644",nextDecade:"\u062f\u0647\u0647 \u0628\u0639\u062f",previousCentury:"\u0642\u0631\u0646 \u0642\u0628\u0644",nextCentury:"\u0642\u0631\u0646 \u0628\u0639\u062f"}),ah=(Object(zt.a)({placeholder:"\u0627\u0646\u062a\u062e\u0627\u0628 \u062a\u0627\u0631\u06cc\u062e",rangePlaceholder:["\u062a\u0627\u0631\u06cc\u062e \u0634\u0631\u0648\u0639","\u062a\u0627\u0631\u06cc\u062e \u067e\u0627\u06cc\u0627\u0646"]},oh),Object(zt.a)({},{placeholder:"\u0627\u0646\u062a\u062e\u0627\u0628 \u0632\u0645\u0627\u0646"}),{today:"T\xe4n\xe4\xe4n",now:"Nyt",backToToday:"T\xe4m\xe4 p\xe4iv\xe4",ok:"Ok",clear:"Tyhjenn\xe4",month:"Kuukausi",year:"Vuosi",timeSelect:"Valise aika",dateSelect:"Valitse p\xe4iv\xe4",monthSelect:"Valitse kuukausi",yearSelect:"Valitse vuosi",decadeSelect:"Valitse vuosikymmen",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Edellinen kuukausi (PageUp)",nextMonth:"Seuraava kuukausi (PageDown)",previousYear:"Edellinen vuosi (Control + left)",nextYear:"Seuraava vuosi (Control + right)",previousDecade:"Edellinen vuosikymmen",nextDecade:"Seuraava vuosikymmen",previousCentury:"Edellinen vuosisata",nextCentury:"Seuraava vuosisata"}),sh=(Object(zt.a)({placeholder:"Valitse p\xe4iv\xe4",rangePlaceholder:["Alku p\xe4iv\xe4","Loppu p\xe4iv\xe4"]},ah),Object(zt.a)({},{placeholder:"Valitse aika"}),{today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"Ok",clear:"R\xe9tablir",month:"Mois",year:"Ann\xe9e",timeSelect:"S\xe9lectionner l'heure",dateSelect:"S\xe9lectionner l'heure",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une ann\xe9e",decadeSelect:"Choisissez une d\xe9cennie",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mois pr\xe9c\xe9dent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Ann\xe9e pr\xe9c\xe9dente (Ctrl + gauche)",nextYear:"Ann\xe9e prochaine (Ctrl + droite)",previousDecade:"D\xe9cennie pr\xe9c\xe9dente",nextDecade:"D\xe9cennie suivante",previousCentury:"Si\xe8cle pr\xe9c\xe9dent",nextCentury:"Si\xe8cle suivant"}),ch=(Object(zt.a)({placeholder:"S\xe9lectionner une date",rangePlaceholder:["Date de d\xe9but","Date de fin"]},sh),Object(zt.a)({},{placeholder:"S\xe9lectionner l'heure"}),{today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"Ok",clear:"R\xe9tablir",month:"Mois",year:"Ann\xe9e",timeSelect:"S\xe9lectionner l'heure",dateSelect:"S\xe9lectionner la date",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une ann\xe9e",decadeSelect:"Choisissez une d\xe9cennie",yearFormat:"YYYY",dateFormat:"DD/MM/YYYY",dayFormat:"DD",dateTimeFormat:"DD/MM/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mois pr\xe9c\xe9dent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Ann\xe9e pr\xe9c\xe9dente (Ctrl + gauche)",nextYear:"Ann\xe9e prochaine (Ctrl + droite)",previousDecade:"D\xe9cennie pr\xe9c\xe9dente",nextDecade:"D\xe9cennie suivante",previousCentury:"Si\xe8cle pr\xe9c\xe9dent",nextCentury:"Si\xe8cle suivant"}),uh=(Object(zt.a)({placeholder:"S\xe9lectionner une date",rangePlaceholder:["Date de d\xe9but","Date de fin"]},ch),Object(zt.a)({},{placeholder:"S\xe9lectionner l'heure"}),{today:"\u05d4\u05d9\u05d5\u05dd",now:"\u05e2\u05db\u05e9\u05d9\u05d5",backToToday:"\u05d7\u05d6\u05d5\u05e8 \u05dc\u05d4\u05d9\u05d5\u05dd",ok:"\u05d0\u05d9\u05e9\u05d5\u05e8",clear:"\u05d0\u05d9\u05e4\u05d5\u05e1",month:"\u05d7\u05d5\u05d3\u05e9",year:"\u05e9\u05e0\u05d4",timeSelect:"\u05d1\u05d7\u05e8 \u05e9\u05e2\u05d4",dateSelect:"\u05d1\u05d7\u05e8 \u05ea\u05d0\u05e8\u05d9\u05da",weekSelect:"\u05d1\u05d7\u05e8 \u05e9\u05d1\u05d5\u05e2",monthSelect:"\u05d1\u05d7\u05e8 \u05d7\u05d5\u05d3\u05e9",yearSelect:"\u05d1\u05d7\u05e8 \u05e9\u05e0\u05d4",decadeSelect:"\u05d1\u05d7\u05e8 \u05e2\u05e9\u05d5\u05e8",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u05d7\u05d5\u05d3\u05e9 \u05e7\u05d5\u05d3\u05dd (PageUp)",nextMonth:"\u05d7\u05d5\u05d3\u05e9 \u05d4\u05d1\u05d0 (PageDown)",previousYear:"\u05e9\u05e0\u05d4 \u05e9\u05e2\u05d1\u05e8\u05d4 (Control + left)",nextYear:"\u05e9\u05e0\u05d4 \u05d4\u05d1\u05d0\u05d4 (Control + right)",previousDecade:"\u05d4\u05e2\u05e9\u05d5\u05e8 \u05d4\u05e7\u05d5\u05d3\u05dd",nextDecade:"\u05d4\u05e2\u05e9\u05d5\u05e8 \u05d4\u05d1\u05d0",previousCentury:"\u05d4\u05de\u05d0\u05d4 \u05d4\u05e7\u05d5\u05d3\u05de\u05ea",nextCentury:"\u05d4\u05de\u05d0\u05d4 \u05d4\u05d1\u05d0\u05d4"}),lh=(Object(zt.a)({placeholder:"\u05d1\u05d7\u05e8 \u05ea\u05d0\u05e8\u05d9\u05da",rangePlaceholder:["\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05ea\u05d7\u05dc\u05d4","\u05ea\u05d0\u05e8\u05d9\u05da \u05e1\u05d9\u05d5\u05dd"]},uh),Object(zt.a)({},{placeholder:"\u05d1\u05d7\u05e8 \u05e9\u05e2\u05d4"}),{today:"\u0906\u091c",now:"\u0905\u092d\u0940",backToToday:"\u0906\u091c \u0924\u0915",ok:"\u0920\u0940\u0915",clear:"\u0938\u094d\u092a\u0937\u094d\u091f",month:"\u092e\u0939\u0940\u0928\u093e",year:"\u0938\u093e\u0932",timeSelect:"\u0938\u092e\u092f \u0915\u093e \u091a\u092f\u0928 \u0915\u0930\u0947\u0902",dateSelect:"\u0924\u093e\u0930\u0940\u0916\u093c \u091a\u0941\u0928\u0947\u0902",weekSelect:"\u090f\u0915 \u0938\u092a\u094d\u0924\u093e\u0939 \u091a\u0941\u0928\u0947\u0902",monthSelect:"\u090f\u0915 \u092e\u0939\u0940\u0928\u093e \u091a\u0941\u0928\u0947\u0902",yearSelect:"\u090f\u0915 \u0935\u0930\u094d\u0937 \u091a\u0941\u0928\u0947\u0902",decadeSelect:"\u090f\u0915 \u0926\u0936\u0915 \u091a\u0941\u0928\u0947\u0902",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u092a\u093f\u091b\u0932\u093e \u092e\u0939\u0940\u0928\u093e (\u092a\u0947\u091c\u0905\u092a)",nextMonth:"\u0905\u0917\u0932\u0947 \u092e\u0939\u0940\u0928\u0947 (\u092a\u0947\u091c\u0921\u093e\u0909\u0928)",previousYear:"\u092a\u093f\u091b\u0932\u0947 \u0938\u093e\u0932 (Ctrl + \u092c\u093e\u090f\u0902)",nextYear:"\u0905\u0917\u0932\u0947 \u0938\u093e\u0932 (Ctrl + \u0926\u093e\u0939\u093f\u0928\u093e)",previousDecade:"\u092a\u093f\u091b\u0932\u093e \u0926\u0936\u0915",nextDecade:"\u0905\u0917\u0932\u0947 \u0926\u0936\u0915",previousCentury:"\u092a\u0940\u091b\u094d\u0932\u0940 \u0936\u0924\u093e\u092c\u094d\u0926\u0940",nextCentury:"\u0905\u0917\u0932\u0940 \u0938\u0926\u0940"}),ph=(Object(zt.a)({placeholder:"\u0924\u093e\u0930\u0940\u0916\u093c \u091a\u0941\u0928\u0947\u0902",rangePlaceholder:["\u092a\u094d\u0930\u093e\u0930\u0902\u092d \u0924\u093f\u0925\u093f","\u0938\u092e\u093e\u092a\u094d\u0924\u093f \u0924\u093f\u0925\u093f"]},lh),Object(zt.a)({},{placeholder:"\u0938\u092e\u092f \u0915\u093e \u091a\u092f\u0928 \u0915\u0930\u0947\u0902"}),{today:"Danas",now:"Sad",backToToday:"Natrag na danas",ok:"Ok",clear:"O\u010disti",month:"Mjesec",year:"Godina",timeSelect:"odaberite vrijeme",dateSelect:"odaberite datum",weekSelect:"Odaberite tjedan",monthSelect:"Odaberite mjesec",yearSelect:"Odaberite godinu",decadeSelect:"Odaberite desetlje\u0107e",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Pro\u0161li mjesec (PageUp)",nextMonth:"Sljede\u0107i mjesec (PageDown)",previousYear:"Pro\u0161la godina (Control + left)",nextYear:"Sljede\u0107a godina (Control + right)",previousDecade:"Pro\u0161lo desetlje\u0107e",nextDecade:"Sljede\u0107e desetlje\u0107e",previousCentury:"Pro\u0161lo stolje\u0107e",nextCentury:"Sljede\u0107e stolje\u0107e"}),hh=(Object(zt.a)({placeholder:"Odaberite datum",rangePlaceholder:["Po\u010detni datum","Zavr\u0161ni datum"]},ph),Object(zt.a)({},{placeholder:"Odaberite vrijeme"}),{today:"Ma",now:"Most",backToToday:"Vissza a mai napra",ok:"Ok",clear:"T\xf6rl\xe9s",month:"H\xf3nap",year:"\xc9v",timeSelect:"Id\u0151pont kiv\xe1laszt\xe1sa",dateSelect:"D\xe1tum kiv\xe1laszt\xe1sa",monthSelect:"H\xf3nap kiv\xe1laszt\xe1sa",yearSelect:"\xc9v kiv\xe1laszt\xe1sa",decadeSelect:"\xc9vtized kiv\xe1laszt\xe1sa",yearFormat:"YYYY",dateFormat:"YYYY/MM/DD",dayFormat:"DD",dateTimeFormat:"YYYY/MM/DD HH:mm:ss",monthBeforeYear:!0,previousMonth:"El\u0151z\u0151 h\xf3nap (PageUp)",nextMonth:"K\xf6vetkez\u0151 h\xf3nap (PageDown)",previousYear:"M\xfalt \xe9v (Control + left)",nextYear:"J\xf6v\u0151 \xe9v (Control + right)",previousDecade:"El\u0151z\u0151 \xe9vtized",nextDecade:"K\xf6vetkez\u0151 \xe9vtized",previousCentury:"M\xfalt \xe9vsz\xe1zad",nextCentury:"J\xf6v\u0151 \xe9vsz\xe1zad"}),dh=(Object(zt.a)({placeholder:"V\xe1lasszon d\xe1tumot",rangePlaceholder:["Kezd\u0151 d\xe1tum","Befejez\xe9s d\xe1tuma"]},hh),Object(zt.a)({},{placeholder:"V\xe1lasszon id\u0151t"}),{today:"Hari ini",now:"Sekarang",backToToday:"Kembali ke hari ini",ok:"Baik",clear:"Bersih",month:"Bulan",year:"Tahun",timeSelect:"pilih waktu",dateSelect:"pilih tanggal",weekSelect:"Pilih satu minggu",monthSelect:"Pilih satu bulan",yearSelect:"Pilih satu tahun",decadeSelect:"Pilih satu dekade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Bulan sebelumnya (PageUp)",nextMonth:"Bulan depan (PageDown)",previousYear:"Tahun lalu (Control + kiri)",nextYear:"Tahun depan (Kontrol + kanan)",previousDecade:"Dekade terakhir",nextDecade:"Dekade berikutnya",previousCentury:"Abad terakhir",nextCentury:"Abad berikutnya"}),fh=(Object(zt.a)({placeholder:"Pilih tanggal",rangePlaceholder:["Mulai tanggal","Tanggal akhir"]},dh),Object(zt.a)({},{placeholder:"Pilih waktu"}),{today:"\xcd dag",now:"N\xfana",backToToday:"Til baka til dagsins \xed dag",ok:"\xcd lagi",clear:"Hreinsa",month:"M\xe1nu\xf0ur",year:"\xc1r",timeSelect:"Velja t\xedma",dateSelect:"Velja dag",monthSelect:"Velja m\xe1nu\xf0",yearSelect:"Velja \xe1r",decadeSelect:"Velja \xe1ratug",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Fyrri m\xe1nu\xf0ur (PageUp)",nextMonth:"N\xe6sti m\xe1nu\xf0ur (PageDown)",previousYear:"Fyrra \xe1r (Control + left)",nextYear:"N\xe6sta \xe1r (Control + right)",previousDecade:"Fyrri \xe1ratugur",nextDecade:"N\xe6sti \xe1ratugur",previousCentury:"Fyrri \xf6ld",nextCentury:"N\xe6sta \xf6ld"}),gh=(Object(zt.a)({placeholder:"Veldu dag",rangePlaceholder:["Upphafsdagur","Lokadagur"]},fh),Object(zt.a)({},{placeholder:"Velja t\xedma"}),{today:"Oggi",now:"Adesso",backToToday:"Torna ad oggi",ok:"Ok",clear:"Cancella",month:"Mese",year:"Anno",timeSelect:"Seleziona l'ora",dateSelect:"Seleziona la data",monthSelect:"Seleziona il mese",yearSelect:"Seleziona l'anno",decadeSelect:"Seleziona il decennio",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Il mese scorso (PageUp)",nextMonth:"Il prossimo mese (PageDown)",previousYear:"L'anno scorso (Control + sinistra)",nextYear:"L'anno prossimo (Control + destra)",previousDecade:"Ultimo decennio",nextDecade:"Prossimo decennio",previousCentury:"Secolo precedente",nextCentury:"Prossimo secolo"}),bh=(Object(zt.a)({placeholder:"Selezionare la data",rangePlaceholder:["Data d'inizio","Data di fine"]},gh),Object(zt.a)({},{placeholder:"Selezionare l'orario"}),{today:"\u4eca\u65e5",now:"\u73fe\u5728\u6642\u523b",backToToday:"\u4eca\u65e5\u306b\u623b\u308b",ok:"\u6c7a\u5b9a",timeSelect:"\u6642\u9593\u3092\u9078\u629e",dateSelect:"\u65e5\u6642\u3092\u9078\u629e",clear:"\u30af\u30ea\u30a2",month:"\u6708",year:"\u5e74",previousMonth:"\u524d\u6708 (\u30da\u30fc\u30b8\u30a2\u30c3\u30d7\u30ad\u30fc)",nextMonth:"\u7fcc\u6708 (\u30da\u30fc\u30b8\u30c0\u30a6\u30f3\u30ad\u30fc)",monthSelect:"\u6708\u3092\u9078\u629e",yearSelect:"\u5e74\u3092\u9078\u629e",decadeSelect:"\u5e74\u4ee3\u3092\u9078\u629e",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u6642mm\u5206ss\u79d2",previousYear:"\u524d\u5e74 (Control\u3092\u62bc\u3057\u306a\u304c\u3089\u5de6\u30ad\u30fc)",nextYear:"\u7fcc\u5e74 (Control\u3092\u62bc\u3057\u306a\u304c\u3089\u53f3\u30ad\u30fc)",previousDecade:"\u524d\u306e\u5e74\u4ee3",nextDecade:"\u6b21\u306e\u5e74\u4ee3",previousCentury:"\u524d\u306e\u4e16\u7d00",nextCentury:"\u6b21\u306e\u4e16\u7d00"}),mh=(Object(zt.a)({placeholder:"\u65e5\u4ed8\u3092\u9078\u629e",rangePlaceholder:["\u958b\u59cb\u65e5\u4ed8","\u7d42\u4e86\u65e5\u4ed8"]},bh),Object(zt.a)({},{placeholder:"\u6642\u523b\u3092\u9078\u629e"}),{today:"\u10d3\u10e6\u10d4\u10e1",now:"\u10d0\u10ee\u10da\u10d0",backToToday:"\u10db\u10d8\u10db\u10d3\u10d8\u10dc\u10d0\u10e0\u10d4 \u10d7\u10d0\u10e0\u10d8\u10e6\u10d8",ok:"\u10d3\u10d8\u10d0\u10ee",clear:"\u10d2\u10d0\u10e1\u10e3\u10e4\u10d7\u10d0\u10d5\u10d4\u10d1\u10d0",month:"\u10d7\u10d5\u10d4",year:"\u10ec\u10d4\u10da\u10d8",timeSelect:"\u10d0\u10d8\u10e0\u10e9\u10d8\u10d4\u10d7 \u10d3\u10e0\u10dd",dateSelect:"\u10d0\u10d8\u10e0\u10e9\u10d8\u10d4\u10d7 \u10d7\u10d0\u10e0\u10d8\u10e6\u10d8",weekSelect:"\u10d0\u10d8\u10e0\u10e9\u10d8\u10d4\u10d7 \u10d9\u10d5\u10d8\u10e0\u10d0",monthSelect:"\u10d0\u10d8\u10e0\u10e9\u10d8\u10d4\u10d7 \u10d7\u10d5\u10d4",yearSelect:"\u10d0\u10d8\u10e0\u10e9\u10d8\u10d4\u10d7 \u10ec\u10d4\u10da\u10d8",decadeSelect:"\u10d0\u10d8\u10e0\u10e9\u10d8\u10d4 \u10d0\u10d7\u10ec\u10da\u10d4\u10e3\u10da\u10d8",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u10ec\u10d8\u10dc\u10d0 \u10d7\u10d5\u10d4 (PageUp)",nextMonth:"\u10e8\u10d4\u10db\u10d3\u10d4\u10d2\u10d8 \u10d7\u10d5\u10d4 (PageDown)",previousYear:"\u10ec\u10d8\u10dc\u10d0 \u10ec\u10d4\u10da\u10d8 (Control + left)",nextYear:"\u10e8\u10d4\u10db\u10d3\u10d4\u10d2\u10d8 \u10ec\u10d4\u10da\u10d8 (Control + right)",previousDecade:"\u10ec\u10d8\u10dc\u10d0 \u10d0\u10d7\u10ec\u10da\u10d4\u10e3\u10da\u10d8",nextDecade:"\u10e8\u10d4\u10db\u10d3\u10d4\u10d2\u10d8 \u10d0\u10d7\u10ec\u10da\u10d4\u10e3\u10da\u10d8",previousCentury:"\u10ec\u10d8\u10dc\u10d0 \u10e1\u10d0\u10e3\u10d9\u10e3\u10dc\u10d4",nextCentury:"\u10e8\u10d4\u10db\u10d3\u10d4\u10d2\u10d8 \u10e1\u10d0\u10e3\u10d9\u10e3\u10dc\u10d4"}),vh=(Object(zt.a)({placeholder:"\u10d0\u10d8\u10e0\u10e9\u10d8\u10d4\u10d7 \u10d7\u10d0\u10e0\u10d8\u10e6\u10d8",rangePlaceholder:["\u10e1\u10d0\u10ec\u10e7\u10d8\u10e1\u10d8 \u10d7\u10d0\u10e0\u10d8\u10e6\u10d8","\u10d1\u10dd\u10da\u10dd \u10d7\u10d0\u10e0\u10d8\u10e6\u10d8"]},mh),Object(zt.a)({},{placeholder:"\u10d0\u10d8\u10e0\u10e9\u10d8\u10d4\u10d7 \u10d3\u10e0\u10dd"}),{today:"\u0c87\u0c82\u0ca6\u0cc1",now:"\u0c88\u0c97",backToToday:"\u0c87\u0c82\u0ca6\u0cc1 \u0cb9\u0cbf\u0c82\u0ca6\u0cbf\u0cb0\u0cc1\u0c97\u0cbf",ok:"\u0cb8\u0cb0\u0cbf",clear:"\u0cb8\u0ccd\u0caa\u0cb7\u0ccd\u0c9f",month:"\u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",year:"\u0cb5\u0cb0\u0ccd\u0cb7",timeSelect:"\u0cb8\u0cae\u0caf \u0c86\u0caf\u0ccd\u0c95\u0cc6\u0cae\u0cbe\u0ca1\u0cbf",dateSelect:"\u0ca6\u0cbf\u0ca8\u0cbe\u0c82\u0c95\u0cb5\u0ca8\u0ccd\u0ca8\u0cc1 \u0c86\u0caf\u0ccd\u0c95\u0cc6 \u0cae\u0cbe\u0ca1\u0cbf",weekSelect:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cbe\u0cb0\u0ca6 \u0c86\u0cb0\u0cbf\u0cb8\u0cbf",monthSelect:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1 \u0c86\u0caf\u0ccd\u0c95\u0cc6\u0cae\u0cbe\u0ca1\u0cbf",yearSelect:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7 \u0c86\u0cb0\u0cbf\u0cb8\u0cbf",decadeSelect:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cb6\u0c95\u0ca6 \u0c86\u0caf\u0ccd\u0c95\u0cc6\u0cae\u0cbe\u0ca1\u0cbf",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u0cb9\u0cbf\u0c82\u0ca6\u0cbf\u0ca8 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1 (\u0caa\u0cc7\u0c9c\u0ccd\u0c85\u0caa\u0ccd)",nextMonth:"\u0cae\u0cc1\u0c82\u0ca6\u0cbf\u0ca8 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1 (\u0caa\u0cc7\u0c9c\u0ccd\u0ca1\u0ccc\u0ca8\u0ccd)",previousYear:"\u0c95\u0cb3\u0cc6\u0ca6 \u0cb5\u0cb0\u0ccd\u0cb7 (Ctrl + \u0c8e\u0ca1)",nextYear:"\u0cae\u0cc1\u0c82\u0ca6\u0cbf\u0ca8 \u0cb5\u0cb0\u0ccd\u0cb7 (Ctrl + \u0cac\u0cb2)",previousDecade:"\u0c95\u0cb3\u0cc6\u0ca6 \u0ca6\u0cb6\u0c95",nextDecade:"\u0cae\u0cc1\u0c82\u0ca6\u0cbf\u0ca8 \u0ca6\u0cb6\u0c95",previousCentury:"\u0c95\u0cb3\u0cc6\u0ca6 \u0cb6\u0ca4\u0cae\u0cbe\u0ca8",nextCentury:"\u0cae\u0cc1\u0c82\u0ca6\u0cbf\u0ca8 \u0cb6\u0ca4\u0cae\u0cbe\u0ca8"}),yh=(Object(zt.a)({placeholder:"\u0ca6\u0cbf\u0ca8\u0cbe\u0c82\u0c95 \u0c86\u0caf\u0ccd\u0c95\u0cc6\u0cae\u0cbe\u0ca1\u0cbf",rangePlaceholder:["\u0caa\u0ccd\u0cb0\u0cbe\u0cb0\u0c82\u0cad \u0ca6\u0cbf\u0ca8\u0cbe\u0c82\u0c95","\u0c85\u0c82\u0ca4\u0cbf\u0cae \u0ca6\u0cbf\u0ca8\u0cbe\u0c82\u0c95"]},vh),Object(zt.a)({},{placeholder:"\u0cb8\u0cae\u0caf \u0c86\u0caf\u0ccd\u0c95\u0cc6\u0cae\u0cbe\u0ca1\u0cbf"}),{today:"\uc624\ub298",now:"\ud604\uc7ac \uc2dc\uac01",backToToday:"\uc624\ub298\ub85c \ub3cc\uc544\uac00\uae30",ok:"\ud655\uc778",clear:"\uc9c0\uc6b0\uae30",month:"\uc6d4",year:"\ub144",timeSelect:"\uc2dc\uac04 \uc120\ud0dd",dateSelect:"\ub0a0\uc9dc \uc120\ud0dd",monthSelect:"\ub2ec \uc120\ud0dd",yearSelect:"\uc5f0 \uc120\ud0dd",decadeSelect:"\uc5f0\ub300 \uc120\ud0dd",yearFormat:"YYYY\ub144",dateFormat:"YYYY-MM-DD",dayFormat:"Do",dateTimeFormat:"YYYY-MM-DD HH:mm:ss",monthBeforeYear:!1,previousMonth:"\uc774\uc804 \ub2ec (PageUp)",nextMonth:"\ub2e4\uc74c \ub2ec (PageDown)",previousYear:"\uc774\uc804 \ud574 (Control + left)",nextYear:"\ub2e4\uc74c \ud574 (Control + right)",previousDecade:"\uc774\uc804 \uc5f0\ub300",nextDecade:"\ub2e4\uc74c \uc5f0\ub300",previousCentury:"\uc774\uc804 \uc138\uae30",nextCentury:"\ub2e4\uc74c \uc138\uae30"}),wh=(Object(zt.a)({placeholder:"\ub0a0\uc9dc \uc120\ud0dd",rangePlaceholder:["\uc2dc\uc791\uc77c","\uc885\ub8cc\uc77c"]},yh),Object(zt.a)({},{placeholder:"\ub0a0\uc9dc \uc120\ud0dd"}),{today:"\xcero",now:"Niha",backToToday:"Vegere \xeero",ok:"Temam",clear:"Paqij bike",month:"Meh",year:"Sal",timeSelect:"Dem\xea hilbij\xeare",dateSelect:"D\xeerok hilbij\xeare",monthSelect:"Meh hilbij\xeare",yearSelect:"Sal hilbij\xeare",decadeSelect:"Dehsal hilbij\xeare",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Meha pe\u015f (PageUp))",nextMonth:"Meha pa\u015f (PageDown)",previousYear:"Sala pe\u015f (Control + \u015fep)",nextYear:"Sala pa\u015f (Control + rast)",previousDecade:"Dehsalen pe\u015f",nextDecade:"Dehsalen pa\u015f",previousCentury:"Sedsalen pe\u015f",nextCentury:"Sedsalen pa\u015f"}),Oh=(Object(zt.a)({placeholder:"D\xeerok hilbij\xeare",rangePlaceholder:["D\xeeroka destp\xeak\xea","D\xeeroka daw\xeen"]},wh),Object(zt.a)({},{placeholder:"Dem\xea hilbij\xeare"}),{today:"\u0160odien",now:"Tagad",backToToday:"Atpaka\u013c pie \u0161odienas",ok:"Ok",clear:"Skaidrs",month:"M\u0113nesis",year:"Gads",timeSelect:"Izv\u0113lieties laiku",dateSelect:"Izv\u0113lieties datumu",monthSelect:"Izv\u0113lieties m\u0113nesi",yearSelect:"Izv\u0113lieties gadu",decadeSelect:"Izv\u0113lieties desmit gadus",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Iepriek\u0161\u0113jais m\u0113nesis (PageUp)",nextMonth:"N\u0101kamm\u0113nes (PageDown)",previousYear:"Pag\u0101ju\u0161ais gads (Control + left)",nextYear:"N\u0101kamgad (Control + right)",previousDecade:"P\u0113d\u0113j\u0101 desmitgad\u0113",nextDecade:"N\u0101kam\u0101 desmitgade",previousCentury:"Pag\u0101ju\u0161aj\u0101 gadsimt\u0101",nextCentury:"N\u0101kamaj\u0101 gadsimt\u0101"}),Ch=(Object(zt.a)({placeholder:"Izv\u0113lieties datumu",rangePlaceholder:["S\u0101kuma datums","Beigu datums"]},Oh),Object(zt.a)({},{placeholder:"Izv\u0113lieties laiku"}),{today:"\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440",now:"\u041e\u0434\u043e\u043e",backToToday:"\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440\u043b\u04af\u04af \u0431\u0443\u0446\u0430\u0445",ok:"Ok",clear:"\u0426\u044d\u0432\u044d\u0440\u043b\u044d\u0445",month:"\u0421\u0430\u0440",year:"\u0416\u0438\u043b",timeSelect:"\u0426\u0430\u0433 \u0441\u043e\u043d\u0433\u043e\u0445",dateSelect:"\u041e\u0433\u043d\u043e\u043e \u0441\u043e\u043d\u0433\u043e\u0445",weekSelect:"7 \u0445\u043e\u043d\u043e\u0433 \u0441\u043e\u043d\u0433\u043e\u0445",monthSelect:"\u0421\u0430\u0440 \u0441\u043e\u043d\u0433\u043e\u0445",yearSelect:"\u0416\u0438\u043b \u0441\u043e\u043d\u0433\u043e\u0445",decadeSelect:"\u0410\u0440\u0432\u0430\u043d \u0441\u043e\u043d\u0433\u043e\u0445",yearFormat:"YYYY",dateFormat:"YYYY/MM/DD",dayFormat:"DD",dateTimeFormat:"YYYY/MM/DD HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u04e8\u043c\u043d\u04e9\u0445 \u0441\u0430\u0440 (PageUp)",nextMonth:"\u0414\u0430\u0440\u0430\u0430 \u0441\u0430\u0440 (PageDown)",previousYear:"\u04e8\u043c\u043d\u04e9\u0445 \u0436\u0438\u043b (Control + left)",nextYear:"\u0414\u0430\u0440\u0430\u0430 \u0436\u0438\u043b (Control + right)",previousDecade:"\u04e8\u043c\u043d\u04e9\u0445 \u0430\u0440\u0432\u0430\u043d",nextDecade:"\u0414\u0430\u0440\u0430\u0430 \u0430\u0440\u0432\u0430\u043d",previousCentury:"\u04e8\u043c\u043d\u04e9\u0445 \u0437\u0443\u0443\u043d",nextCentury:"\u0414\u0430\u0440\u0430\u0430 \u0437\u0443\u0443\u043d"}),Sh=(Object(zt.a)({placeholder:"\u041e\u0433\u043d\u043e\u043e \u0441\u043e\u043d\u0433\u043e\u0445",rangePlaceholder:["\u042d\u0445\u043b\u044d\u0445 \u043e\u0433\u043d\u043e\u043e","\u0414\u0443\u0443\u0441\u0430\u0445 \u043e\u0433\u043d\u043e\u043e"]},Ch),Object(zt.a)({},{placeholder:"\u0426\u0430\u0433 \u0441\u043e\u043d\u0433\u043e\u0445"}),{today:"Hari ini",now:"Sekarang",backToToday:"Kembali ke hari ini",ok:"Ok",timeSelect:"Pilih masa",dateSelect:"Pilih tarikh",weekSelect:"Pilih minggu",clear:"Padam",month:"Bulan",year:"Tahun",previousMonth:"Bulan lepas",nextMonth:"Bulan depan",monthSelect:"Pilih bulan",yearSelect:"Pilih tahun",decadeSelect:"Pilih dekad",yearFormat:"YYYY",dayFormat:"D",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousYear:"Tahun lepas (Ctrl+left)",nextYear:"Tahun depan (Ctrl+right)",previousDecade:"Dekad lepas",nextDecade:"Dekad depan",previousCentury:"Abad lepas",nextCentury:"Abad depan"}),zh=(Object(zt.a)({placeholder:"Pilih tarikh",rangePlaceholder:["Tarikh mula","Tarikh akhir"]},Sh),Object(zt.a)({},{placeholder:"Sila pilih masa"}),{today:"I dag",now:"N\xe5",backToToday:"G\xe5 til i dag",ok:"Ok",clear:"Annuller",month:"M\xe5ned",year:"\xc5r",timeSelect:"Velg tidspunkt",dateSelect:"Velg dato",monthSelect:"Velg m\xe5ned",yearSelect:"Velg \xe5r",decadeSelect:"Velg \xe5rti",yearFormat:"YYYY",dateFormat:"DD.MM.YYYY",dayFormat:"DD",dateTimeFormat:"DD.MM.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Forrige m\xe5ned(PageUp)",nextMonth:"Neste m\xe5ned (PageDown)",previousYear:"Forrige \xe5r (Control + left)",nextYear:"Neste \xe5r (Control + right)",previousDecade:"Forrige ti\xe5r",nextDecade:"Neste ti\xe5r",previousCentury:"Forrige \xe5rhundre",nextCentury:"Neste \xe5rhundre"}),Th=(Object(zt.a)({placeholder:"Velg dato",rangePlaceholder:["Startdato","Sluttdato"]},zh),Object(zt.a)({},{placeholder:"Velg tid"}),{today:"Vandaag",now:"Nu",backToToday:"Terug naar vandaag",ok:"Ok",clear:"Reset",month:"Maand",year:"Jaar",timeSelect:"Selecteer tijd",dateSelect:"Selecteer datum",monthSelect:"Kies een maand",yearSelect:"Kies een jaar",decadeSelect:"Kies een decennium",yearFormat:"YYYY",dateFormat:"D-M-YYYY",dayFormat:"D",dateTimeFormat:"D-M-YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Vorige maand (PageUp)",nextMonth:"Volgende maand (PageDown)",previousYear:"Vorig jaar (Control + left)",nextYear:"Volgend jaar (Control + right)",previousDecade:"Vorig decennium",nextDecade:"Volgend decennium",previousCentury:"Vorige eeuw",nextCentury:"Volgende eeuw"}),_h=(Object(zt.a)({placeholder:"Selecteer datum",rangePlaceholder:["Begin datum","Eind datum"]},Th),Object(zt.a)({},{placeholder:"Selecteer tijd"}),{today:"Vandaag",now:"Nu",backToToday:"Terug naar vandaag",ok:"Ok",clear:"Reset",month:"Maand",year:"Jaar",timeSelect:"Selecteer tijd",dateSelect:"Selecteer datum",monthSelect:"Kies een maand",yearSelect:"Kies een jaar",decadeSelect:"Kies een decennium",yearFormat:"YYYY",dateFormat:"D-M-YYYY",dayFormat:"D",dateTimeFormat:"D-M-YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Vorige maand (PageUp)",nextMonth:"Volgende maand (PageDown)",previousYear:"Vorig jaar (Control + left)",nextYear:"Volgend jaar (Control + right)",previousDecade:"Vorig decennium",nextDecade:"Volgend decennium",previousCentury:"Vorige eeuw",nextCentury:"Volgende eeuw"}),kh=(Object(zt.a)({placeholder:"Selecteer datum",rangePlaceholder:["Begin datum","Eind datum"]},_h),Object(zt.a)({},{placeholder:"Selecteer tijd"}),{today:"Dzisiaj",now:"Teraz",backToToday:"Ustaw dzisiaj",ok:"Ok",clear:"Wyczy\u015b\u0107",month:"Miesi\u0105c",year:"Rok",timeSelect:"Ustaw czas",dateSelect:"Ustaw dat\u0119",monthSelect:"Wybierz miesi\u0105c",yearSelect:"Wybierz rok",decadeSelect:"Wybierz dekad\u0119",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Poprzedni miesi\u0105c (PageUp)",nextMonth:"Nast\u0119pny miesi\u0105c (PageDown)",previousYear:"Ostatni rok (Ctrl + left)",nextYear:"Nast\u0119pny rok (Ctrl + right)",previousDecade:"Ostatnia dekada",nextDecade:"Nast\u0119pna dekada",previousCentury:"Ostatni wiek",nextCentury:"Nast\u0119pny wiek"}),Dh=(Object(zt.a)({placeholder:"Wybierz dat\u0119",rangePlaceholder:["Data pocz\u0105tkowa","Data ko\u0144cowa"]},kh),Object(zt.a)({},{placeholder:"Wybierz godzin\u0119"}),{today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"Ok",clear:"Limpar",month:"M\xeas",year:"Ano",timeSelect:"Selecionar tempo",dateSelect:"Selecionar data",monthSelect:"Escolher m\xeas",yearSelect:"Escolher ano",decadeSelect:"Escolher d\xe9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"M\xeas anterior (PageUp)",nextMonth:"Pr\xf3ximo m\xeas (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Pr\xf3ximo ano (Control + direita)",previousDecade:"D\xe9cada anterior",nextDecade:"Pr\xf3xima d\xe9cada",previousCentury:"S\xe9culo anterior",nextCentury:"Pr\xf3ximo s\xe9culo"}),xh=(Object(zt.a)({placeholder:"Selecionar data",rangePlaceholder:["Data de in\xedcio","Data de fim"]},Dh),Object(zt.a)({},{placeholder:"Hora"}),{today:"Hoje",now:"Agora",backToToday:"Hoje",ok:"Ok",clear:"Limpar",month:"M\xeas",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Selecionar m\xeas",yearSelect:"Selecionar ano",decadeSelect:"Selecionar d\xe9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"M\xeas anterior (PageUp)",nextMonth:"M\xeas seguinte (PageDown)",previousYear:"Ano anterior (Control + left)",nextYear:"Ano seguinte (Control + right)",previousDecade:"D\xe9cada anterior",nextDecade:"D\xe9cada seguinte",previousCentury:"S\xe9culo anterior",nextCentury:"S\xe9culo seguinte"}),Eh=(Object(zt.a)(Object(zt.a)({},xh),{placeholder:"Data",rangePlaceholder:["Data inicial","Data final"],today:"Hoje",now:"Agora",backToToday:"Hoje",ok:"Ok",clear:"Limpar",month:"M\xeas",year:"Ano",timeSelect:"Hora",dateSelect:"Selecionar data",monthSelect:"Selecionar m\xeas",yearSelect:"Selecionar ano",decadeSelect:"Selecionar d\xe9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthFormat:"MMMM",monthBeforeYear:!1,previousMonth:"M\xeas anterior (PageUp)",nextMonth:"M\xeas seguinte (PageDown)",previousYear:"Ano anterior (Control + left)",nextYear:"Ano seguinte (Control + right)",previousDecade:"\xdaltima d\xe9cada",nextDecade:"Pr\xf3xima d\xe9cada",previousCentury:"\xdaltimo s\xe9culo",nextCentury:"Pr\xf3ximo s\xe9culo"}),Object(zt.a)(Object(zt.a)({},{placeholder:"Hora"}),{placeholder:"Hora"}),{today:"Azi",now:"Acum",backToToday:"\xcenapoi la azi",ok:"Ok",clear:"\u0218terge",month:"Lun\u0103",year:"An",timeSelect:"selecteaz\u0103 timpul",dateSelect:"selecteaz\u0103 data",weekSelect:"Alege o s\u0103pt\u0103m\xe2n\u0103",monthSelect:"Alege o lun\u0103",yearSelect:"Alege un an",decadeSelect:"Alege un deceniu",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Luna anterioar\u0103 (PageUp)",nextMonth:"Luna urm\u0103toare (PageDown)",previousYear:"Anul anterior (Control + st\xe2nga)",nextYear:"Anul urm\u0103tor (Control + dreapta)",previousDecade:"Deceniul anterior",nextDecade:"Deceniul urm\u0103tor",previousCentury:"Secolul anterior",nextCentury:"Secolul urm\u0103tor"}),Nh=(Object(zt.a)({placeholder:"Selecteaz\u0103 data",rangePlaceholder:["Data start","Data sf\xe2r\u0219it"]},Eh),Object(zt.a)({},{placeholder:"Selecteaz\u0103 ora"}),{today:"\u0421\u0435\u0433\u043e\u0434\u043d\u044f",now:"\u0421\u0435\u0439\u0447\u0430\u0441",backToToday:"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0434\u0430\u0442\u0430",ok:"Ok",clear:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",month:"\u041c\u0435\u0441\u044f\u0446",year:"\u0413\u043e\u0434",timeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f",dateSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u0442\u0443",monthSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043c\u0435\u0441\u044f\u0446",yearSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0433\u043e\u0434",decadeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",yearFormat:"YYYY",dateFormat:"D-M-YYYY",dayFormat:"D",dateTimeFormat:"D-M-YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageUp)",nextMonth:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageDown)",previousYear:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + left)",nextYear:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + right)",previousDecade:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",nextDecade:"\u0421\u043b\u0435\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",previousCentury:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0432\u0435\u043a",nextCentury:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0435\u043a"}),jh=(Object(zt.a)({placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443",rangePlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0430\u0442\u0430","\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u0434\u0430\u0442\u0430"]},Nh),Object(zt.a)({},{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f"}),{today:"Dnes",now:"Teraz",backToToday:"Sp\xe4\u0165 na dnes",ok:"Ok",clear:"Vymaza\u0165",month:"Mesiac",year:"Rok",timeSelect:"Vybra\u0165 \u010das",dateSelect:"Vybra\u0165 d\xe1tum",monthSelect:"Vybra\u0165 mesiac",yearSelect:"Vybra\u0165 rok",decadeSelect:"Vybra\u0165 dek\xe1du",yearFormat:"YYYY",dateFormat:"D.M.YYYY",dayFormat:"D",dateTimeFormat:"D.M.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Predch\xe1dzaj\xfaci mesiac (PageUp)",nextMonth:"Nasleduj\xfaci mesiac (PageDown)",previousYear:"Predch\xe1dzaj\xfaci rok (Control + left)",nextYear:"Nasleduj\xfaci rok (Control + right)",previousDecade:"Predch\xe1dzaj\xfaca dek\xe1da",nextDecade:"Nasleduj\xfaca dek\xe1da",previousCentury:"Predch\xe1dzaj\xface storo\u010die",nextCentury:"Nasleduj\xface storo\u010die"}),Ih=(Object(zt.a)({placeholder:"Vybra\u0165 d\xe1tum",rangePlaceholder:["Od","Do"]},jh),Object(zt.a)({},{placeholder:"Vybra\u0165 \u010das"}),{placeholder:"Izberite \u010das"}),Ah=(Object(zt.a)({},Ih),{today:"Danas",now:"Sada",backToToday:"Vrati se na danas",ok:"U redu",clear:"Obri\u0161i",month:"Mesec",year:"Godina",timeSelect:"Izaberi vreme",dateSelect:"Izaberi datum",monthSelect:"Izaberi mesec",yearSelect:"Izaberi godinu",decadeSelect:"Izaberi deceniju",yearFormat:"YYYY",dateFormat:"DD.MM.YYYY",dayFormat:"D",dateTimeFormat:"DD.MM.YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Prethodni mesec (PageUp)",nextMonth:"Slede\u0107i mesec (PageDown)",previousYear:"Prethodna godina (Control + left)",nextYear:"Slede\u0107a godina (Control + right)",previousDecade:"Prethodna decenija",nextDecade:"Slede\u0107a decenija",previousCentury:"Prethodni vek",nextCentury:"Slede\u0107i vek"}),Mh=(Object(zt.a)({placeholder:"Izaberite datum",rangePlaceholder:["Po\u010detni datum","Krajnji datum"]},Ah),Object(zt.a)({},{placeholder:"Izaberite vreme"}),{today:"I dag",now:"Nu",backToToday:"Till idag",ok:"Ok",clear:"Avbryt",month:"M\xe5nad",year:"\xc5r",timeSelect:"V\xe4lj tidpunkt",dateSelect:"V\xe4lj datum",monthSelect:"V\xe4lj m\xe5nad",yearSelect:"V\xe4lj \xe5r",decadeSelect:"V\xe4lj \xe5rtionde",yearFormat:"YYYY",dateFormat:"YYYY-MM-DD",dayFormat:"D",dateTimeFormat:"YYYY-MM-DD H:mm:ss",monthBeforeYear:!0,previousMonth:"F\xf6rra m\xe5naden (PageUp)",nextMonth:"N\xe4sta m\xe5nad (PageDown)",previousYear:"F\xf6reg \xe5r (Control + left)",nextYear:"N\xe4sta \xe5r (Control + right)",previousDecade:"F\xf6reg \xe5rtionde",nextDecade:"N\xe4sta \xe5rtionde",previousCentury:"F\xf6reg \xe5rhundrade",nextCentury:"N\xe4sta \xe5rhundrade"}),Lh=(Object(zt.a)({placeholder:"V\xe4lj datum",rangePlaceholder:["Startdatum","Slutdatum"]},Mh),Object(zt.a)({},{placeholder:"V\xe4lj tid"}),{today:"\u0b87\u0ba9\u0bcd\u0bb1\u0bc1",now:"\u0b87\u0baa\u0bcd\u0baa\u0bcb\u0ba4\u0bc1",backToToday:"\u0b87\u0ba9\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bc1 \u0ba4\u0bbf\u0bb0\u0bc1\u0bae\u0bcd\u0baa\u0bc1",ok:"\u0b9a\u0bb0\u0bbf",clear:"\u0b85\u0bb4\u0bbf",month:"\u0bae\u0bbe\u0ba4\u0bae\u0bcd",year:"\u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",timeSelect:"\u0ba8\u0bc7\u0bb0\u0ba4\u0bcd\u0ba4\u0bc8\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1",dateSelect:"\u0ba4\u0bc7\u0ba4\u0bbf\u0baf\u0bc8\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1",weekSelect:"\u0bb5\u0bbe\u0bb0\u0ba4\u0bcd\u0ba4\u0bc8\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0bb5\u0bc1\u0b9a\u0bc6\u0baf\u0bcd\u0b95",monthSelect:"\u0bae\u0bbe\u0ba4\u0ba4\u0bcd\u0ba4\u0bc8\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0bb5\u0bc1\u0b9a\u0bc6\u0baf\u0bcd\u0b95",yearSelect:"\u0bb5\u0bb0\u0bc1\u0b9f\u0ba4\u0bcd\u0ba4\u0bc8\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0bb5\u0bc1\u0b9a\u0bc6\u0baf\u0bcd\u0b95",decadeSelect:"\u0ba4\u0b9a\u0bbe\u0baa\u0bcd\u0ba4\u0ba4\u0bcd\u0ba4\u0bc8\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0bb5\u0bc1\u0b9a\u0bc6\u0baf\u0bcd\u0b95",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u0bae\u0bc1\u0ba8\u0bcd\u0ba4\u0bc8\u0baf \u0bae\u0bbe\u0ba4\u0bae\u0bcd (PageUp)",nextMonth:"\u0b85\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4 \u0bae\u0bbe\u0ba4\u0bae\u0bcd (PageDown)",previousYear:"\u0bae\u0bc1\u0ba8\u0bcd\u0ba4\u0bc8\u0baf \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd (Control + left)",nextYear:"\u0b85\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd (Control + right)",previousDecade:"\u0bae\u0bc1\u0ba8\u0bcd\u0ba4\u0bc8\u0baf \u0ba4\u0b9a\u0bbe\u0baa\u0bcd\u0ba4\u0bae\u0bcd",nextDecade:"\u0b85\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4 \u0ba4\u0b9a\u0bbe\u0baa\u0bcd\u0ba4\u0bae\u0bcd",previousCentury:"\u0bae\u0bc1\u0ba8\u0bcd\u0ba4\u0bc8\u0baf \u0ba8\u0bc2\u0bb1\u0bcd\u0bb1\u0bbe\u0ba3\u0bcd\u0b9f\u0bc1",nextCentury:"\u0b85\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4 \u0ba8\u0bc2\u0bb1\u0bcd\u0bb1\u0bbe\u0ba3\u0bcd\u0b9f\u0bc1"}),Ph=(Object(zt.a)({placeholder:"\u0ba4\u0bc7\u0ba4\u0bbf\u0baf\u0bc8\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1\u0b95\u0bcd\u0b95\u0bb5\u0bc1\u0bae\u0bcd",rangePlaceholder:["\u0ba4\u0bca\u0b9f\u0b95\u0bcd\u0b95 \u0ba4\u0bc7\u0ba4\u0bbf","\u0b95\u0b9f\u0bc8\u0b9a\u0bbf \u0ba4\u0bc7\u0ba4\u0bbf"]},Lh),Object(zt.a)({},{placeholder:"\u0ba8\u0bc7\u0bb0\u0ba4\u0bcd\u0ba4\u0bc8\u0ba4\u0bcd \u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1\u0b95\u0bcd\u0b95\u0bb5\u0bc1\u0bae\u0bcd"}),{today:"\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49",now:"\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49",backToToday:"\u0e01\u0e25\u0e31\u0e1a\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49",ok:"\u0e15\u0e01\u0e25\u0e07",clear:"\u0e25\u0e1a\u0e25\u0e49\u0e32\u0e07",month:"\u0e40\u0e14\u0e37\u0e2d\u0e19",year:"\u0e1b\u0e35",timeSelect:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e40\u0e27\u0e25\u0e32",dateSelect:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e27\u0e31\u0e19",monthSelect:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e40\u0e14\u0e37\u0e2d\u0e19",yearSelect:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e1b\u0e35",decadeSelect:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e17\u0e28\u0e27\u0e23\u0e23\u0e29",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u0e40\u0e14\u0e37\u0e2d\u0e19\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32 (PageUp)",nextMonth:"\u0e40\u0e14\u0e37\u0e2d\u0e19\u0e16\u0e31\u0e14\u0e44\u0e1b (PageDown)",previousYear:"\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32 (Control + left)",nextYear:"\u0e1b\u0e35\u0e16\u0e31\u0e14\u0e44\u0e1b (Control + right)",previousDecade:"\u0e17\u0e28\u0e27\u0e23\u0e23\u0e29\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32",nextDecade:"\u0e17\u0e28\u0e27\u0e23\u0e23\u0e29\u0e16\u0e31\u0e14\u0e44\u0e1b",previousCentury:"\u0e28\u0e15\u0e27\u0e23\u0e23\u0e29\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32",nextCentury:"\u0e28\u0e15\u0e27\u0e23\u0e23\u0e29\u0e16\u0e31\u0e14\u0e44\u0e1b"}),Fh=(Object(zt.a)({placeholder:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e27\u0e31\u0e19\u0e17\u0e35\u0e48",rangePlaceholder:["\u0e27\u0e31\u0e19\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19","\u0e27\u0e31\u0e19\u0e2a\u0e34\u0e49\u0e19\u0e2a\u0e38\u0e14"]},Ph),Object(zt.a)({},{placeholder:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e40\u0e27\u0e25\u0e32"}),{today:"Bug\xfcn",now:"\u015eimdi",backToToday:"Bug\xfcne Geri D\xf6n",ok:"tamam",clear:"Temizle",month:"Ay",year:"Y\u0131l",timeSelect:"Zaman Se\xe7",dateSelect:"Tarih Se\xe7",monthSelect:"Ay Se\xe7",yearSelect:"Y\u0131l Se\xe7",decadeSelect:"On Y\u0131l Se\xe7",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\xd6nceki Ay (PageUp)",nextMonth:"Sonraki Ay (PageDown)",previousYear:"\xd6nceki Y\u0131l (Control + Sol)",nextYear:"Sonraki Y\u0131l (Control + Sa\u011f)",previousDecade:"\xd6nceki On Y\u0131l",nextDecade:"Sonraki On Y\u0131l",previousCentury:"\xd6nceki Y\xfczy\u0131l",nextCentury:"Sonraki Y\xfczy\u0131l"}),Rh=(Object(zt.a)({placeholder:"Tarih Se\xe7",rangePlaceholder:["Ba\u015flang\u0131\xe7 Tarihi","Biti\u015f Tarihi"]},Fh),Object(zt.a)({},{placeholder:"Zaman Se\xe7"}),{today:"\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456",now:"\u0417\u0430\u0440\u0430\u0437",backToToday:"\u041f\u043e\u0442\u043e\u0447\u043d\u0430 \u0434\u0430\u0442\u0430",ok:"Ok",clear:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438",month:"\u041c\u0456\u0441\u044f\u0446\u044c",year:"\u0420\u0456\u043a",timeSelect:"\u041e\u0431\u0440\u0430\u0442\u0438 \u0447\u0430\u0441",dateSelect:"\u041e\u0431\u0440\u0430\u0442\u0438 \u0434\u0430\u0442\u0443",monthSelect:"\u041e\u0431\u0440\u0430\u0442\u0438 \u043c\u0456\u0441\u044f\u0446\u044c",yearSelect:"\u041e\u0431\u0440\u0430\u0442\u0438 \u0440\u0456\u043a",decadeSelect:"\u041e\u0431\u0440\u0430\u0442\u0438 \u0434\u0435\u0441\u044f\u0442\u0438\u0440\u0456\u0447\u0447\u044f",yearFormat:"YYYY",dateFormat:"D-M-YYYY",dayFormat:"D",dateTimeFormat:"D-M-YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439 \u043c\u0456\u0441\u044f\u0446\u044c (PageUp)",nextMonth:"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u043c\u0456\u0441\u044f\u0446\u044c (PageDown)",previousYear:"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439 \u0440\u0456\u043a (Control + left)",nextYear:"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u0440\u0456\u043a (Control + right)",previousDecade:"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0454 \u0434\u0435\u0441\u044f\u0442\u0438\u0440\u0456\u0447\u0447\u044f",nextDecade:"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u0440\u0456\u0447\u0447\u044f",previousCentury:"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0454 \u0441\u0442\u043e\u043b\u0456\u0442\u0442\u044f",nextCentury:"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0435 \u0441\u0442\u043e\u043b\u0456\u0442\u0442\u044f"}),Vh=(Object(zt.a)({placeholder:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c \u0434\u0430\u0442\u0443",rangePlaceholder:["\u041f\u043e\u0447\u0430\u0442\u043a\u043e\u0432\u0430 \u0434\u0430\u0442\u0430","\u041a\u0456\u043d\u0446\u0435\u0432\u0430 \u0434\u0430\u0442\u0430"]},Rh),Object(zt.a)({},{placeholder:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c \u0447\u0430\u0441"}),{today:"H\xf4m nay",now:"B\xe2y gi\u1edd",backToToday:"Tr\u1edf v\u1ec1 h\xf4m nay",ok:"Ok",clear:"X\xf3a",month:"Th\xe1ng",year:"N\u0103m",timeSelect:"Ch\u1ecdn th\u1eddi gian",dateSelect:"Ch\u1ecdn ng\xe0y",weekSelect:"Ch\u1ecdn tu\u1ea7n",monthSelect:"Ch\u1ecdn th\xe1ng",yearSelect:"Ch\u1ecdn n\u0103m",decadeSelect:"Ch\u1ecdn th\u1eadp k\u1ef7",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Th\xe1ng tr\u01b0\u1edbc (PageUp)",nextMonth:"Th\xe1ng sau (PageDown)",previousYear:"N\u0103m tr\u01b0\u1edbc (Control + left)",nextYear:"N\u0103m sau (Control + right)",previousDecade:"Th\u1eadp k\u1ef7 tr\u01b0\u1edbc",nextDecade:"Th\u1eadp k\u1ef7 sau",previousCentury:"Th\u1ebf k\u1ef7 tr\u01b0\u1edbc",nextCentury:"Th\u1ebf k\u1ef7 sau"}),Bh=(Object(zt.a)({placeholder:"Ch\u1ecdn th\u1eddi \u0111i\u1ec3m",rangePlaceholder:["Ng\xe0y b\u1eaft \u0111\u1ea7u","Ng\xe0y k\u1ebft th\xfac"]},Vh),Object(zt.a)({},{placeholder:"Ch\u1ecdn th\u1eddi gian"}),{today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u78ba\u5b9a",timeSelect:"\u9078\u64c7\u6642\u9593",dateSelect:"\u9078\u64c7\u65e5\u671f",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u500b\u6708 (\u7ffb\u9801\u4e0a\u9375)",nextMonth:"\u4e0b\u500b\u6708 (\u7ffb\u9801\u4e0b\u9375)",monthSelect:"\u9078\u64c7\u6708\u4efd",yearSelect:"\u9078\u64c7\u5e74\u4efd",decadeSelect:"\u9078\u64c7\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u6642mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u9375\u52a0\u5de6\u65b9\u5411\u9375)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u9375\u52a0\u53f3\u65b9\u5411\u9375)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7d00",nextCentury:"\u4e0b\u4e00\u4e16\u7d00"});[Object(zt.a)({placeholder:"\u8acb\u9078\u64c7\u65e5\u671f",rangePlaceholder:["\u958b\u59cb\u65e5\u671f","\u7d50\u675f\u65e5\u671f"]},Bh),Object(zt.a)({},{placeholder:"\u8acb\u9078\u64c7\u6642\u9593"})][0].ok="\u78ba \u5b9a";var Yh=["inputElement"];function Uh(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"i",7),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.sc("nzType",n)}}function Hh(e,t){if(1&e){var n=i.ac();i.Zb(0,"span",8),i.hc("click",(function(e){return i.Dc(n),i.kc().onClickClearBtn(e)})),i.Nc(1,"\n "),i.Ub(2,"i",9),i.Nc(3,"\n "),i.Yb()}if(2&e){var r=i.kc();i.Db(2),i.Eb("aria-label",r.nzClearText)("title",r.nzClearText)}}function Wh(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"div",10),i.Nc(2,"\n "),i.Zb(3,"div",11),i.Nc(4,"\n "),i.Zb(5,"div",12),i.Nc(6,"\n "),i.Zb(7,"nz-time-picker-panel",13),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc().value=e}))("ngModelChange",(function(e){return i.Dc(n),i.kc().setValue(e)}))("closePanel",(function(){return i.Dc(n),i.kc().close()})),i.lc(8,"nzI18n"),i.Nc(9,"\n "),i.Yb(),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n "),i.Yb(),i.Nc(12,"\n "),i.Yb(),i.Nc(13,"\n ")}if(2&e){var r=i.kc();i.Db(1),i.sc("@slideMotion","bottom"),i.Db(6),i.sc("ngClass",r.nzPopupClassName)("format",r.nzFormat)("nzHourStep",r.nzHourStep)("nzMinuteStep",r.nzMinuteStep)("nzSecondStep",r.nzSecondStep)("nzDisabledHours",r.nzDisabledHours)("nzDisabledMinutes",r.nzDisabledMinutes)("nzDisabledSeconds",r.nzDisabledSeconds)("nzPlaceHolder",r.nzPlaceHolder||i.mc(8,17,"TimePicker.placeholder"))("nzHideDisabledOptions",r.nzHideDisabledOptions)("nzUse12Hours",r.nzUse12Hours)("nzDefaultOpenValue",r.nzDefaultOpenValue)("nzAddOn",r.nzAddOn)("nzClearText",r.nzClearText)("nzAllowEmpty",r.nzAllowEmpty)("ngModel",r.value)}}var qh=["hourListElement"],Zh=["minuteListElement"],$h=["secondListElement"],Gh=["use12HoursListElement"];function Qh(e,t){if(1&e&&(i.Zb(0,"div",4),i.Nc(1,"\n "),i.Zb(2,"div",5),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(3),i.Oc(n.dateHelper.format(null==n.time?null:n.time.value,n.format)||"\xa0")}}function Xh(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",10),i.hc("click",(function(){i.Dc(n);var e=i.kc().$implicit;return i.kc(2).selectHour(e)})),i.Nc(1,"\n "),i.Zb(2,"div",11),i.Nc(3),i.lc(4,"number"),i.Yb(),i.Nc(5,"\n "),i.Yb()}if(2&e){var r=i.kc().$implicit,o=i.kc(2);i.Jb("ant-picker-time-panel-cell-selected",o.isSelectedHour(r))("ant-picker-time-panel-cell-disabled",r.disabled),i.Db(3),i.Oc(i.nc(4,5,r.index,"2.0-0"))}}function Kh(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,Xh,6,8,"li",9),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit,r=i.kc(2);i.Db(2),i.sc("ngIf",!(r.nzHideDisabledOptions&&n.disabled))}}function Jh(e,t){if(1&e&&(i.Zb(0,"ul",6,7),i.Nc(2,"\n "),i.Lc(3,Kh,4,1,"ng-container",8),i.Nc(4,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(3),i.sc("ngForOf",n.hourRange)}}function ed(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",10),i.hc("click",(function(){i.Dc(n);var e=i.kc().$implicit;return i.kc(2).selectMinute(e)})),i.Nc(1,"\n "),i.Zb(2,"div",11),i.Nc(3),i.lc(4,"number"),i.Yb(),i.Nc(5,"\n "),i.Yb()}if(2&e){var r=i.kc().$implicit,o=i.kc(2);i.Jb("ant-picker-time-panel-cell-selected",o.isSelectedMinute(r))("ant-picker-time-panel-cell-disabled",r.disabled),i.Db(3),i.Oc(i.nc(4,5,r.index,"2.0-0"))}}function td(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,ed,6,8,"li",9),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit,r=i.kc(2);i.Db(2),i.sc("ngIf",!(r.nzHideDisabledOptions&&n.disabled))}}function nd(e,t){if(1&e&&(i.Zb(0,"ul",6,12),i.Nc(2,"\n "),i.Lc(3,td,4,1,"ng-container",8),i.Nc(4,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(3),i.sc("ngForOf",n.minuteRange)}}function id(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",10),i.hc("click",(function(){i.Dc(n);var e=i.kc().$implicit;return i.kc(2).selectSecond(e)})),i.Nc(1,"\n "),i.Zb(2,"div",11),i.Nc(3),i.lc(4,"number"),i.Yb(),i.Nc(5,"\n "),i.Yb()}if(2&e){var r=i.kc().$implicit,o=i.kc(2);i.Jb("ant-picker-time-panel-cell-selected",o.isSelectedSecond(r))("ant-picker-time-panel-cell-disabled",r.disabled),i.Db(3),i.Oc(i.nc(4,5,r.index,"2.0-0"))}}function rd(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,id,6,8,"li",9),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit,r=i.kc(2);i.Db(2),i.sc("ngIf",!(r.nzHideDisabledOptions&&n.disabled))}}function od(e,t){if(1&e&&(i.Zb(0,"ul",6,13),i.Nc(2,"\n "),i.Lc(3,rd,4,1,"ng-container",8),i.Nc(4,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(3),i.sc("ngForOf",n.secondRange)}}function ad(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",10),i.hc("click",(function(){i.Dc(n);var e=i.kc().$implicit;return i.kc(2).select12Hours(e)})),i.Nc(1,"\n "),i.Zb(2,"div",11),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Yb()}if(2&e){var r=i.kc().$implicit,o=i.kc(2);i.Jb("ant-picker-time-panel-cell-selected",o.isSelected12Hours(r)),i.Db(3),i.Oc(r.value)}}function sd(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,ad,5,3,"li",15),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2);i.Db(2),i.sc("ngIf",!n.nzHideDisabledOptions)}}function cd(e,t){if(1&e&&(i.Zb(0,"ul",6,14),i.Nc(2,"\n "),i.Lc(3,sd,4,1,"ng-container",8),i.Nc(4,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(3),i.sc("ngForOf",n.use12HoursRange)}}function ud(e,t){}function ld(e,t){if(1&e&&(i.Zb(0,"div",21),i.Nc(1,"\n "),i.Lc(2,ud,0,0,"ng-template",22),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc(2);i.Db(2),i.sc("ngTemplateOutlet",n.nzAddOn)}}function pd(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",16),i.Nc(1,"\n "),i.Lc(2,ld,4,1,"div",17),i.Nc(3,"\n "),i.Zb(4,"ul",18),i.Nc(5,"\n "),i.Zb(6,"li",19),i.Nc(7,"\n "),i.Zb(8,"a",20),i.hc("click",(function(){return i.Dc(n),i.kc().onClickNow()})),i.Nc(9),i.lc(10,"nzI18n"),i.Yb(),i.Nc(11,"\n "),i.Yb(),i.Nc(12,"\n "),i.Yb(),i.Nc(13,"\n "),i.Yb()}if(2&e){var r=i.kc();i.Db(2),i.sc("ngIf",r.nzAddOn),i.Db(7),i.Pc("\n ",i.mc(10,2,"Calendar.now"),"\n ")}}var hd=function(){function e(e,t,n,r){this.nzConfigService=e,this.element=t,this.renderer=n,this.cdr=r,this.isInit=!1,this.focused=!1,this.value=null,this.overlayPositions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetX:0,offsetY:3}],this.nzSize=null,this.nzHourStep=1,this.nzMinuteStep=1,this.nzSecondStep=1,this.nzClearText="clear",this.nzPopupClassName="",this.nzPlaceHolder="",this.nzFormat="HH:mm:ss",this.nzOpen=!1,this.nzUse12Hours=!1,this.nzSuffixIcon="clock-circle",this.nzOpenChange=new i.n,this.nzHideDisabledOptions=!1,this.nzAllowEmpty=!0,this.nzDisabled=!1,this.nzAutoFocus=!1}return e.prototype.setValue=function(e){this.value=e?new Date(e):null,this._onChange&&this._onChange(this.value),this._onTouched&&this._onTouched()},e.prototype.open=function(){this.nzDisabled||(this.focus(),this.nzOpen=!0,this.nzOpenChange.emit(this.nzOpen))},e.prototype.close=function(){this.nzOpen=!1,this.cdr.markForCheck(),this.nzOpenChange.emit(this.nzOpen)},e.prototype.updateAutoFocus=function(){this.isInit&&!this.nzDisabled&&(this.nzAutoFocus?this.renderer.setAttribute(this.inputRef.nativeElement,"autofocus","autofocus"):this.renderer.removeAttribute(this.inputRef.nativeElement,"autofocus"))},e.prototype.onClickClearBtn=function(e){e.stopPropagation(),this.setValue(null)},e.prototype.onFocus=function(e){this.focused=e},e.prototype.focus=function(){this.inputRef.nativeElement&&this.inputRef.nativeElement.focus()},e.prototype.blur=function(){this.inputRef.nativeElement&&this.inputRef.nativeElement.blur()},e.prototype.ngOnInit=function(){this.inputSize=Math.max(8,this.nzFormat.length)+2,this.origin=new Ur.b(this.element)},e.prototype.ngOnChanges=function(e){var t=e.nzUse12Hours,n=e.nzDisabled,i=e.nzAutoFocus;if(t&&!t.previousValue&&t.currentValue&&!e.nzFormat&&(this.nzFormat="h:mm:ss a"),n){var r=this.inputRef.nativeElement;n.currentValue?this.renderer.setAttribute(r,"disabled",""):this.renderer.removeAttribute(r,"disabled")}i&&this.updateAutoFocus()},e.prototype.ngAfterViewInit=function(){this.isInit=!0,this.updateAutoFocus()},e.prototype.writeValue=function(e){e instanceof Date?this.value=e:Object(es.n)(e)?this.value=null:(Object(Hs.b)('Non-Date type is not recommended for time-picker, use "Date" type.'),this.value=new Date(e)),this.cdr.markForCheck()},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this.nzDisabled=e,this.cdr.markForCheck()},Object(zt.b)([Object(Qa.b)("timePicker"),Object(zt.d)("design:type",Number)],e.prototype,"nzHourStep",void 0),Object(zt.b)([Object(Qa.b)("timePicker"),Object(zt.d)("design:type",Number)],e.prototype,"nzMinuteStep",void 0),Object(zt.b)([Object(Qa.b)("timePicker"),Object(zt.d)("design:type",Number)],e.prototype,"nzSecondStep",void 0),Object(zt.b)([Object(Qa.b)("timePicker"),Object(zt.d)("design:type",String)],e.prototype,"nzClearText",void 0),Object(zt.b)([Object(Qa.b)("timePicker"),Object(zt.d)("design:type",String)],e.prototype,"nzPopupClassName",void 0),Object(zt.b)([Object(Qa.b)("timePicker"),Object(zt.d)("design:type",String)],e.prototype,"nzFormat",void 0),Object(zt.b)([Object(Qa.b)("timePicker"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzUse12Hours",void 0),Object(zt.b)([Object(Qa.b)("timePicker"),Object(zt.d)("design:type",Object)],e.prototype,"nzSuffixIcon",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzHideDisabledOptions",void 0),Object(zt.b)([Object(Qa.b)("timePicker"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzAllowEmpty",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.l),i.Tb(i.E),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-time-picker"]],viewQuery:function(e,t){var n;1&e&&i.Jc(Yh,!0),2&e&&i.zc(n=i.ic())&&(t.inputRef=n.first)},hostVars:10,hostBindings:function(e,t){1&e&&i.hc("click",(function(){return t.open()})),2&e&&i.Jb("ant-picker",!0)("ant-picker-large","large"===t.nzSize)("ant-picker-small","small"===t.nzSize)("ant-picker-disabled",t.nzDisabled)("ant-picker-focused",t.focused)},inputs:{nzSize:"nzSize",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep",nzClearText:"nzClearText",nzPopupClassName:"nzPopupClassName",nzPlaceHolder:"nzPlaceHolder",nzFormat:"nzFormat",nzOpen:"nzOpen",nzUse12Hours:"nzUse12Hours",nzSuffixIcon:"nzSuffixIcon",nzHideDisabledOptions:"nzHideDisabledOptions",nzAllowEmpty:"nzAllowEmpty",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzAddOn:"nzAddOn",nzDefaultOpenValue:"nzDefaultOpenValue",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzTimePicker"],features:[i.Cb([{provide:Ot.m,useExisting:e,multi:!0}]),i.Bb],decls:17,vars:13,consts:[[1,"ant-picker-input"],["type","text",3,"size","nzTime","placeholder","ngModel","disabled","ngModelChange","focus","blur"],["inputElement",""],[1,"ant-picker-suffix"],[4,"nzStringTemplateOutlet"],["class","ant-picker-clear",3,"click",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","","cdkConnectedOverlayHasBackdrop","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayOffsetY","detach","backdropClick"],["nz-icon","",3,"nzType"],[1,"ant-picker-clear",3,"click"],["nz-icon","","nzType","close-circle","nzTheme","fill"],[1,"ant-picker-dropdown"],[1,"ant-picker-panel-container"],["tabindex","-1",1,"ant-picker-panel"],[3,"ngClass","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzPlaceHolder","nzHideDisabledOptions","nzUse12Hours","nzDefaultOpenValue","nzAddOn","nzClearText","nzAllowEmpty","ngModel","ngModelChange","closePanel"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Zb(3,"input",1,2),i.hc("ngModelChange",(function(e){return t.value=e}))("focus",(function(){return t.onFocus(!0)}))("blur",(function(){return t.onFocus(!1)})),i.lc(5,"nzI18n"),i.Yb(),i.Nc(6,"\n "),i.Zb(7,"span",3),i.Nc(8,"\n "),i.Lc(9,Uh,4,1,"ng-container",4),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n "),i.Lc(12,Hh,4,2,"span",5),i.Nc(13,"\n "),i.Yb(),i.Nc(14,"\n\n "),i.Lc(15,Wh,14,19,"ng-template",6),i.hc("detach",(function(){return t.close()}))("backdropClick",(function(){return t.close()})),i.Nc(16,"\n ")),2&e&&(i.Db(3),i.sc("size",t.inputSize)("nzTime",t.nzFormat)("placeholder",t.nzPlaceHolder||i.mc(5,11,"TimePicker.placeholder"))("ngModel",t.value)("disabled",t.nzDisabled),i.Db(6),i.sc("nzStringTemplateOutlet",t.nzSuffixIcon),i.Db(3),i.sc("ngIf",t.nzAllowEmpty&&t.value),i.Db(3),i.sc("cdkConnectedOverlayPositions",t.overlayPositions)("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayOpen",t.nzOpen)("cdkConnectedOverlayOffsetY",-2))},directives:function(){return[fd,Ot.e,Ot.o,Ot.r,Es.b,Vr.t,Ur.a,Nu.e,Ns.a,bd,Vr.q]},pipes:function(){return[Pp]},encapsulation:2,data:{animation:[xs.g]},changeDetection:0}),e}(),dd=function(){function e(){this.selected12Hours=void 0,this._use12Hours=!1,this._changes=new kt.a}return e.prototype.setMinutes=function(e,t){return e===this.minutes||t||(this.initValue(),this.value.setMinutes(e),this.update()),this},e.prototype.setHours=function(e,t){return e===this.hours||t||(this.initValue(),this.value.setHours(this._use12Hours?"PM"===this.selected12Hours&&12!==e?e+12:"AM"===this.selected12Hours&&12===e?0:e:e),this.update()),this},e.prototype.setSeconds=function(e,t){return e===this.seconds||t||(this.initValue(),this.value.setSeconds(e),this.update()),this},e.prototype.setUse12Hours=function(e){return this._use12Hours=e,this},Object.defineProperty(e.prototype,"changes",{get:function(){return this._changes.asObservable()},enumerable:!0,configurable:!0}),e.prototype.setValue=function(e,t){return Object(es.p)(t)&&(this._use12Hours=t),e!==this.value&&(this._value=e,Object(es.p)(this.value)?this._use12Hours&&Object(es.p)(this.hours)&&(this.selected12Hours=this.hours>=12?"PM":"AM"):this._clear()),this},e.prototype.initValue=function(){Object(es.n)(this.value)&&this.setValue(new Date,this._use12Hours)},e.prototype.clear=function(){this._clear(),this.update()},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return!(Object(es.p)(this.hours)||Object(es.p)(this.minutes)||Object(es.p)(this.seconds))},enumerable:!0,configurable:!0}),e.prototype._clear=function(){this._value=void 0,this.selected12Hours=void 0},e.prototype.update=function(){this.isEmpty?this._value=void 0:(Object(es.p)(this.hours)&&this.value.setHours(this.hours),Object(es.p)(this.minutes)&&this.value.setMinutes(this.minutes),Object(es.p)(this.seconds)&&this.value.setSeconds(this.seconds),this._use12Hours&&("PM"===this.selected12Hours&&this.hours<12&&this.value.setHours(this.hours+12),"AM"===this.selected12Hours&&this.hours>=12&&this.value.setHours(this.hours-12))),this.changed()},e.prototype.changed=function(){this._changes.next(this.value)},Object.defineProperty(e.prototype,"viewHours",{get:function(){return this._use12Hours&&Object(es.p)(this.hours)?this.calculateViewHour(this.hours):this.hours},enumerable:!0,configurable:!0}),e.prototype.setSelected12Hours=function(e){e.toUpperCase()!==this.selected12Hours&&(this.selected12Hours=e.toUpperCase(),this.update())},Object.defineProperty(e.prototype,"value",{get:function(){return this._value||this._defaultOpenValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hours",{get:function(){var e;return null===(e=this.value)||void 0===e?void 0:e.getHours()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minutes",{get:function(){var e;return null===(e=this.value)||void 0===e?void 0:e.getMinutes()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"seconds",{get:function(){var e;return null===(e=this.value)||void 0===e?void 0:e.getSeconds()},enumerable:!0,configurable:!0}),e.prototype.setDefaultOpenValue=function(e){return this._defaultOpenValue=e,this},e.prototype.calculateViewHour=function(e){var t=this.selected12Hours;return"PM"===t&&e>12?e-12:"AM"===t&&0===e?12:e},e}(),fd=function(){function e(e,t){this.dateHelper=e,this.elementRef=t}return e.prototype.keyup=function(){this.changed()},e.prototype.blur=function(){this.touched()},e.prototype.changed=function(){if(this._onChange){var e=this.dateHelper.parseTime(this.elementRef.nativeElement.value,this.nzTime);this._onChange(e)}},e.prototype.touched=function(){this._onTouch&&this._onTouch()},e.prototype.setRange=function(){this.elementRef.nativeElement.focus(),this.elementRef.nativeElement.setSelectionRange(0,this.elementRef.nativeElement.value.length)},e.prototype.writeValue=function(e){this.elementRef.nativeElement.value=this.dateHelper.format(e,this.nzTime)},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouch=e},e.\u0275fac=function(t){return new(t||e)(i.Tb(qp),i.Tb(i.l))},e.\u0275dir=i.Ob({type:e,selectors:[["input","nzTime",""]],hostBindings:function(e,t){1&e&&i.hc("keyup",(function(){return t.keyup()}))("blur",(function(){return t.blur()}))},inputs:{nzTime:"nzTime"},exportAs:["nzTime"],features:[i.Cb([{provide:Ot.m,useExisting:e,multi:!0}])]}),e}();function gd(e,t,n){return void 0===t&&(t=1),void 0===n&&(n=0),new Array(Math.ceil(e/t)).fill(0).map((function(e,i){return(i+n)*t}))}var bd=function(){function e(e,t){this.cdr=e,this.dateHelper=t,this._nzHourStep=1,this._nzMinuteStep=1,this._nzSecondStep=1,this.unsubscribe$=new kt.a,this._format="HH:mm:ss",this._disabledHours=function(){return[]},this._disabledMinutes=function(){return[]},this._disabledSeconds=function(){return[]},this._allowEmpty=!0,this.time=new dd,this.hourEnabled=!0,this.minuteEnabled=!0,this.secondEnabled=!0,this.firstScrolled=!1,this.enabledColumns=3,this.nzInDatePicker=!1,this.nzHideDisabledOptions=!1,this.nzUse12Hours=!1,this.closePanel=new i.n}return Object.defineProperty(e.prototype,"nzAllowEmpty",{get:function(){return this._allowEmpty},set:function(e){Object(es.p)(e)&&(this._allowEmpty=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzDisabledHours",{get:function(){return this._disabledHours},set:function(e){this._disabledHours=e,this._disabledHours&&this.buildHours()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzDisabledMinutes",{get:function(){return this._disabledMinutes},set:function(e){Object(es.p)(e)&&(this._disabledMinutes=e,this.buildMinutes())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzDisabledSeconds",{get:function(){return this._disabledSeconds},set:function(e){Object(es.p)(e)&&(this._disabledSeconds=e,this.buildSeconds())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this._format},set:function(e){if(Object(es.p)(e)){this._format=e,this.enabledColumns=0;var t=new Set(e);this.hourEnabled=t.has("H")||t.has("h"),this.minuteEnabled=t.has("m"),this.secondEnabled=t.has("s"),this.hourEnabled&&this.enabledColumns++,this.minuteEnabled&&this.enabledColumns++,this.secondEnabled&&this.enabledColumns++,this.nzUse12Hours&&this.build12Hours()}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzHourStep",{get:function(){return this._nzHourStep},set:function(e){Object(es.p)(e)&&(this._nzHourStep=e,this.buildHours())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzMinuteStep",{get:function(){return this._nzMinuteStep},set:function(e){Object(es.p)(e)&&(this._nzMinuteStep=e,this.buildMinutes())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzSecondStep",{get:function(){return this._nzSecondStep},set:function(e){Object(es.p)(e)&&(this._nzSecondStep=e,this.buildSeconds())},enumerable:!0,configurable:!0}),e.prototype.selectInputRange=function(){var e=this;setTimeout((function(){e.nzTimeValueAccessorDirective&&e.nzTimeValueAccessorDirective.setRange()}))},e.prototype.buildHours=function(){var e,t=24,n=null===(e=this.nzDisabledHours)||void 0===e?void 0:e.call(this),i=0;if(this.nzUse12Hours&&(t=12,n&&(n="PM"===this.time.selected12Hours?n.filter((function(e){return e>=12})).map((function(e){return e>12?e-12:e})):n.filter((function(e){return e<12||24===e})).map((function(e){return 24===e||0===e?12:e}))),i=1),this.hourRange=gd(t,this.nzHourStep,i).map((function(e){return{index:e,disabled:!!n&&-1!==n.indexOf(e)}})),this.nzUse12Hours&&12===this.hourRange[this.hourRange.length-1].index){var r=Object(zt.g)(this.hourRange);r.unshift(r[r.length-1]),r.splice(r.length-1,1),this.hourRange=r}},e.prototype.buildMinutes=function(){var e=this;this.minuteRange=gd(60,this.nzMinuteStep).map((function(t){return{index:t,disabled:!!e.nzDisabledMinutes&&-1!==e.nzDisabledMinutes(e.time.hours).indexOf(t)}}))},e.prototype.buildSeconds=function(){var e=this;this.secondRange=gd(60,this.nzSecondStep).map((function(t){return{index:t,disabled:!!e.nzDisabledSeconds&&-1!==e.nzDisabledSeconds(e.time.hours,e.time.minutes).indexOf(t)}}))},e.prototype.build12Hours=function(){var e=this._format.includes("A");this.use12HoursRange=[{index:0,value:e?"AM":"am"},{index:1,value:e?"PM":"pm"}]},e.prototype.buildTimes=function(){this.buildHours(),this.buildMinutes(),this.buildSeconds(),this.build12Hours()},e.prototype.scrollToTime=function(e){void 0===e&&(e=0),this.hourEnabled&&this.hourListElement&&this.scrollToSelected(this.hourListElement.nativeElement,this.time.viewHours,e,"hour"),this.minuteEnabled&&this.minuteListElement&&this.scrollToSelected(this.minuteListElement.nativeElement,this.time.minutes,e,"minute"),this.secondEnabled&&this.secondListElement&&this.scrollToSelected(this.secondListElement.nativeElement,this.time.seconds,e,"second"),this.nzUse12Hours&&this.use12HoursListElement&&this.scrollToSelected(this.use12HoursListElement.nativeElement,"AM"===this.time.selected12Hours?0:1,e,"12-hour")},e.prototype.selectHour=function(e){this.time.setHours(e.index,e.disabled),this._disabledMinutes&&this.buildMinutes(),(this._disabledSeconds||this._disabledMinutes)&&this.buildSeconds()},e.prototype.selectMinute=function(e){this.time.setMinutes(e.index,e.disabled),this._disabledSeconds&&this.buildSeconds()},e.prototype.selectSecond=function(e){this.time.setSeconds(e.index,e.disabled)},e.prototype.select12Hours=function(e){this.time.setSelected12Hours(e.value),this._disabledHours&&this.buildHours(),this._disabledMinutes&&this.buildMinutes(),this._disabledSeconds&&this.buildSeconds()},e.prototype.scrollToSelected=function(e,t,n,i){if(void 0===n&&(n=0),e){var r=this.translateIndex(t,i);this.scrollTo(e,(e.children[r]||e.children[0]).offsetTop,n)}},e.prototype.translateIndex=function(e,t){var n,i,r;return"hour"===t?this.calcIndex(null===(n=this.nzDisabledHours)||void 0===n?void 0:n.call(this),this.hourRange.map((function(e){return e.index})).indexOf(e)):"minute"===t?this.calcIndex(null===(i=this.nzDisabledMinutes)||void 0===i?void 0:i.call(this,this.time.hours),this.minuteRange.map((function(e){return e.index})).indexOf(e)):"second"===t?this.calcIndex(null===(r=this.nzDisabledSeconds)||void 0===r?void 0:r.call(this,this.time.hours,this.time.minutes),this.secondRange.map((function(e){return e.index})).indexOf(e)):this.calcIndex([],this.use12HoursRange.map((function(e){return e.index})).indexOf(e))},e.prototype.scrollTo=function(e,t,n){var i=this;if(n<=0)e.scrollTop=t;else{var r=(t-e.scrollTop)/n*10;rs((function(){e.scrollTop=e.scrollTop+r,e.scrollTop!==t&&i.scrollTo(e,t,n-10)}))}},e.prototype.calcIndex=function(e,t){return(null==e?void 0:e.length)&&this.nzHideDisabledOptions?t-e.reduce((function(e,n){return e+(n-1||(null!==(r=null===(i=this.nzDisabledMinutes)||void 0===i?void 0:i.call(this,s).indexOf(c))&&void 0!==r?r:-1)>-1||(null!==(a=null===(o=this.nzDisabledSeconds)||void 0===o?void 0:o.call(this,s,c).indexOf(u))&&void 0!==a?a:-1)>-1},e.prototype.onClickNow=function(){var e=new Date;this.timeDisabled(e)||(this.time.setValue(e),this.changed(),this.closePanel.emit())},e.prototype.isSelectedHour=function(e){return e.index===this.time.viewHours},e.prototype.isSelectedMinute=function(e){return e.index===this.time.minutes},e.prototype.isSelectedSecond=function(e){return e.index===this.time.seconds},e.prototype.isSelected12Hours=function(e){return e.value.toUpperCase()===this.time.selected12Hours},e.prototype.ngOnInit=function(){var e=this;this.time.changes.pipe(Object(ss.a)(this.unsubscribe$)).subscribe((function(){e.changed(),e.touched()})),this.buildTimes(),this.selectInputRange(),setTimeout((function(){e.scrollToTime(),e.firstScrolled=!0}))},e.prototype.ngOnDestroy=function(){this.unsubscribe$.next(),this.unsubscribe$.complete()},e.prototype.ngOnChanges=function(e){var t=e.nzUse12Hours,n=e.nzDefaultOpenValue;!(null==t?void 0:t.previousValue)&&(null==t?void 0:t.currentValue)&&(this.build12Hours(),this.enabledColumns++),(null==n?void 0:n.currentValue)&&this.time.setDefaultOpenValue(this.nzDefaultOpenValue||new Date)},e.prototype.writeValue=function(e){this.time.setValue(e,this.nzUse12Hours),this.buildTimes(),e&&this.firstScrolled&&this.scrollToTime(120),this.cdr.markForCheck()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouch=e},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzUse12Hours",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(qp))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-time-picker-panel"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(fd,!0),i.Sc(qh,!0),i.Sc(Zh,!0),i.Sc($h,!0),i.Sc(Gh,!0)),2&e&&(i.zc(n=i.ic())&&(t.nzTimeValueAccessorDirective=n.first),i.zc(n=i.ic())&&(t.hourListElement=n.first),i.zc(n=i.ic())&&(t.minuteListElement=n.first),i.zc(n=i.ic())&&(t.secondListElement=n.first),i.zc(n=i.ic())&&(t.use12HoursListElement=n.first))},hostVars:14,hostBindings:function(e,t){2&e&&i.Jb("ant-picker-time-panel",!0)("ant-picker-time-panel-column-0",0===t.enabledColumns&&!t.nzInDatePicker)("ant-picker-time-panel-column-1",1===t.enabledColumns&&!t.nzInDatePicker)("ant-picker-time-panel-column-2",2===t.enabledColumns&&!t.nzInDatePicker)("ant-picker-time-panel-column-3",3===t.enabledColumns&&!t.nzInDatePicker)("ant-picker-time-panel-narrow",t.enabledColumns<3)("ant-picker-time-panel-placement-bottomLeft",!t.nzInDatePicker)},inputs:{nzInDatePicker:"nzInDatePicker",nzHideDisabledOptions:"nzHideDisabledOptions",nzUse12Hours:"nzUse12Hours",nzAllowEmpty:"nzAllowEmpty",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",format:"format",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep",nzAddOn:"nzAddOn",nzClearText:"nzClearText",nzPlaceHolder:"nzPlaceHolder",nzDefaultOpenValue:"nzDefaultOpenValue"},outputs:{closePanel:"closePanel"},exportAs:["nzTimePickerPanel"],features:[i.Cb([{provide:Ot.m,useExisting:e,multi:!0}]),i.Bb],decls:16,vars:6,consts:[["class","ant-picker-header",4,"ngIf"],[1,"ant-picker-content"],["class","ant-picker-time-panel-column","style","position: relative;",4,"ngIf"],["class","ant-picker-footer",4,"ngIf"],[1,"ant-picker-header"],[1,"ant-picker-header-view"],[1,"ant-picker-time-panel-column",2,"position","relative"],["hourListElement",""],[4,"ngFor","ngForOf"],["class","ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","ant-picker-time-panel-cell-disabled","click",4,"ngIf"],[1,"ant-picker-time-panel-cell",3,"click"],[1,"ant-picker-time-panel-cell-inner"],["minuteListElement",""],["secondListElement",""],["use12HoursListElement",""],["class","ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","click",4,"ngIf"],[1,"ant-picker-footer"],["class","ant-picker-footer-extra",4,"ngIf"],[1,"ant-picker-ranges"],[1,"ant-picker-now"],[3,"click"],[1,"ant-picker-footer-extra"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Lc(1,Qh,5,1,"div",0),i.Nc(2,"\n "),i.Zb(3,"div",1),i.Nc(4,"\n "),i.Lc(5,Jh,5,1,"ul",2),i.Nc(6,"\n "),i.Lc(7,nd,5,1,"ul",2),i.Nc(8,"\n "),i.Lc(9,od,5,1,"ul",2),i.Nc(10,"\n "),i.Lc(11,cd,5,1,"ul",2),i.Nc(12,"\n "),i.Yb(),i.Nc(13,"\n "),i.Lc(14,pd,14,4,"div",3),i.Nc(15,"\n ")),2&e&&(i.Db(1),i.sc("ngIf",t.nzInDatePicker),i.Db(4),i.sc("ngIf",t.hourEnabled),i.Db(2),i.sc("ngIf",t.minuteEnabled),i.Db(2),i.sc("ngIf",t.secondEnabled),i.Db(2),i.sc("ngIf",t.nzUse12Hours),i.Db(3),i.sc("ngIf",!t.nzInDatePicker))},directives:[Vr.t,Vr.s,Vr.A],pipes:[Vr.g,Pp],encapsulation:2,changeDetection:0}),e}(),md=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,Fp,Ur.i,Ns.b,Nu.f,Es.a]]}),e}();function vd(e,t){Zu(2,arguments);var n=$u(e),i=il(t);if(isNaN(i))return new Date(NaN);if(!i)return n;var r=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+i+1,0);var a=o.getDate();return r>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function yd(e){Zu(1,arguments);var t=$u(e);return t.setHours(0,0,0,0),t}function wd(e,t){Zu(2,arguments);var n=yd(e),i=yd(t),r=n.getTime()-Sl(n),o=i.getTime()-Sl(i);return Math.round((r-o)/864e5)}function Od(e,t){Zu(2,arguments);var n=$u(e),i=$u(t),r=n.getFullYear()-i.getFullYear(),o=n.getMonth()-i.getMonth();return 12*r+o}function Cd(e,t){Zu(2,arguments);var n=$u(e),i=$u(t);return n.getFullYear()-i.getFullYear()}function Sd(e,t){Zu(2,arguments);var n=$u(e),i=$u(t);return n.getTime()-i.getTime()}function zd(e,t){Zu(2,arguments);var n=Sd(e,t)/36e5;return n>0?Math.floor(n):Math.ceil(n)}function Td(e,t){Zu(2,arguments);var n=Sd(e,t)/6e4;return n>0?Math.floor(n):Math.ceil(n)}function _d(e,t){Zu(2,arguments);var n=Sd(e,t)/1e3;return n>0?Math.floor(n):Math.ceil(n)}function kd(e){Zu(1,arguments);var t=$u(e);return t.setHours(23,59,59,999),t}function Dd(e){Zu(1,arguments);var t=$u(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function xd(e,t){Zu(2,arguments);var n=yd(e),i=yd(t);return n.getTime()===i.getTime()}function Ed(e){Zu(1,arguments);var t=$u(e);return t.setMinutes(0,0,0),t}function Nd(e,t){Zu(2,arguments);var n=Ed(e),i=Ed(t);return n.getTime()===i.getTime()}function jd(e){Zu(1,arguments);var t=$u(e);return t.setSeconds(0,0),t}function Id(e,t){Zu(2,arguments);var n=jd(e),i=jd(t);return n.getTime()===i.getTime()}function Ad(e,t){Zu(2,arguments);var n=$u(e),i=$u(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}function Md(e){Zu(1,arguments);var t=$u(e);return t.setMilliseconds(0),t}function Ld(e,t){Zu(2,arguments);var n=Md(e),i=Md(t);return n.getTime()===i.getTime()}function Pd(e,t){Zu(2,arguments);var n=$u(e),i=$u(t);return n.getFullYear()===i.getFullYear()}function Fd(e,t){Zu(2,arguments);var n=$u(e),i=il(t);return isNaN(i)?new Date(NaN):i?(n.setDate(n.getDate()+i),n):n}function Rd(e){Zu(1,arguments);var t=$u(e),n=t.getFullYear(),i=t.getMonth(),r=new Date(0);return r.setFullYear(n,i+1,0),r.setHours(0,0,0,0),r.getDate()}function Vd(e){return Array.isArray(e)?e.map((function(e){return e instanceof Bd?e.clone():null})):e instanceof Bd?e.clone():null}var Bd=function(){function e(e){if(e)if(e instanceof Date)this.nativeDate=e;else{if("string"!=typeof e&&"number"!=typeof e)throw new Error('The input date type is not supported ("Date" is now recommended)');Object(Hs.b)('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(e)}else this.nativeDate=new Date}return e.prototype.calendarStart=function(t){return new e(Ml(function(e){Zu(1,arguments);var t=$u(e);return t.setDate(1),t.setHours(0,0,0,0),t}(this.nativeDate),t))},e.prototype.getYear=function(){return this.nativeDate.getFullYear()},e.prototype.getMonth=function(){return this.nativeDate.getMonth()},e.prototype.getDay=function(){return this.nativeDate.getDay()},e.prototype.getTime=function(){return this.nativeDate.getTime()},e.prototype.getDate=function(){return this.nativeDate.getDate()},e.prototype.getHours=function(){return this.nativeDate.getHours()},e.prototype.getMinutes=function(){return this.nativeDate.getMinutes()},e.prototype.getSeconds=function(){return this.nativeDate.getSeconds()},e.prototype.getMilliseconds=function(){return this.nativeDate.getMilliseconds()},e.prototype.clone=function(){return new e(new Date(this.nativeDate))},e.prototype.setHms=function(t,n,i){return new e(this.nativeDate.setHours(t,n,i))},e.prototype.setYear=function(t){return new e(function(e,t){Zu(2,arguments);var n=$u(e),i=il(t);return isNaN(n)?new Date(NaN):(n.setFullYear(i),n)}(this.nativeDate,t))},e.prototype.addYears=function(t){return new e(function(e,t){Zu(2,arguments);var n=il(t);return vd(e,12*n)}(this.nativeDate,t))},e.prototype.setMonth=function(t){return new e(function(e,t){Zu(2,arguments);var n=$u(e),i=il(t),r=n.getFullYear(),o=n.getDate(),a=new Date(0);a.setFullYear(r,i,15),a.setHours(0,0,0,0);var s=Rd(a);return n.setMonth(i,Math.min(o,s)),n}(this.nativeDate,t))},e.prototype.addMonths=function(t){return new e(vd(this.nativeDate,t))},e.prototype.setDay=function(t,n){return new e(function(e,t,n){Zu(2,arguments);var i=n||{},r=i.locale,o=r&&r.options&&r.options.weekStartsOn,a=null==o?0:il(o),s=null==i.weekStartsOn?a:il(i.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var c=$u(e,i),u=il(t),l=c.getDay(),p=u%7,h=(p+7)%7,d=7-s,f=u<0||u>6?u-(l+d)%7:(h+d)%7-(l+d)%7;return Fd(c,f,i)}(this.nativeDate,t,n))},e.prototype.setDate=function(t){var n=new Date(this.nativeDate);return n.setDate(t),new e(n)},e.prototype.addDays=function(e){return this.setDate(this.getDate()+e)},e.prototype.isSame=function(e,t){var n;switch(void 0===t&&(t="day"),t){case"year":n=Pd;break;case"month":n=Ad;break;case"day":n=xd;break;case"hour":n=Nd;break;case"minute":n=Id;break;case"second":n=Ld;break;default:n=xd}return n(this.nativeDate,this.toNativeDate(e))},e.prototype.isSameYear=function(e){return this.isSame(e,"year")},e.prototype.isSameMonth=function(e){return this.isSame(e,"month")},e.prototype.isSameDay=function(e){return this.isSame(e,"day")},e.prototype.isSameHour=function(e){return this.isSame(e,"hour")},e.prototype.isSameMinute=function(e){return this.isSame(e,"minute")},e.prototype.isSameSecond=function(e){return this.isSame(e,"second")},e.prototype.compare=function(e,t,n){if(void 0===t&&(t="day"),void 0===n&&(n=!0),null===e)return!1;var i;switch(t){case"year":i=Cd;break;case"month":i=Od;break;case"day":i=wd;break;case"hour":i=zd;break;case"minute":i=Td;break;case"second":i=_d;break;default:i=wd}return n?i(this.nativeDate,this.toNativeDate(e))<0:i(this.nativeDate,this.toNativeDate(e))>0},e.prototype.isBeforeYear=function(e){return this.compare(e,"year")},e.prototype.isBeforeMonth=function(e){return this.compare(e,"month")},e.prototype.isBeforeDay=function(e){return this.compare(e,"day")},e.prototype.isBeforeHour=function(e){return this.compare(e,"hour")},e.prototype.isBeforeMinute=function(e){return this.compare(e,"minute")},e.prototype.isBeforeSecond=function(e){return this.compare(e,"second")},e.prototype.isAfterYear=function(e){return this.compare(e,"year",!1)},e.prototype.isAfterMonth=function(e){return this.compare(e,"month",!1)},e.prototype.isAfterDay=function(e){return this.compare(e,"day",!1)},e.prototype.isAfterHour=function(e){return this.compare(e,"hour",!1)},e.prototype.isAfterMinute=function(e){return this.compare(e,"minute",!1)},e.prototype.isAfterSecond=function(e){return this.compare(e,"second",!1)},e.prototype.isToday=function(){return function(e){return Zu(1,arguments),xd(e,Date.now())}(this.nativeDate)},e.prototype.isValid=function(){return Gu(this.nativeDate)},e.prototype.isFirstDayOfMonth=function(){return function(e){return Zu(1,arguments),1===$u(e).getDate()}(this.nativeDate)},e.prototype.isLastDayOfMonth=function(){return function(e){Zu(1,arguments);var t=$u(e);return kd(t).getTime()===Dd(t).getTime()}(this.nativeDate)},e.prototype.toNativeDate=function(t){return t instanceof e?t.nativeDate:t},e}(),Yd=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],Ud=n("Sh7c"),Hd=n("MySR");function Wd(e,t){1&e&&i.Vb(0)}function qd(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,Wd,1,0,"ng-container",4),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2);i.Db(2),i.sc("ngTemplateOutlet",n.extraFooter)}}function Zd(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"span",5),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2);i.Db(2),i.sc("innerHTML",n.extraFooter,i.Ec)}}function $d(e,t){if(1&e&&(i.Zb(0,"div"),i.Nc(1,"\n "),i.Xb(2,2),i.Nc(3,"\n "),i.Lc(4,qd,4,1,"ng-container",3),i.Nc(5,"\n "),i.Lc(6,Zd,4,1,"ng-container",3),i.Nc(7,"\n "),i.Wb(),i.Nc(8,"\n "),i.Yb()),2&e){var n=i.kc();i.Gb("",n.prefixCls,"-footer-extra"),i.Db(2),i.sc("ngSwitch",!0),i.Db(2),i.sc("ngSwitchCase",n.isTemplateRef(n.extraFooter)),i.Db(2),i.sc("ngSwitchCase",n.isNonEmptyString(n.extraFooter))}}function Gd(e,t){if(1&e){var n=i.ac();i.Zb(0,"a",6),i.hc("click",(function(){i.Dc(n);var e=i.kc();return e.isTodayDisabled?null:e.onClickToday()})),i.Nc(1),i.Yb()}if(2&e){var r=i.kc();i.Hb("",r.prefixCls,"-today-btn ",r.isTodayDisabled?r.prefixCls+"-today-btn-disabled":"",""),i.tc("title",r.todayTitle),i.Db(1),i.Pc("\n ",r.locale.today,"\n ")}}function Qd(e,t){1&e&&i.Vb(0)}function Xd(e,t){if(1&e){var n=i.ac();i.Zb(0,"li"),i.Nc(1,"\n "),i.Zb(2,"a",7),i.hc("click",(function(){i.Dc(n);var e=i.kc(2);return e.isTodayDisabled?null:e.onClickToday()})),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Gb("",r.prefixCls,"-now"),i.Db(2),i.Gb("",r.prefixCls,"-now-btn"),i.Db(1),i.Pc("\n ",r.locale.now,"\n ")}}function Kd(e,t){if(1&e){var n=i.ac();i.Zb(0,"li"),i.Nc(1,"\n "),i.Zb(2,"button",8),i.hc("click",(function(){i.Dc(n);var e=i.kc(2);return e.okDisabled?null:e.clickOk.emit()})),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Gb("",r.prefixCls,"-ok"),i.Db(2),i.sc("disabled",r.okDisabled),i.Db(1),i.Pc("\n ",r.locale.ok,"\n ")}}function Jd(e,t){if(1&e&&(i.Zb(0,"ul"),i.Nc(1,"\n "),i.Lc(2,Qd,1,0,"ng-container",4),i.Nc(3,"\n "),i.Lc(4,Xd,5,7,"li",0),i.Nc(5,"\n "),i.Lc(6,Kd,5,5,"li",0),i.Nc(7,"\n "),i.Yb()),2&e){var n=i.kc();i.Gb("",n.prefixCls,"-ranges"),i.Db(2),i.sc("ngTemplateOutlet",n.rangeQuickSelector),i.Db(2),i.sc("ngIf",n.hasTimePicker&&!n.isRange),i.Db(2),i.sc("ngIf",n.hasTimePicker)}}function ef(e,t){1&e&&i.Vb(0)}function tf(e,t){1&e&&i.Vb(0)}function nf(e,t){1&e&&i.Vb(0)}var rf=function(){return{partType:"left"}},of=function(){return{partType:"right"}};function af(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3,"\n "),i.Ub(4,"div",6),i.Nc(5,"\n "),i.Zb(6,"div"),i.Nc(7,"\n "),i.Zb(8,"div"),i.Nc(9,"\n "),i.Lc(10,ef,1,0,"ng-container",7),i.Nc(11,"\n "),i.Lc(12,tf,1,0,"ng-container",7),i.Nc(13,"\n "),i.Yb(),i.Nc(14,"\n "),i.Lc(15,nf,1,0,"ng-container",8),i.Nc(16,"\n "),i.Yb(),i.Nc(17,"\n "),i.Yb(),i.Nc(18,"\n "),i.Wb()),2&e){var n=i.kc(),r=i.Ac(13),o=i.Ac(10);i.Db(2),i.Hb("",n.prefixCls,"-range-wrapper ",n.prefixCls,"-date-range-wrapper"),i.Db(2),i.Gb("",n.prefixCls,"-range-arrow"),i.sc("ngStyle",null==n.datePickerService?null:n.datePickerService.arrowPositionStyle),i.Db(2),i.Gb("",n.prefixCls,"-panel-container"),i.Db(2),i.Gb("",n.prefixCls,"-panels"),i.Db(2),i.sc("ngTemplateOutlet",r)("ngTemplateOutletContext",i.uc(19,rf)),i.Db(2),i.sc("ngTemplateOutlet",r)("ngTemplateOutletContext",i.uc(20,of)),i.Db(3),i.sc("ngTemplateOutlet",o)}}function sf(e,t){1&e&&i.Vb(0)}function cf(e,t){1&e&&i.Vb(0)}function uf(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"div"),i.Nc(2,"\n "),i.Zb(3,"div",9),i.Nc(4,"\n "),i.Nc(5,"\n "),i.Lc(6,sf,1,0,"ng-container",8),i.Nc(7,"\n "),i.Lc(8,cf,1,0,"ng-container",8),i.Nc(9,"\n "),i.Yb(),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n ")),2&e){var n=i.kc(),r=i.Ac(7),o=i.Ac(10);i.Db(1),i.Ib("",n.prefixCls,"-panel-container ",n.showWeek?n.prefixCls+"-week-number":""," ",n.hasTimePicker?n.prefixCls+"-time":""," ",n.isRange?n.prefixCls+"-range":"",""),i.Db(2),i.Gb("",n.prefixCls,"-panel"),i.Db(3),i.sc("ngTemplateOutlet",r),i.Db(2),i.sc("ngTemplateOutlet",o)}}function lf(e,t){if(1&e){var n=i.ac();i.Zb(0,"inner-popup",11),i.hc("panelModeChange",(function(e){i.Dc(n);var t=i.kc().partType;return i.kc().onPanelModeChange(e,t)}))("dayHover",(function(e){return i.Dc(n),i.kc(2).onDayHover(e)}))("selectDate",(function(e){i.Dc(n);var t=i.kc(2);return t.changeValueFromSelect(e,!t.showTime)}))("selectTime",(function(e){i.Dc(n);var t=i.kc().partType;return i.kc().onSelectTime(e,t)}))("headerChange",(function(e){i.Dc(n);var t=i.kc().partType;return i.kc().onActiveDateChange(e,t)})),i.Yb()}if(2&e){var r=i.kc().partType,o=i.kc();i.sc("showWeek",o.showWeek)("endPanelMode",o.getPanelMode(o.endPanelMode,r))("partType",r)("locale",o.locale)("showTimePicker",o.hasTimePicker)("timeOptions",o.getTimeOptions(r))("panelMode",o.getPanelMode(o.panelMode,r))("activeDate",o.getActiveDate(r))("value",o.getValue(r))("disabledDate",o.disabledDate)("dateRender",o.dateRender)("selectedValue",null==o.datePickerService?null:o.datePickerService.value)("hoverValue",o.hoverValue)}}function pf(e,t){if(1&e&&(i.Nc(0,"\n "),i.Nc(1,"\n "),i.Lc(2,lf,1,13,"inner-popup",10),i.Nc(3,"\n ")),2&e){var n=t.partType,r=i.kc();i.Db(2),i.sc("ngIf",r.show(n))}}function hf(e,t){if(1&e){var n=i.ac();i.Zb(0,"calendar-footer",13),i.hc("clickOk",(function(){return i.Dc(n),i.kc(2).onClickOk()}))("clickToday",(function(e){return i.Dc(n),i.kc(2).onClickToday(e)})),i.Yb()}if(2&e){var r=i.kc(2),o=i.Ac(17);i.sc("locale",r.locale)("isRange",r.isRange)("showToday",r.showToday)("hasTimePicker",r.hasTimePicker)("okDisabled",!r.isAllowed(null==r.datePickerService?null:r.datePickerService.value))("extraFooter",r.extraFooter)("rangeQuickSelector",r.ranges?o:null)}}function df(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,hf,1,7,"calendar-footer",12),i.Nc(2,"\n ")),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",n.hasFooter)}}function ff(e,t){1&e&&i.Vb(0)}var gf=function(e){return{partType:e}};function bf(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"div"),i.Nc(2,"\n "),i.Lc(3,ff,1,0,"ng-container",7),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n ")),2&e){var n=t.partType,r=i.kc(),o=i.Ac(7);i.Db(1),i.Gb("",r.prefixCls,"-panel"),i.Db(2),i.sc("ngTemplateOutlet",o)("ngTemplateOutletContext",i.vc(5,gf,n))}}function mf(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",15),i.hc("click",(function(){i.Dc(n);var e=t.$implicit,r=i.kc(2);return r.onClickPresetRange(r.ranges[e])}))("mouseenter",(function(){i.Dc(n);var e=t.$implicit,r=i.kc(2);return r.onHoverPresetRange(r.ranges[e])}))("mouseleave",(function(){return i.Dc(n),i.kc(2).onPresetRangeMouseLeave()})),i.Nc(1,"\n "),i.Zb(2,"span",16),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc(2);i.Gb("",o.prefixCls,"-preset"),i.Db(3),i.Oc(r)}}function vf(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,mf,5,4,"li",14),i.Nc(2,"\n ")),2&e){var n=i.kc();i.Db(1),i.sc("ngForOf",n.getObjectKeys(n.ranges))}}var yf=["separatorElement"],wf=["pickerInput"],Of=["rangePickerInput"],Cf=["nz-picker",""];function Sf(e,t){1&e&&i.Vb(0)}function zf(e,t){if(1&e){var n=i.ac();i.Zb(0,"div"),i.Nc(1,"\n "),i.Zb(2,"input",5,6),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc().inputValue=e}))("focus",(function(){return i.Dc(n),i.kc().onFocus()}))("blur",(function(){return i.Dc(n),i.kc().onBlur()}))("input",(function(e){return i.Dc(n),i.kc().onInputKeyup(e)}))("keyup.enter",(function(e){return i.Dc(n),i.kc().onInputKeyup(e,!0)})),i.Yb(),i.Nc(4,"\n "),i.Lc(5,Sf,1,0,"ng-container",7),i.Nc(6,"\n "),i.Yb()}if(2&e){var r=i.kc(),o=i.Ac(13);i.Gb("",r.prefixCls,"-input"),i.Db(2),i.Jb("ant-input-disabled",r.disabled),i.tc("placeholder",r.getPlaceholder()),i.sc("disabled",r.disabled)("ngModel",r.inputValue)("size",r.inputSize),i.Db(3),i.sc("ngTemplateOutlet",o)}}function Tf(e,t){1&e&&i.Vb(0)}function _f(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.separator)}}function kf(e,t){1&e&&(i.Nc(0,"\n "),i.Ub(1,"i",12),i.Nc(2,"\n "))}function Df(e,t){1&e&&i.Vb(0)}function xf(e,t){1&e&&i.Vb(0)}function Ef(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3,"\n "),i.Lc(4,Tf,1,0,"ng-container",8),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n "),i.Zb(7,"div",null,9),i.Nc(9,"\n "),i.Zb(10,"span"),i.Nc(11,"\n "),i.Lc(12,_f,2,1,"ng-container",10),i.Nc(13,"\n "),i.Yb(),i.Nc(14,"\n "),i.Lc(15,kf,3,0,"ng-template",null,11,i.Mc),i.Nc(17,"\n "),i.Yb(),i.Nc(18,"\n "),i.Zb(19,"div"),i.Nc(20,"\n "),i.Lc(21,Df,1,0,"ng-container",8),i.Nc(22,"\n "),i.Yb(),i.Nc(23,"\n "),i.Lc(24,xf,1,0,"ng-container",7),i.Nc(25,"\n "),i.Wb()),2&e){var n=i.Ac(16),r=i.kc(),o=i.Ac(9),a=i.Ac(13);i.Db(2),i.Gb("",r.prefixCls,"-input"),i.Db(2),i.sc("ngTemplateOutlet",o)("ngTemplateOutletContext",i.uc(19,rf)),i.Db(3),i.Gb("",r.prefixCls,"-range-separator"),i.Db(3),i.Gb("",r.prefixCls,"-separator"),i.Db(2),i.sc("ngIf",r.separator)("ngIfElse",n),i.Db(7),i.Gb("",r.prefixCls,"-input"),i.Db(2),i.sc("ngTemplateOutlet",o)("ngTemplateOutletContext",i.uc(20,of)),i.Db(3),i.sc("ngTemplateOutlet",a)}}function Nf(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"input",13,14),i.hc("click",(function(e){i.Dc(n);var r=t.partType;return i.kc().onClickInputBox(e,r)}))("blur",(function(){return i.Dc(n),i.kc().onBlur()}))("input",(function(e){return i.Dc(n),i.kc().onInputKeyup(e,!1)}))("focus",(function(){i.Dc(n);var e=t.partType;return i.kc().onFocus(e)}))("keyup.enter",(function(e){return i.Dc(n),i.kc().onInputKeyup(e,!0)}))("ngModelChange",(function(e){i.Dc(n);var r=t.partType,o=i.kc();return o.inputValue[o.datePickerService.getActiveIndex(r)]=e})),i.Yb(),i.Nc(3,"\n ")}if(2&e){var r=t.partType,o=i.kc();i.Db(1),i.tc("placeholder",o.getPlaceholder(r)),i.sc("disabled",o.disabled)("size",o.inputSize)("ngModel",o.inputValue[o.datePickerService.getActiveIndex(r)])}}function jf(e,t){if(1&e){var n=i.ac();i.Zb(0,"span",18),i.hc("click",(function(e){return i.Dc(n),i.kc(2).onClickClear(e)})),i.Nc(1,"\n "),i.Ub(2,"i",19),i.Nc(3,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Gb("",r.prefixCls,"-clear")}}function If(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"i",20),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.sc("nzType",n)}}function Af(e,t){if(1&e&&(i.Nc(0,"\n "),i.Ub(1,"div",15),i.Nc(2,"\n "),i.Lc(3,jf,4,3,"span",16),i.Nc(4,"\n "),i.Zb(5,"span"),i.Nc(6,"\n "),i.Lc(7,If,4,1,"ng-container",17),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n ")),2&e){var n=i.kc();i.Db(1),i.Gb("",n.prefixCls,"-active-bar"),i.sc("ngStyle",n.activeBarStyle),i.Db(2),i.sc("ngIf",n.showClear()),i.Db(2),i.Gb("",n.prefixCls,"-suffix"),i.Db(2),i.sc("nzStringTemplateOutlet",n.suffixIcon)}}function Mf(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"div",21),i.hc("@slideMotion.done",(function(){return i.Dc(n),i.kc().animationDone()})),i.Nc(2,"\n "),i.Zb(3,"div",15),i.Nc(4,"\n "),i.Nc(5,"\n "),i.qc(6),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n ")}if(2&e){var r=i.kc();i.Db(1),i.Kc("left","start"===r.currentPositionX?"-12px":"12px")("top","top"===r.currentPositionY?"-8px":"8px"),i.sc("nzNoAnimation",r.noAnimation)("@slideMotion",r.currentPositionY),i.Db(2),i.Hb("",r.prefixCls,"-dropdown ",r.dropdownClassName,""),i.Jb("ant-picker-dropdown-placement-bottomLeft","bottom"===r.currentPositionY&&"start"===r.currentPositionX)("ant-picker-dropdown-placement-topLeft","top"===r.currentPositionY&&"start"===r.currentPositionX)("ant-picker-dropdown-placement-bottomRight","bottom"===r.currentPositionY&&"end"===r.currentPositionX)("ant-picker-dropdown-placement-topRight","top"===r.currentPositionY&&"end"===r.currentPositionX)("ant-picker-dropdown-range",r.isRange),i.sc("ngStyle",r.popupStyle)}}var Lf=["*"];function Pf(e,t){if(1&e){var n=i.ac();i.Zb(0,"date-range-popup",2),i.hc("panelModeChange",(function(e){return i.Dc(n),i.kc().onPanelModeChange(e)}))("calendarChange",(function(e){return i.Dc(n),i.kc().onCalendarChange(e)}))("resultOk",(function(){return i.Dc(n),i.kc().onResultOk()})),i.Yb()}if(2&e){var r=i.kc();i.sc("isRange",r.isRange)("defaultPickerValue",r.nzDefaultPickerValue)("showWeek",r.showWeek)("panelMode",r.nzMode)("locale",null==r.nzLocale?null:r.nzLocale.lang)("showToday",r.realShowToday)("showTime",r.nzShowTime)("format",r.nzFormat)("dateRender",r.nzDateRender)("disabledDate",r.nzDisabledDate)("disabledTime",r.nzDisabledTime)("placeholder",r.nzPlaceHolder)("extraFooter",r.extraFooter)("ranges",r.nzRanges)}}function Ff(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"decade-header",4),i.hc("valueChange",(function(e){return i.Dc(n),i.kc().activeDate=e}))("panelModeChange",(function(e){return i.Dc(n),i.kc().panelModeChange.emit(e)}))("valueChange",(function(e){return i.Dc(n),i.kc().headerChange.emit(e)})),i.Nc(3,"\n "),i.Yb(),i.Nc(4,"\n "),i.Zb(5,"div"),i.Nc(6,"\n "),i.Zb(7,"decade-table",5),i.hc("valueChange",(function(e){return i.Dc(n),i.kc().onChooseDecade(e)})),i.Yb(),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Wb()}if(2&e){var r=i.kc();i.Db(2),i.sc("value",r.activeDate)("locale",r.locale)("showSuperPreBtn",r.enablePrevNext("prev","decade"))("showSuperNextBtn",r.enablePrevNext("next","decade"))("showNextBtn",!1)("showPreBtn",!1),i.Db(3),i.Gb("",r.prefixCls,"-body"),i.Db(2),i.sc("showWeek",r.showWeek)("activeDate",r.activeDate)("value",r.value)("disabledDate",r.disabledDate)("cellRender",r.dateRender)}}function Rf(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"year-header",4),i.hc("valueChange",(function(e){return i.Dc(n),i.kc().activeDate=e}))("panelModeChange",(function(e){return i.Dc(n),i.kc().panelModeChange.emit(e)}))("valueChange",(function(e){return i.Dc(n),i.kc().headerChange.emit(e)})),i.Nc(3,"\n "),i.Yb(),i.Nc(4,"\n "),i.Zb(5,"div"),i.Nc(6,"\n "),i.Zb(7,"year-table",5),i.hc("valueChange",(function(e){return i.Dc(n),i.kc().onChooseYear(e)})),i.Yb(),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Wb()}if(2&e){var r=i.kc();i.Db(2),i.sc("value",r.activeDate)("locale",r.locale)("showSuperPreBtn",r.enablePrevNext("prev","year"))("showSuperNextBtn",r.enablePrevNext("next","year"))("showNextBtn",!1)("showPreBtn",!1),i.Db(3),i.Gb("",r.prefixCls,"-body"),i.Db(2),i.sc("showWeek",r.showWeek)("activeDate",r.activeDate)("value",r.value)("disabledDate",r.disabledDate)("cellRender",r.dateRender)}}function Vf(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"month-header",6),i.hc("valueChange",(function(e){return i.Dc(n),i.kc().activeDate=e}))("panelModeChange",(function(e){return i.Dc(n),i.kc().panelModeChange.emit(e)}))("valueChange",(function(e){return i.Dc(n),i.kc().headerChange.emit(e)})),i.Nc(3,"\n "),i.Yb(),i.Nc(4,"\n "),i.Zb(5,"div"),i.Nc(6,"\n "),i.Zb(7,"month-table",7),i.hc("valueChange",(function(e){return i.Dc(n),i.kc().onChooseMonth(e)})),i.Yb(),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Wb()}if(2&e){var r=i.kc();i.Db(2),i.sc("value",r.activeDate)("locale",r.locale)("showNextBtn",!1)("showPreBtn",!1),i.Db(3),i.Gb("",r.prefixCls,"-body"),i.Db(2),i.sc("showWeek",r.showWeek)("value",r.value)("activeDate",r.activeDate)("disabledDate",r.disabledDate)("cellRender",r.dateRender)}}function Bf(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"date-header",8),i.hc("valueChange",(function(e){return i.Dc(n),i.kc().activeDate=e}))("panelModeChange",(function(e){return i.Dc(n),i.kc().panelModeChange.emit(e)}))("valueChange",(function(e){return i.Dc(n),i.kc().headerChange.emit(e)})),i.Nc(3,"\n "),i.Yb(),i.Nc(4,"\n "),i.Zb(5,"div"),i.Nc(6,"\n "),i.Zb(7,"date-table",9),i.hc("valueChange",(function(e){return i.Dc(n),i.kc().onSelectDate(e)}))("dayHover",(function(e){return i.Dc(n),i.kc().dayHover.emit(e)})),i.Yb(),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Wb()}if(2&e){var r=i.kc();i.Db(2),i.sc("value",r.activeDate)("locale",r.locale)("showSuperPreBtn",r.enablePrevNext("prev","date"))("showSuperNextBtn",r.enablePrevNext("next","date"))("showPreBtn",r.enablePrevNext("prev","date"))("showNextBtn",r.enablePrevNext("next","date")),i.Db(3),i.Gb("",r.prefixCls,"-body"),i.Db(2),i.sc("locale",r.locale)("showWeek",r.showWeek)("value",r.value)("activeDate",r.activeDate)("disabledDate",r.disabledDate)("cellRender",r.dateRender)("selectedValue",r.selectedValue)("hoverValue",r.hoverValue)}}function Yf(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"nz-time-picker-panel",10),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc().onSelectTime(e)})),i.Yb(),i.Nc(3,"\n "),i.Nc(4,"\n "),i.Wb()}if(2&e){var r=i.kc();i.Db(2),i.sc("nzInDatePicker",!0)("ngModel",null==r.value?null:r.value.nativeDate)("format",r.timeOptions.nzFormat)("nzHourStep",r.timeOptions.nzHourStep)("nzMinuteStep",r.timeOptions.nzMinuteStep)("nzSecondStep",r.timeOptions.nzSecondStep)("nzDisabledHours",r.timeOptions.nzDisabledHours)("nzDisabledMinutes",r.timeOptions.nzDisabledMinutes)("nzDisabledSeconds",r.timeOptions.nzDisabledSeconds)("nzHideDisabledOptions",!!r.timeOptions.nzHideDisabledOptions)("nzDefaultOpenValue",r.timeOptions.nzDefaultOpenValue)("nzUse12Hours",!!r.timeOptions.nzUse12Hours)("nzAddOn",r.timeOptions.nzAddOn)}}function Uf(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"button",6),i.hc("click",(function(){return t.$implicit.onClick()})),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.Fb(n.className),i.tc("title",n.title||null),i.Db(1),i.Pc("\n ",n.label,"\n ")}}function Hf(e,t){1&e&&i.Ub(0,"th",6)}function Wf(e,t){if(1&e&&(i.Zb(0,"th",7),i.Nc(1),i.Yb()),2&e){var n=t.$implicit;i.tc("title",n.title),i.Db(1),i.Pc("\n ",n.content,"\n ")}}function qf(e,t){if(1&e&&(i.Zb(0,"thead"),i.Nc(1,"\n "),i.Zb(2,"tr",3),i.Nc(3,"\n "),i.Lc(4,Hf,1,0,"th",4),i.Nc(5,"\n "),i.Lc(6,Wf,2,2,"th",5),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(4),i.sc("ngIf",n.showWeek),i.Db(2),i.sc("ngForOf",n.headRow)}}function Zf(e,t){if(1&e&&(i.Zb(0,"td",11),i.Nc(1),i.Yb()),2&e){var n=i.kc().$implicit,r=i.kc();i.Gb("",r.prefixCls,"-cell-week"),i.Db(1),i.Pc("\n ",n.weekNum,"\n ")}}function $f(e,t){1&e&&i.Vb(0)}var Gf=function(e){return{$implicit:e}};function Qf(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Nc(2,"\n "),i.Lc(3,$f,1,0,"ng-container",16),i.Nc(4,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(3),i.sc("ngTemplateOutlet",n.cellRender)("ngTemplateOutletContext",i.vc(2,Gf,n.value))}}function Xf(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"span",17),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(2),i.sc("innerHTML",n.cellRender,i.Ec)}}function Kf(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit,r=i.kc(2);i.Db(2),i.Gb("",r.prefixCls,"-cell-inner"),i.Eb("aria-selected",n.isSelected)("aria-disabled",n.isDisabled),i.Db(1),i.Pc("\n ",n.content,"\n ")}}function Jf(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Xb(2,13),i.Nc(3,"\n "),i.Lc(4,Qf,5,4,"ng-container",14),i.Nc(5,"\n "),i.Lc(6,Xf,4,1,"ng-container",14),i.Nc(7,"\n "),i.Lc(8,Kf,5,6,"ng-container",15),i.Nc(9,"\n "),i.Wb(),i.Nc(10,"\n "),i.Wb()),2&e){var n=i.kc().$implicit,r=i.kc(2);i.Db(2),i.sc("ngSwitch",!0),i.Db(2),i.sc("ngSwitchCase",r.isTemplateRef(n.cellRender)),i.Db(2),i.sc("ngSwitchCase",r.isNonEmptyString(n.cellRender))}}function eg(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Wb())}function tg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,eg,2,0,"ng-container",16),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(2),i.sc("ngTemplateOutlet",n.fullCellRender)("ngTemplateOutletContext",i.vc(2,Gf,n.value))}}function ng(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Wb())}function ig(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"div"),i.Nc(2),i.Yb(),i.Nc(3,"\n "),i.Zb(4,"div"),i.Nc(5,"\n "),i.Lc(6,ng,2,0,"ng-container",16),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n ")),2&e){var n=i.kc(2).$implicit,r=i.kc(2);i.Db(1),i.Gb("",r.prefixCls,"-date-value"),i.Db(1),i.Oc(n.content),i.Db(2),i.Gb("",r.prefixCls,"-date-content"),i.Db(2),i.sc("ngTemplateOutlet",n.cellRender)("ngTemplateOutletContext",i.vc(9,Gf,n.value))}}function rg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3,"\n "),i.Lc(4,tg,4,4,"ng-container",18),i.Nc(5,"\n "),i.Lc(6,ig,9,11,"ng-template",null,19,i.Mc),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Wb()),2&e){var n=i.Ac(7),r=i.kc().$implicit,o=i.kc(2);i.Db(2),i.Gb("",o.prefixCls,"-date ant-picker-cell-inner"),i.Jb("ant-picker-calendar-date-today",r.isToday),i.Db(2),i.sc("ngIf",r.fullCellRender)("ngIfElse",n)}}function og(e,t){if(1&e&&(i.Zb(0,"td",12),i.hc("click",(function(){var e=t.$implicit;return e.isDisabled?null:e.onClick()}))("mouseenter",(function(){return t.$implicit.onMouseEnter()})),i.Nc(1,"\n "),i.Xb(2,13),i.Nc(3,"\n "),i.Lc(4,Jf,11,3,"ng-container",14),i.Nc(5,"\n "),i.Lc(6,rg,10,7,"ng-container",14),i.Nc(7,"\n "),i.Wb(),i.Nc(8,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.kc(2);i.tc("title",n.title),i.sc("ngClass",n.classMap),i.Db(2),i.sc("ngSwitch",r.prefixCls),i.Db(2),i.sc("ngSwitchCase","ant-picker"),i.Db(2),i.sc("ngSwitchCase","ant-picker-calendar")}}function ag(e,t){if(1&e&&(i.Zb(0,"tr",8),i.Nc(1,"\n "),i.Lc(2,Zf,2,4,"td",9),i.Nc(3,"\n "),i.Lc(4,og,9,5,"td",10),i.Nc(5,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.kc();i.sc("ngClass",n.classMap),i.Db(2),i.sc("ngIf",n.weekNum),i.Db(2),i.sc("ngForOf",n.dateCells)("ngForTrackBy",r.trackByBodyColumn)}}function sg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"button",6),i.hc("click",(function(){return t.$implicit.onClick()})),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.Fb(n.className),i.tc("title",n.title||null),i.Db(1),i.Pc("\n ",n.label,"\n ")}}function cg(e,t){1&e&&i.Ub(0,"th",6)}function ug(e,t){if(1&e&&(i.Zb(0,"th",7),i.Nc(1),i.Yb()),2&e){var n=t.$implicit;i.tc("title",n.title),i.Db(1),i.Pc("\n ",n.content,"\n ")}}function lg(e,t){if(1&e&&(i.Zb(0,"thead"),i.Nc(1,"\n "),i.Zb(2,"tr",3),i.Nc(3,"\n "),i.Lc(4,cg,1,0,"th",4),i.Nc(5,"\n "),i.Lc(6,ug,2,2,"th",5),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(4),i.sc("ngIf",n.showWeek),i.Db(2),i.sc("ngForOf",n.headRow)}}function pg(e,t){if(1&e&&(i.Zb(0,"td",11),i.Nc(1),i.Yb()),2&e){var n=i.kc().$implicit,r=i.kc();i.Gb("",r.prefixCls,"-cell-week"),i.Db(1),i.Pc("\n ",n.weekNum,"\n ")}}function hg(e,t){1&e&&i.Vb(0)}function dg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Nc(2,"\n "),i.Lc(3,hg,1,0,"ng-container",16),i.Nc(4,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(3),i.sc("ngTemplateOutlet",n.cellRender)("ngTemplateOutletContext",i.vc(2,Gf,n.value))}}function fg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"span",17),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(2),i.sc("innerHTML",n.cellRender,i.Ec)}}function gg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit,r=i.kc(2);i.Db(2),i.Gb("",r.prefixCls,"-cell-inner"),i.Eb("aria-selected",n.isSelected)("aria-disabled",n.isDisabled),i.Db(1),i.Pc("\n ",n.content,"\n ")}}function bg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Xb(2,13),i.Nc(3,"\n "),i.Lc(4,dg,5,4,"ng-container",14),i.Nc(5,"\n "),i.Lc(6,fg,4,1,"ng-container",14),i.Nc(7,"\n "),i.Lc(8,gg,5,6,"ng-container",15),i.Nc(9,"\n "),i.Wb(),i.Nc(10,"\n "),i.Wb()),2&e){var n=i.kc().$implicit,r=i.kc(2);i.Db(2),i.sc("ngSwitch",!0),i.Db(2),i.sc("ngSwitchCase",r.isTemplateRef(n.cellRender)),i.Db(2),i.sc("ngSwitchCase",r.isNonEmptyString(n.cellRender))}}function mg(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Wb())}function vg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,mg,2,0,"ng-container",16),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(2),i.sc("ngTemplateOutlet",n.fullCellRender)("ngTemplateOutletContext",i.vc(2,Gf,n.value))}}function yg(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Wb())}function wg(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"div"),i.Nc(2),i.Yb(),i.Nc(3,"\n "),i.Zb(4,"div"),i.Nc(5,"\n "),i.Lc(6,yg,2,0,"ng-container",16),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n ")),2&e){var n=i.kc(2).$implicit,r=i.kc(2);i.Db(1),i.Gb("",r.prefixCls,"-date-value"),i.Db(1),i.Oc(n.content),i.Db(2),i.Gb("",r.prefixCls,"-date-content"),i.Db(2),i.sc("ngTemplateOutlet",n.cellRender)("ngTemplateOutletContext",i.vc(9,Gf,n.value))}}function Og(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3,"\n "),i.Lc(4,vg,4,4,"ng-container",18),i.Nc(5,"\n "),i.Lc(6,wg,9,11,"ng-template",null,19,i.Mc),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Wb()),2&e){var n=i.Ac(7),r=i.kc().$implicit,o=i.kc(2);i.Db(2),i.Gb("",o.prefixCls,"-date ant-picker-cell-inner"),i.Jb("ant-picker-calendar-date-today",r.isToday),i.Db(2),i.sc("ngIf",r.fullCellRender)("ngIfElse",n)}}function Cg(e,t){if(1&e&&(i.Zb(0,"td",12),i.hc("click",(function(){var e=t.$implicit;return e.isDisabled?null:e.onClick()}))("mouseenter",(function(){return t.$implicit.onMouseEnter()})),i.Nc(1,"\n "),i.Xb(2,13),i.Nc(3,"\n "),i.Lc(4,bg,11,3,"ng-container",14),i.Nc(5,"\n "),i.Lc(6,Og,10,7,"ng-container",14),i.Nc(7,"\n "),i.Wb(),i.Nc(8,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.kc(2);i.tc("title",n.title),i.sc("ngClass",n.classMap),i.Db(2),i.sc("ngSwitch",r.prefixCls),i.Db(2),i.sc("ngSwitchCase","ant-picker"),i.Db(2),i.sc("ngSwitchCase","ant-picker-calendar")}}function Sg(e,t){if(1&e&&(i.Zb(0,"tr",8),i.Nc(1,"\n "),i.Lc(2,pg,2,4,"td",9),i.Nc(3,"\n "),i.Lc(4,Cg,9,5,"td",10),i.Nc(5,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.kc();i.sc("ngClass",n.classMap),i.Db(2),i.sc("ngIf",n.weekNum),i.Db(2),i.sc("ngForOf",n.dateCells)("ngForTrackBy",r.trackByBodyColumn)}}function zg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"button",6),i.hc("click",(function(){return t.$implicit.onClick()})),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.Fb(n.className),i.tc("title",n.title||null),i.Db(1),i.Pc("\n ",n.label,"\n ")}}function Tg(e,t){1&e&&i.Ub(0,"th",6)}function _g(e,t){if(1&e&&(i.Zb(0,"th",7),i.Nc(1),i.Yb()),2&e){var n=t.$implicit;i.tc("title",n.title),i.Db(1),i.Pc("\n ",n.content,"\n ")}}function kg(e,t){if(1&e&&(i.Zb(0,"thead"),i.Nc(1,"\n "),i.Zb(2,"tr",3),i.Nc(3,"\n "),i.Lc(4,Tg,1,0,"th",4),i.Nc(5,"\n "),i.Lc(6,_g,2,2,"th",5),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(4),i.sc("ngIf",n.showWeek),i.Db(2),i.sc("ngForOf",n.headRow)}}function Dg(e,t){if(1&e&&(i.Zb(0,"td",11),i.Nc(1),i.Yb()),2&e){var n=i.kc().$implicit,r=i.kc();i.Gb("",r.prefixCls,"-cell-week"),i.Db(1),i.Pc("\n ",n.weekNum,"\n ")}}function xg(e,t){1&e&&i.Vb(0)}function Eg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Nc(2,"\n "),i.Lc(3,xg,1,0,"ng-container",16),i.Nc(4,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(3),i.sc("ngTemplateOutlet",n.cellRender)("ngTemplateOutletContext",i.vc(2,Gf,n.value))}}function Ng(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"span",17),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(2),i.sc("innerHTML",n.cellRender,i.Ec)}}function jg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit,r=i.kc(2);i.Db(2),i.Gb("",r.prefixCls,"-cell-inner"),i.Eb("aria-selected",n.isSelected)("aria-disabled",n.isDisabled),i.Db(1),i.Pc("\n ",n.content,"\n ")}}function Ig(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Xb(2,13),i.Nc(3,"\n "),i.Lc(4,Eg,5,4,"ng-container",14),i.Nc(5,"\n "),i.Lc(6,Ng,4,1,"ng-container",14),i.Nc(7,"\n "),i.Lc(8,jg,5,6,"ng-container",15),i.Nc(9,"\n "),i.Wb(),i.Nc(10,"\n "),i.Wb()),2&e){var n=i.kc().$implicit,r=i.kc(2);i.Db(2),i.sc("ngSwitch",!0),i.Db(2),i.sc("ngSwitchCase",r.isTemplateRef(n.cellRender)),i.Db(2),i.sc("ngSwitchCase",r.isNonEmptyString(n.cellRender))}}function Ag(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Wb())}function Mg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,Ag,2,0,"ng-container",16),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(2),i.sc("ngTemplateOutlet",n.fullCellRender)("ngTemplateOutletContext",i.vc(2,Gf,n.value))}}function Lg(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Wb())}function Pg(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"div"),i.Nc(2),i.Yb(),i.Nc(3,"\n "),i.Zb(4,"div"),i.Nc(5,"\n "),i.Lc(6,Lg,2,0,"ng-container",16),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n ")),2&e){var n=i.kc(2).$implicit,r=i.kc(2);i.Db(1),i.Gb("",r.prefixCls,"-date-value"),i.Db(1),i.Oc(n.content),i.Db(2),i.Gb("",r.prefixCls,"-date-content"),i.Db(2),i.sc("ngTemplateOutlet",n.cellRender)("ngTemplateOutletContext",i.vc(9,Gf,n.value))}}function Fg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3,"\n "),i.Lc(4,Mg,4,4,"ng-container",18),i.Nc(5,"\n "),i.Lc(6,Pg,9,11,"ng-template",null,19,i.Mc),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Wb()),2&e){var n=i.Ac(7),r=i.kc().$implicit,o=i.kc(2);i.Db(2),i.Gb("",o.prefixCls,"-date ant-picker-cell-inner"),i.Jb("ant-picker-calendar-date-today",r.isToday),i.Db(2),i.sc("ngIf",r.fullCellRender)("ngIfElse",n)}}function Rg(e,t){if(1&e&&(i.Zb(0,"td",12),i.hc("click",(function(){var e=t.$implicit;return e.isDisabled?null:e.onClick()}))("mouseenter",(function(){return t.$implicit.onMouseEnter()})),i.Nc(1,"\n "),i.Xb(2,13),i.Nc(3,"\n "),i.Lc(4,Ig,11,3,"ng-container",14),i.Nc(5,"\n "),i.Lc(6,Fg,10,7,"ng-container",14),i.Nc(7,"\n "),i.Wb(),i.Nc(8,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.kc(2);i.tc("title",n.title),i.sc("ngClass",n.classMap),i.Db(2),i.sc("ngSwitch",r.prefixCls),i.Db(2),i.sc("ngSwitchCase","ant-picker"),i.Db(2),i.sc("ngSwitchCase","ant-picker-calendar")}}function Vg(e,t){if(1&e&&(i.Zb(0,"tr",8),i.Nc(1,"\n "),i.Lc(2,Dg,2,4,"td",9),i.Nc(3,"\n "),i.Lc(4,Rg,9,5,"td",10),i.Nc(5,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.kc();i.sc("ngClass",n.classMap),i.Db(2),i.sc("ngIf",n.weekNum),i.Db(2),i.sc("ngForOf",n.dateCells)("ngForTrackBy",r.trackByBodyColumn)}}function Bg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"button",6),i.hc("click",(function(){return t.$implicit.onClick()})),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.Fb(n.className),i.tc("title",n.title||null),i.Db(1),i.Pc("\n ",n.label,"\n ")}}function Yg(e,t){1&e&&i.Ub(0,"th",6)}function Ug(e,t){if(1&e&&(i.Zb(0,"th",7),i.Nc(1),i.Yb()),2&e){var n=t.$implicit;i.tc("title",n.title),i.Db(1),i.Pc("\n ",n.content,"\n ")}}function Hg(e,t){if(1&e&&(i.Zb(0,"thead"),i.Nc(1,"\n "),i.Zb(2,"tr",3),i.Nc(3,"\n "),i.Lc(4,Yg,1,0,"th",4),i.Nc(5,"\n "),i.Lc(6,Ug,2,2,"th",5),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(4),i.sc("ngIf",n.showWeek),i.Db(2),i.sc("ngForOf",n.headRow)}}function Wg(e,t){if(1&e&&(i.Zb(0,"td",11),i.Nc(1),i.Yb()),2&e){var n=i.kc().$implicit,r=i.kc();i.Gb("",r.prefixCls,"-cell-week"),i.Db(1),i.Pc("\n ",n.weekNum,"\n ")}}function qg(e,t){1&e&&i.Vb(0)}function Zg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Nc(2,"\n "),i.Lc(3,qg,1,0,"ng-container",16),i.Nc(4,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(3),i.sc("ngTemplateOutlet",n.cellRender)("ngTemplateOutletContext",i.vc(2,Gf,n.value))}}function $g(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"span",17),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(2),i.sc("innerHTML",n.cellRender,i.Ec)}}function Gg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3),i.Yb(),i.Nc(4,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit,r=i.kc(2);i.Db(2),i.Gb("",r.prefixCls,"-cell-inner"),i.Eb("aria-selected",n.isSelected)("aria-disabled",n.isDisabled),i.Db(1),i.Pc("\n ",n.content,"\n ")}}function Qg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Xb(2,13),i.Nc(3,"\n "),i.Lc(4,Zg,5,4,"ng-container",14),i.Nc(5,"\n "),i.Lc(6,$g,4,1,"ng-container",14),i.Nc(7,"\n "),i.Lc(8,Gg,5,6,"ng-container",15),i.Nc(9,"\n "),i.Wb(),i.Nc(10,"\n "),i.Wb()),2&e){var n=i.kc().$implicit,r=i.kc(2);i.Db(2),i.sc("ngSwitch",!0),i.Db(2),i.sc("ngSwitchCase",r.isTemplateRef(n.cellRender)),i.Db(2),i.sc("ngSwitchCase",r.isNonEmptyString(n.cellRender))}}function Xg(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Wb())}function Kg(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,Xg,2,0,"ng-container",16),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(2),i.sc("ngTemplateOutlet",n.fullCellRender)("ngTemplateOutletContext",i.vc(2,Gf,n.value))}}function Jg(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Wb())}function eb(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"div"),i.Nc(2),i.Yb(),i.Nc(3,"\n "),i.Zb(4,"div"),i.Nc(5,"\n "),i.Lc(6,Jg,2,0,"ng-container",16),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n ")),2&e){var n=i.kc(2).$implicit,r=i.kc(2);i.Db(1),i.Gb("",r.prefixCls,"-date-value"),i.Db(1),i.Oc(n.content),i.Db(2),i.Gb("",r.prefixCls,"-date-content"),i.Db(2),i.sc("ngTemplateOutlet",n.cellRender)("ngTemplateOutletContext",i.vc(9,Gf,n.value))}}function tb(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div"),i.Nc(3,"\n "),i.Lc(4,Kg,4,4,"ng-container",18),i.Nc(5,"\n "),i.Lc(6,eb,9,11,"ng-template",null,19,i.Mc),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Wb()),2&e){var n=i.Ac(7),r=i.kc().$implicit,o=i.kc(2);i.Db(2),i.Gb("",o.prefixCls,"-date ant-picker-cell-inner"),i.Jb("ant-picker-calendar-date-today",r.isToday),i.Db(2),i.sc("ngIf",r.fullCellRender)("ngIfElse",n)}}function nb(e,t){if(1&e&&(i.Zb(0,"td",12),i.hc("click",(function(){var e=t.$implicit;return e.isDisabled?null:e.onClick()}))("mouseenter",(function(){return t.$implicit.onMouseEnter()})),i.Nc(1,"\n "),i.Xb(2,13),i.Nc(3,"\n "),i.Lc(4,Qg,11,3,"ng-container",14),i.Nc(5,"\n "),i.Lc(6,tb,10,7,"ng-container",14),i.Nc(7,"\n "),i.Wb(),i.Nc(8,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.kc(2);i.tc("title",n.title),i.sc("ngClass",n.classMap),i.Db(2),i.sc("ngSwitch",r.prefixCls),i.Db(2),i.sc("ngSwitchCase","ant-picker"),i.Db(2),i.sc("ngSwitchCase","ant-picker-calendar")}}function ib(e,t){if(1&e&&(i.Zb(0,"tr",8),i.Nc(1,"\n "),i.Lc(2,Wg,2,4,"td",9),i.Nc(3,"\n "),i.Lc(4,nb,9,5,"td",10),i.Nc(5,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.kc();i.sc("ngClass",n.classMap),i.Db(2),i.sc("ngIf",n.weekNum),i.Db(2),i.sc("ngForOf",n.dateCells)("ngForTrackBy",r.trackByBodyColumn)}}var rb={nzDisabledHours:function(){return[]},nzDisabledMinutes:function(){return[]},nzDisabledSeconds:function(){return[]}};function ob(e,t){var n=t?t(e&&e.nativeDate):{};return Object(zt.a)(Object(zt.a)({},rb),n)}function ab(e,t,n){return!(!e||t&&t(e.nativeDate)||n&&!function(e,t){return function(e,t){var n=!1;if(e){var i=e.getHours(),r=e.getMinutes(),o=e.getSeconds();n=-1!==t.nzDisabledHours().indexOf(i)||-1!==t.nzDisabledMinutes(i).indexOf(r)||-1!==t.nzDisabledSeconds(i,r).indexOf(o)}return!n}(e,ob(e,t))}(e,n))}function sb(e){return e&&e.replace(/Y/g,"y").replace(/D/g,"d")}var cb=function(){function e(e){this.dateHelper=e,this.showToday=!1,this.hasTimePicker=!1,this.isRange=!1,this.okDisabled=!1,this.rangeQuickSelector=null,this.clickOk=new i.n,this.clickToday=new i.n,this.prefixCls="ant-picker",this.isTemplateRef=es.s,this.isNonEmptyString=es.o,this.isTodayDisabled=!1,this.todayTitle="",this.now=new Bd}return e.prototype.ngOnChanges=function(e){if(e.disabledDate&&(this.isTodayDisabled=!(!this.disabledDate||!this.disabledDate(this.now.nativeDate))),e.locale){var t=sb(this.locale.dateFormat);this.todayTitle=this.dateHelper.format(this.now.nativeDate,t)}},e.prototype.onClickToday=function(){this.clickToday.emit(this.now.clone())},e.\u0275fac=function(t){return new(t||e)(i.Tb(qp))},e.\u0275cmp=i.Nb({type:e,selectors:[["calendar-footer"]],inputs:{showToday:"showToday",hasTimePicker:"hasTimePicker",isRange:"isRange",okDisabled:"okDisabled",rangeQuickSelector:"rangeQuickSelector",locale:"locale",disabledDate:"disabledDate",extraFooter:"extraFooter"},outputs:{clickOk:"clickOk",clickToday:"clickToday"},exportAs:["calendarFooter"],features:[i.Bb],decls:10,vars:6,consts:[[3,"class",4,"ngIf"],["role","button",3,"class","title","click",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngTemplateOutlet"],[3,"innerHTML"],["role","button",3,"title","click"],[3,"click"],["nz-button","","type","button","nzType","primary","nzSize","small",3,"disabled","click"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div"),i.Nc(2,"\n "),i.Lc(3,$d,9,6,"div",0),i.Nc(4,"\n "),i.Lc(5,Gd,2,6,"a",1),i.Nc(6,"\n "),i.Lc(7,Jd,8,6,"ul",0),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n ")),2&e&&(i.Db(1),i.Gb("",t.prefixCls,"-footer"),i.Db(2),i.sc("ngIf",t.extraFooter),i.Db(2),i.sc("ngIf",t.showToday&&!t.hasTimePicker),i.Db(2),i.sc("ngIf",t.hasTimePicker||t.rangeQuickSelector))},directives:[Vr.t,Vr.x,Vr.y,Vr.A,Wu.a,Ud.a,Hd.a],encapsulation:2,changeDetection:0}),e}(),ub=function(){function e(){this.activeInput="left",this.arrowPositionStyle={},this.isRange=!1,this.valueChange$=new Os.a(1),this.emitValue$=new kt.a,this.inputPartChange$=new kt.a}return e.prototype.initValue=function(){this.isRange?(this.setActiveDate([]),this.value=this.initialValue=[]):this.value=this.initialValue=null},e.prototype.hasValue=function(e){return void 0===e&&(e=this.value),Array.isArray(e)?!!e[0]&&!!e[1]:!!e},e.prototype.makeValue=function(e){return this.isRange?e?e.map((function(e){return new Bd(e)})):[]:e?new Bd(e):null},e.prototype.setActiveDate=function(e,t){void 0===t&&(t=!1),this.activeDate=this.isRange?t?function(e){var t=Object(zt.e)(e||[],2),n=t[1],i=t[0]||new Bd,r=(null==n?void 0:n.isSameMonth(i))?n.addMonths(1):n||i.addMonths(1);return[i,r]}(e):e:Vd(e)},e.prototype.setValue=function(e){this.value=e,this.valueChange$.next(this.value)},e.prototype.getActiveIndex=function(e){return void 0===e&&(e=this.activeInput),{left:0,right:1}[e]},e.prototype.ngOnDestroy=function(){this.valueChange$.complete(),this.emitValue$.complete(),this.inputPartChange$.complete()},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),lb=function(){function e(e,t){var n=this;this.datePickerService=e,this.cdr=t,this.panelModeChange=new i.n,this.calendarChange=new i.n,this.resultOk=new i.n,this.prefixCls="ant-picker",this.endPanelMode="date",this.timeOptions=null,this.hoverValue=[],this.destroy$=new kt.a,this.disabledStartTime=function(e){return n.disabledTime&&n.disabledTime(e,"start")},this.disabledEndTime=function(e){return n.disabledTime&&n.disabledTime(e,"end")}}return Object.defineProperty(e.prototype,"hasTimePicker",{get:function(){return!!this.showTime},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasFooter",{get:function(){return this.showToday||this.hasTimePicker||!!this.extraFooter||!!this.ranges},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.datePickerService.valueChange$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.initActiveDate(),e.cdr.markForCheck()}))},e.prototype.ngOnChanges=function(e){(e.showTime||e.disabledTime)&&this.showTime&&this.buildTimeOptions(),e.panelMode&&(this.endPanelMode=this.panelMode)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.initActiveDate=function(){var e=this.datePickerService.hasValue()?this.datePickerService.value:this.datePickerService.makeValue(this.defaultPickerValue);this.datePickerService.setActiveDate(e,!this.showTime)},e.prototype.onClickOk=function(){var e="left"===this.datePickerService.activeInput?"right":"left",t=this.datePickerService.value;this.isAllowed(t,!0)?this.resultOk.emit():this.isRange&&this.isOneAllowed(t)?this.datePickerService.inputPartChange$.next(e):this.datePickerService.inputPartChange$.next()},e.prototype.onClickToday=function(e){this.changeValueFromSelect(e,!this.showTime)},e.prototype.onDayHover=function(e){if(this.isRange){var t=this.datePickerService.value[{left:1,right:0}[this.datePickerService.activeInput]];t&&(this.hoverValue=t.isBeforeDay(e)?[t,e]:[e,t])}},e.prototype.onPanelModeChange=function(e,t){if(this.isRange){var n=this.datePickerService.getActiveIndex(t);this.panelMode=0===n?[e,this.panelMode[1]]:[this.panelMode[0],e]}else this.panelMode=e;this.panelModeChange.emit(this.panelMode)},e.prototype.onActiveDateChange=function(e,t){this.datePickerService.activeDate=this.isRange?"left"===t?[e,e.addMonths(1)]:[e.addMonths(-1),e]:e},e.prototype.onSelectTime=function(e,t){if(this.isRange){var n=Vd(this.datePickerService.value),i=this.datePickerService.getActiveIndex(t);n[i]=this.overrideHms(e,n[i]),this.datePickerService.setValue(n)}else n=this.overrideHms(e,this.datePickerService.value),this.datePickerService.setValue(n);this.datePickerService.inputPartChange$.next(),this.buildTimeOptions()},e.prototype.changeValueFromSelect=function(e,t){if(void 0===t&&(t=!0),this.isRange){var n=Vd(this.datePickerService.value),i=void 0;if("left"===this.datePickerService.activeInput?(i="right",n[0]=e):(i="left",n[1]=e),n=function(e){if(Array.isArray(e)){var t=Object(zt.e)(e,2),n=t[0],i=t[1];return n&&i&&n.isAfterSecond(i)?[i,n]:[n,i]}return e}(n),this.hoverValue=n,this.datePickerService.setValue(n),this.datePickerService.setActiveDate(n,!this.showTime),this.datePickerService.inputPartChange$.next(),!this.isAllowed(n))return;t&&(this.isBothAllowed(n)?(this.calendarChange.emit(n),this.clearHoverValue(),this.datePickerService.emitValue$.next()):(this.calendarChange.emit([e.clone()]),this.datePickerService.inputPartChange$.next(i)))}else{if(this.datePickerService.setValue(e),this.datePickerService.setActiveDate(e,!this.showTime),this.datePickerService.inputPartChange$.next(),!this.isAllowed(e))return;t&&this.datePickerService.emitValue$.next()}},e.prototype.getPanelMode=function(e,t){return this.isRange?e[this.datePickerService.getActiveIndex(t)]:e},e.prototype.getValue=function(e){return this.isRange?(this.datePickerService.value||[])[this.datePickerService.getActiveIndex(e)]:this.datePickerService.value},e.prototype.getActiveDate=function(e){return this.isRange?this.datePickerService.activeDate[this.datePickerService.getActiveIndex(e)]:this.datePickerService.activeDate},e.prototype.isOneAllowed=function(e){var t=this.datePickerService.getActiveIndex();return ab(e[t],this.disabledDate,[this.disabledStartTime,this.disabledEndTime][t])},e.prototype.isBothAllowed=function(e){return ab(e[0],this.disabledDate,this.disabledStartTime)&&ab(e[1],this.disabledDate,this.disabledEndTime)},e.prototype.isAllowed=function(e,t){return void 0===t&&(t=!1),this.isRange?t?this.isBothAllowed(e):this.isOneAllowed(e):ab(e,this.disabledDate,this.disabledTime)},e.prototype.getTimeOptions=function(e){return this.showTime&&this.timeOptions?this.timeOptions instanceof Array?this.timeOptions[this.datePickerService.getActiveIndex(e)]:this.timeOptions:null},e.prototype.onClickPresetRange=function(e){var t="function"==typeof e?e():e;t&&(this.datePickerService.setValue([new Bd(t[0]),new Bd(t[1])]),this.resultOk.emit())},e.prototype.onPresetRangeMouseLeave=function(){this.clearHoverValue()},e.prototype.onHoverPresetRange=function(e){"function"!=typeof e&&(this.hoverValue=[new Bd(e[0]),new Bd(e[1])])},e.prototype.getObjectKeys=function(e){return e?Object.keys(e):[]},e.prototype.show=function(e){return!(this.showTime&&this.isRange&&this.datePickerService.activeInput!==e)},e.prototype.clearHoverValue=function(){this.hoverValue=[]},e.prototype.buildTimeOptions=function(){if(this.showTime){var e="object"==typeof this.showTime?this.showTime:{};if(this.isRange){var t=this.datePickerService.value;this.timeOptions=[this.overrideTimeOptions(e,t[0],"start"),this.overrideTimeOptions(e,t[1],"end")]}else this.timeOptions=this.overrideTimeOptions(e,this.datePickerService.value)}else this.timeOptions=null},e.prototype.overrideTimeOptions=function(e,t,n){var i;return i=n?"start"===n?this.disabledStartTime:this.disabledEndTime:this.disabledTime,Object(zt.a)(Object(zt.a)({},e),ob(t,i))},e.prototype.overrideHms=function(e,t){return e=e||new Bd,(t=t||new Bd).setHms(e.getHours(),e.getMinutes(),e.getSeconds())},e.\u0275fac=function(t){return new(t||e)(i.Tb(ub),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["date-range-popup"]],inputs:{panelMode:"panelMode",isRange:"isRange",showWeek:"showWeek",locale:"locale",format:"format",placeholder:"placeholder",disabledDate:"disabledDate",disabledTime:"disabledTime",showToday:"showToday",showTime:"showTime",extraFooter:"extraFooter",ranges:"ranges",dateRender:"dateRender",defaultPickerValue:"defaultPickerValue"},outputs:{panelModeChange:"panelModeChange",calendarChange:"calendarChange",resultOk:"resultOk"},exportAs:["dateRangePopup"],features:[i.Bb],decls:19,vars:2,consts:[[4,"ngIf","ngIfElse"],["singlePanel",""],["tplInnerPopup",""],["tplFooter",""],["tplRangePart",""],["tplRangeQuickSelector",""],[3,"ngStyle"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["tabindex","-1"],[3,"showWeek","endPanelMode","partType","locale","showTimePicker","timeOptions","panelMode","activeDate","value","disabledDate","dateRender","selectedValue","hoverValue","panelModeChange","dayHover","selectDate","selectTime","headerChange",4,"ngIf"],[3,"showWeek","endPanelMode","partType","locale","showTimePicker","timeOptions","panelMode","activeDate","value","disabledDate","dateRender","selectedValue","hoverValue","panelModeChange","dayHover","selectDate","selectTime","headerChange"],[3,"locale","isRange","showToday","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday",4,"ngIf"],[3,"locale","isRange","showToday","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday"],[3,"class","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],[3,"click","mouseenter","mouseleave"],[1,"ant-tag","ant-tag-blue"]],template:function(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,af,19,21,"ng-container",0),i.Nc(2,"\n "),i.Lc(3,uf,12,11,"ng-template",null,1,i.Mc),i.Nc(5,"\n\n "),i.Lc(6,pf,4,1,"ng-template",null,2,i.Mc),i.Nc(8,"\n\n "),i.Lc(9,df,3,1,"ng-template",null,3,i.Mc),i.Nc(11,"\n\n "),i.Lc(12,bf,6,7,"ng-template",null,4,i.Mc),i.Nc(14,"\n\n "),i.Nc(15,"\n "),i.Lc(16,vf,3,1,"ng-template",null,5,i.Mc),i.Nc(18,"\n ")),2&e){var n=i.Ac(4);i.Db(1),i.sc("ngIf",t.isRange)("ngIfElse",n)}},directives:function(){return[Vr.t,Vr.w,Vr.A,fb,cb,Vr.s]},encapsulation:2,changeDetection:0}),e}(),pb=function(){function e(e,t,n,r,o){this.elementRef=e,this.dateHelper=t,this.changeDetector=n,this.datePickerService=r,this.noAnimation=!1,this.isRange=!1,this.open=void 0,this.disabled=!1,this.popupStyle=null,this.focusChange=new i.n,this.valueChange=new i.n,this.openChange=new i.n,this.destroy$=new kt.a,this.prefixCls="ant-picker",this.activeBarStyle={position:"absolute"},this.animationOpenState=!1,this.overlayOpen=!1,this.overlayPositions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],this.currentPositionX="start",this.currentPositionY="bottom",this.document=o,this.origin=new Ur.b(this.elementRef),this.updateInputValue()}return Object.defineProperty(e.prototype,"realOpenState",{get:function(){return this.isOpenHandledByUser()?!!this.open:this.overlayOpen},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.inputSize=Math.max(10,this.format.length)+2,this.datePickerService.valueChange$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.updateInputValue(),e.changeDetector.markForCheck()}))},e.prototype.ngAfterViewInit=function(){var e=this;this.autoFocus&&this.focus(),this.isRange&&(this.resetInputWidthAndArrowLeft(),Object(Cs.a)(window,"resize").pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.resetInputWidthAndArrowLeft()}))),this.datePickerService.inputPartChange$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){var n;t&&(e.datePickerService.activeInput=t),e.datePickerService.arrowPositionStyle={left:"left"===e.datePickerService.activeInput?"0px":e.arrowLeft+"px"},e.activeBarStyle=Object(zt.a)(Object(zt.a)(Object(zt.a)({},e.activeBarStyle),e.datePickerService.arrowPositionStyle),{width:e.inputWidth+"px"}),e.document.activeElement!==e.getInput(e.datePickerService.activeInput)&&e.focus(),null===(n=e.panel)||void 0===n||n.cdr.markForCheck(),e.changeDetector.markForCheck()}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.ngOnChanges=function(e){e.open&&this.animationStart()},e.prototype.resetInputWidthAndArrowLeft=function(){var e,t;this.inputWidth=(null===(e=this.rangePickerInputs)||void 0===e?void 0:e.first.nativeElement.offsetWidth)||0,this.arrowLeft=this.inputWidth+(null===(t=this.separatorElement)||void 0===t?void 0:t.nativeElement.offsetWidth)||0},e.prototype.getInput=function(e){return this.isRange?"left"===e?this.rangePickerInputs.first.nativeElement:this.rangePickerInputs.last.nativeElement:this.pickerInput.nativeElement},e.prototype.focus=function(){this.getInput(this.datePickerService.activeInput).focus()},e.prototype.onFocus=function(e){e&&this.datePickerService.inputPartChange$.next(e),this.focusChange.emit(!0)},e.prototype.onBlur=function(){this.focusChange.emit(!1)},e.prototype.showOverlay=function(){var e=this;this.realOpenState||(this.overlayOpen=!0,this.animationStart(),this.focus(),this.openChange.emit(!0),setTimeout((function(){e.cdkConnectedOverlay&&e.cdkConnectedOverlay.overlayRef&&e.cdkConnectedOverlay.overlayRef.updatePosition()})))},e.prototype.hideOverlay=function(){this.realOpenState&&(this.overlayOpen=!1,this.openChange.emit(!1),this.focus())},e.prototype.showClear=function(){return!this.disabled&&!this.isEmptyValue(this.datePickerService.value)&&!!this.allowClear},e.prototype.onClickInputBox=function(e,t){e.stopPropagation(),this.disabled||this.isOpenHandledByUser()||this.showOverlay(),this.onFocus(t)},e.prototype.onClickBackdrop=function(){this.panel.isAllowed(this.datePickerService.value,!0)?(this.updateInputValue(),this.datePickerService.emitValue$.next()):(this.datePickerService.setValue(this.datePickerService.initialValue),this.hideOverlay())},e.prototype.onOverlayDetach=function(){this.hideOverlay()},e.prototype.onOverlayKeydown=function(e){"Escape"===e.key&&this.datePickerService.setValue(this.datePickerService.initialValue)},e.prototype.onPositionChange=function(e){this.currentPositionX=e.connectionPair.originX,this.currentPositionY=e.connectionPair.originY,this.changeDetector.detectChanges()},e.prototype.onClickClear=function(e){e.preventDefault(),e.stopPropagation(),this.datePickerService.setValue(this.isRange?[]:null),this.datePickerService.emitValue$.next()},e.prototype.updateInputValue=function(){var e=this,t=this.datePickerService.value;this.inputValue=this.isRange?t?t.map((function(t){return e.formatValue(t)})):["",""]:this.formatValue(t)},e.prototype.formatValue=function(e){return this.dateHelper.format(e&&e.nativeDate,this.format)},e.prototype.onInputKeyup=function(e,t){if(void 0===t&&(t=!1),!t||this.realOpenState){var n=this.checkValidInputDate(e.target);this.panel&&n&&this.panel.changeValueFromSelect(n,t)}else this.showOverlay()},e.prototype.checkValidInputDate=function(e){var t=e.value,n=new Bd(this.dateHelper.parseDate(t,this.format));return n.isValid()&&t===this.dateHelper.format(n.nativeDate,this.format)?n:null},e.prototype.getPlaceholder=function(e){return this.isRange?this.placeholder[this.datePickerService.getActiveIndex(e)]:this.placeholder},e.prototype.isEmptyValue=function(e){return null===e||(this.isRange?!e||!Array.isArray(e)||e.every((function(e){return!e})):!e)},e.prototype.isOpenHandledByUser=function(){return void 0!==this.open},e.prototype.animationStart=function(){this.realOpenState&&(this.animationOpenState=!0)},e.prototype.animationDone=function(){this.realOpenState||(this.animationOpenState=!1,this.changeDetector.markForCheck())},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(qp),i.Tb(i.h),i.Tb(ub),i.Tb(Vr.e))},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-picker",""]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,lb,!0),2&e&&i.zc(r=i.ic())&&(t.panel=r.first)},viewQuery:function(e,t){var n;1&e&&(i.Sc(Ur.a,!0),i.Sc(yf,!0),i.Sc(wf,!0),i.Sc(Of,!0)),2&e&&(i.zc(n=i.ic())&&(t.cdkConnectedOverlay=n.first),i.zc(n=i.ic())&&(t.separatorElement=n.first),i.zc(n=i.ic())&&(t.pickerInput=n.first),i.zc(n=i.ic())&&(t.rangePickerInputs=n))},inputs:{noAnimation:"noAnimation",isRange:"isRange",open:"open",disabled:"disabled",popupStyle:"popupStyle",placeholder:"placeholder",allowClear:"allowClear",autoFocus:"autoFocus",format:"format",separator:"separator",dropdownClassName:"dropdownClassName",suffixIcon:"suffixIcon"},outputs:{focusChange:"focusChange",valueChange:"valueChange",openChange:"openChange"},exportAs:["nzPicker"],features:[i.Bb],attrs:Cf,ngContentSelectors:Lf,decls:18,vars:6,consts:[[3,"class",4,"ngIf"],[4,"ngIf"],["tplRangeInput",""],["tplRightRest",""],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","positionChange","backdropClick","detach","overlayKeydown"],[3,"disabled","ngModel","placeholder","size","ngModelChange","focus","blur","input","keyup.enter"],["pickerInput",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["separatorElement",""],[4,"ngIf","ngIfElse"],["defaultSeparator",""],["nz-icon","","nzType","swap-right","nzTheme","outline"],[3,"disabled","size","ngModel","placeholder","click","blur","input","focus","keyup.enter","ngModelChange"],["rangePickerInput",""],[3,"ngStyle"],[3,"class","click",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"click"],["nz-icon","","nzType","close-circle","nzTheme","fill"],["nz-icon","",3,"nzType"],[2,"position","relative",3,"nzNoAnimation"]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Nc(1,"\n "),i.Lc(2,zf,7,10,"div",0),i.Nc(3,"\n\n "),i.Nc(4,"\n "),i.Lc(5,Ef,26,21,"ng-container",1),i.Nc(6,"\n "),i.Nc(7,"\n "),i.Lc(8,Nf,4,4,"ng-template",null,2,i.Mc),i.Nc(10,"\n\n "),i.Nc(11,"\n "),i.Lc(12,Af,10,9,"ng-template",null,3,i.Mc),i.Nc(14,"\n\n "),i.Nc(15,"\n "),i.Lc(16,Mf,10,21,"ng-template",4),i.hc("positionChange",(function(e){return t.onPositionChange(e)}))("backdropClick",(function(){return t.onClickBackdrop()}))("detach",(function(){return t.onOverlayDetach()}))("overlayKeydown",(function(e){return t.onOverlayKeydown(e)})),i.Nc(17,"\n ")),2&e&&(i.Db(2),i.sc("ngIf",!t.isRange),i.Db(3),i.sc("ngIf",t.isRange),i.Db(11),i.sc("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayOpen",t.realOpenState)("cdkConnectedOverlayHasBackdrop",!t.isOpenHandledByUser())("cdkConnectedOverlayPositions",t.overlayPositions))},directives:[Vr.t,Ur.a,Nu.e,Ot.e,Ot.o,Ot.r,Vr.A,Ns.a,Hd.a,Vr.w,Es.b,ac.a],encapsulation:2,data:{animation:[xs.g]},changeDetection:0}),e}(),hb={position:"relative"},db=function(){function e(e,t,n,r,o,a,s,c){this.nzConfigService=e,this.datePickerService=t,this.i18n=n,this.cdr=r,this.renderer=o,this.elementRef=a,this.dateHelper=s,this.noAnimation=c,this.isRange=!1,this.showWeek=!1,this.focused=!1,this.hostClassMap={},this.destroyed$=new kt.a,this.isCustomPlaceHolder=!1,this.showTime=!1,this.nzAllowClear=!0,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzClassName="",this.nzPlaceHolder="",this.nzPopupStyle=hb,this.nzSize="default",this.nzStyle=null,this.nzShowToday=!0,this.nzMode="date",this.nzDefaultPickerValue=null,this.nzSeparator=void 0,this.nzSuffixIcon="calendar",this.nzOnPanelChange=new i.n,this.nzOnCalendarChange=new i.n,this.nzOnOk=new i.n,this.nzOnOpenChange=new i.n,this.onChangeFn=function(){},this.onTouchedFn=function(){}}return Object.defineProperty(e.prototype,"nzShowTime",{get:function(){return this.showTime},set:function(e){this.showTime="object"==typeof e?e:Object(es.C)(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"realOpenState",{get:function(){return this.picker.animationOpenState},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.nzLocale||this.i18n.localeChange.pipe(Object(ss.a)(this.destroyed$)).subscribe((function(){return e.setLocale()})),this.datePickerService.isRange=this.isRange,this.datePickerService.initValue(),this.datePickerService.emitValue$.pipe(Object(ss.a)(this.destroyed$)).subscribe((function(t){var n=e.datePickerService.value;e.datePickerService.initialValue=Vd(n),e.onChangeFn(e.isRange?n.length?[n[0].nativeDate,n[1].nativeDate]:[]:n?n.nativeDate:null),e.onTouchedFn(),e.picker.hideOverlay()})),this.nzFormat||(this.nzFormat=this.showWeek?"yyyy-ww":this.nzShowTime?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd")},e.prototype.ngOnChanges=function(e){e.nzPopupStyle&&(this.nzPopupStyle=this.nzPopupStyle?Object(zt.a)(Object(zt.a)({},this.nzPopupStyle),hb):hb),e.nzPlaceHolder&&e.nzPlaceHolder.firstChange&&void 0!==this.nzPlaceHolder&&(this.isCustomPlaceHolder=!0),e.nzLocale&&this.setDefaultPlaceHolder(),e.nzRenderExtraFooter&&(this.extraFooter=Object(es.F)(this.nzRenderExtraFooter)),e.nzStyle&&Object(Hs.c)("'nzStyle' in DatePicker is going to be removed in 10.0.0. Please use CSS style attribute like instead."),e.nzClassName&&Object(Hs.c)("'nzClassName' in DatePicker is going to be removed in 10.0.0. Please use CSS class attribute like instead."),e.nzMode&&this.setPanelMode()},e.prototype.ngOnDestroy=function(){this.destroyed$.next(),this.destroyed$.complete()},e.prototype.setPanelMode=function(){this.nzMode||(this.nzMode=this.isRange?["date","date"]:"date")},e.prototype.onOpenChange=function(e){this.nzOnOpenChange.emit(e)},e.prototype.writeValue=function(e){this.setValue(e),this.cdr.markForCheck()},e.prototype.registerOnChange=function(e){this.onChangeFn=e},e.prototype.registerOnTouched=function(e){this.onTouchedFn=e},e.prototype.setDisabledState=function(e){this.nzDisabled=e,this.cdr.markForCheck()},e.prototype.setLocale=function(){this.nzLocale=this.i18n.getLocaleData("DatePicker",{}),this.setDefaultPlaceHolder(),this.cdr.markForCheck()},e.prototype.setDefaultPlaceHolder=function(){!this.isCustomPlaceHolder&&this.nzLocale&&(this.nzPlaceHolder=this.isRange?this.nzLocale.lang.rangePlaceholder:this.nzLocale.lang.placeholder)},e.prototype.setValue=function(e){var t=this.datePickerService.makeValue(e);this.datePickerService.setValue(t),this.datePickerService.initialValue=t},Object.defineProperty(e.prototype,"realShowToday",{get:function(){return"date"===this.nzMode&&this.nzShowToday},enumerable:!0,configurable:!0}),e.prototype.onFocusChange=function(e){this.focused=e,this.focused?this.renderer.addClass(this.elementRef.nativeElement,"ant-picker-focused"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-picker-focused")},e.prototype.onPanelModeChange=function(e){this.nzOnPanelChange.emit(e)},e.prototype.onCalendarChange=function(e){if(this.isRange&&Array.isArray(e)){var t=e.filter((function(e){return e instanceof Bd})).map((function(e){return e.nativeDate}));this.nzOnCalendarChange.emit(t)}},e.prototype.onResultOk=function(){if(this.isRange){var e=this.datePickerService.value;this.nzOnOk.emit(e.length?[e[0].nativeDate,e[1].nativeDate]:[])}else this.nzOnOk.emit(this.datePickerService.value?this.datePickerService.value.nativeDate:null);this.datePickerService.emitValue$.next()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzAllowClear",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzAutoFocus",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzOpen",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzShowToday",void 0),Object(zt.b)([Object(Qa.b)("datePicker"),Object(zt.d)("design:type",String)],e.prototype,"nzSeparator",void 0),Object(zt.b)([Object(Qa.b)("datePicker"),Object(zt.d)("design:type",Object)],e.prototype,"nzSuffixIcon",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(ub),i.Tb(Lp),i.Tb(i.h),i.Tb(i.E),i.Tb(i.l),i.Tb(qp),i.Tb(ac.a,9))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-date-picker"],["nz-week-picker"],["nz-month-picker"],["nz-year-picker"],["nz-range-picker"]],viewQuery:function(e,t){var n;1&e&&i.Jc(pb,!0),2&e&&i.zc(n=i.ic())&&(t.picker=n.first)},hostVars:10,hostBindings:function(e,t){1&e&&i.hc("click",(function(e){return t.picker.onClickInputBox(e)})),2&e&&i.Jb("ant-picker",!0)("ant-picker-range",t.isRange)("ant-picker-large","large"===t.nzSize)("ant-picker-small","small"===t.nzSize)("ant-picker-disabled",t.nzDisabled)},inputs:{nzAllowClear:"nzAllowClear",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzClassName:"nzClassName",nzPlaceHolder:"nzPlaceHolder",nzPopupStyle:"nzPopupStyle",nzSize:"nzSize",nzStyle:"nzStyle",nzShowToday:"nzShowToday",nzMode:"nzMode",nzDefaultPickerValue:"nzDefaultPickerValue",nzSeparator:"nzSeparator",nzSuffixIcon:"nzSuffixIcon",nzShowTime:"nzShowTime",nzFormat:"nzFormat",nzLocale:"nzLocale",nzOpen:"nzOpen",nzDisabledDate:"nzDisabledDate",nzDropdownClassName:"nzDropdownClassName",nzDateRender:"nzDateRender",nzDisabledTime:"nzDisabledTime",nzRenderExtraFooter:"nzRenderExtraFooter",nzRanges:"nzRanges"},outputs:{nzOnPanelChange:"nzOnPanelChange",nzOnCalendarChange:"nzOnCalendarChange",nzOnOk:"nzOnOk",nzOnOpenChange:"nzOnOpenChange"},exportAs:["nzDatePicker"],features:[i.Cb([ub,{provide:Ot.m,multi:!0,useExisting:Object(i.V)((function(){return e}))}]),i.Bb],decls:6,vars:15,consts:[["nz-picker","",2,"display","inherit","align-items","center","width","100%",3,"isRange","open","separator","disabled","format","allowClear","autoFocus","placeholder","ngClass","ngStyle","dropdownClassName","popupStyle","noAnimation","suffixIcon","openChange","focusChange"],[3,"isRange","defaultPickerValue","showWeek","panelMode","locale","showToday","showTime","format","dateRender","disabledDate","disabledTime","placeholder","extraFooter","ranges","panelModeChange","calendarChange","resultOk",4,"ngIf"],[3,"isRange","defaultPickerValue","showWeek","panelMode","locale","showToday","showTime","format","dateRender","disabledDate","disabledTime","placeholder","extraFooter","ranges","panelModeChange","calendarChange","resultOk"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.hc("openChange",(function(e){return t.onOpenChange(e)}))("focusChange",(function(e){return t.onFocusChange(e)})),i.Nc(2,"\n "),i.Lc(3,Pf,1,14,"date-range-popup",1),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n ")),2&e&&(i.Db(1),i.sc("isRange",t.isRange)("open",t.nzOpen)("separator",t.nzSeparator)("disabled",t.nzDisabled)("format",t.nzFormat)("allowClear",t.nzAllowClear)("autoFocus",t.nzAutoFocus)("placeholder",t.nzPlaceHolder)("ngClass",t.nzClassName)("ngStyle",t.nzStyle)("dropdownClassName",t.nzDropdownClassName)("popupStyle",t.nzPopupStyle)("noAnimation",!(null==t.noAnimation||!t.noAnimation.nzNoAnimation))("suffixIcon",t.nzSuffixIcon),i.Db(2),i.sc("ngIf",t.realOpenState))},directives:[pb,Vr.q,Vr.w,Vr.t,lb],encapsulation:2,changeDetection:0}),e}(),fb=function(){function e(){this.panelModeChange=new i.n,this.headerChange=new i.n,this.selectDate=new i.n,this.selectTime=new i.n,this.dayHover=new i.n,this.prefixCls="ant-picker"}return e.prototype.enablePrevNext=function(e,t){return!(!this.showTimePicker&&t===this.endPanelMode&&("left"===this.partType&&"next"===e||"right"===this.partType&&"prev"===e))},e.prototype.onSelectTime=function(e){this.selectTime.emit(new Bd(e))},e.prototype.onSelectDate=function(e){var t=e instanceof Bd?e:new Bd(e),n=this.timeOptions&&this.timeOptions.nzDefaultOpenValue;!this.value&&n&&t.setHms(n.getHours(),n.getMinutes(),n.getSeconds()),this.selectDate.emit(t)},e.prototype.onChooseMonth=function(e){this.activeDate=this.activeDate.setMonth(e.getMonth()),"month"===this.endPanelMode?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelModeChange.emit(this.endPanelMode))},e.prototype.onChooseYear=function(e){this.activeDate=this.activeDate.setYear(e.getYear()),"year"===this.endPanelMode?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelModeChange.emit(this.endPanelMode))},e.prototype.onChooseDecade=function(e){this.activeDate=this.activeDate.setYear(e.getYear()),"decade"===this.endPanelMode?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelModeChange.emit("year"))},e.prototype.ngOnChanges=function(e){e.activeDate&&!e.activeDate.currentValue&&(this.activeDate=new Bd),e.panelMode&&"time"===e.panelMode.currentValue&&(this.panelMode="date")},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["inner-popup"]],inputs:{activeDate:"activeDate",value:"value",panelMode:"panelMode",endPanelMode:"endPanelMode",showWeek:"showWeek",locale:"locale",showTimePicker:"showTimePicker",timeOptions:"timeOptions",disabledDate:"disabledDate",dateRender:"dateRender",selectedValue:"selectedValue",hoverValue:"hoverValue",partType:"partType"},outputs:{panelModeChange:"panelModeChange",headerChange:"headerChange",selectDate:"selectDate",selectTime:"selectTime",dayHover:"dayHover"},exportAs:["innerPopup"],features:[i.Bb],decls:20,vars:11,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showNextBtn","showPreBtn","valueChange","panelModeChange"],[3,"showWeek","activeDate","value","disabledDate","cellRender","valueChange"],[3,"value","locale","showNextBtn","showPreBtn","valueChange","panelModeChange"],[3,"showWeek","value","activeDate","disabledDate","cellRender","valueChange"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showPreBtn","showNextBtn","valueChange","panelModeChange"],[3,"locale","showWeek","value","activeDate","disabledDate","cellRender","selectedValue","hoverValue","valueChange","dayHover"],[3,"nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn","ngModelChange"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div"),i.Nc(2,"\n "),i.Zb(3,"div"),i.Nc(4,"\n "),i.Xb(5,0),i.Nc(6,"\n "),i.Lc(7,Ff,10,14,"ng-container",1),i.Nc(8,"\n "),i.Lc(9,Rf,10,14,"ng-container",1),i.Nc(10,"\n "),i.Lc(11,Vf,10,12,"ng-container",1),i.Nc(12,"\n\n "),i.Lc(13,Bf,10,17,"ng-container",2),i.Nc(14,"\n "),i.Wb(),i.Nc(15,"\n "),i.Yb(),i.Nc(16,"\n "),i.Lc(17,Yf,5,13,"ng-container",3),i.Nc(18,"\n "),i.Yb(),i.Nc(19,"\n ")),2&e&&(i.Db(1),i.Jb("ant-picker-datetime-panel",t.showTimePicker),i.Db(2),i.Hb("",t.prefixCls,"-",t.panelMode,"-panel"),i.Db(2),i.sc("ngSwitch",t.panelMode),i.Db(2),i.sc("ngSwitchCase","decade"),i.Db(2),i.sc("ngSwitchCase","year"),i.Db(2),i.sc("ngSwitchCase","month"),i.Db(6),i.sc("ngIf",t.showTimePicker&&t.timeOptions))},directives:function(){return[Vr.x,Vr.y,Vr.z,Vr.t,yb,wb,Sb,zb,Ob,Cb,bb,vb,bd,Ot.o,Ot.r]},encapsulation:2,changeDetection:0}),e}(),gb=function(){function e(){this.prefixCls="ant-picker-header",this.selectors=[],this.showSuperPreBtn=!0,this.showSuperNextBtn=!0,this.showPreBtn=!0,this.showNextBtn=!0,this.panelModeChange=new i.n,this.valueChange=new i.n}return e.prototype.superPreviousTitle=function(){return this.locale.previousYear},e.prototype.previousTitle=function(){return this.locale.previousMonth},e.prototype.superNextTitle=function(){return this.locale.nextYear},e.prototype.nextTitle=function(){return this.locale.nextMonth},e.prototype.superPrevious=function(){this.changeValue(this.value.addYears(-1))},e.prototype.superNext=function(){this.changeValue(this.value.addYears(1))},e.prototype.previous=function(){this.changeValue(this.value.addMonths(-1))},e.prototype.next=function(){this.changeValue(this.value.addMonths(1))},e.prototype.changeValue=function(e){this.value!==e&&(this.value=e,this.valueChange.emit(this.value),this.render())},e.prototype.changeMode=function(e){this.panelModeChange.emit(e)},e.prototype.render=function(){this.value&&(this.selectors=this.getSelectors())},e.prototype.ngOnInit=function(){this.value||(this.value=new Bd),this.selectors=this.getSelectors()},e.prototype.ngOnChanges=function(e){(e.value||e.locale)&&this.render()},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,inputs:{showSuperPreBtn:"showSuperPreBtn",showSuperNextBtn:"showSuperNextBtn",showPreBtn:"showPreBtn",showNextBtn:"showNextBtn",value:"value",locale:"locale"},outputs:{panelModeChange:"panelModeChange",valueChange:"valueChange"},features:[i.Bb]}),e}(),bb=function(e){function t(t){var n=e.call(this)||this;return n.dateHelper=t,n}return Object(zt.c)(t,e),t.prototype.getSelectors=function(){var e=this;return[{className:this.prefixCls+"-year-btn",title:this.locale.yearSelect,onClick:function(){return e.changeMode("year")},label:this.dateHelper.format(this.value.nativeDate,sb(this.locale.yearFormat))},{className:this.prefixCls+"-month-btn",title:this.locale.monthSelect,onClick:function(){return e.changeMode("month")},label:this.dateHelper.format(this.value.nativeDate,this.locale.monthFormat||"MMM")}]},t.\u0275fac=function(e){return new(e||t)(i.Tb(qp))},t.\u0275cmp=i.Nb({type:t,selectors:[["date-header"]],exportAs:["dateHeader"],features:[i.Ab],decls:28,vars:31,consts:[["role","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(e,t){1&e&&(i.Zb(0,"div"),i.Nc(1,"\n "),i.Zb(2,"button",0),i.hc("click",(function(){return t.superPrevious()})),i.Nc(3,"\n "),i.Ub(4,"span",1),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n "),i.Zb(7,"button",0),i.hc("click",(function(){return t.previous()})),i.Nc(8,"\n "),i.Ub(9,"span",2),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n\n "),i.Zb(12,"div"),i.Nc(13,"\n "),i.Lc(14,Uf,5,5,"ng-container",3),i.Nc(15,"\n "),i.Yb(),i.Nc(16,"\n "),i.Zb(17,"button",0),i.hc("click",(function(){return t.next()})),i.Nc(18,"\n "),i.Ub(19,"span",4),i.Nc(20,"\n "),i.Yb(),i.Nc(21,"\n "),i.Zb(22,"button",0),i.hc("click",(function(){return t.superNext()})),i.Nc(23,"\n "),i.Ub(24,"span",5),i.Nc(25,"\n "),i.Yb(),i.Nc(26,"\n"),i.Yb(),i.Nc(27,"\n")),2&e&&(i.Fb(t.prefixCls),i.Db(2),i.Gb("",t.prefixCls,"-super-prev-btn"),i.Kc("visibility",t.showSuperPreBtn?"visible":"hidden"),i.tc("title",t.superPreviousTitle()),i.Db(5),i.Gb("",t.prefixCls,"-prev-btn"),i.Kc("visibility",t.showPreBtn?"visible":"hidden"),i.tc("title",t.previousTitle()),i.Db(5),i.Gb("",t.prefixCls,"-view"),i.Db(2),i.sc("ngForOf",t.selectors),i.Db(3),i.Gb("",t.prefixCls,"-next-btn"),i.Kc("visibility",t.showNextBtn?"visible":"hidden"),i.tc("title",t.nextTitle()),i.Db(5),i.Gb("",t.prefixCls,"-super-next-btn"),i.Kc("visibility",t.showSuperNextBtn?"visible":"hidden"),i.tc("title",t.superNextTitle()))},directives:[Vr.s],encapsulation:2,changeDetection:0}),t}(gb),mb=function(){function e(){this.isTemplateRef=es.s,this.isNonEmptyString=es.o,this.headRow=[],this.bodyRows=[],this.MAX_ROW=6,this.MAX_COL=7,this.prefixCls="ant-picker",this.activeDate=new Bd,this.showWeek=!1,this.valueChange=new i.n}return e.prototype.render=function(){this.activeDate&&(this.headRow=this.makeHeadRow(),this.bodyRows=this.makeBodyRows())},e.prototype.trackByBodyRow=function(e,t){return t},e.prototype.trackByBodyColumn=function(e,t){return t},e.prototype.ngOnInit=function(){this.render()},e.prototype.ngOnChanges=function(e){e.activeDate&&!e.activeDate.currentValue&&(this.activeDate=new Bd)},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,inputs:{prefixCls:"prefixCls",activeDate:"activeDate",showWeek:"showWeek",value:"value",disabledDate:"disabledDate",cellRender:"cellRender",fullCellRender:"fullCellRender"},outputs:{valueChange:"valueChange"},features:[i.Bb]}),e}(),vb=function(e){function t(t,n){var r=e.call(this)||this;return r.i18n=t,r.dateHelper=n,r.selectedValue=[],r.hoverValue=[],r.dayHover=new i.n,r}return Object(zt.c)(t,e),t.prototype.ngOnChanges=function(t){e.prototype.ngOnChanges.call(this,t),(this.isDateRealChange(t.activeDate)||this.isDateRealChange(t.value)||this.isDateRealChange(t.selectedValue)||this.isDateRealChange(t.hoverValue))&&this.render()},t.prototype.isDateRealChange=function(e){if(e){var t=e.previousValue,n=e.currentValue;return Array.isArray(n)?!Array.isArray(t)||n.length!==t.length||n.some((function(e,n){var i=t[n];return i instanceof Bd?i.isSameDay(e):i!==e})):!this.isSameDate(t,n)}return!1},t.prototype.isSameDate=function(e,t){return!e&&!t||e&&t&&t.isSameDay(e)},t.prototype.changeValueFromInside=function(e){this.activeDate=this.activeDate.setYear(e.getYear()).setMonth(e.getMonth()).setDate(e.getDate()),this.valueChange.emit(this.activeDate),this.activeDate.isSameMonth(this.value)||this.render()},t.prototype.makeHeadRow=function(){for(var e=[],t=this.activeDate.calendarStart({weekStartsOn:this.dateHelper.getFirstDayOfWeek()}),n=0;n0||c.hoverValue&&c.hoverValue.length>0)&&n.isSameMonth(c.activeDate)){var l=Object(zt.e)(c.hoverValue,2),p=l[0],h=l[1],d=Object(zt.e)(c.selectedValue,2),f=d[0],g=d[1];f&&f.isSameDay(n)&&(u.isSelectedStartDate=!0,u.isSelected=!0,a.isActive=!0),g&&g.isSameDay(n)?(u.isSelectedEndDate=!0,u.isSelected=!0,a.isActive=!0):n.isAfterDay(f)&&n.isBeforeDay(g)&&(u.isInSelectedRange=!0),p&&h&&(p.isSameDay(n)&&(u.isHoverStartDate=!0),h.isSameDay(n)&&(u.isHoverEndDate=!0),n.isLastDayOfMonth()&&(u.isLastDayOfMonth=!0),n.isFirstDayOfMonth()&&(u.isFirstDayOfMonth=!0)),f&&!g&&(u.isStartSingle=!0),!f&&g&&(u.isEndSingle=!0),n.isAfterDay(p)&&n.isBeforeDay(h)&&(u.isInHoverRange=!0)}else n.isSameDay(c.value)&&(u.isSelected=!0,a.isActive=!0);(null===(d=c.disabledDate)||void 0===d?void 0:d.call(c,n.nativeDate))&&(u.isDisabled=!0),u.classMap=c.getClassMap(u),a.dateCells.push(u)},c=this,u=0;u<7;u++)s(u);a.classMap=((e={})[this.prefixCls+"-week-panel-row"]=this.showWeek,e[this.prefixCls+"-week-panel-row-selected"]=this.showWeek&&a.isActive,e),n.push(a)}return n},t.prototype.getClassMap=function(e){var t,n=new Bd(e.value);return(t={})["ant-picker-cell"]=!0,t["ant-picker-cell-today"]=!!e.isToday,t["ant-picker-cell-in-view"]=n.isSameMonth(this.activeDate),t["ant-picker-cell-selected"]=e.isSelected,t["ant-picker-cell-disabled"]=e.isDisabled,t["ant-picker-cell-in-range"]=!!e.isInSelectedRange,t["ant-picker-cell-range-start"]=!!e.isSelectedStartDate,t["ant-picker-cell-range-end"]=!!e.isSelectedEndDate,t["ant-picker-cell-range-start-single"]=!!e.isStartSingle,t["ant-picker-cell-range-end-single"]=!!e.isEndSingle,t["ant-picker-cell-range-hover"]=!!e.isInHoverRange,t["ant-picker-cell-range-hover-start"]=!!e.isHoverStartDate,t["ant-picker-cell-range-hover-end"]=!!e.isHoverEndDate,t["ant-picker-cell-range-hover-edge-start"]=!!e.isFirstDayOfMonth,t["ant-picker-cell-range-hover-edge-end"]=!!e.isLastDayOfMonth,t},t.prototype.trackByBodyRow=function(e,t){return t.year+"-"+t.weekNum},t.prototype.trackByBodyColumn=function(e,t){return t.title},t.\u0275fac=function(e){return new(e||t)(i.Tb(Lp),i.Tb(qp))},t.\u0275cmp=i.Nb({type:t,selectors:[["date-table"]],inputs:{locale:"locale",selectedValue:"selectedValue",hoverValue:"hoverValue"},outputs:{dayHover:"dayHover"},exportAs:["dateTable"],features:[i.Ab,i.Bb],decls:10,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(e,t){1&e&&(i.Zb(0,"table",0),i.Nc(1,"\n "),i.Lc(2,qf,9,2,"thead",1),i.Nc(3,"\n "),i.Zb(4,"tbody"),i.Nc(5,"\n "),i.Lc(6,ag,6,4,"tr",2),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n"),i.Yb(),i.Nc(9,"\n")),2&e&&(i.Db(2),i.sc("ngIf",t.headRow&&t.headRow.length>0),i.Db(4),i.sc("ngForOf",t.bodyRows)("ngForTrackBy",t.trackByBodyRow))},directives:[Vr.t,Vr.s,Vr.q,Vr.x,Vr.y,Vr.z,Vr.A],encapsulation:2,changeDetection:0}),t}(mb),yb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(zt.c)(t,e),t.prototype.previous=function(){},t.prototype.next=function(){},Object.defineProperty(t.prototype,"startYear",{get:function(){return 100*parseInt(""+this.value.getYear()/100,10)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endYear",{get:function(){return this.startYear+99},enumerable:!0,configurable:!0}),t.prototype.superPrevious=function(){this.changeValue(this.value.addYears(-100))},t.prototype.superNext=function(){this.changeValue(this.value.addYears(100))},t.prototype.getSelectors=function(){return[{className:this.prefixCls+"-decade-btn",title:"",onClick:function(){},label:this.startYear+"-"+this.endYear}]},t.\u0275fac=function(e){return n(e||t)},t.\u0275cmp=i.Nb({type:t,selectors:[["decade-header"]],exportAs:["decadeHeader"],features:[i.Ab],decls:28,vars:31,consts:[["role","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(e,t){1&e&&(i.Zb(0,"div"),i.Nc(1,"\n "),i.Zb(2,"button",0),i.hc("click",(function(){return t.superPrevious()})),i.Nc(3,"\n "),i.Ub(4,"span",1),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n "),i.Zb(7,"button",0),i.hc("click",(function(){return t.previous()})),i.Nc(8,"\n "),i.Ub(9,"span",2),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n\n "),i.Zb(12,"div"),i.Nc(13,"\n "),i.Lc(14,sg,5,5,"ng-container",3),i.Nc(15,"\n "),i.Yb(),i.Nc(16,"\n "),i.Zb(17,"button",0),i.hc("click",(function(){return t.next()})),i.Nc(18,"\n "),i.Ub(19,"span",4),i.Nc(20,"\n "),i.Yb(),i.Nc(21,"\n "),i.Zb(22,"button",0),i.hc("click",(function(){return t.superNext()})),i.Nc(23,"\n "),i.Ub(24,"span",5),i.Nc(25,"\n "),i.Yb(),i.Nc(26,"\n"),i.Yb(),i.Nc(27,"\n")),2&e&&(i.Fb(t.prefixCls),i.Db(2),i.Gb("",t.prefixCls,"-super-prev-btn"),i.Kc("visibility",t.showSuperPreBtn?"visible":"hidden"),i.tc("title",t.superPreviousTitle()),i.Db(5),i.Gb("",t.prefixCls,"-prev-btn"),i.Kc("visibility",t.showPreBtn?"visible":"hidden"),i.tc("title",t.previousTitle()),i.Db(5),i.Gb("",t.prefixCls,"-view"),i.Db(2),i.sc("ngForOf",t.selectors),i.Db(3),i.Gb("",t.prefixCls,"-next-btn"),i.Kc("visibility",t.showNextBtn?"visible":"hidden"),i.tc("title",t.nextTitle()),i.Db(5),i.Gb("",t.prefixCls,"-super-next-btn"),i.Kc("visibility",t.showSuperNextBtn?"visible":"hidden"),i.tc("title",t.superNextTitle()))},directives:[Vr.s],encapsulation:2,changeDetection:0});var n=i.bc(t);return t}(gb),wb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(zt.c)(t,e),t.prototype.ngOnChanges=function(e){(e.value||e.disabledDate||e.activeDate)&&this.render()},Object.defineProperty(t.prototype,"startYear",{get:function(){return 100*parseInt(""+this.activeDate.getYear()/100,10)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endYear",{get:function(){return this.startYear+99},enumerable:!0,configurable:!0}),t.prototype.makeHeadRow=function(){return[]},t.prototype.makeBodyRows=function(){for(var e=this,t=[],n=this.value&&this.value.getYear(),i=this.startYear,r=this.endYear,o=i-10,a=0,s=0;s<4;s++){for(var c=[],u=function(t){var s=o+10*a,u=o+10*a+9,p=s+"-"+u,h={value:l.activeDate.setYear(s).nativeDate,content:p,title:p,isDisabled:!1,isSelected:n>=s&&n<=u,isLowerThanStart:ur,classMap:{},onClick:function(){},onMouseEnter:function(){}};h.classMap=l.getClassMap(h),h.onClick=function(){return e.chooseDecade(s)},a++,c.push(h)},l=this,p=0;p<3;p++)u();t.push({dateCells:c})}return t},t.prototype.getClassMap=function(e){var t;return(t={})[this.prefixCls+"-cell"]=!0,t[this.prefixCls+"-cell-in-view"]=!e.isBiggerThanEnd&&!e.isLowerThanStart,t[this.prefixCls+"-cell-selected"]=e.isSelected,t[this.prefixCls+"-cell-disabled"]=e.isDisabled,t},t.prototype.chooseDecade=function(e){this.value=this.activeDate.setYear(e),this.valueChange.emit(this.value)},t.\u0275fac=function(e){return n(e||t)},t.\u0275cmp=i.Nb({type:t,selectors:[["decade-table"]],exportAs:["decadeTable"],features:[i.Ab,i.Bb],decls:10,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(e,t){1&e&&(i.Zb(0,"table",0),i.Nc(1,"\n "),i.Lc(2,lg,9,2,"thead",1),i.Nc(3,"\n "),i.Zb(4,"tbody"),i.Nc(5,"\n "),i.Lc(6,Sg,6,4,"tr",2),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n"),i.Yb(),i.Nc(9,"\n")),2&e&&(i.Db(2),i.sc("ngIf",t.headRow&&t.headRow.length>0),i.Db(4),i.sc("ngForOf",t.bodyRows)("ngForTrackBy",t.trackByBodyRow))},directives:[Vr.t,Vr.s,Vr.q,Vr.x,Vr.y,Vr.z,Vr.A],encapsulation:2,changeDetection:0});var n=i.bc(t);return t}(mb),Ob=function(e){function t(t){var n=e.call(this)||this;return n.dateHelper=t,n}return Object(zt.c)(t,e),t.prototype.getSelectors=function(){var e=this;return[{className:this.prefixCls+"-month-btn",title:this.locale.yearSelect,onClick:function(){return e.changeMode("year")},label:this.dateHelper.format(this.value.nativeDate,sb(this.locale.yearFormat))}]},t.\u0275fac=function(e){return new(e||t)(i.Tb(qp))},t.\u0275cmp=i.Nb({type:t,selectors:[["month-header"]],exportAs:["monthHeader"],features:[i.Ab],decls:28,vars:31,consts:[["role","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(e,t){1&e&&(i.Zb(0,"div"),i.Nc(1,"\n "),i.Zb(2,"button",0),i.hc("click",(function(){return t.superPrevious()})),i.Nc(3,"\n "),i.Ub(4,"span",1),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n "),i.Zb(7,"button",0),i.hc("click",(function(){return t.previous()})),i.Nc(8,"\n "),i.Ub(9,"span",2),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n\n "),i.Zb(12,"div"),i.Nc(13,"\n "),i.Lc(14,zg,5,5,"ng-container",3),i.Nc(15,"\n "),i.Yb(),i.Nc(16,"\n "),i.Zb(17,"button",0),i.hc("click",(function(){return t.next()})),i.Nc(18,"\n "),i.Ub(19,"span",4),i.Nc(20,"\n "),i.Yb(),i.Nc(21,"\n "),i.Zb(22,"button",0),i.hc("click",(function(){return t.superNext()})),i.Nc(23,"\n "),i.Ub(24,"span",5),i.Nc(25,"\n "),i.Yb(),i.Nc(26,"\n"),i.Yb(),i.Nc(27,"\n")),2&e&&(i.Fb(t.prefixCls),i.Db(2),i.Gb("",t.prefixCls,"-super-prev-btn"),i.Kc("visibility",t.showSuperPreBtn?"visible":"hidden"),i.tc("title",t.superPreviousTitle()),i.Db(5),i.Gb("",t.prefixCls,"-prev-btn"),i.Kc("visibility",t.showPreBtn?"visible":"hidden"),i.tc("title",t.previousTitle()),i.Db(5),i.Gb("",t.prefixCls,"-view"),i.Db(2),i.sc("ngForOf",t.selectors),i.Db(3),i.Gb("",t.prefixCls,"-next-btn"),i.Kc("visibility",t.showNextBtn?"visible":"hidden"),i.tc("title",t.nextTitle()),i.Db(5),i.Gb("",t.prefixCls,"-super-next-btn"),i.Kc("visibility",t.showSuperNextBtn?"visible":"hidden"),i.tc("title",t.superNextTitle()))},directives:[Vr.s],encapsulation:2,changeDetection:0}),t}(gb),Cb=function(e){function t(t){var n=e.call(this)||this;return n.dateHelper=t,n.MAX_ROW=4,n.MAX_COL=3,n}return Object(zt.c)(t,e),t.prototype.ngOnChanges=function(t){e.prototype.ngOnChanges.call(this,t),(t.value||t.disabledDate||t.activeDate)&&this.render()},t.prototype.makeHeadRow=function(){return[]},t.prototype.makeBodyRows=function(){for(var e=this,t=[],n=this.value&&this.value.getMonth(),i=0,r=0;r0),i.Db(4),i.sc("ngForOf",t.bodyRows)("ngForTrackBy",t.trackByBodyRow))},directives:[Vr.t,Vr.s,Vr.q,Vr.x,Vr.y,Vr.z,Vr.A],encapsulation:2,changeDetection:0}),t}(mb),Sb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(zt.c)(t,e),Object.defineProperty(t.prototype,"startYear",{get:function(){return 10*parseInt(""+this.value.getYear()/10,10)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endYear",{get:function(){return this.startYear+9},enumerable:!0,configurable:!0}),t.prototype.superPrevious=function(){this.changeValue(this.value.addYears(-10))},t.prototype.superNext=function(){this.changeValue(this.value.addYears(10))},t.prototype.getSelectors=function(){var e=this;return[{className:this.prefixCls+"-year-btn",title:"",onClick:function(){return e.changeMode("decade")},label:this.startYear+"-"+this.endYear}]},t.\u0275fac=function(e){return n(e||t)},t.\u0275cmp=i.Nb({type:t,selectors:[["year-header"]],exportAs:["yearHeader"],features:[i.Ab],decls:28,vars:31,consts:[["role","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(e,t){1&e&&(i.Zb(0,"div"),i.Nc(1,"\n "),i.Zb(2,"button",0),i.hc("click",(function(){return t.superPrevious()})),i.Nc(3,"\n "),i.Ub(4,"span",1),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n "),i.Zb(7,"button",0),i.hc("click",(function(){return t.previous()})),i.Nc(8,"\n "),i.Ub(9,"span",2),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n\n "),i.Zb(12,"div"),i.Nc(13,"\n "),i.Lc(14,Bg,5,5,"ng-container",3),i.Nc(15,"\n "),i.Yb(),i.Nc(16,"\n "),i.Zb(17,"button",0),i.hc("click",(function(){return t.next()})),i.Nc(18,"\n "),i.Ub(19,"span",4),i.Nc(20,"\n "),i.Yb(),i.Nc(21,"\n "),i.Zb(22,"button",0),i.hc("click",(function(){return t.superNext()})),i.Nc(23,"\n "),i.Ub(24,"span",5),i.Nc(25,"\n "),i.Yb(),i.Nc(26,"\n"),i.Yb(),i.Nc(27,"\n")),2&e&&(i.Fb(t.prefixCls),i.Db(2),i.Gb("",t.prefixCls,"-super-prev-btn"),i.Kc("visibility",t.showSuperPreBtn?"visible":"hidden"),i.tc("title",t.superPreviousTitle()),i.Db(5),i.Gb("",t.prefixCls,"-prev-btn"),i.Kc("visibility",t.showPreBtn?"visible":"hidden"),i.tc("title",t.previousTitle()),i.Db(5),i.Gb("",t.prefixCls,"-view"),i.Db(2),i.sc("ngForOf",t.selectors),i.Db(3),i.Gb("",t.prefixCls,"-next-btn"),i.Kc("visibility",t.showNextBtn?"visible":"hidden"),i.tc("title",t.nextTitle()),i.Db(5),i.Gb("",t.prefixCls,"-super-next-btn"),i.Kc("visibility",t.showSuperNextBtn?"visible":"hidden"),i.tc("title",t.superNextTitle()))},directives:[Vr.s],encapsulation:2,changeDetection:0});var n=i.bc(t);return t}(gb),zb=function(e){function t(t){var n=e.call(this)||this;return n.dateHelper=t,n.MAX_ROW=4,n.MAX_COL=3,n}return Object(zt.c)(t,e),t.prototype.ngOnChanges=function(t){e.prototype.ngOnChanges.call(this,t),(t.value||t.disabledDate||t.activeDate)&&this.render()},t.prototype.makeHeadRow=function(){return[]},t.prototype.makeBodyRows=function(){for(var e=this,t=this.activeDate&&this.activeDate.getYear(),n=10*parseInt(""+t/10,10),i=n+9,r=n-1,o=[],a=0,s=0;s=n&&o<=i,isSelected:o===(l.value&&l.value.getYear()),content:u,title:u,classMap:{},cellRender:Object(es.F)(l.cellRender,s),fullCellRender:Object(es.F)(l.fullCellRender,s),onClick:function(){return e.chooseYear(h.value.getFullYear())},onMouseEnter:function(){return null}};h.classMap=l.getClassMap(h),c.push(h),a++},l=this,p=0;p0),i.Db(4),i.sc("ngForOf",t.bodyRows)("ngForTrackBy",t.trackByBodyRow))},directives:[Vr.t,Vr.s,Vr.q,Vr.x,Vr.y,Vr.z,Vr.A],encapsulation:2,changeDetection:0}),t}(mb),Tb=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,Fp,md,Es.a]]}),e}(),_b=function(){function e(e){this.datePicker=e,this.datePicker.nzMode="month",this.datePicker.nzFormat="yyyy-MM"}return e.\u0275fac=function(t){return new(t||e)(i.Tb(db,9))},e.\u0275dir=i.Ob({type:e,selectors:[["nz-month-picker"]],exportAs:["nzMonthPicker"]}),e}(),kb=function(){function e(e){this.datePicker=e,this.datePicker.isRange=!0,this.datePicker.nzMode=["date","date"]}return e.\u0275fac=function(t){return new(t||e)(i.Tb(db,9))},e.\u0275dir=i.Ob({type:e,selectors:[["nz-range-picker"]],exportAs:["nzRangePicker"]}),e}(),Db=function(){function e(e){this.datePicker=e,this.datePicker.showWeek=!0,this.datePicker.nzMode="week",this.datePicker.nzFormat="yyyy-ww"}return e.\u0275fac=function(t){return new(t||e)(i.Tb(db,9))},e.\u0275dir=i.Ob({type:e,selectors:[["nz-week-picker"]],exportAs:["nzWeekPicker"]}),e}(),xb=function(){function e(e){this.datePicker=e,this.datePicker.nzMode="year",this.datePicker.nzFormat="yyyy"}return e.\u0275fac=function(t){return new(t||e)(i.Tb(db,9))},e.\u0275dir=i.Ob({type:e,selectors:[["nz-year-picker"]],exportAs:["nzYearPicker"]}),e}(),Eb=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,Ur.i,Tb,Ns.b,Nu.f,ac.b,Es.a,md,Wu.c,Tb]]}),e}(),Nb=["*"],jb=["inputElement"],Ib=["nz-radio",""],Ab=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["","nz-radio-button",""]]}),e}(),Mb=function(){function e(){this.selected$=new Os.a(1),this.touched$=new kt.a,this.disabled$=new Os.a(1),this.name$=new Os.a(1)}return e.prototype.touch=function(){this.touched$.next()},e.prototype.select=function(e){this.selected$.next(e)},e.prototype.setDisabled=function(e){this.disabled$.next(e)},e.prototype.setName=function(e){this.name$.next(e)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Lb=function(){function e(e,t){this.cdr=e,this.nzRadioService=t,this.value=null,this.destroy$=new kt.a,this.onChange=function(){},this.onTouched=function(){},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null}return e.prototype.ngOnInit=function(){var e=this;this.nzRadioService.selected$.subscribe((function(t){e.value!==t&&(e.value=t,e.onChange(e.value))})),this.nzRadioService.touched$.subscribe((function(){Promise.resolve().then((function(){return e.onTouched()}))}))},e.prototype.ngOnChanges=function(e){var t=e.nzName;e.nzDisabled&&this.nzRadioService.setDisabled(this.nzDisabled),t&&this.nzRadioService.setName(this.nzName)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.writeValue=function(e){this.value=e,this.nzRadioService.select(e),this.cdr.markForCheck()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.nzDisabled=e,this.nzRadioService.setDisabled(e),this.cdr.markForCheck()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(Mb))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-radio-group"]],hostVars:8,hostBindings:function(e,t){2&e&&i.Jb("ant-radio-group",!0)("ant-radio-group-large","large"===t.nzSize)("ant-radio-group-small","small"===t.nzSize)("ant-radio-group-solid","solid"===t.nzButtonStyle)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[i.Cb([Mb,{provide:Ot.m,useExisting:Object(i.V)((function(){return e})),multi:!0}]),i.Bb],ngContentSelectors:Nb,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),e}(),Pb=function(){function e(e,t,n,i,r){this.elementRef=e,this.cdr=t,this.focusMonitor=n,this.nzRadioService=i,this.nzRadioButtonDirective=r,this.isNgModel=!1,this.destroy$=new kt.a,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=function(){},this.onTouched=function(){},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1}return e.prototype.onHostClick=function(e){e.stopPropagation(),e.preventDefault(),this.focus(),this.nzDisabled||this.isChecked||(this.nzRadioService&&this.nzRadioService.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)))},e.prototype.focus=function(){this.focusMonitor.focusVia(this.inputElement,"keyboard")},e.prototype.blur=function(){this.inputElement.nativeElement.blur()},e.prototype.setDisabledState=function(e){this.nzDisabled=e,this.cdr.markForCheck()},e.prototype.writeValue=function(e){this.isChecked=e,this.cdr.markForCheck()},e.prototype.registerOnChange=function(e){this.isNgModel=!0,this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.ngOnInit=function(){var e=this;this.nzRadioService&&(this.nzRadioService.name$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.name=t,e.cdr.markForCheck()})),this.nzRadioService.disabled$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.nzDisabled=t,e.cdr.markForCheck()})),this.nzRadioService.selected$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.isChecked=e.nzValue===t,e.cdr.markForCheck()}))),this.focusMonitor.monitor(this.elementRef,!0).subscribe((function(t){t||(Promise.resolve().then((function(){return e.onTouched()})),e.nzRadioService&&e.nzRadioService.touch())}))},e.prototype.ngAfterViewInit=function(){this.nzAutoFocus&&this.focus()},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.h),i.Tb(yo),i.Tb(Mb,8),i.Tb(Ab,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(e,t){var n;1&e&&i.Sc(jb,!0),2&e&&i.zc(n=i.ic())&&(t.inputElement=n.first)},hostVars:12,hostBindings:function(e,t){1&e&&i.hc("click",(function(e){return t.onHostClick(e)})),2&e&&i.Jb("ant-radio-wrapper",!t.isRadioButton)("ant-radio-button-wrapper",t.isRadioButton)("ant-radio-wrapper-checked",t.isChecked&&!t.isRadioButton)("ant-radio-button-wrapper-checked",t.isChecked&&t.isRadioButton)("ant-radio-wrapper-disabled",t.nzDisabled&&!t.isRadioButton)("ant-radio-button-wrapper-disabled",t.nzDisabled&&t.isRadioButton)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[i.Cb([{provide:Ot.m,useExisting:Object(i.V)((function(){return e})),multi:!0}])],attrs:Ib,ngContentSelectors:Nb,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"span"),i.Ub(1,"input",0,1),i.Ub(3,"span"),i.Yb(),i.Zb(4,"span"),i.qc(5),i.Yb()),2&e&&(i.Jb("ant-radio",!t.isRadioButton)("ant-radio-checked",t.isChecked&&!t.isRadioButton)("ant-radio-disabled",t.nzDisabled&&!t.isRadioButton)("ant-radio-button",t.isRadioButton)("ant-radio-button-checked",t.isChecked&&t.isRadioButton)("ant-radio-button-disabled",t.nzDisabled&&t.isRadioButton),i.Db(1),i.Jb("ant-radio-input",!t.isRadioButton)("ant-radio-button-input",t.isRadioButton),i.sc("disabled",t.nzDisabled)("checked",t.isChecked),i.Eb("autofocus",t.nzAutoFocus?"autofocus":null)("name",t.name),i.Db(2),i.Jb("ant-radio-inner",!t.isRadioButton)("ant-radio-button-inner",t.isRadioButton))},encapsulation:2,changeDetection:0}),e}(),Fb=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j]]}),e}(),Rb=n("pdUi");function Vb(e,t){1&e&&i.Ub(0,"nz-empty",6),2&e&&i.sc("nzNotFoundImage","simple")}function Bb(e,t){1&e&&i.Ub(0,"nz-empty",7),2&e&&i.sc("nzNotFoundImage","simple")}function Yb(e,t){1&e&&i.Ub(0,"nz-empty")}function Ub(e,t){if(1&e&&(i.Xb(0,2),i.Nc(1,"\n "),i.Lc(2,Vb,1,1,"nz-empty",3),i.Nc(3,"\n "),i.Lc(4,Bb,1,1,"nz-empty",4),i.Nc(5,"\n "),i.Lc(6,Yb,1,0,"nz-empty",5),i.Nc(7,"\n "),i.Wb()),2&e){var n=i.kc();i.sc("ngSwitch",n.size),i.Db(2),i.sc("ngSwitchCase","normal"),i.Db(2),i.sc("ngSwitchCase","small")}}function Hb(e,t){}function Wb(e,t){if(1&e&&i.Lc(0,Hb,0,0,"ng-template",8),2&e){var n=i.kc(2);i.sc("cdkPortalOutlet",n.contentPortal)}}function qb(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Pc("\n ",n.content,"\n ")}}function Zb(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,Wb,1,1,void 0,1),i.Nc(3,"\n "),i.Lc(4,qb,2,1,"ng-container",1),i.Nc(5,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("ngIf","string"!==n.contentType),i.Db(2),i.sc("ngIf","string"===n.contentType)}}function $b(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"img",5),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2);i.Db(2),i.sc("src",n.nzNotFoundImage,i.Fc)("alt",n.isContentString?n.nzNotFoundContent:"empty")}}function Gb(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,$b,4,2,"ng-container",4),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzNotFoundImage)}}function Qb(e,t){1&e&&i.Ub(0,"nz-empty-default")}function Xb(e,t){1&e&&i.Ub(0,"nz-empty-simple")}function Kb(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Pc("\n ",n.isContentString?n.nzNotFoundContent:n.locale.description,"\n ")}}function Jb(e,t){if(1&e&&(i.Zb(0,"p",6),i.Nc(1,"\n "),i.Lc(2,Kb,2,1,"ng-container",4),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzNotFoundContent)}}function em(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Pc("\n ",n.nzNotFoundFooter,"\n ")}}function tm(e,t){if(1&e&&(i.Zb(0,"div",7),i.Nc(1,"\n "),i.Lc(2,em,2,1,"ng-container",4),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzNotFoundFooter)}}var nm=new i.q("nz-empty-component-name"),im=function(){function e(e,t,n,i){this.configService=e,this.viewContainerRef=t,this.cdr=n,this.injector=i,this.contentType="string",this.size="",this.destroy$=new kt.a}return e.prototype.ngOnChanges=function(e){e.nzComponentName&&(this.size=function(e){switch(e){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(e.nzComponentName.currentValue)),e.specificContent&&!e.specificContent.isFirstChange()&&(this.content=e.specificContent.currentValue,this.renderEmpty())},e.prototype.ngOnInit=function(){this.subscribeDefaultEmptyContentChange()},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.renderEmpty=function(){var e=this.content;if("string"==typeof e)this.contentType="string";else if(e instanceof i.M){var t={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new Wr.g(e,this.viewContainerRef,t)}else if(e instanceof i.O){t=new WeakMap([[nm,this.nzComponentName]]);var n=new Wr.e(this.injector,t);this.contentType="component",this.contentPortal=new Wr.c(e,this.viewContainerRef,n)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()},e.prototype.subscribeDefaultEmptyContentChange=function(){var e=this;this.configService.getConfigChangeEventForComponent("empty").pipe(Object(Ka.a)(!0),Object(ss.a)(this.destroy$)).subscribe((function(){e.content=e.specificContent||e.getUserDefaultEmptyContent(),e.renderEmpty()}))},e.prototype.getUserDefaultEmptyContent=function(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent},e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.Q),i.Tb(i.h),i.Tb(i.r))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[i.Bb],decls:5,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Lc(1,Ub,8,3,"ng-container",0),i.Nc(2,"\n "),i.Lc(3,Zb,6,2,"ng-container",1),i.Nc(4,"\n ")),2&e&&(i.Db(1),i.sc("ngIf",!t.content&&null!==t.specificContent),i.Db(2),i.sc("ngIf",t.content))},directives:function(){return[Vr.t,Vr.x,Vr.y,Vr.z,om,Wr.b]},encapsulation:2,changeDetection:0}),e}(),rm=["default","simple"],om=function(){function e(e,t){this.i18n=e,this.cdr=t,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.locale={},this.destroy$=new kt.a}return e.prototype.ngOnChanges=function(e){var t=e.nzNotFoundContent,n=e.nzNotFoundImage;if(t&&(this.isContentString="string"==typeof t.currentValue),n){var i=n.currentValue||"default";this.isImageBuildIn=rm.findIndex((function(e){return e===i}))>-1}},e.prototype.ngOnInit=function(){var e=this;this.i18n.localeChange.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.locale=e.i18n.getLocaleData("Empty"),e.cdr.markForCheck()}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(Lp),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[i.Bb],decls:14,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Lc(3,Gb,4,1,"ng-container",1),i.Nc(4,"\n "),i.Lc(5,Qb,1,0,"nz-empty-default",1),i.Nc(6,"\n "),i.Lc(7,Xb,1,0,"nz-empty-simple",1),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Lc(10,Jb,4,1,"p",2),i.Nc(11,"\n "),i.Lc(12,tm,4,1,"div",3),i.Nc(13,"\n ")),2&e&&(i.Db(3),i.sc("ngIf",!t.isImageBuildIn),i.Db(2),i.sc("ngIf",t.isImageBuildIn&&"simple"!==t.nzNotFoundImage),i.Db(2),i.sc("ngIf",t.isImageBuildIn&&"simple"===t.nzNotFoundImage),i.Db(3),i.sc("ngIf",null!==t.nzNotFoundContent),i.Db(2),i.sc("ngIf",t.nzNotFoundFooter))},directives:function(){return[Vr.t,Es.b,am,sm]},encapsulation:2,changeDetection:0}),e}(),am=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:29,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.jc(),i.Zb(1,"svg",0),i.Nc(2,"\n "),i.Zb(3,"g",1),i.Nc(4,"\n "),i.Zb(5,"g",2),i.Nc(6,"\n "),i.Ub(7,"ellipse",3),i.Nc(8,"\n "),i.Ub(9,"path",4),i.Nc(10,"\n "),i.Ub(11,"path",5),i.Nc(12,"\n "),i.Ub(13,"path",6),i.Nc(14,"\n "),i.Ub(15,"path",7),i.Nc(16,"\n "),i.Yb(),i.Nc(17,"\n "),i.Ub(18,"path",8),i.Nc(19,"\n "),i.Zb(20,"g",9),i.Nc(21,"\n "),i.Ub(22,"ellipse",10),i.Nc(23,"\n "),i.Ub(24,"path",11),i.Nc(25,"\n "),i.Yb(),i.Nc(26,"\n "),i.Yb(),i.Nc(27,"\n "),i.Yb(),i.Nc(28,"\n "))},encapsulation:2,changeDetection:0}),e}(),sm=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:16,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.jc(),i.Zb(1,"svg",0),i.Nc(2,"\n "),i.Zb(3,"g",1),i.Nc(4,"\n "),i.Ub(5,"ellipse",2),i.Nc(6,"\n "),i.Zb(7,"g",3),i.Nc(8,"\n "),i.Ub(9,"path",4),i.Nc(10,"\n "),i.Ub(11,"path",5),i.Nc(12,"\n "),i.Yb(),i.Nc(13,"\n "),i.Yb(),i.Nc(14,"\n "),i.Yb(),i.Nc(15,"\n "))},encapsulation:2,changeDetection:0}),e}(),cm=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Wr.f,Es.a,Fp]]}),e}(),um=["*"];function lm(e,t){if(1&e&&(i.Zb(0,"div",4),i.Ub(1,"nz-embed-empty",5),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("specificContent",n.notFoundContent)}}function pm(e,t){if(1&e&&i.Ub(0,"nz-option-item-group",9),2&e){var n=i.kc().$implicit;i.sc("nzLabel",n.groupLabel)}}function hm(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-option-item",10),i.hc("itemHover",(function(e){return i.Dc(n),i.kc(2).onItemHover(e)}))("itemClick",(function(e){return i.Dc(n),i.kc(2).onItemClick(e)})),i.Yb()}if(2&e){var r=i.kc().$implicit,o=i.kc();i.sc("icon",o.menuItemSelectedIcon)("customContent",r.nzCustomContent)("template",r.template)("grouped",!!r.groupLabel)("disabled",r.nzDisabled)("showState","tags"===o.mode||"multiple"===o.mode)("label",r.nzLabel)("compareWith",o.compareWith)("activatedValue",o.activatedValue)("listOfSelectedValue",o.listOfSelectedValue)("value",r.nzValue)}}function dm(e,t){if(1&e&&(i.Xb(0),i.Xb(1,6),i.Lc(2,pm,1,1,"nz-option-item-group",7),i.Lc(3,hm,1,11,"nz-option-item",8),i.Wb(),i.Wb()),2&e){var n=t.$implicit;i.Db(1),i.sc("ngSwitch",n.type),i.Db(1),i.sc("ngSwitchCase","group"),i.Db(1),i.sc("ngSwitchCase","item")}}function fm(e,t){}function gm(e,t){1&e&&(i.Nc(0,"\n "),i.qc(1),i.Nc(2,"\n "))}var bm=["inputElement"],mm=["mirrorElement"];function vm(e,t){1&e&&i.Ub(0,"span",3,4)}function ym(e,t){if(1&e&&i.Ub(0,"nz-select-item",6),2&e){var n=i.kc(2);i.sc("deletable",!1)("disabled",!1)("removeIcon",n.removeIcon)("label",n.listOfTopItem[0].nzLabel)("contentTemplateOutlet",n.customTemplate)("contentTemplateOutletContext",n.listOfTopItem[0])}}function wm(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Lc(1,ym,1,6,"nz-select-item",4),i.Zb(2,"nz-select-search",5),i.hc("isComposingChange",(function(e){return i.Dc(n),i.kc().isComposingChange(e)}))("valueChange",(function(e){return i.Dc(n),i.kc().onInputValueChange(e)})),i.Yb(),i.Wb()}if(2&e){var r=i.kc();i.Db(1),i.sc("ngIf",r.isShowSingleLabel),i.Db(1),i.sc("disabled",r.disabled)("value",r.inputValue)("showInput",r.open&&r.showSearch)("mirrorSync",!1)("autofocus",r.autofocus)("focusTrigger",r.open)}}function Om(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-select-item",9),i.hc("@zoomMotion.done",(function(){return i.Dc(n),i.kc(2).onAnimationEnd()}))("delete",(function(){i.Dc(n);var e=t.$implicit;return i.kc(2).onDeleteItem(e.contentTemplateOutletContext)})),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc(2);i.sc("@zoomMotion",void 0)("@.disabled",null==o.noAnimation?null:o.noAnimation.nzNoAnimation)("nzNoAnimation",null==o.noAnimation?null:o.noAnimation.nzNoAnimation)("removeIcon",o.removeIcon)("label",r.nzLabel)("disabled",r.nzDisabled||o.disabled)("contentTemplateOutlet",r.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",r.contentTemplateOutletContext)}}function Cm(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Lc(1,Om,1,9,"nz-select-item",7),i.Zb(2,"nz-select-search",8),i.hc("isComposingChange",(function(e){return i.Dc(n),i.kc().isComposingChange(e)}))("valueChange",(function(e){return i.Dc(n),i.kc().onInputValueChange(e)})),i.Yb(),i.Wb()}if(2&e){var r=i.kc();i.Db(1),i.sc("ngForOf",r.listOfSlicedItem)("ngForTrackBy",r.trackValue),i.Db(1),i.sc("disabled",r.disabled)("value",r.inputValue)("autofocus",r.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",r.open)}}function Sm(e,t){if(1&e&&i.Ub(0,"nz-select-placeholder",10),2&e){var n=i.kc();i.sc("placeholder",n.placeHolder)}}function zm(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-select-clear",5),i.hc("clear",(function(){return i.Dc(n),i.kc().onClearSelection()})),i.Yb()}if(2&e){var r=i.kc();i.sc("clearIcon",r.nzClearIcon)}}function Tm(e,t){if(1&e&&i.Ub(0,"nz-select-arrow",6),2&e){var n=i.kc();i.sc("loading",n.nzLoading)("search",n.nzOpen&&n.nzShowSearch)("suffixIcon",n.nzSuffixIcon)}}function _m(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-option-container",7),i.hc("keydown",(function(e){return i.Dc(n),i.kc().onKeyDown(e)}))("itemClick",(function(e){return i.Dc(n),i.kc().onItemClick(e)}))("scrollToBottom",(function(){return i.Dc(n),i.kc().nzScrollToBottom.emit()})),i.Yb()}if(2&e){var r=i.kc();i.Jb("ant-select-dropdown-placement-bottomLeft","bottom"===r.dropDownPosition)("ant-select-dropdown-placement-topLeft","top"===r.dropDownPosition),i.sc("ngStyle",r.nzDropdownStyle)("itemSize",r.nzOptionHeightPx)("maxItemLength",r.nzOptionOverflowSize)("matchWidth",r.nzDropdownMatchSelectWidth)("@slideMotion",r.dropDownPosition)("@.disabled",null==r.noAnimation?null:r.noAnimation.nzNoAnimation)("nzNoAnimation",null==r.noAnimation?null:r.noAnimation.nzNoAnimation)("listOfContainerItem",r.listOfContainerItem)("menuItemSelectedIcon",r.nzMenuItemSelectedIcon)("notFoundContent",r.nzNotFoundContent)("activatedValue",r.activatedValue)("listOfSelectedValue",r.listOfValue)("dropdownRender",r.nzDropdownRender)("compareWith",r.compareWith)("mode",r.nzMode)}}function km(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.nzLabel)}}function Dm(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.label)}}function xm(e,t){1&e&&i.Ub(0,"i",5)}function Em(e,t){if(1&e&&(i.Zb(0,"div",3),i.Nc(1,"\n "),i.Lc(2,xm,1,0,"i",4),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("ngIf",!n.icon)("ngIfElse",n.icon)}}function Nm(e,t){1&e&&i.Ub(0,"i",2)}function jm(e,t){1&e&&i.Ub(0,"i",7)}function Im(e,t){1&e&&i.Ub(0,"i",8)}function Am(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,jm,1,0,"i",5),i.Nc(3,"\n "),i.Lc(4,Im,1,0,"i",6),i.Nc(5,"\n "),i.Wb()),2&e){var n=i.kc(2);i.Db(2),i.sc("ngIf",!n.search),i.Db(2),i.sc("ngIf",n.search)}}function Mm(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"i",10),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.sc("nzType",n)}}function Lm(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,Mm,4,1,"ng-container",9),i.Nc(2,"\n ")),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.suffixIcon)}}function Pm(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,Am,6,2,"ng-container",3),i.Nc(2,"\n "),i.Lc(3,Lm,3,1,"ng-template",null,4,i.Mc),i.Nc(5,"\n ")),2&e){var n=i.Ac(4),r=i.kc();i.Db(1),i.sc("ngIf",!r.suffixIcon)("ngIfElse",n)}}function Fm(e,t){1&e&&i.Ub(0,"i",1)}function Rm(e,t){if(1&e&&(i.Zb(0,"div",4),i.Nc(1),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.label)}}function Vm(e,t){if(1&e&&i.Nc(0),2&e){var n=i.kc(2);i.Oc(n.label)}}function Bm(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,Rm,2,1,"div",2),i.Nc(3,"\n "),i.Lc(4,Vm,1,1,"ng-template",null,3,i.Mc),i.Nc(6,"\n "),i.Wb()),2&e){var n=i.Ac(5),r=i.kc();i.Db(2),i.sc("ngIf",r.deletable)("ngIfElse",n)}}function Ym(e,t){1&e&&i.Ub(0,"i",7)}function Um(e,t){if(1&e){var n=i.ac();i.Zb(0,"span",5),i.hc("click",(function(e){return i.Dc(n),i.kc().onDelete(e)})),i.Nc(1,"\n "),i.Lc(2,Ym,1,0,"i",6),i.Nc(3,"\n "),i.Yb()}if(2&e){var r=i.kc();i.Db(2),i.sc("ngIf",!r.removeIcon)("ngIfElse",r.removeIcon)}}var Hm=function(e){return{$implicit:e}};function Wm(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Pc("\n ",n.placeholder,"\n ")}}var qm=function(){function e(){this.nzLabel=null,this.changes=new kt.a}return e.prototype.ngOnChanges=function(){this.changes.next()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[i.Bb],ngContentSelectors:um,decls:3,vars:0,template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.qc(1),i.Nc(2,"\n "))},encapsulation:2,changeDetection:0}),e}(),Zm=function(){function e(){this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new i.n,this.scrollToBottom=new i.n,this.scrolledIndex=0}return e.prototype.onItemClick=function(e){this.itemClick.emit(e)},e.prototype.onItemHover=function(e){this.activatedValue=e},e.prototype.trackValue=function(e,t){return t.key},e.prototype.onScrolledIndexChange=function(e){this.scrolledIndex=e,e===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()},e.prototype.scrollToActivatedValue=function(){var e=this,t=this.listOfContainerItem.findIndex((function(t){return e.compareWith(t.key,e.activatedValue)}));(t=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(t||0)},e.prototype.ngOnChanges=function(e){(e.listOfContainerItem||e.activatedValue)&&this.scrollToActivatedValue()},e.prototype.ngAfterViewInit=function(){var e=this;setTimeout((function(){return e.scrollToActivatedValue()}))},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-option-container"]],viewQuery:function(e,t){var n;1&e&&i.Jc(Rb.c,!0),2&e&&i.zc(n=i.ic())&&(t.cdkVirtualScrollViewport=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-select-dropdown",!0)},inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem",compareWith:"compareWith"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[i.Bb],decls:5,vars:13,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(e,t){1&e&&(i.Zb(0,"div"),i.Lc(1,lm,2,1,"div",0),i.Zb(2,"cdk-virtual-scroll-viewport",1),i.hc("scrolledIndexChange",(function(e){return t.onScrolledIndexChange(e)})),i.Lc(3,dm,4,3,"ng-container",2),i.Yb(),i.Lc(4,fm,0,0,"ng-template",3),i.Yb()),2&e&&(i.Db(1),i.sc("ngIf",0===t.listOfContainerItem.length),i.Db(1),i.Kc("height",t.listOfContainerItem.length*t.itemSize,"px")("max-height",t.itemSize*t.maxItemLength,"px"),i.Jb("full-width",!t.matchWidth),i.sc("itemSize",t.itemSize)("maxBufferPx",t.itemSize*t.maxItemLength)("minBufferPx",t.itemSize*t.maxItemLength),i.Db(1),i.sc("cdkVirtualForOf",t.listOfContainerItem)("cdkVirtualForTrackBy",t.trackValue),i.Db(1),i.sc("ngTemplateOutlet",t.dropdownRender))},directives:function(){return[Vr.t,Rb.c,Rb.a,Rb.b,Vr.A,im,Vr.x,Vr.y,Jm,ev]},encapsulation:2,changeDetection:0}),e}(),$m=function(){function e(e){this.nzOptionGroupComponent=e,this.destroy$=new kt.a,this.changes=new kt.a,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}return e.prototype.ngOnInit=function(){var e=this;this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe(Object(Ka.a)(!0),Object(ss.a)(this.destroy$)).subscribe((function(){e.groupLabel=e.nzOptionGroupComponent.nzLabel}))},e.prototype.ngOnChanges=function(){this.changes.next()},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzHide",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzCustomContent",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(qm,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-option"]],viewQuery:function(e,t){var n;1&e&&i.Jc(i.M,!0),2&e&&i.zc(n=i.ic())&&(t.template=n.first)},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[i.Bb],ngContentSelectors:um,decls:3,vars:0,template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Lc(1,gm,3,0,"ng-template"),i.Nc(2,"\n "))},encapsulation:2,changeDetection:0}),e}(),Gm=function(){function e(e,t,n){this.elementRef=e,this.renderer=t,this.focusMonitor=n,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new i.n,this.isComposingChange=new i.n}return e.prototype.setCompositionState=function(e){this.isComposingChange.next(e)},e.prototype.onValueChange=function(e){this.inputElement.nativeElement.value=e,this.value=e,this.valueChange.next(e),this.mirrorSync&&this.syncMirrorWidth()},e.prototype.clearInputValue=function(){this.onValueChange("")},e.prototype.syncMirrorWidth=function(){var e=this.mirrorElement.nativeElement,t=this.elementRef.nativeElement,n=this.inputElement.nativeElement;this.renderer.removeStyle(t,"width"),e.innerHTML=n.value+" ",this.renderer.setStyle(t,"width",e.scrollWidth+"px")},e.prototype.focus=function(){this.focusMonitor.focusVia(this.inputElement,"keyboard")},e.prototype.blur=function(){this.inputElement.nativeElement.blur()},e.prototype.ngOnChanges=function(e){var t=this.inputElement.nativeElement,n=e.focusTrigger,i=e.showInput;n&&!0===n.currentValue&&!1===n.previousValue&&t.focus(),i&&(this.showInput?this.renderer.removeAttribute(t,"readonly"):this.renderer.setAttribute(t,"readonly","readonly"))},e.prototype.ngAfterViewInit=function(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E),i.Tb(yo))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-select-search"]],viewQuery:function(e,t){var n;1&e&&(i.Jc(bm,!0),i.Sc(mm,!0)),2&e&&(i.zc(n=i.ic())&&(t.inputElement=n.first),i.zc(n=i.ic())&&(t.mirrorElement=n.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-select-selection-search",!0)},inputs:{disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[i.Bb],decls:6,vars:6,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"input",0,1),i.hc("ngModelChange",(function(e){return t.onValueChange(e)}))("compositionstart",(function(){return t.setCompositionState(!0)}))("compositionend",(function(){return t.setCompositionState(!1)})),i.Yb(),i.Nc(3,"\n "),i.Lc(4,vm,2,0,"span",2),i.Nc(5,"\n ")),2&e&&(i.Db(1),i.Kc("opacity",t.showInput?null:0),i.sc("ngModel",t.value)("disabled",t.disabled),i.Eb("autofocus",t.autofocus?"autofocus":null),i.Db(3),i.sc("ngIf",t.mirrorSync))},directives:[Ot.e,Ot.o,Ot.r,Vr.t],encapsulation:2,changeDetection:0}),e}(),Qm=function(){function e(e){this.noAnimation=e,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new i.n,this.inputValueChange=new i.n,this.animationEnd=new i.n,this.deleteItem=new i.n,this.openChange=new i.n,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null}return e.prototype.onHostClick=function(){this.disabled||this.openChange.next(!this.open)},e.prototype.onHostKeydown=function(e){e.keyCode===Zr.b&&"default"!==this.mode&&!e.target.value&&this.listOfTopItem.length>0&&(e.preventDefault(),this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1]))},e.prototype.updateTemplateVariable=function(){var e=0===this.listOfTopItem.length;this.isShowPlaceholder=e&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!e&&!this.isComposing&&!this.inputValue},e.prototype.isComposingChange=function(e){this.isComposing=e,this.updateTemplateVariable()},e.prototype.onInputValueChange=function(e){e!==this.inputValue&&(this.inputValue=e,this.updateTemplateVariable(),this.inputValueChange.emit(e),this.tokenSeparate(e,this.tokenSeparators))},e.prototype.tokenSeparate=function(e,t){var n,i,r;if(e&&e.length&&t.length&&"default"!==this.mode&&function(e,t){for(var n=0;n0)return!0;return!1}(e,t)){var o=(n=e,i=new RegExp("["+t.join()+"]"),r=n.split(i).filter((function(e){return e})),Object(zt.g)(new Set(r)));this.tokenize.next(o)}},e.prototype.clearInputValue=function(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()},e.prototype.focus=function(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()},e.prototype.blur=function(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()},e.prototype.trackValue=function(e,t){return t.nzValue},e.prototype.onDeleteItem=function(e){this.disabled||e.nzDisabled||this.deleteItem.next(e)},e.prototype.onAnimationEnd=function(){this.animationEnd.next()},e.prototype.ngOnChanges=function(e){var t=this,n=e.listOfTopItem,i=e.maxTagCount,r=e.customTemplate,o=e.maxTagPlaceholder;if(n&&this.updateTemplateVariable(),n||i||r||o){var a=this.listOfTopItem.slice(0,this.maxTagCount).map((function(e){return{nzLabel:e.nzLabel,nzValue:e.nzValue,nzDisabled:e.nzDisabled,contentTemplateOutlet:t.customTemplate,contentTemplateOutletContext:e}}));if(this.listOfTopItem.length>this.maxTagCount){var s="+ "+(this.listOfTopItem.length-this.maxTagCount)+" ...",c=this.listOfTopItem.map((function(e){return e.nzValue})),u={nzLabel:s,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:c.slice(this.maxTagCount)};a.push(u)}this.listOfSlicedItem=a}},e.\u0275fac=function(t){return new(t||e)(i.Tb(ac.a,9))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-select-top-control"]],viewQuery:function(e,t){var n;1&e&&i.Sc(Gm,!0),2&e&&i.zc(n=i.ic())&&(t.nzSelectSearchComponent=n.first)},hostVars:2,hostBindings:function(e,t){1&e&&i.hc("click",(function(){return t.onHostClick()}))("keydown",(function(e){return t.onHostKeydown(e)})),2&e&&i.Jb("ant-select-selector",!0)},inputs:{showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",animationEnd:"animationEnd",deleteItem:"deleteItem",openChange:"openChange"},exportAs:["nzSelectTopControl"],features:[i.Bb],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"nzNoAnimation","removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"nzNoAnimation","removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(e,t){1&e&&(i.Xb(0,0),i.Lc(1,wm,3,7,"ng-container",1),i.Lc(2,Cm,3,8,"ng-container",2),i.Wb(),i.Lc(3,Sm,1,1,"nz-select-placeholder",3)),2&e&&(i.sc("ngSwitch",t.mode),i.Db(1),i.sc("ngSwitchCase","default"),i.Db(2),i.sc("ngIf",t.isShowPlaceholder))},directives:function(){return[Vr.x,Vr.y,Vr.z,Vr.t,Gm,iv,Vr.s,ac.a,Hd.a,rv]},encapsulation:2,data:{animation:[xs.k]},changeDetection:0}),e}(),Xm=function(e,t){return!(!t||!t.nzLabel)&&t.nzLabel.toLowerCase().indexOf(e.toLowerCase())>-1},Km=function(){function e(e,t,n,r,o,a){this.nzConfigService=e,this.cdr=t,this.elementRef=n,this.platform=r,this.focusMonitor=o,this.noAnimation=a,this.nzSize="default",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzShowArrow=!0,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=Xm,this.compareWith=function(e,t){return e===t},this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzOptions=[],this.nzOnSearch=new i.n,this.nzScrollToBottom=new i.n,this.nzOpenChange=new i.n,this.nzBlur=new i.n,this.nzFocus=new i.n,this.listOfValue$=new qu.a([]),this.listOfTemplateItem$=new qu.a([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.destroy$=new kt.a,this.onChange=function(){},this.onTouched=function(){},this.dropDownPosition="bottom",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[]}return e.prototype.generateTagItem=function(e){return{nzValue:e,nzLabel:e,type:"item"}},e.prototype.onItemClick=function(e){var t=this;if(this.activatedValue=e,"default"===this.nzMode)0!==this.listOfValue.length&&this.compareWith(this.listOfValue[0],e)||this.updateListOfValue([e]),this.setOpenState(!1);else{var n=this.listOfValue.findIndex((function(n){return t.compareWith(n,e)}));if(-1!==n){var i=this.listOfValue.filter((function(e,t){return t!==n}));this.updateListOfValue(i)}else if(this.listOfValue.length0?t[0]:null:t);this.value!==n&&(this.listOfValue=e,this.listOfValue$.next(e),this.value=n,this.onChange(this.value))},e.prototype.onTokenSeparate=function(e){var t=this,n=this.listOfTagAndTemplateItem.filter((function(t){return-1!==e.findIndex((function(e){return e===t.nzLabel}))})).map((function(e){return e.nzValue})).filter((function(e){return-1===t.listOfValue.findIndex((function(n){return t.compareWith(n,e)}))}));if("multiple"===this.nzMode)this.updateListOfValue(Object(zt.g)(this.listOfValue,n));else if("tags"===this.nzMode){var i=e.filter((function(e){return-1===t.listOfTagAndTemplateItem.findIndex((function(t){return t.nzLabel===e}))}));this.updateListOfValue(Object(zt.g)(this.listOfValue,n,i))}this.clearInput()},e.prototype.onKeyDown=function(e){var t=this;if(!this.nzDisabled){var n=this.listOfContainerItem.filter((function(e){return"item"===e.type})).filter((function(e){return!e.nzDisabled})),i=n.findIndex((function(e){return t.compareWith(e.nzValue,t.activatedValue)}));switch(e.keyCode){case Zr.k:e.preventDefault(),this.nzOpen&&(this.activatedValue=n[i>0?i-1:n.length-1].nzValue);break;case Zr.c:e.preventDefault(),this.nzOpen?this.activatedValue=n[i2&&(t===this.maxIndex?this.prepareVerticalContext(!0):0===t&&this.prepareVerticalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform","translate3d(0, "+(-t*this.unitHeight+e.x)+"px, 0)")):(!this.isDragging&&this.length>2&&(t===this.maxIndex?this.prepareHorizontalContext(!0):0===t&&this.prepareHorizontalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform","translate3d("+(-t*this.unitWidth+e.x)+"px, 0, 0)")),this.isDragging=!0}},t.prototype.verticalTransform=function(e,t){var n=this.getFromToInBoundary(e,t),i=n.to;this.length>2&&t!==i?(this.prepareVerticalContext(i2&&t!==i?(this.prepareHorizontalContext(iu.gestureRect.width/3?u.goTo(e>0?u.activeIndex-1:u.activeIndex+1):u.goTo(u.activeIndex),u.gestureRect=null,u.pointerDelta=null}u.isDragging=!1})))},this.nzDotPosition="bottom",this.renderer.addClass(e.nativeElement,"ant-carousel"),this.el=e.nativeElement}return Object.defineProperty(e.prototype,"nzDotPosition",{get:function(){return this._dotPosition},set:function(e){this._dotPosition=e,this.vertical="left"===e||"right"===e},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this.markContentActive(0)},e.prototype.ngAfterViewInit=function(){var e=this;this.platform.isBrowser&&(this.slickListEl=this.slickList.nativeElement,this.slickTrackEl=this.slickTrack.nativeElement,this.carouselContents.changes.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.markContentActive(0),e.syncStrategy()})),this.resizeService.subscribe().pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.syncStrategy()})),this.switchStrategy(),this.markContentActive(0),this.syncStrategy(),Promise.resolve().then((function(){e.syncStrategy()})))},e.prototype.ngOnChanges=function(e){var t=e.nzEffect,n=e.nzDotPosition;t&&!t.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.syncStrategy()),n&&!n.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.syncStrategy()),this.nzAutoPlay&&this.nzAutoPlaySpeed?this.scheduleNextTransition():this.clearScheduledTransition()},e.prototype.ngOnDestroy=function(){this.clearScheduledTransition(),this.strategy&&this.strategy.dispose(),this.destroy$.next(),this.destroy$.complete()},e.prototype.onKeyDown=function(e){e.keyCode===Zr.f?(e.preventDefault(),this.pre()):e.keyCode===Zr.h&&(this.next(),e.preventDefault())},e.prototype.next=function(){this.goTo(this.activeIndex+1)},e.prototype.pre=function(){this.goTo(this.activeIndex-1)},e.prototype.goTo=function(e){var t=this;if(this.carouselContents&&this.carouselContents.length&&!this.isTransiting){var n=this.carouselContents.length,i=this.activeIndex,r=(e+n)%n;this.isTransiting=!0,this.nzBeforeChange.emit({from:i,to:r}),this.strategy.switch(this.activeIndex,e).subscribe((function(){t.scheduleNextTransition(),t.nzAfterChange.emit(e),t.isTransiting=!1})),this.markContentActive(r),this.cdr.markForCheck()}},e.prototype.switchStrategy=function(){var e=this;this.strategy&&this.strategy.dispose();var t=this.customStrategies?this.customStrategies.find((function(t){return t.name===e.nzEffect})):null;this.strategy=t?new t.strategy(this,this.cdr,this.renderer):"scrollx"===this.nzEffect?new sy(this,this.cdr,this.renderer):new ay(this,this.cdr,this.renderer)},e.prototype.scheduleNextTransition=function(){var e=this;this.clearScheduledTransition(),this.nzAutoPlay&&this.nzAutoPlaySpeed>0&&this.platform.isBrowser&&(this.transitionInProgress=setTimeout((function(){e.goTo(e.activeIndex+1)}),this.nzAutoPlaySpeed))},e.prototype.clearScheduledTransition=function(){this.transitionInProgress&&(clearTimeout(this.transitionInProgress),this.transitionInProgress=null)},e.prototype.markContentActive=function(e){this.activeIndex=e,this.carouselContents&&this.carouselContents.forEach((function(t,n){t.isActive=e===n})),this.cdr.markForCheck()},e.prototype.syncStrategy=function(){this.strategy&&this.strategy.withCarouselContents(this.carouselContents)},Object(zt.b)([Object(Qa.b)("carousel"),Object(zt.d)("design:type",String)],e.prototype,"nzEffect",void 0),Object(zt.b)([Object(Qa.b)("carousel"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzEnableSwipe",void 0),Object(zt.b)([Object(Qa.b)("carousel"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzDots",void 0),Object(zt.b)([Object(Qa.b)("carousel"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzAutoPlay",void 0),Object(zt.b)([Object(Qa.b)("carousel"),Object(es.b)(),Object(zt.d)("design:type",Number)],e.prototype,"nzAutoPlaySpeed",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzTransitionSpeed",void 0),Object(zt.b)([Object(Qa.b)("carousel"),Object(zt.d)("design:type",String),Object(zt.d)("design:paramtypes",[String])],e.prototype,"nzDotPosition",null),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(Qa.a),i.Tb(i.E),i.Tb(i.h),i.Tb(Xr.a),i.Tb(ds),i.Tb(fs),i.Tb(cy,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-carousel"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,ry,!1),2&e&&i.zc(r=i.ic())&&(t.carouselContents=r)},viewQuery:function(e,t){var n;1&e&&(i.Sc(Qv,!0),i.Sc(Xv,!0)),2&e&&(i.zc(n=i.ic())&&(t.slickList=n.first),i.zc(n=i.ic())&&(t.slickTrack=n.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-carousel-vertical",t.vertical)},inputs:{nzEffect:"nzEffect",nzEnableSwipe:"nzEnableSwipe",nzDots:"nzDots",nzAutoPlay:"nzAutoPlay",nzAutoPlaySpeed:"nzAutoPlaySpeed",nzTransitionSpeed:"nzTransitionSpeed",nzDotPosition:"nzDotPosition",nzDotRender:"nzDotRender"},outputs:{nzBeforeChange:"nzBeforeChange",nzAfterChange:"nzAfterChange"},exportAs:["nzCarousel"],features:[i.Bb],ngContentSelectors:iy,decls:9,vars:3,consts:[[1,"slick-initialized","slick-slider"],["tabindex","-1",1,"slick-list",3,"keydown","mousedown","touchstart"],["slickList",""],[1,"slick-track"],["slickTrack",""],["class","slick-dots",3,"slick-dots-top","slick-dots-bottom","slick-dots-left","slick-dots-right",4,"ngIf"],["renderDotTemplate",""],[1,"slick-dots"],[3,"slick-active","click",4,"ngFor","ngForOf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"div",0),i.Zb(1,"div",1,2),i.hc("keydown",(function(e){return t.onKeyDown(e)}))("mousedown",(function(e){return t.pointerDown(e)}))("touchstart",(function(e){return t.pointerDown(e)})),i.Zb(3,"div",3,4),i.qc(5),i.Yb(),i.Yb(),i.Lc(6,ty,2,9,"ul",5),i.Yb(),i.Lc(7,ny,2,1,"ng-template",null,6,i.Mc)),2&e&&(i.Jb("slick-vertical","left"===t.nzDotPosition||"right"===t.nzDotPosition),i.Db(6),i.sc("ngIf",t.nzDots))},directives:[Vr.t,Vr.s,Vr.A],encapsulation:2,changeDetection:0}),e}(),ly=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Xr.b]]}),e}(),py=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hy=/([^\#-~ |!])/g,dy=function(){function e(){this.UNIQUE_WRAPPERS=["##==-open_tag-==##","##==-close_tag-==##"]}return e.prototype.transform=function(e,t,n,i){if(!t)return e;var r=new RegExp(t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&"),n);return function(e){return e.replace(/&/g,"&").replace(py,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(hy,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}(e.replace(r,this.UNIQUE_WRAPPERS[0]+"$&"+this.UNIQUE_WRAPPERS[1])).replace(new RegExp(this.UNIQUE_WRAPPERS[0],"g"),i?'':"").replace(new RegExp(this.UNIQUE_WRAPPERS[1],"g"),"")},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Sb({name:"nzHighlight",type:e,pure:!0}),e}(),fy=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c]]}),e}(),gy=["nz-cascader-option",""];function by(e,t){}var my=function(e,t){return{$implicit:e,index:t}};function vy(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,by,0,0,"ng-template",3),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("ngTemplateOutlet",n.optionTemplate)("ngTemplateOutletContext",i.wc(2,my,n.option,n.columnIndex))}}function yy(e,t){if(1&e&&(i.Nc(0,"\n "),i.Ub(1,"span",4),i.lc(2,"nzHighlight"),i.Nc(3,"\n ")),2&e){var n=i.kc();i.Db(1),i.sc("innerHTML",i.pc(2,1,n.optionLabel,n.highlightText,"g","ant-cascader-menu-item-keyword"),i.Ec)}}function wy(e,t){if(1&e&&(i.Zb(0,"span",5),i.Nc(1,"\n "),i.Ub(2,"i",6),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzType",n.option.loading?"loading":"right")}}var Oy=["input"],Cy=["menu"];function Sy(e,t){if(1&e){var n=i.ac();i.Zb(0,"i",12),i.hc("click",(function(e){return i.Dc(n),i.kc(2).clearSelection(e)})),i.Yb()}}function zy(e,t){if(1&e&&i.Ub(0,"i",13),2&e){var n=i.kc(2);i.Jb("ant-cascader-picker-arrow-expand",n.menuVisible)}}function Ty(e,t){1&e&&i.Ub(0,"i",14)}function _y(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.labelRenderText)}}function ky(e,t){}function Dy(e,t){if(1&e&&i.Lc(0,ky,0,0,"ng-template",15),2&e){var n=i.kc(2);i.sc("ngTemplateOutlet",n.nzLabelRender)("ngTemplateOutletContext",n.labelRenderContext)}}function xy(e,t){if(1&e){var n=i.ac();i.Zb(0,"div"),i.Zb(1,"input",4,5),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc().inputValue=e}))("blur",(function(){return i.Dc(n),i.kc().handleInputBlur()}))("focus",(function(){return i.Dc(n),i.kc().handleInputFocus()}))("change",(function(e){return i.Dc(n),e.stopPropagation()})),i.Yb(),i.Lc(3,Sy,1,0,"i",6),i.Lc(4,zy,1,2,"i",7),i.Lc(5,Ty,1,0,"i",8),i.Zb(6,"span",9),i.Lc(7,_y,2,1,"ng-container",10),i.Lc(8,Dy,1,2,"ng-template",null,11,i.Mc),i.Yb(),i.Yb()}if(2&e){var r=i.Ac(9),o=i.kc();i.Db(1),i.Jb("ant-cascader-input-disabled",o.nzDisabled)("ant-cascader-input-lg","large"===o.nzSize)("ant-cascader-input-sm","small"===o.nzSize),i.sc("readonly",!o.nzShowSearch)("disabled",o.nzDisabled)("nzSize",o.nzSize)("ngModel",o.inputValue),i.Eb("autoComplete","off")("placeholder",o.showPlaceholder?o.nzPlaceHolder||(null==o.locale?null:o.locale.placeholder):null)("autofocus",o.nzAutoFocus?"autofocus":null),i.Db(2),i.sc("ngIf",o.clearIconVisible),i.Db(1),i.sc("ngIf",o.nzShowArrow&&!o.isLoading),i.Db(1),i.sc("ngIf",o.isLoading),i.Db(1),i.Jb("ant-cascader-show-search",!!o.nzShowSearch)("ant-focusd",!!o.nzShowSearch&&o.isFocused&&!o.inputValue),i.Db(1),i.sc("ngIf",!o.isLabelRenderTemplate)("ngIfElse",r)}}function Ey(e,t){if(1&e&&(i.Zb(0,"ul",20),i.Zb(1,"li",21),i.Ub(2,"nz-embed-empty",22),i.Yb(),i.Yb()),2&e){var n=i.kc(2);i.Kc("width",n.dropdownWidthStyle)("height",n.dropdownHeightStyle),i.Db(2),i.sc("nzComponentName","cascader")("specificContent",n.nzNotFoundContent)}}function Ny(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",26),i.hc("mouseenter",(function(e){i.Dc(n);var r=t.$implicit,o=i.kc().index;return i.kc(3).onOptionMouseEnter(r,o,e)}))("mouseleave",(function(e){i.Dc(n);var r=t.$implicit,o=i.kc().index;return i.kc(3).onOptionMouseLeave(r,o,e)}))("click",(function(e){i.Dc(n);var r=t.$implicit,o=i.kc().index;return i.kc(3).onOptionClick(r,o,e)})),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc().index,a=i.kc(3);i.sc("columnIndex",o)("nzLabelProperty",a.nzLabelProperty)("optionTemplate",a.nzOptionRender)("activated",a.isOptionActivated(r,o))("highlightText",a.inSearchingMode?a.inputValue:"")("option",r)}}function jy(e,t){if(1&e&&(i.Zb(0,"ul",24),i.Lc(1,Ny,1,6,"li",25),i.Yb()),2&e){var n=t.$implicit,r=i.kc(3);i.Kc("height",r.dropdownHeightStyle)("width",r.dropdownWidthStyle),i.sc("ngClass",r.menuColumnCls),i.Db(1),i.sc("ngForOf",n)}}function Iy(e,t){if(1&e&&i.Lc(0,jy,2,6,"ul",23),2&e){var n=i.kc(2);i.sc("ngForOf",n.cascaderService.columns)}}function Ay(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",16,17),i.hc("mouseleave",(function(e){return i.Dc(n),i.kc().onTriggerMouseLeave(e)})),i.Lc(2,Ey,3,6,"ul",18),i.Lc(3,Iy,1,1,"ng-template",null,19,i.Mc),i.Yb()}if(2&e){var r=i.Ac(4),o=i.kc();i.Jb("ant-cascader-menus-hidden",!o.menuVisible),i.sc("ngClass",o.menuCls)("ngStyle",o.nzMenuStyle)("@.disabled",null==o.noAnimation?null:o.noAnimation.nzNoAnimation)("nzNoAnimation",null==o.noAnimation?null:o.noAnimation.nzNoAnimation)("@slideMotion",o.dropDownPosition),i.Db(2),i.sc("ngIf",o.shouldShowEmpty)("ngIfElse",r)}}var My=["*"];function Ly(e){return"boolean"!=typeof e}var Py=function(){function e(e,t,n){this.cdr=e,this.optionTemplate=null,this.activated=!1,this.nzLabelProperty="label",n.addClass(t.nativeElement,"ant-cascader-menu-item")}return Object.defineProperty(e.prototype,"optionLabel",{get:function(){return this.option[this.nzLabelProperty]},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){this.cdr.markForCheck()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(i.l),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-cascader-option",""]],hostVars:7,hostBindings:function(e,t){2&e&&(i.Eb("title",t.option.title||t.optionLabel),i.Jb("ant-cascader-menu-item-active",t.activated)("ant-cascader-menu-item-expand",!t.option.isLeaf)("ant-cascader-menu-item-disabled",t.option.disabled))},inputs:{optionTemplate:"optionTemplate",activated:"activated",nzLabelProperty:"nzLabelProperty",option:"option",highlightText:"highlightText",columnIndex:"columnIndex"},exportAs:["nzCascaderOption"],attrs:gy,decls:8,vars:3,consts:[[4,"ngIf","ngIfElse"],["defaultOptionTemplate",""],["class","ant-cascader-menu-item-expand-icon",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[1,"ant-cascader-menu-item-expand-icon"],["nz-icon","",3,"nzType"]],template:function(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,vy,4,5,"ng-container",0),i.Nc(2,"\n "),i.Lc(3,yy,4,6,"ng-template",null,1,i.Mc),i.Nc(5,"\n "),i.Lc(6,wy,4,1,"span",2),i.Nc(7,"\n ")),2&e){var n=i.Ac(4);i.Db(1),i.sc("ngIf",t.optionTemplate)("ngIfElse",n),i.Db(5),i.sc("ngIf",!t.option.isLeaf||(null==t.option.children?null:t.option.children.length)||t.option.loading)}},directives:[Vr.t,Vr.A,Ns.a],pipes:[dy],encapsulation:2,changeDetection:0}),e}(),Fy=function(){function e(){this.activatedOptions=[],this.columns=[],this.inSearchingMode=!1,this.selectedOptions=[],this.values=[],this.$loading=new qu.a(!1),this.$redraw=new kt.a,this.$optionSelected=new kt.a,this.$quitSearching=new kt.a,this.columnsSnapshot=[[]],this.activatedOptionsSnapshot=[]}return Object.defineProperty(e.prototype,"nzOptions",{get:function(){return this.columns[0]},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.$redraw.complete(),this.$quitSearching.complete(),this.$optionSelected.complete(),this.$loading.complete()},e.prototype.syncOptions=function(e){var t=this;void 0===e&&(e=!1);var n=this.values,i=n&&n.length,r=n.length-1,o=function(e){var i=function(){var i,a=n[e];if(Object(es.p)(a)){var s=t.findOptionWithValue(e,n[e])||("object"==typeof a?a:((i={})[""+t.cascaderComponent.nzValueProperty]=a,i[""+t.cascaderComponent.nzLabelProperty]=a,i));t.setOptionActivated(s,e,!1,!1),e=0;t--)this.activatedOptions[t]||(this.activatedOptions[t]=this.activatedOptions[t+1].parent)},e.prototype.dropBehindActivatedOptions=function(e){this.activatedOptions=this.activatedOptions.splice(0,e+1)},e.prototype.dropBehindColumns=function(e){e0},e.prototype.findOptionWithValue=function(e,t){var n=this,i=this.columns[e];if(i){var r="object"==typeof t?this.getOptionValue(t):t;return i.find((function(e){return r===n.getOptionValue(e)}))}return null},e.prototype.prepareEmitValue=function(){var e=this;this.values=this.selectedOptions.map((function(t){return e.getOptionValue(t)}))},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Ry=function(e){return e.join(" / ")},Vy=function(){function e(e,t,n,r,o,a,s){this.cascaderService=e,this.i18nService=t,this.nzConfigService=n,this.cdr=r,this.noAnimation=s,this.nzOptionRender=null,this.nzShowInput=!0,this.nzShowArrow=!0,this.nzAllowClear=!0,this.nzAutoFocus=!1,this.nzChangeOnSelect=!1,this.nzDisabled=!1,this.nzExpandTrigger="click",this.nzValueProperty="value",this.nzLabelRender=null,this.nzLabelProperty="label",this.nzSize="default",this.nzShowSearch=!1,this.nzPlaceHolder="",this.nzMenuStyle=null,this.nzMouseEnterDelay=150,this.nzMouseLeaveDelay=150,this.nzTriggerAction=["click"],this.nzVisibleChange=new i.n,this.nzSelectionChange=new i.n,this.nzSelect=new i.n,this.nzClear=new i.n,this.shouldShowEmpty=!1,this.dropDownPosition="bottom",this.menuVisible=!1,this.isLoading=!1,this.labelRenderContext={},this.onChange=Function.prototype,this.onTouched=Function.prototype,this.positions=Object(zt.g)(Nu.a),this.dropdownHeightStyle="",this.isFocused=!1,this.destroy$=new kt.a,this.inputString="",this.isOpening=!1,this.delayMenuTimer=null,this.delaySelectTimer=null,this.el=o.nativeElement,this.cascaderService.withComponent(this),a.addClass(o.nativeElement,"ant-cascader"),a.addClass(o.nativeElement,"ant-cascader-picker")}return Object.defineProperty(e.prototype,"nzOptions",{get:function(){return this.cascaderService.nzOptions},set:function(e){this.cascaderService.withOptions(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inSearchingMode",{get:function(){return this.cascaderService.inSearchingMode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputValue",{get:function(){return this.inputString},set:function(e){this.inputString=e,this.toggleSearchingMode(!!e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"menuCls",{get:function(){var e;return(e={})[""+this.nzMenuClassName]=!!this.nzMenuClassName,e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"menuColumnCls",{get:function(){var e;return(e={})[""+this.nzColumnClassName]=!!this.nzColumnClassName,e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasInput",{get:function(){return!!this.inputValue},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasValue",{get:function(){return this.cascaderService.values&&this.cascaderService.values.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showPlaceholder",{get:function(){return!(this.hasInput||this.hasValue)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clearIconVisible",{get:function(){return this.nzAllowClear&&!this.nzDisabled&&(this.hasValue||this.hasInput)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLabelRenderTemplate",{get:function(){return!!this.nzLabelRender},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this,t=this.cascaderService;t.$redraw.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.checkChildren(),e.setDisplayLabel(),e.reposition(),e.setDropdownStyles(),e.cdr.markForCheck()})),t.$loading.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.isLoading=t})),t.$optionSelected.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){if(t){var n=t.option,i=t.index;n.isLeaf&&e.delaySetMenuVisible(!1),e.onChange(e.cascaderService.values),e.nzSelectionChange.emit(e.cascaderService.selectedOptions),e.nzSelect.emit({option:n,index:i}),e.cdr.markForCheck()}else e.onChange([]),e.nzSelect.emit(null),e.nzSelectionChange.emit([])})),t.$quitSearching.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.inputString="",e.dropdownWidthStyle=""})),this.i18nService.localeChange.pipe(Object(Ka.a)(),Object(ss.a)(this.destroy$)).subscribe((function(){e.setLocale()})),this.nzConfigService.getConfigChangeEventForComponent("cascader").pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.cdr.markForCheck()}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete(),this.clearDelayMenuTimer(),this.clearDelaySelectTimer()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.writeValue=function(e){this.cascaderService.values=Object(es.B)(e),this.cascaderService.syncOptions(!0)},e.prototype.delaySetMenuVisible=function(e,t,n){var i=this;void 0===t&&(t=100),void 0===n&&(n=!1),this.clearDelayMenuTimer(),t?(e&&n&&(this.isOpening=!0),this.delayMenuTimer=setTimeout((function(){i.setMenuVisible(e),i.cdr.detectChanges(),i.clearDelayMenuTimer(),e&&setTimeout((function(){i.isOpening=!1}),100)}),t)):this.setMenuVisible(e)},e.prototype.setMenuVisible=function(e){this.nzDisabled||this.menuVisible===e||(e&&this.cascaderService.syncOptions(),this.menuVisible=e,this.nzVisibleChange.emit(e),this.cdr.detectChanges())},e.prototype.clearDelayMenuTimer=function(){this.delayMenuTimer&&(clearTimeout(this.delayMenuTimer),this.delayMenuTimer=null)},e.prototype.clearSelection=function(e){e&&(e.preventDefault(),e.stopPropagation()),this.labelRenderText="",this.labelRenderContext={},this.inputValue="",this.setMenuVisible(!1),this.cascaderService.clear()},e.prototype.getSubmitValue=function(){var e=this;return this.cascaderService.selectedOptions.map((function(t){return e.cascaderService.getOptionValue(t)}))},e.prototype.focus=function(){this.isFocused||((this.input?this.input.nativeElement:this.el).focus(),this.isFocused=!0)},e.prototype.blur=function(){this.isFocused&&((this.input?this.input.nativeElement:this.el).blur(),this.isFocused=!1)},e.prototype.handleInputBlur=function(){this.menuVisible?this.focus():this.blur()},e.prototype.handleInputFocus=function(){this.focus()},e.prototype.onKeyDown=function(e){var t=e.keyCode;if(t===Zr.c||t===Zr.k||t===Zr.f||t===Zr.h||t===Zr.d||t===Zr.b||t===Zr.e)return this.menuVisible||t===Zr.b||t===Zr.e?void((!this.inSearchingMode||t!==Zr.b&&t!==Zr.f&&t!==Zr.h)&&this.menuVisible&&(e.preventDefault(),t===Zr.c?this.moveUpOrDown(!1):t===Zr.k?this.moveUpOrDown(!0):t===Zr.f?this.moveLeft():t===Zr.h?this.moveRight():t===Zr.d&&this.onEnter())):this.setMenuVisible(!0)},e.prototype.onTriggerClick=function(){this.nzDisabled||(this.nzShowSearch&&this.focus(),this.isActionTrigger("click")&&this.delaySetMenuVisible(!this.menuVisible,100),this.onTouched())},e.prototype.onTriggerMouseEnter=function(){!this.nzDisabled&&this.isActionTrigger("hover")&&this.delaySetMenuVisible(!0,this.nzMouseEnterDelay,!0)},e.prototype.onTriggerMouseLeave=function(e){if(!this.nzDisabled&&this.menuVisible&&!this.isOpening&&this.isActionTrigger("hover")){var t=e.relatedTarget,n=this.menu&&this.menu.nativeElement;this.el.contains(t)||n&&n.contains(t)||this.delaySetMenuVisible(!1,this.nzMouseLeaveDelay)}else e.preventDefault()},e.prototype.onOptionMouseEnter=function(e,t,n){n.preventDefault(),"hover"===this.nzExpandTrigger&&(e.isLeaf?this.cascaderService.setOptionDeactivatedSinceColumn(t):this.delaySetOptionActivated(e,t,!1))},e.prototype.onOptionMouseLeave=function(e,t,n){n.preventDefault(),"hover"!==this.nzExpandTrigger||e.isLeaf||this.clearDelaySelectTimer()},e.prototype.onOptionClick=function(e,t,n){n&&n.preventDefault(),e&&e.disabled||(this.el.focus(),this.inSearchingMode?this.cascaderService.setSearchOptionSelected(e):this.cascaderService.setOptionActivated(e,t,!0))},e.prototype.isActionTrigger=function(e){return"string"==typeof this.nzTriggerAction?this.nzTriggerAction===e:-1!==this.nzTriggerAction.indexOf(e)},e.prototype.onEnter=function(){var e=Math.max(this.cascaderService.activatedOptions.length-1,0),t=this.cascaderService.activatedOptions[e];t&&!t.disabled&&(this.inSearchingMode?this.cascaderService.setSearchOptionSelected(t):this.cascaderService.setOptionActivated(t,e,!0))},e.prototype.moveUpOrDown=function(e){var t=Math.max(this.cascaderService.activatedOptions.length-1,0),n=this.cascaderService.activatedOptions[t],i=this.cascaderService.columns[t]||[],r=i.length,o=-1;for(o=n?i.indexOf(n):e?r:-1;!((o=e?o-1:o+1)<0||o>=r);){var a=i[o];if(a&&!a.disabled){this.cascaderService.setOptionActivated(a,t);break}}},e.prototype.moveLeft=function(){var e=this.cascaderService.activatedOptions;e.length&&e.pop()},e.prototype.moveRight=function(){var e=this.cascaderService.activatedOptions.length,t=this.cascaderService.columns[e];if(t&&t.length){var n=t.find((function(e){return!e.disabled}));n&&this.cascaderService.setOptionActivated(n,e)}},e.prototype.clearDelaySelectTimer=function(){this.delaySelectTimer&&(clearTimeout(this.delaySelectTimer),this.delaySelectTimer=null)},e.prototype.delaySetOptionActivated=function(e,t,n){var i=this;this.clearDelaySelectTimer(),this.delaySelectTimer=setTimeout((function(){i.cascaderService.setOptionActivated(e,t,n),i.delaySelectTimer=null}),150)},e.prototype.toggleSearchingMode=function(e){this.inSearchingMode!==e&&this.cascaderService.toggleSearchingMode(e),this.inSearchingMode&&this.cascaderService.prepareSearchOptions(this.inputValue)},e.prototype.isOptionActivated=function(e,t){return this.cascaderService.activatedOptions[t]===e},e.prototype.setDisabledState=function(e){e&&this.closeMenu(),this.nzDisabled=e},e.prototype.closeMenu=function(){this.blur(),this.clearDelayMenuTimer(),this.setMenuVisible(!1)},e.prototype.onPositionChange=function(e){var t="bottom"===e.connectionPair.originY?"bottom":"top";this.dropDownPosition!==t&&(this.dropDownPosition=t,this.cdr.detectChanges())},e.prototype.reposition=function(){var e=this;this.overlay&&this.overlay.overlayRef&&this.menuVisible&&Promise.resolve().then((function(){e.overlay.overlayRef.updatePosition()}))},e.prototype.checkChildren=function(){this.cascaderItems&&this.cascaderItems.forEach((function(e){return e.markForCheck()}))},e.prototype.setDisplayLabel=function(){var e=this,t=this.cascaderService.selectedOptions,n=t.map((function(t){return e.cascaderService.getOptionLabel(t)}));this.isLabelRenderTemplate?this.labelRenderContext={labels:n,selectedOptions:t}:this.labelRenderText=Ry.call(this,n,t)},e.prototype.setDropdownStyles=function(){var e=this.cascaderService.columns[0];this.shouldShowEmpty=this.inSearchingMode&&(!e||!e.length)||!(this.nzOptions&&this.nzOptions.length)&&!this.nzLoadData,this.dropdownHeightStyle=this.shouldShowEmpty?"auto":"",this.input&&(this.dropdownWidthStyle=this.inSearchingMode||this.shouldShowEmpty?this.input.nativeElement.offsetWidth+"px":"")},e.prototype.setLocale=function(){this.locale=this.i18nService.getLocaleData("global"),this.cdr.markForCheck()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowInput",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowArrow",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAllowClear",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzChangeOnSelect",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(Qa.b)("cascader"),Object(zt.d)("design:type",String)],e.prototype,"nzSize",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Fy),i.Tb(Lp),i.Tb(Qa.a),i.Tb(i.h),i.Tb(i.l),i.Tb(i.E),i.Tb(ac.a,9))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-cascader"],["","nz-cascader",""]],viewQuery:function(e,t){var n;1&e&&(i.Sc(Oy,!0),i.Sc(Cy,!0),i.Sc(Ur.a,!0),i.Sc(Py,!0)),2&e&&(i.zc(n=i.ic())&&(t.input=n.first),i.zc(n=i.ic())&&(t.menu=n.first),i.zc(n=i.ic())&&(t.overlay=n.first),i.zc(n=i.ic())&&(t.cascaderItems=n))},hostVars:13,hostBindings:function(e,t){1&e&&i.hc("keydown",(function(e){return t.onKeyDown(e)}))("click",(function(){return t.onTriggerClick()}))("mouseenter",(function(){return t.onTriggerMouseEnter()}))("mouseleave",(function(e){return t.onTriggerMouseLeave(e)})),2&e&&(i.Eb("tabIndex","0"),i.Jb("ant-cascader-lg","large"===t.nzSize)("ant-cascader-sm","small"===t.nzSize)("ant-cascader-picker-disabled",t.nzDisabled)("ant-cascader-picker-open",t.menuVisible)("ant-cascader-picker-with-value",!!t.inputValue)("ant-cascader-focused",t.isFocused))},inputs:{nzOptionRender:"nzOptionRender",nzShowInput:"nzShowInput",nzShowArrow:"nzShowArrow",nzAllowClear:"nzAllowClear",nzAutoFocus:"nzAutoFocus",nzChangeOnSelect:"nzChangeOnSelect",nzDisabled:"nzDisabled",nzExpandTrigger:"nzExpandTrigger",nzValueProperty:"nzValueProperty",nzLabelRender:"nzLabelRender",nzLabelProperty:"nzLabelProperty",nzSize:"nzSize",nzShowSearch:"nzShowSearch",nzPlaceHolder:"nzPlaceHolder",nzMenuStyle:"nzMenuStyle",nzMouseEnterDelay:"nzMouseEnterDelay",nzMouseLeaveDelay:"nzMouseLeaveDelay",nzTriggerAction:"nzTriggerAction",nzOptions:"nzOptions",nzColumnClassName:"nzColumnClassName",nzNotFoundContent:"nzNotFoundContent",nzMenuClassName:"nzMenuClassName",nzChangeOn:"nzChangeOn",nzLoadData:"nzLoadData"},outputs:{nzVisibleChange:"nzVisibleChange",nzSelectionChange:"nzSelectionChange",nzSelect:"nzSelect",nzClear:"nzClear"},exportAs:["nzCascader"],features:[i.Cb([{provide:Ot.m,useExisting:Object(i.V)((function(){return e})),multi:!0},Fy])],ngContentSelectors:My,decls:6,vars:4,consts:[["cdkOverlayOrigin",""],["origin","cdkOverlayOrigin","trigger",""],[4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","","cdkConnectedOverlayHasBackdrop","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","backdropClick","detach","positionChange"],["nz-input","",1,"ant-cascader-input",3,"readonly","disabled","nzSize","ngModel","ngModelChange","blur","focus","change"],["input",""],["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-cascader-picker-clear",3,"click",4,"ngIf"],["nz-icon","","nzType","down","class","ant-cascader-picker-arrow",3,"ant-cascader-picker-arrow-expand",4,"ngIf"],["nz-icon","","nzType","loading","class","ant-cascader-picker-arrow",4,"ngIf"],[1,"ant-cascader-picker-label"],[4,"ngIf","ngIfElse"],["labelTemplate",""],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-cascader-picker-clear",3,"click"],["nz-icon","","nzType","down",1,"ant-cascader-picker-arrow"],["nz-icon","","nzType","loading",1,"ant-cascader-picker-arrow"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-cascader-menus",3,"ngClass","ngStyle","nzNoAnimation","mouseleave"],["menu",""],["class","ant-cascader-menu",3,"width","height",4,"ngIf","ngIfElse"],["hasOptionsTemplate",""],[1,"ant-cascader-menu"],[1,"ant-cascader-menu-item","ant-cascader-menu-item-expanded","ant-cascader-menu-item-disabled"],[3,"nzComponentName","specificContent"],["class","ant-cascader-menu",3,"ngClass","height","width",4,"ngFor","ngForOf"],[1,"ant-cascader-menu",3,"ngClass"],["nz-cascader-option","",3,"columnIndex","nzLabelProperty","optionTemplate","activated","highlightText","option","mouseenter","mouseleave","click",4,"ngFor","ngForOf"],["nz-cascader-option","",3,"columnIndex","nzLabelProperty","optionTemplate","activated","highlightText","option","mouseenter","mouseleave","click"]],template:function(e,t){if(1&e&&(i.rc(),i.Zb(0,"div",0,1),i.Lc(3,xy,10,22,"div",2),i.qc(4),i.Yb(),i.Lc(5,Ay,5,9,"ng-template",3),i.hc("backdropClick",(function(){return t.closeMenu()}))("detach",(function(){return t.closeMenu()}))("positionChange",(function(e){return t.onPositionChange(e)}))),2&e){var n=i.Ac(1);i.Db(3),i.sc("ngIf",t.nzShowInput),i.Db(2),i.sc("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayPositions",t.positions)("cdkConnectedOverlayOpen",t.menuVisible)}},directives:[Ur.b,Vr.t,Ur.a,Nu.e,Tc,Ot.e,Ot.o,Ot.r,Ns.a,Vr.A,Vr.q,Vr.w,ac.a,im,Vr.s,Py],encapsulation:2,data:{animation:[xs.g]},changeDetection:0}),e}(),By=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,Ur.i,Es.a,cm,fy,Ns.b,Ec,ac.b,Nu.f]]}),e}(),Yy=["*"],Uy=["inputElement"],Hy=["nz-checkbox",""];function Wy(e,t){if(1&e){var n=i.ac();i.Zb(0,"label",1),i.hc("nzCheckedChange",(function(e){i.Dc(n);var r=t.$implicit;return i.kc().onCheckedChange(r,e)})),i.Zb(1,"span"),i.Nc(2),i.Yb(),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc();i.sc("nzDisabled",r.disabled||o.nzDisabled)("nzChecked",r.checked),i.Db(2),i.Oc(r.label)}}var qy=function(){function e(e,t){this.nzOnChange=new i.n,this.checkboxList=[],e.addClass(t.nativeElement,"ant-checkbox-group")}return e.prototype.addCheckbox=function(e){this.checkboxList.push(e)},e.prototype.removeCheckbox=function(e){this.checkboxList.splice(this.checkboxList.indexOf(e),1)},e.prototype.onChange=function(){var e=this.checkboxList.filter((function(e){return e.nzChecked})).map((function(e){return e.nzValue}));this.nzOnChange.emit(e)},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.E),i.Tb(i.l))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-checkbox-wrapper"]],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:Yy,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),e}(),Zy=function(){function e(e,t,n,r){this.elementRef=e,this.nzCheckboxWrapperComponent=t,this.cdr=n,this.focusMonitor=r,this.onChange=function(){},this.onTouched=function(){},this.nzCheckedChange=new i.n,this.nzValue=null,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzChecked=!1}return e.prototype.hostClick=function(e){e.preventDefault(),this.focus(),this.innerCheckedChange(!this.nzChecked)},e.prototype.innerCheckedChange=function(e){this.nzDisabled||(this.nzChecked=e,this.onChange(this.nzChecked),this.nzCheckedChange.emit(this.nzChecked),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.onChange())},e.prototype.writeValue=function(e){this.nzChecked=e,this.cdr.markForCheck()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.nzDisabled=e,this.cdr.markForCheck()},e.prototype.focus=function(){this.focusMonitor.focusVia(this.inputElement,"keyboard")},e.prototype.blur=function(){this.inputElement.nativeElement.blur()},e.prototype.ngOnInit=function(){var e=this;this.focusMonitor.monitor(this.elementRef,!0).subscribe((function(t){t||Promise.resolve().then((function(){return e.onTouched()}))})),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.addCheckbox(this)},e.prototype.ngAfterViewInit=function(){this.nzAutoFocus&&this.focus()},e.prototype.ngOnDestroy=function(){this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.removeCheckbox(this)},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzIndeterminate",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzChecked",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(qy,8),i.Tb(i.h),i.Tb(yo))},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-checkbox",""]],viewQuery:function(e,t){var n;1&e&&i.Jc(Uy,!0),2&e&&i.zc(n=i.ic())&&(t.inputElement=n.first)},hostVars:4,hostBindings:function(e,t){1&e&&i.hc("click",(function(e){return t.hostClick(e)})),2&e&&i.Jb("ant-checkbox-wrapper",!0)("ant-checkbox-wrapper-checked",t.nzChecked)},inputs:{nzValue:"nzValue",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzChecked:"nzChecked"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[i.Cb([{provide:Ot.m,useExisting:Object(i.V)((function(){return e})),multi:!0}])],attrs:Hy,ngContentSelectors:Yy,decls:6,vars:10,consts:[[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"checked","ngModel","disabled","ngModelChange","click"],["inputElement",""],[1,"ant-checkbox-inner"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"span",0),i.Zb(1,"input",1,2),i.hc("ngModelChange",(function(e){return t.innerCheckedChange(e)}))("click",(function(e){return e.stopPropagation()})),i.Yb(),i.Ub(3,"span",3),i.Yb(),i.Zb(4,"span"),i.qc(5),i.Yb()),2&e&&(i.Jb("ant-checkbox-checked",t.nzChecked&&!t.nzIndeterminate)("ant-checkbox-disabled",t.nzDisabled)("ant-checkbox-indeterminate",t.nzIndeterminate),i.Db(1),i.sc("checked",t.nzChecked)("ngModel",t.nzChecked)("disabled",t.nzDisabled),i.Eb("autofocus",t.nzAutoFocus?"autofocus":null))},directives:[Ot.b,Ot.o,Ot.r],encapsulation:2,changeDetection:0}),e}(),$y=function(){function e(e,t,n){this.elementRef=e,this.focusMonitor=t,this.cdr=n,this.onChange=function(){},this.onTouched=function(){},this.options=[],this.nzDisabled=!1}return e.prototype.trackByOption=function(e,t){return t.value},e.prototype.onCheckedChange=function(e,t){e.checked=t,this.onChange(this.options)},e.prototype.ngOnInit=function(){var e=this;this.focusMonitor.monitor(this.elementRef,!0).subscribe((function(t){t||Promise.resolve().then((function(){return e.onTouched()}))}))},e.prototype.ngOnDestroy=function(){this.focusMonitor.stopMonitoring(this.elementRef)},e.prototype.writeValue=function(e){this.options=e,this.cdr.markForCheck()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.nzDisabled=e,this.cdr.markForCheck()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(yo),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-checkbox-group"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-checkbox-group",!0)},inputs:{nzDisabled:"nzDisabled"},exportAs:["nzCheckboxGroup"],features:[i.Cb([{provide:Ot.m,useExisting:Object(i.V)((function(){return e})),multi:!0}])],decls:1,vars:2,consts:[["nz-checkbox","","class","ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange",4,"ngFor","ngForOf","ngForTrackBy"],["nz-checkbox","",1,"ant-checkbox-group-item",3,"nzDisabled","nzChecked","nzCheckedChange"]],template:function(e,t){1&e&&i.Lc(0,Wy,3,3,"label",0),2&e&&i.sc("ngForOf",t.options)("ngForTrackBy",t.trackByOption)},directives:[Vr.s,Zy],encapsulation:2}),e}(),Gy=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,Co]]}),e}(),Qy=["*"];function Xy(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"i",6),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit,r=i.kc(2);i.Db(2),i.sc("nzType",n||"right")("nzRotate",r.nzActive?90:0)}}function Ky(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,Xy,4,2,"ng-container",2),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzExpandedIcon)}}function Jy(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.nzHeader)}}function ew(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzExtra)}}function tw(e,t){if(1&e&&(i.Zb(0,"div",7),i.Nc(1,"\n "),i.Lc(2,ew,2,1,"ng-container",2),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzExtra)}}var nw=function(){function e(e,t){var n=this;this.nzConfigService=e,this.cdr=t,this.nzAccordion=!1,this.nzBordered=!0,this.nzExpandIconPosition="left",this.listOfNzCollapsePanelComponent=[],this.destroy$=new kt.a,this.nzConfigService.getConfigChangeEventForComponent("collapse").pipe(Object(ss.a)(this.destroy$)).subscribe((function(){n.cdr.markForCheck()}))}return e.prototype.addPanel=function(e){this.listOfNzCollapsePanelComponent.push(e)},e.prototype.removePanel=function(e){this.listOfNzCollapsePanelComponent.splice(this.listOfNzCollapsePanelComponent.indexOf(e),1)},e.prototype.click=function(e){this.nzAccordion&&!e.nzActive&&this.listOfNzCollapsePanelComponent.filter((function(t){return t!==e})).forEach((function(e){e.nzActive&&(e.nzActive=!1,e.nzActiveChange.emit(e.nzActive),e.markForCheck())})),e.nzActive=!e.nzActive,e.nzActiveChange.emit(e.nzActive)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(Qa.b)("collapse"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzAccordion",void 0),Object(zt.b)([Object(Qa.b)("collapse"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzBordered",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-collapse"]],hostVars:8,hostBindings:function(e,t){2&e&&i.Jb("ant-collapse",!0)("ant-collapse-icon-position-left","left"===t.nzExpandIconPosition)("ant-collapse-icon-position-right","right"===t.nzExpandIconPosition)("ant-collapse-borderless",!t.nzBordered)},inputs:{nzAccordion:"nzAccordion",nzBordered:"nzBordered",nzExpandIconPosition:"nzExpandIconPosition"},exportAs:["nzCollapse"],ngContentSelectors:Qy,decls:3,vars:0,template:function(e,t){1&e&&(i.rc(),i.Nc(0," "),i.qc(1),i.Nc(2," "))},encapsulation:2,changeDetection:0}),e}(),iw=function(){function e(e,t,n){var r=this;this.nzConfigService=e,this.cdr=t,this.nzCollapseComponent=n,this.nzActive=!1,this.nzDisabled=!1,this.nzShowArrow=!0,this.nzActiveChange=new i.n,this.destroy$=new kt.a,this.nzConfigService.getConfigChangeEventForComponent("collapsePanel").pipe(Object(ss.a)(this.destroy$)).subscribe((function(){r.cdr.markForCheck()}))}return e.prototype.clickHeader=function(){this.nzDisabled||this.nzCollapseComponent.click(this)},e.prototype.markForCheck=function(){this.cdr.markForCheck()},e.prototype.ngOnInit=function(){this.nzCollapseComponent.addPanel(this)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete(),this.nzCollapseComponent.removePanel(this)},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzActive",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(Qa.b)("collapsePanel"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzShowArrow",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.h),i.Tb(nw,1))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-collapse-panel"]],hostVars:8,hostBindings:function(e,t){2&e&&i.Jb("ant-collapse-item",!0)("ant-collapse-no-arrow",!t.nzShowArrow)("ant-collapse-item-active",t.nzActive)("ant-collapse-item-disabled",t.nzDisabled)},inputs:{nzActive:"nzActive",nzDisabled:"nzDisabled",nzShowArrow:"nzShowArrow",nzExtra:"nzExtra",nzHeader:"nzHeader",nzExpandedIcon:"nzExpandedIcon"},outputs:{nzActiveChange:"nzActiveChange"},exportAs:["nzCollapsePanel"],ngContentSelectors:Qy,decls:18,vars:7,consts:[["role","tab",1,"ant-collapse-header",3,"click"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-collapse-extra",4,"ngIf"],[1,"ant-collapse-content"],[1,"ant-collapse-content-box"],["nz-icon","",1,"ant-collapse-arrow",3,"nzType","nzRotate"],[1,"ant-collapse-extra"]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Zb(1,"div",0),i.hc("click",(function(){return t.clickHeader()})),i.Nc(2,"\n "),i.Lc(3,Ky,4,1,"ng-container",1),i.Nc(4,"\n "),i.Lc(5,Jy,2,1,"ng-container",2),i.Nc(6,"\n "),i.Lc(7,tw,4,1,"div",3),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Zb(10,"div",4),i.Nc(11,"\n "),i.Zb(12,"div",5),i.Nc(13,"\n "),i.qc(14),i.Nc(15,"\n "),i.Yb(),i.Nc(16,"\n "),i.Yb(),i.Nc(17,"\n ")),2&e&&(i.Db(1),i.Eb("aria-expanded",t.nzActive),i.Db(2),i.sc("ngIf",t.nzShowArrow),i.Db(2),i.sc("nzStringTemplateOutlet",t.nzHeader),i.Db(2),i.sc("ngIf",t.nzExtra),i.Db(3),i.Jb("ant-collapse-content-active",t.nzActive),i.sc("@collapseMotion",t.nzActive?"expanded":"hidden"))},directives:[Vr.t,Es.b,Ns.a],encapsulation:2,data:{animation:[xs.a]},changeDetection:0}),e}(),rw=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ns.b,Es.a]]}),e}();function ow(e,t){1&e&&i.qc(0)}var aw=["*"];function sw(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzAuthor)}}function cw(e,t){if(1&e&&(i.Zb(0,"span",8),i.Nc(1,"\n "),i.Lc(2,sw,2,1,"ng-container",9),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzAuthor)}}function uw(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzDatetime)}}function lw(e,t){if(1&e&&(i.Zb(0,"span",10),i.Nc(1,"\n "),i.Lc(2,uw,2,1,"ng-container",9),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzDatetime)}}function pw(e,t){}function hw(e,t){if(1&e&&(i.Zb(0,"li"),i.Nc(1,"\n "),i.Zb(2,"span"),i.Lc(3,pw,0,0,"ng-template",13),i.Yb(),i.Nc(4,"\n "),i.Yb()),2&e){var n=t.$implicit;i.Db(3),i.sc("nzCommentActionHost",n.content)}}function dw(e,t){if(1&e&&(i.Zb(0,"ul",11),i.Nc(1,"\n "),i.Lc(2,hw,5,1,"li",12),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("ngForOf",n.actions)}}var fw=[[["nz-avatar","nz-comment-avatar",""]],[["nz-comment-content"]],"*"],gw=["nz-avatar[nz-comment-avatar]","nz-comment-content","*"],bw=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-avatar","nz-comment-avatar",""]],exportAs:["nzCommentAvatar"]}),e}(),mw=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-comment-content"],["","nz-comment-content",""]],hostAttrs:[1,"ant-comment-content-detail"],exportAs:["nzCommentContent"]}),e}(),vw=function(e){function t(t,n){return e.call(this,t,n)||this}return Object(zt.c)(t,e),t.prototype.ngOnInit=function(){e.prototype.ngOnInit.call(this)},t.prototype.ngOnDestroy=function(){e.prototype.ngOnDestroy.call(this)},t.prototype.ngAfterViewInit=function(){this.attach(this.nzCommentActionHost)},t.\u0275fac=function(e){return new(e||t)(i.Tb(i.j),i.Tb(i.Q))},t.\u0275dir=i.Ob({type:t,selectors:[["","nzCommentActionHost",""]],inputs:{nzCommentActionHost:"nzCommentActionHost"},exportAs:["nzCommentActionHost"],features:[i.Ab]}),t}(Wr.b),yw=function(){function e(e){this.viewContainerRef=e,this.contentPortal=null}return Object.defineProperty(e.prototype,"content",{get:function(){return this.contentPortal},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.contentPortal=new Wr.g(this.implicitContent,this.viewContainerRef)},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.Q))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-comment-action"]],viewQuery:function(e,t){var n;1&e&&i.Jc(i.M,!0),2&e&&i.zc(n=i.ic())&&(t.implicitContent=n.first)},exportAs:["nzCommentAction"],ngContentSelectors:aw,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.Lc(0,ow,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),e}(),ww=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-comment"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,yw,!1),2&e&&i.zc(r=i.ic())&&(t.actions=r)},hostAttrs:[1,"ant-comment"],inputs:{nzAuthor:"nzAuthor",nzDatetime:"nzDatetime"},exportAs:["nzComment"],ngContentSelectors:gw,decls:28,vars:3,consts:[[1,"ant-comment-inner"],[1,"ant-comment-avatar"],[1,"ant-comment-content"],[1,"ant-comment-content-author"],["class","ant-comment-content-author-name",4,"ngIf"],["class","ant-comment-content-author-time",4,"ngIf"],["class","ant-comment-actions",4,"ngIf"],[1,"ant-comment-nested"],[1,"ant-comment-content-author-name"],[4,"nzStringTemplateOutlet"],[1,"ant-comment-content-author-time"],[1,"ant-comment-actions"],[4,"ngFor","ngForOf"],[3,"nzCommentActionHost"]],template:function(e,t){1&e&&(i.rc(fw),i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Zb(3,"div",1),i.Nc(4,"\n "),i.qc(5),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n "),i.Zb(8,"div",2),i.Nc(9,"\n "),i.Zb(10,"div",3),i.Nc(11,"\n "),i.Lc(12,cw,4,1,"span",4),i.Nc(13,"\n "),i.Lc(14,lw,4,1,"span",5),i.Nc(15,"\n "),i.Yb(),i.Nc(16,"\n "),i.qc(17,1),i.Nc(18,"\n "),i.Lc(19,dw,4,1,"ul",6),i.Nc(20,"\n "),i.Yb(),i.Nc(21,"\n "),i.Yb(),i.Nc(22,"\n "),i.Zb(23,"div",7),i.Nc(24,"\n "),i.qc(25,2),i.Nc(26,"\n "),i.Yb(),i.Nc(27,"\n ")),2&e&&(i.Db(12),i.sc("ngIf",t.nzAuthor),i.Db(2),i.sc("ngIf",t.nzDatetime),i.Db(5),i.sc("ngIf",null==t.actions?null:t.actions.length))},directives:[Vr.t,Es.b,Vr.s,vw],encapsulation:2,changeDetection:0}),e}(),Ow=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Es.a]]}),e}(),Cw=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["button","nz-trans-button",""]],hostVars:8,hostBindings:function(e,t){2&e&&i.Kc("border","0")("background","transparent",i.Mb)("padding","0")("line-height","inherit")}}),e}(),Sw=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c]]}),e}();function zw(e,t){1&e&&i.qc(0)}var Tw=["*"];function _w(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzTitle)}}function kw(e,t){if(1&e&&(i.Zb(0,"div",3),i.Lc(1,_w,2,1,"ng-container",4),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("nzStringTemplateOutlet",n.nzTitle)}}function Dw(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2).$implicit;i.Db(1),i.Pc(" ",n.title," ")}}function xw(e,t){}function Ew(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"td",8),i.Zb(2,"span",9),i.Lc(3,Dw,2,1,"ng-container",4),i.Yb(),i.Zb(4,"span",10),i.Lc(5,xw,0,0,"ng-template",11),i.Yb(),i.Yb(),i.Wb()),2&e){var n=i.kc().$implicit,r=i.kc(3);i.Db(1),i.sc("colSpan",n.span),i.Db(1),i.Jb("ant-descriptions-item-colon",r.nzColon),i.Db(1),i.sc("nzStringTemplateOutlet",n.title),i.Db(2),i.sc("ngTemplateOutlet",n.content)}}function Nw(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3).$implicit;i.Db(1),i.Pc(" ",n.title," ")}}function jw(e,t){if(1&e&&(i.Zb(0,"td",9),i.Lc(1,Nw,2,1,"ng-container",4),i.Yb()),2&e){var n=i.kc(2).$implicit;i.Db(1),i.sc("nzStringTemplateOutlet",n.title)}}function Iw(e,t){}function Aw(e,t){if(1&e&&(i.Xb(0),i.Lc(1,jw,2,1,"td",12),i.Zb(2,"td",13),i.Lc(3,Iw,0,0,"ng-template",11),i.Yb(),i.Wb()),2&e){var n=i.kc().$implicit;i.Db(1),i.sc("nzStringTemplateOutlet",n.title),i.Db(1),i.sc("colSpan",2*n.span-1),i.Db(1),i.sc("ngTemplateOutlet",n.content)}}function Mw(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Ew,6,5,"ng-container",2),i.Lc(2,Aw,4,3,"ng-container",2),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.sc("ngIf",!n.nzBordered),i.Db(1),i.sc("ngIf",n.nzBordered)}}function Lw(e,t){if(1&e&&(i.Zb(0,"tr",6),i.Lc(1,Mw,3,2,"ng-container",7),i.Yb()),2&e){var n=t.$implicit;i.Db(1),i.sc("ngForOf",n)}}function Pw(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Lw,2,1,"tr",5),i.Wb()),2&e){var n=i.kc();i.Db(1),i.sc("ngForOf",n.itemMatrix)}}function Fw(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc().$implicit;i.Db(1),i.Pc(" ",n.title," ")}}function Rw(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"td",8),i.Zb(2,"span",9),i.Lc(3,Fw,2,1,"ng-container",4),i.Yb(),i.Yb(),i.Wb()),2&e){var n=t.$implicit,r=i.kc(4);i.Db(1),i.sc("colSpan",n.span),i.Db(1),i.Jb("ant-descriptions-item-colon",r.nzColon),i.Db(1),i.sc("nzStringTemplateOutlet",n.title)}}function Vw(e,t){}function Bw(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"td",8),i.Zb(2,"span",10),i.Lc(3,Vw,0,0,"ng-template",11),i.Yb(),i.Yb(),i.Wb()),2&e){var n=t.$implicit;i.Db(1),i.sc("colSpan",n.span),i.Db(2),i.sc("ngTemplateOutlet",n.content)}}function Yw(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"tr",6),i.Lc(2,Rw,4,4,"ng-container",7),i.Yb(),i.Zb(3,"tr",6),i.Lc(4,Bw,4,2,"ng-container",7),i.Yb(),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.sc("ngForOf",n),i.Db(2),i.sc("ngForOf",n)}}function Uw(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Yw,5,2,"ng-container",7),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.sc("ngForOf",n.itemMatrix)}}function Hw(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc().$implicit;i.Db(1),i.Pc(" ",n.title," ")}}function Ww(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"td",14),i.Lc(2,Hw,2,1,"ng-container",4),i.Yb(),i.Wb()),2&e){var n=t.$implicit;i.Db(1),i.sc("colSpan",n.span),i.Db(1),i.sc("nzStringTemplateOutlet",n.title)}}function qw(e,t){}function Zw(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"td",13),i.Lc(2,qw,0,0,"ng-template",11),i.Yb(),i.Wb()),2&e){var n=t.$implicit;i.Db(1),i.sc("colSpan",n.span),i.Db(1),i.sc("ngTemplateOutlet",n.content)}}function $w(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"tr",6),i.Lc(2,Ww,3,2,"ng-container",7),i.Yb(),i.Zb(3,"tr",6),i.Lc(4,Zw,3,2,"ng-container",7),i.Yb(),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.sc("ngForOf",n),i.Db(2),i.sc("ngForOf",n)}}function Gw(e,t){if(1&e&&(i.Xb(0),i.Lc(1,$w,5,2,"ng-container",7),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.sc("ngForOf",n.itemMatrix)}}function Qw(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Uw,2,1,"ng-container",2),i.Lc(2,Gw,2,1,"ng-container",2),i.Wb()),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",!n.nzBordered),i.Db(1),i.sc("ngIf",n.nzBordered)}}var Xw=function(){function e(){this.nzSpan=1,this.nzTitle="",this.inputChange$=new kt.a}return e.prototype.ngOnChanges=function(){this.inputChange$.next()},e.prototype.ngOnDestroy=function(){this.inputChange$.complete()},Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzSpan",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-descriptions-item"]],viewQuery:function(e,t){var n;1&e&&i.Jc(i.M,!0),2&e&&i.zc(n=i.ic())&&(t.content=n.first)},inputs:{nzSpan:"nzSpan",nzTitle:"nzTitle"},exportAs:["nzDescriptionsItem"],features:[i.Bb],ngContentSelectors:Tw,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.Lc(0,zw,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),e}(),Kw={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},Jw=function(){function e(e,t,n){this.nzConfigService=e,this.cdr=t,this.breakpointService=n,this.nzBordered=!1,this.nzLayout="horizontal",this.nzColumn=Kw,this.nzSize="default",this.nzTitle="",this.nzColon=!0,this.itemMatrix=[],this.realColumn=3,this.breakpoint="md",this.destroy$=new kt.a}return e.prototype.ngOnChanges=function(e){e.nzColumn&&this.prepareMatrix()},e.prototype.ngAfterContentInit=function(){var e=this,t=this.items.changes.pipe(Object(Ka.a)(this.items),Object(ss.a)(this.destroy$));Object(Tt.a)(t,t.pipe(Object(sc.a)((function(){return Tt.a.apply(void 0,Object(zt.g)(e.items.map((function(e){return e.inputChange$})))).pipe(Object(Xa.a)(16))}))),this.breakpointService.subscribe(vs).pipe(Object($r.a)((function(t){return e.breakpoint=t})))).pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.prepareMatrix(),e.cdr.markForCheck()}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.prepareMatrix=function(){if(this.items){for(var e=[],t=0,n=this.realColumn=this.getColumn(),i=this.items.toArray(),r=i.length,o=[],a=function(){o.push(e),e=[],t=0},s=0;s=n?(t>n&&Object(Hs.b)('"nzColumn" is '+n+" but we have row length "+t),e.push({title:u,content:l,span:n-(t-p)}),a()):s===r-1?(e.push({title:u,content:l,span:n-(t-p)}),a()):e.push({title:u,content:l,span:p})}this.itemMatrix=o}},e.prototype.getColumn=function(){return"number"!=typeof this.nzColumn?this.nzColumn[this.breakpoint]:this.nzColumn},Object(zt.b)([Object(es.a)(),Object(Qa.b)("descriptions"),Object(zt.d)("design:type",Boolean)],e.prototype,"nzBordered",void 0),Object(zt.b)([Object(Qa.b)("descriptions"),Object(zt.d)("design:type",Object)],e.prototype,"nzColumn",void 0),Object(zt.b)([Object(Qa.b)("descriptions"),Object(zt.d)("design:type",String)],e.prototype,"nzSize",void 0),Object(zt.b)([Object(Qa.b)("descriptions"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzColon",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.h),i.Tb(ws))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-descriptions"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,Xw,!1),2&e&&i.zc(r=i.ic())&&(t.items=r)},hostAttrs:[1,"ant-descriptions"],hostVars:6,hostBindings:function(e,t){2&e&&i.Jb("ant-descriptions-bordered",t.nzBordered)("ant-descriptions-middle","middle"===t.nzSize)("ant-descriptions-small","small"===t.nzSize)},inputs:{nzBordered:"nzBordered",nzLayout:"nzLayout",nzColumn:"nzColumn",nzSize:"nzSize",nzTitle:"nzTitle",nzColon:"nzColon"},exportAs:["nzDescriptions"],features:[i.Bb],decls:6,vars:3,consts:[["class","ant-descriptions-title",4,"ngIf"],[1,"ant-descriptions-view"],[4,"ngIf"],[1,"ant-descriptions-title"],[4,"nzStringTemplateOutlet"],["class","ant-descriptions-row",4,"ngFor","ngForOf"],[1,"ant-descriptions-row"],[4,"ngFor","ngForOf"],[1,"ant-descriptions-item",3,"colSpan"],[1,"ant-descriptions-item-label"],[1,"ant-descriptions-item-content"],[3,"ngTemplateOutlet"],["class","ant-descriptions-item-label",4,"nzStringTemplateOutlet"],[1,"ant-descriptions-item-content",3,"colSpan"],[1,"ant-descriptions-item-label",3,"colSpan"]],template:function(e,t){1&e&&(i.Lc(0,kw,2,1,"div",0),i.Zb(1,"div",1),i.Zb(2,"table"),i.Zb(3,"tbody"),i.Lc(4,Pw,2,1,"ng-container",2),i.Lc(5,Qw,3,2,"ng-container",2),i.Yb(),i.Yb(),i.Yb()),2&e&&(i.sc("ngIf",t.nzTitle),i.Db(4),i.sc("ngIf","horizontal"===t.nzLayout),i.Db(1),i.sc("ngIf","vertical"===t.nzLayout))},directives:[Vr.t,Es.b,Vr.s,Vr.A],encapsulation:2,changeDetection:0}),e}(),eO=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Es.a,Xr.b]]}),e}();function tO(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzText)}}function nO(e,t){if(1&e&&(i.Zb(0,"span",1),i.Lc(1,tO,2,1,"ng-container",2),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("nzStringTemplateOutlet",n.nzText)}}var iO=function(){function e(){this.nzType="horizontal",this.nzOrientation="center",this.nzDashed=!1}return Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDashed",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-divider"]],hostVars:14,hostBindings:function(e,t){2&e&&i.Jb("ant-divider",!0)("ant-divider-horizontal","horizontal"===t.nzType)("ant-divider-vertical","vertical"===t.nzType)("ant-divider-with-text-left",t.nzText&&"left"===t.nzOrientation)("ant-divider-with-text-right",t.nzText&&"right"===t.nzOrientation)("ant-divider-with-text-center",t.nzText&&"center"===t.nzOrientation)("ant-divider-dashed",t.nzDashed)},inputs:{nzType:"nzType",nzOrientation:"nzOrientation",nzDashed:"nzDashed",nzText:"nzText"},exportAs:["nzDivider"],decls:1,vars:1,consts:[["class","ant-divider-inner-text",4,"ngIf"],[1,"ant-divider-inner-text"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&i.Lc(0,nO,2,1,"span",0),2&e&&i.sc("ngIf",t.nzText)},directives:[Vr.t,Es.b],encapsulation:2,changeDetection:0}),e}(),rO=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Es.a]]}),e}(),oO=["drawerTemplate"];function aO(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",9),i.hc("click",(function(){return i.Dc(n),i.kc(2).maskClick()})),i.Yb()}if(2&e){var r=i.kc(2);i.sc("ngStyle",r.nzMaskStyle)}}function sO(e,t){if(1&e&&(i.Xb(0),i.Ub(1,"div",14),i.Wb()),2&e){var n=i.kc(4);i.Db(1),i.sc("innerHTML",n.nzTitle,i.Ec)}}function cO(e,t){if(1&e&&(i.Zb(0,"div",12),i.Lc(1,sO,2,1,"ng-container",13),i.Yb()),2&e){var n=i.kc(3);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzTitle)}}function uO(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",15),i.hc("click",(function(){return i.Dc(n),i.kc(3).closeClick()})),i.Ub(1,"i",16),i.Yb()}}function lO(e,t){if(1&e&&(i.Zb(0,"div"),i.Lc(1,cO,2,1,"div",10),i.Lc(2,uO,2,0,"button",11),i.Yb()),2&e){var n=i.kc(2);i.Jb("ant-drawer-header",!!n.nzTitle)("ant-drawer-header-no-title",!n.nzTitle),i.Db(1),i.sc("ngIf",n.nzTitle),i.Db(1),i.sc("ngIf",n.nzClosable)}}function pO(e,t){}function hO(e,t){1&e&&i.Vb(0)}function dO(e,t){if(1&e&&(i.Xb(0),i.Lc(1,hO,1,0,"ng-container",17),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.sc("ngTemplateOutlet",n.nzContent)("ngTemplateOutletContext",n.templateContext)}}function fO(e,t){1&e&&i.qc(0,0,["*ngIf","!nzContent"])}function gO(e,t){if(1&e&&(i.Zb(0,"div",1),i.Lc(1,aO,1,1,"div",2),i.Zb(2,"div"),i.Zb(3,"div",3),i.Zb(4,"div",4),i.Lc(5,lO,3,6,"div",5),i.Zb(6,"div",6),i.Lc(7,pO,0,0,"ng-template",7),i.Lc(8,dO,2,2,"ng-container",8),i.Lc(9,fO,1,0,void 0,8),i.Yb(),i.Yb(),i.Yb(),i.Yb(),i.Yb()),2&e){var n=i.kc();i.Kc("transform",n.offsetTransform)("transition",n.placementChanging?"none":null)("z-index",n.nzZIndex),i.Jb("ant-drawer-open",n.isOpen)("ant-drawer-top","top"===n.nzPlacement)("ant-drawer-bottom","bottom"===n.nzPlacement)("ant-drawer-right","right"===n.nzPlacement)("ant-drawer-left","left"===n.nzPlacement),i.sc("nzNoAnimation",n.nzNoAnimation),i.Db(1),i.sc("ngIf",n.nzMask),i.Db(1),i.Gb("ant-drawer-content-wrapper ",n.nzWrapClassName,""),i.Kc("width",n.width)("height",n.height)("transform",n.transform)("transition",n.placementChanging?"none":null),i.Db(2),i.Kc("height",n.isLeftOrRight?"100%":null),i.Db(1),i.sc("ngIf",n.nzTitle||n.nzClosable),i.Db(1),i.sc("ngStyle",n.nzBodyStyle),i.Db(2),i.sc("ngIf",n.isTemplateRef(n.nzContent)),i.Db(1),i.sc("ngIf",!n.nzContent)}}var bO=["*"],mO=function(){return function(){}}(),vO=function(e){function t(t,n,r,o,a,s,c,u,l){var p=e.call(this)||this;return p.document=t,p.nzConfigService=n,p.renderer=r,p.overlay=o,p.injector=a,p.changeDetectorRef=s,p.focusTrapFactory=c,p.viewContainerRef=u,p.overlayKeyboardDispatcher=l,p.nzClosable=!0,p.nzMaskClosable=!0,p.nzMask=!0,p.nzCloseOnNavigation=!0,p.nzNoAnimation=!1,p.nzKeyboard=!0,p.nzPlacement="right",p.nzMaskStyle={},p.nzBodyStyle={},p.nzWidth=256,p.nzHeight=256,p.nzZIndex=1e3,p.nzOffsetX=0,p.nzOffsetY=0,p.nzOnViewInit=new i.n,p.nzOnClose=new i.n,p.destroy$=new kt.a,p.placementChanging=!1,p.placementChangeTimeoutId=-1,p.isOpen=!1,p.templateContext={$implicit:void 0,drawerRef:p},p.nzAfterOpen=new kt.a,p.nzAfterClose=new kt.a,p}return Object(zt.c)(t,e),Object.defineProperty(t.prototype,"nzVisible",{get:function(){return this.isOpen},set:function(e){this.isOpen=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"offsetTransform",{get:function(){if(!this.isOpen||this.nzOffsetX+this.nzOffsetY===0)return null;switch(this.nzPlacement){case"left":return"translateX("+this.nzOffsetX+"px)";case"right":return"translateX(-"+this.nzOffsetX+"px)";case"top":return"translateY("+this.nzOffsetY+"px)";case"bottom":return"translateY(-"+this.nzOffsetY+"px)"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transform",{get:function(){if(this.isOpen)return null;switch(this.nzPlacement){case"left":return"translateX(-100%)";case"right":return"translateX(100%)";case"top":return"translateY(-100%)";case"bottom":return"translateY(100%)"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.isLeftOrRight?Object(es.D)(this.nzWidth):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.isLeftOrRight?null:Object(es.D)(this.nzHeight)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isLeftOrRight",{get:function(){return"left"===this.nzPlacement||"right"===this.nzPlacement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpen",{get:function(){return this.nzAfterOpen.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterClose",{get:function(){return this.nzAfterClose.asObservable()},enumerable:!0,configurable:!0}),t.prototype.isTemplateRef=function(e){return e instanceof i.M},t.prototype.ngOnInit=function(){this.attachOverlay(),this.updateOverlayStyle(),this.updateBodyOverflow(),this.templateContext={$implicit:this.nzContentParams,drawerRef:this},this.changeDetectorRef.detectChanges()},t.prototype.ngAfterViewInit=function(){var e=this;this.attachBodyContent(),setTimeout((function(){e.nzOnViewInit.emit()}))},t.prototype.ngOnChanges=function(e){var t=e.nzPlacement;e.nzVisible&&(e.nzVisible.currentValue?this.open():this.close()),t&&!t.isFirstChange()&&this.triggerPlacementChangeCycleOnce()},t.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete(),clearTimeout(this.placementChangeTimeoutId),this.disposeOverlay()},t.prototype.getAnimationDuration=function(){return this.nzNoAnimation?0:300},t.prototype.triggerPlacementChangeCycleOnce=function(){var e=this;this.nzNoAnimation||(this.placementChanging=!0,this.changeDetectorRef.markForCheck(),clearTimeout(this.placementChangeTimeoutId),this.placementChangeTimeoutId=setTimeout((function(){e.placementChanging=!1,e.changeDetectorRef.markForCheck()}),this.getAnimationDuration()))},t.prototype.close=function(e){var t=this;this.isOpen=!1,this.updateOverlayStyle(),this.overlayKeyboardDispatcher.remove(this.overlayRef),this.changeDetectorRef.detectChanges(),setTimeout((function(){t.updateBodyOverflow(),t.restoreFocus(),t.nzAfterClose.next(e),t.nzAfterClose.complete()}),this.getAnimationDuration())},t.prototype.open=function(){var e=this;this.attachOverlay(),this.isOpen=!0,this.overlayKeyboardDispatcher.add(this.overlayRef),this.updateOverlayStyle(),this.updateBodyOverflow(),this.savePreviouslyFocusedElement(),this.trapFocus(),this.changeDetectorRef.detectChanges(),setTimeout((function(){e.nzAfterOpen.next()}),this.getAnimationDuration())},t.prototype.closeClick=function(){this.nzOnClose.emit()},t.prototype.maskClick=function(){this.nzMaskClosable&&this.nzMask&&this.nzOnClose.emit()},t.prototype.attachBodyContent=function(){if(this.bodyPortalOutlet.dispose(),this.nzContent instanceof i.O){var e=new Wr.e(this.injector,new WeakMap([[mO,this]])),t=new Wr.c(this.nzContent,null,e),n=this.bodyPortalOutlet.attachComponentPortal(t);Object.assign(n.instance,this.nzContentParams),n.changeDetectorRef.detectChanges()}},t.prototype.attachOverlay=function(){var e=this;this.overlayRef||(this.portal=new Wr.g(this.drawerTemplate,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayRef.keydownEvents().pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){t.keyCode===Zr.e&&e.isOpen&&e.nzKeyboard&&e.nzOnClose.emit()})),this.overlayRef.detachments().pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.disposeOverlay()})))},t.prototype.disposeOverlay=function(){var e;null===(e=this.overlayRef)||void 0===e||e.dispose(),this.overlayRef=null},t.prototype.getOverlayConfig=function(){return new Ur.f({disposeOnNavigation:this.nzCloseOnNavigation,positionStrategy:this.overlay.position().global(),scrollStrategy:this.overlay.scrollStrategies.block()})},t.prototype.updateOverlayStyle=function(){this.overlayRef&&this.overlayRef.overlayElement&&this.renderer.setStyle(this.overlayRef.overlayElement,"pointer-events",this.isOpen?"auto":"none")},t.prototype.updateBodyOverflow=function(){this.overlayRef&&(this.isOpen?this.overlayRef.getConfig().scrollStrategy.enable():this.overlayRef.getConfig().scrollStrategy.disable())},t.prototype.savePreviouslyFocusedElement=function(){this.document&&!this.previouslyFocusedElement&&(this.previouslyFocusedElement=this.document.activeElement,this.previouslyFocusedElement&&"function"==typeof this.previouslyFocusedElement.blur&&this.previouslyFocusedElement.blur())},t.prototype.trapFocus=function(){!this.focusTrap&&this.overlayRef&&this.overlayRef.overlayElement&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.overlayElement),this.focusTrap.focusInitialElement())},t.prototype.restoreFocus=function(){this.previouslyFocusedElement&&"function"==typeof this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus(),this.focusTrap&&this.focusTrap.destroy()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzClosable",void 0),Object(zt.b)([Object(Qa.b)("drawer"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzMaskClosable",void 0),Object(zt.b)([Object(Qa.b)("drawer"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzMask",void 0),Object(zt.b)([Object(Qa.b)("drawer"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzCloseOnNavigation",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzNoAnimation",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzKeyboard",void 0),t.\u0275fac=function(e){return new(e||t)(i.Tb(Vr.e,8),i.Tb(Qa.a),i.Tb(i.E),i.Tb(Ur.e),i.Tb(i.r),i.Tb(i.h),i.Tb(bo),i.Tb(i.Q),i.Tb(Ur.h))},t.\u0275cmp=i.Nb({type:t,selectors:[["nz-drawer"]],viewQuery:function(e,t){var n;1&e&&(i.Jc(oO,!0),i.Sc(Wr.b,!0)),2&e&&(i.zc(n=i.ic())&&(t.drawerTemplate=n.first),i.zc(n=i.ic())&&(t.bodyPortalOutlet=n.first))},inputs:{nzVisible:"nzVisible",nzContent:"nzContent",nzClosable:"nzClosable",nzMaskClosable:"nzMaskClosable",nzMask:"nzMask",nzCloseOnNavigation:"nzCloseOnNavigation",nzNoAnimation:"nzNoAnimation",nzKeyboard:"nzKeyboard",nzTitle:"nzTitle",nzPlacement:"nzPlacement",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzWrapClassName:"nzWrapClassName",nzWidth:"nzWidth",nzHeight:"nzHeight",nzZIndex:"nzZIndex",nzOffsetX:"nzOffsetX",nzOffsetY:"nzOffsetY"},outputs:{nzOnViewInit:"nzOnViewInit",nzOnClose:"nzOnClose"},exportAs:["nzDrawer"],features:[i.Ab,i.Bb],ngContentSelectors:bO,decls:2,vars:0,consts:[["drawerTemplate",""],[1,"ant-drawer",3,"nzNoAnimation"],["class","ant-drawer-mask",3,"ngStyle","click",4,"ngIf"],[1,"ant-drawer-content"],[1,"ant-drawer-wrapper-body"],[3,"ant-drawer-header","ant-drawer-header-no-title",4,"ngIf"],[1,"ant-drawer-body",3,"ngStyle"],["cdkPortalOutlet",""],[4,"ngIf"],[1,"ant-drawer-mask",3,"ngStyle","click"],["class","ant-drawer-title",4,"ngIf"],["aria-label","Close","class","ant-drawer-close","style","--scroll-bar: 0px;",3,"click",4,"ngIf"],[1,"ant-drawer-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"],["aria-label","Close",1,"ant-drawer-close",2,"--scroll-bar","0px",3,"click"],["nz-icon","","nzType","close"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.rc(),i.Lc(0,gO,10,35,"ng-template",null,0,i.Mc))},directives:[ac.a,Vr.t,Vr.w,Wr.b,Es.b,Ns.a,Vr.A],encapsulation:2,changeDetection:0}),t}(mO),yO=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)}}),e}(),wO=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ur.i,Wr.f,Ns.b,Es.a,ac.b,yO]]}),e}(),OO=function(){function e(e,t,n,i,r,o){this.elementRef=e,this.renderer=t,this.mediaMatcher=n,this.ngZone=i,this.platform=r,this.breakpointService=o,this.nzType="flex",this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new Os.a(1),this.destroy$=new kt.a}return e.prototype.getGutter=function(){var e=this,t=[0,0],n=this.nzGutter||0;return(Array.isArray(n)?n:[n,0]).forEach((function(n,i){"object"==typeof n?(t[i]=0,Object.keys(vs).map((function(r){var o=r;e.mediaMatcher.matchMedia(vs[o]).matches&&n[o]&&(t[i]=n[o])}))):t[i]=n||0})),t},e.prototype.setGutterStyle=function(){var e=this,t=Object(zt.e)(this.getGutter(),2),n=t[0],i=t[1];this.actualGutter$.next([n,i]);var r=function(t,n){e.renderer.setStyle(e.elementRef.nativeElement,t,"-"+n/2+"px")};n>0&&(r("margin-left",n),r("margin-right",n)),i>0&&(r("margin-top",i),r("margin-bottom",i))},e.prototype.ngOnInit=function(){this.setGutterStyle()},e.prototype.ngOnChanges=function(e){e.nzGutter&&this.setGutterStyle()},e.prototype.ngAfterViewInit=function(){var e=this;this.platform.isBrowser&&this.breakpointService.subscribe(vs).pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.setGutterStyle()}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E),i.Tb(ls),i.Tb(i.z),i.Tb(Xr.a),i.Tb(ws))},e.\u0275dir=i.Ob({type:e,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostVars:18,hostBindings:function(e,t){2&e&&i.Jb("ant-row",!0)("ant-row-top","top"===t.nzAlign)("ant-row-middle","middle"===t.nzAlign)("ant-row-bottom","bottom"===t.nzAlign)("ant-row-start","start"===t.nzJustify)("ant-row-end","end"===t.nzJustify)("ant-row-center","center"===t.nzJustify)("ant-row-space-around","space-around"===t.nzJustify)("ant-row-space-between","space-between"===t.nzJustify)},inputs:{nzType:"nzType",nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[i.Bb]}),e}(),CO=function(){function e(e,t,n){this.elementRef=e,this.nzRowDirective=t,this.renderer=n,this.classMap={},this.destroy$=new kt.a,this.hostFlexStyle=null,this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}return e.prototype.setHostClassMap=function(){var e,t=Object(zt.a)(((e={})["ant-col"]=!0,e["ant-col-"+this.nzSpan]=Object(es.p)(this.nzSpan),e["ant-col-order-"+this.nzOrder]=Object(es.p)(this.nzOrder),e["ant-col-offset-"+this.nzOffset]=Object(es.p)(this.nzOffset),e["ant-col-pull-"+this.nzPull]=Object(es.p)(this.nzPull),e["ant-col-push-"+this.nzPush]=Object(es.p)(this.nzPush),e),this.generateClass());for(var n in this.classMap)this.classMap.hasOwnProperty(n)&&this.renderer.removeClass(this.elementRef.nativeElement,n);for(var n in this.classMap=Object(zt.a)({},t),this.classMap)this.classMap.hasOwnProperty(n)&&this.classMap[n]&&this.renderer.addClass(this.elementRef.nativeElement,n)},e.prototype.setHostFlexStyle=function(){this.hostFlexStyle=this.parseFlex(this.nzFlex)},e.prototype.parseFlex=function(e){return"number"==typeof e?e+" "+e+" auto":"string"==typeof e&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 "+e:e},e.prototype.generateClass=function(){var e=this,t={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach((function(n){var i=n.replace("nz","").toLowerCase();if(Object(es.p)(e[n]))if("number"==typeof e[n]||"string"==typeof e[n])t["ant-col-"+i+"-"+e[n]]=!0;else{var r=e[n];["span","pull","push","offset","order"].forEach((function(e){t["ant-col-"+i+("span"===e?"-":"-"+e+"-")+r[e]]=r&&Object(es.p)(r[e])}))}})),t},e.prototype.ngOnInit=function(){this.setHostClassMap(),this.setHostFlexStyle()},e.prototype.ngOnChanges=function(e){this.setHostClassMap(),e.nzFlex&&this.setHostFlexStyle()},e.prototype.ngAfterViewInit=function(){var e=this;this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){var n=Object(zt.e)(t,2),i=n[0],r=n[1],o=function(t,n){e.renderer.setStyle(e.elementRef.nativeElement,t,n/2+"px")};i>0&&(o("padding-left",i),o("padding-right",i)),r>0&&(o("padding-top",r),o("padding-bottom",r))}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(OO,9),i.Tb(i.E))},e.\u0275dir=i.Ob({type:e,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Kc("flex",t.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[i.Bb]}),e}(),SO=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,cs,Xr.b]]}),e}(),zO=["*"];function TO(e,t){if(1&e&&i.Ub(0,"i",6),2&e){var n=i.kc();i.sc("nzType",n.iconType)}}function _O(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.innerTip)}}var kO=function(e){return{$implicit:e}};function DO(e,t){if(1&e&&(i.Zb(0,"div",7),i.Zb(1,"div"),i.Lc(2,_O,2,1,"ng-container",8),i.Yb(),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("@helpMotion",void 0),i.Db(1),i.sc("nzStringTemplateOutlet",n.innerTip)("nzStringTemplateOutletContext",i.vc(3,kO,n.validateControl))}}function xO(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzExtra)}}function EO(e,t){if(1&e&&(i.Zb(0,"div",9),i.Lc(1,xO,2,1,"ng-container",10),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("nzStringTemplateOutlet",n.nzExtra)}}var NO=function(){function e(e,t,n){this.nzConfigService=e,this.renderer=n,this.nzLayout="horizontal",this.nzNoColon=!1,this.nzAutoTips={},this.nzDisableAutoTips=!1,this.destroy$=new kt.a,this.inputChanges$=new kt.a,this.renderer.addClass(t.nativeElement,"ant-form")}return e.prototype.getInputObservable=function(e){return this.inputChanges$.pipe(Object(Pt.a)((function(t){return e in t})),Object(Mt.a)((function(t){return t[e]})))},e.prototype.ngOnChanges=function(e){this.inputChanges$.next(e)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(Qa.b)("form"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzNoColon",void 0),Object(zt.b)([Object(Qa.b)("form"),Object(zt.d)("design:type",Object)],e.prototype,"nzAutoTips",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisableAutoTips",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.l),i.Tb(i.E))},e.\u0275dir=i.Ob({type:e,selectors:[["","nz-form",""]],hostVars:6,hostBindings:function(e,t){2&e&&i.Jb("ant-form-horizontal","horizontal"===t.nzLayout)("ant-form-vertical","vertical"===t.nzLayout)("ant-form-inline","inline"===t.nzLayout)},inputs:{nzLayout:"nzLayout",nzNoColon:"nzNoColon",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips"},exportAs:["nzForm"],features:[i.Bb]}),e}(),jO=function(){function e(e,t,n){this.cdr=n,this.status=null,this.hasFeedback=!1,this.withHelpClass=!1,this.destroy$=new kt.a,t.addClass(e.nativeElement,"ant-form-item")}return Object.defineProperty(e.prototype,"nzFlex",{set:function(e){Object(Hs.c)("'nzFlex' is deprecated and going to be removed in 10.0.0.")},enumerable:!0,configurable:!0}),e.prototype.setWithHelpViaTips=function(e){this.withHelpClass=e,this.cdr.markForCheck()},e.prototype.setStatus=function(e){this.status=e,this.cdr.markForCheck()},e.prototype.setHasFeedback=function(e){this.hasFeedback=e,this.cdr.markForCheck()},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-form-item"]],hostVars:12,hostBindings:function(e,t){2&e&&i.Jb("ant-form-item-has-success","success"===t.status)("ant-form-item-has-warning","warning"===t.status)("ant-form-item-has-error","error"===t.status)("ant-form-item-is-validating","validating"===t.status)("ant-form-item-has-feedback",t.hasFeedback&&t.status)("ant-form-item-with-help",t.withHelpClass)},inputs:{nzFlex:"nzFlex"},exportAs:["nzFormItem"],ngContentSelectors:zO,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),e}(),IO={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"},AO=function(){function e(e,t,n,i,r,o){var a,s,c=this;this.nzFormItemComponent=t,this.cdr=n,this.nzFormDirective=o,this._hasFeedback=!1,this.validateChanges=Ft.a.EMPTY,this.validateString=null,this.status=null,this.destroyed$=new kt.a,this.validateControl=null,this.iconType=null,this.innerTip=null,this.nzAutoTips={},this.nzDisableAutoTips="default",i.addClass(e.nativeElement,"ant-form-item-control"),this.subscribeAutoTips(r.localeChange.pipe(Object($r.a)((function(e){return c.localeId=e.locale})))),this.subscribeAutoTips(null===(a=this.nzFormDirective)||void 0===a?void 0:a.getInputObservable("nzAutoTips")),this.subscribeAutoTips(null===(s=this.nzFormDirective)||void 0===s?void 0:s.getInputObservable("nzDisableAutoTips").pipe(Object(Pt.a)((function(){return"default"===c.nzDisableAutoTips}))))}return Object.defineProperty(e.prototype,"disableAutoTips",{get:function(){var e;return"default"!==this.nzDisableAutoTips?Object(es.C)(this.nzDisableAutoTips):null===(e=this.nzFormDirective)||void 0===e?void 0:e.nzDisableAutoTips},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzHasFeedback",{get:function(){return this._hasFeedback},set:function(e){this._hasFeedback=Object(es.C)(e),this.nzFormItemComponent&&this.nzFormItemComponent.setHasFeedback(this._hasFeedback)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzValidateStatus",{set:function(e){e instanceof Ot.a||e instanceof Ot.r?(this.validateControl=e,this.validateString=null,this.watchControl()):e instanceof Ot.h?(this.validateControl=e.control,this.validateString=null,this.watchControl()):(this.validateString=e,this.validateControl=null,this.setStatus())},enumerable:!0,configurable:!0}),e.prototype.watchControl=function(){var e=this;this.validateChanges.unsubscribe(),this.validateControl&&this.validateControl.statusChanges&&(this.validateChanges=this.validateControl.statusChanges.pipe(Object(Ka.a)(null),Object(ss.a)(this.destroyed$)).subscribe((function(t){e.disableAutoTips||e.updateAutoErrorTip(),e.setStatus(),e.cdr.markForCheck()})))},e.prototype.setStatus=function(){this.status=this.getControlStatus(this.validateString),this.iconType=this.status?IO[this.status]:null,this.innerTip=this.getInnerTip(this.status),this.nzFormItemComponent&&(this.nzFormItemComponent.setWithHelpViaTips(!!this.innerTip),this.nzFormItemComponent.setStatus(this.status))},e.prototype.getControlStatus=function(e){return"warning"===e||this.validateControlStatus("INVALID","warning")?"warning":"error"===e||this.validateControlStatus("INVALID")?"error":"validating"===e||"pending"===e||this.validateControlStatus("PENDING")?"validating":"success"===e||this.validateControlStatus("VALID")?"success":null},e.prototype.validateControlStatus=function(e,t){if(this.validateControl){var n=this.validateControl,i=n.status;return(!!n.dirty||!!n.touched)&&(t?this.validateControl.hasError(t):i===e)}return!1},e.prototype.getInnerTip=function(e){switch(e){case"error":return!this.disableAutoTips&&this.autoErrorTip||this.nzErrorTip||null;case"validating":return this.nzValidatingTip||null;case"success":return this.nzSuccessTip||null;case"warning":return this.nzWarningTip||null;default:return null}},e.prototype.updateAutoErrorTip=function(){var e,t,n,i,r,o,a;if(this.validateControl){var s=this.validateControl.errors||{},c="";for(var u in s)if(s.hasOwnProperty(u)&&(c=null!==(i=null!==(e=s[u][this.localeId])&&void 0!==e?e:null===(n=null===(t=this.nzAutoTips)||void 0===t?void 0:t[this.localeId])||void 0===n?void 0:n[u])&&void 0!==i?i:null===(a=null===(o=null===(r=this.nzFormDirective)||void 0===r?void 0:r.nzAutoTips)||void 0===o?void 0:o[this.localeId])||void 0===a?void 0:a[u]),c)break;this.autoErrorTip=c}},e.prototype.subscribeAutoTips=function(e){var t=this;null==e||e.pipe(Object(ss.a)(this.destroyed$)).subscribe((function(){t.disableAutoTips||(t.updateAutoErrorTip(),t.setStatus(),t.cdr.markForCheck())}))},e.prototype.ngOnChanges=function(e){var t=e.nzSuccessTip,n=e.nzWarningTip,i=e.nzErrorTip,r=e.nzValidatingTip;e.nzDisableAutoTips||e.nzAutoTips?(this.updateAutoErrorTip(),this.setStatus()):(t||n||i||r)&&this.setStatus()},e.prototype.ngOnInit=function(){this.setStatus()},e.prototype.ngOnDestroy=function(){this.destroyed$.next(),this.destroyed$.complete()},e.prototype.ngAfterContentInit=function(){this.validateControl||this.validateString||(this.nzValidateStatus=this.defaultValidateControl instanceof Ot.g?this.defaultValidateControl.control:this.defaultValidateControl)},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(jO,9),i.Tb(i.h),i.Tb(i.E),i.Tb(Lp),i.Tb(NO,9))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-form-control"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,Ot.n,!0),2&e&&i.zc(r=i.ic())&&(t.defaultValidateControl=r.first)},inputs:{nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzHasFeedback:"nzHasFeedback",nzValidateStatus:"nzValidateStatus",nzSuccessTip:"nzSuccessTip",nzWarningTip:"nzWarningTip",nzErrorTip:"nzErrorTip",nzValidatingTip:"nzValidatingTip",nzExtra:"nzExtra"},exportAs:["nzFormControl"],features:[i.Bb],ngContentSelectors:zO,decls:7,vars:3,consts:[[1,"ant-form-item-control-input"],[1,"ant-form-item-control-input-content"],[1,"ant-form-item-children-icon"],["nz-icon","",3,"nzType",4,"ngIf"],["class","ant-form-item-explain",4,"ngIf"],["class","ant-form-item-extra",4,"ngIf"],["nz-icon","",3,"nzType"],[1,"ant-form-item-explain"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-form-item-extra"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"div",0),i.Zb(1,"div",1),i.qc(2),i.Yb(),i.Zb(3,"span",2),i.Lc(4,TO,1,1,"i",3),i.Yb(),i.Yb(),i.Lc(5,DO,3,5,"div",4),i.Lc(6,EO,2,1,"div",5)),2&e&&(i.Db(4),i.sc("ngIf",t.nzHasFeedback&&t.iconType),i.Db(1),i.sc("ngIf",t.innerTip),i.Db(1),i.sc("ngIf",t.nzExtra))},directives:[Vr.t,Ns.a,Es.b],encapsulation:2,data:{animation:[xs.c]},changeDetection:0}),e}(),MO=function(){function e(e,t,n,i){var r=this;this.cdr=n,this.nzFormDirective=i,this.nzRequired=!1,this.noColon="default",this.destroy$=new kt.a,t.addClass(e.nativeElement,"ant-form-item-label"),this.nzFormDirective&&this.nzFormDirective.getInputObservable("nzNoColon").pipe(Object(Pt.a)((function(){return"default"===r.noColon})),Object(ss.a)(this.destroy$)).subscribe((function(){return r.cdr.markForCheck()}))}return Object.defineProperty(e.prototype,"nzNoColon",{get:function(){var e;return"default"!==this.noColon?this.noColon:null===(e=this.nzFormDirective)||void 0===e?void 0:e.nzNoColon},set:function(e){this.noColon=Object(es.C)(e)},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzRequired",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E),i.Tb(i.h),i.Tb(NO,12))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-form-label"]],inputs:{nzRequired:"nzRequired",nzNoColon:"nzNoColon",nzFor:"nzFor"},exportAs:["nzFormLabel"],ngContentSelectors:zO,decls:2,vars:5,template:function(e,t){1&e&&(i.rc(),i.Zb(0,"label"),i.qc(1),i.Yb()),2&e&&(i.Jb("ant-form-item-no-colon",t.nzNoColon)("ant-form-item-required",t.nzRequired),i.Eb("for",t.nzFor))},encapsulation:2,changeDetection:0}),e}(),LO=function(){function e(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-form-split")}return e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-form-split"]],exportAs:["nzFormSplit"],ngContentSelectors:zO,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),e}(),PO=function(){function e(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-form-text")}return e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-form-text"]],exportAs:["nzFormText"],ngContentSelectors:zO,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),e}(),FO=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,SO,Ns.b,cs,Xr.b,Es.a],SO]}),e}(),RO=["inputElement"],VO=function(){function e(e,t,n){this.elementRef=e,this.cdr=t,this.focusMonitor=n,this.isFocused=!1,this.disabledUp=!1,this.disabledDown=!1,this.onChange=function(){},this.onTouched=function(){},this.nzBlur=new i.n,this.nzFocus=new i.n,this.nzSize="default",this.nzMin=-1/0,this.nzMax=1/0,this.nzParser=function(e){return e.trim().replace(/\u3002/g,".").replace(/[^\w\.-]+/g,"")},this.nzPrecisionMode="toFixed",this.nzPlaceHolder="",this.nzStep=1,this.nzId=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.nzFormatter=function(e){return e}}return e.prototype.onModelChange=function(e){this.parsedValue=this.nzParser(e),this.inputElement.nativeElement.value=""+this.parsedValue;var t=this.getCurrentValidValue(this.parsedValue);this.setValue(t)},e.prototype.getCurrentValidValue=function(e){var t=e;return t=""===t?"":this.isNotCompleteNumber(t)?this.value:""+this.getValidValue(t),this.toNumber(t)},e.prototype.isNotCompleteNumber=function(e){return isNaN(e)||""===e||null===e||!(!e||e.toString().indexOf(".")!==e.toString().length-1)},e.prototype.getValidValue=function(e){var t=parseFloat(e);return isNaN(t)?e:(tthis.nzMax&&(t=this.nzMax),t)},e.prototype.toNumber=function(e){if(this.isNotCompleteNumber(e))return e;var t=String(e);if(t.indexOf(".")>=0&&Object(es.p)(this.nzPrecision)){if("function"==typeof this.nzPrecisionMode)return this.nzPrecisionMode(e,this.nzPrecision);if("cut"===this.nzPrecisionMode){var n=t.split(".");return n[1]=n[1].slice(0,this.nzPrecision),Number(n.join("."))}return Number(Number(e).toFixed(this.nzPrecision))}return Number(e)},e.prototype.getRatio=function(e){var t=1;return e.metaKey||e.ctrlKey?t=.1:e.shiftKey&&(t=10),t},e.prototype.down=function(e,t){this.isFocused||this.focus(),this.step("down",e,t)},e.prototype.up=function(e,t){this.isFocused||this.focus(),this.step("up",e,t)},e.prototype.getPrecision=function(e){var t=e.toString();if(t.indexOf("e-")>=0)return parseInt(t.slice(t.indexOf("e-")+2),10);var n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n},e.prototype.getMaxPrecision=function(e,t){if(Object(es.p)(this.nzPrecision))return this.nzPrecision;var n=this.getPrecision(t),i=this.getPrecision(this.nzStep),r=this.getPrecision(e);return e?Math.max(r,n+i):n+i},e.prototype.getPrecisionFactor=function(e,t){var n=this.getMaxPrecision(e,t);return Math.pow(10,n)},e.prototype.upStep=function(e,t){var n,i=this.getPrecisionFactor(e,t),r=Math.abs(this.getMaxPrecision(e,t));return n="number"==typeof e?((i*e+i*this.nzStep*t)/i).toFixed(r):this.nzMin===-1/0?this.nzStep:this.nzMin,this.toNumber(n)},e.prototype.downStep=function(e,t){var n,i=this.getPrecisionFactor(e,t),r=Math.abs(this.getMaxPrecision(e,t));return n="number"==typeof e?((i*e-i*this.nzStep*t)/i).toFixed(r):this.nzMin===-1/0?-this.nzStep:this.nzMin,this.toNumber(n)},e.prototype.step=function(e,t,n){var i=this;if(void 0===n&&(n=1),this.stop(),t.preventDefault(),!this.nzDisabled){var r=this.getCurrentValidValue(this.parsedValue)||0,o=0;"up"===e?o=this.upStep(r,n):"down"===e&&(o=this.downStep(r,n));var a=o>this.nzMax||othis.nzMax?o=this.nzMax:o=this.nzMax&&(this.disabledUp=!0),t<=this.nzMin&&(this.disabledDown=!0)}},e.prototype.updateDisplayValue=function(e){var t=Object(es.p)(this.nzFormatter(e))?this.nzFormatter(e):"";this.displayValue=t,this.inputElement.nativeElement.value=""+t},e.prototype.onKeyDown=function(e){if(e.keyCode===Zr.k){var t=this.getRatio(e);this.up(e,t),this.stop()}else e.keyCode===Zr.c?(t=this.getRatio(e),this.down(e,t),this.stop()):e.keyCode===Zr.d&&this.updateDisplayValue(this.value)},e.prototype.writeValue=function(e){this.value=e,this.setValue(e),this.updateDisplayValue(e),this.cdr.markForCheck()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.nzDisabled=e,this.cdr.markForCheck()},e.prototype.focus=function(){this.focusMonitor.focusVia(this.inputElement,"keyboard")},e.prototype.blur=function(){this.inputElement.nativeElement.blur()},e.prototype.ngOnInit=function(){var e=this;this.focusMonitor.monitor(this.elementRef,!0).subscribe((function(t){t?(e.isFocused=!0,e.nzFocus.emit()):(e.isFocused=!1,e.updateDisplayValue(e.value),e.nzBlur.emit(),Promise.resolve().then((function(){return e.onTouched()})))}))},e.prototype.ngOnChanges=function(e){if(e.nzFormatter&&!e.nzFormatter.isFirstChange()){var t=this.getCurrentValidValue(this.parsedValue);this.setValue(t),this.updateDisplayValue(t)}},e.prototype.ngAfterViewInit=function(){this.nzAutoFocus&&this.focus()},e.prototype.ngOnDestroy=function(){this.focusMonitor.stopMonitoring(this.elementRef)},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.h),i.Tb(yo))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-input-number"]],viewQuery:function(e,t){var n;1&e&&i.Jc(RO,!0),2&e&&i.zc(n=i.ic())&&(t.inputElement=n.first)},hostVars:10,hostBindings:function(e,t){2&e&&i.Jb("ant-input-number",!0)("ant-input-number-focused",t.isFocused)("ant-input-number-lg","large"===t.nzSize)("ant-input-number-sm","small"===t.nzSize)("ant-input-number-disabled",t.nzDisabled)},inputs:{nzSize:"nzSize",nzMin:"nzMin",nzMax:"nzMax",nzParser:"nzParser",nzPrecisionMode:"nzPrecisionMode",nzPlaceHolder:"nzPlaceHolder",nzStep:"nzStep",nzId:"nzId",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzFormatter:"nzFormatter",nzPrecision:"nzPrecision"},outputs:{nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzInputNumber"],features:[i.Cb([{provide:Ot.m,useExisting:Object(i.V)((function(){return e})),multi:!0}]),i.Bb],decls:20,vars:12,consts:[[1,"ant-input-number-handler-wrap"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-up",3,"mousedown","mouseup","mouseleave"],["nz-icon","","nzType","up",1,"ant-input-number-handler-up-inner"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-down",3,"mousedown","mouseup","mouseleave"],["nz-icon","","nzType","down",1,"ant-input-number-handler-down-inner"],[1,"ant-input-number-input-wrap"],["autocomplete","off",1,"ant-input-number-input",3,"disabled","placeholder","ngModel","keydown","keyup","ngModelChange"],["inputElement",""]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Zb(3,"span",1),i.hc("mousedown",(function(e){return t.up(e)}))("mouseup",(function(){return t.stop()}))("mouseleave",(function(){return t.stop()})),i.Nc(4,"\n "),i.Ub(5,"i",2),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n "),i.Zb(8,"span",3),i.hc("mousedown",(function(e){return t.down(e)}))("mouseup",(function(){return t.stop()}))("mouseleave",(function(){return t.stop()})),i.Nc(9,"\n "),i.Ub(10,"i",4),i.Nc(11,"\n "),i.Yb(),i.Nc(12,"\n "),i.Yb(),i.Nc(13,"\n "),i.Zb(14,"div",5),i.Nc(15,"\n "),i.Zb(16,"input",6,7),i.hc("keydown",(function(e){return t.onKeyDown(e)}))("keyup",(function(){return t.stop()}))("ngModelChange",(function(e){return t.onModelChange(e)})),i.Yb(),i.Nc(18,"\n "),i.Yb(),i.Nc(19,"\n ")),2&e&&(i.Db(3),i.Jb("ant-input-number-handler-up-disabled",t.disabledUp),i.Db(5),i.Jb("ant-input-number-handler-down-disabled",t.disabledDown),i.Db(8),i.sc("disabled",t.nzDisabled)("placeholder",t.nzPlaceHolder)("ngModel",t.displayValue),i.Eb("id",t.nzId)("autofocus",t.nzAutoFocus?"autofocus":null)("min",t.nzMin)("max",t.nzMax)("step",t.nzStep))},directives:[Ns.a,Ot.e,Ot.o,Ot.r],encapsulation:2,changeDetection:0}),e}(),BO=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,Ns.b]]}),e}(),YO=n("QJHY"),UO=["*"];function HO(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",2),i.hc("click",(function(){i.Dc(n);var e=i.kc();return e.setCollapsed(!e.nzCollapsed)})),i.Yb()}if(2&e){var r=i.kc();i.sc("matchBreakPoint",r.matchBreakPoint)("nzCollapsedWidth",r.nzCollapsedWidth)("nzCollapsed",r.nzCollapsed)("nzBreakpoint",r.nzBreakpoint)("nzReverseArrow",r.nzReverseArrow)("nzTrigger",r.nzTrigger)("nzZeroTrigger",r.nzZeroTrigger)("siderWidth",r.widthSetting)}}var WO=["nz-sider-trigger",""];function qO(e,t){}function ZO(e,t){if(1&e&&(i.Xb(0),i.Lc(1,qO,0,0,"ng-template",3),i.Wb()),2&e){var n=i.kc(),r=i.Ac(5);i.Db(1),i.sc("ngTemplateOutlet",n.nzZeroTrigger||r)}}function $O(e,t){}function GO(e,t){if(1&e&&(i.Xb(0),i.Lc(1,$O,0,0,"ng-template",3),i.Wb()),2&e){var n=i.kc(),r=i.Ac(3);i.Db(1),i.sc("ngTemplateOutlet",n.nzTrigger||r)}}function QO(e,t){if(1&e&&i.Ub(0,"i",5),2&e){var n=i.kc(2);i.sc("nzType",n.nzCollapsed?"right":"left")}}function XO(e,t){if(1&e&&i.Ub(0,"i",5),2&e){var n=i.kc(2);i.sc("nzType",n.nzCollapsed?"left":"right")}}function KO(e,t){if(1&e&&(i.Lc(0,QO,1,1,"i",4),i.Lc(1,XO,1,1,"i",4)),2&e){var n=i.kc();i.sc("ngIf",!n.nzReverseArrow),i.Db(1),i.sc("ngIf",n.nzReverseArrow)}}function JO(e,t){1&e&&i.Ub(0,"i",6)}var eC=function(){function e(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-content")}return e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-content"]],exportAs:["nzContent"],ngContentSelectors:UO,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),e}(),tC=function(){function e(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-footer")}return e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-footer"]],exportAs:["nzFooter"],ngContentSelectors:UO,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),e}(),nC=function(){function e(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-header")}return e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-header"]],exportAs:["nzHeader"],ngContentSelectors:UO,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),e}(),iC=function(){function e(e,t,n){this.platform=e,this.cdr=t,this.breakpointService=n,this.destroy$=new kt.a,this.nzMenuDirective=null,this.nzCollapsedChange=new i.n,this.nzWidth=200,this.nzTheme="dark",this.nzCollapsedWidth=80,this.nzBreakpoint=null,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.nzReverseArrow=!1,this.nzCollapsible=!1,this.nzCollapsed=!1,this.matchBreakPoint=!1,this.flexSetting=null,this.widthSetting=null}return e.prototype.updateStyleMap=function(){this.widthSetting=this.nzCollapsed?this.nzCollapsedWidth+"px":Object(es.D)(this.nzWidth),this.flexSetting="0 0 "+this.widthSetting,this.cdr.markForCheck()},e.prototype.updateMenuInlineCollapsed=function(){this.nzMenuDirective&&"inline"===this.nzMenuDirective.nzMode&&0!==this.nzCollapsedWidth&&this.nzMenuDirective.setInlineCollapsed(this.nzCollapsed)},e.prototype.setCollapsed=function(e){e!==this.nzCollapsed&&(this.nzCollapsed=e,this.nzCollapsedChange.emit(e),this.updateMenuInlineCollapsed(),this.updateStyleMap(),this.cdr.markForCheck())},e.prototype.ngOnInit=function(){var e=this;this.updateStyleMap(),this.platform.isBrowser&&this.breakpointService.subscribe(ys,!0).pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){var n=e.nzBreakpoint;n&&Object(es.l)().subscribe((function(){e.matchBreakPoint=!t[n],e.setCollapsed(e.matchBreakPoint),e.cdr.markForCheck()}))}))},e.prototype.ngOnChanges=function(e){var t=e.nzCollapsed;(t||e.nzCollapsedWidth||e.nzWidth)&&this.updateStyleMap(),t&&this.updateMenuInlineCollapsed()},e.prototype.ngAfterContentInit=function(){this.updateMenuInlineCollapsed()},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzReverseArrow",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzCollapsible",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzCollapsed",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Xr.a),i.Tb(i.h),i.Tb(ws))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-sider"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,YO.c,!0),2&e&&i.zc(r=i.ic())&&(t.nzMenuDirective=r.first)},hostVars:18,hostBindings:function(e,t){2&e&&(i.Kc("flex",t.flexSetting)("max-width",t.widthSetting)("min-width",t.widthSetting)("width",t.widthSetting),i.Jb("ant-layout-sider",!0)("ant-layout-sider-zero-width",t.nzCollapsed&&0===t.nzCollapsedWidth)("ant-layout-sider-light","light"===t.nzTheme)("ant-layout-sider-dark","dark"===t.nzTheme)("ant-layout-sider-collapsed",t.nzCollapsed))},inputs:{nzWidth:"nzWidth",nzTheme:"nzTheme",nzCollapsedWidth:"nzCollapsedWidth",nzBreakpoint:"nzBreakpoint",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",nzReverseArrow:"nzReverseArrow",nzCollapsible:"nzCollapsible",nzCollapsed:"nzCollapsed"},outputs:{nzCollapsedChange:"nzCollapsedChange"},exportAs:["nzSider"],features:[i.Bb],ngContentSelectors:UO,decls:3,vars:1,consts:[[1,"ant-layout-sider-children"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click",4,"ngIf"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"div",0),i.qc(1),i.Yb(),i.Lc(2,HO,1,8,"div",1)),2&e&&(i.Db(2),i.sc("ngIf",t.nzCollapsible&&null!==t.nzTrigger))},directives:function(){return[Vr.t,oC]},encapsulation:2,changeDetection:0}),e}(),rC=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-layout"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,iC,!1),2&e&&i.zc(r=i.ic())&&(t.listOfNzSiderComponent=r)},hostVars:4,hostBindings:function(e,t){2&e&&i.Jb("ant-layout-has-sider",t.listOfNzSiderComponent.length>0)("ant-layout",!0)},exportAs:["nzLayout"],ngContentSelectors:UO,decls:1,vars:0,template:function(e,t){1&e&&(i.rc(),i.qc(0))},encapsulation:2,changeDetection:0}),e}(),oC=function(){function e(){this.nzCollapsed=!1,this.nzReverseArrow=!1,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.matchBreakPoint=!1,this.nzCollapsedWidth=null,this.siderWidth=null,this.nzBreakpoint=null,this.isZeroTrigger=!1,this.isNormalTrigger=!1}return e.prototype.updateTriggerType=function(){this.isZeroTrigger=0===this.nzCollapsedWidth&&(this.nzBreakpoint&&this.matchBreakPoint||!this.nzBreakpoint),this.isNormalTrigger=0!==this.nzCollapsedWidth},e.prototype.ngOnInit=function(){this.updateTriggerType()},e.prototype.ngOnChanges=function(){this.updateTriggerType()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-sider-trigger",""]],hostVars:10,hostBindings:function(e,t){2&e&&(i.Kc("width",t.isNormalTrigger?t.siderWidth:null),i.Jb("ant-layout-sider-trigger",t.isNormalTrigger)("ant-layout-sider-zero-width-trigger",t.isZeroTrigger)("ant-layout-sider-zero-width-trigger-right",t.isZeroTrigger&&t.nzReverseArrow)("ant-layout-sider-zero-width-trigger-left",t.isZeroTrigger&&!t.nzReverseArrow))},inputs:{nzCollapsed:"nzCollapsed",nzReverseArrow:"nzReverseArrow",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",matchBreakPoint:"matchBreakPoint",nzCollapsedWidth:"nzCollapsedWidth",siderWidth:"siderWidth",nzBreakpoint:"nzBreakpoint"},exportAs:["nzSiderTrigger"],features:[i.Bb],attrs:WO,decls:6,vars:2,consts:[[4,"ngIf"],["defaultTrigger",""],["defaultZeroTrigger",""],[3,"ngTemplateOutlet"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","bars"]],template:function(e,t){1&e&&(i.Lc(0,ZO,2,1,"ng-container",0),i.Lc(1,GO,2,1,"ng-container",0),i.Lc(2,KO,2,2,"ng-template",null,1,i.Mc),i.Lc(4,JO,1,0,"ng-template",null,2,i.Mc)),2&e&&(i.sc("ngIf",t.isZeroTrigger),i.Db(1),i.sc("ngIf",t.isNormalTrigger))},directives:[Vr.t,Vr.A,Ns.a],encapsulation:2,changeDetection:0}),e}(),aC=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ns.b,cs,Xr.b]]}),e}();function sC(e,t){1&e&&(i.Zb(0,"span",3),i.Ub(1,"i",4),i.Ub(2,"i",4),i.Ub(3,"i",4),i.Ub(4,"i",4),i.Yb())}function cC(e,t){}function uC(e,t){if(1&e&&(i.Zb(0,"div",8),i.Nc(1),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzTip)}}function lC(e,t){if(1&e&&(i.Zb(0,"div"),i.Zb(1,"div",5),i.Lc(2,cC,0,0,"ng-template",6),i.Lc(3,uC,2,1,"div",7),i.Yb(),i.Yb()),2&e){var n=i.kc(),r=i.Ac(1);i.Db(1),i.Jb("ant-spin-spinning",n.isLoading)("ant-spin-lg","large"===n.nzSize)("ant-spin-sm","small"===n.nzSize)("ant-spin-show-text",n.nzTip),i.Db(1),i.sc("ngTemplateOutlet",n.nzIndicator||r),i.Db(1),i.sc("ngIf",n.nzTip)}}function pC(e,t){if(1&e&&(i.Zb(0,"div",9),i.qc(1),i.Yb()),2&e){var n=i.kc();i.Jb("ant-spin-blur",n.isLoading)}}var hC=["*"],dC=function(){function e(e,t){this.nzConfigService=e,this.cdr=t,this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new kt.a,this.spinning$=new qu.a(this.nzSpinning),this.delay$=new qu.a(this.nzDelay),this.isLoading=!0}return e.prototype.ngOnInit=function(){var e=this;this.spinning$.pipe(Object(Wt.a)((function(){return e.delay$})),Object(Wt.a)((function(t){return 0===t?e.spinning$:e.spinning$.pipe(Object(Gr.a)(t))})),Object(ss.a)(this.destroy$)).subscribe((function(t){e.isLoading=t,e.cdr.markForCheck()})),this.nzConfigService.getConfigChangeEventForComponent("spin").pipe(Object(ss.a)(this.destroy$)).subscribe((function(){return e.cdr.markForCheck()}))},e.prototype.ngOnChanges=function(e){var t=e.nzDelay;e.nzSpinning&&this.spinning$.next(this.nzSpinning),t&&this.delay$.next(this.nzDelay)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(Qa.b)("spin"),Object(zt.d)("design:type",Object)],e.prototype,"nzIndicator",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDelay",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzSimple",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzSpinning",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-spin-nested-loading",!t.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[i.Bb],ngContentSelectors:hC,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(e,t){1&e&&(i.rc(),i.Lc(0,sC,5,0,"ng-template",null,0,i.Mc),i.Lc(2,lC,4,10,"div",1),i.Lc(3,pC,2,2,"div",2)),2&e&&(i.Db(2),i.sc("ngIf",t.isLoading),i.Db(1),i.sc("ngIf",!t.nzSimple))},directives:[Vr.t,Vr.A],encapsulation:2}),e}(),fC=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,to]]}),e}(),gC=["*"];function bC(e,t){if(1&e&&i.Ub(0,"nz-avatar",3),2&e){var n=i.kc();i.sc("nzSrc",n.nzSrc)}}function mC(e,t){1&e&&i.qc(0,0,["*ngIf","!nzSrc"])}function vC(e,t){if(1&e&&i.Ub(0,"nz-list-item-meta-avatar",3),2&e){var n=i.kc();i.sc("nzSrc",n.avatarStr)}}function yC(e,t){if(1&e&&(i.Zb(0,"nz-list-item-meta-avatar"),i.Vb(1,4),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("ngTemplateOutlet",n.avatarTpl)}}function wC(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Oc(n.nzTitle)}}function OC(e,t){if(1&e&&(i.Zb(0,"nz-list-item-meta-title"),i.Lc(1,wC,2,1,"ng-container",6),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzTitle)}}function CC(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Oc(n.nzDescription)}}function SC(e,t){if(1&e&&(i.Zb(0,"nz-list-item-meta-description"),i.Lc(1,CC,2,1,"ng-container",6),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzDescription)}}function zC(e,t){if(1&e&&(i.Zb(0,"div",5),i.Lc(1,OC,2,1,"nz-list-item-meta-title",1),i.Lc(2,SC,2,1,"nz-list-item-meta-description",1),i.qc(3,1),i.qc(4,2),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",n.nzTitle&&!n.titleComponent),i.Db(1),i.sc("ngIf",n.nzDescription&&!n.descriptionComponent)}}var TC=[[["nz-list-item-meta-avatar"]],[["nz-list-item-meta-title"]],[["nz-list-item-meta-description"]]],_C=["nz-list-item-meta-avatar","nz-list-item-meta-title","nz-list-item-meta-description"];function kC(e,t){1&e&&i.qc(0)}var DC=["nz-list-item-actions",""];function xC(e,t){}function EC(e,t){1&e&&i.Ub(0,"em",3)}function NC(e,t){if(1&e&&(i.Zb(0,"li"),i.Nc(1,"\n "),i.Lc(2,xC,0,0,"ng-template",1),i.Nc(3,"\n "),i.Lc(4,EC,1,0,"em",2),i.Nc(5,"\n "),i.Yb()),2&e){var n=t.$implicit,r=t.last;i.Db(2),i.sc("ngTemplateOutlet",n),i.Db(2),i.sc("ngIf",!r)}}function jC(e,t){}var IC=function(e,t){return{$implicit:e,index:t}};function AC(e,t){if(1&e&&(i.Xb(0),i.Lc(1,jC,0,0,"ng-template",9),i.Wb()),2&e){var n=t.$implicit,r=t.index,o=i.kc(2);i.Db(1),i.sc("ngTemplateOutlet",o.nzRenderItem)("ngTemplateOutletContext",i.wc(2,IC,n,r))}}function MC(e,t){if(1&e&&(i.Zb(0,"div",7),i.Lc(1,AC,2,5,"ng-container",8),i.qc(2,5),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("ngForOf",n.nzDataSource)}}function LC(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzHeader)}}function PC(e,t){if(1&e&&(i.Zb(0,"nz-list-header"),i.Lc(1,LC,2,1,"ng-container",10),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("nzStringTemplateOutlet",n.nzHeader)}}function FC(e,t){1&e&&i.Ub(0,"div"),2&e&&i.Kc("min-height",53,"px")}function RC(e,t){}function VC(e,t){if(1&e&&(i.Zb(0,"div",13),i.Lc(1,RC,0,0,"ng-template",9),i.Yb()),2&e){var n=t.$implicit,r=t.index,o=i.kc(2);i.sc("nzSpan",o.nzGrid.span||null)("nzXs",o.nzGrid.xs||null)("nzSm",o.nzGrid.sm||null)("nzMd",o.nzGrid.md||null)("nzLg",o.nzGrid.lg||null)("nzXl",o.nzGrid.xl||null)("nzXXl",o.nzGrid.xxl||null),i.Db(1),i.sc("ngTemplateOutlet",o.nzRenderItem)("ngTemplateOutletContext",i.wc(9,IC,n,r))}}function BC(e,t){if(1&e&&(i.Zb(0,"div",11),i.Lc(1,VC,2,12,"div",12),i.Yb()),2&e){var n=i.kc();i.sc("nzGutter",n.nzGrid.gutter||null),i.Db(1),i.sc("ngForOf",n.nzDataSource)}}function YC(e,t){if(1&e&&i.Ub(0,"nz-list-empty",14),2&e){var n=i.kc();i.sc("nzNoResult",n.nzNoResult)}}function UC(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzFooter)}}function HC(e,t){if(1&e&&(i.Zb(0,"nz-list-footer"),i.Lc(1,UC,2,1,"ng-container",10),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("nzStringTemplateOutlet",n.nzFooter)}}function WC(e,t){}function qC(e,t){}function ZC(e,t){if(1&e&&(i.Zb(0,"nz-list-pagination"),i.Lc(1,qC,0,0,"ng-template",6),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("ngTemplateOutlet",n.nzPagination)}}var $C=[[["nz-list-header"]],"*",[["nz-list-footer"],["","nz-list-footer",""]],[["nz-list-load-more"],["","nz-list-load-more",""]],[["nz-list-pagination"],["","nz-list-pagination",""]],[["nz-list-item"],["","nz-list-item",""]]],GC=["nz-list-header","*","nz-list-footer, [nz-list-footer]","nz-list-load-more, [nz-list-load-more]","nz-list-pagination, [nz-list-pagination]","nz-list-item, [nz-list-item]"];function QC(e,t){if(1&e&&i.Ub(0,"ul",6),2&e){var n=i.kc(2);i.sc("nzActions",n.nzActions)}}function XC(e,t){if(1&e&&(i.Lc(0,QC,1,1,"ul",5),i.qc(1)),2&e){var n=i.kc();i.sc("ngIf",n.nzActions&&n.nzActions.length>0)}}function KC(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Oc(n.nzContent)}}function JC(e,t){if(1&e&&(i.Xb(0),i.Lc(1,KC,2,1,"ng-container",8),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzContent)}}function eS(e,t){if(1&e&&(i.qc(0,1),i.qc(1,2),i.Lc(2,JC,2,1,"ng-container",7)),2&e){var n=i.kc();i.Db(2),i.sc("ngIf",n.nzContent)}}function tS(e,t){1&e&&i.qc(0,3)}function nS(e,t){}function iS(e,t){}function rS(e,t){}function oS(e,t){}function aS(e,t){if(1&e&&(i.Lc(0,nS,0,0,"ng-template",9),i.Lc(1,iS,0,0,"ng-template",9),i.Lc(2,rS,0,0,"ng-template",9),i.Lc(3,oS,0,0,"ng-template",9)),2&e){var n=i.kc(),r=i.Ac(3),o=i.Ac(5),a=i.Ac(1);i.sc("ngTemplateOutlet",r),i.Db(1),i.sc("ngTemplateOutlet",n.nzExtra),i.Db(1),i.sc("ngTemplateOutlet",o),i.Db(1),i.sc("ngTemplateOutlet",a)}}function sS(e,t){}function cS(e,t){}function uS(e,t){}function lS(e,t){if(1&e&&(i.Zb(0,"nz-list-item-extra"),i.Lc(1,uS,0,0,"ng-template",9),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("ngTemplateOutlet",n.nzExtra)}}function pS(e,t){}function hS(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"div",10),i.Lc(2,sS,0,0,"ng-template",9),i.Lc(3,cS,0,0,"ng-template",9),i.Yb(),i.Lc(4,lS,2,1,"nz-list-item-extra",7),i.Lc(5,pS,0,0,"ng-template",9),i.Wb()),2&e){var n=i.kc(),r=i.Ac(3),o=i.Ac(1),a=i.Ac(5);i.Db(2),i.sc("ngTemplateOutlet",r),i.Db(1),i.sc("ngTemplateOutlet",o),i.Db(1),i.sc("ngIf",n.nzExtra),i.Db(1),i.sc("ngTemplateOutlet",a)}}var dS=[[["nz-list-item-actions"],["","nz-list-item-actions",""]],[["nz-list-item-meta"],["","nz-list-item-meta",""]],"*",[["nz-list-item-extra"],["","nz-list-item-extra",""]]],fS=["nz-list-item-actions, [nz-list-item-actions]","nz-list-item-meta, [nz-list-item-meta]","*","nz-list-item-extra, [nz-list-item-extra]"],gS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-item-meta-title"]],exportAs:["nzListItemMetaTitle"],ngContentSelectors:gC,decls:6,vars:0,consts:[[1,"ant-list-item-meta-title"]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Zb(1,"h4",0),i.Nc(2,"\n "),i.qc(3),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "))},encapsulation:2,changeDetection:0}),e}(),bS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-item-meta-description"]],exportAs:["nzListItemMetaDescription"],ngContentSelectors:gC,decls:6,vars:0,consts:[[1,"ant-list-item-meta-description"]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.qc(3),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "))},encapsulation:2,changeDetection:0}),e}(),mS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-item-meta-avatar"]],inputs:{nzSrc:"nzSrc"},exportAs:["nzListItemMetaAvatar"],ngContentSelectors:gC,decls:8,vars:2,consts:[[1,"ant-list-item-meta-avatar"],[3,"nzSrc",4,"ngIf"],[4,"ngIf"],[3,"nzSrc"]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Lc(3,bC,1,1,"nz-avatar",1),i.Nc(4,"\n "),i.Lc(5,mC,1,0,void 0,2),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n ")),2&e&&(i.Db(3),i.sc("ngIf",t.nzSrc),i.Db(2),i.sc("ngIf",!t.nzSrc))},directives:[Vr.t,cu],encapsulation:2,changeDetection:0}),e}(),vS=function(){function e(e,t){this.elementRef=e,this.renderer=t,this.avatarStr="",this.renderer.addClass(e.nativeElement,"ant-list-item-meta")}return Object.defineProperty(e.prototype,"nzAvatar",{set:function(e){e instanceof i.M?(this.avatarStr="",this.avatarTpl=e):this.avatarStr=e},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-item-meta"],["","nz-list-item-meta",""]],contentQueries:function(e,t,n){var r;1&e&&(i.Lb(n,bS,!0),i.Lb(n,gS,!0)),2&e&&(i.zc(r=i.ic())&&(t.descriptionComponent=r.first),i.zc(r=i.ic())&&(t.titleComponent=r.first))},inputs:{nzAvatar:"nzAvatar",nzTitle:"nzTitle",nzDescription:"nzDescription"},exportAs:["nzListItemMeta"],ngContentSelectors:_C,decls:4,vars:3,consts:[[3,"nzSrc",4,"ngIf"],[4,"ngIf"],["class","ant-list-item-meta-content",4,"ngIf"],[3,"nzSrc"],[3,"ngTemplateOutlet"],[1,"ant-list-item-meta-content"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(i.rc(TC),i.Lc(0,vC,1,1,"nz-list-item-meta-avatar",0),i.Lc(1,yC,2,1,"nz-list-item-meta-avatar",1),i.qc(2),i.Lc(3,zC,5,2,"div",2)),2&e&&(i.sc("ngIf",t.avatarStr),i.Db(1),i.sc("ngIf",t.avatarTpl),i.Db(2),i.sc("ngIf",t.nzTitle||t.nzDescription||t.descriptionComponent||t.titleComponent))},directives:[Vr.t,mS,Vr.A,gS,Es.b,bS],encapsulation:2,changeDetection:0}),e}(),yS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-item-extra"],["","nz-list-item-extra",""]],hostAttrs:[1,"ant-list-item-extra"],exportAs:["nzListItemExtra"],ngContentSelectors:gC,decls:3,vars:0,template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.qc(1),i.Nc(2,"\n "))},encapsulation:2,changeDetection:0}),e}(),wS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-item-action"]],viewQuery:function(e,t){var n;1&e&&i.Sc(i.M,!0),2&e&&i.zc(n=i.ic())&&(t.templateRef=n.first)},exportAs:["nzListItemAction"],ngContentSelectors:gC,decls:3,vars:0,template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Lc(1,kC,1,0,"ng-template"),i.Nc(2,"\n "))},encapsulation:2,changeDetection:0}),e}(),OS=function(){function e(e,t){var n=this;this.ngZone=e,this.cdr=t,this.nzActions=[],this.actions=[],this.destroy$=new kt.a,this.inputActionChanges$=new kt.a,this.contentChildrenChanges$=Object(Dt.a)((function(){return n.nzListItemActions?Object(qr.a)(null):n.ngZone.onStable.asObservable().pipe(Object(en.a)(1),Object(sc.a)((function(){return n.contentChildrenChanges$})))})),Object(Tt.a)(this.contentChildrenChanges$,this.inputActionChanges$).pipe(Object(ss.a)(this.destroy$)).subscribe((function(){n.actions=n.nzActions.length?n.nzActions:n.nzListItemActions.map((function(e){return e.templateRef})),n.cdr.markForCheck()}))}return e.prototype.ngOnChanges=function(){this.inputActionChanges$.next(null)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.z),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["ul","nz-list-item-actions",""]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,wS,!1),2&e&&i.zc(r=i.ic())&&(t.nzListItemActions=r)},hostAttrs:[1,"ant-list-item-action"],inputs:{nzActions:"nzActions"},exportAs:["nzListItemActions"],features:[i.Bb],attrs:DC,decls:3,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["class","ant-list-item-action-split",4,"ngIf"],[1,"ant-list-item-action-split"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Lc(1,NC,6,2,"li",0),i.Nc(2,"\n ")),2&e&&(i.Db(1),i.sc("ngForOf",t.actions))},directives:[Vr.s,Vr.A,Vr.t],encapsulation:2,changeDetection:0}),e}(),CS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-empty"]],hostAttrs:[1,"ant-list-empty-text"],inputs:{nzNoResult:"nzNoResult"},exportAs:["nzListHeader"],decls:3,vars:2,consts:[[3,"nzComponentName","specificContent"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Ub(1,"nz-embed-empty",0),i.Nc(2,"\n ")),2&e&&(i.Db(1),i.sc("nzComponentName","list")("specificContent",t.nzNoResult))},directives:[im],encapsulation:2,changeDetection:0}),e}(),SS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-header"]],hostAttrs:[1,"ant-list-header"],exportAs:["nzListHeader"],ngContentSelectors:gC,decls:3,vars:0,template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.qc(1),i.Nc(2,"\n "))},encapsulation:2,changeDetection:0}),e}(),zS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-footer"]],hostAttrs:[1,"ant-list-footer"],exportAs:["nzListFooter"],ngContentSelectors:gC,decls:3,vars:0,template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.qc(1),i.Nc(2,"\n "))},encapsulation:2,changeDetection:0}),e}(),TS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-pagination"]],hostAttrs:[1,"ant-list-pagination"],exportAs:["nzListPagination"],ngContentSelectors:gC,decls:3,vars:0,template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.qc(1),i.Nc(2,"\n "))},encapsulation:2,changeDetection:0}),e}(),_S=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-list-load-more"]],exportAs:["nzListLoadMoreDirective"]}),e}(),kS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-list","nzGrid",""]],hostAttrs:[1,"ant-list-grid"]}),e}(),DS=function(){function e(){this.nzBordered=!1,this.nzItemLayout="horizontal",this.nzRenderItem=null,this.nzLoading=!1,this.nzLoadMore=null,this.nzSize="default",this.nzSplit=!0,this.hasSomethingAfterLastItem=!1,this.itemLayoutNotifySource=new qu.a(this.nzItemLayout)}return Object.defineProperty(e.prototype,"itemLayoutNotify$",{get:function(){return this.itemLayoutNotifySource.asObservable()},enumerable:!0,configurable:!0}),e.prototype.getSomethingAfterLastItem=function(){return!!(this.nzLoadMore||this.nzPagination||this.nzFooter||this.nzListFooterComponent||this.nzListPaginationComponent||this.nzListLoadMoreDirective)},e.prototype.ngOnChanges=function(e){e.nzItemLayout&&this.itemLayoutNotifySource.next(this.nzItemLayout)},e.prototype.ngOnDestroy=function(){this.itemLayoutNotifySource.unsubscribe()},e.prototype.ngAfterContentInit=function(){this.hasSomethingAfterLastItem=this.getSomethingAfterLastItem()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzBordered",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzLoading",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzSplit",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list"],["","nz-list",""]],contentQueries:function(e,t,n){var r;1&e&&(i.Lb(n,zS,!0),i.Lb(n,TS,!0),i.Lb(n,_S,!0)),2&e&&(i.zc(r=i.ic())&&(t.nzListFooterComponent=r.first),i.zc(r=i.ic())&&(t.nzListPaginationComponent=r.first),i.zc(r=i.ic())&&(t.nzListLoadMoreDirective=r.first))},hostVars:16,hostBindings:function(e,t){2&e&&i.Jb("ant-list",!0)("ant-list-vertical","vertical"===t.nzItemLayout)("ant-list-lg","large"===t.nzSize)("ant-list-sm","small"===t.nzSize)("ant-list-split",t.nzSplit)("ant-list-bordered",t.nzBordered)("ant-list-loading",t.nzLoading)("ant-list-something-after-last-item",t.hasSomethingAfterLastItem)},inputs:{nzBordered:"nzBordered",nzItemLayout:"nzItemLayout",nzRenderItem:"nzRenderItem",nzLoading:"nzLoading",nzLoadMore:"nzLoadMore",nzSize:"nzSize",nzSplit:"nzSplit",nzDataSource:"nzDataSource",nzGrid:"nzGrid",nzHeader:"nzHeader",nzFooter:"nzFooter",nzPagination:"nzPagination",nzNoResult:"nzNoResult"},exportAs:["nzList"],features:[i.Bb],ngContentSelectors:GC,decls:16,vars:9,consts:[["itemsTpl",""],[4,"ngIf"],[3,"nzSpinning"],[3,"min-height",4,"ngIf"],["nz-row","",3,"nzGutter",4,"ngIf","ngIfElse"],[3,"nzNoResult",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-list-items"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"],[3,"nzNoResult"]],template:function(e,t){if(1&e&&(i.rc($C),i.Lc(0,MC,3,1,"ng-template",null,0,i.Mc),i.Lc(2,PC,2,1,"nz-list-header",1),i.qc(3),i.Zb(4,"nz-spin",2),i.Xb(5),i.Lc(6,FC,1,2,"div",3),i.Lc(7,BC,2,2,"div",4),i.Lc(8,YC,1,1,"nz-list-empty",5),i.Wb(),i.qc(9,1),i.Yb(),i.Lc(10,HC,2,1,"nz-list-footer",1),i.qc(11,2),i.Lc(12,WC,0,0,"ng-template",6),i.qc(13,3),i.Lc(14,ZC,2,1,"nz-list-pagination",1),i.qc(15,4)),2&e){var n=i.Ac(1);i.Db(2),i.sc("ngIf",t.nzHeader),i.Db(2),i.sc("nzSpinning",t.nzLoading),i.Db(2),i.sc("ngIf",t.nzLoading&&t.nzDataSource&&0===t.nzDataSource.length),i.Db(1),i.sc("ngIf",t.nzGrid&&t.nzDataSource)("ngIfElse",n),i.Db(1),i.sc("ngIf",!t.nzLoading&&t.nzDataSource&&0===t.nzDataSource.length),i.Db(2),i.sc("ngIf",t.nzFooter),i.Db(2),i.sc("ngTemplateOutlet",t.nzLoadMore),i.Db(2),i.sc("ngIf",t.nzPagination)}},directives:[Vr.t,dC,Vr.A,Vr.s,SS,Es.b,OO,CO,CS,zS,TS],encapsulation:2,changeDetection:0}),e}(),xS=function(){function e(e,t,n,i){this.parentComp=n,this.cdr=i,this.nzActions=[],this.nzExtra=null,this.nzNoFlex=!1,t.addClass(e.nativeElement,"ant-list-item")}return Object.defineProperty(e.prototype,"isVerticalAndExtra",{get:function(){return!("vertical"!==this.itemLayout||!this.listItemExtraDirective&&!this.nzExtra)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;this.itemLayout$=this.parentComp.itemLayoutNotify$.subscribe((function(t){e.itemLayout=t,e.cdr.detectChanges()}))},e.prototype.ngOnDestroy=function(){this.itemLayout$&&this.itemLayout$.unsubscribe()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzNoFlex",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E),i.Tb(DS),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-list-item"],["","nz-list-item",""]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,yS,!0),2&e&&i.zc(r=i.ic())&&(t.listItemExtraDirective=r.first)},hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-list-item-no-flex",t.nzNoFlex)},inputs:{nzActions:"nzActions",nzExtra:"nzExtra",nzNoFlex:"nzNoFlex",nzContent:"nzContent"},exportAs:["nzListItem"],ngContentSelectors:fS,decls:9,vars:2,consts:[["actionsTpl",""],["contentTpl",""],["extraTpl",""],["simpleTpl",""],[4,"ngIf","ngIfElse"],["nz-list-item-actions","",3,"nzActions",4,"ngIf"],["nz-list-item-actions","",3,"nzActions"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngTemplateOutlet"],[1,"ant-list-item-main"]],template:function(e,t){if(1&e&&(i.rc(dS),i.Lc(0,XC,2,1,"ng-template",null,0,i.Mc),i.Lc(2,eS,3,1,"ng-template",null,1,i.Mc),i.Lc(4,tS,1,0,"ng-template",null,2,i.Mc),i.Lc(6,aS,4,4,"ng-template",null,3,i.Mc),i.Lc(8,hS,6,4,"ng-container",4)),2&e){var n=i.Ac(7);i.Db(8),i.sc("ngIf",t.isVerticalAndExtra)("ngIfElse",n)}},directives:[Vr.t,OS,Es.b,Vr.A,yS],encapsulation:2,changeDetection:0}),e}(),ES=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,fC,SO,uu,Es.a,cm]]}),e}();function NS(e,t){1&e&&i.Vb(0)}var jS=function(e){return{$implicit:e}};function IS(e,t){if(1&e&&(i.Xb(0),i.Lc(1,NS,1,0,"ng-container",7),i.Wb()),2&e){var n=i.kc().$implicit,r=i.kc(2);i.Db(1),i.sc("ngTemplateOutlet",r.suggestionTemplate)("ngTemplateOutletContext",i.vc(2,jS,n))}}function AS(e,t){if(1&e&&i.Nc(0),2&e){var n=i.kc().$implicit,r=i.kc(2);i.Oc(r.nzValueWith(n))}}function MS(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",4),i.hc("mousedown",(function(e){return i.Dc(n),e.preventDefault()}))("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc(2).selectSuggestion(e)})),i.Lc(1,IS,2,4,"ng-container",5),i.Lc(2,AS,1,1,"ng-template",null,6,i.Mc),i.Yb()}if(2&e){var r=t.index,o=i.Ac(3),a=i.kc(2);i.Jb("focus",r===a.activeIndex),i.Db(1),i.sc("ngIf",a.suggestionTemplate)("ngIfElse",o)}}function LS(e,t){1&e&&(i.Zb(0,"span"),i.Ub(1,"i",10),i.Yb())}function PS(e,t){if(1&e&&(i.Zb(0,"span"),i.Nc(1),i.Yb()),2&e){var n=i.kc(3);i.Db(1),i.Oc(n.nzNotFoundContent)}}function FS(e,t){if(1&e&&(i.Zb(0,"li",8),i.Lc(1,LS,2,0,"span",9),i.Lc(2,PS,2,1,"span",9),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("ngIf",n.nzLoading),i.Db(1),i.sc("ngIf",!n.nzLoading)}}function RS(e,t){if(1&e&&(i.Zb(0,"ul",1),i.Lc(1,MS,4,4,"li",2),i.Lc(2,FS,3,2,"li",3),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("ngForOf",n.filteredSuggestions),i.Db(1),i.sc("ngIf",0===n.filteredSuggestions.length)}}var VS=["*"],BS=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["","nzMentionSuggestion",""]],exportAs:["nzMentionSuggestion"]}),e}(),YS=function(){function e(){this.triggerChange$=new kt.a}return e.prototype.triggerChanged=function(){return this.triggerChange$.asObservable()},e.prototype.registerTrigger=function(e){this.trigger!==e&&(this.trigger=e,this.triggerChange$.next(e))},e.prototype.ngOnDestroy=function(){this.triggerChange$.complete()},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),US={provide:Ot.m,useExisting:Object(i.V)((function(){return HS})),multi:!0},HS=function(){function e(e,t){this.el=e,this.nzMentionService=t,this.onChange=function(){},this.onTouched=function(){},this.onFocusin=new i.n,this.onBlur=new i.n,this.onInput=new i.n,this.onKeydown=new i.n,this.onClick=new i.n}return e.prototype.completeEvents=function(){this.onFocusin.complete(),this.onBlur.complete(),this.onInput.complete(),this.onKeydown.complete(),this.onClick.complete()},e.prototype.focus=function(e){this.el.nativeElement.focus(),this.el.nativeElement.setSelectionRange(e,e)},e.prototype.insertMention=function(e){var t=this.el.nativeElement.value,n=e.mention.trim()+" ",i=[t.slice(0,e.startPos+1),n,t.slice(e.endPos,t.length)].join("");this.el.nativeElement.value=i,this.focus(e.startPos+n.length+1),this.onChange(i),this.value=i},e.prototype.writeValue=function(e){this.value=e,this.el.nativeElement.value="string"==typeof e?e:""},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.ngAfterViewInit=function(){this.nzMentionService.registerTrigger(this)},e.prototype.ngOnDestroy=function(){this.completeEvents()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(YS))},e.\u0275dir=i.Ob({type:e,selectors:[["input","nzMentionTrigger",""],["textarea","nzMentionTrigger",""]],hostAttrs:["autocomplete","off"],hostBindings:function(e,t){1&e&&i.hc("focusin",(function(){return t.onFocusin.emit()}))("blur",(function(){return t.onBlur.emit()}))("input",(function(e){return t.onInput.emit(e)}))("keydown",(function(e){return t.onKeydown.emit(e)}))("click",(function(e){return t.onClick.emit(e)}))},exportAs:["nzMentionTrigger"],features:[i.Cb([US])]}),e}(),WS=function(){function e(e,t,n,r,o){this.ngDocument=e,this.cdr=t,this.overlay=n,this.viewContainerRef=r,this.nzMentionService=o,this.nzValueWith=function(e){return e},this.nzPrefix="@",this.nzLoading=!1,this.nzNotFoundContent="\u65e0\u5339\u914d\u7ed3\u679c\uff0c\u8f7b\u6572\u7a7a\u683c\u5b8c\u6210\u8f93\u5165",this.nzPlacement="bottom",this.nzSuggestions=[],this.nzOnSelect=new i.n,this.nzOnSearchChange=new i.n,this.isOpen=!1,this.filteredSuggestions=[],this.suggestionTemplate=null,this.activeIndex=-1,this.previousValue=null,this.cursorMention=null,this.overlayRef=null}return Object.defineProperty(e.prototype,"suggestionChild",{set:function(e){e&&(this.suggestionTemplate=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerNativeElement",{get:function(){return this.trigger.el.nativeElement},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.nzMentionService.triggerChanged().subscribe((function(t){e.trigger=t,e.bindTriggerEvents(),e.closeDropdown(),e.overlayRef=null}))},e.prototype.ngOnChanges=function(e){e.hasOwnProperty("nzSuggestions")&&this.isOpen&&(this.previousValue=null,this.activeIndex=-1,this.resetDropdown(!1))},e.prototype.ngOnDestroy=function(){this.closeDropdown()},e.prototype.closeDropdown=function(){this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.overlayBackdropClickSubscription.unsubscribe(),this.isOpen=!1,this.cdr.markForCheck())},e.prototype.openDropdown=function(){this.attachOverlay(),this.isOpen=!0,this.cdr.markForCheck()},e.prototype.getMentions=function(){return this.trigger?Object(es.h)(this.trigger.value,this.nzPrefix):[]},e.prototype.selectSuggestion=function(e){var t=this.nzValueWith(e);this.trigger.insertMention({mention:t,startPos:this.cursorMentionStart,endPos:this.cursorMentionEnd}),this.nzOnSelect.emit(e),this.closeDropdown(),this.activeIndex=-1},e.prototype.handleInput=function(e){var t=e.target;this.trigger.onChange(t.value),this.trigger.value=t.value,this.resetDropdown()},e.prototype.handleKeydown=function(e){var t=e.keyCode;if(this.isOpen&&t===Zr.d&&-1!==this.activeIndex&&this.filteredSuggestions.length)this.selectSuggestion(this.filteredSuggestions[this.activeIndex]),e.preventDefault();else if(t===Zr.f||t===Zr.h)this.resetDropdown(),e.stopPropagation();else{if(this.isOpen&&(t===Zr.j||t===Zr.e))return void this.closeDropdown();this.isOpen&&t===Zr.k&&(this.setPreviousItemActive(),e.preventDefault(),e.stopPropagation()),this.isOpen&&t===Zr.c&&(this.setNextItemActive(),e.preventDefault(),e.stopPropagation())}},e.prototype.handleClick=function(){this.resetDropdown()},e.prototype.bindTriggerEvents=function(){var e=this;this.trigger.onInput.subscribe((function(t){return e.handleInput(t)})),this.trigger.onKeydown.subscribe((function(t){return e.handleKeydown(t)})),this.trigger.onClick.subscribe((function(){return e.handleClick()}))},e.prototype.suggestionsFilter=function(e,t){var n=this,i=e.substring(1);if(this.previousValue!==e){this.previousValue=e,t&&this.nzOnSearchChange.emit({value:this.cursorMention.substring(1),prefix:this.cursorMention[0]});var r=i.toLowerCase();this.filteredSuggestions=this.nzSuggestions.filter((function(e){return n.nzValueWith(e).toLowerCase().includes(r)}))}},e.prototype.resetDropdown=function(e){if(void 0===e&&(e=!0),this.resetCursorMention(),"string"==typeof this.cursorMention&&this.canOpen()){this.suggestionsFilter(this.cursorMention,e);var t=this.filteredSuggestions.indexOf(this.cursorMention.substring(1));this.activeIndex=t>=0?t:0,this.openDropdown()}else this.closeDropdown()},e.prototype.setNextItemActive=function(){this.activeIndex=this.activeIndex+1<=this.filteredSuggestions.length-1?this.activeIndex+1:0,this.cdr.markForCheck()},e.prototype.setPreviousItemActive=function(){this.activeIndex=this.activeIndex-1<0?this.filteredSuggestions.length-1:this.activeIndex-1,this.cdr.markForCheck()},e.prototype.canOpen=function(){var e=this.triggerNativeElement;return!e.readOnly&&!e.disabled},e.prototype.resetCursorMention=function(){for(var e=this.triggerNativeElement.value.replace(/[\r\n]/g," ")||"",t=this.triggerNativeElement.selectionStart,n="string"==typeof this.nzPrefix?[this.nzPrefix]:this.nzPrefix,i=n.length;i>=0;){var r=e.lastIndexOf(n[i],t),o=e.indexOf(" ",t)>-1?e.indexOf(" ",t):e.length,a=e.substring(r,o);if(!(r>0&&" "!==e[r-1]||r<0||a.includes(n[i],1)||a.includes(" ")))return this.cursorMention=a,this.cursorMentionStart=r,void(this.cursorMentionEnd=o);this.cursorMention=null,this.cursorMentionStart=-1,this.cursorMentionEnd=-1,i--}},e.prototype.updatePositions=function(){var e=Object(es.e)(this.triggerNativeElement,this.cursorMentionStart),t=e.top-this.triggerNativeElement.getBoundingClientRect().height-this.triggerNativeElement.scrollTop+("bottom"===this.nzPlacement?e.height-6:-6);this.positionStrategy.withDefaultOffsetX(e.left-this.triggerNativeElement.scrollLeft).withDefaultOffsetY(t),"bottom"===this.nzPlacement&&this.positionStrategy.withPositions(Object(zt.g)(Nu.b)),"top"===this.nzPlacement&&this.positionStrategy.withPositions(Object(zt.g)(Nu.c)),this.positionStrategy.apply()},e.prototype.subscribeOverlayBackdropClick=function(){var e=this;return Object(Tt.a)(Object(Cs.a)(this.ngDocument,"click"),Object(Cs.a)(this.ngDocument,"touchend")).subscribe((function(t){var n=t.target;e.isOpen&&n!==e.trigger.el.nativeElement&&e.overlayRef&&!e.overlayRef.overlayElement.contains(n)&&e.closeDropdown()}))},e.prototype.attachOverlay=function(){this.overlayRef||(this.portal=new Wr.g(this.suggestionsTemp,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayBackdropClickSubscription=this.subscribeOverlayBackdropClick()),this.updatePositions()},e.prototype.getOverlayConfig=function(){return new Ur.f({positionStrategy:this.getOverlayPosition(),scrollStrategy:this.overlay.scrollStrategies.reposition(),disposeOnNavigation:!0})},e.prototype.getOverlayPosition=function(){var e=[new Ur.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new Ur.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.trigger.el).withPositions(e).withFlexibleDimensions(!1).withPush(!1),this.positionStrategy},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzLoading",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Vr.e,8),i.Tb(i.h),i.Tb(Ur.e),i.Tb(i.Q),i.Tb(YS))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-mention"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,BS,!0,i.M),2&e&&i.zc(r=i.ic())&&(t.suggestionChild=r.first)},viewQuery:function(e,t){var n;1&e&&i.Sc(i.M,!0),2&e&&i.zc(n=i.ic())&&(t.suggestionsTemp=n.first)},inputs:{nzValueWith:"nzValueWith",nzPrefix:"nzPrefix",nzLoading:"nzLoading",nzNotFoundContent:"nzNotFoundContent",nzPlacement:"nzPlacement",nzSuggestions:"nzSuggestions"},outputs:{nzOnSelect:"nzOnSelect",nzOnSearchChange:"nzOnSearchChange"},exportAs:["nzMention"],features:[i.Cb([YS]),i.Bb],ngContentSelectors:VS,decls:3,vars:0,consts:[["suggestions",""],[1,"ant-mention-dropdown"],["class","ant-mention-dropdown-item",3,"focus","mousedown","click",4,"ngFor","ngForOf"],["class","ant-mention-dropdown-notfound ant-mention-dropdown-item",4,"ngIf"],[1,"ant-mention-dropdown-item",3,"mousedown","click"],[4,"ngIf","ngIfElse"],["defaultSuggestion",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-mention-dropdown-notfound","ant-mention-dropdown-item"],[4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(e,t){1&e&&(i.rc(),i.qc(0),i.Lc(1,RS,3,2,"ng-template",null,0,i.Mc))},directives:[Vr.s,Vr.t,Vr.A,Ns.a],encapsulation:2,changeDetection:0}),e}(),qS=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,Ur.i,Ns.b]]}),e}(),ZS=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)}}),e}(),$S=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ur.i,Ns.b,Es.a,ZS]]}),e}(),GS=n("2WDa"),QS=function(){function e(){}return e.prototype.transform=function(e,t){void 0===t&&(t="px");var n=+e;return isNaN(n)?""+e:""+n+t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Sb({name:"nzToCssUnit",type:e,pure:!0}),e}(),XS=function(){function e(){}return e.prototype.transform=function(e,t){void 0===t&&(t="HH:mm:ss");var n=Number(e||0);return Yd.reduce((function(e,t){var i=Object(zt.e)(t,2),r=i[0],o=i[1];if(-1!==e.indexOf(r)){var a=Math.floor(n/o);return n-=a*o,e.replace(new RegExp(r+"+","g"),(function(e){return Object(es.w)(a.toString(),e.length,"0")}))}return e}),t)},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Sb({name:"nzTimeRange",type:e,pure:!0}),e}(),KS=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c]]}),e}(),JS=["modalElement"];function ez(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",16),i.hc("click",(function(){return i.Dc(n),i.kc().onCloseClick()})),i.Yb()}}function tz(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"span",17),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("innerHTML",n.config.nzTitle,i.Ec)}}function nz(e,t){}function iz(e,t){if(1&e&&i.Ub(0,"div",17),2&e){var n=i.kc();i.sc("innerHTML",n.config.nzContent,i.Ec)}}function rz(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",18),i.hc("click",(function(){return i.Dc(n),i.kc().onCancel()})),i.Nc(1),i.Yb()}if(2&e){var r=i.kc();i.sc("nzLoading",!!r.config.nzCancelLoading)("disabled",r.config.nzCancelDisabled),i.Eb("cdkFocusInitial","cancel"===r.config.nzAutofocus),i.Db(1),i.Pc("\n ",r.config.nzCancelText||r.locale.cancelText,"\n ")}}function oz(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",19),i.hc("click",(function(){return i.Dc(n),i.kc().onOk()})),i.Nc(1),i.Yb()}if(2&e){var r=i.kc();i.sc("nzType",r.config.nzOkType)("nzLoading",!!r.config.nzOkLoading)("disabled",r.config.nzOkDisabled),i.Eb("cdkFocusInitial","ok"===r.config.nzAutofocus),i.Db(1),i.Pc("\n ",r.config.nzOkText||r.locale.okText,"\n ")}}function az(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",9),i.hc("click",(function(){return i.Dc(n),i.kc().onCloseClick()})),i.Yb()}}function sz(e,t){1&e&&i.Ub(0,"div",10)}function cz(e,t){}function uz(e,t){if(1&e&&i.Ub(0,"div",11),2&e){var n=i.kc();i.sc("innerHTML",n.config.nzContent,i.Ec)}}function lz(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",12),i.hc("cancelTriggered",(function(){return i.Dc(n),i.kc().onCloseClick()}))("okTriggered",(function(){return i.Dc(n),i.kc().onOkClick()})),i.Yb()}if(2&e){var r=i.kc();i.sc("modalRef",r.modalRef)}}function pz(e,t){1&e&&i.qc(0)}var hz=["*"],dz=["nz-modal-close",""];function fz(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"i",2),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.sc("nzType",n)}}var gz=["nz-modal-footer",""];function bz(e,t){if(1&e&&i.Ub(0,"div",5),2&e){var n=i.kc(3);i.sc("innerHTML",n.config.nzTitle,i.Ec)}}function mz(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",7),i.hc("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc(4).onButtonClick(e)})),i.Nc(1),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc(4);i.sc("hidden",!o.getButtonCallableProp(r,"show"))("nzLoading",o.getButtonCallableProp(r,"loading"))("disabled",o.getButtonCallableProp(r,"disabled"))("nzType",r.type)("nzShape",r.shape)("nzSize",r.size)("nzGhost",r.ghost),i.Db(1),i.Pc("\n ",r.label,"\n ")}}function vz(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,mz,2,8,"button",6),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(3);i.Db(2),i.sc("ngForOf",n.buttons)}}function yz(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,bz,1,1,"div",3),i.Nc(3,"\n "),i.Lc(4,vz,4,1,"ng-container",4),i.Nc(5,"\n "),i.Wb()),2&e){var n=i.kc(2);i.Db(2),i.sc("ngIf",!n.buttonsFooter),i.Db(2),i.sc("ngIf",n.buttonsFooter)}}function wz(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,yz,6,2,"ng-container",2),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.config.nzFooter)}}function Oz(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",10),i.hc("click",(function(){return i.Dc(n),i.kc(2).onCancel()})),i.Nc(1),i.Yb()}if(2&e){var r=i.kc(2);i.sc("nzLoading",!!r.config.nzCancelLoading)("disabled",r.config.nzCancelDisabled),i.Eb("cdkFocusInitial","cancel"===r.config.nzAutofocus),i.Db(1),i.Pc("\n ",r.config.nzCancelText||r.locale.cancelText,"\n ")}}function Cz(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",11),i.hc("click",(function(){return i.Dc(n),i.kc(2).onOk()})),i.Nc(1),i.Yb()}if(2&e){var r=i.kc(2);i.sc("nzType",r.config.nzOkType)("nzLoading",!!r.config.nzOkLoading)("disabled",r.config.nzOkDisabled),i.Eb("cdkFocusInitial","ok"===r.config.nzAutofocus),i.Db(1),i.Pc("\n ",r.config.nzOkText||r.locale.okText,"\n ")}}function Sz(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,Oz,2,4,"button",8),i.Nc(2,"\n "),i.Lc(3,Cz,2,5,"button",9),i.Nc(4,"\n ")),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",null!==n.config.nzCancelText),i.Db(2),i.sc("ngIf",null!==n.config.nzOkText)}}var zz=["nz-modal-title",""];function Tz(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"div",2),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("innerHTML",n.config.nzTitle,i.Ec)}}var _z=function(){},kz=function(){return function(){this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzModalType="default",this.nzOnCancel=_z,this.nzOnOk=_z,this.nzIconType="question-circle"}}(),Dz={modalContainer:Object(GS.l)("modalContainer",[Object(GS.i)("void, exit",Object(GS.j)({})),Object(GS.i)("enter",Object(GS.j)({})),Object(GS.k)("* => enter",Object(GS.e)(".24s",Object(GS.j)({}))),Object(GS.k)("* => void, * => exit",Object(GS.e)(".2s",Object(GS.j)({})))])};function xz(e,t,n){return void 0===e?void 0===t?n:t:e}function Ez(e){return{nzMask:e.nzMask,nzMaskClosable:e.nzMaskClosable,nzClosable:e.nzClosable,nzOkLoading:e.nzOkLoading,nzOkDisabled:e.nzOkDisabled,nzCancelDisabled:e.nzCancelDisabled,nzCancelLoading:e.nzCancelLoading,nzKeyboard:e.nzKeyboard,nzNoAnimation:e.nzNoAnimation,nzContent:e.nzContent,nzComponentParams:e.nzComponentParams,nzFooter:e.nzFooter,nzGetContainer:e.nzGetContainer,nzZIndex:e.nzZIndex,nzWidth:e.nzWidth,nzWrapClassName:e.nzWrapClassName,nzClassName:e.nzClassName,nzStyle:e.nzStyle,nzTitle:e.nzTitle,nzCloseIcon:e.nzCloseIcon,nzMaskStyle:e.nzMaskStyle,nzBodyStyle:e.nzBodyStyle,nzOkText:e.nzOkText,nzCancelText:e.nzCancelText,nzOkType:e.nzOkType,nzIconType:e.nzIconType,nzModalType:e.nzModalType,nzOnOk:e.nzOnOk,nzOnCancel:e.nzOnCancel,nzAfterOpen:e.nzAfterOpen,nzAfterClose:e.nzAfterClose,nzCloseOnNavigation:e.nzCloseOnNavigation}}function Nz(){throw Error("Attempting to attach modal content after content is already attached")}var jz=function(e){function t(t,n,r,o,a,s,c,u,l,p){var h=e.call(this)||this;return h.elementRef=t,h.focusTrapFactory=n,h.cdr=r,h.render=o,h.zone=a,h.overlayRef=s,h.nzConfigService=c,h.config=u,h.animationType=p,h.animationStateChanged=new i.n,h.containerClick=new i.n,h.cancelTriggered=new i.n,h.okTriggered=new i.n,h.onDestroy=new i.n,h.state="enter",h.isStringContent=!1,h.elementFocusedBeforeModalWasOpened=null,h.latestMousedownTarget=null,h.oldMaskStyle=null,h.destroy$=new kt.a,h.document=l,h.isStringContent="string"==typeof u.nzContent,h.setContainer(),h.nzConfigService.getConfigChangeEventForComponent("modal").pipe(Object(ss.a)(h.destroy$)).subscribe((function(){h.updateMaskClassname()})),h}return Object(zt.c)(t,e),Object.defineProperty(t.prototype,"showMask",{get:function(){var e=this.nzConfigService.getConfigForComponent("modal")||{};return!!xz(this.config.nzMask,e.nzMask,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maskClosable",{get:function(){var e=this.nzConfigService.getConfigForComponent("modal")||{};return!!xz(this.config.nzMaskClosable,e.nzMaskClosable,!0)},enumerable:!0,configurable:!0}),t.prototype.onMousedown=function(e){this.latestMousedownTarget=e.target||null},t.prototype.onMouseup=function(e){e.target===this.latestMousedownTarget&&e.target===this.elementRef.nativeElement&&this.showMask&&this.maskClosable&&this.containerClick.emit(),this.latestMousedownTarget=null},t.prototype.onCloseClick=function(){this.cancelTriggered.emit()},t.prototype.onOkClick=function(){this.okTriggered.emit()},t.prototype.attachComponentPortal=function(e){return this.portalOutlet.hasAttached()&&Nz(),this.savePreviouslyFocusedElement(),this.setModalTransformOrigin(),this.portalOutlet.attachComponentPortal(e)},t.prototype.attachTemplatePortal=function(e){return this.portalOutlet.hasAttached()&&Nz(),this.savePreviouslyFocusedElement(),this.portalOutlet.attachTemplatePortal(e)},t.prototype.getNativeElement=function(){return this.elementRef.nativeElement},t.prototype.animationDisabled=function(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType},t.prototype.setModalTransformOrigin=function(){var e=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){var t=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),n=Object(es.f)(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(e,"transform-origin",n.left+t.width/2-e.offsetLeft+"px "+(n.top+t.height/2-e.offsetTop)+"px 0px")}},t.prototype.savePreviouslyFocusedElement=function(){var e=this;this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.elementRef.nativeElement.focus&&Promise.resolve().then((function(){return e.elementRef.nativeElement.focus()})))},t.prototype.trapFocus=function(){var e=this.elementRef.nativeElement;if(this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(e)),this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady().then();else{var t=this.document.activeElement;t===e||e.contains(t)||e.focus()}},t.prototype.restoreFocus=function(){var e=this.elementFocusedBeforeModalWasOpened;if(e&&"function"==typeof e.focus){var t=this.document.activeElement,n=this.elementRef.nativeElement;t&&t!==this.document.body&&t!==n&&!n.contains(t)||e.focus()}this.focusTrap&&this.focusTrap.destroy()},t.prototype.setEnterAnimationClass=function(){var e=this;this.animationDisabled()||this.zone.runOutsideAngular((function(){e.setModalTransformOrigin();var t=e.modalElementRef.nativeElement,n=e.overlayRef.backdropElement;e.render.addClass(t,"zoom-enter"),e.render.addClass(t,"zoom-enter-active"),e.render.addClass(n,"fade-enter"),e.render.addClass(n,"fade-enter-active")}))},t.prototype.setExitAnimationClass=function(){var e=this;this.zone.runOutsideAngular((function(){var t=e.modalElementRef.nativeElement,n=e.overlayRef.backdropElement;e.animationDisabled()?e.render.removeClass(n,"ant-modal-mask"):(e.render.addClass(t,"zoom-leave"),e.render.addClass(t,"zoom-leave-active"),e.render.addClass(n,"fade-leave"),e.render.addClass(n,"fade-leave-active"))}))},t.prototype.cleanAnimationClass=function(){var e=this;this.animationDisabled()||this.zone.runOutsideAngular((function(){var t=e.overlayRef.backdropElement,n=e.modalElementRef.nativeElement;e.render.removeClass(n,"zoom-enter"),e.render.removeClass(n,"zoom-enter-active"),e.render.removeClass(n,"zoom-leave"),e.render.removeClass(n,"zoom-leave-active"),e.render.removeClass(t,"fade-enter"),e.render.removeClass(t,"fade-enter-active")}))},t.prototype.bindBackdropStyle=function(){var e=this;this.zone.runOutsideAngular((function(){if(e.oldMaskStyle){var t=e.overlayRef.backdropElement;Object.keys(e.oldMaskStyle).forEach((function(n){e.render.removeStyle(t,n)})),e.oldMaskStyle=null}if("object"==typeof e.config.nzMaskStyle&&Object.keys(e.config.nzMaskStyle).length){var n=e.overlayRef.backdropElement,i=Object(zt.a)({},e.config.nzMaskStyle);Object.keys(i).forEach((function(t){e.render.setStyle(n,t,i[t])})),e.oldMaskStyle=i}}))},t.prototype.setContainer=function(){var e=this.getContainer();e&&this.render.appendChild(e,this.elementRef.nativeElement)},t.prototype.resetContainer=function(){this.getContainer()&&this.render.appendChild(this.overlayRef.overlayElement,this.elementRef.nativeElement)},t.prototype.getContainer=function(){var e=this.config.nzGetContainer,t="function"==typeof e?e():e;return t instanceof HTMLElement?t:null},t.prototype.updateMaskClassname=function(){var e=this.overlayRef.backdropElement;this.showMask?this.render.addClass(e,"ant-modal-mask"):this.render.removeClass(e,"ant-modal-mask")},t.prototype.onAnimationDone=function(e){"void"!==e.toState&&("enter"===e.toState?(this.setContainer(),this.trapFocus()):"exit"===e.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(e))},t.prototype.onAnimationStart=function(e){"enter"===e.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===e.toState&&(this.resetContainer(),this.setExitAnimationClass()),this.animationStateChanged.emit(e)},t.prototype.startExitAnimation=function(){this.state="exit",this.cdr.markForCheck()},t.prototype.ngOnDestroy=function(){this.onDestroy.emit(),this.destroy$.next(),this.destroy$.complete()},t.\u0275fac=function(e){i.gc()},t.\u0275dir=i.Ob({type:t,features:[i.Ab]}),t}(Wr.a),Iz=function(e){function t(t,n,r,o,a,s,c,u,l,p,h){var d=e.call(this,n,r,o,a,s,c,u,l,p,h)||this;return d.i18n=t,d.config=l,d.cancelTriggered=new i.n,d.okTriggered=new i.n,d.locale={},d.i18n.localeChange.pipe(Object(ss.a)(d.destroy$)).subscribe((function(){d.locale=d.i18n.getLocaleData("Modal")})),d}return Object(zt.c)(t,e),t.prototype.onCancel=function(){this.cancelTriggered.emit()},t.prototype.onOk=function(){this.okTriggered.emit()},t.\u0275fac=function(e){return new(e||t)(i.Tb(Lp),i.Tb(i.l),i.Tb(so),i.Tb(i.h),i.Tb(i.E),i.Tb(i.z),i.Tb(Ur.j),i.Tb(Qa.a),i.Tb(kz),i.Tb(Vr.e,8),i.Tb(wt.a,8))},t.\u0275cmp=i.Nb({type:t,selectors:[["nz-modal-confirm-container"]],viewQuery:function(e,t){var n;1&e&&(i.Jc(Wr.b,!0),i.Jc(JS,!0)),2&e&&(i.zc(n=i.ic())&&(t.portalOutlet=n.first),i.zc(n=i.ic())&&(t.modalElementRef=n.first))},hostAttrs:["tabindex","-1","role","dialog"],hostVars:6,hostBindings:function(e,t){1&e&&(i.Kb("@modalContainer.start",(function(e){return t.onAnimationStart(e)}))("@modalContainer.done",(function(e){return t.onAnimationDone(e)})),i.hc("mousedown",(function(e){return t.onMousedown(e)}))("mouseup",(function(e){return t.onMouseup(e)}))),2&e&&(i.Rc("@.disabled",t.config.nzNoAnimation)("@modalContainer",t.state),i.Fb(t.config.nzWrapClassName?"ant-modal-wrap "+t.config.nzWrapClassName:"ant-modal-wrap"),i.Kc("z-index",t.config.nzZIndex))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[i.Ab],decls:41,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","click"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0,1),i.lc(3,"nzToCssUnit"),i.Nc(4,"\n "),i.Zb(5,"div",2),i.Nc(6,"\n "),i.Lc(7,ez,1,0,"button",3),i.Nc(8,"\n "),i.Zb(9,"div",4),i.Nc(10,"\n "),i.Zb(11,"div",5),i.Nc(12,"\n "),i.Zb(13,"div",6),i.Nc(14,"\n "),i.Ub(15,"i",7),i.Nc(16,"\n "),i.Zb(17,"span",8),i.Nc(18,"\n "),i.Lc(19,tz,4,1,"ng-container",9),i.Nc(20,"\n "),i.Yb(),i.Nc(21,"\n "),i.Zb(22,"div",10),i.Nc(23,"\n "),i.Lc(24,nz,0,0,"ng-template",11),i.Nc(25,"\n "),i.Lc(26,iz,1,1,"div",12),i.Nc(27,"\n "),i.Yb(),i.Nc(28,"\n "),i.Yb(),i.Nc(29,"\n "),i.Zb(30,"div",13),i.Nc(31,"\n "),i.Lc(32,rz,2,4,"button",14),i.Nc(33,"\n "),i.Lc(34,oz,2,5,"button",15),i.Nc(35,"\n "),i.Yb(),i.Nc(36,"\n "),i.Yb(),i.Nc(37,"\n "),i.Yb(),i.Nc(38,"\n "),i.Yb(),i.Nc(39,"\n "),i.Yb(),i.Nc(40,"\n ")),2&e&&(i.Db(1),i.Kc("width",i.mc(3,11,null==t.config?null:t.config.nzWidth)),i.sc("ngClass",t.config.nzClassName)("ngStyle",t.config.nzStyle),i.Db(6),i.sc("ngIf",t.config.nzClosable),i.Db(2),i.sc("ngStyle",t.config.nzBodyStyle),i.Db(6),i.sc("nzType",t.config.nzIconType),i.Db(4),i.sc("nzStringTemplateOutlet",t.config.nzTitle),i.Db(7),i.sc("ngIf",t.isStringContent),i.Db(6),i.sc("ngIf",null!==t.config.nzCancelText),i.Db(2),i.sc("ngIf",null!==t.config.nzOkText))},directives:function(){return[Vr.q,Vr.w,Vr.t,Hd.a,Ns.a,Es.b,Wr.b,Rz,Wu.a,Ud.a]},pipes:function(){return[QS]},encapsulation:2,data:{animation:[Dz.modalContainer]}}),t}(jz),Az=function(e){function t(t,n,i,r,o,a,s,c,u,l){var p=e.call(this,t,n,i,r,o,a,s,c,u,l)||this;return p.config=c,p}return Object(zt.c)(t,e),t.\u0275fac=function(e){return new(e||t)(i.Tb(i.l),i.Tb(so),i.Tb(i.h),i.Tb(i.E),i.Tb(i.z),i.Tb(Ur.j),i.Tb(Qa.a),i.Tb(kz),i.Tb(Vr.e,8),i.Tb(wt.a,8))},t.\u0275cmp=i.Nb({type:t,selectors:[["nz-modal-container"]],viewQuery:function(e,t){var n;1&e&&(i.Jc(Wr.b,!0),i.Jc(JS,!0)),2&e&&(i.zc(n=i.ic())&&(t.portalOutlet=n.first),i.zc(n=i.ic())&&(t.modalElementRef=n.first))},hostAttrs:["tabindex","-1","role","dialog"],hostVars:6,hostBindings:function(e,t){1&e&&(i.Kb("@modalContainer.start",(function(e){return t.onAnimationStart(e)}))("@modalContainer.done",(function(e){return t.onAnimationDone(e)})),i.hc("mousedown",(function(e){return t.onMousedown(e)}))("mouseup",(function(e){return t.onMouseup(e)}))),2&e&&(i.Rc("@.disabled",t.config.nzNoAnimation)("@modalContainer",t.state),i.Fb(t.config.nzWrapClassName?"ant-modal-wrap "+t.config.nzWrapClassName:"ant-modal-wrap"),i.Kc("z-index",t.config.nzZIndex))},exportAs:["nzModalContainer"],features:[i.Ab],decls:22,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0,1),i.lc(3,"nzToCssUnit"),i.Nc(4,"\n "),i.Zb(5,"div",2),i.Nc(6,"\n "),i.Lc(7,az,1,0,"button",3),i.Nc(8,"\n "),i.Lc(9,sz,1,0,"div",4),i.Nc(10,"\n "),i.Zb(11,"div",5),i.Nc(12,"\n "),i.Lc(13,cz,0,0,"ng-template",6),i.Nc(14,"\n "),i.Lc(15,uz,1,1,"div",7),i.Nc(16,"\n "),i.Yb(),i.Nc(17,"\n "),i.Lc(18,lz,1,1,"div",8),i.Nc(19,"\n "),i.Yb(),i.Nc(20,"\n "),i.Yb(),i.Nc(21,"\n ")),2&e&&(i.Db(1),i.Kc("width",i.mc(3,9,null==t.config?null:t.config.nzWidth)),i.sc("ngClass",t.config.nzClassName)("ngStyle",t.config.nzStyle),i.Db(6),i.sc("ngIf",t.config.nzClosable),i.Db(2),i.sc("ngIf",t.config.nzTitle),i.Db(2),i.sc("ngStyle",t.config.nzBodyStyle),i.Db(4),i.sc("ngIf",t.isStringContent),i.Db(3),i.sc("ngIf",null!==t.config.nzFooter))},directives:function(){return[Vr.q,Vr.w,Vr.t,Wr.b,Rz,Yz,Vz]},pipes:function(){return[QS]},encapsulation:2,data:{animation:[Dz.modalContainer]}}),t}(jz),Mz=function(){function e(e,t,n){var r=this;this.overlayRef=e,this.config=t,this.containerInstance=n,this.componentInstance=null,this.state=0,this.afterClose=new kt.a,this.afterOpen=new kt.a,n.animationStateChanged.pipe(Object(Pt.a)((function(e){return"done"===e.phaseName&&"enter"===e.toState})),Object(en.a)(1)).subscribe((function(){r.afterOpen.next(),r.afterOpen.complete(),t.nzAfterOpen instanceof i.n&&t.nzAfterOpen.emit()})),Object(Tt.a)(n.onDestroy,n.animationStateChanged.pipe(Object(Pt.a)((function(e){return"done"===e.phaseName&&"exit"===e.toState})),Object(en.a)(1))).pipe(Object(en.a)(1)).subscribe((function(){clearTimeout(r.closeTimeout),r.finishDialogClose()})),n.containerClick.pipe(Object(en.a)(1)).subscribe((function(){!r.config.nzCancelLoading&&!r.config.nzOkLoading&&r.trigger("cancel")})),e.keydownEvents().pipe(Object(Pt.a)((function(e){return r.config.nzKeyboard&&!r.config.nzCancelLoading&&!r.config.nzOkLoading&&e.keyCode===Zr.e&&!Object(Zr.n)(e)}))).subscribe((function(e){e.preventDefault(),r.trigger("cancel")})),n.cancelTriggered.subscribe((function(){return r.trigger("cancel")})),n.okTriggered.subscribe((function(){return r.trigger("ok")})),e.detachments().subscribe((function(){r.afterClose.next(r.result),r.afterClose.complete(),t.nzAfterClose instanceof i.n&&t.nzAfterClose.emit(r.result),r.componentInstance=null,r.overlayRef.dispose()}))}return e.prototype.getContentComponent=function(){return this.componentInstance},e.prototype.getElement=function(){return this.containerInstance.getNativeElement()},e.prototype.destroy=function(e){this.close(e)},e.prototype.triggerOk=function(){this.trigger("ok")},e.prototype.triggerCancel=function(){this.trigger("cancel")},e.prototype.open=function(){},e.prototype.close=function(e){var t=this;this.result=e,this.containerInstance.animationStateChanged.pipe(Object(Pt.a)((function(e){return"start"===e.phaseName})),Object(en.a)(1)).subscribe((function(e){t.overlayRef.detachBackdrop(),t.closeTimeout=setTimeout((function(){t.finishDialogClose()}),e.totalTime+100)})),this.containerInstance.startExitAnimation(),this.state=1},e.prototype.updateConfig=function(e){Object.assign(this.config,e),this.containerInstance.cdr.markForCheck()},e.prototype.getState=function(){return this.state},e.prototype.getConfig=function(){return this.config},e.prototype.getBackdropElement=function(){return this.overlayRef.backdropElement},e.prototype.trigger=function(e){var t,n=this,r={ok:this.config.nzOnOk,cancel:this.config.nzOnCancel}[e],o={ok:"nzOkLoading",cancel:"nzCancelLoading"}[e];if(!this.config[o])if(r instanceof i.n)r.emit(this.getContentComponent());else if("function"==typeof r){var a=r(this.getContentComponent());if(Object(es.q)(a)){this.config[o]=!0;var s=function(e){n.config[o]=!1,n.closeWhitResult(e)};a.then(s).catch(s)}else!1!==(t=a)&&n.close(t)}},e.prototype.closeWhitResult=function(e){!1!==e&&this.close(e)},e.prototype.finishDialogClose=function(){this.state=2,this.overlayRef.dispose()},e}(),Lz=function(){function e(e,t,n,i){var r=this;this.overlay=e,this.injector=t,this.nzConfigService=n,this.parentModal=i,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new kt.a,this.afterAllClose=Object(Dt.a)((function(){return r.openModals.length?r._afterAllClosed:r._afterAllClosed.pipe(Object(Ka.a)(void 0))}))}return Object.defineProperty(e.prototype,"openModals",{get:function(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_afterAllClosed",{get:function(){var e=this.parentModal;return e?e._afterAllClosed:this.afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),e.prototype.create=function(e){return this.open(e.nzContent,e)},e.prototype.closeAll=function(){this.closeModals(this.openModals)},e.prototype.confirm=function(e,t){return void 0===e&&(e={}),void 0===t&&(t="confirm"),"nzFooter"in e&&Object(Hs.b)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in e||(e.nzWidth=416),"nzMaskClosable"in e||(e.nzMaskClosable=!1),e.nzModalType="confirm",e.nzClassName="ant-modal-confirm ant-modal-confirm-"+t+" "+(e.nzClassName||""),this.create(e)},e.prototype.info=function(e){return void 0===e&&(e={}),this.confirmFactory(e,"info")},e.prototype.success=function(e){return void 0===e&&(e={}),this.confirmFactory(e,"success")},e.prototype.error=function(e){return void 0===e&&(e={}),this.confirmFactory(e,"error")},e.prototype.warning=function(e){return void 0===e&&(e={}),this.confirmFactory(e,"warning")},e.prototype.open=function(e,t){var n=this,i=function(e,t){return Object(zt.a)(Object(zt.a)({},t),e)}(t||{},new kz),r=this.createOverlay(i),o=this.attachModalContainer(r,i),a=this.attachModalContent(e,o,r,i);return o.modalRef=a,this.openModals.push(a),a.afterClose.subscribe((function(){return n.removeOpenModal(a)})),a},e.prototype.removeOpenModal=function(e){var t=this.openModals.indexOf(e);t>-1&&(this.openModals.splice(t,1),this.openModals.length||this._afterAllClosed.next())},e.prototype.closeModals=function(e){for(var t=e.length;t--;)e[t].close(),this.openModals.length||this._afterAllClosed.next()},e.prototype.createOverlay=function(e){var t=this.nzConfigService.getConfigForComponent("modal")||{},n=new Ur.f({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:xz(e.nzCloseOnNavigation,t.nzCloseOnNavigation,!0)});return xz(e.nzMask,t.nzMask,!0)&&(n.backdropClass="ant-modal-mask"),this.overlay.create(n)},e.prototype.attachModalContainer=function(e,t){var n=new Wr.e(t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector||this.injector,new WeakMap([[Ur.j,e],[kz,t]])),i=new Wr.c("confirm"===t.nzModalType?Iz:Az,t.nzViewContainerRef,n);return e.attach(i).instance},e.prototype.attachModalContent=function(e,t,n,r){var o=new Mz(n,r,t);if(e instanceof i.M)t.attachTemplatePortal(new Wr.g(e,null,{$implicit:r.nzComponentParams,modalRef:o}));else if(Object(es.p)(e)&&"string"!=typeof e){var a=this.createInjector(o,r),s=t.attachComponentPortal(new Wr.c(e,r.nzViewContainerRef,a));Object.assign(s.instance,r.nzComponentParams),o.componentInstance=s.instance}return o},e.prototype.createInjector=function(e,t){var n=t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector,i=new WeakMap([[Mz,e]]);return new Wr.e(n||this.injector,i)},e.prototype.confirmFactory=function(e,t){return void 0===e&&(e={}),"nzIconType"in e||(e.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[t]),"nzCancelText"in e||(e.nzCancelText=null),this.confirm(e,t)},e.prototype.ngOnDestroy=function(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()},e.\u0275fac=function(t){return new(t||e)(i.dc(Ur.e),i.dc(i.r),i.dc(Qa.a),i.dc(e,12))},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Pz=function(){function e(e,t){this.nzModalRef=e,this.templateRef=t,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}return e.\u0275fac=function(t){return new(t||e)(i.Tb(Mz,8),i.Tb(i.M))},e.\u0275dir=i.Ob({type:e,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),e}(),Fz=function(){function e(e,t,n){this.cdr=e,this.modal=t,this.viewContainerRef=n,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzIconType="question-circle",this.nzModalType="default",this.nzOnOk=new i.n,this.nzOnCancel=new i.n,this.nzAfterOpen=new i.n,this.nzAfterClose=new i.n,this.nzVisibleChange=new i.n,this.modalRef=null}return Object.defineProperty(e.prototype,"modalFooter",{set:function(e){e&&e.templateRef&&this.setFooterWithTemplate(e.templateRef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"afterOpen",{get:function(){return this.nzAfterOpen.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"afterClose",{get:function(){return this.nzAfterClose.asObservable()},enumerable:!0,configurable:!0}),e.prototype.open=function(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){var e=this.getConfig();this.modalRef=this.modal.create(e)}},e.prototype.close=function(e){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(e),this.modalRef=null)},e.prototype.destroy=function(e){this.close(e)},e.prototype.triggerOk=function(){var e;null===(e=this.modalRef)||void 0===e||e.triggerOk()},e.prototype.triggerCancel=function(){var e;null===(e=this.modalRef)||void 0===e||e.triggerCancel()},e.prototype.getContentComponent=function(){var e;return null===(e=this.modalRef)||void 0===e?void 0:e.getContentComponent()},e.prototype.getElement=function(){var e;return null===(e=this.modalRef)||void 0===e?void 0:e.getElement()},e.prototype.getModalRef=function(){return this.modalRef},e.prototype.setFooterWithTemplate=function(e){var t=this;this.nzFooter=e,this.modalRef&&Promise.resolve().then((function(){t.modalRef.updateConfig({nzFooter:t.nzFooter})})),this.cdr.markForCheck()},e.prototype.getConfig=function(){var e=Ez(this);return e.nzViewContainerRef=this.viewContainerRef,this.nzContent||(e.nzContent=this.contentTemplateRef),e},e.prototype.ngOnChanges=function(e){var t=e.nzVisible,n=Object(zt.f)(e,["nzVisible"]);Object.keys(n).length&&this.modalRef&&this.modalRef.updateConfig(Ez(this)),t&&(this.nzVisible?this.open():this.close())},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzMask",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzMaskClosable",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzCloseOnNavigation",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzVisible",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzClosable",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzOkLoading",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzOkDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzCancelDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzCancelLoading",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzKeyboard",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzNoAnimation",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(Lz),i.Tb(i.Q))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-modal"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,Pz,!0),2&e&&i.zc(r=i.ic())&&(t.modalFooter=r.first)},viewQuery:function(e,t){var n;1&e&&i.Jc(i.M,!0),2&e&&i.zc(n=i.ic())&&(t.contentTemplateRef=n.first)},inputs:{nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzCloseIcon:"nzCloseIcon",nzOkType:"nzOkType",nzIconType:"nzIconType",nzModalType:"nzModalType",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzFooter:"nzFooter",nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzContent:"nzContent",nzComponentParams:"nzComponentParams",nzGetContainer:"nzGetContainer",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzTitle:"nzTitle",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],features:[i.Bb],ngContentSelectors:hz,decls:3,vars:0,template:function(e,t){1&e&&(i.rc(),i.Nc(0," "),i.Lc(1,pz,1,0,"ng-template"),i.Nc(2," "))},encapsulation:2,changeDetection:0}),e}(),Rz=function(){function e(e){this.config=e}return e.\u0275fac=function(t){return new(t||e)(i.Tb(kz))},e.\u0275cmp=i.Nb({type:e,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:dz,decls:6,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span",0),i.Nc(2,"\n "),i.Lc(3,fz,4,1,"ng-container",1),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n ")),2&e&&(i.Db(3),i.sc("nzStringTemplateOutlet",t.config.nzCloseIcon))},directives:[Es.b,Hd.a,Ns.a],encapsulation:2,changeDetection:0}),e}(),Vz=function(){function e(e,t){var n=this;this.i18n=e,this.config=t,this.buttonsFooter=!1,this.buttons=[],this.locale={},this.cancelTriggered=new i.n,this.okTriggered=new i.n,this.destroy$=new kt.a,Array.isArray(t.nzFooter)&&(this.buttonsFooter=!0,this.buttons=t.nzFooter.map(Bz)),this.i18n.localeChange.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){n.locale=n.i18n.getLocaleData("Modal")}))}return e.prototype.onCancel=function(){this.cancelTriggered.emit()},e.prototype.onOk=function(){this.okTriggered.emit()},e.prototype.getButtonCallableProp=function(e,t){var n=e[t],i=this.modalRef.getContentComponent();return"function"==typeof n?n.apply(e,i&&[i]):n},e.prototype.onButtonClick=function(e){if(!this.getButtonCallableProp(e,"loading")){var t=this.getButtonCallableProp(e,"onClick");e.autoLoading&&Object(es.q)(t)&&(e.loading=!0,t.then((function(){return e.loading=!1})).catch((function(){return e.loading=!1})))}},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(Lp),i.Tb(kz))},e.\u0275cmp=i.Nb({type:e,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:gz,decls:6,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","click"]],template:function(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,wz,4,1,"ng-container",0),i.Nc(2,"\n "),i.Lc(3,Sz,5,2,"ng-template",null,1,i.Mc),i.Nc(5,"\n ")),2&e){var n=i.Ac(4);i.Db(1),i.sc("ngIf",t.config.nzFooter)("ngIfElse",n)}},directives:[Vr.t,Es.b,Vr.s,Wu.a,Ud.a,Hd.a],encapsulation:2}),e}();function Bz(e){return Object(zt.a)({type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1},e)}var Yz=function(){function e(e){this.config=e}return e.\u0275fac=function(t){return new(t||e)(i.Tb(kz))},e.\u0275cmp=i.Nb({type:e,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:zz,decls:6,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Lc(3,Tz,4,1,"ng-container",1),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n ")),2&e&&(i.Db(3),i.sc("nzStringTemplateOutlet",t.config.nzTitle))},directives:[Es.b],encapsulation:2,changeDetection:0}),e}(),Uz=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},providers:[Lz],imports:[[Vr.c,Ur.i,Es.a,Wr.f,Fp,Wu.c,Ns.b,KS,ac.b]]}),e}(),Hz=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)}}),e}(),Wz=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ur.i,Ns.b,Es.a,Hz]]}),e}();function qz(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"i",9),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.sc("nzType",n||"arrow-left")}}function Zz(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",6),i.hc("click",(function(){return i.Dc(n),i.kc().onBack()})),i.Nc(1,"\n "),i.Zb(2,"div",7),i.Nc(3,"\n "),i.Lc(4,qz,4,1,"ng-container",8),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n "),i.Yb()}if(2&e){var r=i.kc();i.Db(4),i.sc("nzStringTemplateOutlet",r.nzBackIcon)}}function $z(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzTitle)}}function Gz(e,t){if(1&e&&(i.Zb(0,"span",10),i.Nc(1,"\n "),i.Lc(2,$z,2,1,"ng-container",8),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzTitle)}}function Qz(e,t){1&e&&i.qc(0,6,["*ngIf","!nzTitle"])}function Xz(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzSubtitle)}}function Kz(e,t){if(1&e&&(i.Zb(0,"span",11),i.Nc(1,"\n "),i.Lc(2,Xz,2,1,"ng-container",8),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzSubtitle)}}function Jz(e,t){1&e&&i.qc(0,7,["*ngIf","!nzSubtitle"])}var eT=[[["nz-breadcrumb","nz-page-header-breadcrumb",""]],[["nz-avatar","nz-page-header-avatar",""]],[["nz-page-header-tags"],["","nz-page-header-tags",""]],[["nz-page-header-extra"],["","nz-page-header-extra",""]],[["nz-page-header-content"],["","nz-page-header-content",""]],[["nz-page-header-footer"],["","nz-page-header-footer",""]],[["nz-page-header-title"],["","nz-page-header-title",""]],[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]]],tT=["nz-breadcrumb[nz-page-header-breadcrumb]","nz-avatar[nz-page-header-avatar]","nz-page-header-tags, [nz-page-header-tags]","nz-page-header-extra, [nz-page-header-extra]","nz-page-header-content, [nz-page-header-content]","nz-page-header-footer, [nz-page-header-footer]","nz-page-header-title, [nz-page-header-title]","nz-page-header-subtitle, [nz-page-header-subtitle]"],nT=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-page-header-title"],["","nz-page-header-title",""]],hostAttrs:[1,"ant-page-header-heading-title"],exportAs:["nzPageHeaderTitle"]}),e}(),iT=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]],hostAttrs:[1,"ant-page-header-heading-sub-title"],exportAs:["nzPageHeaderSubtitle"]}),e}(),rT=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-page-header-content"],["","nz-page-header-content",""]],hostAttrs:[1,"ant-page-header-content"],exportAs:["nzPageHeaderContent"]}),e}(),oT=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-page-header-tags"],["","nz-page-header-tags",""]],hostAttrs:[1,"ant-page-header-heading-tags"],exportAs:["nzPageHeaderTags"]}),e}(),aT=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-page-header-extra"],["","nz-page-header-extra",""]],hostAttrs:[1,"ant-page-header-heading-extra"],exportAs:["nzPageHeaderExtra"]}),e}(),sT=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-page-header-footer"],["","nz-page-header-footer",""]],hostAttrs:[1,"ant-page-header-footer"],exportAs:["nzPageHeaderFooter"]}),e}(),cT=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-breadcrumb","nz-page-header-breadcrumb",""]],exportAs:["nzPageHeaderBreadcrumb"]}),e}(),uT=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-avatar","nz-page-header-avatar",""]],exportAs:["nzPageHeaderAvatar"]}),e}(),lT=function(){function e(e,t){this.location=e,this.nzConfigService=t,this.nzBackIcon=null,this.nzGhost=!0,this.nzBack=new i.n}return e.prototype.onBack=function(){if(this.nzBack.observers.length)this.nzBack.emit();else{if(!this.location)throw new Error(Hs.a+" you should import 'RouterModule' or register 'Location' if you want to use 'nzBack' default event!");this.location.back()}},Object(zt.b)([Object(Qa.b)("pageHeader"),Object(zt.d)("design:type",Boolean)],e.prototype,"nzGhost",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Vr.n,8),i.Tb(Qa.a))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-page-header"]],contentQueries:function(e,t,n){var r;1&e&&(i.Lb(n,sT,!0),i.Lb(n,cT,!0)),2&e&&(i.zc(r=i.ic())&&(t.nzPageHeaderFooter=r.first),i.zc(r=i.ic())&&(t.nzPageHeaderBreadcrumb=r.first))},hostAttrs:[1,"ant-page-header"],hostVars:6,hostBindings:function(e,t){2&e&&i.Jb("has-footer",t.nzPageHeaderFooter)("ant-page-header-ghost",t.nzGhost)("has-breadcrumb",t.nzPageHeaderBreadcrumb)},inputs:{nzBackIcon:"nzBackIcon",nzGhost:"nzGhost",nzTitle:"nzTitle",nzSubtitle:"nzSubtitle"},outputs:{nzBack:"nzBack"},exportAs:["nzPageHeader"],ngContentSelectors:tT,decls:33,vars:5,consts:[[1,"ant-page-header-heading"],[1,"ant-page-header-heading-left"],["class","ant-page-header-back",3,"click",4,"ngIf"],["class","ant-page-header-heading-title",4,"ngIf"],[4,"ngIf"],["class","ant-page-header-heading-sub-title",4,"ngIf"],[1,"ant-page-header-back",3,"click"],["role","button","tabindex","0",1,"ant-page-header-back-button"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"],[1,"ant-page-header-heading-title"],[1,"ant-page-header-heading-sub-title"]],template:function(e,t){1&e&&(i.rc(eT),i.Nc(0,"\n "),i.qc(1),i.Nc(2,"\n\n "),i.Zb(3,"div",0),i.Nc(4,"\n "),i.Zb(5,"div",1),i.Nc(6,"\n "),i.Nc(7,"\n "),i.Lc(8,Zz,7,1,"div",2),i.Nc(9,"\n "),i.Nc(10,"\n "),i.qc(11,1),i.Nc(12,"\n "),i.Nc(13,"\n "),i.Lc(14,Gz,4,1,"span",3),i.Nc(15,"\n "),i.Lc(16,Qz,1,0,void 0,4),i.Nc(17,"\n "),i.Nc(18,"\n "),i.Lc(19,Kz,4,1,"span",5),i.Nc(20,"\n "),i.Lc(21,Jz,1,0,void 0,4),i.Nc(22,"\n "),i.qc(23,2),i.Nc(24,"\n "),i.Yb(),i.Nc(25,"\n\n "),i.qc(26,3),i.Nc(27,"\n "),i.Yb(),i.Nc(28,"\n\n "),i.qc(29,4),i.Nc(30,"\n "),i.qc(31,5),i.Nc(32,"\n ")),2&e&&(i.Db(8),i.sc("ngIf",null!==t.nzBackIcon),i.Db(6),i.sc("ngIf",t.nzTitle),i.Db(2),i.sc("ngIf",!t.nzTitle),i.Db(3),i.sc("ngIf",t.nzSubtitle),i.Db(2),i.sc("ngIf",!t.nzSubtitle))},directives:[Vr.t,Es.b,Ns.a],encapsulation:2,changeDetection:0}),e}(),pT=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Es.a,Ns.b]]}),e}();function hT(e,t){}function dT(e,t){if(1&e&&(i.Xb(0),i.Lc(1,hT,0,0,"ng-template",6),i.Wb()),2&e){i.kc(2);var n=i.Ac(2);i.Db(1),i.sc("ngTemplateOutlet",n.template)}}function fT(e,t){if(1&e&&(i.Xb(0),i.Lc(1,dT,2,1,"ng-container",5),i.Wb()),2&e){var n=i.kc(),r=i.Ac(4);i.Db(1),i.sc("ngIf",n.nzSimple)("ngIfElse",r.template)}}var gT=["containerTemplate"];function bT(e,t){}var mT=function(e,t){return{$implicit:e,range:t}};function vT(e,t){if(1&e&&(i.Zb(0,"li",4),i.Lc(1,bT,0,0,"ng-template",5),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("ngTemplateOutlet",n.showTotal)("ngTemplateOutletContext",i.wc(2,mT,n.total,n.ranges))}}function yT(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",6),i.hc("gotoIndex",(function(e){return i.Dc(n),i.kc(2).jumpPage(e)}))("diffIndex",(function(e){return i.Dc(n),i.kc(2).jumpDiff(e)})),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc(2);i.sc("locale",o.locale)("type",r.type)("index",r.index)("disabled",!!r.disabled)("itemRender",o.itemRender)("active",o.pageIndex===r.index)}}function wT(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",7),i.hc("pageIndexChange",(function(e){return i.Dc(n),i.kc(2).onPageIndexChange(e)}))("pageSizeChange",(function(e){return i.Dc(n),i.kc(2).onPageSizeChange(e)})),i.Yb()}if(2&e){var r=i.kc(2);i.sc("total",r.total)("locale",r.locale)("disabled",r.disabled)("nzSize",r.nzSize)("showSizeChanger",r.showSizeChanger)("showQuickJumper",r.showQuickJumper)("pageIndex",r.pageIndex)("pageSize",r.pageSize)("pageSizeOptions",r.pageSizeOptions)}}function OT(e,t){if(1&e&&(i.Lc(0,vT,2,5,"li",1),i.Lc(1,yT,1,6,"li",2),i.Lc(2,wT,1,9,"div",3)),2&e){var n=i.kc();i.sc("ngIf",n.showTotal),i.Db(1),i.sc("ngForOf",n.listOfPageItem)("ngForTrackBy",n.trackByPageItem),i.Db(1),i.sc("ngIf",n.showQuickJumper||n.showSizeChanger)}}var CT=["nz-pagination-item",""];function ST(e,t){if(1&e&&(i.Zb(0,"a"),i.Nc(1),i.Yb()),2&e){var n=i.kc().page;i.Db(1),i.Oc(n)}}function zT(e,t){1&e&&i.Ub(0,"i",9)}function TT(e,t){1&e&&i.Ub(0,"i",10)}function _T(e,t){1&e&&i.Ub(0,"i",15)}function kT(e,t){1&e&&i.Ub(0,"i",16)}function DT(e,t){if(1&e&&(i.Zb(0,"div",11),i.Xb(1,2),i.Lc(2,_T,1,0,"i",12),i.Lc(3,kT,1,0,"i",13),i.Wb(),i.Zb(4,"span",14),i.Nc(5,"\u2022\u2022\u2022"),i.Yb(),i.Yb()),2&e){var n=i.kc(2).$implicit;i.Db(1),i.sc("ngSwitch",n),i.Db(1),i.sc("ngSwitchCase","prev_5"),i.Db(1),i.sc("ngSwitchCase","next_5")}}function xT(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"a",5),i.Lc(2,zT,1,0,"i",6),i.Lc(3,TT,1,0,"i",7),i.Lc(4,DT,6,3,"div",8),i.Yb(),i.Wb()),2&e){var n=i.kc().$implicit;i.Db(1),i.sc("ngSwitch",n),i.Db(1),i.sc("ngSwitchCase","prev"),i.Db(1),i.sc("ngSwitchCase","next")}}function ET(e,t){1&e&&(i.Xb(0,2),i.Lc(1,ST,2,1,"a",3),i.Lc(2,xT,5,3,"ng-container",4),i.Wb()),2&e&&(i.sc("ngSwitch",t.$implicit),i.Db(1),i.sc("ngSwitchCase","page"))}function NT(e,t){}var jT=function(e,t){return{$implicit:e,page:t}},IT=["nz-pagination-options",""];function AT(e,t){if(1&e&&i.Ub(0,"nz-option",4),2&e){var n=t.$implicit;i.sc("nzLabel",n.label)("nzValue",n.value)}}function MT(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-select",2),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc().onPageSizeChange(e)})),i.Lc(1,AT,1,2,"nz-option",3),i.Yb()}if(2&e){var r=i.kc();i.sc("nzDisabled",r.disabled)("nzSize",r.nzSize)("ngModel",r.pageSize),i.Db(1),i.sc("ngForOf",r.listOfPageSizeOption)("ngForTrackBy",r.trackByOption)}}function LT(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",5),i.Nc(1),i.Zb(2,"input",6),i.hc("keydown.enter",(function(e){return i.Dc(n),i.kc().jumpToPageViaInput(e)})),i.Yb(),i.Nc(3),i.Yb()}if(2&e){var r=i.kc();i.Db(1),i.Pc(" ",r.locale.jump_to," "),i.Db(1),i.sc("disabled",r.disabled),i.Db(1),i.Pc(" ",r.locale.page," ")}}function PT(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",1),i.hc("click",(function(){return i.Dc(n),i.kc().prePage()})),i.Yb(),i.Zb(1,"li",2),i.Zb(2,"input",3),i.hc("keydown.enter",(function(e){return i.Dc(n),i.kc().jumpToPageViaInput(e)})),i.Yb(),i.Zb(3,"span",4),i.Nc(4,"/"),i.Yb(),i.Nc(5),i.Yb(),i.Zb(6,"li",5),i.hc("click",(function(){return i.Dc(n),i.kc().nextPage()})),i.Yb()}if(2&e){var r=i.kc();i.sc("disabled",r.isFirstIndex)("itemRender",r.itemRender),i.Eb("title",r.locale.prev_page),i.Db(1),i.Eb("title",r.pageIndex+"/"+r.lastIndex),i.Db(1),i.sc("disabled",r.disabled)("value",r.pageIndex),i.Db(3),i.Pc(" ",r.lastIndex," "),i.Db(1),i.sc("disabled",r.isLastIndex)("itemRender",r.itemRender),i.Eb("title",r.locale.next_page)}}var FT=function(){function e(e,t,n){this.i18n=e,this.cdr=t,this.breakpointService=n,this.nzPageSizeChange=new i.n,this.nzPageIndexChange=new i.n,this.nzShowTotal=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzItemRender=null,this.nzDisabled=!1,this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzResponsive=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.locale={},this.size="default",this.destroy$=new kt.a,this.total$=new Os.a(1)}return e.prototype.validatePageIndex=function(e,t){return e>t?t:e<1?1:e},e.prototype.onPageIndexChange=function(e){var t=this.getLastIndex(this.nzTotal,this.nzPageSize),n=this.validatePageIndex(e,t);n===this.nzPageIndex||this.nzDisabled||(this.nzPageIndex=n,this.nzPageIndexChange.emit(this.nzPageIndex))},e.prototype.onPageSizeChange=function(e){this.nzPageSize=e,this.nzPageSizeChange.emit(e);var t=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>t&&this.onPageIndexChange(t)},e.prototype.onTotalChange=function(e){var t=this,n=this.getLastIndex(e,this.nzPageSize);this.nzPageIndex>n&&Promise.resolve().then((function(){return t.onPageIndexChange(n)}))},e.prototype.getLastIndex=function(e,t){return Math.ceil(e/t)},e.prototype.ngOnInit=function(){var e=this;this.i18n.localeChange.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.locale=e.i18n.getLocaleData("Pagination"),e.cdr.markForCheck()})),this.total$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.onTotalChange(t)})),this.breakpointService.subscribe(vs).pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.nzResponsive&&(e.size="xs"===t?"small":"default",e.cdr.markForCheck())}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.ngOnChanges=function(e){var t=e.nzHideOnSinglePage,n=e.nzTotal,i=e.nzPageSize,r=e.nzSize;n&&this.total$.next(this.nzTotal),(t||n||i)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),r&&(this.size=r.currentValue)},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowSizeChanger",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzHideOnSinglePage",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowQuickJumper",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzSimple",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzResponsive",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzTotal",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzPageIndex",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzPageSize",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Lp),i.Tb(i.h),i.Tb(ws))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-pagination"]],hostVars:8,hostBindings:function(e,t){2&e&&i.Jb("ant-pagination",!0)("ant-pagination-simple",t.nzSimple)("ant-pagination-disabled",t.nzDisabled)("mini",!t.nzSimple&&"small"===t.size)},inputs:{nzShowTotal:"nzShowTotal",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzItemRender:"nzItemRender",nzDisabled:"nzDisabled",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzResponsive:"nzResponsive",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[i.Bb],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(i.Lc(0,fT,2,2,"ng-container",0),i.Zb(1,"nz-pagination-simple",1,2),i.hc("pageIndexChange",(function(e){return t.onPageIndexChange(e)})),i.Yb(),i.Zb(3,"nz-pagination-default",3,4),i.hc("pageIndexChange",(function(e){return t.onPageIndexChange(e)}))("pageSizeChange",(function(e){return t.onPageSizeChange(e)})),i.Yb()),2&e&&(i.sc("ngIf",t.showPagination),i.Db(1),i.sc("disabled",t.nzDisabled)("itemRender",t.nzItemRender)("locale",t.locale)("pageSize",t.nzPageSize)("total",t.nzTotal)("pageIndex",t.nzPageIndex),i.Db(2),i.sc("nzSize",t.size)("itemRender",t.nzItemRender)("showTotal",t.nzShowTotal)("disabled",t.nzDisabled)("locale",t.locale)("showSizeChanger",t.nzShowSizeChanger)("showQuickJumper",t.nzShowQuickJumper)("total",t.nzTotal)("pageIndex",t.nzPageIndex)("pageSize",t.nzPageSize)("pageSizeOptions",t.nzPageSizeOptions))},directives:function(){return[Vr.t,YT,RT,Vr.A]},encapsulation:2,changeDetection:0}),e}(),RT=function(){function e(e,t){this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.locale={},this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new i.n,this.pageSizeChange=new i.n,this.ranges=[0,0],this.listOfPageItem=[],e.removeChild(e.parentNode(t.nativeElement),t.nativeElement)}return e.prototype.jumpPage=function(e){this.onPageIndexChange(e)},e.prototype.jumpDiff=function(e){this.jumpPage(this.pageIndex+e)},e.prototype.trackByPageItem=function(e,t){return t.type+"-"+t.index},e.prototype.onPageIndexChange=function(e){this.pageIndexChange.next(e)},e.prototype.onPageSizeChange=function(e){this.pageSizeChange.next(e)},e.prototype.getLastIndex=function(e,t){return Math.ceil(e/t)},e.prototype.buildIndexes=function(){var e=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,e)},e.prototype.getListOfPageItem=function(e,t){var n,i,r,o,a,s,c,u,l,p,h=function(e,t){for(var n=[],i=e;i<=t;i++)n.push({index:i,type:"page"});return n};return u=t<=9?h(1,t):(n=e,i=t,o={type:"prev_5"},a={type:"next_5"},s=h(1,1),c=h(t,t),r=n<4?Object(zt.g)(h(2,5),[a]):n0?this.delayTimer=setTimeout((function(){i.delayTimer=void 0,t?i.show():i.hide()}),1e3*n):t&&e?this.show():this.hide()},e.prototype.removeTriggerListeners=function(){this.triggerDisposables.forEach((function(e){return e()})),this.triggerDisposables.length=0},e.prototype.clearTogglingTimer=function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)},e.\u0275fac=function(e){i.gc()},e.\u0275dir=i.Ob({type:e,inputs:{nzTrigger:"nzTrigger",nzPlacement:"nzPlacement",nzMouseEnterDelay:"nzMouseEnterDelay",nzMouseLeaveDelay:"nzMouseLeaveDelay",nzTitle:"nzTitle",nzContent:"nzContent",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzVisible:"nzVisible"},outputs:{nzVisibleChange:"nzVisibleChange"},features:[i.Bb]}),e}(),$T=function(){function e(e,t){this.cdr=e,this.noAnimation=t,this.nzVisibleChange=new kt.a,this.nzTitle=null,this.nzContent=null,this.nzOverlayStyle={},this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this._classMap={},this._hasBackdrop=!1,this._prefix="ant-tooltip-placement",this._positions=Object(zt.g)(Nu.d)}return Object.defineProperty(e.prototype,"nzVisible",{get:function(){return this._visible},set:function(e){var t=Object(es.C)(e);this._visible!==t&&(this._visible=t,this.nzVisibleChange.next(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzTrigger",{get:function(){return this._trigger},set:function(e){this._trigger=e,this._hasBackdrop="click"===this._trigger},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzPlacement",{get:function(){return this.preferredPlacement},set:function(e){e!==this.preferredPlacement&&(this.preferredPlacement=e,this._positions=Object(zt.g)([Nu.g[this.nzPlacement]],this._positions))},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.nzVisibleChange.complete()},e.prototype.show=function(){this.nzVisible||this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges())},e.prototype.hide=function(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())},e.prototype.updateByDirective=function(){var e=this;this.setClassMap(),this.cdr.detectChanges(),Promise.resolve().then((function(){e.updatePosition(),e.updateVisibilityByTitle()}))},e.prototype.updatePosition=function(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()},e.prototype.onPositionChange=function(e){this.preferredPlacement=Object(Nu.h)(e),this.setClassMap(),this.cdr.detectChanges()},e.prototype.setClassMap=function(){var e;this._classMap=((e={})[this.nzOverlayClassName]=!0,e[this._prefix+"-"+this.preferredPlacement]=!0,e)},e.prototype.setOverlayOrigin=function(e){this.origin=e,this.cdr.markForCheck()},e.prototype.updateVisibilityByTitle=function(){this.isEmpty()&&this.hide()},e.\u0275fac=function(e){i.gc()},e.\u0275dir=i.Ob({type:e,viewQuery:function(e,t){var n;1&e&&i.Sc(HT,!0),2&e&&i.zc(n=i.ic())&&(t.overlay=n.first)}}),e}();function GT(e){return!(e instanceof i.M||""!==e&&Object(es.p)(e))}var QT=function(e){function t(t,n,i,r,o){var a=e.call(this,t,n,i,r,o)||this;return a.componentFactory=a.resolver.resolveComponentFactory(XT),a}return Object(zt.c)(t,e),t.\u0275fac=function(e){return new(e||t)(i.Tb(i.l),i.Tb(i.Q),i.Tb(i.j),i.Tb(i.E),i.Tb(ac.a,9))},t.\u0275dir=i.Ob({type:t,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-tooltip-open",t.visible)},inputs:{specificTitle:["nzTooltipTitle","specificTitle"],directiveNameTitle:["nz-tooltip","directiveNameTitle"],specificTrigger:["nzTooltipTrigger","specificTrigger"],specificPlacement:["nzTooltipPlacement","specificPlacement"],specificOrigin:["nzTooltipOrigin","specificOrigin"]},exportAs:["nzTooltip"],features:[i.Ab]}),t}(ZT),XT=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.noAnimation=n,i.nzTitle=null,i}return Object(zt.c)(t,e),t.prototype.isEmpty=function(){return GT(this.nzTitle)},t.\u0275fac=function(e){return new(e||t)(i.Tb(i.h),i.Tb(ac.a,9))},t.\u0275cmp=i.Nb({type:t,selectors:[["nz-tooltip"]],inputs:{nzTitle:"nzTitle"},exportAs:["nzTooltipComponent"],features:[i.Ab],decls:2,vars:4,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","backdropClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-inner"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(i.Lc(0,qT,5,6,"ng-template",0,1,i.Mc),i.hc("backdropClick",(function(){return t.hide()}))("detach",(function(){return t.hide()}))("positionChange",(function(e){return t.onPositionChange(e)}))),2&e&&i.sc("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayOpen",t._visible)("cdkConnectedOverlayHasBackdrop",t._hasBackdrop)("cdkConnectedOverlayPositions",t._positions)},directives:[Ur.a,Nu.e,Vr.q,Vr.w,ac.a,Es.b],encapsulation:2,data:{animation:[xs.j]},changeDetection:0}),t}($T),KT=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ur.i,Es.a,Nu.f,ac.b]]}),e}();function JT(e,t){if(1&e&&(i.Xb(0),i.Ub(1,"i",14),i.Wb()),2&e){var n=t.$implicit;i.Db(1),i.sc("nzType",n||"exclamation-circle")}}function e_(e,t){if(1&e&&(i.Xb(0),i.Lc(1,JT,2,1,"ng-container",8),i.Zb(2,"div",13),i.Nc(3),i.Yb(),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzIcon),i.Db(2),i.Oc(n.nzTitle)}}function t_(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzCancelText)}}function n_(e,t){1&e&&(i.Xb(0),i.Nc(1),i.lc(2,"nzI18n"),i.Wb()),2&e&&(i.Db(1),i.Oc(i.mc(2,1,"Modal.cancelText")))}function i_(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzOkText)}}function r_(e,t){1&e&&(i.Xb(0),i.Nc(1),i.lc(2,"nzI18n"),i.Wb()),2&e&&(i.Db(1),i.Oc(i.mc(2,1,"Modal.okText")))}function o_(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",2),i.Zb(1,"div",3),i.Ub(2,"div",4),i.Zb(3,"div",5),i.Zb(4,"div"),i.Zb(5,"div",6),i.Zb(6,"div",7),i.Lc(7,e_,4,2,"ng-container",8),i.Yb(),i.Zb(8,"div",9),i.Zb(9,"button",10),i.hc("click",(function(){return i.Dc(n),i.kc().onCancel()})),i.Lc(10,t_,2,1,"ng-container",11),i.Lc(11,n_,3,3,"ng-container",11),i.Yb(),i.Zb(12,"button",12),i.hc("click",(function(){return i.Dc(n),i.kc().onConfirm()})),i.Lc(13,i_,2,1,"ng-container",11),i.Lc(14,r_,3,3,"ng-container",11),i.Yb(),i.Yb(),i.Yb(),i.Yb(),i.Yb(),i.Yb(),i.Yb()}if(2&e){var r=i.kc();i.sc("ngClass",r._classMap)("ngStyle",r.nzOverlayStyle)("@.disabled",null==r.noAnimation?null:r.noAnimation.nzNoAnimation)("nzNoAnimation",null==r.noAnimation?null:r.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),i.Db(7),i.sc("nzStringTemplateOutlet",r.nzTitle),i.Db(2),i.sc("nzSize","small"),i.Db(1),i.sc("ngIf",r.nzCancelText),i.Db(1),i.sc("ngIf",!r.nzCancelText),i.Db(1),i.sc("nzSize","small")("nzType",r.nzOkType),i.Db(1),i.sc("ngIf",r.nzOkText),i.Db(1),i.sc("ngIf",!r.nzOkText)}}var a_=function(e){function t(t,n,r,o,a){var s=e.call(this,t,n,r,o,a)||this;return s.nzCondition=!1,s.nzTrigger="click",s.nzOnCancel=new i.n,s.nzOnConfirm=new i.n,s.componentFactory=s.resolver.resolveComponentFactory(s_),s.needProxyProperties=["nzOverlayClassName","nzOverlayStyle","nzMouseEnterDelay","nzMouseLeaveDelay","nzVisible","nzOkText","nzOkType","nzCancelText","nzCondition","nzIcon"],s}return Object(zt.c)(t,e),t.prototype.createComponent=function(){var t=this;e.prototype.createComponent.call(this),this.component.nzOnCancel.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){t.nzOnCancel.emit()})),this.component.nzOnConfirm.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){t.nzOnConfirm.emit()}))},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzCondition",void 0),t.\u0275fac=function(e){return new(e||t)(i.Tb(i.l),i.Tb(i.Q),i.Tb(i.j),i.Tb(i.E),i.Tb(ac.a,9))},t.\u0275dir=i.Ob({type:t,selectors:[["","nz-popconfirm",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-popover-open",t.visible)},inputs:{specificTitle:["nzPopconfirmTitle","specificTitle"],directiveNameTitle:["nz-popconfirm","directiveNameTitle"],specificTrigger:["nzPopconfirmTrigger","specificTrigger"],specificPlacement:["nzPopconfirmPlacement","specificPlacement"],specificOrigin:["nzPopconfirmOrigin","specificOrigin"],nzOkText:"nzOkText",nzOkType:"nzOkType",nzCancelText:"nzCancelText",nzIcon:"nzIcon",nzCondition:"nzCondition",nzTrigger:"nzTrigger"},outputs:{nzOnCancel:"nzOnCancel",nzOnConfirm:"nzOnConfirm"},exportAs:["nzPopconfirm"],features:[i.Ab]}),t}(ZT),s_=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.noAnimation=n,i.nzCondition=!1,i.nzOkType="primary",i.nzOnCancel=new kt.a,i.nzOnConfirm=new kt.a,i._trigger="click",i._prefix="ant-popover-placement",i._hasBackdrop=!0,i}return Object(zt.c)(t,e),t.prototype.ngOnDestroy=function(){e.prototype.ngOnDestroy.call(this),this.nzOnCancel.complete(),this.nzOnConfirm.complete()},t.prototype.show=function(){this.nzCondition?this.onConfirm():e.prototype.show.call(this)},t.prototype.onCancel=function(){this.nzOnCancel.next(),e.prototype.hide.call(this)},t.prototype.onConfirm=function(){this.nzOnConfirm.next(),e.prototype.hide.call(this)},t.\u0275fac=function(e){return new(e||t)(i.Tb(i.h),i.Tb(ac.a,9))},t.\u0275cmp=i.Nb({type:t,selectors:[["nz-popconfirm"]],exportAs:["nzPopconfirmComponent"],features:[i.Ab],decls:2,vars:4,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","backdropClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-inner"],[1,"ant-popover-inner-content"],[1,"ant-popover-message"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-buttons"],["nz-button","",3,"nzSize","click"],[4,"ngIf"],["nz-button","",3,"nzSize","nzType","click"],[1,"ant-popover-message-title"],["nz-icon","","nzTheme","fill",3,"nzType"]],template:function(e,t){1&e&&(i.Lc(0,o_,15,13,"ng-template",0,1,i.Mc),i.hc("backdropClick",(function(){return t.hide()}))("detach",(function(){return t.hide()}))("positionChange",(function(e){return t.onPositionChange(e)}))),2&e&&i.sc("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayHasBackdrop",t._hasBackdrop)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayOpen",t._visible)},directives:[Ur.a,Nu.e,Vr.q,Vr.w,ac.a,Es.b,Wu.a,Ud.a,Hd.a,Vr.t,Ns.a],pipes:[Pp],encapsulation:2,data:{animation:[xs.j]},changeDetection:0}),t}(XT),c_=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Wu.c,Ur.i,Fp,Ns.b,Es.a,Nu.f,ac.b,KT]]}),e}();function u_(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Oc(n.nzTitle)}}function l_(e,t){if(1&e&&(i.Zb(0,"div",9),i.Lc(1,u_,2,1,"ng-container",8),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzTitle)}}function p_(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzContent)}}function h_(e,t){if(1&e&&(i.Zb(0,"div",2),i.Zb(1,"div",3),i.Ub(2,"div",4),i.Zb(3,"div",5),i.Zb(4,"div"),i.Lc(5,l_,2,1,"div",6),i.Zb(6,"div",7),i.Lc(7,p_,2,1,"ng-container",8),i.Yb(),i.Yb(),i.Yb(),i.Yb(),i.Yb()),2&e){var n=i.kc();i.sc("ngClass",n._classMap)("ngStyle",n.nzOverlayStyle)("@.disabled",null==n.noAnimation?null:n.noAnimation.nzNoAnimation)("nzNoAnimation",null==n.noAnimation?null:n.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),i.Db(5),i.sc("ngIf",n.nzTitle),i.Db(2),i.sc("nzStringTemplateOutlet",n.nzContent)}}var d_=function(e){function t(t,n,i,r,o){var a=e.call(this,t,n,i,r,o)||this;return a.noAnimation=o,a.componentFactory=a.resolver.resolveComponentFactory(f_),a}return Object(zt.c)(t,e),t.\u0275fac=function(e){return new(e||t)(i.Tb(i.l),i.Tb(i.Q),i.Tb(i.j),i.Tb(i.E),i.Tb(ac.a,9))},t.\u0275dir=i.Ob({type:t,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-popover-open",t.visible)},inputs:{specificTitle:["nzPopoverTitle","specificTitle"],specificContent:["nzPopoverContent","specificContent"],directiveNameTitle:["nz-popover","directiveNameTitle"],specificTrigger:["nzPopoverTrigger","specificTrigger"],specificPlacement:["nzPopoverPlacement","specificPlacement"],specificOrigin:["nzPopoverOrigin","specificOrigin"]},exportAs:["nzPopover"],features:[i.Ab]}),t}(ZT),f_=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.noAnimation=n,i._prefix="ant-popover-placement",i}return Object(zt.c)(t,e),t.prototype.isEmpty=function(){return GT(this.nzTitle)&>(this.nzContent)},t.\u0275fac=function(e){return new(e||t)(i.Tb(i.h),i.Tb(ac.a,9))},t.\u0275cmp=i.Nb({type:t,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[i.Ab],decls:2,vars:4,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","backdropClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],["role","tooltip",1,"ant-popover-inner"],["class","ant-popover-title",4,"ngIf"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-title"]],template:function(e,t){1&e&&(i.Lc(0,h_,8,7,"ng-template",0,1,i.Mc),i.hc("backdropClick",(function(){return t.hide()}))("detach",(function(){return t.hide()}))("positionChange",(function(e){return t.onPositionChange(e)}))),2&e&&i.sc("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayHasBackdrop",t._hasBackdrop)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayOpen",t._visible)},directives:[Ur.a,Nu.e,Vr.q,Vr.w,ac.a,Vr.t,Es.b],encapsulation:2,data:{animation:[xs.j]},changeDetection:0}),t}(XT),g_=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ur.i,Es.a,Nu.f,ac.b,KT]]}),e}();function b_(e,t){if(1&e&&(i.Xb(0),i.Ub(1,"i",8),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.sc("nzType",n.icon)}}function m_(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=t.$implicit,r=i.kc(4);i.Db(1),i.Pc(" ",n(r.nzPercent)," ")}}var v_=function(e){return{$implicit:e}};function y_(e,t){if(1&e&&i.Lc(0,m_,2,1,"ng-container",9),2&e){var n=i.kc(3);i.sc("nzStringTemplateOutlet",n.formatter)("nzStringTemplateOutletContext",i.vc(2,v_,n.nzPercent))}}function w_(e,t){if(1&e&&(i.Zb(0,"span",5),i.Lc(1,b_,2,1,"ng-container",6),i.Lc(2,y_,1,4,"ng-template",null,7,i.Mc),i.Yb()),2&e){var n=i.Ac(3),r=i.kc(2);i.Db(1),i.sc("ngIf",("exception"===r.status||"success"===r.status)&&!r.nzFormat)("ngIfElse",n)}}function O_(e,t){if(1&e&&i.Lc(0,w_,4,2,"span",4),2&e){var n=i.kc();i.sc("ngIf",n.nzShowInfo)}}function C_(e,t){if(1&e&&i.Ub(0,"div",17),2&e){var n=i.kc(4);i.Kc("width",n.nzSuccessPercent,"%")("border-radius","round"===n.nzStrokeLinecap?"100px":"0")("height",n.strokeWidth,"px")}}function S_(e,t){if(1&e&&(i.Zb(0,"div",13),i.Zb(1,"div",14),i.Ub(2,"div",15),i.Lc(3,C_,1,6,"div",16),i.Yb(),i.Yb()),2&e){var n=i.kc(3);i.Db(2),i.Kc("width",n.nzPercent,"%")("border-radius","round"===n.nzStrokeLinecap?"100px":"0")("background",n.isGradient?null:n.nzStrokeColor,i.Mb)("background-image",n.isGradient?n.lineGradient:null,i.Mb)("height",n.strokeWidth,"px"),i.Db(1),i.sc("ngIf",n.nzSuccessPercent||0===n.nzSuccessPercent)}}function z_(e,t){}function T_(e,t){if(1&e&&(i.Xb(0),i.Lc(1,S_,4,11,"div",11),i.Lc(2,z_,0,0,"ng-template",12),i.Wb()),2&e){var n=i.kc(2),r=i.Ac(1);i.Db(1),i.sc("ngIf",!n.isSteps),i.Db(1),i.sc("ngTemplateOutlet",r)}}function __(e,t){1&e&&i.Ub(0,"div",20),2&e&&i.sc("ngStyle",t.$implicit)}function k_(e,t){}function D_(e,t){if(1&e&&(i.Zb(0,"div",18),i.Lc(1,__,1,1,"div",19),i.Lc(2,k_,0,0,"ng-template",12),i.Yb()),2&e){var n=i.kc(2),r=i.Ac(1);i.Db(1),i.sc("ngForOf",n.steps),i.Db(1),i.sc("ngTemplateOutlet",r)}}function x_(e,t){if(1&e&&(i.Zb(0,"div"),i.Lc(1,T_,3,2,"ng-container",2),i.Lc(2,D_,3,2,"div",10),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",!n.isSteps),i.Db(1),i.sc("ngIf",n.isSteps)}}function E_(e,t){if(1&e&&(i.jc(),i.Ub(0,"stop")),2&e){var n=t.$implicit;i.Eb("offset",n.offset)("stop-color",n.color)}}function N_(e,t){if(1&e&&(i.jc(),i.Zb(0,"defs"),i.Zb(1,"linearGradient",24),i.Lc(2,E_,1,2,"stop",25),i.Yb(),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("id","gradient-"+n.gradientId),i.Db(1),i.sc("ngForOf",n.circleGradient)}}function j_(e,t){if(1&e&&(i.jc(),i.Ub(0,"path",26)),2&e){var n=t.$implicit,r=i.kc(2);i.sc("ngStyle",n.strokePathStyle),i.Eb("d",r.pathString)("stroke-linecap",r.nzStrokeLinecap)("stroke",n.stroke)("stroke-width",r.nzPercent?r.strokeWidth:0)}}function I_(e,t){1&e&&i.jc()}function A_(e,t){if(1&e&&(i.Zb(0,"div",14),i.jc(),i.Zb(1,"svg",21),i.Lc(2,N_,3,2,"defs",2),i.Ub(3,"path",22),i.Lc(4,j_,1,5,"path",23),i.Yb(),i.Lc(5,I_,0,0,"ng-template",12),i.Yb()),2&e){var n=i.kc(),r=i.Ac(1);i.Kc("width",n.nzWidth,"px")("height",n.nzWidth,"px")("font-size",.15*n.nzWidth+6,"px"),i.Jb("ant-progress-circle-gradient",n.isGradient),i.Db(2),i.sc("ngIf",n.isGradient),i.Db(1),i.sc("ngStyle",n.trailPathStyle),i.Eb("stroke-width",n.strokeWidth)("d",n.pathString),i.Db(1),i.sc("ngForOf",n.progressCirclePath)("ngForTrackBy",n.trackByFn),i.Db(1),i.sc("ngTemplateOutlet",r)}}var M_=function(e){var t=[];return Object.keys(e).forEach((function(n){var i=e[n],r=+n.replace("%","");isNaN(r)||t.push({key:r,value:i})})),t=t.sort((function(e,t){return e.key-t.key}))},L_=0,P_=new Map([["success","check"],["exception","close"]]),F_=new Map([["normal","#108ee9"],["exception","#ff5500"],["success","#87d068"]]),R_=function(e){return e+"%"},V_=function(){function e(e){this.nzConfigService=e,this.nzShowInfo=!0,this.nzWidth=132,this.nzStrokeColor=void 0,this.nzSize="default",this.nzPercent=0,this.nzStrokeWidth=void 0,this.nzGapDegree=void 0,this.nzType="line",this.nzGapPosition="top",this.nzStrokeLinecap="round",this.steps=[],this.lineGradient=null,this.isGradient=!1,this.isSteps=!1,this.gradientId=L_++,this.progressCirclePath=[],this.trailPathStyle=null,this.trackByFn=function(e){return""+e},this.cachedStatus="normal",this.inferredStatus="normal",this.destroy$=new kt.a}return Object.defineProperty(e.prototype,"formatter",{get:function(){return this.nzFormat||R_},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.nzStatus||this.inferredStatus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this.nzStrokeWidth||("line"===this.nzType&&"small"!==this.nzSize?8:6)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCircleStyle",{get:function(){return"circle"===this.nzType||"dashboard"===this.nzType},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=e.nzSteps,n=e.nzGapPosition,i=e.nzStrokeLinecap,r=e.nzStrokeColor,o=e.nzGapDegree,a=e.nzType,s=e.nzStatus,c=e.nzPercent,u=e.nzSuccessPercent;s&&(this.cachedStatus=this.nzStatus||this.cachedStatus),(c||u)&&(parseInt(this.nzPercent.toString(),10)>=100?(Object(es.p)(this.nzSuccessPercent)&&this.nzSuccessPercent>=100||void 0===this.nzSuccessPercent)&&(this.inferredStatus="success"):this.inferredStatus=this.cachedStatus),(s||c||u)&&this.updateIcon(),r&&this.setStrokeColor(),(n||i||o||a||c||r)&&this.getCirclePaths(),t&&(this.isSteps=Object(es.p)(t.currentValue),this.getSteps())},e.prototype.ngOnInit=function(){var e=this;this.nzConfigService.getConfigChangeEventForComponent("progress").pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.updateIcon(),e.setStrokeColor(),e.getCirclePaths()}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.updateIcon=function(){var e=P_.get(this.status);this.icon=e?e+(this.isCircleStyle?"-o":"-circle-fill"):""},e.prototype.getSteps=function(){for(var e=Math.floor(this.nzSteps*(this.nzPercent/100)),t="small"===this.nzSize?2:14,n=0;n0&&(this.nzValue-=this.nzAllowHalf?.5:1),t!==this.nzValue&&(this.onChange(this.nzValue),this.nzOnKeyDown.emit(e),this.updateStarStyle(),this.cdr.markForCheck())},e.prototype.updateStarArray=function(){this.starArray=Array(this.nzCount).fill(0).map((function(e,t){return t})),this.updateStarStyle()},e.prototype.updateStarStyle=function(){var e=this;this.starStyleArray=this.starArray.map((function(t){var n,i="ant-rate-star",r=t+1;return(n={})[i+"-full"]=re.hoverValue,n[i+"-focused"]=e.hasHalf&&r===e.hoverValue&&e.isFocused,n}))},e.prototype.writeValue=function(e){this.nzValue=e||0,this.updateStarArray(),this.cdr.markForCheck()},e.prototype.setDisabledState=function(e){this.nzDisabled=e},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},Object(zt.b)([Object(Qa.b)("rate"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzAllowClear",void 0),Object(zt.b)([Object(Qa.b)("rate"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzAllowHalf",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzAutoFocus",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Number)],e.prototype,"nzCount",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.E),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-rate"]],viewQuery:function(e,t){var n;1&e&&i.Sc(Y_,!0),2&e&&i.zc(n=i.ic())&&(t.ulElement=n.first)},inputs:{nzAllowClear:"nzAllowClear",nzAllowHalf:"nzAllowHalf",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzCount:"nzCount",nzTooltips:"nzTooltips",nzCharacter:"nzCharacter"},outputs:{nzOnBlur:"nzOnBlur",nzOnFocus:"nzOnFocus",nzOnHoverChange:"nzOnHoverChange",nzOnKeyDown:"nzOnKeyDown"},exportAs:["nzRate"],features:[i.Cb([{provide:Ot.m,useExisting:Object(i.V)((function(){return e})),multi:!0}]),i.Bb],decls:3,vars:5,consts:[[1,"ant-rate",3,"ngClass","tabindex","blur","focus","keydown","mouseleave"],["ulElement",""],["class","ant-rate-star","nz-tooltip","",3,"ngClass","nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",1,"ant-rate-star",3,"ngClass","nzTooltipTitle"],["nz-rate-item","",3,"allowHalf","character","itemHover","itemClick"]],template:function(e,t){1&e&&(i.Zb(0,"ul",0,1),i.hc("blur",(function(e){return t.onBlur(e)}))("focus",(function(e){return t.onFocus(e)}))("keydown",(function(e){return t.onKeyDown(e),e.preventDefault()}))("mouseleave",(function(e){return t.onRateLeave(),e.stopPropagation()})),i.Lc(2,U_,2,4,"li",2),i.Yb()),2&e&&(i.Jb("ant-rate-disabled",t.nzDisabled),i.sc("ngClass",t.classMap)("tabindex",t.nzDisabled?-1:1),i.Db(2),i.sc("ngForOf",t.starArray))},directives:function(){return[Vr.q,Vr.s,QT,G_]},encapsulation:2,changeDetection:0}),e}(),G_=function(){function e(){this.allowHalf=!1,this.itemHover=new i.n,this.itemClick=new i.n}return e.prototype.hoverRate=function(e){this.itemHover.next(e&&this.allowHalf)},e.prototype.clickRate=function(e){this.itemClick.next(e&&this.allowHalf)},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"allowHalf",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-rate-item",""]],inputs:{allowHalf:"allowHalf",character:"character"},outputs:{itemHover:"itemHover",itemClick:"itemClick"},exportAs:["nzRateItem"],attrs:H_,decls:14,vars:2,consts:[[1,"ant-rate-star-second",3,"mouseover","click"],[3,"ngTemplateOutlet"],[1,"ant-rate-star-first",3,"mouseover","click"],["defaultCharacter",""],["nz-icon","","nzType","star","nzTheme","fill"]],template:function(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.hc("mouseover",(function(e){return t.hoverRate(!1),e.stopPropagation()}))("click",(function(){return t.clickRate(!1)})),i.Nc(2,"\n "),i.Lc(3,W_,0,0,"ng-template",1),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"div",2),i.hc("mouseover",(function(e){return t.hoverRate(!0),e.stopPropagation()}))("click",(function(){return t.clickRate(!0)})),i.Nc(7,"\n "),i.Lc(8,q_,0,0,"ng-template",1),i.Nc(9,"\n "),i.Yb(),i.Nc(10,"\n\n "),i.Lc(11,Z_,3,0,"ng-template",null,3,i.Mc),i.Nc(13,"\n ")),2&e){var n=i.Ac(12);i.Db(3),i.sc("ngTemplateOutlet",t.character||n),i.Db(5),i.sc("ngTemplateOutlet",t.character||n)}},directives:[Vr.A,Ns.a],encapsulation:2,changeDetection:0}),e}(),Q_=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ns.b,KT]]}),e}();function X_(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Ub(2,"i",6),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit;i.Db(2),i.sc("nzType",n)}}function K_(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,X_,4,1,"ng-container",5),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc(2);i.Db(2),i.sc("nzStringTemplateOutlet",n.icon)}}function J_(e,t){1&e&&i.qc(0,1,["*ngIf","!icon"])}function ek(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,K_,4,1,"ng-container",2),i.Nc(3,"\n "),i.Lc(4,J_,1,0,void 0,2),i.Nc(5,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("ngIf",n.icon),i.Db(2),i.sc("ngIf",!n.icon)}}function tk(e,t){if(1&e&&(i.Zb(0,"div",8),i.Nc(1),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.Pc("\n ",n.nzTitle,"\n ")}}function nk(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,tk,2,1,"div",7),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzTitle)}}function ik(e,t){1&e&&i.qc(0,2,["*ngIf","!nzTitle"])}function rk(e,t){if(1&e&&(i.Zb(0,"div",10),i.Nc(1),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.Pc("\n ",n.nzSubTitle,"\n ")}}function ok(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,rk,2,1,"div",9),i.Nc(3,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzSubTitle)}}function ak(e,t){1&e&&i.qc(0,3,["*ngIf","!nzSubTitle"])}function sk(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Pc("\n ",n.nzExtra,"\n ")}}function ck(e,t){if(1&e&&(i.Zb(0,"div",11),i.Nc(1,"\n "),i.Lc(2,sk,2,1,"ng-container",5),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzExtra)}}function uk(e,t){1&e&&i.qc(0,4,["*ngIf","!nzExtra"])}function lk(e,t){1&e&&i.Ub(0,"nz-result-not-found")}function pk(e,t){1&e&&i.Ub(0,"nz-result-server-error")}function hk(e,t){1&e&&i.Ub(0,"nz-result-unauthorized")}function dk(e,t){if(1&e&&(i.Nc(0,"\n "),i.Xb(1,12),i.Nc(2,"\n "),i.Lc(3,lk,1,0,"nz-result-not-found",13),i.Nc(4,"\n "),i.Lc(5,pk,1,0,"nz-result-server-error",13),i.Nc(6,"\n "),i.Lc(7,hk,1,0,"nz-result-unauthorized",13),i.Nc(8,"\n "),i.Wb(),i.Nc(9,"\n ")),2&e){var n=i.kc();i.Db(1),i.sc("ngSwitch",n.nzStatus),i.Db(2),i.sc("ngSwitchCase","404"),i.Db(2),i.sc("ngSwitchCase","500"),i.Db(2),i.sc("ngSwitchCase","403")}}var fk=[[["nz-result-content"],["","nz-result-content",""]],[["","nz-result-icon",""]],[["div","nz-result-title",""]],[["div","nz-result-subtitle",""]],[["div","nz-result-extra",""]]],gk=["nz-result-content, [nz-result-content]","[nz-result-icon]","div[nz-result-title]","div[nz-result-subtitle]","div[nz-result-extra]"],bk=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["div","nz-result-title",""]],hostAttrs:[1,"ant-result-title"],exportAs:["nzResultTitle"]}),e}(),mk=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["div","nz-result-subtitle",""]],hostAttrs:[1,"ant-result-subtitle"],exportAs:["nzResultSubtitle"]}),e}(),vk=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["i","nz-result-icon",""],["div","nz-result-icon",""]],exportAs:["nzResultIcon"]}),e}(),yk=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["div","nz-result-content",""]],hostAttrs:[1,"ant-result-content"],exportAs:["nzResultContent"]}),e}(),wk=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["div","nz-result-extra",""]],hostAttrs:[1,"ant-result-extra"],exportAs:["nzResultExtra"]}),e}(),Ok={success:"check-circle",error:"close-circle",info:"exclamation-circle",warning:"warning"},Ck=["404","500","403"],Sk=function(){function e(){this.nzStatus="info",this.isException=!1}return e.prototype.ngOnChanges=function(){this.setStatusIcon()},e.prototype.setStatusIcon=function(){var e=this.nzIcon;this.isException=-1!==Ck.indexOf(this.nzStatus),this.icon=e?"string"==typeof e&&Ok[e]||e:this.isException?void 0:Ok[this.nzStatus]},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-result"]],hostVars:10,hostBindings:function(e,t){2&e&&i.Jb("ant-result",!0)("ant-result-success","success"===t.nzStatus)("ant-result-error","error"===t.nzStatus)("ant-result-info","info"===t.nzStatus)("ant-result-warning","warning"===t.nzStatus)},inputs:{nzStatus:"nzStatus",nzIcon:"nzIcon",nzTitle:"nzTitle",nzSubTitle:"nzSubTitle",nzExtra:"nzExtra"},exportAs:["nzResult"],features:[i.Bb],ngContentSelectors:gk,decls:23,vars:8,consts:[[1,"ant-result-icon"],[4,"ngIf","ngIfElse"],[4,"ngIf"],["class","ant-result-extra",4,"ngIf"],["exceptionTpl",""],[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","fill",3,"nzType"],["class","ant-result-title",4,"nzStringTemplateOutlet"],[1,"ant-result-title"],["class","ant-result-subtitle",4,"nzStringTemplateOutlet"],[1,"ant-result-subtitle"],[1,"ant-result-extra"],[3,"ngSwitch"],[4,"ngSwitchCase"]],template:function(e,t){if(1&e&&(i.rc(fk),i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Lc(3,ek,6,2,"ng-container",1),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "),i.Lc(6,nk,4,1,"ng-container",2),i.Nc(7,"\n "),i.Lc(8,ik,1,0,void 0,2),i.Nc(9,"\n "),i.Lc(10,ok,4,1,"ng-container",2),i.Nc(11,"\n "),i.Lc(12,ak,1,0,void 0,2),i.Nc(13,"\n "),i.qc(14),i.Nc(15,"\n "),i.Lc(16,ck,4,1,"div",3),i.Nc(17,"\n "),i.Lc(18,uk,1,0,void 0,2),i.Nc(19,"\n\n "),i.Lc(20,dk,10,4,"ng-template",null,4,i.Mc),i.Nc(22,"\n ")),2&e){var n=i.Ac(21);i.Db(3),i.sc("ngIf",!t.isException)("ngIfElse",n),i.Db(3),i.sc("ngIf",t.nzTitle),i.Db(2),i.sc("ngIf",!t.nzTitle),i.Db(2),i.sc("ngIf",t.nzSubTitle),i.Db(2),i.sc("ngIf",!t.nzSubTitle),i.Db(4),i.sc("ngIf",t.nzExtra),i.Db(2),i.sc("ngIf",!t.nzExtra)}},directives:function(){return[Vr.t,Es.b,Ns.a,Vr.x,Vr.y,zk,Tk,_k]},encapsulation:2,changeDetection:0}),e}(),zk=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-result-not-found"]],exportAs:["nzResultNotFound"],decls:129,vars:0,consts:[["width","252","height","294"],["d","M0 .387h251.772v251.772H0z"],["fill","none","fillRule","evenodd"],["transform","translate(0 .012)"],["fill","#fff"],["d","M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321","fill","#E4EBF7","mask","url(#b)"],["d","M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66","fill","#FFF"],["d","M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788","stroke","#FFF","strokeWidth","2"],["d","M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175","fill","#FFF"],["d","M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932","fill","#FFF"],["d","M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011","par","","stroke","#FFF","strokeWidth","2"],["d","M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382","fill","#FFF"],["d","M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z","stroke","#FFF","strokeWidth","2"],["stroke","#FFF","strokeWidth","2","d","M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"],["d","M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742","fill","#FFF"],["d","M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48","fill","#1890FF"],["d","M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894","fill","#FFF"],["d","M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88","fill","#FFB594"],["d","M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624","fill","#FFC6A0"],["d","M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682","fill","#FFF"],["d","M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573","fill","#CBD1D1"],["d","M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z","fill","#2B0849"],["d","M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558","fill","#A4AABA"],["d","M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z","fill","#CBD1D1"],["d","M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062","fill","#2B0849"],["d","M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15","fill","#A4AABA"],["d","M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165","fill","#7BB2F9"],["d","M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M107.275 222.1s2.773-1.11 6.102-3.884","stroke","#648BD8","strokeLinecap","round","strokeLinejoin","round"],["d","M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038","fill","#192064"],["d","M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81","fill","#FFF"],["d","M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642","fill","#192064"],["d","M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268","fill","#FFC6A0"],["d","M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456","fill","#FFC6A0"],["d","M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z","fill","#520038"],["d","M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254","fill","#552950"],["stroke","#DB836E","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round","d","M110.13 74.84l-.896 1.61-.298 4.357h-2.228"],["d","M110.846 74.481s1.79-.716 2.506.537","stroke","#5C2552","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round"],["d","M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67","stroke","#DB836E","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round"],["d","M103.287 72.93s1.83 1.113 4.137.954","stroke","#5C2552","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round"],["d","M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639","stroke","#DB836E","strokeWidth","1.118","strokeLinecap","round","strokeLinejoin","round"],["d","M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206","stroke","#E4EBF7","strokeWidth","1.101","strokeLinecap","round","strokeLinejoin","round"],["d","M129.405 122.865s-5.272 7.403-9.422 10.768","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M119.306 107.329s.452 4.366-2.127 32.062","stroke","#E4EBF7","strokeWidth","1.101","strokeLinecap","round","strokeLinejoin","round"],["d","M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01","fill","#F2D7AD"],["d","M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92","fill","#F4D19D"],["d","M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z","fill","#F2D7AD"],["fill","#CC9B6E","d","M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"],["d","M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83","fill","#F4D19D"],["fill","#CC9B6E","d","M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"],["fill","#CC9B6E","d","M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"],["d","M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238","fill","#FFC6A0"],["d","M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044","stroke","#DB836E","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617","stroke","#DB836E","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754","stroke","#DB836E","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647","fill","#5BA02E"],["d","M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647","fill","#92C110"],["d","M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187","fill","#F2D7AD"],["d","M88.979 89.48s7.776 5.384 16.6 2.842","stroke","#E4EBF7","strokeWidth","1.101","strokeLinecap","round","strokeLinejoin","round"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.jc(),i.Zb(1,"svg",0),i.Nc(2,"\n "),i.Zb(3,"defs"),i.Nc(4,"\n "),i.Ub(5,"path",1),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n "),i.Zb(8,"g",2),i.Nc(9,"\n "),i.Zb(10,"g",3),i.Nc(11,"\n "),i.Ub(12,"mask",4),i.Nc(13,"\n "),i.Ub(14,"path",5),i.Nc(15,"\n "),i.Yb(),i.Nc(16,"\n "),i.Ub(17,"path",6),i.Nc(18,"\n "),i.Ub(19,"path",7),i.Nc(20,"\n "),i.Ub(21,"path",8),i.Nc(22,"\n "),i.Ub(23,"path",9),i.Nc(24,"\n "),i.Ub(25,"path",10),i.Nc(26,"\n "),i.Ub(27,"path",11),i.Nc(28,"\n "),i.Ub(29,"path",12),i.Nc(30,"\n "),i.Ub(31,"path",13),i.Nc(32,"\n "),i.Ub(33,"path",14),i.Nc(34,"\n "),i.Ub(35,"path",15),i.Nc(36,"\n "),i.Ub(37,"path",16),i.Nc(38,"\n "),i.Ub(39,"path",17),i.Nc(40,"\n "),i.Ub(41,"path",18),i.Nc(42,"\n "),i.Ub(43,"path",19),i.Nc(44,"\n "),i.Ub(45,"path",20),i.Nc(46,"\n "),i.Ub(47,"path",21),i.Nc(48,"\n "),i.Ub(49,"path",22),i.Nc(50,"\n "),i.Ub(51,"path",23),i.Nc(52,"\n "),i.Ub(53,"path",24),i.Nc(54,"\n "),i.Ub(55,"path",25),i.Nc(56,"\n "),i.Ub(57,"path",26),i.Nc(58,"\n "),i.Ub(59,"path",27),i.Nc(60,"\n "),i.Ub(61,"path",28),i.Nc(62,"\n "),i.Ub(63,"path",29),i.Nc(64,"\n "),i.Ub(65,"path",30),i.Nc(66,"\n "),i.Ub(67,"path",31),i.Nc(68,"\n "),i.Ub(69,"path",32),i.Nc(70,"\n "),i.Ub(71,"path",33),i.Nc(72,"\n "),i.Ub(73,"path",34),i.Nc(74,"\n "),i.Ub(75,"path",35),i.Nc(76,"\n "),i.Ub(77,"path",36),i.Nc(78,"\n "),i.Ub(79,"path",37),i.Nc(80,"\n "),i.Ub(81,"path",38),i.Nc(82,"\n "),i.Ub(83,"path",39),i.Nc(84,"\n "),i.Ub(85,"path",40),i.Nc(86,"\n "),i.Ub(87,"path",41),i.Nc(88,"\n "),i.Ub(89,"path",42),i.Nc(90,"\n "),i.Ub(91,"path",43),i.Nc(92,"\n "),i.Ub(93,"path",44),i.Nc(94,"\n "),i.Ub(95,"path",45),i.Nc(96,"\n "),i.Ub(97,"path",46),i.Nc(98,"\n "),i.Ub(99,"path",47),i.Nc(100,"\n "),i.Ub(101,"path",48),i.Nc(102,"\n "),i.Ub(103,"path",49),i.Nc(104,"\n "),i.Ub(105,"path",50),i.Nc(106,"\n "),i.Ub(107,"path",51),i.Nc(108,"\n "),i.Ub(109,"path",52),i.Nc(110,"\n "),i.Ub(111,"path",53),i.Nc(112,"\n "),i.Ub(113,"path",54),i.Nc(114,"\n "),i.Ub(115,"path",55),i.Nc(116,"\n "),i.Ub(117,"path",56),i.Nc(118,"\n "),i.Ub(119,"path",57),i.Nc(120,"\n "),i.Ub(121,"path",58),i.Nc(122,"\n "),i.Ub(123,"path",59),i.Nc(124,"\n "),i.Ub(125,"path",60),i.Nc(126,"\n "),i.Yb(),i.Nc(127,"\n "),i.Yb(),i.Nc(128,"\n "))},encapsulation:2,changeDetection:0}),e}(),Tk=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-result-server-error"]],exportAs:["nzResultServerError"],decls:143,vars:0,consts:[["width","254","height","294"],["d","M0 .335h253.49v253.49H0z"],["d","M0 293.665h253.49V.401H0z"],["fill","none","fillRule","evenodd"],["transform","translate(0 .067)"],["fill","#fff"],["d","M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134","fill","#E4EBF7","mask","url(#b)"],["d","M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671","fill","#FFF"],["d","M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861","stroke","#FFF","strokeWidth","2"],["d","M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238","fill","#FFF"],["d","M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775","fill","#FFF"],["d","M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68","fill","#FF603B"],["d","M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733","fill","#FFF"],["d","M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487","fill","#FFB594"],["d","M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235","fill","#FFF"],["d","M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246","fill","#FFB594"],["d","M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508","fill","#FFC6A0"],["d","M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z","fill","#520038"],["d","M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26","fill","#552950"],["stroke","#DB836E","strokeWidth","1.063","strokeLinecap","round","strokeLinejoin","round","d","M99.206 73.644l-.9 1.62-.3 4.38h-2.24"],["d","M99.926 73.284s1.8-.72 2.52.54","stroke","#5C2552","strokeWidth","1.117","strokeLinecap","round","strokeLinejoin","round"],["d","M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68","stroke","#DB836E","strokeWidth","1.117","strokeLinecap","round","strokeLinejoin","round"],["d","M92.326 71.724s1.84 1.12 4.16.96","stroke","#5C2552","strokeWidth","1.117","strokeLinecap","round","strokeLinejoin","round"],["d","M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954","stroke","#DB836E","strokeWidth","1.063","strokeLinecap","round","strokeLinejoin","round"],["d","M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044","stroke","#E4EBF7","strokeWidth","1.136","strokeLinecap","round","strokeLinejoin","round"],["d","M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583","fill","#FFF"],["d","M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75","fill","#FFC6A0"],["d","M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713","fill","#FFC6A0"],["d","M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51","stroke","#E4EBF7","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16","fill","#FFC6A0"],["d","M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575","fill","#FFF"],["d","M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47","fill","#CBD1D1"],["d","M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z","fill","#2B0849"],["d","M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671","fill","#A4AABA"],["d","M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z","fill","#CBD1D1"],["d","M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162","fill","#2B0849"],["d","M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156","fill","#A4AABA"],["d","M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69","fill","#7BB2F9"],["d","M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034","stroke","#648BD8","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M96.973 219.373s2.882-1.153 6.34-4.034","stroke","#648BD8","strokeWidth","1.032","strokeLinecap","round","strokeLinejoin","round"],["d","M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07","stroke","#648BD8","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62","fill","#192064"],["d","M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843","fill","#FFF"],["d","M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668","fill","#192064"],["d","M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513","stroke","#648BD8","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72","stroke","#E4EBF7","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69","fill","#FFC6A0"],["d","M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593","stroke","#DB836E","strokeWidth",".774","strokeLinecap","round","strokeLinejoin","round"],["d","M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762","stroke","#E59788","strokeWidth",".774","strokeLinecap","round","strokeLinejoin","round"],["d","M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594","fill","#FFC6A0"],["d","M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12","stroke","#E59788","strokeWidth",".774","strokeLinecap","round","strokeLinejoin","round"],["d","M109.278 112.533s3.38-3.613 7.575-4.662","stroke","#E4EBF7","strokeWidth","1.085","strokeLinecap","round","strokeLinejoin","round"],["d","M107.375 123.006s9.697-2.745 11.445-.88","stroke","#E59788","strokeWidth",".774","strokeLinecap","round","strokeLinejoin","round"],["d","M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955","stroke","#BFCDDD","strokeWidth","2","strokeLinecap","round","strokeLinejoin","round"],["d","M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01","fill","#A3B4C6"],["d","M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813","fill","#A3B4C6"],["fill","#A3B4C6","mask","url(#d)","d","M154.098 190.096h70.513v-84.617h-70.513z"],["d","M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208","fill","#BFCDDD","mask","url(#d)"],["d","M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802","fill","#FFF","mask","url(#d)"],["d","M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209","fill","#BFCDDD","mask","url(#d)"],["d","M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751","stroke","#7C90A5","strokeWidth","1.124","strokeLinecap","round","strokeLinejoin","round","mask","url(#d)"],["d","M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802","fill","#FFF","mask","url(#d)"],["d","M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407","fill","#BFCDDD","mask","url(#d)"],["d","M177.259 207.217v11.52M201.05 207.217v11.52","stroke","#A3B4C6","strokeWidth","1.124","strokeLinecap","round","strokeLinejoin","round","mask","url(#d)"],["d","M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422","fill","#5BA02E","mask","url(#d)"],["d","M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423","fill","#92C110","mask","url(#d)"],["d","M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209","fill","#F2D7AD","mask","url(#d)"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.jc(),i.Zb(1,"svg",0),i.Nc(2,"\n "),i.Zb(3,"defs"),i.Nc(4,"\n "),i.Ub(5,"path",1),i.Nc(6,"\n "),i.Ub(7,"path",2),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Zb(10,"g",3),i.Nc(11,"\n "),i.Zb(12,"g",4),i.Nc(13,"\n "),i.Ub(14,"mask",5),i.Nc(15,"\n "),i.Ub(16,"path",6),i.Nc(17,"\n "),i.Yb(),i.Nc(18,"\n "),i.Ub(19,"path",7),i.Nc(20,"\n "),i.Ub(21,"path",8),i.Nc(22,"\n "),i.Ub(23,"path",9),i.Nc(24,"\n "),i.Ub(25,"path",10),i.Nc(26,"\n "),i.Ub(27,"path",11),i.Nc(28,"\n "),i.Ub(29,"path",12),i.Nc(30,"\n "),i.Ub(31,"path",13),i.Nc(32,"\n "),i.Ub(33,"path",14),i.Nc(34,"\n "),i.Ub(35,"path",15),i.Nc(36,"\n "),i.Ub(37,"path",16),i.Nc(38,"\n "),i.Ub(39,"path",17),i.Nc(40,"\n "),i.Ub(41,"path",18),i.Nc(42,"\n "),i.Ub(43,"path",19),i.Nc(44,"\n "),i.Ub(45,"path",20),i.Nc(46,"\n "),i.Ub(47,"path",21),i.Nc(48,"\n "),i.Ub(49,"path",22),i.Nc(50,"\n "),i.Ub(51,"path",23),i.Nc(52,"\n "),i.Ub(53,"path",24),i.Nc(54,"\n "),i.Ub(55,"path",25),i.Nc(56,"\n "),i.Ub(57,"path",26),i.Nc(58,"\n "),i.Ub(59,"path",27),i.Nc(60,"\n "),i.Ub(61,"path",28),i.Nc(62,"\n "),i.Ub(63,"path",29),i.Nc(64,"\n "),i.Ub(65,"path",30),i.Nc(66,"\n "),i.Ub(67,"path",31),i.Nc(68,"\n "),i.Ub(69,"path",32),i.Nc(70,"\n "),i.Ub(71,"path",33),i.Nc(72,"\n "),i.Ub(73,"path",34),i.Nc(74,"\n "),i.Ub(75,"path",35),i.Nc(76,"\n "),i.Ub(77,"path",36),i.Nc(78,"\n "),i.Ub(79,"path",37),i.Nc(80,"\n "),i.Ub(81,"path",38),i.Nc(82,"\n "),i.Ub(83,"path",39),i.Nc(84,"\n "),i.Ub(85,"path",40),i.Nc(86,"\n "),i.Ub(87,"path",41),i.Nc(88,"\n "),i.Ub(89,"path",42),i.Nc(90,"\n "),i.Ub(91,"path",43),i.Nc(92,"\n "),i.Ub(93,"path",44),i.Nc(94,"\n "),i.Ub(95,"path",45),i.Nc(96,"\n "),i.Ub(97,"path",46),i.Nc(98,"\n "),i.Ub(99,"path",47),i.Nc(100,"\n "),i.Ub(101,"path",48),i.Nc(102,"\n "),i.Ub(103,"path",49),i.Nc(104,"\n "),i.Ub(105,"path",50),i.Nc(106,"\n "),i.Ub(107,"path",51),i.Nc(108,"\n "),i.Ub(109,"path",52),i.Nc(110,"\n "),i.Ub(111,"path",53),i.Nc(112,"\n "),i.Ub(113,"path",54),i.Nc(114,"\n "),i.Ub(115,"path",55),i.Nc(116,"\n "),i.Ub(117,"mask",5),i.Nc(118,"\n "),i.Ub(119,"path",56),i.Nc(120,"\n "),i.Ub(121,"path",57),i.Nc(122,"\n "),i.Ub(123,"path",58),i.Nc(124,"\n "),i.Ub(125,"path",59),i.Nc(126,"\n "),i.Ub(127,"path",60),i.Nc(128,"\n "),i.Ub(129,"path",61),i.Nc(130,"\n "),i.Ub(131,"path",62),i.Nc(132,"\n "),i.Ub(133,"path",63),i.Nc(134,"\n "),i.Ub(135,"path",64),i.Nc(136,"\n "),i.Ub(137,"path",65),i.Nc(138,"\n "),i.Ub(139,"path",66),i.Nc(140,"\n "),i.Yb(),i.Nc(141,"\n "),i.Yb(),i.Nc(142,"\n "))},encapsulation:2,changeDetection:0}),e}(),_k=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-result-unauthorized"]],exportAs:["nzResultUnauthorized"],decls:115,vars:0,consts:[["width","251","height","294"],["fill","none","fillRule","evenodd"],["d","M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023","fill","#E4EBF7"],["d","M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65","fill","#FFF"],["d","M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73","stroke","#FFF","strokeWidth","2"],["d","M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126","fill","#FFF"],["d","M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873","fill","#FFF"],["d","M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36","stroke","#FFF","strokeWidth","2"],["d","M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375","fill","#FFF"],["d","M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z","stroke","#FFF","strokeWidth","2"],["stroke","#FFF","strokeWidth","2","d","M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"],["d","M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321","fill","#A26EF4"],["d","M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734","fill","#FFF"],["d","M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717","fill","#FFF"],["d","M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61","fill","#5BA02E"],["d","M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611","fill","#92C110"],["d","M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17","fill","#F2D7AD"],["d","M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085","fill","#FFF"],["d","M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233","fill","#FFC6A0"],["d","M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367","fill","#FFB594"],["d","M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95","fill","#FFC6A0"],["d","M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929","fill","#FFF"],["d","M78.18 94.656s.911 7.41-4.914 13.078","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437","stroke","#E4EBF7","strokeWidth",".932","strokeLinecap","round","strokeLinejoin","round"],["d","M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z","fill","#FFC6A0"],["d","M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91","fill","#FFB594"],["d","M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103","fill","#5C2552"],["d","M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145","fill","#FFC6A0"],["stroke","#DB836E","strokeWidth","1.145","strokeLinecap","round","strokeLinejoin","round","d","M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"],["d","M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32","fill","#552950"],["d","M91.132 86.786s5.269 4.957 12.679 2.327","stroke","#DB836E","strokeWidth","1.145","strokeLinecap","round","strokeLinejoin","round"],["d","M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25","fill","#DB836E"],["d","M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073","stroke","#5C2552","strokeWidth","1.526","strokeLinecap","round","strokeLinejoin","round"],["d","M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254","stroke","#DB836E","strokeWidth","1.145","strokeLinecap","round","strokeLinejoin","round"],["d","M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M66.508 86.763s-1.598 8.83-6.697 14.078","stroke","#E4EBF7","strokeWidth","1.114","strokeLinecap","round","strokeLinejoin","round"],["d","M128.31 87.934s3.013 4.121 4.06 11.785","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M64.09 84.816s-6.03 9.912-13.607 9.903","stroke","#DB836E","strokeWidth",".795","strokeLinecap","round","strokeLinejoin","round"],["d","M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73","fill","#FFC6A0"],["d","M130.532 85.488s4.588 5.757 11.619 6.214","stroke","#DB836E","strokeWidth",".75","strokeLinecap","round","strokeLinejoin","round"],["d","M121.708 105.73s-.393 8.564-1.34 13.612","stroke","#E4EBF7","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M115.784 161.512s-3.57-1.488-2.678-7.14","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68","fill","#CBD1D1"],["d","M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z","fill","#2B0849"],["d","M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62","fill","#A4AABA"],["d","M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z","fill","#CBD1D1"],["d","M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078","fill","#2B0849"],["d","M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15","fill","#A4AABA"],["d","M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954","fill","#7BB2F9"],["d","M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M108.459 220.905s2.759-1.104 6.07-3.863","stroke","#648BD8","strokeLinecap","round","strokeLinejoin","round"],["d","M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"],["d","M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017","fill","#192064"],["d","M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806","fill","#FFF"],["d","M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64","fill","#192064"],["d","M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956","stroke","#648BD8","strokeWidth","1.051","strokeLinecap","round","strokeLinejoin","round"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.jc(),i.Zb(1,"svg",0),i.Nc(2,"\n "),i.Zb(3,"g",1),i.Nc(4,"\n "),i.Ub(5,"path",2),i.Nc(6,"\n "),i.Ub(7,"path",3),i.Nc(8,"\n "),i.Ub(9,"path",4),i.Nc(10,"\n "),i.Ub(11,"path",5),i.Nc(12,"\n "),i.Ub(13,"path",6),i.Nc(14,"\n "),i.Ub(15,"path",7),i.Nc(16,"\n "),i.Ub(17,"path",8),i.Nc(18,"\n "),i.Ub(19,"path",9),i.Nc(20,"\n "),i.Ub(21,"path",10),i.Nc(22,"\n "),i.Ub(23,"path",11),i.Nc(24,"\n "),i.Ub(25,"path",12),i.Nc(26,"\n "),i.Ub(27,"path",13),i.Nc(28,"\n "),i.Ub(29,"path",14),i.Nc(30,"\n "),i.Ub(31,"path",15),i.Nc(32,"\n "),i.Ub(33,"path",16),i.Nc(34,"\n "),i.Ub(35,"path",17),i.Nc(36,"\n "),i.Ub(37,"path",18),i.Nc(38,"\n "),i.Ub(39,"path",19),i.Nc(40,"\n "),i.Ub(41,"path",20),i.Nc(42,"\n "),i.Ub(43,"path",21),i.Nc(44,"\n "),i.Ub(45,"path",22),i.Nc(46,"\n "),i.Ub(47,"path",23),i.Nc(48,"\n "),i.Ub(49,"path",24),i.Nc(50,"\n "),i.Ub(51,"path",25),i.Nc(52,"\n "),i.Ub(53,"path",26),i.Nc(54,"\n "),i.Ub(55,"path",27),i.Nc(56,"\n "),i.Ub(57,"path",28),i.Nc(58,"\n "),i.Ub(59,"path",29),i.Nc(60,"\n "),i.Ub(61,"path",30),i.Nc(62,"\n "),i.Ub(63,"path",31),i.Nc(64,"\n "),i.Ub(65,"path",32),i.Nc(66,"\n "),i.Ub(67,"path",33),i.Nc(68,"\n "),i.Ub(69,"path",34),i.Nc(70,"\n "),i.Ub(71,"path",35),i.Nc(72,"\n "),i.Ub(73,"path",36),i.Nc(74,"\n "),i.Ub(75,"path",37),i.Nc(76,"\n "),i.Ub(77,"path",38),i.Nc(78,"\n "),i.Ub(79,"path",39),i.Nc(80,"\n "),i.Ub(81,"path",40),i.Nc(82,"\n "),i.Ub(83,"path",41),i.Nc(84,"\n "),i.Ub(85,"path",42),i.Nc(86,"\n "),i.Ub(87,"path",43),i.Nc(88,"\n "),i.Ub(89,"path",44),i.Nc(90,"\n "),i.Ub(91,"path",45),i.Nc(92,"\n "),i.Ub(93,"path",46),i.Nc(94,"\n "),i.Ub(95,"path",47),i.Nc(96,"\n "),i.Ub(97,"path",48),i.Nc(98,"\n "),i.Ub(99,"path",49),i.Nc(100,"\n "),i.Ub(101,"path",50),i.Nc(102,"\n "),i.Ub(103,"path",51),i.Nc(104,"\n "),i.Ub(105,"path",52),i.Nc(106,"\n "),i.Ub(107,"path",53),i.Nc(108,"\n "),i.Ub(109,"path",54),i.Nc(110,"\n "),i.Ub(111,"path",55),i.Nc(112,"\n "),i.Yb(),i.Nc(113,"\n "),i.Yb(),i.Nc(114,"\n "))},encapsulation:2,changeDetection:0}),e}(),kk=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Es.a,Ns.b]]}),e}();function Dk(e,t){if(1&e&&(i.Zb(0,"div",5),i.Nc(1,"\n "),i.Ub(2,"nz-skeleton-element",6),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc(2);i.Db(2),i.sc("nzSize",n.avatar.size)("nzShape",n.avatar.shape)}}function xk(e,t){if(1&e&&i.Ub(0,"h3",7),2&e){var n=i.kc(2);i.Kc("width",n.toCSSUnit(n.title.width))}}function Ek(e,t){if(1&e&&i.Ub(0,"li"),2&e){var n=t.index,r=i.kc(3);i.Kc("width",r.toCSSUnit(r.widthList[n]))}}function Nk(e,t){if(1&e&&(i.Zb(0,"ul",8),i.Nc(1,"\n "),i.Lc(2,Ek,1,2,"li",9),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc(2);i.Db(2),i.sc("ngForOf",n.rowsList)}}function jk(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,Dk,4,2,"div",1),i.Nc(3,"\n "),i.Zb(4,"div",2),i.Nc(5,"\n "),i.Lc(6,xk,1,2,"h3",3),i.Nc(7,"\n "),i.Lc(8,Nk,4,1,"ul",4),i.Nc(9,"\n "),i.Yb(),i.Nc(10,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("ngIf",!!n.nzAvatar),i.Db(4),i.sc("ngIf",!!n.nzTitle),i.Db(2),i.sc("ngIf",!!n.nzParagraph)}}function Ik(e,t){1&e&&(i.Xb(0),i.Nc(1,"\n "),i.qc(2),i.Nc(3,"\n "),i.Wb())}var Ak=["*"],Mk=["nzType","button"],Lk=["nzType","avatar"],Pk=["nzType","input"],Fk=function(){function e(e,t,n){this.cdr=e,this.nzActive=!1,this.nzLoading=!0,this.nzTitle=!0,this.nzAvatar=!1,this.nzParagraph=!0,this.rowsList=[],this.widthList=[],t.addClass(n.nativeElement,"ant-skeleton")}return e.prototype.toCSSUnit=function(e){return void 0===e&&(e=""),Object(es.D)(e)},e.prototype.getTitleProps=function(){var e=!!this.nzAvatar,t=!!this.nzParagraph,n="";return!e&&t?n="38%":e&&t&&(n="50%"),Object(zt.a)({width:n},this.getProps(this.nzTitle))},e.prototype.getAvatarProps=function(){var e=this.nzTitle&&!this.nzParagraph?"square":"circle";return Object(zt.a)({shape:e,size:"large"},this.getProps(this.nzAvatar))},e.prototype.getParagraphProps=function(){var e=!!this.nzAvatar,t=!!this.nzTitle,n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,Object(zt.a)(Object(zt.a)({},n),this.getProps(this.nzParagraph))},e.prototype.getProps=function(e){return e&&"object"==typeof e?e:{}},e.prototype.getWidthList=function(){var e=this.paragraph,t=e.width,n=e.rows,i=[];return t&&Array.isArray(t)?i=t:t&&!Array.isArray(t)&&((i=[])[n-1]=t),i},e.prototype.updateProps=function(){this.title=this.getTitleProps(),this.avatar=this.getAvatarProps(),this.paragraph=this.getParagraphProps(),this.rowsList=Object(zt.g)(Array(this.paragraph.rows)),this.widthList=this.getWidthList(),this.cdr.markForCheck()},e.prototype.ngOnInit=function(){this.updateProps()},e.prototype.ngOnChanges=function(e){(e.nzTitle||e.nzAvatar||e.nzParagraph)&&this.updateProps()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(i.E),i.Tb(i.l))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-skeleton"]],hostVars:4,hostBindings:function(e,t){2&e&&i.Jb("ant-skeleton-with-avatar",!!t.nzAvatar)("ant-skeleton-active",t.nzActive)},inputs:{nzActive:"nzActive",nzLoading:"nzLoading",nzTitle:"nzTitle",nzAvatar:"nzAvatar",nzParagraph:"nzParagraph"},exportAs:["nzSkeleton"],features:[i.Bb],ngContentSelectors:Ak,decls:5,vars:2,consts:[[4,"ngIf"],["class","ant-skeleton-header",4,"ngIf"],[1,"ant-skeleton-content"],["class","ant-skeleton-title",3,"width",4,"ngIf"],["class","ant-skeleton-paragraph",4,"ngIf"],[1,"ant-skeleton-header"],["nzType","avatar",3,"nzSize","nzShape"],[1,"ant-skeleton-title"],[1,"ant-skeleton-paragraph"],[3,"width",4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Lc(1,jk,11,3,"ng-container",0),i.Nc(2,"\n "),i.Lc(3,Ik,4,0,"ng-container",0),i.Nc(4,"\n ")),2&e&&(i.Db(1),i.sc("ngIf",t.nzLoading),i.Db(2),i.sc("ngIf",!t.nzLoading))},directives:function(){return[Vr.t,Rk,Bk,Vr.s]},encapsulation:2,changeDetection:0}),e}(),Rk=function(){function e(){this.nzActive=!1}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-skeleton-element"]],hostVars:6,hostBindings:function(e,t){2&e&&i.Jb("ant-skeleton",!0)("ant-skeleton-element",!0)("ant-skeleton-active",t.nzActive)},inputs:{nzActive:"nzActive",nzType:"nzType"}}),e}(),Vk=function(){function e(){this.nzShape="default",this.nzSize="default"}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-skeleton-element","nzType","button"]],inputs:{nzShape:"nzShape",nzSize:"nzSize"},attrs:Mk,decls:4,vars:10,template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span"),i.Nc(2,"\n "),i.Yb(),i.Nc(3,"\n ")),2&e&&(i.Db(1),i.Jb("ant-skeleton-button",!0)("ant-skeleton-button-round","round"===t.nzShape)("ant-skeleton-button-circle","circle"===t.nzShape)("ant-skeleton-button-lg","large"===t.nzSize)("ant-skeleton-button-sm","small"===t.nzSize))},encapsulation:2,changeDetection:0}),e}(),Bk=function(){function e(){this.nzShape="circle",this.nzSize="default",this.styleMap={}}return e.prototype.ngOnChanges=function(e){if(e.nzSize&&"number"==typeof this.nzSize){var t=this.nzSize+"px";this.styleMap={width:t,height:t,"line-height":t}}else this.styleMap={}},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-skeleton-element","nzType","avatar"]],inputs:{nzShape:"nzShape",nzSize:"nzSize"},features:[i.Bb],attrs:Lk,decls:4,vars:11,consts:[[3,"ngStyle"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span",0),i.Nc(2,"\n "),i.Yb(),i.Nc(3,"\n ")),2&e&&(i.Db(1),i.Jb("ant-skeleton-avatar",!0)("ant-skeleton-avatar-square","square"===t.nzShape)("ant-skeleton-avatar-circle","circle"===t.nzShape)("ant-skeleton-avatar-lg","large"===t.nzSize)("ant-skeleton-avatar-sm","small"===t.nzSize),i.sc("ngStyle",t.styleMap))},directives:[Vr.w],encapsulation:2,changeDetection:0}),e}(),Yk=function(){function e(){this.nzSize="default"}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-skeleton-element","nzType","input"]],inputs:{nzSize:"nzSize"},attrs:Pk,decls:4,vars:6,template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span"),i.Nc(2,"\n "),i.Yb(),i.Nc(3,"\n ")),2&e&&(i.Db(1),i.Jb("ant-skeleton-input",!0)("ant-skeleton-input-lg","large"===t.nzSize)("ant-skeleton-input-sm","small"===t.nzSize))},encapsulation:2,changeDetection:0}),e}(),Uk=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c]]}),e}(),Hk=n("FYXD"),Wk=["handle"],qk=["slider"];function Zk(e,t){if(1&e&&i.Ub(0,"nz-slider-step",7),2&e){var n=i.kc();i.sc("vertical",n.nzVertical)("lowerBound",n.bounds.lower)("upperBound",n.bounds.upper)("marksArray",n.marksArray)("included",n.nzIncluded)}}function $k(e,t){if(1&e&&i.Ub(0,"nz-slider-handle",8),2&e){var n=t.$implicit,r=i.kc();i.sc("vertical",r.nzVertical)("offset",n.offset)("value",n.value)("active",n.active)("tooltipFormatter",r.nzTipFormatter)("tooltipVisible",r.nzTooltipVisible)("tooltipPlacement",r.nzTooltipPlacement)}}function Gk(e,t){if(1&e&&i.Ub(0,"nz-slider-marks",9),2&e){var n=i.kc();i.sc("vertical",n.nzVertical)("min",n.nzMin)("max",n.nzMax)("lowerBound",n.bounds.lower)("upperBound",n.bounds.upper)("marksArray",n.marksArray)("included",n.nzIncluded)}}function Qk(e,t){if(1&e&&i.Ub(0,"span",2),2&e){var n=t.$implicit;i.Jb("ant-slider-mark-active",n.active),i.sc("ngStyle",n.style)("innerHTML",n.label,i.Ec)}}function Xk(e,t){if(1&e&&i.Ub(0,"span",2),2&e){var n=t.$implicit;i.Jb("ant-slider-dot-active",n.active),i.sc("ngStyle",n.style)}}var Kk=function(){function e(){this.isDragging=!1}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Jk=function(){function e(e,t){var n=this;this.sliderService=e,this.cdr=t,this.tooltipVisible="default",this.active=!1,this.style={},this.enterHandle=function(){n.sliderService.isDragging||(n.toggleTooltip(!0),n.updateTooltipPosition(),n.cdr.detectChanges())},this.leaveHandle=function(){n.sliderService.isDragging||(n.toggleTooltip(!1),n.cdr.detectChanges())}}return e.prototype.ngOnChanges=function(e){var t=this,n=e.value,i=e.active,r=e.tooltipVisible;e.offset&&this.updateStyle(),n&&(this.updateTooltipTitle(),this.updateTooltipPosition()),i&&this.toggleTooltip(!!i.currentValue),"always"===(null==r?void 0:r.currentValue)&&Promise.resolve().then((function(){return t.toggleTooltip(!0,!0)}))},e.prototype.focus=function(){var e;null===(e=this.handleEl)||void 0===e||e.nativeElement.focus()},e.prototype.toggleTooltip=function(e,t){var n,i;void 0===t&&(t=!1),(t||"default"===this.tooltipVisible&&this.tooltip)&&(e?null===(n=this.tooltip)||void 0===n||n.show():null===(i=this.tooltip)||void 0===i||i.hide())},e.prototype.updateTooltipTitle=function(){this.tooltipTitle=this.tooltipFormatter?this.tooltipFormatter(this.value):""+this.value},e.prototype.updateTooltipPosition=function(){var e=this;this.tooltip&&Promise.resolve().then((function(){var t;return null===(t=e.tooltip)||void 0===t?void 0:t.updatePosition()}))},e.prototype.updateStyle=function(){var e;this.style=((e={})[this.vertical?"bottom":"left"]=this.offset+"%",e.transform=this.vertical?"translateY(50%)":"translateX(-50%)",e),this.cdr.markForCheck()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"active",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Kk),i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-slider-handle"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(Wk,!0),i.Sc(QT,!0)),2&e&&(i.zc(n=i.ic())&&(t.handleEl=n.first),i.zc(n=i.ic())&&(t.tooltip=n.first))},hostBindings:function(e,t){1&e&&i.hc("mouseenter",(function(){return t.enterHandle()}))("mouseleave",(function(){return t.leaveHandle()}))},inputs:{tooltipVisible:"tooltipVisible",active:"active",vertical:"vertical",offset:"offset",value:"value",tooltipPlacement:"tooltipPlacement",tooltipFormatter:"tooltipFormatter"},exportAs:["nzSliderHandle"],features:[i.Bb],decls:2,vars:4,consts:[["tabindex","0","nz-tooltip","",1,"ant-slider-handle",3,"ngStyle","nzTooltipTitle","nzTooltipTrigger","nzTooltipPlacement"],["handle",""]],template:function(e,t){1&e&&i.Ub(0,"div",0,1),2&e&&i.sc("ngStyle",t.style)("nzTooltipTitle",null===t.tooltipFormatter||"never"===t.tooltipVisible?null:t.tooltipTitle)("nzTooltipTrigger",null)("nzTooltipPlacement",t.tooltipPlacement)},directives:[QT,Vr.w],encapsulation:2,changeDetection:0}),e}(),eD=function(){function e(e,t,n){this.sliderService=e,this.cdr=t,this.platform=n,this.nzDisabled=!1,this.nzDots=!1,this.nzIncluded=!0,this.nzRange=!1,this.nzVertical=!1,this.nzMarks=null,this.nzMax=100,this.nzMin=0,this.nzStep=1,this.nzTooltipVisible="default",this.nzTooltipPlacement="top",this.nzOnAfterChange=new i.n,this.value=null,this.cacheSliderStart=null,this.cacheSliderLength=null,this.activeValueIndex=void 0,this.track={offset:null,length:null},this.handles=[],this.marksArray=null,this.bounds={lower:null,upper:null}}return e.prototype.ngOnInit=function(){this.handles=Array(this.nzRange?2:1).fill(0).map((function(){return{offset:null,value:null,active:!1}})),this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null,this.bindDraggingHandlers(),this.toggleDragDisabled(this.nzDisabled),null===this.getValue()&&this.setValue(this.formatValue(null))},e.prototype.ngOnChanges=function(e){var t=e.nzDisabled,n=e.nzMarks,i=e.nzRange;t&&!t.firstChange?this.toggleDragDisabled(t.currentValue):n&&!n.firstChange?this.marksArray=this.nzMarks?this.generateMarkItems(this.nzMarks):null:i&&!i.firstChange&&this.setValue(this.formatValue(null))},e.prototype.ngOnDestroy=function(){this.unsubscribeDrag()},e.prototype.writeValue=function(e){this.setValue(e,!0)},e.prototype.onValueChange=function(e){},e.prototype.onTouched=function(){},e.prototype.registerOnChange=function(e){this.onValueChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.nzDisabled=e,this.toggleDragDisabled(e)},e.prototype.onKeyDown=function(e){var t=e.keyCode,n=t===Zr.f||t===Zr.c;if(t===Zr.h||t===Zr.k||n){e.preventDefault();var i=n?-this.nzStep:this.nzStep,r=this.nzRange?this.value[this.activeValueIndex]+i:this.value+i;this.setActiveValue(Object(es.d)(r,this.nzMin,this.nzMax))}},e.prototype.setValue=function(e,t){var n,i;void 0===t&&(t=!1),t?(this.value=this.formatValue(e),this.updateTrackAndHandles()):typeof(n=this.value)==typeof(i=e)&&(tD(n)&&tD(i)?Object(es.c)(n,i):n===i)||(this.value=e,this.updateTrackAndHandles(),this.onValueChange(this.getValue(!0)))},e.prototype.getValue=function(e){return void 0===e&&(e=!1),e&&this.value&&tD(this.value)?Object(zt.g)(this.value).sort((function(e,t){return e-t})):this.value},e.prototype.getValueToOffset=function(e){var t=this,n=e;return void 0===n&&(n=this.getValue(!0)),tD(n)?n.map((function(e){return t.valueToOffset(e)})):this.valueToOffset(n)},e.prototype.setActiveValueIndex=function(e){var t=this.getValue();if(tD(t)){var n,i=null,r=-1;t.forEach((function(t,o){n=Math.abs(e-t),(null===i||n=this.nzMin&&r<=this.nzMax&&t.push({value:r,offset:this.valueToOffset(r),config:i})}return t.length?t:null},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzDots",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzIncluded",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzRange",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzVertical",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzMax",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzMin",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzStep",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Kk),i.Tb(i.h),i.Tb(Xr.a))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-slider"]],viewQuery:function(e,t){var n;1&e&&(i.Jc(qk,!0),i.Sc(Jk,!0)),2&e&&(i.zc(n=i.ic())&&(t.slider=n.first),i.zc(n=i.ic())&&(t.handlerComponents=n))},hostBindings:function(e,t){1&e&&i.hc("keydown",(function(e){return t.onKeyDown(e)}))},inputs:{nzDisabled:"nzDisabled",nzDots:"nzDots",nzIncluded:"nzIncluded",nzRange:"nzRange",nzVertical:"nzVertical",nzMarks:"nzMarks",nzMax:"nzMax",nzMin:"nzMin",nzStep:"nzStep",nzTooltipVisible:"nzTooltipVisible",nzTooltipPlacement:"nzTooltipPlacement",nzDefaultValue:"nzDefaultValue",nzTipFormatter:"nzTipFormatter"},outputs:{nzOnAfterChange:"nzOnAfterChange"},exportAs:["nzSlider"],features:[i.Cb([{provide:Ot.m,useExisting:Object(i.V)((function(){return e})),multi:!0},Kk]),i.Bb],decls:7,vars:13,consts:[[1,"ant-slider"],["slider",""],[1,"ant-slider-rail"],[3,"vertical","included","offset","length"],[3,"vertical","lowerBound","upperBound","marksArray","included",4,"ngIf"],[3,"vertical","offset","value","active","tooltipFormatter","tooltipVisible","tooltipPlacement",4,"ngFor","ngForOf"],[3,"vertical","min","max","lowerBound","upperBound","marksArray","included",4,"ngIf"],[3,"vertical","lowerBound","upperBound","marksArray","included"],[3,"vertical","offset","value","active","tooltipFormatter","tooltipVisible","tooltipPlacement"],[3,"vertical","min","max","lowerBound","upperBound","marksArray","included"]],template:function(e,t){1&e&&(i.Zb(0,"div",0,1),i.Ub(2,"div",2),i.Ub(3,"nz-slider-track",3),i.Lc(4,Zk,1,5,"nz-slider-step",4),i.Lc(5,$k,1,7,"nz-slider-handle",5),i.Lc(6,Gk,1,7,"nz-slider-marks",6),i.Yb()),2&e&&(i.Jb("ant-slider-disabled",t.nzDisabled)("ant-slider-vertical",t.nzVertical)("ant-slider-with-marks",t.marksArray),i.Db(3),i.sc("vertical",t.nzVertical)("included",t.nzIncluded)("offset",t.track.offset)("length",t.track.length),i.Db(1),i.sc("ngIf",t.marksArray),i.Db(1),i.sc("ngForOf",t.handles),i.Db(1),i.sc("ngIf",t.marksArray))},directives:function(){return[oD,Vr.t,Vr.s,rD,Jk,nD]},encapsulation:2,changeDetection:0}),e}();function tD(e){return e instanceof Array&&2===e.length}var nD=function(){function e(){this.lowerBound=null,this.upperBound=null,this.marksArray=[],this.vertical=!1,this.included=!1,this.marks=[]}return e.prototype.ngOnChanges=function(e){var t=e.marksArray,n=e.lowerBound,i=e.upperBound;t&&this.buildMarks(),(t||n||i)&&this.togglePointActive()},e.prototype.trackById=function(e,t){return t.value},e.prototype.buildMarks=function(){var e=this,t=this.max-this.min;this.marks=this.marksArray.map((function(n){var i=n.value,r=n.offset,o=n.config,a=e.getMarkStyles(i,t,o);return{label:iD(o)?o.label:o,offset:r,style:a,value:i,config:o,active:!1}}))},e.prototype.getMarkStyles=function(e,t,n){var i;return i=this.vertical?{marginBottom:"-50%",bottom:(e-this.min)/t*100+"%"}:{transform:"translate3d(-50%, 0, 0)",left:(e-this.min)/t*100+"%"},iD(n)&&n.style&&(i=Object(zt.a)(Object(zt.a)({},i),n.style)),i},e.prototype.togglePointActive=function(){var e=this;this.marks&&null!==this.lowerBound&&null!==this.upperBound&&this.marks.forEach((function(t){var n=t.value;t.active=!e.included&&n===e.upperBound||e.included&&n<=e.upperBound&&n>=e.lowerBound}))},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"vertical",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"included",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-slider-marks"]],inputs:{lowerBound:"lowerBound",upperBound:"upperBound",marksArray:"marksArray",vertical:"vertical",included:"included",min:"min",max:"max"},exportAs:["nzSliderMarks"],features:[i.Bb],decls:2,vars:2,consts:[[1,"ant-slider-mark"],["class","ant-slider-mark-text",3,"ant-slider-mark-active","ngStyle","innerHTML",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-slider-mark-text",3,"ngStyle","innerHTML"]],template:function(e,t){1&e&&(i.Zb(0,"div",0),i.Lc(1,Qk,1,4,"span",1),i.Yb()),2&e&&(i.Db(1),i.sc("ngForOf",t.marks)("ngForTrackBy",t.trackById))},directives:[Vr.s,Vr.w],encapsulation:2,changeDetection:0}),e}();function iD(e){return"string"!=typeof e}var rD=function(){function e(){this.lowerBound=null,this.upperBound=null,this.marksArray=[],this.vertical=!1,this.included=!1,this.steps=[]}return e.prototype.ngOnChanges=function(e){e.marksArray&&this.buildSteps(),(e.marksArray||e.lowerBound||e.upperBound)&&this.togglePointActive()},e.prototype.trackById=function(e,t){return t.value},e.prototype.buildSteps=function(){var e=this.vertical?"bottom":"left";this.steps=this.marksArray.map((function(t){var n,i=t.offset;return{value:t.value,offset:i,config:t.config,active:!1,style:(n={},n[e]=i+"%",n)}}))},e.prototype.togglePointActive=function(){var e=this;this.steps&&null!==this.lowerBound&&null!==this.upperBound&&this.steps.forEach((function(t){var n=t.value;t.active=!e.included&&n===e.upperBound||e.included&&n<=e.upperBound&&n>=e.lowerBound}))},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"vertical",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"included",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-slider-step"]],inputs:{lowerBound:"lowerBound",upperBound:"upperBound",marksArray:"marksArray",vertical:"vertical",included:"included"},exportAs:["nzSliderStep"],features:[i.Bb],decls:2,vars:2,consts:[[1,"ant-slider-step"],["class","ant-slider-dot",3,"ant-slider-dot-active","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-slider-dot",3,"ngStyle"]],template:function(e,t){1&e&&(i.Zb(0,"div",0),i.Lc(1,Xk,1,3,"span",1),i.Yb()),2&e&&(i.Db(1),i.sc("ngForOf",t.steps)("ngForTrackBy",t.trackById))},directives:[Vr.s,Vr.w],encapsulation:2,changeDetection:0}),e}(),oD=function(){function e(){this.offset=0,this.length=0,this.vertical=!1,this.included=!1,this.style={}}return e.prototype.ngOnChanges=function(e){e.included&&(this.style.visibility=this.included?"visible":"hidden"),(e.vertical||e.offset||e.length)&&(this.vertical?(this.style.bottom=this.offset+"%",this.style.height=this.length+"%",this.style.left=null,this.style.width=null):(this.style.left=this.offset+"%",this.style.width=this.length+"%",this.style.bottom=null,this.style.height=null))},Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Number)],e.prototype,"offset",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Number)],e.prototype,"length",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"vertical",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"included",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-slider-track"]],inputs:{offset:"offset",length:"length",vertical:"vertical",included:"included"},exportAs:["nzSliderTrack"],features:[i.Bb],decls:1,vars:1,consts:[[1,"ant-slider-track",3,"ngStyle"]],template:function(e,t){1&e&&i.Ub(0,"div",0),2&e&&i.sc("ngStyle",t.style)},directives:[Vr.w],encapsulation:2,changeDetection:0}),e}(),aD=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Xr.b,KT]]}),e}(),sD=n("/21U");function cD(e){var t=e.subscriber,n=e.counter,i=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}function uD(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.nzTitle)}}function lD(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzPrefix)}}function pD(e,t){if(1&e&&(i.Zb(0,"span",7),i.Nc(1,"\n "),i.Lc(2,lD,2,1,"ng-container",2),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzPrefix)}}function hD(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzSuffix)}}function dD(e,t){if(1&e&&(i.Zb(0,"span",8),i.Nc(1,"\n "),i.Lc(2,hD,2,1,"ng-container",2),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("nzStringTemplateOutlet",n.nzSuffix)}}function fD(e,t){if(1&e&&(i.Nc(0),i.lc(1,"nzTimeRange")),2&e){var n=i.kc();i.Oc(i.nc(1,1,n.diff,n.nzFormat))}}var gD=function(e){return{$implicit:e}};function bD(e,t){if(1&e&&i.Vb(0,3),2&e){var n=i.kc();i.sc("ngTemplateOutlet",n.nzValueTemplate)("ngTemplateOutletContext",i.vc(2,gD,n.nzValue))}}function mD(e,t){if(1&e&&(i.Zb(0,"span",6),i.Nc(1),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.displayInt)}}function vD(e,t){if(1&e&&(i.Zb(0,"span",7),i.Nc(1),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.displayDecimal)}}function yD(e,t){if(1&e&&(i.Xb(0),i.Lc(1,mD,2,1,"span",4),i.Lc(2,vD,2,1,"span",5),i.Wb()),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",n.displayInt),i.Db(1),i.sc("ngIf",n.displayDecimal)}}var wD=function(){function e(){this.nzValueStyle={}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-statistic"]],inputs:{nzValueStyle:"nzValueStyle",nzPrefix:"nzPrefix",nzSuffix:"nzSuffix",nzTitle:"nzTitle",nzValue:"nzValue",nzValueTemplate:"nzValueTemplate"},exportAs:["nzStatistic"],decls:19,vars:6,consts:[[1,"ant-statistic"],[1,"ant-statistic-title"],[4,"nzStringTemplateOutlet"],[1,"ant-statistic-content",3,"ngStyle"],["class","ant-statistic-content-prefix",4,"ngIf"],[3,"nzValue","nzValueTemplate"],["class","ant-statistic-content-suffix",4,"ngIf"],[1,"ant-statistic-content-prefix"],[1,"ant-statistic-content-suffix"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Zb(3,"div",1),i.Nc(4,"\n "),i.Lc(5,uD,2,1,"ng-container",2),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n "),i.Zb(8,"div",3),i.Nc(9,"\n "),i.Lc(10,pD,4,1,"span",4),i.Nc(11,"\n "),i.Zb(12,"nz-statistic-number",5),i.Nc(13," "),i.Yb(),i.Nc(14,"\n "),i.Lc(15,dD,4,1,"span",6),i.Nc(16,"\n "),i.Yb(),i.Nc(17,"\n "),i.Yb(),i.Nc(18,"\n ")),2&e&&(i.Db(5),i.sc("nzStringTemplateOutlet",t.nzTitle),i.Db(3),i.sc("ngStyle",t.nzValueStyle),i.Db(2),i.sc("ngIf",t.nzPrefix),i.Db(2),i.sc("nzValue",t.nzValue)("nzValueTemplate",t.nzValueTemplate),i.Db(3),i.sc("ngIf",t.nzSuffix))},directives:function(){return[Es.b,Vr.w,Vr.t,CD]},encapsulation:2,changeDetection:0}),e}(),OD=function(e){function t(t,n,r){var o=e.call(this)||this;return o.cdr=t,o.ngZone=n,o.platform=r,o.nzFormat="HH:mm:ss",o.nzCountdownFinish=new i.n,o.target=0,o}return Object(zt.c)(t,e),t.prototype.ngOnChanges=function(e){e.nzValue&&(this.target=Number(e.nzValue.currentValue),e.nzValue.isFirstChange()||this.syncTimer())},t.prototype.ngOnInit=function(){this.syncTimer()},t.prototype.ngOnDestroy=function(){this.stopTimer()},t.prototype.syncTimer=function(){this.target>=Date.now()?this.startTimer():this.stopTimer()},t.prototype.startTimer=function(){var e=this;this.platform.isBrowser&&this.ngZone.runOutsideAngular((function(){var t,n;e.stopTimer(),e.updater_=(t=1e3/30,void 0===t&&(t=0),void 0===n&&(n=Nc.a),(!Object(sD.a)(t)||t<0)&&(t=0),n&&"function"==typeof n.schedule||(n=Nc.a),new _t.a((function(e){return e.add(n.schedule(cD,t,{subscriber:e,counter:0,period:t})),e}))).subscribe((function(){e.updateValue(),e.cdr.detectChanges()}))}))},t.prototype.stopTimer=function(){this.updater_&&(this.updater_.unsubscribe(),this.updater_=null)},t.prototype.updateValue=function(){this.diff=Math.max(this.target-Date.now(),0),0===this.diff&&(this.stopTimer(),this.nzCountdownFinish.emit())},t.\u0275fac=function(e){return new(e||t)(i.Tb(i.h),i.Tb(i.z),i.Tb(Xr.a))},t.\u0275cmp=i.Nb({type:t,selectors:[["nz-countdown"]],inputs:{nzFormat:"nzFormat"},outputs:{nzCountdownFinish:"nzCountdownFinish"},exportAs:["nzCountdown"],features:[i.Ab,i.Bb],decls:7,vars:6,consts:[[3,"nzValue","nzValueStyle","nzValueTemplate","nzTitle","nzPrefix","nzSuffix"],["countDownTpl",""]],template:function(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"nz-statistic",0),i.Nc(2,"\n "),i.Yb(),i.Nc(3,"\n\n "),i.Lc(4,fD,2,4,"ng-template",null,1,i.Mc),i.Nc(6,"\n ")),2&e){var n=i.Ac(5);i.Db(1),i.sc("nzValue",t.diff)("nzValueStyle",t.nzValueStyle)("nzValueTemplate",t.nzValueTemplate||n)("nzTitle",t.nzTitle)("nzPrefix",t.nzPrefix)("nzSuffix",t.nzSuffix)}},directives:[wD],pipes:[XS],encapsulation:2,changeDetection:0}),t}(wD),CD=function(){function e(e){this.locale_id=e,this.displayInt="",this.displayDecimal=""}return e.prototype.ngOnChanges=function(){this.formatNumber()},e.prototype.formatNumber=function(){var e="number"==typeof this.nzValue?".":Object(Vr.K)(this.locale_id,Vr.B.Decimal),t=String(this.nzValue),n=Object(zt.e)(t.split(e),2),i=n[1];this.displayInt=n[0],this.displayDecimal=i?""+e+i:""},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.u))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-statistic-number"]],inputs:{nzValue:"nzValue",nzValueTemplate:"nzValueTemplate"},exportAs:["nzStatisticNumber"],features:[i.Bb],decls:3,vars:2,consts:[[1,"ant-statistic-content-value"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","ant-statistic-content-value-int",4,"ngIf"],["class","ant-statistic-content-value-decimal",4,"ngIf"],[1,"ant-statistic-content-value-int"],[1,"ant-statistic-content-value-decimal"]],template:function(e,t){1&e&&(i.Zb(0,"span",0),i.Lc(1,bD,1,4,"ng-container",1),i.Lc(2,yD,3,2,"ng-container",2),i.Yb()),2&e&&(i.Db(1),i.sc("ngIf",t.nzValueTemplate),i.Db(1),i.sc("ngIf",!t.nzValueTemplate))},directives:[Vr.t,Vr.A],encapsulation:2,changeDetection:0}),e}(),SD=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Xr.b,Es.a,KS]]}),e}(),zD=["processDotTemplate"];function TD(e,t){1&e&&i.Ub(0,"div",9)}function _D(e,t){1&e&&(i.Zb(0,"span",11),i.Ub(1,"i",12),i.Yb())}function kD(e,t){1&e&&(i.Zb(0,"span",11),i.Ub(1,"i",13),i.Yb())}function DD(e,t){if(1&e&&(i.Zb(0,"span",11),i.Nc(1),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.index+1)}}function xD(e,t){if(1&e&&(i.Xb(0),i.Ub(1,"i",14),i.Wb()),2&e){var n=t.$implicit,r=i.kc(3);i.Db(1),i.sc("nzType",!r.oldAPIIcon&&n)("ngClass",r.oldAPIIcon&&n)}}function ED(e,t){if(1&e&&(i.Zb(0,"span",11),i.Lc(1,xD,2,2,"ng-container",6),i.Yb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzIcon)}}function ND(e,t){if(1&e&&(i.Lc(0,_D,2,0,"span",10),i.Lc(1,kD,2,0,"span",10),i.Lc(2,DD,2,1,"span",10),i.Lc(3,ED,2,1,"span",10)),2&e){var n=i.kc();i.sc("ngIf","finish"===n.nzStatus&&!n.nzIcon),i.Db(1),i.sc("ngIf","error"===n.nzStatus),i.Db(1),i.sc("ngIf",("process"===n.nzStatus||"wait"===n.nzStatus)&&!n.nzIcon),i.Db(1),i.sc("ngIf",n.nzIcon)}}function jD(e,t){1&e&&i.Ub(0,"span",17)}function ID(e,t){}var AD=function(e,t,n){return{$implicit:e,status:t,index:n}};function MD(e,t){if(1&e&&(i.Zb(0,"span",11),i.Lc(1,jD,1,0,"ng-template",null,15,i.Mc),i.Lc(3,ID,0,0,"ng-template",16),i.Yb()),2&e){var n=i.Ac(2),r=i.kc();i.Db(3),i.sc("ngTemplateOutlet",r.customProcessTemplate||n)("ngTemplateOutletContext",i.xc(2,AD,n,r.nzStatus,r.index))}}function LD(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.nzTitle)}}function PD(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzSubtitle)}}function FD(e,t){if(1&e&&(i.Zb(0,"div",18),i.Lc(1,PD,2,1,"ng-container",6),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("nzStringTemplateOutlet",n.nzSubtitle)}}function RD(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.nzDescription)}}var VD=["*"],BD=function(){function e(e){this.cdr=e,this.nzDisabled=!1,this.isCustomStatus=!1,this._status="wait",this.oldAPIIcon=!0,this.direction="horizontal",this.index=0,this.last=!1,this.outStatus="process",this.showProcessDot=!1,this.clickable=!1,this.click$=new kt.a,this._currentIndex=0}return Object.defineProperty(e.prototype,"nzStatus",{get:function(){return this._status},set:function(e){this._status=e,this.isCustomStatus=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nzIcon",{get:function(){return this._icon},set:function(e){e instanceof i.M||(this.oldAPIIcon="string"==typeof e&&e.indexOf("anticon")>-1),this._icon=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(e){this._currentIndex=e,this.isCustomStatus||(this._status=e>this.index?"finish":e===this.index?this.outStatus||"":"wait")},enumerable:!0,configurable:!0}),e.prototype.onClick=function(){this.clickable&&this.currentIndex!==this.index&&!this.nzDisabled&&this.click$.next(this.index)},e.prototype.markForCheck=function(){this.cdr.markForCheck()},e.prototype.ngOnDestroy=function(){this.click$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-step"]],viewQuery:function(e,t){var n;1&e&&i.Sc(zD,!0),2&e&&i.zc(n=i.ic())&&(t.processDotTemplate=n.first)},hostAttrs:[1,"ant-steps-item"],hostVars:16,hostBindings:function(e,t){2&e&&i.Jb("ant-steps-item-wait","wait"===t.nzStatus)("ant-steps-item-process","process"===t.nzStatus)("ant-steps-item-finish","finish"===t.nzStatus)("ant-steps-item-error","error"===t.nzStatus)("ant-steps-item-active",t.currentIndex===t.index)("ant-steps-item-disabled",t.nzDisabled)("ant-steps-item-custom",!!t.nzIcon)("ant-steps-next-error","error"===t.outStatus&&t.currentIndex===t.index+1)},inputs:{nzDisabled:"nzDisabled",nzStatus:"nzStatus",nzIcon:"nzIcon",nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzDescription:"nzDescription"},exportAs:["nzStep"],decls:11,vars:8,consts:[[1,"ant-steps-item-container",3,"tabindex","click"],["class","ant-steps-item-tail",4,"ngIf"],[1,"ant-steps-item-icon"],[3,"ngIf"],[1,"ant-steps-item-content"],[1,"ant-steps-item-title"],[4,"nzStringTemplateOutlet"],["class","ant-steps-item-subtitle",4,"ngIf"],[1,"ant-steps-item-description"],[1,"ant-steps-item-tail"],["class","ant-steps-icon",4,"ngIf"],[1,"ant-steps-icon"],["nz-icon","","nzType","check"],["nz-icon","","nzType","close"],["nz-icon","",3,"nzType","ngClass"],["processDotTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-steps-icon-dot"],[1,"ant-steps-item-subtitle"]],template:function(e,t){1&e&&(i.Zb(0,"div",0),i.hc("click",(function(){return t.onClick()})),i.Lc(1,TD,1,0,"div",1),i.Zb(2,"div",2),i.Lc(3,ND,4,4,"ng-template",3),i.Lc(4,MD,4,6,"ng-template",3),i.Yb(),i.Zb(5,"div",4),i.Zb(6,"div",5),i.Lc(7,LD,2,1,"ng-container",6),i.Lc(8,FD,2,1,"div",7),i.Yb(),i.Zb(9,"div",8),i.Lc(10,RD,2,1,"ng-container",6),i.Yb(),i.Yb(),i.Yb()),2&e&&(i.sc("tabindex",t.clickable&&!t.nzDisabled?0:null),i.Eb("role",t.clickable&&!t.nzDisabled?"button":null),i.Db(1),i.sc("ngIf",!0!==t.last),i.Db(2),i.sc("ngIf",!t.showProcessDot),i.Db(1),i.sc("ngIf",t.showProcessDot),i.Db(3),i.sc("nzStringTemplateOutlet",t.nzTitle),i.Db(1),i.sc("ngIf",t.nzSubtitle),i.Db(2),i.sc("nzStringTemplateOutlet",t.nzDescription))},directives:[Vr.t,Es.b,Ns.a,Vr.q,Vr.A],encapsulation:2,changeDetection:0}),e}(),YD=function(){function e(){this.nzCurrent=0,this.nzDirection="horizontal",this.nzLabelPlacement="horizontal",this.nzType="default",this.nzSize="default",this.nzStartIndex=0,this.nzStatus="process",this.nzIndexChange=new i.n,this.destroy$=new kt.a,this.showProcessDot=!1,this.classMap={}}return Object.defineProperty(e.prototype,"nzProgressDot",{set:function(e){e instanceof i.M?(this.showProcessDot=!0,this.customProcessDotTemplate=e):this.showProcessDot=Object(es.C)(e),this.updateChildrenSteps()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){(e.nzStartIndex||e.nzDirection||e.nzStatus||e.nzCurrent)&&this.updateChildrenSteps(),(e.nzDirection||e.nzProgressDot||e.nzLabelPlacement||e.nzSize)&&this.setClassMap()},e.prototype.ngOnInit=function(){this.setClassMap(),this.updateChildrenSteps()},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete(),this.indexChangeSubscription&&this.indexChangeSubscription.unsubscribe()},e.prototype.ngAfterContentInit=function(){var e=this;this.steps&&this.steps.changes.pipe(Object(Ka.a)(null),Object(ss.a)(this.destroy$)).subscribe((function(){e.updateChildrenSteps()}))},e.prototype.updateChildrenSteps=function(){var e=this;if(this.steps){var t=this.steps.length;this.steps.toArray().forEach((function(n,i){Promise.resolve().then((function(){n.outStatus=e.nzStatus,n.showProcessDot=e.showProcessDot,e.customProcessDotTemplate&&(n.customProcessTemplate=e.customProcessDotTemplate),n.clickable=e.nzIndexChange.observers.length>0,n.direction=e.nzDirection,n.index=i+e.nzStartIndex,n.currentIndex=e.nzCurrent,n.last=t===i+1,n.markForCheck()}))})),this.indexChangeSubscription&&this.indexChangeSubscription.unsubscribe(),this.indexChangeSubscription=Tt.a.apply(void 0,Object(zt.g)(this.steps.map((function(e){return e.click$})))).subscribe((function(t){return e.nzIndexChange.emit(t)}))}},e.prototype.setClassMap=function(){var e;this.classMap=((e={})["ant-steps-"+this.nzDirection]=!0,e["ant-steps-label-horizontal"]="horizontal"===this.nzDirection,e["ant-steps-label-vertical"]=(this.showProcessDot||"vertical"===this.nzLabelPlacement)&&"horizontal"===this.nzDirection,e["ant-steps-dot"]=this.showProcessDot,e["ant-steps-small"]="small"===this.nzSize,e["ant-steps-navigation"]="navigation"===this.nzType,e)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-steps"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,BD,!1),2&e&&i.zc(r=i.ic())&&(t.steps=r)},inputs:{nzCurrent:"nzCurrent",nzDirection:"nzDirection",nzLabelPlacement:"nzLabelPlacement",nzType:"nzType",nzSize:"nzSize",nzStartIndex:"nzStartIndex",nzStatus:"nzStatus",nzProgressDot:"nzProgressDot"},outputs:{nzIndexChange:"nzIndexChange"},exportAs:["nzSteps"],features:[i.Bb],ngContentSelectors:VD,decls:2,vars:1,consts:[[1,"ant-steps",3,"ngClass"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"div",0),i.qc(1),i.Yb()),2&e&&i.sc("ngClass",t.classMap)},directives:[Vr.q],encapsulation:2,changeDetection:0}),e}(),UD=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ns.b,Es.a]]}),e}(),HD=["switchElement"];function WD(e,t){1&e&&i.Ub(0,"i",7)}function qD(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzCheckedChildren)}}function ZD(e,t){if(1&e&&(i.Xb(0),i.Lc(1,qD,2,1,"ng-container",8),i.Wb()),2&e){var n=i.kc();i.Db(1),i.sc("nzStringTemplateOutlet",n.nzCheckedChildren)}}function $D(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.Oc(n.nzUnCheckedChildren)}}function GD(e,t){if(1&e&&i.Lc(0,$D,2,1,"ng-container",8),2&e){var n=i.kc();i.sc("nzStringTemplateOutlet",n.nzUnCheckedChildren)}}var QD=function(){function e(e,t,n){this.nzConfigService=e,this.cdr=t,this.focusMonitor=n,this.isChecked=!1,this.onChange=function(){},this.onTouched=function(){},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default"}return e.prototype.onHostClick=function(e){e.preventDefault(),this.nzDisabled||this.nzLoading||this.nzControl||this.updateValue(!this.isChecked)},e.prototype.updateValue=function(e){this.isChecked!==e&&(this.isChecked=e,this.onChange(this.isChecked))},e.prototype.onKeyDown=function(e){this.nzControl||this.nzDisabled||this.nzLoading||(e.keyCode===Zr.f?(this.updateValue(!1),e.preventDefault()):e.keyCode===Zr.h?(this.updateValue(!0),e.preventDefault()):e.keyCode!==Zr.i&&e.keyCode!==Zr.d||(this.updateValue(!this.isChecked),e.preventDefault()))},e.prototype.focus=function(){var e;this.focusMonitor.focusVia(null===(e=this.switchElement)||void 0===e?void 0:e.nativeElement,"keyboard")},e.prototype.blur=function(){var e;null===(e=this.switchElement)||void 0===e||e.nativeElement.blur()},e.prototype.ngAfterViewInit=function(){var e=this;this.focusMonitor.monitor(this.switchElement.nativeElement,!0).subscribe((function(t){t||Promise.resolve().then((function(){return e.onTouched()}))}))},e.prototype.ngOnDestroy=function(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement)},e.prototype.writeValue=function(e){this.isChecked=e,this.cdr.markForCheck()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.nzDisabled=e,this.cdr.markForCheck()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzLoading",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzControl",void 0),Object(zt.b)([Object(Qa.b)("switch"),Object(zt.d)("design:type",String)],e.prototype,"nzSize",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.h),i.Tb(yo))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-switch"]],viewQuery:function(e,t){var n;1&e&&i.Jc(HD,!0),2&e&&i.zc(n=i.ic())&&(t.switchElement=n.first)},hostBindings:function(e,t){1&e&&i.hc("click",(function(e){return t.onHostClick(e)}))},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize"},exportAs:["nzSwitch"],features:[i.Cb([{provide:Ot.m,useExisting:Object(i.V)((function(){return e})),multi:!0}])],decls:8,vars:13,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode","keydown"],["switchElement",""],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(e,t){if(1&e&&(i.Zb(0,"button",0,1),i.hc("keydown",(function(e){return t.onKeyDown(e)})),i.Lc(2,WD,1,0,"i",2),i.Zb(3,"span",3),i.Lc(4,ZD,2,1,"ng-container",4),i.Lc(5,GD,1,1,"ng-template",null,5,i.Mc),i.Yb(),i.Ub(7,"div",6),i.Yb()),2&e){var n=i.Ac(6);i.Jb("ant-switch-checked",t.isChecked)("ant-switch-loading",t.nzLoading)("ant-switch-disabled",t.nzDisabled)("ant-switch-small","small"===t.nzSize),i.sc("disabled",t.nzDisabled)("nzWaveExtraNode",!0),i.Db(2),i.sc("ngIf",t.nzLoading),i.Db(2),i.sc("ngIf",t.isChecked)("ngIfElse",n)}},directives:[Ud.a,Vr.t,Ns.a,Es.b],encapsulation:2,changeDetection:0}),e}(),XD=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ud.b,Ns.b,Es.a]]}),e}(),KD=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,i){return e[0]===t&&(n=i,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n0},e.prototype.connect_=function(){JD&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ix?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){JD&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;nx.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ox=function(e,t){for(var n=0,i=Object.keys(t);n0},e}(),gx="undefined"!=typeof WeakMap?new WeakMap:new KD,bx=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=rx.getInstance(),i=new fx(t,n,this);gx.set(this,i)};["observe","unobserve","disconnect"].forEach((function(e){bx.prototype[e]=function(){var t;return(t=gx.get(this))[e].apply(t,arguments)}}));var mx=void 0!==ex.ResizeObserver?ex.ResizeObserver:bx,vx=function(){function e(){}return e.prototype.create=function(e){return void 0===mx?null:new mx(e)},e.\u0275prov=Object(i.Pb)({factory:function(){return new e},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}(),yx=function(){function e(e){this.nzResizeObserverFactory=e,this.observedElements=new Map}return e.prototype.ngOnDestroy=function(){var e=this;this.observedElements.forEach((function(t,n){return e.cleanupObserver(n)}))},e.prototype.observe=function(e){var t=this,n=Object(Qr.e)(e);return new _t.a((function(e){var i=t.observeElement(n).subscribe(e);return function(){i.unsubscribe(),t.unobserveElement(n)}}))},e.prototype.observeElement=function(e){if(this.observedElements.has(e))this.observedElements.get(e).count++;else{var t=new kt.a,n=this.nzResizeObserverFactory.create((function(e){return t.next(e)}));n&&n.observe(e),this.observedElements.set(e,{observer:n,stream:t,count:1})}return this.observedElements.get(e).stream},e.prototype.unobserveElement=function(e){this.observedElements.has(e)&&(this.observedElements.get(e).count--,this.observedElements.get(e).count||this.cleanupObserver(e))},e.prototype.cleanupObserver=function(e){if(this.observedElements.has(e)){var t=this.observedElements.get(e),n=t.observer,i=t.stream;n&&n.disconnect(),i.complete(),this.observedElements.delete(e)}},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(vx))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(vx))},e}(),wx=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},providers:[vx]}),e}(),Ox=n("G5J1"),Cx=["*"];function Sx(e,t){}function zx(e,t){if(1&e){var n=i.ac();i.Zb(0,"label",15),i.hc("ngModelChange",(function(){i.Dc(n);var e=i.kc().$implicit;return i.kc(2).check(e)})),i.Yb()}if(2&e){var r=i.kc().$implicit;i.sc("ngModel",r.checked)}}function Tx(e,t){if(1&e){var n=i.ac();i.Zb(0,"label",16),i.hc("ngModelChange",(function(){i.Dc(n);var e=i.kc().$implicit;return i.kc(2).check(e)})),i.Yb()}if(2&e){var r=i.kc().$implicit;i.sc("ngModel",r.checked)}}function _x(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",12),i.hc("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc(2).check(e)})),i.Lc(1,zx,1,1,"label",13),i.Lc(2,Tx,1,1,"label",14),i.Zb(3,"span"),i.Nc(4),i.Yb(),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc(2);i.sc("nzSelected",r.checked),i.Db(1),i.sc("ngIf",!o.filterMultiple),i.Db(1),i.sc("ngIf",o.filterMultiple),i.Db(2),i.Oc(r.text)}}function kx(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Zb(1,"nz-filter-trigger",3),i.hc("nzVisibleChange",(function(e){return i.Dc(n),i.kc().onVisibleChange(e)})),i.Ub(2,"i",4),i.Yb(),i.Zb(3,"nz-dropdown-menu",null,5),i.Zb(5,"div",6),i.Zb(6,"ul",7),i.Lc(7,_x,5,4,"li",8),i.Yb(),i.Zb(8,"div",9),i.Zb(9,"button",10),i.hc("click",(function(){return i.Dc(n),i.kc().reset()})),i.Nc(10),i.Yb(),i.Zb(11,"button",11),i.hc("click",(function(){return i.Dc(n),i.kc().confirm()})),i.Nc(12),i.Yb(),i.Yb(),i.Yb(),i.Yb(),i.Wb()}if(2&e){var r=i.Ac(4),o=i.kc();i.Db(1),i.sc("nzVisible",o.isVisible)("nzActive",o.isChecked)("nzDropdownMenu",r),i.Db(6),i.sc("ngForOf",o.listOfParsedFilter)("ngForTrackBy",o.trackByValue),i.Db(2),i.sc("disabled",!o.isChecked),i.Db(1),i.Oc(o.locale.filterReset),i.Db(2),i.Oc(o.locale.filterConfirm)}}function Dx(e,t){if(1&e){var n=i.ac();i.Zb(0,"label",2),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc().onCheckedChange(e)})),i.Yb()}if(2&e){var r=i.kc();i.Jb("ant-table-selection-select-all-custom",r.showRowSelection),i.sc("ngModel",r.checked)("nzDisabled",r.disabled)("nzIndeterminate",r.indeterminate)}}function xx(e,t){if(1&e&&(i.Zb(0,"li",9),i.hc("click",(function(){return t.$implicit.onSelect()})),i.Nc(1),i.Yb()),2&e){var n=t.$implicit;i.Db(1),i.Pc(" ",n.text," ")}}function Ex(e,t){if(1&e&&(i.Zb(0,"div",3),i.Zb(1,"span",4),i.Ub(2,"i",5),i.Yb(),i.Zb(3,"nz-dropdown-menu",null,6),i.Zb(5,"ul",7),i.Lc(6,xx,2,1,"li",8),i.Yb(),i.Yb(),i.Yb()),2&e){var n=i.Ac(4),r=i.kc();i.Db(1),i.sc("nzDropdownMenu",n),i.Db(5),i.sc("ngForOf",r.listOfSelections)}}function Nx(e,t){}function jx(e,t){if(1&e&&i.Ub(0,"i",5),2&e){var n=i.kc();i.Jb("active","ascend"==n.sortOrder)}}function Ix(e,t){if(1&e&&i.Ub(0,"i",6),2&e){var n=i.kc();i.Jb("active","descend"==n.sortOrder)}}var Ax=["nzChecked",""];function Mx(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Ub(1,"nz-row-indent",2),i.Zb(2,"button",3),i.hc("expandChange",(function(e){return i.Dc(n),i.kc().onExpandChange(e)})),i.Yb(),i.Wb()}if(2&e){var r=i.kc();i.Db(1),i.sc("indentSize",r.nzIndentSize),i.Db(1),i.sc("expand",r.nzExpand)("spaceMode",!r.nzShowExpand)}}function Lx(e,t){if(1&e){var n=i.ac();i.Zb(0,"label",4),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc().onCheckedChange(e)})),i.Yb()}if(2&e){var r=i.kc();i.sc("nzDisabled",r.nzDisabled)("ngModel",r.nzChecked)("nzIndeterminate",r.nzIndeterminate)}}var Px=["nzSortKey",""];function Fx(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-table-filter",5),i.hc("filterChange",(function(e){return i.Dc(n),i.kc().onFilterValueChange(e)})),i.Yb()}if(2&e){var r=i.kc(),o=i.Ac(2),a=i.Ac(4);i.sc("contentTemplate",o)("extraTemplate",a)("customFilter",r.nzCustomFilter)("filterMultiple",r.nzFilterMultiple)("listOfFilter",r.nzFilters)}}function Rx(e,t){}function Vx(e,t){if(1&e&&i.Lc(0,Rx,0,0,"ng-template",6),2&e){var n=i.kc(),r=i.Ac(6),o=i.Ac(8);i.sc("ngTemplateOutlet",n.nzShowSort?r:o)}}function Bx(e,t){1&e&&(i.qc(0),i.qc(1,1))}function Yx(e,t){if(1&e&&i.Ub(0,"nz-table-sorters",7),2&e){var n=i.kc(),r=i.Ac(8);i.sc("sortOrder",n.sortOrder)("sortDirections",n.sortDirections)("contentTemplate",r)}}function Ux(e,t){1&e&&i.qc(0,2)}var Hx=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],Wx=["[nz-th-extra]","nz-filter-trigger","*"],qx=["nzSelections",""],Zx=["nz-table-content",""];function $x(e,t){if(1&e&&i.Ub(0,"col"),2&e){var n=t.$implicit;i.Kc("width",n)("min-width",n)}}function Gx(e,t){}function Qx(e,t){if(1&e&&(i.Zb(0,"thead",3),i.Nc(1,"\n "),i.Lc(2,Gx,0,0,"ng-template",2),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Db(2),i.sc("ngTemplateOutlet",n.theadTemplate)}}function Xx(e,t){}var Kx=["tdElement"],Jx=["nz-table-fixed-row",""];function eE(e,t){}function tE(e,t){if(1&e&&(i.Zb(0,"div",4),i.lc(1,"async"),i.Nc(2,"\n "),i.Lc(3,eE,0,0,"ng-template",5),i.Nc(4,"\n "),i.Yb()),2&e){var n=i.kc(),r=i.Ac(9);i.Kc("width",i.mc(1,3,n.hostWidth$),"px"),i.Db(3),i.sc("ngTemplateOutlet",r)}}function nE(e,t){1&e&&i.qc(0)}var iE=["tableHeaderElement"],rE=["tableBodyElement"];function oE(e,t){if(1&e&&(i.Zb(0,"div",4,5),i.Nc(2,"\n "),i.Ub(3,"table",6),i.Nc(4,"\n "),i.Yb()),2&e){var n=i.kc();i.sc("ngStyle",n.headerStyleMap),i.Db(3),i.sc("scrollX",n.scrollX)("listOfColWidth",n.listOfColWidth)("theadTemplate",n.theadTemplate)}}function aE(e,t){if(1&e&&(i.Zb(0,"div",7,8),i.Nc(2,"\n "),i.Ub(3,"table",9),i.Nc(4,"\n "),i.Yb()),2&e){var n=i.kc();i.sc("ngStyle",n.bodyStyleMap),i.Db(3),i.sc("scrollX",n.scrollX)("listOfColWidth",n.listOfColWidth)("theadTemplate",n.scrollY?null:n.theadTemplate)("contentTemplate",n.contentTemplate)}}function sE(e,t){}var cE=function(e,t){return{$implicit:e,index:t}};function uE(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,sE,0,0,"ng-template",13),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit,r=t.index,o=i.kc(2);i.Db(2),i.sc("ngTemplateOutlet",o.virtualTemplate)("ngTemplateOutletContext",i.wc(2,cE,n,r))}}function lE(e,t){if(1&e&&(i.Zb(0,"cdk-virtual-scroll-viewport",10,8),i.Nc(2,"\n "),i.Zb(3,"table",11),i.Nc(4,"\n "),i.Zb(5,"tbody"),i.Nc(6,"\n "),i.Lc(7,uE,4,5,"ng-container",12),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n "),i.Yb(),i.Nc(10,"\n "),i.Yb()),2&e){var n=i.kc();i.Kc("height",n.data.length?n.scrollY:n.noDateVirtualHeight),i.sc("itemSize",n.virtualItemSize)("maxBufferPx",n.virtualMaxBufferPx)("minBufferPx",n.virtualMinBufferPx),i.Db(3),i.sc("scrollX",n.scrollX)("listOfColWidth",n.listOfColWidth),i.Db(4),i.sc("cdkVirtualForOf",n.data)("cdkVirtualForTrackBy",n.virtualForTrackBy)}}function pE(e,t){}function hE(e,t){if(1&e&&(i.Xb(0),i.Lc(1,pE,0,0,"ng-template",10),i.Wb()),2&e){i.kc();var n=i.Ac(11);i.Db(1),i.sc("ngTemplateOutlet",n)}}function dE(e,t){if(1&e&&i.Ub(0,"nz-table-title-footer",11),2&e){var n=i.kc();i.sc("title",n.nzTitle)}}function fE(e,t){if(1&e&&i.Ub(0,"nz-table-inner-scroll",12),2&e){var n=i.kc(),r=i.Ac(13),o=i.Ac(3);i.sc("data",n.data)("scrollX",n.scrollX)("scrollY",n.scrollY)("contentTemplate",r)("listOfColWidth",n.listOfColWidth)("theadTemplate",n.theadTemplate)("verticalScrollBarWidth",n.verticalScrollBarWidth)("virtualTemplate",n.nzVirtualScrollDirective?n.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",n.nzVirtualItemSize)("virtualMaxBufferPx",n.nzVirtualMaxBufferPx)("virtualMinBufferPx",n.nzVirtualMinBufferPx)("tableMainElement",o)("virtualForTrackBy",n.nzVirtualForTrackBy)}}function gE(e,t){if(1&e&&i.Ub(0,"nz-table-inner-default",13),2&e){var n=i.kc(),r=i.Ac(13);i.sc("tableLayout",n.nzTableLayout)("listOfColWidth",n.listOfColWidth)("theadTemplate",n.theadTemplate)("contentTemplate",r)}}function bE(e,t){if(1&e&&i.Ub(0,"nz-table-title-footer",14),2&e){var n=i.kc();i.sc("footer",n.nzFooter)}}function mE(e,t){}function vE(e,t){if(1&e&&(i.Xb(0),i.Lc(1,mE,0,0,"ng-template",10),i.Wb()),2&e){i.kc();var n=i.Ac(11);i.Db(1),i.sc("ngTemplateOutlet",n)}}function yE(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-pagination",16),i.hc("nzPageSizeChange",(function(e){return i.Dc(n),i.kc(2).onPageSizeChange(e)}))("nzPageIndexChange",(function(e){return i.Dc(n),i.kc(2).onPageIndexChange(e)})),i.Yb()}if(2&e){var r=i.kc(2);i.sc("nzShowSizeChanger",r.nzShowSizeChanger)("nzPageSizeOptions",r.nzPageSizeOptions)("nzItemRender",r.nzItemRender)("nzShowQuickJumper",r.nzShowQuickJumper)("nzHideOnSinglePage",r.nzHideOnSinglePage)("nzShowTotal",r.nzShowTotal)("nzSize","default"===r.nzSize?"default":"small")("nzPageSize",r.nzPageSize)("nzTotal",r.nzTotal)("nzSimple",r.nzSimple)("nzPageIndex",r.nzPageIndex)}}function wE(e,t){if(1&e&&i.Lc(0,yE,1,11,"nz-pagination",15),2&e){var n=i.kc();i.sc("ngIf",n.nzShowPagination&&n.data.length)}}function OE(e,t){1&e&&i.qc(0)}function CE(e,t){if(1&e){var n=i.ac();i.Zb(0,"tr",3),i.hc("listOfAutoWidth",(function(e){return i.Dc(n),i.kc(2).onListOfAutoWidthChange(e)})),i.Yb()}if(2&e){var r=i.kc().ngIf;i.sc("listOfMeasureColumn",r)}}function SE(e,t){if(1&e&&(i.Xb(0),i.Lc(1,CE,1,1,"tr",2),i.Wb()),2&e){var n=t.ngIf,r=i.kc();i.Db(1),i.sc("ngIf",r.isInsideTable&&n.length)}}function zE(e,t){if(1&e&&(i.Zb(0,"tr",4),i.Ub(1,"nz-embed-empty",5),i.lc(2,"async"),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("specificContent",i.mc(2,1,n.noResult$))}}var TE=["contentTemplate"];function _E(e,t){1&e&&(i.Nc(0,"\n "),i.qc(1),i.Nc(2,"\n "))}function kE(e,t){}function DE(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,kE,0,0,"ng-template",2),i.Nc(3,"\n "),i.Wb()),2&e){i.kc();var n=i.Ac(2);i.Db(2),i.sc("ngTemplateOutlet",n)}}function xE(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.title)}}function EE(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.footer)}}var NE=["nz-table-measure-row",""];function jE(e,t){1&e&&i.Ub(0,"td",1,2)}var IE=function(){function e(e){this.cdr=e,this.nzActive=!1,this.nzVisible=!1,this.nzVisibleChange=new i.n}return e.prototype.onVisibleChange=function(e){this.nzVisible=e,this.nzVisibleChange.next(e)},e.prototype.onFilterClick=function(e){e.stopPropagation()},e.prototype.hide=function(){this.nzVisible=!1,this.cdr.markForCheck()},e.prototype.show=function(){this.nzVisible=!0,this.cdr.markForCheck()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-filter-trigger"]],hostVars:4,hostBindings:function(e,t){2&e&&i.Jb("ant-table-filter-trigger-container",!0)("ant-table-filter-trigger-container-open",t.nzVisible)},inputs:{nzActive:"nzActive",nzVisible:"nzVisible",nzDropdownMenu:"nzDropdownMenu"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],ngContentSelectors:Cx,decls:2,vars:7,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzClickHide","nzDropdownMenu","nzVisible","nzVisibleChange","click"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"span",0),i.hc("nzVisibleChange",(function(e){return t.onVisibleChange(e)}))("click",(function(e){return t.onFilterClick(e)})),i.qc(1),i.Yb()),2&e&&(i.Jb("active",t.nzActive)("ant-table-filter-open",t.nzVisible),i.sc("nzClickHide",!1)("nzDropdownMenu",t.nzDropdownMenu)("nzVisible",t.nzVisible))},directives:[xu.b],encapsulation:2,changeDetection:0}),e}(),AE=function(){function e(e,t){this.cdr=e,this.i18n=t,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new i.n,this.destroy$=new kt.a,this.locale={},this.isChanged=!1,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[]}return e.prototype.trackByValue=function(e,t){return t.value},e.prototype.check=function(e){this.isChanged=!0,this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map((function(t){return t===e?Object(zt.a)(Object(zt.a)({},t),{checked:!e.checked}):t})),e.checked=!e.checked):this.listOfParsedFilter=this.listOfParsedFilter.map((function(t){return Object(zt.a)(Object(zt.a)({},t),{checked:t===e})})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)},e.prototype.confirm=function(){this.isVisible=!1,this.emitFilterData()},e.prototype.reset=function(){this.isChanged=!0,this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()},e.prototype.onVisibleChange=function(e){this.isVisible=e,e||this.emitFilterData()},e.prototype.emitFilterData=function(){if(this.isChanged){var e=this.listOfParsedFilter.filter((function(e){return e.checked})).map((function(e){return e.value}));this.filterChange.emit(this.filterMultiple?e:e[0]||null),this.isChanged=!1}},e.prototype.parseListOfFilter=function(e,t){return e.map((function(e){return{text:e.text,value:e.value,checked:!t&&!!e.byDefault}}))},e.prototype.getCheckedStatus=function(e){return e.some((function(e){return e.checked}))},e.prototype.ngOnInit=function(){var e=this;this.i18n.localeChange.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.locale=e.i18n.getLocaleData("Table"),e.cdr.markForCheck()}))},e.prototype.ngOnChanges=function(e){e.listOfFilter&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(Lp))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-table-filter"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-filter-column",!0)},inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[i.Bb],decls:3,vars:3,consts:[[1,"ant-table-filter-column-title"],[3,"ngTemplateOutlet"],[4,"ngIf","ngIfElse"],[3,"nzVisible","nzActive","nzDropdownMenu","nzVisibleChange"],["nz-icon","","nzType","filter","nzTheme","fill"],["filterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"disabled","click"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"nzSelected","click"],["nz-radio","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-radio","",3,"ngModel","ngModelChange"],["nz-checkbox","",3,"ngModel","ngModelChange"]],template:function(e,t){1&e&&(i.Zb(0,"span",0),i.Lc(1,Sx,0,0,"ng-template",1),i.Yb(),i.Lc(2,kx,13,8,"ng-container",2)),2&e&&(i.Db(1),i.sc("ngTemplateOutlet",t.contentTemplate),i.Db(1),i.sc("ngIf",!t.customFilter)("ngIfElse",t.extraTemplate))},directives:[Vr.A,Vr.t,IE,Hd.a,Ns.a,xu.e,YO.c,Vr.s,Wu.a,Ud.a,YO.f,Pb,Ot.o,Ot.r,Zy],encapsulation:2,changeDetection:0}),e}(),ME=function(){function e(){this.expand=!1,this.spaceMode=!1,this.expandChange=new i.n}return e.prototype.onHostClick=function(){this.spaceMode||(this.expand=!this.expand,this.expandChange.next(this.expand))},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["button","nz-row-expand-button",""]],hostVars:9,hostBindings:function(e,t){1&e&&i.hc("click",(function(){return t.onHostClick()})),2&e&&(i.cc("type","button"),i.Jb("ant-table-row-expand-icon",!0)("ant-table-row-expand-icon-expanded",!t.spaceMode&&!0===t.expand)("ant-table-row-expand-icon-collapsed",!t.spaceMode&&!1===t.expand)("ant-table-row-expand-icon-spaced",t.spaceMode))},inputs:{expand:"expand",spaceMode:"spaceMode"},outputs:{expandChange:"expandChange"}}),e}(),LE=function(){function e(){this.indentSize=0}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["nz-row-indent"]],hostVars:4,hostBindings:function(e,t){2&e&&(i.Kc("padding-left",t.indentSize,"px"),i.Jb("ant-table-row-indent",!0))},inputs:{indentSize:"indentSize"}}),e}(),PE=function(){function e(){this.listOfSelections=[],this.checked=!1,this.disabled=!1,this.indeterminate=!1,this.showCheckbox=!1,this.showRowSelection=!1,this.checkedChange=new i.n}return e.prototype.onCheckedChange=function(e){this.checked=e,this.checkedChange.emit(e)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-table-selection"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-selection",!0)},inputs:{listOfSelections:"listOfSelections",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",showCheckbox:"showCheckbox",showRowSelection:"showRowSelection"},outputs:{checkedChange:"checkedChange"},decls:2,vars:2,consts:[["nz-checkbox","",3,"ant-table-selection-select-all-custom","ngModel","nzDisabled","nzIndeterminate","ngModelChange",4,"ngIf"],["class","ant-table-selection-extra",4,"ngIf"],["nz-checkbox","",3,"ngModel","nzDisabled","nzIndeterminate","ngModelChange"],[1,"ant-table-selection-extra"],["nz-dropdown","","nzPlacement","bottomLeft",1,"ant-table-selection-down",3,"nzDropdownMenu"],["nz-icon","","nzType","down"],["selectionMenu","nzDropdownMenu"],["nz-menu","",1,"ant-table-selection-menu"],["nz-menu-item","",3,"click",4,"ngFor","ngForOf"],["nz-menu-item","",3,"click"]],template:function(e,t){1&e&&(i.Lc(0,Dx,1,5,"label",0),i.Lc(1,Ex,7,2,"div",1)),2&e&&(i.sc("ngIf",t.showCheckbox),i.Db(1),i.sc("ngIf",t.showRowSelection))},directives:[Vr.t,Zy,Ot.o,Ot.r,xu.b,Hd.a,Ns.a,xu.e,YO.c,Vr.s,YO.f],encapsulation:2,changeDetection:0}),e}(),FE=function(){function e(){this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1}return e.prototype.ngOnChanges=function(e){e.sortDirections&&(this.isUp=-1!==this.sortDirections.indexOf("ascend"),this.isDown=-1!==this.sortDirections.indexOf("descend"))},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-table-sorters"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-column-sorters",!0)},inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[i.Bb],decls:6,vars:5,consts:[[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nz-icon","","nzType","caret-up","class","ant-table-column-sorter-up",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-down","class","ant-table-column-sorter-down",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-up",1,"ant-table-column-sorter-up"],["nz-icon","","nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(e,t){1&e&&(i.Zb(0,"span"),i.Lc(1,Nx,0,0,"ng-template",0),i.Yb(),i.Zb(2,"span",1),i.Zb(3,"span",2),i.Lc(4,jx,1,2,"i",3),i.Lc(5,Ix,1,2,"i",4),i.Yb(),i.Yb()),2&e&&(i.Db(1),i.sc("ngTemplateOutlet",t.contentTemplate),i.Db(1),i.Jb("ant-table-column-sorter-full",t.isDown&&t.isUp),i.Db(2),i.sc("ngIf",t.isUp),i.Db(1),i.sc("ngIf",t.isDown))},directives:[Vr.A,Vr.t,Hd.a,Ns.a],encapsulation:2,changeDetection:0}),e}(),RE=function(){function e(e,t,n){this.cdr=e,this.renderer=t,this.elementRef=n,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.changes$=new kt.a,this.isFirstRight=!1,this.isLastLeft=!1,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}return e.prototype.setIsFirstRight=function(e){this.isFirstRight=e,this.cdr.markForCheck()},e.prototype.setIsLastLeft=function(e){this.isLastLeft=e,this.cdr.markForCheck()},e.prototype.setAutoLeftWidth=function(e){this.renderer.setStyle(this.elementRef.nativeElement,"left",e)},e.prototype.setAutoRightWidth=function(e){this.renderer.setStyle(this.elementRef.nativeElement,"right",e)},e.prototype.ngOnChanges=function(){this.isFirstRight=!1,this.isLastLeft=!1,this.isAutoLeft=""===this.nzLeft||!0===this.nzLeft,this.isAutoRight=""===this.nzRight||!0===this.nzRight,this.isFixedLeft=!1!==this.nzLeft,this.isFixedRight=!1!==this.nzRight,this.isFixed=this.isFixedLeft||this.isFixedRight;var e=function(e){return"string"==typeof e&&""!==e?e:null};this.setAutoLeftWidth(e(this.nzLeft)),this.setAutoRightWidth(e(this.nzRight)),this.changes$.next()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(i.E),i.Tb(i.l))},e.\u0275dir=i.Ob({type:e,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:10,hostBindings:function(e,t){2&e&&(i.Kc("position",t.isFixed?"sticky":null),i.Jb("ant-table-cell-fix-right",t.isFixedRight)("ant-table-cell-fix-left",t.isFixedLeft)("ant-table-cell-fix-right-first",t.isFirstRight)("ant-table-cell-fix-left-last",t.isLastLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan"},features:[i.Bb]}),e}(),VE=function(){function e(){this.theadTemplate$=new Os.a(1),this.hasFixLeft$=new Os.a(1),this.hasFixRight$=new Os.a(1),this.hostWidth$=new Os.a(1),this.columnCount$=new Os.a(1),this.showEmpty$=new Os.a(1),this.noResult$=new Os.a(1),this.listOfThWidthConfigPx$=new qu.a([]),this.tableWidthConfigPx$=new qu.a([]),this.manualWidthConfigPx$=Object(os.a)([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe(Object(Mt.a)((function(e){var t=Object(zt.e)(e,2),n=t[0];return n.length?n:t[1]}))),this.listOfAutoWidthPx$=new Os.a(1),this.listOfListOfThWidthPx$=Object(Tt.a)(this.manualWidthConfigPx$,Object(os.a)([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe(Object(Mt.a)((function(e){var t=Object(zt.e)(e,2),n=t[0],i=t[1];return n.length!==i.length?i:n})))),this.listOfMeasureColumn$=new Os.a(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe(Object(Mt.a)((function(e){return e.map((function(e){return parseInt(e,10)}))}))),this.enableAutoMeasure$=new Os.a(1)}return e.prototype.setTheadTemplate=function(e){this.theadTemplate$.next(e)},e.prototype.setHasFixLeft=function(e){this.hasFixLeft$.next(e)},e.prototype.setHasFixRight=function(e){this.hasFixRight$.next(e)},e.prototype.setTableWidthConfig=function(e){this.tableWidthConfigPx$.next(e)},e.prototype.setListOfTh=function(e){var t=0;e.forEach((function(e){t+=e.colspan&&+e.colspan||1}));var n=e.map((function(e){return e.nzWidth}));this.columnCount$.next(t),this.listOfThWidthConfigPx$.next(n)},e.prototype.setListOfMeasureColumn=function(e){var t=[];e.forEach((function(e){for(var n=e.colspan&&+e.colspan||1,i=0;i0)("ant-table-selection-column",t.nzShowCheckbox)},inputs:{nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzIndentSize:"nzIndentSize",nzShowExpand:"nzShowExpand",nzShowCheckbox:"nzShowCheckbox",nzExpand:"nzExpand"},outputs:{nzCheckedChange:"nzCheckedChange",nzExpandChange:"nzExpandChange"},features:[i.Bb],attrs:Ax,ngContentSelectors:Cx,decls:3,vars:2,consts:[[4,"ngIf"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange",4,"ngIf"],[3,"indentSize"],["nz-row-expand-button","",3,"expand","spaceMode","expandChange"],["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate","ngModelChange"]],template:function(e,t){1&e&&(i.rc(),i.Lc(0,Mx,3,3,"ng-container",0),i.Lc(1,Lx,1,3,"label",1),i.qc(2)),2&e&&(i.sc("ngIf",t.nzShowExpand||t.nzIndentSize>0),i.Db(1),i.sc("ngIf",t.nzShowCheckbox))},directives:[Vr.t,LE,ME,Zy,Ot.o,Ot.r],encapsulation:2,changeDetection:0}),e}(),UE=function(){function e(e){this.cdr=e,this.manualClickOrder$=new kt.a,this.calcOperatorChange$=new kt.a,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new kt.a,this.destroy$=new kt.a,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new i.n,this.nzSortOrderChange=new i.n,this.nzFilterChange=new i.n,this.nzSort=null,this.nzSortChange=new i.n}return e.prototype.getNextSortDirection=function(e,t){var n=e.indexOf(t);return n===e.length-1?e[0]:e[n+1]},e.prototype.emitNextSortValue=function(){if(this.nzShowSort){var e=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.setSortOrder(e),this.manualClickOrder$.next(this)}},e.prototype.setSortOrder=function(e){this.sortOrderChange$.next(e)},e.prototype.clearSortOrder=function(){null!==this.sortOrder&&this.setSortOrder(null)},e.prototype.onFilterValueChange=function(e){this.nzFilterChange.emit(e),this.nzFilterValue=e,this.updateCalcOperator()},e.prototype.updateCalcOperator=function(){this.calcOperatorChange$.next()},e.prototype.ngOnInit=function(){var e=this;this.sortOrderChange$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.sortOrder!==t&&(e.sortOrder=t,e.nzSortChange.emit(t),e.nzSortOrderChange.emit(t)),e.updateCalcOperator(),e.cdr.markForCheck()}))},e.prototype.ngOnChanges=function(e){var t=e.nzSortKey,n=e.nzSort,i=e.nzFilters,r=e.nzSortOrder,o=e.nzSortFn,a=e.nzFilterFn,s=e.nzSortPriority,c=e.nzFilterMultiple,u=e.nzShowSort,l=e.nzShowFilter;e.nzSortDirections&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),n&&(this.sortOrder=this.nzSort,this.setSortOrder(this.nzSort),Object(Hs.c)("'nzSort' and 'nzSortChange' is deprecated and will be removed in 10.0.0. Please use 'nzSortOrder' and 'nzSortOrderChange' instead.")),t&&(this.nzColumnKey=this.nzSortKey,Object(Hs.c)("'nzSortKey' is deprecated and will be removed in 10.0.0. Please use 'nzColumnKey' instead.")),r&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),u&&(this.isNzShowSortChanged=!0),l&&(this.isNzShowFilterChanged=!0);var p=function(e){return e&&e.firstChange&&void 0!==e.currentValue};if((p(t)||p(n)||p(r)||p(o))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),p(i)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(i||c)&&this.nzShowFilter){var h=this.nzFilters.filter((function(e){return e.byDefault})).map((function(e){return e.value}));this.nzFilterValue=this.nzFilterMultiple?h:h[0]||null}(o||a||s||i)&&this.updateCalcOperator()},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowSort",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowFilter",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzCustomFilter",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["th","nzSortKey",""],["th","nzColumnKey",""],["th","nzSort",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(e,t){1&e&&i.hc("click",(function(){return t.emitNextSortValue()})),2&e&&i.Jb("ant-table-column-has-sorters",t.nzShowSort)("ant-table-column-sort","descend"===t.sortOrder||"ascend"===t.sortOrder)},inputs:{nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter",nzSort:"nzSort",nzColumnKey:"nzColumnKey",nzSortKey:"nzSortKey"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange",nzSortChange:"nzSortChange"},features:[i.Bb],attrs:Px,ngContentSelectors:Wx,decls:9,vars:2,consts:[[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange",4,"ngIf","ngIfElse"],["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange"],[3,"ngTemplateOutlet"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(e,t){if(1&e&&(i.rc(Hx),i.Lc(0,Fx,1,5,"nz-table-filter",0),i.Lc(1,Vx,1,1,"ng-template",null,1,i.Mc),i.Lc(3,Bx,2,0,"ng-template",null,2,i.Mc),i.Lc(5,Yx,1,3,"ng-template",null,3,i.Mc),i.Lc(7,Ux,1,0,"ng-template",null,4,i.Mc)),2&e){var n=i.Ac(2);i.sc("ngIf",t.nzShowFilter||t.nzCustomFilter)("ngIfElse",n)}},directives:[Vr.t,AE,Vr.A,FE],encapsulation:2,changeDetection:0}),e}(),HE=function(){function e(){this.changes$=new kt.a,this.nzWidth=null,this.colspan=null}return e.prototype.ngOnChanges=function(e){(e.nzWidth||e.colspan)&&this.changes$.next()},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan"},features:[i.Bb]}),e}(),WE=function(){function e(){this.nzSelections=[],this.nzChecked=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzShowCheckbox=!1,this.nzShowRowSelection=!1,this.nzCheckedChange=new i.n,this.nzSortChangeWithKey=new i.n}return e.prototype.onCheckedChange=function(e){this.nzChecked=e,this.nzCheckedChange.emit(e)},e.prototype.ngOnChanges=function(e){var t=e.nzChecked,n=e.nzSelections;t&&t.firstChange&&(this.nzShowCheckbox=!0),n&&n.firstChange&&(this.nzShowRowSelection=!0)},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowCheckbox",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowRowSelection",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["th","nzSelections",""],["th","nzChecked",""],["th","nzShowCheckbox",""],["th","nzShowRowSelection",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-selection-column",!0)},inputs:{nzSelections:"nzSelections",nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzShowCheckbox:"nzShowCheckbox",nzShowRowSelection:"nzShowRowSelection"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortChangeWithKey:"nzSortChangeWithKey"},features:[i.Bb],attrs:qx,ngContentSelectors:Cx,decls:2,vars:6,consts:[[3,"checked","disabled","indeterminate","listOfSelections","showCheckbox","showRowSelection","checkedChange"]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"nz-table-selection",0),i.hc("checkedChange",(function(e){return t.onCheckedChange(e)})),i.Yb(),i.qc(1)),2&e&&i.sc("checked",t.nzChecked)("disabled",t.nzDisabled)("indeterminate",t.nzIndeterminate)("listOfSelections",t.nzSelections)("showCheckbox",t.nzShowCheckbox)("showRowSelection",t.nzShowRowSelection)},directives:[PE],encapsulation:2,changeDetection:0}),e}(),qE=function(){function e(){this.nzAlign=null}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["th","nzAlign",""],["td","nzAlign",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Kc("text-align",t.nzAlign)},inputs:{nzAlign:"nzAlign"}}),e}(),ZE=function(){function e(){this.nzEllipsis=!0}return Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzEllipsis",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["th","nzEllipsis",""],["td","nzEllipsis",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-cell-ellipsis",t.nzEllipsis)},inputs:{nzEllipsis:"nzEllipsis"}}),e}(),$E=function(){function e(){this.nzBreakWord=!0}return Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzBreakWord",void 0),e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["th","nzBreakWord",""],["td","nzBreakWord",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Kc("word-break",t.nzBreakWord?"break-all":"")},inputs:{nzBreakWord:"nzBreakWord"}}),e}(),GE=function(){function e(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(e,t){2&e&&(i.Kc("table-layout",t.tableLayout)("width",t.scrollX)("min-width",t.scrollX?"100%":null),i.Jb("ant-table-fixed",t.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:Zx,ngContentSelectors:Cx,decls:9,vars:3,consts:[[3,"width","minWidth",4,"ngFor","ngForOf"],["class","ant-table-thead",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-table-thead"]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Lc(1,$x,1,4,"col",0),i.Nc(2,"\n "),i.Lc(3,Qx,4,1,"thead",1),i.Nc(4,"\n "),i.Lc(5,Xx,0,0,"ng-template",2),i.Nc(6,"\n "),i.qc(7),i.Nc(8,"\n ")),2&e&&(i.Db(1),i.sc("ngForOf",t.listOfColWidth),i.Db(2),i.sc("ngIf",t.theadTemplate),i.Db(2),i.sc("ngTemplateOutlet",t.contentTemplate))},directives:[Vr.s,Vr.t,Vr.A],encapsulation:2,changeDetection:0}),e}(),QE=function(){function e(e,t){this.nzTableStyleService=e,this.renderer=t,this.hostWidth$=new qu.a(null),this.enableAutoMeasure$=new qu.a(!1),this.destroy$=new kt.a}return e.prototype.ngOnInit=function(){if(this.nzTableStyleService){var e=this.nzTableStyleService,t=e.hostWidth$;e.enableAutoMeasure$.subscribe(this.enableAutoMeasure$),t.subscribe(this.hostWidth$)}},e.prototype.ngAfterViewInit=function(){var e=this;this.nzTableStyleService.columnCount$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.renderer.setAttribute(e.tdElement.nativeElement,"colspan",""+t)}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(VE),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(e,t){var n;1&e&&i.Sc(Kx,!0),2&e&&i.zc(n=i.ic())&&(t.tdElement=n.first)},attrs:Jx,ngContentSelectors:Cx,decls:11,vars:4,consts:[[1,"nz-disable-td","ant-table-cell"],["tdElement",""],["class","ant-table-expanded-row-fixed","style","position: sticky; left: 0px; overflow: hidden;",3,"width",4,"ngIf","ngIfElse"],["contentTemplate",""],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0px","overflow","hidden"],[3,"ngTemplateOutlet"]],template:function(e,t){if(1&e&&(i.rc(),i.Nc(0,"\n "),i.Zb(1,"td",0,1),i.Nc(3,"\n "),i.Lc(4,tE,5,5,"div",2),i.lc(5,"async"),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n "),i.Lc(8,nE,1,0,"ng-template",null,3,i.Mc),i.Nc(10,"\n ")),2&e){var n=i.Ac(9);i.Db(4),i.sc("ngIf",i.mc(5,2,t.enableAutoMeasure$))("ngIfElse",n)}},directives:[Vr.t,Vr.A],pipes:[Vr.b],encapsulation:2,changeDetection:0}),e}(),XE=function(){function e(){this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-table-inner-default"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-container",!0)},inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},decls:6,vars:4,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Ub(3,"table",1),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n ")),2&e&&(i.Db(3),i.sc("contentTemplate",t.contentTemplate)("tableLayout",t.tableLayout)("listOfColWidth",t.listOfColWidth)("theadTemplate",t.theadTemplate))},directives:[GE],encapsulation:2,changeDetection:0}),e}(),KE=function(){function e(e,t,n,i){this.renderer=e,this.ngZone=t,this.platform=n,this.resizeService=i,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=function(e){return e},this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new kt.a,this.scroll$=new kt.a,this.destroy$=new kt.a}return e.prototype.setScrollPositionClassName=function(e){void 0===e&&(e=!1);var t=this.tableBodyElement.nativeElement,n=t.scrollWidth,i=t.scrollLeft,r=t.clientWidth;n===r&&0!==n||e?(this.renderer.removeClass(this.tableMainElement,"ant-table-ping-left"),this.renderer.removeClass(this.tableMainElement,"ant-table-ping-right")):0===i?(this.renderer.removeClass(this.tableMainElement,"ant-table-ping-left"),this.renderer.addClass(this.tableMainElement,"ant-table-ping-right")):n===i+r?(this.renderer.removeClass(this.tableMainElement,"ant-table-ping-right"),this.renderer.addClass(this.tableMainElement,"ant-table-ping-left")):(this.renderer.addClass(this.tableMainElement,"ant-table-ping-left"),this.renderer.addClass(this.tableMainElement,"ant-table-ping-right"))},e.prototype.ngOnChanges=function(e){var t=e.data;(e.scrollX||e.scrollY)&&(this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&0!==this.verticalScrollBarWidth?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":null,overflowX:this.scrollX?"scroll":null,maxHeight:this.scrollY},this.scroll$.next()),t&&this.data$.next()},e.prototype.ngAfterViewInit=function(){var e=this;this.platform.isBrowser&&this.ngZone.runOutsideAngular((function(){var t=Object(Cs.a)(e.tableBodyElement.nativeElement,"scroll").pipe(Object(ss.a)(e.destroy$)),n=t.pipe(Object(Pt.a)((function(){return!!e.scrollX}))),i=t.pipe(Object(Pt.a)((function(){return!!e.scrollY}))),r=e.resizeService.subscribe().pipe(Object(ss.a)(e.destroy$)),o=e.data$.pipe(Object(ss.a)(e.destroy$));Object(Tt.a)(n,r,o,e.scroll$).pipe(Object(Ka.a)(!0),Ic(0)).subscribe((function(){return e.setScrollPositionClassName()})),i.subscribe((function(){return e.tableHeaderElement.nativeElement.scrollLeft=e.tableBodyElement.nativeElement.scrollLeft}))}))},e.prototype.ngOnDestroy=function(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.E),i.Tb(i.z),i.Tb(Xr.a),i.Tb(ds))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-table-inner-scroll"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(iE,!0,i.l),i.Sc(rE,!0,i.l),i.Sc(Rb.c,!0,Rb.c)),2&e&&(i.zc(n=i.ic())&&(t.tableHeaderElement=n.first),i.zc(n=i.ic())&&(t.tableBodyElement=n.first),i.zc(n=i.ic())&&(t.cdkVirtualScrollViewport=n.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-container",!0)},inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth",tableMainElement:"tableMainElement"},features:[i.Bb],decls:10,vars:3,consts:[[1,"ant-table-content"],["class","ant-table-header nz-table-hide-scrollbar",3,"ngStyle",4,"ngIf"],["class","ant-table-body",3,"ngStyle",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","height",4,"ngIf"],[1,"ant-table-header","nz-table-hide-scrollbar",3,"ngStyle"],["tableHeaderElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate"],[1,"ant-table-body",3,"ngStyle"],["tableBodyElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Lc(3,oE,5,4,"div",1),i.Nc(4,"\n "),i.Lc(5,aE,5,5,"div",2),i.Nc(6,"\n "),i.Lc(7,lE,11,9,"cdk-virtual-scroll-viewport",3),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n ")),2&e&&(i.Db(3),i.sc("ngIf",t.scrollY),i.Db(2),i.sc("ngIf",!t.virtualTemplate),i.Db(2),i.sc("ngIf",t.virtualTemplate))},directives:function(){return[Vr.t,Vr.w,GE,Rb.c,Rb.a,nN,Rb.b,Vr.A]},encapsulation:2,changeDetection:0}),e}(),JE=function(){function e(e){this.templateRef=e}return e.\u0275fac=function(t){return new(t||e)(i.Tb(i.M))},e.\u0275dir=i.Ob({type:e,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]}),e}(),eN=function(){function e(){var e=this;this.destroy$=new kt.a,this.pageIndex$=new qu.a(1),this.frontPagination$=new qu.a(!0),this.pageSize$=new qu.a(10),this.listOfData$=new qu.a([]),this.pageIndexDistinct$=this.pageIndex$.pipe(Object(Ja.a)()),this.pageSizeDistinct$=this.pageSize$.pipe(Object(Ja.a)()),this.listOfCalcOperator$=new qu.a([]),this.queryParams$=Object(os.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe(Object(Gr.a)(0),Object(as.a)(1),Object(Mt.a)((function(e){var t=Object(zt.e)(e,3),n=t[2];return{pageIndex:t[0],pageSize:t[1],sort:n.filter((function(e){return e.sortFn})).map((function(e){return{key:e.key,value:e.sortOrder}})),filter:n.filter((function(e){return e.filterFn})).map((function(e){return{key:e.key,value:e.filterValue}}))}}))),this.listOfDataAfterCalc$=Object(os.a)([this.listOfData$,this.listOfCalcOperator$]).pipe(Object(Mt.a)((function(e){var t,n,i=Object(zt.e)(e,2),r=i[0],o=i[1],a=Object(zt.g)(r),s=o.filter((function(e){var t=e.filterValue,n=e.filterFn;return!(null==t||Array.isArray(t)&&0===t.length)&&"function"==typeof n})),c=function(e){var t=e.filterFn,n=e.filterValue;a=a.filter((function(e){return t(n,e)}))};try{for(var u=Object(zt.h)(s),l=u.next();!l.done;l=u.next())c(l.value)}catch(h){t={error:h}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}var p=o.filter((function(e){return null!==e.sortOrder&&"function"==typeof e.sortFn})).sort((function(e,t){return+t.sortPriority-+e.sortPriority}));return a.sort((function(e,t){var n,i;try{for(var r=Object(zt.h)(p),o=r.next();!o.done;o=r.next()){var a=o.value,s=a.sortFn,c=a.sortOrder;if(s&&c){var u=s(e,t,c);if(0!==u)return"ascend"===c?u:-u}}}catch(l){n={error:l}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return 0})),a}))),this.listOfFrontEndCurrentPageData$=Object(os.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe(Object(ss.a)(this.destroy$),Object(Pt.a)((function(e){var t=Object(zt.e)(e,3);return t[0]<=(Math.ceil(t[2].length/t[1])||1)})),Object(Mt.a)((function(e){var t=Object(zt.e)(e,3),n=t[0],i=t[1];return t[2].slice((n-1)*i,n*i)}))),this.listOfCurrentPageData$=this.frontPagination$.pipe(Object(sc.a)((function(t){return t?e.listOfFrontEndCurrentPageData$:e.listOfData$}))),this.total$=this.frontPagination$.pipe(Object(sc.a)((function(t){return t?e.listOfDataAfterCalc$:e.listOfData$})),Object(Mt.a)((function(e){return e.length})),Object(Ja.a)())}return e.prototype.updatePageSize=function(e){this.pageSize$.next(e)},e.prototype.updateFrontPagination=function(e){this.frontPagination$.next(e)},e.prototype.updatePageIndex=function(e){this.pageIndex$.next(e)},e.prototype.updateListOfData=function(e){this.listOfData$.next(e)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),tN=function(){function e(e,t,n,r,o,a){var s=this;this.elementRef=e,this.nzResizeObserver=t,this.nzConfigService=n,this.cdr=r,this.nzTableStyleService=o,this.nzTableDataService=a,this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzLoadingIndicator=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=function(e){return e},this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new i.n,this.nzPageIndexChange=new i.n,this.nzQueryParams=new i.n,this.nzCurrentPageDataChange=new i.n,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.destroy$=new kt.a,this.loading$=new qu.a(!1),this.templateMode$=new qu.a(!1),this.verticalScrollBarWidth=0,this.nzConfigService.getConfigChangeEventForComponent("table").pipe(Object(ss.a)(this.destroy$)).subscribe((function(){s.cdr.markForCheck()}))}return e.prototype.onPageSizeChange=function(e){this.nzTableDataService.updatePageSize(e)},e.prototype.onPageIndexChange=function(e){this.nzTableDataService.updatePageIndex(e)},e.prototype.ngOnInit=function(){var e=this,t=this.nzTableDataService,n=t.pageIndexDistinct$,i=t.pageSizeDistinct$,r=t.listOfCurrentPageData$,o=t.total$,a=this.nzTableStyleService,s=a.theadTemplate$,c=a.hasFixLeft$,u=a.hasFixRight$;t.queryParams$.pipe(Object(ss.a)(this.destroy$)).subscribe(this.nzQueryParams),n.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){t!==e.nzPageIndex&&(e.nzPageIndex=t,e.nzPageIndexChange.next(t))})),i.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){t!==e.nzPageSize&&(e.nzPageSize=t,e.nzPageSizeChange.next(t))})),o.pipe(Object(ss.a)(this.destroy$),Object(Pt.a)((function(){return e.nzFrontPagination}))).subscribe((function(t){t!==e.nzTotal&&(e.nzTotal=t,e.cdr.markForCheck())})),r.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.data=t,e.nzCurrentPageDataChange.next(t),e.cdr.markForCheck()})),s.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.theadTemplate=t,e.cdr.markForCheck()})),c.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.hasFixLeft=t,e.cdr.markForCheck()})),u.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.hasFixRight=t,e.cdr.markForCheck()})),Object(os.a)([o,this.loading$,this.templateMode$]).pipe(Object(Mt.a)((function(e){var t=Object(zt.e)(e,3);return 0===t[0]&&!t[1]&&!t[2]})),Object(ss.a)(this.destroy$)).subscribe((function(t){e.nzTableStyleService.setShowEmpty(t)})),this.verticalScrollBarWidth=Object(es.v)("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.listOfColWidth=t,e.cdr.markForCheck()}))},e.prototype.ngOnChanges=function(e){var t=e.nzScroll,n=e.nzPageSize,i=e.nzFrontPagination,r=e.nzData,o=e.nzWidthConfig,a=e.nzNoResult,s=e.nzLoading,c=e.nzTemplateMode;e.nzPageIndex&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),n&&this.nzTableDataService.updatePageSize(this.nzPageSize),r&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),i&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),t&&(this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)),o&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),s&&this.loading$.next(this.nzLoading),c&&this.templateMode$.next(this.nzTemplateMode),a&&this.nzTableStyleService.setNoResult(this.nzNoResult)},e.prototype.ngAfterViewInit=function(){var e=this;this.nzResizeObserver.observe(this.elementRef).pipe(Object(Mt.a)((function(t){var n=Object(zt.e)(t,1)[0].target.getBoundingClientRect().width;return Math.floor(n-(e.scrollY?e.verticalScrollBarWidth:0))})),Object(ss.a)(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzFrontPagination",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzTemplateMode",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowPagination",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzLoading",void 0),Object(zt.b)([Object(Qa.b)("table"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzBordered",void 0),Object(zt.b)([Object(Qa.b)("table"),Object(zt.d)("design:type",String)],e.prototype,"nzSize",void 0),Object(zt.b)([Object(Qa.b)("table"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzShowSizeChanger",void 0),Object(zt.b)([Object(Qa.b)("table"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzHideOnSinglePage",void 0),Object(zt.b)([Object(Qa.b)("table"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzShowQuickJumper",void 0),Object(zt.b)([Object(Qa.b)("table"),Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzSimple",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(yx),i.Tb(Qa.a),i.Tb(i.h),i.Tb(VE),i.Tb(eN))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-table"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,JE,!0),2&e&&i.zc(r=i.ic())&&(t.nzVirtualScrollDirective=r.first)},viewQuery:function(e,t){var n;1&e&&i.Sc(KE,!0),2&e&&i.zc(n=i.ic())&&(t.nzTableInnerScrollComponent=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-wrapper",!0)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzLoadingIndicator:"nzLoadingIndicator",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange"},exportAs:["nzTable"],features:[i.Cb([VE,eN]),i.Bb],ngContentSelectors:Cx,decls:14,vars:23,consts:[[3,"nzDelay","nzSpinning","nzIndicator"],[4,"ngIf"],[1,"ant-table"],["tableMainElement",""],[3,"title",4,"ngIf"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy",4,"ngIf","ngIfElse"],["defaultTemplate",""],[3,"footer",4,"ngIf"],["paginationTemplate",""],["contentTemplate",""],[3,"ngTemplateOutlet"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate"],[3,"footer"],["class","ant-table-pagination ant-table-pagination-right",3,"nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange",4,"ngIf"],[1,"ant-table-pagination","ant-table-pagination-right",3,"nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange"]],template:function(e,t){if(1&e&&(i.rc(),i.Zb(0,"nz-spin",0),i.Lc(1,hE,2,1,"ng-container",1),i.Zb(2,"div",2,3),i.Lc(4,dE,1,1,"nz-table-title-footer",4),i.Lc(5,fE,1,13,"nz-table-inner-scroll",5),i.Lc(6,gE,1,4,"ng-template",null,6,i.Mc),i.Lc(8,bE,1,1,"nz-table-title-footer",7),i.Yb(),i.Lc(9,vE,2,1,"ng-container",1),i.Yb(),i.Lc(10,wE,1,1,"ng-template",null,8,i.Mc),i.Lc(12,OE,1,0,"ng-template",null,9,i.Mc)),2&e){var n=i.Ac(7);i.sc("nzDelay",t.nzLoadingDelay)("nzSpinning",t.nzLoading)("nzIndicator",t.nzLoadingIndicator),i.Db(1),i.sc("ngIf","both"===t.nzPaginationPosition||"top"===t.nzPaginationPosition),i.Db(1),i.Jb("ant-table-fixed-header",t.nzData.length&&t.scrollY)("ant-table-fixed-column",t.scrollX)("ant-table-has-fix-left",t.hasFixLeft)("ant-table-has-fix-right",t.hasFixRight)("ant-table-bordered",t.nzBordered)("ant-table-middle","middle"===t.nzSize)("ant-table-small","small"===t.nzSize),i.Db(2),i.sc("ngIf",t.nzTitle),i.Db(1),i.sc("ngIf",t.scrollY||t.scrollX)("ngIfElse",n),i.Db(3),i.sc("ngIf",t.nzFooter),i.Db(1),i.sc("ngIf","both"===t.nzPaginationPosition||"bottom"===t.nzPaginationPosition)}},directives:function(){return[dC,Vr.t,Vr.A,oN,KE,XE,FT]},encapsulation:2,changeDetection:0}),e}(),nN=function(){function e(e){if(this.nzTableStyleService=e,this.isInsideTable=!1,this.showEmpty$=new qu.a(!1),this.noResult$=new qu.a(void 0),this.listOfMeasureColumn$=new qu.a([]),this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){var t=this.nzTableStyleService,n=t.showEmpty$,i=t.listOfMeasureColumn$;t.noResult$.subscribe(this.noResult$),i.subscribe(this.listOfMeasureColumn$),n.subscribe(this.showEmpty$)}}return e.prototype.onListOfAutoWidthChange=function(e){this.nzTableStyleService.setListOfAutoWidth(e)},e.\u0275fac=function(t){return new(t||e)(i.Tb(VE,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["tbody"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-tbody",t.isInsideTable)},ngContentSelectors:Cx,decls:5,vars:6,consts:[[4,"ngIf"],["class","ant-table-placeholder","nz-table-fixed-row","",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth"],["nz-table-fixed-row","",1,"ant-table-placeholder"],["nzComponentName","table",3,"specificContent"]],template:function(e,t){1&e&&(i.rc(),i.Lc(0,SE,2,1,"ng-container",0),i.lc(1,"async"),i.qc(2),i.Lc(3,zE,3,3,"tr",1),i.lc(4,"async")),2&e&&(i.sc("ngIf",i.mc(1,2,t.listOfMeasureColumn$)),i.Db(3),i.sc("ngIf",i.mc(4,4,t.showEmpty$)))},directives:function(){return[Vr.t,sN,QE,im]},pipes:function(){return[Vr.b]},encapsulation:2,changeDetection:0}),e}(),iN=function(){function e(e){var t=this;this.nzTableStyleService=e,this.destroy$=new kt.a,this.listOfFixedColumns$=new Os.a(1),this.listOfColumns$=new Os.a(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe(Object(sc.a)((function(e){return Tt.a.apply(void 0,Object(zt.g)([t.listOfFixedColumns$],e.map((function(e){return e.changes$})))).pipe(Object(Wt.a)((function(){return t.listOfFixedColumns$})))})),Object(ss.a)(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe(Object(Mt.a)((function(e){return e.filter((function(e){return!1!==e.nzLeft}))}))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe(Object(Mt.a)((function(e){return e.filter((function(e){return!1!==e.nzRight}))}))),this.listOfColumnsChanges$=this.listOfColumns$.pipe(Object(sc.a)((function(e){return Tt.a.apply(void 0,Object(zt.g)([t.listOfColumns$],e.map((function(e){return e.changes$})))).pipe(Object(Wt.a)((function(){return t.listOfColumns$})))})),Object(ss.a)(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!e}return e.prototype.ngAfterContentInit=function(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe(Object(Ka.a)(this.listOfCellFixedDirective),Object(ss.a)(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe(Object(Ka.a)(this.listOfNzThDirective),Object(ss.a)(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe((function(e){e.forEach((function(t){return t.setIsLastLeft(t===e[e.length-1])}))})),this.listOfFixedRightColumnChanges$.subscribe((function(e){e.forEach((function(t){return t.setIsFirstRight(t===e[0])}))})),Object(os.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).subscribe((function(e){var t=Object(zt.e)(e,2),n=t[0],i=t[1];i.forEach((function(e,t){if(e.isAutoLeft){var r=i.slice(0,t).reduce((function(e,t){return e+(t.colspan||1)}),0),o=n.slice(0,r).reduce((function(e,t){return e+t}),0);e.setAutoLeftWidth(o+"px")}}))})),Object(os.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).subscribe((function(e){var t=Object(zt.e)(e,2),n=t[0],i=t[1];i.forEach((function(e,t){var r=i[i.length-t-1];if(r.isAutoRight){var o=i.slice(i.length-t,i.length).reduce((function(e,t){return e+(t.colspan||1)}),0),a=n.slice(n.length-o,n.length).reduce((function(e,t){return e+t}),0);r.setAutoRightWidth(a+"px")}}))})))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(VE,8))},e.\u0275dir=i.Ob({type:e,selectors:[["tr",3,"mat-row","",3,"mat-header-row","",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(e,t,n){var r;1&e&&(i.Lb(n,HE,!1),i.Lb(n,RE,!1)),2&e&&(i.zc(r=i.ic())&&(t.listOfNzThDirective=r),i.zc(r=i.ic())&&(t.listOfCellFixedDirective=r))},hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-row",t.isInsideTable)}}),e}(),rN=function(){function e(e,t,n,r){this.elementRef=e,this.renderer=t,this.nzTableStyleService=n,this.nzTableDataService=r,this.destroy$=new kt.a,this.isInsideTable=!1,this.nzSingleSort=!1,this.nzSortChange=new i.n,this.nzSortOrderChange=new i.n,this.isInsideTable=!!this.nzTableStyleService}return e.prototype.ngOnInit=function(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)},e.prototype.ngOnChanges=function(e){e.nzSingleSort&&Object(Hs.c)("'nzSingleSort' is deprecated and will be removed in 10.0.0. Please use use 'nzSortFn' and 'nzSortPriority' instead instead.")},e.prototype.ngAfterContentInit=function(){var e=this;if(this.nzTableStyleService){var t=this.listOfNzTrDirective.changes.pipe(Object(Ka.a)(this.listOfNzTrDirective),Object(Mt.a)((function(e){return e&&e.first}))),n=t.pipe(Object(sc.a)((function(e){return e?e.listOfColumnsChanges$:Ox.a})),Object(ss.a)(this.destroy$));n.subscribe((function(t){return e.nzTableStyleService.setListOfTh(t)})),this.nzTableStyleService.enableAutoMeasure$.pipe(Object(sc.a)((function(e){return e?n:Object(qr.a)([])}))).pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){return e.nzTableStyleService.setListOfMeasureColumn(t)}));var i=t.pipe(Object(sc.a)((function(e){return e?e.listOfFixedLeftColumnChanges$:Ox.a})),Object(ss.a)(this.destroy$)),r=t.pipe(Object(sc.a)((function(e){return e?e.listOfFixedRightColumnChanges$:Ox.a})),Object(ss.a)(this.destroy$));i.subscribe((function(t){e.nzTableStyleService.setHasFixLeft(0!==t.length)})),r.subscribe((function(t){e.nzTableStyleService.setHasFixRight(0!==t.length)}))}if(this.nzTableDataService){var o=this.listOfNzThAddOnComponent.changes.pipe(Object(Ka.a)(this.listOfNzThAddOnComponent));o.pipe(Object(sc.a)((function(){return Tt.a.apply(void 0,Object(zt.g)(e.listOfNzThAddOnComponent.map((function(e){return e.manualClickOrder$}))))})),Object(ss.a)(this.destroy$)).subscribe((function(t){var n={key:t.nzColumnKey,value:t.sortOrder};e.nzSortChange.emit(n),e.nzSortOrderChange.emit(n),(e.nzSingleSort||t.nzSortFn&&!1===t.nzSortPriority)&&e.listOfNzThAddOnComponent.filter((function(e){return e!==t})).forEach((function(e){return e.clearSortOrder()}))})),o.pipe(Object(sc.a)((function(e){return Tt.a.apply(void 0,Object(zt.g)([o],e.map((function(e){return e.calcOperatorChange$})))).pipe(Object(Wt.a)((function(){return o})))})),Object(Mt.a)((function(e){return e.filter((function(e){return!!e.nzSortFn||!!e.nzFilterFn})).map((function(e){return{key:e.nzColumnKey,sortFn:e.nzSortFn,sortPriority:e.nzSortPriority,sortOrder:e.sortOrder,filterFn:e.nzFilterFn,filterValue:e.nzFilterValue}}))})),Ic(0)).subscribe((function(t){e.nzTableDataService.listOfCalcOperator$.next(t)}))}},e.prototype.ngAfterViewInit=function(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzSingleSort",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E),i.Tb(VE,8),i.Tb(eN,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(e,t,n){var r;1&e&&(i.Lb(n,iN,!1),i.Lb(n,UE,!0)),2&e&&(i.zc(r=i.ic())&&(t.listOfNzTrDirective=r),i.zc(r=i.ic())&&(t.listOfNzThAddOnComponent=r))},viewQuery:function(e,t){var n;1&e&&i.Jc(TE,!0),2&e&&i.zc(n=i.ic())&&(t.templateRef=n.first)},inputs:{nzSingleSort:"nzSingleSort"},outputs:{nzSortChange:"nzSortChange",nzSortOrderChange:"nzSortOrderChange"},features:[i.Bb],ngContentSelectors:Cx,decls:6,vars:1,consts:[["contentTemplate",""],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(i.rc(),i.Nc(0,"\n "),i.Lc(1,_E,3,0,"ng-template",null,0,i.Mc),i.Nc(3,"\n "),i.Lc(4,DE,4,1,"ng-container",1),i.Nc(5,"\n ")),2&e&&(i.Db(4),i.sc("ngIf",!t.isInsideTable))},directives:[Vr.t,Vr.A],encapsulation:2,changeDetection:0}),e}(),oN=function(){function e(){this.title=null,this.footer=null}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(e,t){2&e&&i.Jb("ant-table-title",null!==t.title)("ant-table-footer",null!==t.footer)},inputs:{title:"title",footer:"footer"},decls:5,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Lc(1,xE,2,1,"ng-container",0),i.Nc(2,"\n "),i.Lc(3,EE,2,1,"ng-container",0),i.Nc(4,"\n ")),2&e&&(i.Db(1),i.sc("nzStringTemplateOutlet",t.title),i.Db(2),i.sc("nzStringTemplateOutlet",t.footer))},directives:[Es.b],encapsulation:2,changeDetection:0}),e}(),aN=function(){function e(){this.nzExpand=!0}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["tr","nzExpand",""]],hostVars:3,hostBindings:function(e,t){2&e&&(i.cc("hidden",!t.nzExpand),i.Jb("ant-table-expanded-row",!0))},inputs:{nzExpand:"nzExpand"}}),e}(),sN=function(){function e(e,t){this.nzResizeObserver=e,this.ngZone=t,this.listOfMeasureColumn=[],this.listOfAutoWidth=new i.n,this.destroy$=new kt.a}return e.prototype.trackByFunc=function(e,t){return t},e.prototype.ngAfterViewInit=function(){var e=this;this.listOfTdElement.changes.pipe(Object(Ka.a)(this.listOfTdElement)).pipe(Object(sc.a)((function(t){return Object(os.a)(t.toArray().map((function(t){return e.nzResizeObserver.observe(t).pipe(Object(Mt.a)((function(e){var t=Object(zt.e)(e,1)[0].target.getBoundingClientRect().width;return Math.floor(t)})))})))})),Object(Gr.a)(16),Object(ss.a)(this.destroy$)).subscribe((function(t){e.ngZone.run((function(){e.listOfAutoWidth.next(t)}))}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.\u0275fac=function(t){return new(t||e)(i.Tb(yx),i.Tb(i.z))},e.\u0275cmp=i.Nb({type:e,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(e,t){var n;1&e&&i.Sc(Kx,!0),2&e&&i.zc(n=i.ic())&&(t.listOfTdElement=n)},hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-table-measure-now",!0)},inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:NE,decls:1,vars:2,consts:[["class","nz-disable-td","style","padding: 0px; border: 0px; height: 0px;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nz-disable-td",2,"padding","0px","border","0px","height","0px"],["tdElement",""]],template:function(e,t){1&e&&i.Lc(0,jE,2,0,"td",0),2&e&&i.sc("ngForOf",t.listOfMeasureColumn)("ngForTrackBy",t.trackByFunc)},directives:[Vr.s],encapsulation:2,changeDetection:0}),e}(),cN=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[YO.g,Ot.j,Es.a,Fb,Gy,xu.c,Wu.c,Vr.c,Xr.b,UT,wx,fC,Fp,Ns.b,cm,Rb.e]]}),e}(),uN=n("CCO+"),lN=["nz-tab-body",""];function pN(e,t){}function hN(e,t){if(1&e&&(i.Xb(0),i.Lc(1,pN,0,0,"ng-template",1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.sc("ngTemplateOutlet",n.content)}}var dN=["bodyTpl"],fN=["titleTpl"];function gN(e,t){1&e&&i.qc(0)}function bN(e,t){1&e&&i.qc(0,1)}var mN=[[["","nz-tab-link",""]],"*"],vN=["[nz-tab-link]","*"],yN=["navContainerElement"],wN=["navListElement"],ON=["scrollListElement"];function CN(e,t){}function SN(e,t){if(1&e&&(i.Zb(0,"div",15),i.Lc(1,CN,0,0,"ng-template",16),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("ngTemplateOutlet",n.nzTabBarExtraContent)}}var zN=["*"],TN=["tabContent"];function _N(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc().$implicit;i.Db(1),i.Oc(n.nzTitle)}}function kN(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",6),i.hc("click",(function(){i.Dc(n);var e=t.index,r=t.$implicit;return i.kc(2).clickLabel(e,r.nzDisabled)})),i.Lc(1,_N,2,1,"ng-container",7),i.Yb()}if(2&e){var r=t.$implicit,o=t.index,a=i.kc(2);i.Kc("margin-right",a.nzTabBarGutter,"px"),i.Jb("ant-tabs-tab-active",a.nzSelectedIndex==o&&!a.nzHideAll),i.sc("disabled",r.nzDisabled),i.Db(1),i.sc("nzStringTemplateOutlet",r.nzTitle||r.title)}}function DN(e,t){if(1&e&&i.Ub(0,"div",8),2&e){var n=t.$implicit,r=t.index,o=i.kc(2);i.sc("active",o.nzSelectedIndex==r&&!o.nzHideAll)("forceRender",n.nzForceRender)("content",n.template||n.content)}}function xN(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Zb(1,"nz-tabs-nav",1),i.hc("nzOnNextClick",(function(){return i.Dc(n),i.kc().nzOnNextClick.emit()}))("nzOnPrevClick",(function(){return i.Dc(n),i.kc().nzOnPrevClick.emit()})),i.Lc(2,kN,2,6,"div",2),i.Yb(),i.Zb(3,"div",3,4),i.Lc(5,DN,1,3,"div",5),i.Yb(),i.Wb()}if(2&e){var r=i.kc();i.Db(1),i.sc("nzSize",r.nzSize)("nzTabPosition",r.nzTabPosition)("nzType",r.nzType)("nzShowPagination",r.nzShowPagination)("nzPositionMode",r.tabPositionMode)("nzAnimated",r.inkBarAnimated)("ngStyle",r.nzTabBarStyle)("nzHideBar",r.nzHideAll)("nzTabBarExtraContent",r.nzTabBarExtraContent)("selectedIndex",r.nzSelectedIndex),i.Db(1),i.sc("ngForOf",r.listOfNzTabComponent),i.Db(1),i.Kc("margin-left","horizontal"===r.tabPositionMode&&r.tabPaneAnimated&&100*(0-(r.nzSelectedIndex||0)),"%"),i.Jb("ant-tabs-top-content","top"===r.nzTabPosition)("ant-tabs-bottom-content","bottom"===r.nzTabPosition)("ant-tabs-left-content","left"===r.nzTabPosition)("ant-tabs-right-content","right"===r.nzTabPosition)("ant-tabs-content-animated",r.tabPaneAnimated)("ant-tabs-card-content","card"===r.nzType)("ant-tabs-content-no-animated",!r.tabPaneAnimated),i.Db(2),i.sc("ngForOf",r.listOfNzTabComponent)}}var EN=function(){function e(){this.content=null,this.active=!1,this.forceRender=!1}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-tab-body",""]],hostVars:4,hostBindings:function(e,t){2&e&&i.Jb("ant-tabs-tabpane-active",t.active)("ant-tabs-tabpane-inactive",!t.active)},inputs:{content:"content",active:"active",forceRender:"forceRender"},exportAs:["nzTabBody"],attrs:lN,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&i.Lc(0,hN,2,1,"ng-container",0),2&e&&i.sc("ngIf",t.active||t.forceRender)},directives:[Vr.t,Vr.A],encapsulation:2,changeDetection:0}),e}(),NN=function(){function e(e,t){this.elementRef=e,this.disabled=!1,t.addClass(e.nativeElement,"ant-tabs-tab")}return e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e.prototype.getOffsetTop=function(){return this.elementRef.nativeElement.offsetTop},e.prototype.getOffsetHeight=function(){return this.elementRef.nativeElement.offsetHeight},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"disabled",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E))},e.\u0275dir=i.Ob({type:e,selectors:[["","nz-tab-label",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-tabs-tab-disabled",t.disabled)},inputs:{disabled:"disabled"},exportAs:["nzTabLabel"]}),e}(),jN=function(){function e(e,t){this.routerLink=e,this.routerLinkWithHref=t}return e.\u0275fac=function(t){return new(t||e)(i.Tb(Eu.e,10),i.Tb(Eu.f,10))},e.\u0275dir=i.Ob({type:e,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]}),e}(),IN=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["","nz-tab",""]],exportAs:["nzTab"]}),e}(),AN=function(){function e(e,t){this.elementRef=e,this.renderer=t,this.position=null,this.origin=null,this.isActive=!1,this.stateChanges=new kt.a,this.nzForceRender=!1,this.nzDisabled=!1,this.nzClick=new i.n,this.nzSelect=new i.n,this.nzDeselect=new i.n,this.renderer.addClass(e.nativeElement,"ant-tabs-tabpane")}return e.prototype.ngOnChanges=function(e){(e.nzTitle||e.nzForceRender||e.nzDisabled)&&this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzForceRender",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.E))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-tab"]],contentQueries:function(e,t,n){var r;1&e&&(i.Lb(n,IN,!0,i.M),i.Lb(n,jN,!0)),2&e&&(i.zc(r=i.ic())&&(t.template=r.first),i.zc(r=i.ic())&&(t.linkDirective=r.first))},viewQuery:function(e,t){var n;1&e&&(i.Jc(dN,!0),i.Jc(fN,!0)),2&e&&(i.zc(n=i.ic())&&(t.content=n.first),i.zc(n=i.ic())&&(t.title=n.first))},inputs:{nzForceRender:"nzForceRender",nzDisabled:"nzDisabled",nzTitle:"nzTitle",nzRouterIdentifier:"nzRouterIdentifier"},outputs:{nzClick:"nzClick",nzSelect:"nzSelect",nzDeselect:"nzDeselect"},exportAs:["nzTab"],features:[i.Bb],ngContentSelectors:vN,decls:4,vars:0,consts:[["titleTpl",""],["bodyTpl",""]],template:function(e,t){1&e&&(i.rc(mN),i.Lc(0,gN,1,0,"ng-template",null,0,i.Mc),i.Lc(2,bN,1,0,"ng-template",null,1,i.Mc))},encapsulation:2,changeDetection:0}),e}(),MN=function(){function e(e,t,n){this.renderer=e,this.elementRef=t,this.ngZone=n,this.nzAnimated=!1,this.nzPositionMode="horizontal",e.addClass(t.nativeElement,"ant-tabs-ink-bar")}return e.prototype.alignToElement=function(e){var t=this;"undefined"!=typeof requestAnimationFrame?this.ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return t.setStyles(e)}))})):this.setStyles(e)},e.prototype.setStyles=function(e){"horizontal"===this.nzPositionMode?(this.renderer.removeStyle(this.elementRef.nativeElement,"height"),this.renderer.setStyle(this.elementRef.nativeElement,"transform","translate3d("+this.getLeftPosition(e)+", 0px, 0px)"),this.renderer.setStyle(this.elementRef.nativeElement,"width",this.getElementWidth(e))):(this.renderer.removeStyle(this.elementRef.nativeElement,"width"),this.renderer.setStyle(this.elementRef.nativeElement,"transform","translate3d(0px, "+this.getTopPosition(e)+", 0px)"),this.renderer.setStyle(this.elementRef.nativeElement,"height",this.getElementHeight(e)))},e.prototype.getLeftPosition=function(e){return e?e.offsetLeft+"px":"0"},e.prototype.getElementWidth=function(e){return e?e.offsetWidth+"px":"0"},e.prototype.getTopPosition=function(e){return e?e.offsetTop+"px":"0"},e.prototype.getElementHeight=function(e){return e?e.offsetHeight+"px":"0"},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAnimated",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.E),i.Tb(i.l),i.Tb(i.z))},e.\u0275dir=i.Ob({type:e,selectors:[["","nz-tabs-ink-bar",""]],hostVars:4,hostBindings:function(e,t){2&e&&i.Jb("ant-tabs-ink-bar-animated",t.nzAnimated)("ant-tabs-ink-bar-no-animated",!t.nzAnimated)},inputs:{nzAnimated:"nzAnimated",nzPositionMode:"nzPositionMode"},exportAs:["nzTabsInkBar"]}),e}(),LN=function(){function e(e,t,n,r,o,a,s){this.elementRef=e,this.ngZone=t,this.renderer=n,this.cdr=r,this.platform=o,this.resizeService=a,this.dir=s,this._tabPositionMode="horizontal",this._scrollDistance=0,this._selectedIndex=0,this.destroy$=new kt.a,this.showPaginationControls=!1,this.disableScrollAfter=!0,this.disableScrollBefore=!0,this.selectedIndexChanged=!1,this.realignInkBar=null,this.nzOnNextClick=new i.n,this.nzOnPrevClick=new i.n,this.nzAnimated=!0,this.nzHideBar=!1,this.nzShowPagination=!0,this.nzType="line",this.nzTabPosition="top"}return Object.defineProperty(e.prototype,"nzPositionMode",{get:function(){return this._tabPositionMode},set:function(e){var t=this;this._tabPositionMode=e,this.alignInkBarToSelectedTab(),this.nzShowPagination&&Promise.resolve().then((function(){t.updatePagination()}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(e){this.selectedIndexChanged=this._selectedIndex!==e,this._selectedIndex=e},enumerable:!0,configurable:!0}),e.prototype.onContentChanges=function(){var e=this,t=this.elementRef.nativeElement.textContent;t!==this.currentTextContent&&(this.currentTextContent=t,this.ngZone.run((function(){e.nzShowPagination&&e.updatePagination(),e.alignInkBarToSelectedTab(),e.cdr.markForCheck()})))},e.prototype.scrollHeader=function(e){"before"!==e||this.disableScrollBefore?"after"!==e||this.disableScrollAfter||this.nzOnNextClick.emit():this.nzOnPrevClick.emit(),this.scrollDistance+=("before"===e?-1:1)*this.viewWidthHeightPix/3},e.prototype.ngAfterContentChecked=function(){this.tabLabelCount!==this.listOfNzTabLabelDirective.length&&(this.nzShowPagination&&this.updatePagination(),this.tabLabelCount=this.listOfNzTabLabelDirective.length,this.cdr.markForCheck()),this.selectedIndexChanged&&(this.scrollToLabel(this._selectedIndex),this.nzShowPagination&&this.checkScrollingControls(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck()),this.scrollDistanceChanged&&(this.nzShowPagination&&this.updateTabScrollPosition(),this.scrollDistanceChanged=!1,this.cdr.markForCheck())},e.prototype.ngAfterContentInit=function(){var e=this;this.realignInkBar=this.ngZone.runOutsideAngular((function(){var t=e.dir?e.dir.change:Object(qr.a)(null),n="undefined"!=typeof window?e.resizeService.subscribe().pipe(Object(ss.a)(e.destroy$)):Object(qr.a)(null);return Object(Tt.a)(t,n).pipe(Object(Ka.a)(null)).subscribe((function(){e.nzShowPagination&&e.updatePagination(),e.alignInkBarToSelectedTab()}))}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete(),this.realignInkBar&&this.realignInkBar.unsubscribe()},e.prototype.updateTabScrollPosition=function(){var e=this.scrollDistance;if("horizontal"===this.nzPositionMode){var t="ltr"===this.getLayoutDirection()?-e:e;this.renderer.setStyle(this.navListElement.nativeElement,"transform","translate3d("+t+"px, 0, 0)")}else this.renderer.setStyle(this.navListElement.nativeElement,"transform","translate3d(0,"+-e+"px, 0)")},e.prototype.updatePagination=function(){this.checkPaginationEnabled(),this.checkScrollingControls(),this.updateTabScrollPosition()},e.prototype.checkPaginationEnabled=function(){var e=this.tabListScrollWidthHeightPix>this.tabListScrollOffSetWidthHeight;e||(this.scrollDistance=0),e!==this.showPaginationControls&&this.cdr.markForCheck(),this.showPaginationControls=e},e.prototype.scrollToLabel=function(e){var t=this.listOfNzTabLabelDirective?this.listOfNzTabLabelDirective.toArray()[e]:null;if(t){var n=void 0,i=void 0;"horizontal"===this.nzPositionMode?"ltr"===this.getLayoutDirection()?i=(n=t.getOffsetLeft())+t.getOffsetWidth():n=(i=this.navListElement.nativeElement.offsetWidth-t.getOffsetLeft())-t.getOffsetWidth():i=(n=t.getOffsetTop())+t.getOffsetHeight();var r=this.scrollDistance,o=this.scrollDistance+this.viewWidthHeightPix;no&&(this.scrollDistance+=i-o+64)}},e.prototype.checkScrollingControls=function(){this.disableScrollBefore=0===this.scrollDistance,this.disableScrollAfter=this.scrollDistance===this.getMaxScrollDistance(),this.cdr.markForCheck()},e.prototype.getMaxScrollDistance=function(){return this.tabListScrollWidthHeightPix-this.viewWidthHeightPix||0},Object.defineProperty(e.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(e){this._scrollDistance=Math.max(0,Math.min(this.getMaxScrollDistance(),e)),this.scrollDistanceChanged=!0,this.checkScrollingControls()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewWidthHeightPix",{get:function(){var e=0;return this.showPaginationControls&&(e=this.navContainerScrollPaddingPix),"horizontal"===this.nzPositionMode?this.navContainerElement.nativeElement.offsetWidth-e:this.navContainerElement.nativeElement.offsetHeight-e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"navContainerScrollPaddingPix",{get:function(){if(this.platform.isBrowser){var e=this.navContainerElement.nativeElement,t=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle;return"horizontal"===this.nzPositionMode?Object(es.x)(t.paddingLeft)+Object(es.x)(t.paddingRight):Object(es.x)(t.paddingTop)+Object(es.x)(t.paddingBottom)}return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabListScrollWidthHeightPix",{get:function(){return"horizontal"===this.nzPositionMode?this.navListElement.nativeElement.scrollWidth:this.navListElement.nativeElement.scrollHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabListScrollOffSetWidthHeight",{get:function(){return"horizontal"===this.nzPositionMode?this.scrollListElement.nativeElement.offsetWidth:this.elementRef.nativeElement.offsetHeight},enumerable:!0,configurable:!0}),e.prototype.getLayoutDirection=function(){return this.dir&&"rtl"===this.dir.value?"rtl":"ltr"},e.prototype.alignInkBarToSelectedTab=function(){if("line"===this.nzType){var e=this.listOfNzTabLabelDirective&&this.listOfNzTabLabelDirective.length?this.listOfNzTabLabelDirective.toArray()[this.selectedIndex].elementRef.nativeElement:null;this.nzTabsInkBarDirective&&this.nzTabsInkBarDirective.alignToElement(e)}},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzAnimated",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzHideBar",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowPagination",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.z),i.Tb(i.E),i.Tb(i.h),i.Tb(Xr.a),i.Tb(ds),i.Tb(uN.b,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-tabs-nav"]],contentQueries:function(e,t,n){var r;1&e&&i.Lb(n,NN,!1),2&e&&i.zc(r=i.ic())&&(t.listOfNzTabLabelDirective=r)},viewQuery:function(e,t){var n;1&e&&(i.Jc(MN,!0),i.Jc(yN,!0),i.Jc(wN,!0),i.Jc(ON,!0)),2&e&&(i.zc(n=i.ic())&&(t.nzTabsInkBarDirective=n.first),i.zc(n=i.ic())&&(t.navContainerElement=n.first),i.zc(n=i.ic())&&(t.navListElement=n.first),i.zc(n=i.ic())&&(t.scrollListElement=n.first))},hostVars:18,hostBindings:function(e,t){2&e&&i.Jb("ant-tabs-bar",!0)("ant-tabs-card-bar","card"===t.nzType)("ant-tabs-top-bar","top"===t.nzTabPosition)("ant-tabs-bottom-bar","bottom"===t.nzTabPosition)("ant-tabs-left-bar","left"===t.nzTabPosition)("ant-tabs-right-bar","right"===t.nzTabPosition)("ant-tabs-small-bar","small"===t.nzSize)("ant-tabs-default-bar","default"===t.nzSize)("ant-tabs-large-bar","large"===t.nzSize)},inputs:{nzAnimated:"nzAnimated",nzHideBar:"nzHideBar",nzShowPagination:"nzShowPagination",nzType:"nzType",nzTabPosition:"nzTabPosition",nzPositionMode:"nzPositionMode",selectedIndex:"selectedIndex",nzTabBarExtraContent:"nzTabBarExtraContent",nzSize:"nzSize"},outputs:{nzOnNextClick:"nzOnNextClick",nzOnPrevClick:"nzOnPrevClick"},exportAs:["nzTabsNav"],ngContentSelectors:zN,decls:17,vars:18,consts:[["style","float:right;","class","ant-tabs-extra-content",4,"ngIf"],[1,"ant-tabs-nav-container"],["navContainerElement",""],[1,"ant-tabs-tab-prev",3,"click"],[1,"ant-tabs-tab-prev-icon"],["nz-icon","",1,"ant-tabs-tab-prev-icon-target",3,"nzType"],[1,"ant-tabs-tab-next",3,"click"],[1,"ant-tabs-tab-next-icon"],["nz-icon","",1,"ant-tabs-tab-next-icon-target",3,"nzType"],[1,"ant-tabs-nav-wrap"],[1,"ant-tabs-nav-scroll"],["scrollListElement",""],[1,"ant-tabs-nav",3,"cdkObserveContent"],["navListElement",""],["nz-tabs-ink-bar","",2,"display","block",3,"hidden","nzAnimated","nzPositionMode"],[1,"ant-tabs-extra-content",2,"float","right"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(i.rc(),i.Lc(0,SN,2,1,"div",0),i.Zb(1,"div",1,2),i.Zb(3,"span",3),i.hc("click",(function(){return t.scrollHeader("before")})),i.Zb(4,"span",4),i.Ub(5,"i",5),i.Yb(),i.Yb(),i.Zb(6,"span",6),i.hc("click",(function(){return t.scrollHeader("after")})),i.Zb(7,"span",7),i.Ub(8,"i",8),i.Yb(),i.Yb(),i.Zb(9,"div",9),i.Zb(10,"div",10,11),i.Zb(12,"div",12,13),i.hc("cdkObserveContent",(function(){return t.onContentChanges()})),i.Zb(14,"div"),i.qc(15),i.Yb(),i.Ub(16,"div",14),i.Yb(),i.Yb(),i.Yb(),i.Yb()),2&e&&(i.sc("ngIf",t.nzTabBarExtraContent),i.Db(1),i.Jb("ant-tabs-nav-container-scrolling",t.showPaginationControls),i.Db(2),i.Jb("ant-tabs-tab-btn-disabled",t.disableScrollBefore)("ant-tabs-tab-arrow-show",t.showPaginationControls),i.Db(2),i.sc("nzType","horizontal"===t.nzPositionMode?"left":"up"),i.Db(1),i.Jb("ant-tabs-tab-btn-disabled",t.disableScrollAfter)("ant-tabs-tab-arrow-show",t.showPaginationControls),i.Db(2),i.sc("nzType","horizontal"===t.nzPositionMode?"right":"down"),i.Db(4),i.Jb("ant-tabs-nav-animated",t.nzAnimated),i.Db(4),i.sc("hidden",t.nzHideBar)("nzAnimated",t.nzAnimated)("nzPositionMode",t.nzPositionMode))},directives:[Vr.t,Ns.a,eo,MN,Vr.A],encapsulation:2,changeDetection:0}),e}(),PN=function(){return function(){}}(),FN=function(){function e(e,t,n,r,o){this.nzConfigService=e,this.renderer=t,this.elementRef=n,this.cdr=r,this.router=o,this.indexToSelect=0,this.el=this.elementRef.nativeElement,this._selectedIndex=null,this.tabsSubscription=Ft.a.EMPTY,this.tabLabelSubscription=Ft.a.EMPTY,this.destroy$=new kt.a,this.tabPositionMode="horizontal",this.nzShowPagination=!0,this.nzAnimated=!0,this.nzHideAll=!1,this.nzTabPosition="top",this.nzSize="default",this.nzTabBarGutter=void 0,this.nzTabBarStyle=null,this.nzType="line",this.nzLinkRouter=!1,this.nzLinkExact=!0,this.nzCanDeactivate=null,this.nzOnNextClick=new i.n,this.nzOnPrevClick=new i.n,this.nzSelectChange=new i.n(!0),this.nzSelectedIndexChange=new i.n}return Object.defineProperty(e.prototype,"nzSelectedIndex",{get:function(){return this._selectedIndex},set:function(e){this.indexToSelect=e?Object(es.E)(e,null):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inkBarAnimated",{get:function(){return!0===this.nzAnimated||!0===this.nzAnimated.inkBar},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabPaneAnimated",{get:function(){return!0===this.nzAnimated||!0===this.nzAnimated.tabPane},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAnimationDisabled",{get:function(){return!1===this.nzAnimated||!1===this.nzAnimated.tabPane},enumerable:!0,configurable:!0}),e.prototype.setPosition=function(e){this.tabContent&&("bottom"===e?this.renderer.insertBefore(this.el,this.tabContent.nativeElement,this.nzTabsNavComponent.elementRef.nativeElement):this.renderer.insertBefore(this.el,this.nzTabsNavComponent.elementRef.nativeElement,this.tabContent.nativeElement))},e.prototype.clickLabel=function(e,t){var n=this;t||(null!==this.nzSelectedIndex&&this.nzSelectedIndex!==e&&"function"==typeof this.nzCanDeactivate?Object(es.G)(this.nzCanDeactivate(this.nzSelectedIndex,e)).pipe(Object(Hr.a)(),Object(ss.a)(this.destroy$)).subscribe((function(t){return t&&n.emitClickEvent(e)})):this.emitClickEvent(e))},e.prototype.emitClickEvent=function(e){var t=this.listOfNzTabComponent.toArray();this.nzSelectedIndex=e,t[e].nzClick.emit(),this.cdr.markForCheck()},e.prototype.createChangeEvent=function(e){var t=new PN;return t.index=e,this.listOfNzTabComponent&&this.listOfNzTabComponent.length&&(t.tab=this.listOfNzTabComponent.toArray()[e],this.listOfNzTabComponent.forEach((function(t,n){n!==e&&t.nzDeselect.emit()})),t.tab.nzSelect.emit()),t},e.prototype.clampTabIndex=function(e){return Math.min(this.listOfNzTabComponent.length-1,Math.max(e||0,0))},e.prototype.subscribeToTabLabels=function(){var e=this;this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=Tt.a.apply(void 0,Object(zt.g)(this.listOfNzTabComponent.map((function(e){return e.stateChanges})))).subscribe((function(){return e.cdr.markForCheck()}))},e.prototype.ngOnChanges=function(e){var t=e.nzType;e.nzTabPosition&&(this.tabPositionMode="top"===this.nzTabPosition||"bottom"===this.nzTabPosition?"horizontal":"vertical",this.setPosition(this.nzTabPosition)),t&&"card"===this.nzType&&(this.nzAnimated=!1)},e.prototype.ngAfterContentChecked=function(){var e=this;if(this.listOfNzTabComponent&&this.listOfNzTabComponent.length){var t=this.indexToSelect=this.clampTabIndex(this.indexToSelect);if(this._selectedIndex!==t){var n=null==this._selectedIndex;n||this.nzSelectChange.emit(this.createChangeEvent(t)),Promise.resolve().then((function(){e.listOfNzTabComponent.forEach((function(e,n){return e.isActive=n===t})),n||e.nzSelectedIndexChange.emit(t)}))}this.listOfNzTabComponent.forEach((function(n,i){n.position=i-t,null==e._selectedIndex||0!==n.position||n.origin||(n.origin=t-e._selectedIndex)})),this._selectedIndex!==t&&(this._selectedIndex=t,this.cdr.markForCheck())}},e.prototype.ngAfterContentInit=function(){var e=this;if(this.subscribeToTabLabels(),this.setPosition(this.nzTabPosition),this.nzLinkRouter){if(!this.router)throw new Error(Hs.a+" you should import 'RouterModule' if you want to use 'nzLinkRouter'!");this.router.events.pipe(Object(ss.a)(this.destroy$),Object(Pt.a)((function(e){return e instanceof Eu.b})),Object(Ka.a)(!0)).subscribe((function(){e.updateRouterActive(),e.cdr.markForCheck()}))}this.tabsSubscription=this.listOfNzTabComponent.changes.subscribe((function(){if(e.clampTabIndex(e.indexToSelect)===e._selectedIndex)for(var t=e.listOfNzTabComponent.toArray(),n=0;n0),i.Db(1),i.sc("ngIf",0===n.stat.shownCount)}}function vj(e,t){if(1&e){var n=i.ac();i.Zb(0,"label",21),i.hc("nzCheckedChange",(function(e){return i.Dc(n),i.kc().onItemSelectAll(e)})),i.Yb()}if(2&e){var r=i.kc();i.sc("nzChecked",r.stat.checkAll)("nzIndeterminate",r.stat.checkHalf)("nzDisabled",0==r.stat.shownCount||r.disabled)}}function yj(e,t){if(1&e&&(i.Zb(0,"span",22),i.Nc(1),i.Yb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.titleText)}}function wj(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",23),i.Zb(1,"div",24),i.hc("valueChanged",(function(e){return i.Dc(n),i.kc().handleFilter(e)}))("valueClear",(function(){return i.Dc(n),i.kc().handleClear()})),i.Yb(),i.Yb()}if(2&e){var r=i.kc();i.Db(1),i.sc("placeholder",r.searchPlaceholder)("disabled",r.disabled)("value",r.filter)}}function Oj(e,t){1&e&&i.Vb(0)}var Cj=function(e,t,n,i,r,o){return{$implicit:e,direction:t,disabled:n,onItemSelectAll:i,onItemSelect:r,stat:o}};function Sj(e,t){if(1&e&&(i.Xb(0),i.Zb(1,"div",25),i.Lc(2,Oj,1,0,"ng-container",26),i.Yb(),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("ngTemplateOutlet",n.renderList)("ngTemplateOutletContext",i.yc(2,Cj,n.dataSource,n.direction,n.disabled,n.onItemSelectAll,n.onItemSelect,n.stat))}}function zj(e,t){}function Tj(e,t){if(1&e&&(i.Zb(0,"div",27),i.Lc(1,zj,0,0,"ng-template",17),i.Yb()),2&e){var n=i.kc();i.Db(1),i.sc("ngTemplateOutlet",n.footer)("ngTemplateOutletContext",i.vc(2,hj,n.direction))}}var _j=function(e){return{"ant-transfer__nodata":e}},kj=["nz-transfer-search",""];function Dj(e,t){if(1&e){var n=i.ac();i.Zb(0,"a",3),i.hc("click",(function(){return i.Dc(n),i.kc()._clear()})),i.Ub(1,"i",4),i.Yb()}}function xj(e,t){1&e&&(i.Zb(0,"span",5),i.Ub(1,"i",6),i.Yb())}var Ej=function(e){return{"ant-input-disabled":e}};function Nj(e,t){if(1&e&&(i.Zb(0,"span"),i.Nc(1),i.Yb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.nzOperations[1])}}function jj(e,t){if(1&e&&(i.Zb(0,"span"),i.Nc(1),i.Yb()),2&e){var n=i.kc();i.Db(1),i.Oc(n.nzOperations[0])}}var Ij=function(){function e(e){var t=this;this.cdr=e,this.direction="left",this.titleText="",this.showSelectAll=!0,this.dataSource=[],this.itemUnit="",this.itemsUnit="",this.filter="",this.renderList=null,this.render=null,this.footer=null,this.handleSelectAll=new i.n,this.handleSelect=new i.n,this.filterChange=new i.n,this.stat={checkAll:!1,checkHalf:!1,checkCount:0,shownCount:0},this.onItemSelect=function(e){t.disabled||e.disabled||(e.checked=!e.checked,t.updateCheckStatus(),t.handleSelect.emit(e))},this.onItemSelectAll=function(e){t.dataSource.forEach((function(t){t.disabled||t.hide||(t.checked=e)})),t.updateCheckStatus(),t.handleSelectAll.emit(e)}}return e.prototype.updateCheckStatus=function(){var e=this.dataSource.filter((function(e){return!e.disabled})).length;this.stat.checkCount=this.dataSource.filter((function(e){return e.checked&&!e.disabled})).length,this.stat.shownCount=this.dataSource.filter((function(e){return!e.hide})).length,this.stat.checkAll=e>0&&e===this.stat.checkCount,this.stat.checkHalf=this.stat.checkCount>0&&!this.stat.checkAll},e.prototype.handleFilter=function(e){var t=this;this.filter=e,this.dataSource.forEach((function(n){n.hide=e.length>0&&!t.matchFilter(e,n)})),this.stat.shownCount=this.dataSource.filter((function(e){return!e.hide})).length,this.filterChange.emit({direction:this.direction,value:e})},e.prototype.handleClear=function(){this.handleFilter("")},e.prototype.matchFilter=function(e,t){return this.filterOption?this.filterOption(e,t):t.title.includes(e)},e.prototype.markForCheck=function(){this.updateCheckStatus(),this.cdr.markForCheck()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-transfer-list"]],hostVars:4,hostBindings:function(e,t){2&e&&i.Jb("ant-transfer-list",!0)("ant-transfer-list-with-footer",!!t.footer)},inputs:{direction:"direction",titleText:"titleText",showSelectAll:"showSelectAll",dataSource:"dataSource",itemUnit:"itemUnit",itemsUnit:"itemsUnit",filter:"filter",renderList:"renderList",render:"render",footer:"footer",disabled:"disabled",showSearch:"showSearch",searchPlaceholder:"searchPlaceholder",notFoundContent:"notFoundContent",filterOption:"filterOption"},outputs:{handleSelectAll:"handleSelectAll",handleSelect:"handleSelect",filterChange:"filterChange"},exportAs:["nzTransferList"],decls:12,vars:14,consts:[["defaultRenderList",""],[1,"ant-transfer-list-header"],["nz-checkbox","",3,"nzChecked","nzIndeterminate","nzDisabled","nzCheckedChange",4,"ngIf"],[1,"ant-transfer-list-header-selected"],["class","ant-transfer-list-header-title",4,"ngIf"],[3,"ngClass"],["class","ant-transfer-list-body-search-wrapper",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","ant-transfer-list-footer",4,"ngIf"],["class","ant-transfer-list-content",4,"ngIf"],["class","ant-transfer-list-body-not-found",4,"ngIf"],[1,"ant-transfer-list-content"],["class","LazyLoad",4,"ngFor","ngForOf"],[1,"LazyLoad"],["class","ant-transfer-list-content-item",3,"ngClass","click",4,"ngIf"],[1,"ant-transfer-list-content-item",3,"ngClass","click"],["nz-checkbox","",3,"nzChecked","nzDisabled","nzCheckedChange","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["renderContainer",""],[1,"ant-transfer-list-body-not-found"],[3,"nzComponentName","specificContent"],["nz-checkbox","",3,"nzChecked","nzIndeterminate","nzDisabled","nzCheckedChange"],[1,"ant-transfer-list-header-title"],[1,"ant-transfer-list-body-search-wrapper"],["nz-transfer-search","",3,"placeholder","disabled","value","valueChanged","valueClear"],[1,"ant-transfer-list-body-customize-wrapper"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-transfer-list-footer"]],template:function(e,t){if(1&e&&(i.Lc(0,mj,2,2,"ng-template",null,0,i.Mc),i.Zb(2,"div",1),i.Lc(3,vj,1,3,"label",2),i.Zb(4,"span",3),i.Zb(5,"span"),i.Nc(6),i.Yb(),i.Lc(7,yj,2,1,"span",4),i.Yb(),i.Yb(),i.Zb(8,"div",5),i.Lc(9,wj,2,3,"div",6),i.Lc(10,Sj,3,9,"ng-container",7),i.Yb(),i.Lc(11,Tj,2,4,"div",8)),2&e){var n=i.Ac(1);i.Db(3),i.sc("ngIf",t.showSelectAll),i.Db(3),i.Qc("",(t.stat.checkCount>0?t.stat.checkCount+"/":"")+t.stat.shownCount," ",t.dataSource.length>1?t.itemsUnit:t.itemUnit,""),i.Db(1),i.sc("ngIf",t.titleText),i.Db(1),i.Fb(t.showSearch?"ant-transfer-list-body ant-transfer-list-body-with-search":"ant-transfer-list-body"),i.sc("ngClass",i.vc(12,_j,0===t.stat.shownCount)),i.Db(1),i.sc("ngIf",t.showSearch),i.Db(1),i.sc("ngIf",t.renderList)("ngIfElse",n),i.Db(1),i.sc("ngIf",t.footer)}},directives:function(){return[Vr.t,Vr.q,Vr.s,Zy,Vr.A,im,Aj]},encapsulation:2,changeDetection:0}),e}(),Aj=function(){function e(e){this.cdr=e,this.valueChanged=new i.n,this.valueClear=new i.n}return e.prototype._handle=function(){this.valueChanged.emit(this.value)},e.prototype._clear=function(){this.disabled||(this.value="",this.valueClear.emit())},e.prototype.ngOnChanges=function(){this.cdr.detectChanges()},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h))},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-transfer-search",""]],inputs:{value:"value",placeholder:"placeholder",disabled:"disabled"},outputs:{valueChanged:"valueChanged",valueClear:"valueClear"},exportAs:["nzTransferSearch"],features:[i.Bb],attrs:kj,decls:4,vars:8,consts:[[1,"ant-input","ant-transfer-list-search",3,"ngModel","disabled","placeholder","ngClass","ngModelChange"],["class","ant-transfer-list-search-action",3,"click",4,"ngIf","ngIfElse"],["def",""],[1,"ant-transfer-list-search-action",3,"click"],["nz-icon","","nzType","close-circle"],[1,"ant-transfer-list-search-action"],["nz-icon","","nzType","search"]],template:function(e,t){if(1&e&&(i.Zb(0,"input",0),i.hc("ngModelChange",(function(e){return t.value=e}))("ngModelChange",(function(){return t._handle()})),i.Yb(),i.Lc(1,Dj,2,0,"a",1),i.Lc(2,xj,2,0,"ng-template",null,2,i.Mc)),2&e){var n=i.Ac(3);i.sc("ngModel",t.value)("disabled",t.disabled)("placeholder",t.placeholder)("ngClass",i.vc(6,Ej,t.disabled)),i.Db(1),i.sc("ngIf",t.value&&t.value.length>0)("ngIfElse",n)}},directives:[Ot.e,Ot.o,Ot.r,Vr.q,Vr.t,Hd.a,Ns.a],encapsulation:2,changeDetection:0}),e}(),Mj=function(){function e(e,t){var n=this;this.cdr=e,this.i18n=t,this.unsubscribe$=new kt.a,this.locale={},this.leftFilter="",this.rightFilter="",this.nzDisabled=!1,this.nzDataSource=[],this.nzTitles=["",""],this.nzOperations=[],this.nzListStyle={},this.nzShowSelectAll=!0,this.nzCanMove=function(e){return Object(qr.a)(e.list)},this.nzRenderList=null,this.nzRender=null,this.nzFooter=null,this.nzShowSearch=!1,this.nzTargetKeys=[],this.nzSelectedKeys=[],this.nzChange=new i.n,this.nzSearchChange=new i.n,this.nzSelectChange=new i.n,this.leftDataSource=[],this.rightDataSource=[],this.handleLeftSelectAll=function(e){return n.handleSelect("left",e)},this.handleRightSelectAll=function(e){return n.handleSelect("right",e)},this.handleLeftSelect=function(e){return n.handleSelect("left",!!e.checked,e)},this.handleRightSelect=function(e){return n.handleSelect("right",!!e.checked,e)},this.leftActive=!1,this.rightActive=!1,this.moveToLeft=function(){return n.moveTo("left")},this.moveToRight=function(){return n.moveTo("right")}}return e.prototype.splitDataSource=function(){var e=this;this.leftDataSource=[],this.rightDataSource=[],this.nzDataSource.forEach((function(t){"right"===t.direction?(t.direction="right",e.rightDataSource.push(t)):(t.direction="left",e.leftDataSource.push(t))}))},e.prototype.getCheckedData=function(e){return this["left"===e?"leftDataSource":"rightDataSource"].filter((function(e){return e.checked}))},e.prototype.handleSelect=function(e,t,n){var i=this.getCheckedData(e);this.updateOperationStatus(e,i.length),this.nzSelectChange.emit({direction:e,checked:t,list:i,item:n})},e.prototype.handleFilterChange=function(e){this.nzSearchChange.emit(e)},e.prototype.updateOperationStatus=function(e,t){this["right"===e?"leftActive":"rightActive"]=(void 0===t?this.getCheckedData(e).filter((function(e){return!e.disabled})).length:t)>0},e.prototype.moveTo=function(e){var t=this;this.updateOperationStatus("left"===e?"right":"left",0);var n=("left"===e?this.rightDataSource:this.leftDataSource).filter((function(e){return!0===e.checked&&!e.disabled}));this.nzCanMove({direction:e,list:n}).subscribe((function(n){return t.truthMoveTo(e,n.filter((function(e){return!!e})))}),(function(){return n.forEach((function(e){return e.checked=!1}))}))},e.prototype.truthMoveTo=function(e,t){var n,i,r="left"===e?"right":"left",o="left"===e?this.rightDataSource:this.leftDataSource,a="left"===e?this.leftDataSource:this.rightDataSource;try{for(var s=Object(zt.h)(t),c=s.next();!c.done;c=s.next()){var u=c.value;u.checked=!1,u.hide=!1,u.direction=e,o.splice(o.indexOf(u),1)}}catch(l){n={error:l}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}a.splice.apply(a,Object(zt.g)([0,0],t)),this.updateOperationStatus(r),this.nzChange.emit({from:r,to:e,list:t}),this.markForCheckAllList()},e.prototype.markForCheckAllList=function(){this.lists&&this.lists.forEach((function(e){return e.markForCheck()}))},e.prototype.handleNzTargetKeys=function(){var e=Object(es.B)(this.nzTargetKeys);this.leftDataSource.forEach((function(t){(function(e){return e.hasOwnProperty("key")})(t)&&-1!==e.indexOf(t.key)&&!t.disabled&&(t.checked=!0)})),this.moveToRight()},e.prototype.handleNzSelectedKeys=function(){var e=Object(es.B)(this.nzSelectedKeys);this.nzDataSource.forEach((function(t){-1!==e.indexOf(t.key)&&(t.checked=!0)}));var t=function(e){return!1===e.disabled&&!0===e.checked};this.rightActive=this.leftDataSource.some(t),this.leftActive=this.rightDataSource.some(t)},e.prototype.ngOnInit=function(){var e=this;this.i18n.localeChange.pipe(Object(ss.a)(this.unsubscribe$)).subscribe((function(){e.locale=e.i18n.getLocaleData("Transfer"),e.markForCheckAllList()}))},e.prototype.ngOnChanges=function(e){e.nzDataSource&&(this.splitDataSource(),this.updateOperationStatus("left"),this.updateOperationStatus("right"),this.cdr.detectChanges(),this.markForCheckAllList()),e.nzTargetKeys&&this.handleNzTargetKeys(),e.nzSelectedKeys&&this.handleNzSelectedKeys()},e.prototype.ngOnDestroy=function(){this.unsubscribe$.next(),this.unsubscribe$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowSelectAll",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowSearch",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(Lp))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-transfer"]],viewQuery:function(e,t){var n;1&e&&i.Sc(Ij,!0),2&e&&i.zc(n=i.ic())&&(t.lists=n)},hostVars:6,hostBindings:function(e,t){2&e&&i.Jb("ant-transfer",!0)("ant-transfer-disabled",t.nzDisabled)("ant-transfer-customize-list",t.nzRenderList)},inputs:{nzDisabled:"nzDisabled",nzDataSource:"nzDataSource",nzTitles:"nzTitles",nzOperations:"nzOperations",nzListStyle:"nzListStyle",nzShowSelectAll:"nzShowSelectAll",nzCanMove:"nzCanMove",nzRenderList:"nzRenderList",nzRender:"nzRender",nzFooter:"nzFooter",nzShowSearch:"nzShowSearch",nzTargetKeys:"nzTargetKeys",nzSelectedKeys:"nzSelectedKeys",nzItemUnit:"nzItemUnit",nzItemsUnit:"nzItemsUnit",nzFilterOption:"nzFilterOption",nzSearchPlaceholder:"nzSearchPlaceholder",nzNotFoundContent:"nzNotFoundContent"},outputs:{nzChange:"nzChange",nzSearchChange:"nzSearchChange",nzSelectChange:"nzSelectChange"},exportAs:["nzTransfer"],features:[i.Bb],decls:9,vars:38,consts:[["data-direction","left","direction","left",1,"ant-transfer-list",3,"ngStyle","titleText","showSelectAll","dataSource","filter","filterOption","renderList","render","disabled","showSearch","searchPlaceholder","notFoundContent","itemUnit","itemsUnit","footer","filterChange","handleSelect","handleSelectAll"],[1,"ant-transfer-operation"],["nz-button","",3,"disabled","nzType","nzSize","click"],["nz-icon","","nzType","left"],[4,"ngIf"],["nz-icon","","nzType","right"],["data-direction","right","direction","right",1,"ant-transfer-list",3,"ngStyle","titleText","showSelectAll","dataSource","filter","filterOption","renderList","render","disabled","showSearch","searchPlaceholder","notFoundContent","itemUnit","itemsUnit","footer","filterChange","handleSelect","handleSelectAll"]],template:function(e,t){1&e&&(i.Zb(0,"nz-transfer-list",0),i.hc("filterChange",(function(e){return t.handleFilterChange(e)}))("handleSelect",(function(e){return t.handleLeftSelect(e)}))("handleSelectAll",(function(e){return t.handleLeftSelectAll(e)})),i.Yb(),i.Zb(1,"div",1),i.Zb(2,"button",2),i.hc("click",(function(){return t.moveToLeft()})),i.Ub(3,"i",3),i.Lc(4,Nj,2,1,"span",4),i.Yb(),i.Zb(5,"button",2),i.hc("click",(function(){return t.moveToRight()})),i.Ub(6,"i",5),i.Lc(7,jj,2,1,"span",4),i.Yb(),i.Yb(),i.Zb(8,"nz-transfer-list",6),i.hc("filterChange",(function(e){return t.handleFilterChange(e)}))("handleSelect",(function(e){return t.handleRightSelect(e)}))("handleSelectAll",(function(e){return t.handleRightSelectAll(e)})),i.Yb()),2&e&&(i.sc("ngStyle",t.nzListStyle)("titleText",t.nzTitles[0])("showSelectAll",t.nzShowSelectAll)("dataSource",t.leftDataSource)("filter",t.leftFilter)("filterOption",t.nzFilterOption)("renderList",t.nzRenderList&&t.nzRenderList[0])("render",t.nzRender)("disabled",t.nzDisabled)("showSearch",t.nzShowSearch)("searchPlaceholder",t.nzSearchPlaceholder||t.locale.searchPlaceholder)("notFoundContent",t.nzNotFoundContent)("itemUnit",t.nzItemUnit||t.locale.itemUnit)("itemsUnit",t.nzItemsUnit||t.locale.itemsUnit)("footer",t.nzFooter),i.Db(2),i.sc("disabled",t.nzDisabled||!t.leftActive)("nzType","primary")("nzSize","small"),i.Db(2),i.sc("ngIf",t.nzOperations[1]),i.Db(1),i.sc("disabled",t.nzDisabled||!t.rightActive)("nzType","primary")("nzSize","small"),i.Db(2),i.sc("ngIf",t.nzOperations[0]),i.Db(1),i.sc("ngStyle",t.nzListStyle)("titleText",t.nzTitles[1])("showSelectAll",t.nzShowSelectAll)("dataSource",t.rightDataSource)("filter",t.rightFilter)("filterOption",t.nzFilterOption)("renderList",t.nzRenderList&&t.nzRenderList[1])("render",t.nzRender)("disabled",t.nzDisabled)("showSearch",t.nzShowSearch)("searchPlaceholder",t.nzSearchPlaceholder||t.locale.searchPlaceholder)("notFoundContent",t.nzNotFoundContent)("itemUnit",t.nzItemUnit||t.locale.itemUnit)("itemsUnit",t.nzItemsUnit||t.locale.itemsUnit)("footer",t.nzFooter))},directives:[Ij,Vr.w,Wu.a,Ud.a,Hd.a,Ns.a,Vr.t],encapsulation:2,changeDetection:0}),e}(),Lj=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,Gy,Wu.c,Ec,Fp,Ns.b,cm]]}),e}(),Pj=function(){function e(t,n,i){var r=this;if(void 0===n&&(n=null),void 0===i&&(i=null),this._title="",this.level=0,this.parentNode=null,this._icon="",this._children=[],this._isLeaf=!1,this._isChecked=!1,this._isAllChecked=!1,this._isSelectable=!1,this._isDisabled=!1,this._isDisableCheckbox=!1,this._isExpanded=!1,this._isHalfChecked=!1,this._isSelected=!1,this._isLoading=!1,this.canHide=!1,this.isMatched=!1,this.service=null,t instanceof e)return t;this.service=i||null,this.origin=t,this.key=t.key,this.parentNode=n,this._title=t.title||"---",this._icon=t.icon||"",this._isLeaf=t.isLeaf||!1,this._children=[],this._isChecked=t.checked||!1,this._isSelectable=t.disabled||!1!==t.selectable,this._isDisabled=t.disabled||!1,this._isDisableCheckbox=t.disableCheckbox||!1,this._isExpanded=!t.isLeaf&&(t.expanded||!1),this._isHalfChecked=!1,this._isSelected=!t.disabled&&t.selected||!1,this._isLoading=!1,this.isMatched=!1,this.level=n?n.level+1:0,null!=t.children&&t.children.forEach((function(n){var i=r.treeService;!i||i.isCheckStrictly||!t.checked||t.disabled||n.disabled||n.disableCheckbox||(n.checked=t.checked),r._children.push(new e(n,r))}))}return Object.defineProperty(e.prototype,"treeService",{get:function(){return this.service||this.parentNode&&this.parentNode.treeService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._title},set:function(e){this._title=e,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){return this._icon},set:function(e){this._icon=e,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._children},set:function(e){this._children=e,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLeaf",{get:function(){return this._isLeaf},set:function(e){this._isLeaf=e,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isChecked",{get:function(){return this._isChecked},set:function(e){this._isChecked=e,this._isAllChecked=e,this.origin.checked=e,this.afterValueChange("isChecked")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAllChecked",{get:function(){return this._isAllChecked},set:function(e){Object(Hs.c)("'isAllChecked' is going to be removed in 9.0.0. Please use 'isChecked' instead."),this._isAllChecked=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHalfChecked",{get:function(){return this._isHalfChecked},set:function(e){this._isHalfChecked=e,this.afterValueChange("isHalfChecked")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSelectable",{get:function(){return this._isSelectable},set:function(e){this._isSelectable=e,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisabled",{get:function(){return this._isDisabled},set:function(e){this._isDisabled=e,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisableCheckbox",{get:function(){return this._isDisableCheckbox},set:function(e){this._isDisableCheckbox=e,this.update()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isExpanded",{get:function(){return this._isExpanded},set:function(e){this._isExpanded=e,this.origin.expanded=e,this.afterValueChange("isExpanded"),this.afterValueChange("reRender")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSelected",{get:function(){return this._isSelected},set:function(e){this._isSelected=e,this.origin.selected=e,this.afterValueChange("isSelected")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLoading",{get:function(){return this._isLoading},set:function(e){this._isLoading=e,this.update()},enumerable:!0,configurable:!0}),e.prototype.setSyncChecked=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1),this.setChecked(e,t),this.treeService&&!this.treeService.isCheckStrictly&&this.treeService.conduct(this)},e.prototype.setChecked=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1),Object(Hs.c)("'setChecked' is going to be removed in 9.0.0. Please use 'isChecked' instead."),this.origin.checked=e,this.isChecked=e,this.isAllChecked=e,this.isHalfChecked=t},e.prototype.setExpanded=function(e){this._isExpanded=e,this.origin.expanded=e,this.afterValueChange("isExpanded")},e.prototype.setSelected=function(e){Object(Hs.c)("'setSelected' is going to be removed in 9.0.0. Please use 'isExpanded' isSelected."),this.isDisabled||(this.isSelected=e)},e.prototype.getParentNode=function(){return this.parentNode},e.prototype.getChildren=function(){return this.children},e.prototype.addChildren=function(t,n){var i=this;void 0===n&&(n=-1),this.isLeaf||(t.forEach((function(t){var r=function(e){e.getChildren().forEach((function(e){e.level=e.getParentNode().level+1,e.origin.level=e.level,r(e)}))},o=t;o instanceof e?o.parentNode=i:o=new e(t,i),o.level=i.level+1,o.origin.level=o.level,r(o);try{-1===n?i.children.push(o):i.children.splice(n,0,o)}catch(a){}})),this.origin.children=this.getChildren().map((function(e){return e.origin})),this.isLoading=!1),this.afterValueChange("addChildren"),this.afterValueChange("reRender")},e.prototype.clearChildren=function(){this.afterValueChange("clearChildren"),this.children=[],this.origin.children=[],this.afterValueChange("reRender")},e.prototype.remove=function(){var e=this,t=this.getParentNode();t&&(t.children=t.getChildren().filter((function(t){return t.key!==e.key})),t.origin.children=t.origin.children.filter((function(t){return t.key!==e.key})),this.afterValueChange("remove"),this.afterValueChange("reRender"))},e.prototype.afterValueChange=function(e){if(this.treeService)switch(e){case"isChecked":this.treeService.setCheckedNodeList(this);break;case"isHalfChecked":this.treeService.setHalfCheckedNodeList(this);break;case"isExpanded":this.treeService.setExpandedNodeList(this);break;case"isSelected":this.treeService.setNodeActive(this);break;case"clearChildren":this.treeService.afterRemove(this.getChildren());break;case"remove":this.treeService.afterRemove([this]);break;case"reRender":this.treeService.flattenTreeData(this.treeService.rootNodes,this.treeService.getExpandedNodeList().map((function(e){return e.key})))}this.update()},e.prototype.update=function(){this.component&&this.component.markForCheck()},e}();function Fj(e){return!(!e.isDisabled&&!e.isDisableCheckbox)}function Rj(e,t){return t.length>0&&t.indexOf(e)>-1}function Vj(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]);var n=new Set(!0===t?[]:t),i=[];return function e(r,o){return void 0===o&&(o=null),r.map((function(a,s){var c=function(e,t){return e+"-"+t}(o?o.pos:"0",s),u=function(e,t){return null!=e?e:t}(a.key,c);a.isStart=Object(zt.g)(o?o.isStart:[],[0===s]),a.isEnd=Object(zt.g)(o?o.isEnd:[],[s===r.length-1]);var l={parent:o,pos:c,children:[],data:a,isStart:Object(zt.g)(o?o.isStart:[],[0===s]),isEnd:Object(zt.g)(o?o.isEnd:[],[s===r.length-1])};return i.push(l),l.children=!0===t||n.has(u)||a.isExpanded?e(a.children||[],l):[],l}))}(e),i}var Bj=function(){function e(){this.DRAG_SIDE_RANGE=.25,this.DRAG_MIN_GAP=2,this.isCheckStrictly=!1,this.isMultiple=!1,this.rootNodes=[],this.flattenNodes$=new qu.a([]),this.selectedNodeList=[],this.expandedNodeList=[],this.checkedNodeList=[],this.halfCheckedNodeList=[],this.matchedNodeList=[]}return e.prototype.initTree=function(e){this.rootNodes=e,this.expandedNodeList=[],this.selectedNodeList=[],this.halfCheckedNodeList=[],this.checkedNodeList=[],this.matchedNodeList=[]},e.prototype.flattenTreeData=function(e,t){void 0===t&&(t=[]),this.flattenNodes$.next(Vj(e,t).map((function(e){return e.data})))},e.prototype.getSelectedNode=function(){return this.selectedNode},e.prototype.getSelectedNodeList=function(){return this.conductNodeState("select")},e.prototype.getCheckedNodeList=function(){return this.conductNodeState("check")},e.prototype.getHalfCheckedNodeList=function(){return this.conductNodeState("halfCheck")},e.prototype.getExpandedNodeList=function(){return this.conductNodeState("expand")},e.prototype.getMatchedNodeList=function(){return this.conductNodeState("match")},e.prototype.isArrayOfNzTreeNode=function(e){return e.every((function(e){return e instanceof Pj}))},e.prototype.setSelectedNode=function(e){this.selectedNode=e},e.prototype.setNodeActive=function(e){!this.isMultiple&&e.isSelected&&(this.selectedNodeList.forEach((function(t){e.key!==t.key&&(t.isSelected=!1)})),this.selectedNodeList=[]),this.setSelectedNodeList(e,this.isMultiple)},e.prototype.setSelectedNodeList=function(e,t){void 0===t&&(t=!1);var n=this.getIndexOfArray(this.selectedNodeList,e.key);t?e.isSelected&&-1===n&&this.selectedNodeList.push(e):e.isSelected&&-1===n&&(this.selectedNodeList=[e]),e.isSelected||(this.selectedNodeList=this.selectedNodeList.filter((function(t){return t.key!==e.key})))},e.prototype.setHalfCheckedNodeList=function(e){var t=this.getIndexOfArray(this.halfCheckedNodeList,e.key);e.isHalfChecked&&-1===t?this.halfCheckedNodeList.push(e):!e.isHalfChecked&&t>-1&&(this.halfCheckedNodeList=this.halfCheckedNodeList.filter((function(t){return e.key!==t.key})))},e.prototype.setCheckedNodeList=function(e){var t=this.getIndexOfArray(this.checkedNodeList,e.key);e.isChecked&&-1===t?this.checkedNodeList.push(e):!e.isChecked&&t>-1&&(this.checkedNodeList=this.checkedNodeList.filter((function(t){return e.key!==t.key})))},e.prototype.conductNodeState=function(e){var t=this;void 0===e&&(e="check");var n=[];switch(e){case"select":n=this.selectedNodeList;break;case"expand":n=this.expandedNodeList;break;case"match":n=this.matchedNodeList;break;case"check":n=this.checkedNodeList;var i=function(e){var n=e.getParentNode();return!!n&&(t.checkedNodeList.findIndex((function(e){return e.key===n.key}))>-1||i(n))};this.isCheckStrictly||(n=this.checkedNodeList.filter((function(e){return!i(e)})));break;case"halfCheck":this.isCheckStrictly||(n=this.halfCheckedNodeList)}return n},e.prototype.setExpandedNodeList=function(e){if(!e.isLeaf){var t=this.getIndexOfArray(this.expandedNodeList,e.key);e.isExpanded&&-1===t?this.expandedNodeList.push(e):!e.isExpanded&&t>-1&&this.expandedNodeList.splice(t,1)}},e.prototype.setMatchedNodeList=function(e){var t=this.getIndexOfArray(this.matchedNodeList,e.key);e.isMatched&&-1===t?this.matchedNodeList.push(e):!e.isMatched&&t>-1&&this.matchedNodeList.splice(t,1)},e.prototype.refreshCheckState=function(e){var t=this;void 0===e&&(e=!1),e||this.checkedNodeList.forEach((function(e){t.conduct(e)}))},e.prototype.conduct=function(e){var t=e.isChecked;e&&(this.conductUp(e),this.conductDown(e,t))},e.prototype.conductUp=function(e){var t=e.getParentNode();t&&(Fj(t)||(t.children.every((function(e){return Fj(e)||!e.isHalfChecked&&e.isChecked}))?(t.isChecked=!0,t.isHalfChecked=!1):t.children.some((function(e){return e.isHalfChecked||e.isChecked}))?(t.isChecked=!1,t.isHalfChecked=!0):(t.isChecked=!1,t.isHalfChecked=!1)),this.setCheckedNodeList(t),this.setHalfCheckedNodeList(t),this.conductUp(t))},e.prototype.conductDown=function(e,t){var n=this;Fj(e)||(e.isChecked=t,e.isHalfChecked=!1,this.setCheckedNodeList(e),this.setHalfCheckedNodeList(e),e.children.forEach((function(e){n.conductDown(e,t)})))},e.prototype.afterRemove=function(e){var t=this,n=function(e){t.selectedNodeList=t.selectedNodeList.filter((function(t){return t.key!==e.key})),t.expandedNodeList=t.expandedNodeList.filter((function(t){return t.key!==e.key})),t.checkedNodeList=t.checkedNodeList.filter((function(t){return t.key!==e.key})),e.children&&e.children.forEach((function(e){n(e)}))};e.forEach((function(e){n(e)})),this.refreshCheckState(this.isCheckStrictly)},e.prototype.refreshDragNode=function(e){var t=this;0===e.children.length?this.conductUp(e):e.children.forEach((function(e){t.refreshDragNode(e)}))},e.prototype.resetNodeLevel=function(e){var t,n,i=e.getParentNode();e.level=i?i.level+1:0;try{for(var r=Object(zt.h)(e.children),o=r.next();!o.done;o=r.next())this.resetNodeLevel(o.value)}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.calcDropPosition=function(e){var t=e.clientY,n=e.srcElement?e.srcElement.getBoundingClientRect():e.target.getBoundingClientRect(),i=n.top,r=n.bottom,o=Math.max(n.height*this.DRAG_SIDE_RANGE,this.DRAG_MIN_GAP);return t<=i+o?-1:t>=r-o?1:0},e.prototype.dropAndApply=function(e,t){var n=this;if(void 0===t&&(t=-1),e&&!(t>1)){var i=e.treeService,r=e.getParentNode(),o=this.selectedNode.getParentNode();switch(o?o.children=o.children.filter((function(e){return e.key!==n.selectedNode.key})):this.rootNodes=this.rootNodes.filter((function(e){return e.key!==n.selectedNode.key})),t){case 0:e.addChildren([this.selectedNode]),this.resetNodeLevel(e);break;case-1:case 1:var a=1===t?1:0;if(r){r.addChildren([this.selectedNode],r.children.indexOf(e)+a);var s=this.selectedNode.getParentNode();s&&this.resetNodeLevel(s)}else{var c=this.rootNodes.indexOf(e)+a;this.rootNodes.splice(c,0,this.selectedNode),this.rootNodes[c].parentNode=null,this.resetNodeLevel(this.rootNodes[c])}}this.rootNodes.forEach((function(e){e.treeService||(e.service=i),n.refreshDragNode(e)}))}},e.prototype.formatEvent=function(e,t,n){var i={eventName:e,node:t,event:n};switch(e){case"dragstart":case"dragenter":case"dragover":case"dragleave":case"drop":case"dragend":Object.assign(i,{dragNode:this.getSelectedNode()});break;case"click":case"dblclick":Object.assign(i,{selectedKeys:this.selectedNodeList}),Object.assign(i,{nodes:this.selectedNodeList}),Object.assign(i,{keys:this.selectedNodeList.map((function(e){return e.key}))});break;case"check":var r=this.getCheckedNodeList();Object.assign(i,{checkedKeys:r}),Object.assign(i,{nodes:r}),Object.assign(i,{keys:r.map((function(e){return e.key}))});break;case"search":Object.assign(i,{matchedKeys:this.getMatchedNodeList()}),Object.assign(i,{nodes:this.getMatchedNodeList()}),Object.assign(i,{keys:this.getMatchedNodeList().map((function(e){return e.key}))});break;case"expand":Object.assign(i,{nodes:this.expandedNodeList}),Object.assign(i,{keys:this.expandedNodeList.map((function(e){return e.key}))})}return i},e.prototype.getIndexOfArray=function(e,t){return e.findIndex((function(e){return e.key===t}))},e.prototype.conductCheck=function(e,t){this.checkedNodeList=[],this.halfCheckedNodeList=[];var n=function(t){t.forEach((function(t){Rj(t.key,e)?(t.isChecked=!0,t.isHalfChecked=!1):(t.isChecked=!1,t.isHalfChecked=!1),t.children.length>0&&n(t.children)}))};n(this.rootNodes),this.refreshCheckState(t)},e.prototype.conductExpandedKeys=function(e){var t=this;void 0===e&&(e=[]);var n=new Set(!0===e?[]:e);this.expandedNodeList=[];var i=function(r){r.forEach((function(r){r.setExpanded(!0===e||n.has(r.key)||!0===r.isExpanded),r.isExpanded&&t.setExpandedNodeList(r),r.children.length>0&&i(r.children)}))};i(this.rootNodes)},e.prototype.conductSelectedKeys=function(e,t){var n=this;this.selectedNodeList=[];var i=function(r){return r.every((function(r){if(Rj(r.key,e)){if(r.isSelected=!0,n.setSelectedNodeList(r),!t)return!1}else r.isSelected=!1;return!(r.children.length>0)||i(r.children)}))};i(this.rootNodes)},e.prototype.expandNodeAllParentBySearch=function(e){var t=this,n=function(e){if(e&&(e.canHide=!1,e.setExpanded(!0),t.setExpandedNodeList(e),e.getParentNode()))return n(e.getParentNode())};n(e.getParentNode())},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Pb({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),Yj=new i.q("NzTreeHigherOrder"),Uj=function(){function e(e){this.nzTreeService=e}return e.prototype.coerceTreeNodes=function(e){var t=this;return this.nzTreeService.isArrayOfNzTreeNode(e)?e.map((function(e){return e.service=t.nzTreeService,e})):e.map((function(e){return new Pj(e,null,t.nzTreeService)}))},e.prototype.getTreeNodes=function(){return this.nzTreeService.rootNodes},e.prototype.getTreeNodeByKey=function(e){var t=[],n=function(e){t.push(e),e.getChildren().forEach((function(e){n(e)}))};return this.getTreeNodes().forEach((function(e){n(e)})),t.find((function(t){return t.key===e}))||null},e.prototype.getCheckedNodeList=function(){return this.nzTreeService.getCheckedNodeList()},e.prototype.getSelectedNodeList=function(){return this.nzTreeService.getSelectedNodeList()},e.prototype.getHalfCheckedNodeList=function(){return this.nzTreeService.getHalfCheckedNodeList()},e.prototype.getExpandedNodeList=function(){return this.nzTreeService.getExpandedNodeList()},e.prototype.getMatchedNodeList=function(){return this.nzTreeService.getMatchedNodeList()},e}();function Hj(e,t){if(1&e&&i.Ub(0,"span",1),2&e){var n=t.index,r=i.kc();i.sc("ngClass",r.unitMapOfClass(n))}}function Wj(e,t){if(1&e&&(i.Xb(0),i.Ub(1,"i",4),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Jb("ant-select-tree-switcher-icon",n.nzSelectMode)("ant-tree-switcher-icon",!n.nzSelectMode)}}var qj=function(e,t){return{$implicit:e,origin:t}};function Zj(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Wj,2,4,"ng-container",3),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzExpandedIcon)("nzStringTemplateOutletContext",i.wc(2,qj,n.context,n.context.origin))}}function $j(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Zj,2,5,"ng-container",2),i.Wb()),2&e){var n=i.kc(),r=i.Ac(3);i.Db(1),i.sc("ngIf",!n.isLoading)("ngIfElse",r)}}function Gj(e,t){if(1&e&&i.Ub(0,"i",7),2&e){var n=i.kc(4);i.sc("nzType",n.isSwitcherOpen?"minus-square":"plus-square")}}function Qj(e,t){1&e&&i.Ub(0,"i",8)}function Xj(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Gj,1,1,"i",5),i.Lc(2,Qj,1,0,"i",6),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.sc("ngIf",n.isShowLineIcon),i.Db(1),i.sc("ngIf",!n.isShowLineIcon)}}function Kj(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Xj,3,2,"ng-container",3),i.Wb()),2&e){var n=i.kc(2);i.Db(1),i.sc("nzStringTemplateOutlet",n.nzExpandedIcon)("nzStringTemplateOutletContext",i.wc(2,qj,n.context,n.context.origin))}}function Jj(e,t){if(1&e&&(i.Xb(0),i.Lc(1,Kj,2,5,"ng-container",2),i.Wb()),2&e){var n=i.kc(),r=i.Ac(3);i.Db(1),i.sc("ngIf",!n.isLoading)("ngIfElse",r)}}function eI(e,t){1&e&&i.Ub(0,"i",9),2&e&&i.sc("nzSpin",!0)}function tI(e,t){}function nI(e,t){if(1&e&&i.Ub(0,"i",5),2&e){var n=i.kc(3);i.sc("nzType",n.icon)}}function iI(e,t){if(1&e&&(i.Zb(0,"span"),i.Zb(1,"span"),i.Lc(2,nI,1,1,"i",4),i.Yb(),i.Yb()),2&e){var n=i.kc(2);i.Jb("ant-tree-icon__open",n.isSwitcherOpen)("ant-tree-icon__close",n.isSwitcherClose)("ant-tree-icon_loading",n.isLoading)("ant-select-tree-iconEle",n.selectMode)("ant-tree-iconEle",!n.selectMode),i.Db(1),i.Jb("ant-select-tree-iconEle",n.selectMode)("ant-select-tree-icon__customize",n.selectMode)("ant-tree-iconEle",!n.selectMode)("ant-tree-icon__customize",!n.selectMode),i.Db(1),i.sc("ngIf",n.icon)}}function rI(e,t){if(1&e&&(i.Xb(0),i.Lc(1,iI,3,19,"span",2),i.Ub(2,"span",3),i.lc(3,"nzHighlight"),i.Wb()),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",n.icon&&n.showIcon),i.Db(1),i.sc("innerHTML",i.pc(3,2,n.title,n.matchedValue,"i","font-highlight"),i.Ec)}}function oI(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-tree-node-switcher",4),i.hc("click",(function(e){return i.Dc(n),i.kc().clickExpand(e)})),i.Yb()}if(2&e){var r=i.kc();i.sc("nzShowExpand",r.nzShowExpand)("nzShowLine",r.nzShowLine)("nzExpandedIcon",r.nzExpandedIcon)("nzSelectMode",r.nzSelectMode)("context",r.nzTreeNode)("isLeaf",r.isLeaf)("isExpanded",r.isExpanded)("isLoading",r.isLoading)}}function aI(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-tree-node-checkbox",5),i.hc("click",(function(e){return i.Dc(n),i.kc().clickCheckBox(e)})),i.Yb()}if(2&e){var r=i.kc();i.sc("nzSelectMode",r.nzSelectMode)("isChecked",r.isChecked)("isHalfChecked",r.isHalfChecked)("isDisabled",r.isDisabled)("isDisableCheckbox",r.isDisableCheckbox)}}var sI=["nzTreeTemplate"];function cI(e,t){}var uI=function(e){return{$implicit:e}};function lI(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,cI,0,0,"ng-template",7),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit;i.kc(2);var r=i.Ac(17);i.Db(2),i.sc("ngTemplateOutlet",r)("ngTemplateOutletContext",i.vc(2,uI,n))}}function pI(e,t){if(1&e&&(i.Zb(0,"cdk-virtual-scroll-viewport",5),i.Nc(1,"\n "),i.Lc(2,lI,4,4,"ng-container",6),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Kc("height",n.nzVirtualHeight),i.Jb("ant-select-tree-list-holder-inner",n.nzSelectMode)("ant-tree-list-holder-inner",n.nzSelectMode),i.sc("itemSize",n.nzVirtualItemSize)("minBufferPx",n.nzVirtualMinBufferPx)("maxBufferPx",n.nzVirtualMaxBufferPx),i.Db(2),i.sc("cdkVirtualForOf",n.nzFlattenNodes)("cdkVirtualForTrackBy",n.trackByFlattenNode)}}function hI(e,t){}function dI(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,hI,0,0,"ng-template",7),i.Nc(3,"\n "),i.Wb()),2&e){var n=t.$implicit;i.kc(2);var r=i.Ac(17);i.Db(2),i.sc("ngTemplateOutlet",r)("ngTemplateOutletContext",i.vc(2,uI,n))}}function fI(e,t){if(1&e&&(i.Zb(0,"div",8),i.Nc(1,"\n "),i.Lc(2,dI,4,4,"ng-container",9),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc();i.Jb("ant-select-tree-list-holder-inner",n.nzSelectMode)("ant-tree-list-holder-inner",n.nzSelectMode),i.sc("@.disabled",n.beforeInit||(null==n.noAnimation?null:n.noAnimation.nzNoAnimation))("nzNoAnimation",null==n.noAnimation?null:n.noAnimation.nzNoAnimation)("@treeCollapseMotion",n.nzFlattenNodes.length),i.Db(2),i.sc("ngForOf",n.nzFlattenNodes)("ngForTrackBy",n.trackByFlattenNode)}}function gI(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"nz-tree-node",10),i.hc("nzExpandChange",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzClick",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzDblClick",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzContextMenu",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzCheckBoxChange",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzOnDragStart",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzOnDragEnter",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzOnDragOver",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzOnDragLeave",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzOnDragEnd",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)}))("nzOnDrop",(function(e){return i.Dc(n),i.kc().eventTriggerChanged(e)})),i.Nc(2,"\n "),i.Yb(),i.Nc(3,"\n ")}if(2&e){var r=t.$implicit,o=i.kc();i.Db(1),i.sc("icon",r.icon)("title",r.title)("isLoading",r.isLoading)("isSelected",r.isSelected)("isDisabled",r.isDisabled)("isMatched",r.isMatched)("isExpanded",r.isExpanded)("isLeaf",r.isLeaf)("isStart",r.isStart)("isEnd",r.isEnd)("isChecked",r.isChecked)("isHalfChecked",r.isHalfChecked)("isDisableCheckbox",r.isDisableCheckbox)("isSelectable",r.isSelectable)("canHide",r.canHide)("nzTreeNode",r)("nzSelectMode",o.nzSelectMode)("nzShowLine",o.nzShowLine)("nzExpandedIcon",o.nzExpandedIcon)("nzDraggable",o.nzDraggable)("nzCheckable",o.nzCheckable)("nzShowExpand",o.nzShowExpand)("nzAsyncData",o.nzAsyncData)("nzSearchValue",o.nzSearchValue)("nzHideUnMatched",o.nzHideUnMatched)("nzBeforeDrop",o.nzBeforeDrop)("nzShowIcon",o.nzShowIcon)("nzTreeTemplate",o.nzTreeTemplate||o.nzTreeTemplateChild)}}var bI=function(){function e(){this.nzSelectMode=!1,this.listOfUnit=[]}return e.prototype.unitMapOfClass=function(e){var t;return(t={})["ant-tree-indent-unit"]=!this.nzSelectMode,t["ant-tree-indent-unit-start"]=!this.nzSelectMode&&this.nzIsStart[e+1],t["ant-tree-indent-unit-end"]=!this.nzSelectMode&&this.nzIsEnd[e+1],t["ant-select-tree-indent-unit"]=this.nzSelectMode,t["ant-select-tree-indent-unit-start"]=this.nzSelectMode&&this.nzIsStart[e+1],t["ant-select-tree-indent-unit-end"]=this.nzSelectMode&&this.nzIsEnd[e+1],t},e.prototype.ngOnInit=function(){},e.prototype.ngOnChanges=function(e){var t=e.nzTreeLevel;t&&(this.listOfUnit=Object(zt.g)(new Array(t.currentValue||0)))},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-tree-indent"]],hostVars:5,hostBindings:function(e,t){2&e&&(i.Eb("aria-hidden",!0),i.Jb("ant-tree-indent",!t.nzSelectMode)("ant-select-tree-indent",t.nzSelectMode))},inputs:{nzSelectMode:"nzSelectMode",nzTreeLevel:"nzTreeLevel",nzIsStart:"nzIsStart",nzIsEnd:"nzIsEnd"},exportAs:["nzTreeIndent"],features:[i.Bb],decls:1,vars:1,consts:[[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"]],template:function(e,t){1&e&&i.Lc(0,Hj,1,1,"span",0),2&e&&i.sc("ngForOf",t.listOfUnit)},directives:[Vr.s,Vr.q],encapsulation:2,changeDetection:0}),e}(),mI=function(){function e(){this.nzSelectMode=!1}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-tree-node-checkbox"]],hostVars:16,hostBindings:function(e,t){2&e&&i.Jb("ant-select-tree-checkbox",t.nzSelectMode)("ant-select-tree-checkbox-checked",t.nzSelectMode&&t.isChecked)("ant-select-tree-checkbox-indeterminate",t.nzSelectMode&&t.isHalfChecked)("ant-select-tree-checkbox-disabled",t.nzSelectMode&&(t.isDisabled||t.isDisableCheckbox))("ant-tree-checkbox",!t.nzSelectMode)("ant-tree-checkbox-checked",!t.nzSelectMode&&t.isChecked)("ant-tree-checkbox-indeterminate",!t.nzSelectMode&&t.isHalfChecked)("ant-tree-checkbox-disabled",!t.nzSelectMode&&(t.isDisabled||t.isDisableCheckbox))},inputs:{nzSelectMode:"nzSelectMode",isChecked:"isChecked",isHalfChecked:"isHalfChecked",isDisabled:"isDisabled",isDisableCheckbox:"isDisableCheckbox"},decls:1,vars:4,template:function(e,t){1&e&&i.Ub(0,"span"),2&e&&i.Jb("ant-tree-checkbox-inner",!t.nzSelectMode)("ant-select-tree-checkbox-inner",t.nzSelectMode)},encapsulation:2,changeDetection:0}),e}(),vI=function(){function e(){this.nzSelectMode=!1}return Object.defineProperty(e.prototype,"isShowLineIcon",{get:function(){return!this.isLeaf&&!!this.nzShowLine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isShowSwitchIcon",{get:function(){return!this.isLeaf&&!this.nzShowLine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSwitcherOpen",{get:function(){return!!this.isExpanded&&!this.isLeaf},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSwitcherClose",{get:function(){return!this.isExpanded&&!this.isLeaf},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-tree-node-switcher"]],hostVars:16,hostBindings:function(e,t){2&e&&i.Jb("ant-select-tree-switcher",t.nzSelectMode)("ant-select-tree-switcher-noop",t.nzSelectMode&&t.isLeaf)("ant-select-tree-switcher_open",t.nzSelectMode&&t.isSwitcherOpen)("ant-select-tree-switcher_close",t.nzSelectMode&&t.isSwitcherClose)("ant-tree-switcher",!t.nzSelectMode)("ant-tree-switcher-noop",!t.nzSelectMode&&t.isLeaf)("ant-tree-switcher_open",!t.nzSelectMode&&t.isSwitcherOpen)("ant-tree-switcher_close",!t.nzSelectMode&&t.isSwitcherClose)},inputs:{nzSelectMode:"nzSelectMode",nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzExpandedIcon:"nzExpandedIcon",context:"context",isLeaf:"isLeaf",isLoading:"isLoading",isExpanded:"isExpanded"},decls:4,vars:2,consts:[[4,"ngIf"],["loadingTemplate",""],[4,"ngIf","ngIfElse"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-icon","","nzType","caret-down"],["nz-icon","","class","ant-tree-switcher-line-icon",3,"nzType",4,"ngIf"],["nz-icon","","nzType","file","class","ant-tree-switcher-line-icon",4,"ngIf"],["nz-icon","",1,"ant-tree-switcher-line-icon",3,"nzType"],["nz-icon","","nzType","file",1,"ant-tree-switcher-line-icon"],["nz-icon","","nzType","loading",1,"ant-tree-switcher-loading-icon",3,"nzSpin"]],template:function(e,t){1&e&&(i.Lc(0,$j,2,2,"ng-container",0),i.Lc(1,Jj,2,2,"ng-container",0),i.Lc(2,eI,1,1,"ng-template",null,1,i.Mc)),2&e&&(i.sc("ngIf",t.isShowSwitchIcon),i.Db(1),i.sc("ngIf",t.nzShowLine))},directives:[Vr.t,Es.b,Ns.a],encapsulation:2,changeDetection:0}),e}(),yI=function(){function e(){this.treeTemplate=null,this.selectMode=!1}return Object.defineProperty(e.prototype,"canDraggable",{get:function(){return!(!this.draggable||this.isDisabled)||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matchedValue",{get:function(){return this.isMatched?this.searchValue:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSwitcherOpen",{get:function(){return this.isExpanded&&!this.isLeaf},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSwitcherClose",{get:function(){return!this.isExpanded&&!this.isLeaf},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-tree-node-title"]],hostVars:21,hostBindings:function(e,t){2&e&&(i.Eb("title",t.title)("draggable",t.canDraggable)("aria-grabbed",t.canDraggable),i.Jb("draggable",t.canDraggable)("ant-select-tree-node-content-wrapper",t.selectMode)("ant-select-tree-node-content-wrapper-open",t.selectMode&&t.isSwitcherOpen)("ant-select-tree-node-content-wrapper-close",t.selectMode&&t.isSwitcherClose)("ant-select-tree-node-selected",t.selectMode&&t.isSelected)("ant-tree-node-content-wrapper",!t.selectMode)("ant-tree-node-content-wrapper-open",!t.selectMode&&t.isSwitcherOpen)("ant-tree-node-content-wrapper-close",!t.selectMode&&t.isSwitcherClose)("ant-tree-node-selected",!t.selectMode&&t.isSelected))},inputs:{treeTemplate:"treeTemplate",selectMode:"selectMode",searchValue:"searchValue",draggable:"draggable",showIcon:"showIcon",context:"context",icon:"icon",title:"title",isLoading:"isLoading",isSelected:"isSelected",isDisabled:"isDisabled",isMatched:"isMatched",isExpanded:"isExpanded",isLeaf:"isLeaf"},decls:2,vars:6,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[3,"ant-tree-icon__open","ant-tree-icon__close","ant-tree-icon_loading","ant-select-tree-iconEle","ant-tree-iconEle",4,"ngIf"],[1,"ant-tree-title",3,"innerHTML"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"]],template:function(e,t){1&e&&(i.Lc(0,tI,0,0,"ng-template",0),i.Lc(1,rI,4,7,"ng-container",1)),2&e&&(i.sc("ngTemplateOutlet",t.treeTemplate)("ngTemplateOutletContext",i.wc(3,qj,t.context,t.context.origin)),i.Db(1),i.sc("ngIf",!t.treeTemplate))},directives:[Vr.A,Vr.t,Ns.a],pipes:[dy],encapsulation:2,changeDetection:0}),e}(),wI=function(){function e(e,t,n,r,o,a){this.nzTreeService=e,this.ngZone=t,this.renderer=n,this.elementRef=r,this.cdr=o,this.noAnimation=a,this.icon="",this.title="",this.isLoading=!1,this.isSelected=!1,this.isDisabled=!1,this.isMatched=!1,this.nzHideUnMatched=!1,this.nzNoAnimation=!1,this.nzSelectMode=!1,this.nzShowIcon=!1,this.nzTreeTemplate=null,this.nzSearchValue="",this.nzDraggable=!1,this.nzClick=new i.n,this.nzDblClick=new i.n,this.nzContextMenu=new i.n,this.nzCheckBoxChange=new i.n,this.nzExpandChange=new i.n,this.nzOnDragStart=new i.n,this.nzOnDragEnter=new i.n,this.nzOnDragOver=new i.n,this.nzOnDragLeave=new i.n,this.nzOnDrop=new i.n,this.nzOnDragEnd=new i.n,this.destroy$=new kt.a,this.dragPos=2,this.dragPosClass={0:"drag-over",1:"drag-over-gap-bottom","-1":"drag-over-gap-top"}}return Object.defineProperty(e.prototype,"displayStyle",{get:function(){return this.nzSearchValue&&this.nzHideUnMatched&&!this.isMatched&&!this.isExpanded&&this.canHide?"none":""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSwitcherOpen",{get:function(){return this.isExpanded&&!this.isLeaf},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSwitcherClose",{get:function(){return!this.isExpanded&&!this.isLeaf},enumerable:!0,configurable:!0}),e.prototype.onMousedown=function(e){this.nzSelectMode&&e.preventDefault()},e.prototype.clickExpand=function(e){e.preventDefault(),this.isLoading||this.isLeaf||(this.nzAsyncData&&0===this.nzTreeNode.children.length&&!this.isExpanded&&(this.nzTreeNode.isLoading=!0),this.nzTreeNode.setExpanded(!this.isExpanded)),this.nzTreeService.setExpandedNodeList(this.nzTreeNode);var t=this.nzTreeService.formatEvent("expand",this.nzTreeNode,e);this.nzExpandChange.emit(t)},e.prototype.clickSelect=function(e){e.preventDefault(),this.isSelectable&&!this.isDisabled&&(this.nzTreeNode.isSelected=!this.nzTreeNode.isSelected),this.nzTreeService.setSelectedNodeList(this.nzTreeNode);var t=this.nzTreeService.formatEvent("click",this.nzTreeNode,e);this.nzClick.emit(t)},e.prototype.dblClick=function(e){e.preventDefault();var t=this.nzTreeService.formatEvent("dblclick",this.nzTreeNode,e);this.nzDblClick.emit(t)},e.prototype.contextMenu=function(e){e.preventDefault();var t=this.nzTreeService.formatEvent("contextmenu",this.nzTreeNode,e);this.nzContextMenu.emit(t)},e.prototype.clickCheckBox=function(e){if(e.preventDefault(),!this.isDisabled&&!this.isDisableCheckbox){this.nzTreeNode.isChecked=!this.nzTreeNode.isChecked,this.nzTreeNode.isHalfChecked=!1,this.nzTreeService.setCheckedNodeList(this.nzTreeNode);var t=this.nzTreeService.formatEvent("check",this.nzTreeNode,e);this.nzCheckBoxChange.emit(t)}},e.prototype.clearDragClass=function(){var e=this;["drag-over-gap-top","drag-over-gap-bottom","drag-over"].forEach((function(t){e.renderer.removeClass(e.elementRef.nativeElement,t)}))},e.prototype.handleDragStart=function(e){try{e.dataTransfer.setData("text/plain",this.nzTreeNode.key)}catch(n){}this.nzTreeService.setSelectedNode(this.nzTreeNode);var t=this.nzTreeService.formatEvent("dragstart",this.nzTreeNode,e);this.nzOnDragStart.emit(t)},e.prototype.handleDragEnter=function(e){var t=this;e.preventDefault(),this.dragPos=2,this.ngZone.run((function(){var n=t.nzTreeService.formatEvent("dragenter",t.nzTreeNode,e);t.nzOnDragEnter.emit(n)}))},e.prototype.handleDragOver=function(e){e.preventDefault();var t=this.nzTreeService.calcDropPosition(e);this.dragPos!==t&&(this.clearDragClass(),this.dragPos=t,0===this.dragPos&&this.isLeaf||this.renderer.addClass(this.elementRef.nativeElement,this.dragPosClass[this.dragPos]));var n=this.nzTreeService.formatEvent("dragover",this.nzTreeNode,e);this.nzOnDragOver.emit(n)},e.prototype.handleDragLeave=function(e){e.preventDefault(),this.clearDragClass();var t=this.nzTreeService.formatEvent("dragleave",this.nzTreeNode,e);this.nzOnDragLeave.emit(t)},e.prototype.handleDragDrop=function(e){var t=this;this.ngZone.run((function(){t.clearDragClass();var n=t.nzTreeService.getSelectedNode();if(!(!n||n&&n.key===t.nzTreeNode.key||0===t.dragPos&&t.isLeaf)){var i=t.nzTreeService.formatEvent("drop",t.nzTreeNode,e),r=t.nzTreeService.formatEvent("dragend",t.nzTreeNode,e);t.nzBeforeDrop?t.nzBeforeDrop({dragNode:t.nzTreeService.getSelectedNode(),node:t.nzTreeNode,pos:t.dragPos}).subscribe((function(e){e&&t.nzTreeService.dropAndApply(t.nzTreeNode,t.dragPos),t.nzOnDrop.emit(i),t.nzOnDragEnd.emit(r)})):t.nzTreeNode&&(t.nzTreeService.dropAndApply(t.nzTreeNode,t.dragPos),t.nzOnDrop.emit(i))}}))},e.prototype.handleDragEnd=function(e){var t=this;e.preventDefault(),this.ngZone.run((function(){if(!t.nzBeforeDrop){var n=t.nzTreeService.formatEvent("dragend",t.nzTreeNode,e);t.nzOnDragEnd.emit(n)}}))},e.prototype.handDragEvent=function(){var e=this;this.ngZone.runOutsideAngular((function(){if(e.nzDraggable){var t=e.elementRef.nativeElement;e.destroy$=new kt.a,Object(Cs.a)(t,"dragstart").pipe(Object(ss.a)(e.destroy$)).subscribe((function(t){return e.handleDragStart(t)})),Object(Cs.a)(t,"dragenter").pipe(Object(ss.a)(e.destroy$)).subscribe((function(t){return e.handleDragEnter(t)})),Object(Cs.a)(t,"dragover").pipe(Object(ss.a)(e.destroy$)).subscribe((function(t){return e.handleDragOver(t)})),Object(Cs.a)(t,"dragleave").pipe(Object(ss.a)(e.destroy$)).subscribe((function(t){return e.handleDragLeave(t)})),Object(Cs.a)(t,"drop").pipe(Object(ss.a)(e.destroy$)).subscribe((function(t){return e.handleDragDrop(t)})),Object(Cs.a)(t,"dragend").pipe(Object(ss.a)(e.destroy$)).subscribe((function(t){return e.handleDragEnd(t)}))}else e.destroy$.next(),e.destroy$.complete()}))},e.prototype.markForCheck=function(){this.cdr.markForCheck()},e.prototype.ngOnInit=function(){this.nzTreeNode.component=this},e.prototype.ngOnChanges=function(e){e.nzDraggable&&this.handDragEvent()},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzShowLine",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzShowExpand",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzCheckable",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],e.prototype,"nzAsyncData",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzHideUnMatched",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzNoAnimation",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzSelectMode",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowIcon",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Bj),i.Tb(i.z),i.Tb(i.E),i.Tb(i.l),i.Tb(i.h),i.Tb(ac.a,9))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-tree-node"]],hostVars:34,hostBindings:function(e,t){1&e&&i.hc("mousedown",(function(e){return t.onMousedown(e)})),2&e&&(i.Kc("display",t.displayStyle),i.Jb("ant-select-tree-treenode",t.nzSelectMode)("ant-select-tree-treenode-disabled",t.nzSelectMode&&t.isDisabled)("ant-select-tree-treenode-switcher-open",t.nzSelectMode&&t.isSwitcherOpen)("ant-select-tree-treenode-switcher-close",t.nzSelectMode&&t.isSwitcherClose)("ant-select-tree-treenode-checkbox-checked",t.nzSelectMode&&t.isChecked)("ant-select-tree-treenode-checkbox-indeterminate",t.nzSelectMode&&t.isHalfChecked)("ant-select-tree-treenode-selected",t.nzSelectMode&&t.isSelected)("ant-select-tree-treenode-loading",t.nzSelectMode&&t.isLoading)("ant-tree-treenode",!t.nzSelectMode)("ant-tree-treenode-disabled",!t.nzSelectMode&&t.isDisabled)("ant-tree-treenode-switcher-open",!t.nzSelectMode&&t.isSwitcherOpen)("ant-tree-treenode-switcher-close",!t.nzSelectMode&&t.isSwitcherClose)("ant-tree-treenode-checkbox-checked",!t.nzSelectMode&&t.isChecked)("ant-tree-treenode-checkbox-indeterminate",!t.nzSelectMode&&t.isHalfChecked)("ant-tree-treenode-selected",!t.nzSelectMode&&t.isSelected)("ant-tree-treenode-loading",!t.nzSelectMode&&t.isLoading))},inputs:{icon:"icon",title:"title",isLoading:"isLoading",isSelected:"isSelected",isDisabled:"isDisabled",isMatched:"isMatched",nzHideUnMatched:"nzHideUnMatched",nzNoAnimation:"nzNoAnimation",nzSelectMode:"nzSelectMode",nzShowIcon:"nzShowIcon",nzTreeTemplate:"nzTreeTemplate",nzSearchValue:"nzSearchValue",nzDraggable:"nzDraggable",isExpanded:"isExpanded",isLeaf:"isLeaf",isChecked:"isChecked",isHalfChecked:"isHalfChecked",isDisableCheckbox:"isDisableCheckbox",isSelectable:"isSelectable",canHide:"canHide",isStart:"isStart",isEnd:"isEnd",nzTreeNode:"nzTreeNode",nzShowLine:"nzShowLine",nzShowExpand:"nzShowExpand",nzCheckable:"nzCheckable",nzAsyncData:"nzAsyncData",nzExpandedIcon:"nzExpandedIcon",nzBeforeDrop:"nzBeforeDrop"},outputs:{nzClick:"nzClick",nzDblClick:"nzDblClick",nzContextMenu:"nzContextMenu",nzCheckBoxChange:"nzCheckBoxChange",nzExpandChange:"nzExpandChange",nzOnDragStart:"nzOnDragStart",nzOnDragEnter:"nzOnDragEnter",nzOnDragOver:"nzOnDragOver",nzOnDragLeave:"nzOnDragLeave",nzOnDrop:"nzOnDrop",nzOnDragEnd:"nzOnDragEnd"},exportAs:["nzTreeNode"],features:[i.Bb],decls:4,vars:20,consts:[[3,"nzTreeLevel","nzSelectMode","nzIsStart","nzIsEnd"],[3,"nzShowExpand","nzShowLine","nzExpandedIcon","nzSelectMode","context","isLeaf","isExpanded","isLoading","click",4,"ngIf"],[3,"nzSelectMode","isChecked","isHalfChecked","isDisabled","isDisableCheckbox","click",4,"ngIf"],[3,"icon","title","isLoading","isSelected","isDisabled","isMatched","isExpanded","isLeaf","searchValue","treeTemplate","draggable","showIcon","selectMode","context","dblclick","click","contextmenu"],[3,"nzShowExpand","nzShowLine","nzExpandedIcon","nzSelectMode","context","isLeaf","isExpanded","isLoading","click"],[3,"nzSelectMode","isChecked","isHalfChecked","isDisabled","isDisableCheckbox","click"]],template:function(e,t){1&e&&(i.Ub(0,"nz-tree-indent",0),i.Lc(1,oI,1,8,"nz-tree-node-switcher",1),i.Lc(2,aI,1,5,"nz-tree-node-checkbox",2),i.Zb(3,"nz-tree-node-title",3),i.hc("dblclick",(function(e){return t.dblClick(e)}))("click",(function(e){return t.clickSelect(e)}))("contextmenu",(function(e){return t.contextMenu(e)})),i.Yb()),2&e&&(i.sc("nzTreeLevel",t.nzTreeNode.level)("nzSelectMode",t.nzSelectMode)("nzIsStart",t.isStart)("nzIsEnd",t.isEnd),i.Db(1),i.sc("ngIf",t.nzShowExpand),i.Db(1),i.sc("ngIf",t.nzCheckable),i.Db(1),i.sc("icon",t.icon)("title",t.title)("isLoading",t.isLoading)("isSelected",t.isSelected)("isDisabled",t.isDisabled)("isMatched",t.isMatched)("isExpanded",t.isExpanded)("isLeaf",t.isLeaf)("searchValue",t.nzSearchValue)("treeTemplate",t.nzTreeTemplate)("draggable",t.nzDraggable)("showIcon",t.nzShowIcon)("selectMode",t.nzSelectMode)("context",t.nzTreeNode))},directives:[bI,Vr.t,yI,vI,mI],encapsulation:2,changeDetection:0}),e}(),OI=function(e){function t(){return e.call(this)||this}return Object(zt.c)(t,e),t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Pb({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(Bj);function CI(e,t){return e||t}var SI=function(e){function t(t,n,r,o){var a=e.call(this,t)||this;return a.nzConfigService=n,a.cdr=r,a.noAnimation=o,a.nzShowIcon=!1,a.nzHideUnMatched=!1,a.nzBlockNode=!1,a.nzExpandAll=!1,a.nzSelectMode=!1,a.nzCheckStrictly=!1,a.nzShowExpand=!0,a.nzShowLine=!1,a.nzCheckable=!1,a.nzAsyncData=!1,a.nzDraggable=!1,a.nzMultiple=!1,a.nzVirtualItemSize=28,a.nzVirtualMaxBufferPx=500,a.nzVirtualMinBufferPx=28,a.nzVirtualHeight=null,a.nzData=[],a.nzExpandedKeys=[],a.nzSelectedKeys=[],a.nzCheckedKeys=[],a.nzFlattenNodes=[],a.beforeInit=!0,a.nzExpandedKeysChange=new i.n,a.nzSelectedKeysChange=new i.n,a.nzCheckedKeysChange=new i.n,a.nzSearchValueChange=new i.n,a.nzClick=new i.n,a.nzDblClick=new i.n,a.nzContextMenu=new i.n,a.nzCheckBoxChange=new i.n,a.nzExpandChange=new i.n,a.nzOnDragStart=new i.n,a.nzOnDragEnter=new i.n,a.nzOnDragOver=new i.n,a.nzOnDragLeave=new i.n,a.nzOnDrop=new i.n,a.nzOnDragEnd=new i.n,a.HIDDEN_STYLE={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},a.destroy$=new kt.a,a.onChange=function(){return null},a.onTouched=function(){return null},a}return Object(zt.c)(t,e),t.prototype.writeValue=function(e){this.handleNzData(e)},t.prototype.registerOnChange=function(e){this.onChange=e},t.prototype.registerOnTouched=function(e){this.onTouched=e},t.prototype.renderTreeProperties=function(e){var t=!1,n=!1,i=e.nzData,r=e.nzExpandedKeys,o=e.nzSelectedKeys,a=e.nzCheckedKeys,s=e.nzCheckStrictly,c=e.nzExpandAll,u=e.nzSearchValue;c&&(t=!0,n=this.nzExpandAll),e.nzMultiple&&(this.nzTreeService.isMultiple=this.nzMultiple),s&&(this.nzTreeService.isCheckStrictly=this.nzCheckStrictly),i&&this.handleNzData(this.nzData),(a||s)&&this.handleCheckedKeys(this.nzCheckedKeys),(r||c)&&(t=!0,this.handleExpandedKeys(n||this.nzExpandedKeys)),o&&this.handleSelectedKeys(this.nzSelectedKeys,this.nzMultiple),u&&(u.firstChange&&!this.nzSearchValue||(t=!1,this.handleSearchValue(u.currentValue,this.nzSearchFunc),this.nzSearchValueChange.emit(this.nzTreeService.formatEvent("search",null,null))));var l=this.getExpandedNodeList().map((function(e){return e.key}));this.handleFlattenNodes(this.nzTreeService.rootNodes,t?n||this.nzExpandedKeys:l)},t.prototype.trackByFlattenNode=function(e,t){return t.key},t.prototype.handleNzData=function(e){if(Array.isArray(e)){var t=this.coerceTreeNodes(e);this.nzTreeService.initTree(t)}},t.prototype.handleFlattenNodes=function(e,t){void 0===t&&(t=[]),this.nzTreeService.flattenTreeData(e,t)},t.prototype.handleCheckedKeys=function(e){this.nzTreeService.conductCheck(e,this.nzCheckStrictly)},t.prototype.handleExpandedKeys=function(e){void 0===e&&(e=[]),this.nzTreeService.conductExpandedKeys(e)},t.prototype.handleSelectedKeys=function(e,t){this.nzTreeService.conductSelectedKeys(e,t)},t.prototype.handleSearchValue=function(e,t){var n=this;Vj(this.nzTreeService.rootNodes,!0).map((function(e){return e.data})).forEach((function(i){var r;i.isMatched=(r=i,t?t(r.origin):!(!e||!r.title.toLowerCase().includes(e.toLowerCase()))),i.canHide=!i.isMatched,i.isMatched?n.nzTreeService.expandNodeAllParentBySearch(i):(i.setExpanded(!1),n.nzTreeService.setExpandedNodeList(i)),n.nzTreeService.setMatchedNodeList(i)}))},t.prototype.eventTriggerChanged=function(e){var t=e.node;switch(e.eventName){case"expand":this.renderTree(),this.nzExpandChange.emit(e);break;case"click":this.nzClick.emit(e);break;case"dblclick":this.nzDblClick.emit(e);break;case"contextmenu":this.nzContextMenu.emit(e);break;case"check":this.nzTreeService.setCheckedNodeList(t),this.nzCheckStrictly||this.nzTreeService.conduct(t);var n=this.nzTreeService.formatEvent("check",t,e.event);this.nzCheckBoxChange.emit(n);break;case"dragstart":t.isExpanded&&(t.setExpanded(!t.isExpanded),this.renderTree()),this.nzOnDragStart.emit(e);break;case"dragenter":var i=this.nzTreeService.getSelectedNode();!i||i.key===t.key||t.isExpanded||t.isLeaf||(t.setExpanded(!0),this.renderTree()),this.nzOnDragEnter.emit(e);break;case"dragover":this.nzOnDragOver.emit(e);break;case"dragleave":this.nzOnDragLeave.emit(e);break;case"dragend":this.nzOnDragEnd.emit(e);break;case"drop":this.renderTree(),this.nzOnDrop.emit(e)}},t.prototype.renderTree=function(){this.handleFlattenNodes(this.nzTreeService.rootNodes,this.getExpandedNodeList().map((function(e){return e.key}))),this.cdr.markForCheck()},t.prototype.ngOnInit=function(){var e=this;this.nzTreeService.flattenNodes$.pipe(Object(ss.a)(this.destroy$)).subscribe((function(t){e.nzFlattenNodes=t,e.cdr.markForCheck()}))},t.prototype.ngOnChanges=function(e){this.renderTreeProperties(e)},t.prototype.ngAfterViewInit=function(){this.beforeInit=!1},t.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},Object(zt.b)([Object(es.a)(),Object(Qa.b)("tree"),Object(zt.d)("design:type",Boolean)],t.prototype,"nzShowIcon",void 0),Object(zt.b)([Object(es.a)(),Object(Qa.b)("tree"),Object(zt.d)("design:type",Boolean)],t.prototype,"nzHideUnMatched",void 0),Object(zt.b)([Object(es.a)(),Object(Qa.b)("tree"),Object(zt.d)("design:type",Boolean)],t.prototype,"nzBlockNode",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzExpandAll",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzSelectMode",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzCheckStrictly",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzShowExpand",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzShowLine",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzCheckable",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzAsyncData",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzDraggable",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzMultiple",void 0),t.\u0275fac=function(e){return new(e||t)(i.Tb(Bj),i.Tb(Qa.a),i.Tb(i.h),i.Tb(ac.a,9))},t.\u0275cmp=i.Nb({type:t,selectors:[["nz-tree"]],contentQueries:function(e,t,n){var r;1&e&&i.Ic(n,sI,!0),2&e&&i.zc(r=i.ic())&&(t.nzTreeTemplateChild=r.first)},viewQuery:function(e,t){var n;1&e&&i.Sc(Rb.c,!0,Rb.c),2&e&&i.zc(n=i.ic())&&(t.cdkVirtualScrollViewport=n.first)},hostVars:18,hostBindings:function(e,t){2&e&&i.Jb("ant-select-tree",t.nzSelectMode)("ant-select-tree-show-line",t.nzSelectMode&&t.nzShowLine)("ant-select-tree-icon-hide",t.nzSelectMode&&!t.nzShowIcon)("ant-select-tree-block-node",t.nzSelectMode&&t.nzBlockNode)("ant-tree",!t.nzSelectMode)("ant-tree-show-line",!t.nzSelectMode&&t.nzShowLine)("ant-tree-icon-hide",!t.nzSelectMode&&!t.nzShowIcon)("ant-tree-block-node",!t.nzSelectMode&&t.nzBlockNode)("draggable-tree",t.nzDraggable)},inputs:{nzShowIcon:"nzShowIcon",nzHideUnMatched:"nzHideUnMatched",nzBlockNode:"nzBlockNode",nzExpandAll:"nzExpandAll",nzSelectMode:"nzSelectMode",nzCheckStrictly:"nzCheckStrictly",nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzCheckable:"nzCheckable",nzAsyncData:"nzAsyncData",nzDraggable:"nzDraggable",nzMultiple:"nzMultiple",nzExpandedIcon:"nzExpandedIcon",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualHeight:"nzVirtualHeight",nzTreeTemplate:"nzTreeTemplate",nzBeforeDrop:"nzBeforeDrop",nzData:"nzData",nzExpandedKeys:"nzExpandedKeys",nzSelectedKeys:"nzSelectedKeys",nzCheckedKeys:"nzCheckedKeys",nzSearchValue:"nzSearchValue",nzSearchFunc:"nzSearchFunc"},outputs:{nzExpandedKeysChange:"nzExpandedKeysChange",nzSelectedKeysChange:"nzSelectedKeysChange",nzCheckedKeysChange:"nzCheckedKeysChange",nzSearchValueChange:"nzSearchValueChange",nzClick:"nzClick",nzDblClick:"nzDblClick",nzContextMenu:"nzContextMenu",nzCheckBoxChange:"nzCheckBoxChange",nzExpandChange:"nzExpandChange",nzOnDragStart:"nzOnDragStart",nzOnDragEnter:"nzOnDragEnter",nzOnDragOver:"nzOnDragOver",nzOnDragLeave:"nzOnDragLeave",nzOnDrop:"nzOnDrop",nzOnDragEnd:"nzOnDragEnd"},exportAs:["nzTree"],features:[i.Cb([OI,{provide:Bj,useFactory:CI,deps:[[new i.K,new i.A,Yj],OI]},{provide:Ot.m,useExisting:Object(i.V)((function(){return t})),multi:!0}]),i.Ab,i.Bb],decls:19,vars:7,consts:[["role","tree"],[3,"ngStyle"],[3,"ant-select-tree-list-holder-inner","ant-tree-list-holder-inner","itemSize","minBufferPx","maxBufferPx","height",4,"ngIf"],[3,"ant-select-tree-list-holder-inner","ant-tree-list-holder-inner","nzNoAnimation",4,"ngIf"],["nodeTemplate",""],[3,"itemSize","minBufferPx","maxBufferPx"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"nzNoAnimation"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"icon","title","isLoading","isSelected","isDisabled","isMatched","isExpanded","isLeaf","isStart","isEnd","isChecked","isHalfChecked","isDisableCheckbox","isSelectable","canHide","nzTreeNode","nzSelectMode","nzShowLine","nzExpandedIcon","nzDraggable","nzCheckable","nzShowExpand","nzAsyncData","nzSearchValue","nzHideUnMatched","nzBeforeDrop","nzShowIcon","nzTreeTemplate","nzExpandChange","nzClick","nzDblClick","nzContextMenu","nzCheckBoxChange","nzOnDragStart","nzOnDragEnter","nzOnDragOver","nzOnDragLeave","nzOnDragEnd","nzOnDrop"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",0),i.Nc(2,"\n "),i.Ub(3,"input",1),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"div"),i.Nc(7,"\n "),i.Zb(8,"div"),i.Nc(9,"\n "),i.Lc(10,pI,4,11,"cdk-virtual-scroll-viewport",2),i.Nc(11,"\n\n "),i.Lc(12,fI,4,9,"div",3),i.Nc(13,"\n "),i.Yb(),i.Nc(14,"\n "),i.Yb(),i.Nc(15,"\n "),i.Lc(16,gI,4,28,"ng-template",null,4,i.Mc),i.Nc(18,"\n ")),2&e&&(i.Db(3),i.sc("ngStyle",t.HIDDEN_STYLE),i.Db(3),i.Jb("ant-select-tree-list",t.nzSelectMode)("ant-tree-list",t.nzSelectMode),i.Db(4),i.sc("ngIf",t.nzVirtualHeight),i.Db(2),i.sc("ngIf",!t.nzVirtualHeight))},directives:[Vr.w,Vr.t,Rb.c,Rb.a,Rb.b,Vr.A,ac.a,Vr.s,wI],encapsulation:2,data:{animation:[xs.h]},changeDetection:0}),t}(Uj),zI=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Es.a,Ns.b,ac.b,fy,Rb.e]]}),e}(),TI=["nzTreeTemplate"],_I=["treeRef"];function kI(e,t){if(1&e&&(i.Zb(0,"span",11),i.Nc(1,"\n "),i.Ub(2,"nz-embed-empty",12),i.Nc(3,"\n "),i.Yb()),2&e){var n=i.kc(2);i.Db(2),i.sc("nzComponentName","tree-select")("specificContent",n.nzNotFoundContent)}}var DI=function(){return[]};function xI(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"div",7),i.Nc(2,"\n "),i.Zb(3,"nz-tree",8,9),i.hc("nzExpandChange",(function(e){return i.Dc(n),i.kc().onExpandedKeysChange(e)}))("nzClick",(function(e){return i.Dc(n),i.kc().nzTreeClick.emit(e)}))("nzCheckedKeysChange",(function(){return i.Dc(n),i.kc().updateSelectedNodes()}))("nzSelectedKeysChange",(function(){return i.Dc(n),i.kc().updateSelectedNodes()}))("nzCheckBoxChange",(function(e){return i.Dc(n),i.kc().nzTreeCheckBoxChange.emit(e)}))("nzSearchValueChange",(function(e){return i.Dc(n),i.kc().setSearchValues(e)})),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n "),i.Lc(7,kI,4,2,"span",10),i.Nc(8,"\n "),i.Yb(),i.Nc(9,"\n ")}if(2&e){var r=i.kc();i.Db(1),i.Jb("ant-select-dropdown-placement-bottomLeft","bottom"===r.dropDownPosition)("ant-select-dropdown-placement-topLeft","top"===r.dropDownPosition),i.sc("ngClass",r.dropdownClassName)("@slideMotion",r.nzOpen?r.dropDownPosition:"void")("@.disabled",null==r.noAnimation?null:r.noAnimation.nzNoAnimation)("nzNoAnimation",null==r.noAnimation?null:r.noAnimation.nzNoAnimation)("ngStyle",r.nzDropdownStyle),i.Db(2),i.sc("hidden",r.isNotFound)("nzData",r.nzNodes)("nzMultiple",r.nzMultiple)("nzSearchValue",r.inputValue)("nzHideUnMatched",r.nzHideUnMatched)("nzShowIcon",r.nzShowIcon)("nzCheckable",r.nzCheckable)("nzAsyncData",r.nzAsyncData)("nzShowExpand",r.nzShowExpand)("nzShowLine",r.nzShowLine)("nzExpandedIcon",r.nzExpandedIcon)("nzExpandAll",r.nzDefaultExpandAll)("nzExpandedKeys",r.expandedKeys)("nzCheckedKeys",r.nzCheckable?r.value:i.uc(27,DI))("nzSelectedKeys",r.nzCheckable?i.uc(28,DI):r.value)("nzTreeTemplate",r.treeTemplate)("nzCheckStrictly",r.nzCheckStrictly),i.Db(4),i.sc("ngIf",0===r.nzNodes.length||r.isNotFound)}}function EI(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-select-item",15),i.hc("@zoomMotion.done",(function(){return i.Dc(n),i.kc(2).updatePosition()}))("delete",(function(){i.Dc(n);var e=t.$implicit;return i.kc(2).removeSelected(e,!0)})),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc(2);i.sc("@zoomMotion",void 0)("@.disabled",null==o.noAnimation?null:o.noAnimation.nzNoAnimation)("nzNoAnimation",null==o.noAnimation?null:o.noAnimation.nzNoAnimation)("deletable",!0)("disabled",r.isDisabled||o.nzDisabled)("label",o.nzDisplayWith(r))}}function NI(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-select-item",16),i.hc("@zoomMotion.done",(function(){return i.Dc(n),i.kc(2).updatePosition()})),i.lc(1,"slice"),i.Yb()}if(2&e){var r=i.kc(2);i.sc("@zoomMotion",void 0)("@.disabled",null==r.noAnimation?null:r.noAnimation.nzNoAnimation)("nzNoAnimation",null==r.noAnimation?null:r.noAnimation.nzNoAnimation)("contentTemplateOutlet",r.nzMaxTagPlaceholder)("contentTemplateOutletContext",i.nc(1,8,r.selectedNodes,r.nzMaxTagCount))("deletable",!1)("disabled",!1)("label","+ "+(r.selectedNodes.length-r.nzMaxTagCount)+" ...")}}function jI(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Lc(2,EI,1,6,"nz-select-item",13),i.lc(3,"slice"),i.Nc(4,"\n\n "),i.Lc(5,NI,2,11,"nz-select-item",14),i.Nc(6,"\n "),i.Wb()),2&e){var n=i.kc();i.Db(2),i.sc("ngForOf",i.oc(3,3,n.selectedNodes,0,n.nzMaxTagCount))("ngForTrackBy",n.trackValue),i.Db(3),i.sc("ngIf",n.selectedNodes.length>n.nzMaxTagCount)}}function II(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-select-search",17),i.hc("keydown",(function(e){return i.Dc(n),i.kc().onKeyDownInput(e)}))("isComposingChange",(function(e){return i.Dc(n),i.kc().isComposing=e}))("valueChange",(function(e){return i.Dc(n),i.kc().setInputValue(e)})),i.Nc(1,"\n "),i.Yb()}if(2&e){var r=i.kc();i.sc("value",r.inputValue)("mirrorSync",r.isMultiple)("disabled",r.nzDisabled)("showInput",r.nzOpen)}}function AI(e,t){if(1&e&&(i.Zb(0,"nz-select-placeholder",18),i.Nc(1,"\n "),i.Yb()),2&e){var n=i.kc();i.Kc("display",n.placeHolderDisplay),i.sc("placeholder",n.nzPlaceHolder)}}function MI(e,t){if(1&e&&i.Ub(0,"nz-select-item",19),2&e){var n=i.kc();i.sc("deletable",!1)("disabled",!1)("label",n.nzDisplayWith(n.selectedNodes[0]))}}function LI(e,t){1&e&&i.Ub(0,"nz-select-arrow")}function PI(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-select-clear",20),i.hc("clear",(function(){return i.Dc(n),i.kc().onClearSelection()})),i.Yb()}}var FI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(zt.c)(t,e),t.\u0275fac=function(e){return n(e||t)},t.\u0275prov=i.Pb({token:t,factory:function(e){return t.\u0275fac(e)}});var n=i.bc(t);return t}(Bj);function RI(e){return e.get(FI)}var VI=function(e){function t(t,n,r,o,a,s){var c=e.call(this,t)||this;return c.nzConfigService=n,c.renderer=r,c.cdr=o,c.elementRef=a,c.noAnimation=s,c.nzAllowClear=!0,c.nzShowExpand=!0,c.nzShowLine=!1,c.nzDropdownMatchSelectWidth=!0,c.nzCheckable=!1,c.nzHideUnMatched=!1,c.nzShowIcon=!1,c.nzShowSearch=!1,c.nzDisabled=!1,c.nzAsyncData=!1,c.nzMultiple=!1,c.nzDefaultExpandAll=!1,c.nzCheckStrictly=!1,c.nzNodes=[],c.nzOpen=!1,c.nzSize="default",c.nzPlaceHolder="",c.nzDropdownStyle=null,c.nzDisplayWith=function(e){return e.title},c.nzMaxTagPlaceholder=null,c.nzOpenChange=new i.n,c.nzCleared=new i.n,c.nzRemoved=new i.n,c.nzExpandChange=new i.n,c.nzTreeClick=new i.n,c.nzTreeCheckBoxChange=new i.n,c.dropdownClassName="ant-select-dropdown ant-select-tree-dropdown",c.isComposing=!1,c.isDestroy=!0,c.isNotFound=!1,c.inputValue="",c.dropDownPosition="bottom",c.selectedNodes=[],c.expandedKeys=[],c.value=[],c.onChange=function(e){},c.onTouched=function(){},c.renderer.addClass(c.elementRef.nativeElement,"ant-select"),c.renderer.addClass(c.elementRef.nativeElement,"ant-tree-select"),c}return Object(zt.c)(t,e),Object.defineProperty(t.prototype,"nzExpandedKeys",{get:function(){return this.expandedKeys},set:function(e){this.expandedKeys=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"treeTemplate",{get:function(){return this.nzTreeTemplate||this.nzTreeTemplateChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placeHolderDisplay",{get:function(){return this.inputValue||this.isComposing||this.selectedNodes.length?"none":"block"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isMultiple",{get:function(){return this.nzMultiple||this.nzCheckable},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.isDestroy=!1,this.selectionChangeSubscription=this.subscribeSelectionChange()},t.prototype.ngOnDestroy=function(){this.isDestroy=!0,this.closeDropDown(),this.selectionChangeSubscription.unsubscribe()},t.prototype.setDisabledState=function(e){this.nzDisabled=e,this.closeDropDown()},t.prototype.ngOnChanges=function(e){var t=e.nzDropdownClassName;if(e.nzNodes&&this.updateSelectedNodes(!0),t){var n=this.nzDropdownClassName&&this.nzDropdownClassName.trim();this.dropdownClassName=n?"ant-select-dropdown ant-select-tree-dropdown "+n:"ant-select-dropdown ant-select-tree-dropdown"}},t.prototype.writeValue=function(e){var t=this;Object(es.p)(e)?(this.value=this.isMultiple&&Array.isArray(e)?e:[e],this.updateSelectedNodes(!0)):(this.value=[],this.selectedNodes.forEach((function(e){t.removeSelected(e,!1)})),this.selectedNodes=[]),this.cdr.markForCheck()},t.prototype.registerOnChange=function(e){this.onChange=e},t.prototype.registerOnTouched=function(e){this.onTouched=e},t.prototype.trigger=function(){this.nzDisabled||!this.nzDisabled&&this.nzOpen?this.closeDropDown():(this.openDropdown(),(this.nzShowSearch||this.isMultiple)&&this.focusOnInput())},t.prototype.openDropdown=function(){this.nzDisabled||(this.nzOpen=!0,this.nzOpenChange.emit(this.nzOpen),this.updateCdkConnectedOverlayStatus(),this.updatePosition())},t.prototype.closeDropDown=function(){this.onTouched(),this.nzOpen=!1,this.inputValue="",this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck()},t.prototype.onKeyDownInput=function(e){this.isMultiple&&!e.target.value&&e.keyCode===Zr.b&&(e.preventDefault(),this.selectedNodes.length&&this.removeSelected(this.selectedNodes[this.selectedNodes.length-1]))},t.prototype.onExpandedKeysChange=function(e){this.nzExpandChange.emit(e),this.expandedKeys=Object(zt.g)(e.keys)},t.prototype.setInputValue=function(e){this.inputValue=e,this.updatePosition()},t.prototype.removeSelected=function(e,t){void 0===t&&(t=!0),e.isSelected=!1,e.isChecked=!1,this.nzCheckable?this.nzTreeService.conduct(e):this.nzTreeService.setSelectedNodeList(e,this.nzMultiple),t&&this.nzRemoved.emit(e)},t.prototype.focusOnInput=function(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()},t.prototype.subscribeSelectionChange=function(){var e=this;return Object(Tt.a)(this.nzTreeClick.pipe(Object($r.a)((function(t){var n=t.node;!e.nzCheckable||n.isDisabled||n.isDisableCheckbox||(n.isChecked=!n.isChecked,n.isHalfChecked=!1,e.nzCheckStrictly||e.nzTreeService.conduct(n)),e.nzCheckable&&(n.isSelected=!1)})),Object(Pt.a)((function(t){var n=t.node;return e.nzCheckable?!n.isDisabled&&!n.isDisableCheckbox:!n.isDisabled&&n.isSelectable}))),this.nzCheckable?this.nzTreeCheckBoxChange:Object(qr.a)(),this.nzCleared,this.nzRemoved).subscribe((function(){e.updateSelectedNodes();var t=e.selectedNodes.map((function(e){return e.key}));e.value=Object(zt.g)(t),(e.nzShowSearch||e.isMultiple)&&(e.inputValue="",e.isNotFound=!1),e.isMultiple?(e.onChange(t),e.focusOnInput(),e.updatePosition()):(e.closeDropDown(),e.onChange(t.length?t[0]:null))}))},t.prototype.updateSelectedNodes=function(e){if(void 0===e&&(e=!1),e){var t=this.coerceTreeNodes(this.nzNodes);this.nzTreeService.isMultiple=this.isMultiple,this.nzTreeService.isCheckStrictly=this.nzCheckStrictly,this.nzTreeService.initTree(t),this.nzCheckable?this.nzTreeService.conductCheck(this.value,this.nzCheckStrictly):this.nzTreeService.conductSelectedKeys(this.value,this.isMultiple)}this.selectedNodes=Object(zt.g)(this.nzCheckable?this.getCheckedNodeList():this.getSelectedNodeList())},t.prototype.updatePosition=function(){var e=this;setTimeout((function(){e.cdkConnectedOverlay&&e.cdkConnectedOverlay.overlayRef&&e.cdkConnectedOverlay.overlayRef.updatePosition()}))},t.prototype.onPositionChange=function(e){this.dropDownPosition=e.connectionPair.originY},t.prototype.onClearSelection=function(){var e=this;this.selectedNodes.forEach((function(t){e.removeSelected(t,!1)})),this.nzCleared.emit()},t.prototype.setSearchValues=function(e){var t=this;Promise.resolve().then((function(){t.isNotFound=(t.nzShowSearch||t.isMultiple)&&!!t.inputValue&&0===e.matchedKeys.length}))},t.prototype.updateCdkConnectedOverlayStatus=function(){this.triggerWidth=this.cdkOverlayOrigin.elementRef.nativeElement.getBoundingClientRect().width},t.prototype.trackValue=function(e,t){return t.key},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzAllowClear",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzShowExpand",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzShowLine",void 0),Object(zt.b)([Object(es.a)(),Object(Qa.b)("treeSelect"),Object(zt.d)("design:type",Boolean)],t.prototype,"nzDropdownMatchSelectWidth",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzCheckable",void 0),Object(zt.b)([Object(es.a)(),Object(Qa.b)("treeSelect"),Object(zt.d)("design:type",Boolean)],t.prototype,"nzHideUnMatched",void 0),Object(zt.b)([Object(es.a)(),Object(Qa.b)("treeSelect"),Object(zt.d)("design:type",Boolean)],t.prototype,"nzShowIcon",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Boolean)],t.prototype,"nzShowSearch",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzAsyncData",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzMultiple",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzDefaultExpandAll",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],t.prototype,"nzCheckStrictly",void 0),Object(zt.b)([Object(Qa.b)("treeSelect"),Object(zt.d)("design:type",String)],t.prototype,"nzSize",void 0),t.\u0275fac=function(e){return new(e||t)(i.Tb(FI),i.Tb(Qa.a),i.Tb(i.E),i.Tb(i.h),i.Tb(i.l),i.Tb(ac.a,9))},t.\u0275cmp=i.Nb({type:t,selectors:[["nz-tree-select"]],contentQueries:function(e,t,n){var r;1&e&&i.Ic(n,TI,!0),2&e&&i.zc(r=i.ic())&&(t.nzTreeTemplateChild=r.first)},viewQuery:function(e,t){var n;1&e&&(i.Sc(Gm,!0),i.Sc(_I,!0),i.Jc(Ur.b,!0),i.Sc(Ur.a,!0)),2&e&&(i.zc(n=i.ic())&&(t.nzSelectSearchComponent=n.first),i.zc(n=i.ic())&&(t.treeRef=n.first),i.zc(n=i.ic())&&(t.cdkOverlayOrigin=n.first),i.zc(n=i.ic())&&(t.cdkConnectedOverlay=n.first))},hostVars:20,hostBindings:function(e,t){1&e&&i.hc("click",(function(){return t.trigger()})),2&e&&i.Jb("ant-select-lg","large"===t.nzSize)("ant-select-sm","small"===t.nzSize)("ant-select-enabled",!t.nzDisabled)("ant-select-disabled",t.nzDisabled)("ant-select-single",!t.isMultiple)("ant-select-show-arrow",!t.isMultiple)("ant-select-show-search",!t.isMultiple)("ant-select-multiple",t.isMultiple)("ant-select-allow-clear",t.nzAllowClear)("ant-select-open",t.nzOpen)},inputs:{nzExpandedKeys:"nzExpandedKeys",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzAllowClear:"nzAllowClear",nzShowExpand:"nzShowExpand",nzShowLine:"nzShowLine",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzCheckable:"nzCheckable",nzHideUnMatched:"nzHideUnMatched",nzShowIcon:"nzShowIcon",nzShowSearch:"nzShowSearch",nzAsyncData:"nzAsyncData",nzMultiple:"nzMultiple",nzDefaultExpandAll:"nzDefaultExpandAll",nzCheckStrictly:"nzCheckStrictly",nzExpandedIcon:"nzExpandedIcon",nzNotFoundContent:"nzNotFoundContent",nzNodes:"nzNodes",nzSize:"nzSize",nzPlaceHolder:"nzPlaceHolder",nzDropdownStyle:"nzDropdownStyle",nzDropdownClassName:"nzDropdownClassName",nzDisplayWith:"nzDisplayWith",nzMaxTagCount:"nzMaxTagCount",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzTreeTemplate:"nzTreeTemplate"},outputs:{nzOpenChange:"nzOpenChange",nzCleared:"nzCleared",nzRemoved:"nzRemoved",nzExpandChange:"nzExpandChange",nzTreeClick:"nzTreeClick",nzTreeCheckBoxChange:"nzTreeCheckBoxChange"},exportAs:["nzTreeSelect"],features:[i.Cb([FI,{provide:Yj,useFactory:RI,deps:[[new i.J,i.r]]},{provide:Ot.m,useExisting:Object(i.V)((function(){return t})),multi:!0}]),i.Ab,i.Bb],decls:18,vars:11,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","backdropClick","detach","positionChange"],["cdkOverlayOrigin","",1,"ant-select-selector"],[4,"ngIf"],[3,"value","mirrorSync","disabled","showInput","keydown","isComposingChange","valueChange",4,"ngIf"],[3,"placeholder","display",4,"ngIf"],[3,"deletable","disabled","label",4,"ngIf"],[3,"clear",4,"ngIf"],[3,"ngClass","nzNoAnimation","ngStyle"],["nzNoAnimation","","nzSelectMode","",3,"hidden","nzData","nzMultiple","nzSearchValue","nzHideUnMatched","nzShowIcon","nzCheckable","nzAsyncData","nzShowExpand","nzShowLine","nzExpandedIcon","nzExpandAll","nzExpandedKeys","nzCheckedKeys","nzSelectedKeys","nzTreeTemplate","nzCheckStrictly","nzExpandChange","nzClick","nzCheckedKeysChange","nzSelectedKeysChange","nzCheckBoxChange","nzSearchValueChange"],["treeRef",""],["class","ant-select-not-found",4,"ngIf"],[1,"ant-select-not-found"],[3,"nzComponentName","specificContent"],[3,"nzNoAnimation","deletable","disabled","label","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzNoAnimation","contentTemplateOutlet","contentTemplateOutletContext","deletable","disabled","label",4,"ngIf"],[3,"nzNoAnimation","deletable","disabled","label","delete"],[3,"nzNoAnimation","contentTemplateOutlet","contentTemplateOutletContext","deletable","disabled","label"],[3,"value","mirrorSync","disabled","showInput","keydown","isComposingChange","valueChange"],[3,"placeholder"],[3,"deletable","disabled","label"],[3,"clear"]],template:function(e,t){1&e&&(i.Nc(0,"\n "),i.Lc(1,xI,10,29,"ng-template",0),i.hc("backdropClick",(function(){return t.closeDropDown()}))("detach",(function(){return t.closeDropDown()}))("positionChange",(function(e){return t.onPositionChange(e)})),i.Nc(2,"\n\n "),i.Zb(3,"div",1),i.Nc(4,"\n "),i.Lc(5,jI,7,7,"ng-container",2),i.Nc(6,"\n\n "),i.Lc(7,II,2,4,"nz-select-search",3),i.Nc(8,"\n\n "),i.Lc(9,AI,2,3,"nz-select-placeholder",4),i.Nc(10,"\n\n "),i.Lc(11,MI,1,3,"nz-select-item",5),i.Nc(12,"\n\n "),i.Lc(13,LI,1,0,"nz-select-arrow",2),i.Nc(14,"\n\n "),i.Lc(15,PI,1,0,"nz-select-clear",6),i.Nc(16,"\n "),i.Yb(),i.Nc(17,"\n ")),2&e&&(i.Db(1),i.sc("cdkConnectedOverlayOrigin",t.cdkOverlayOrigin)("cdkConnectedOverlayOpen",t.nzOpen)("cdkConnectedOverlayHasBackdrop",!0)("cdkConnectedOverlayMinWidth",t.nzDropdownMatchSelectWidth?null:t.triggerWidth)("cdkConnectedOverlayWidth",t.nzDropdownMatchSelectWidth?t.triggerWidth:null),i.Db(4),i.sc("ngIf",t.isMultiple),i.Db(2),i.sc("ngIf",t.nzShowSearch),i.Db(2),i.sc("ngIf",t.nzPlaceHolder&&0===t.selectedNodes.length),i.Db(2),i.sc("ngIf",!t.isMultiple&&1===t.selectedNodes.length),i.Db(2),i.sc("ngIf",!t.isMultiple),i.Db(2),i.sc("ngIf",t.nzAllowClear))},directives:[Ur.a,Nu.e,Ur.b,Vr.t,Vr.q,ac.a,Vr.w,SI,im,Vr.s,iv,Gm,rv,tv,nv],pipes:[Vr.F],encapsulation:2,data:{animation:[xs.g,xs.k]}}),t}(Uj),BI=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ur.i,Ot.j,ov,zI,Ns.b,cm,Nu.f,ac.b]]}),e}(),YI=function(){function e(e,t){this._document=t;var n=this._textarea=this._document.createElement("textarea"),i=n.style;i.opacity="0",i.position="absolute",i.left=i.top="-999em",n.setAttribute("aria-hidden","true"),n.value=e,this._document.body.appendChild(n)}return e.prototype.copy=function(){var e=this._textarea,t=!1;try{if(e){var n=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),t=this._document.execCommand("copy"),n&&n.focus()}}catch(i){}return t},e.prototype.destroy=function(){var e=this._textarea;e&&(e.parentNode&&e.parentNode.removeChild(e),this._textarea=void 0)},e}(),UI=function(){function e(e){this._document=e}return e.prototype.copy=function(e){var t=this.beginCopy(e),n=t.copy();return t.destroy(),n},e.prototype.beginCopy=function(e){return new YI(e,this._document)},e.\u0275prov=Object(i.Pb)({factory:function(){return new e(Object(i.dc)(Vr.e))},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(i.dc(Vr.e))},e}(),HI=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)}}),e}(),WI=["textarea"];function qI(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",2),i.hc("click",(function(){return i.Dc(n),i.kc().onClick()})),i.Ub(1,"i",3),i.Yb()}if(2&e){var r=i.kc();i.sc("nzTooltipTitle",null==r.locale?null:r.locale.edit)}}function ZI(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Zb(1,"textarea",4,5),i.hc("input",(function(e){return i.Dc(n),i.kc().onInput(e)}))("blur",(function(){return i.Dc(n),i.kc().confirm()}))("keydown.esc",(function(){return i.Dc(n),i.kc().onCancel()}))("keydown.enter",(function(e){return i.Dc(n),i.kc().onEnter(e)})),i.Nc(3," "),i.Yb(),i.Zb(4,"button",6),i.hc("click",(function(){return i.Dc(n),i.kc().confirm()})),i.Ub(5,"i",7),i.Yb(),i.Wb()}}var $I=["ellipsisContainer"],GI=["expandable"],QI=["contentTemplate"];function XI(e,t){1&e&&i.qc(0,0,["*ngIf","!content"])}function KI(e,t){if(1&e&&(i.Lc(0,XI,1,0,void 0,1),i.Nc(1)),2&e){var n=t.content;i.sc("ngIf",!n),i.Db(1),i.Pc(" ",n," ")}}function JI(e,t){}var eA=function(e){return{content:e}};function tA(e,t){if(1&e&&(i.Xb(0),i.Lc(1,JI,0,0,"ng-template",6),i.Wb()),2&e){var n=i.kc(2),r=i.Ac(1);i.Db(1),i.sc("ngTemplateOutlet",r)("ngTemplateOutletContext",i.vc(2,eA,n.nzContent))}}function nA(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Oc(n.ellipsisStr)}}function iA(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.Oc(n.nzSuffix)}}function rA(e,t){if(1&e){var n=i.ac();i.Zb(0,"a",9,10),i.hc("click",(function(){return i.Dc(n),i.kc(3).onExpand()})),i.Nc(2),i.Yb()}if(2&e){var r=i.kc(3);i.Db(2),i.Oc(null==r.locale?null:r.locale.expand)}}function oA(e,t){if(1&e&&(i.Ub(0,"span",null,7),i.Lc(2,nA,2,1,"ng-container",1),i.Lc(3,iA,2,1,"ng-container",1),i.Lc(4,rA,3,1,"a",8)),2&e){var n=i.kc(2);i.Db(2),i.sc("ngIf",n.isEllipsis),i.Db(1),i.sc("ngIf",n.nzSuffix),i.Db(1),i.sc("ngIf",n.nzExpandable&&n.isEllipsis)}}function aA(e,t){if(1&e&&(i.Xb(0),i.Lc(1,tA,2,4,"ng-container",4),i.Lc(2,oA,5,3,"ng-template",null,5,i.Mc),i.Wb()),2&e){var n=i.Ac(3),r=i.kc();i.Db(1),i.sc("ngIf",(r.expanded||!r.nzExpandable&&1===r.nzEllipsisRows||r.canCssEllipsis)&&!r.nzSuffix)("ngIfElse",n)}}function sA(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-text-edit",11),i.hc("endEditing",(function(e){return i.Dc(n),i.kc().onEndEditing(e)}))("startEditing",(function(){return i.Dc(n),i.kc().onStartEditing()})),i.Yb()}if(2&e){var r=i.kc();i.sc("text",r.nzContent)}}function cA(e,t){if(1&e){var n=i.ac();i.Zb(0,"nz-text-copy",12),i.hc("textCopy",(function(e){return i.Dc(n),i.kc().onTextCopy(e)})),i.Yb()}if(2&e){var r=i.kc();i.sc("text",r.copyText)}}var uA=["*"],lA=function(){function e(e,t,n,r){this.host=e,this.cdr=t,this.clipboard=n,this.i18n=r,this.copied=!1,this.copyId=-1,this.locale={},this.nativeElement=this.host.nativeElement,this.destroy$=new kt.a,this.textCopy=new i.n}return e.prototype.ngOnInit=function(){var e=this;this.i18n.localeChange.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.locale=e.i18n.getLocaleData("Text"),e.cdr.markForCheck()}))},e.prototype.ngOnDestroy=function(){clearTimeout(this.copyId),this.destroy$.next(),this.destroy$.complete()},e.prototype.onClick=function(){if(!this.copied){this.copied=!0,this.cdr.detectChanges();var e=this.text;this.textCopy.emit(e),this.clipboard.copy(e),this.onCopied()}},e.prototype.onCopied=function(){var e=this;clearTimeout(this.copyId),this.copyId=setTimeout((function(){e.copied=!1,e.cdr.detectChanges()}),3e3)},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.h),i.Tb(UI),i.Tb(Lp))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-text-copy"]],inputs:{text:"text"},outputs:{textCopy:"textCopy"},exportAs:["nzTextCopy"],decls:2,vars:4,consts:[["nz-tooltip","","nz-trans-button","",1,"ant-typography-copy",3,"nzTooltipTitle","click"],["nz-icon","",3,"nzType"]],template:function(e,t){1&e&&(i.Zb(0,"button",0),i.hc("click",(function(){return t.onClick()})),i.Ub(1,"i",1),i.Yb()),2&e&&(i.Jb("ant-typography-copy-success",t.copied),i.sc("nzTooltipTitle",t.copied?null==t.locale?null:t.locale.copied:null==t.locale?null:t.locale.copy),i.Db(1),i.sc("nzType",t.copied?"check":"copy"))},directives:[Cw,QT,Ns.a],encapsulation:2,changeDetection:0}),e}(),pA=function(){function e(e,t,n){this.host=e,this.cdr=t,this.i18n=n,this.editing=!1,this.locale={},this.destroy$=new kt.a,this.startEditing=new i.n,this.endEditing=new i.n,this.nativeElement=this.host.nativeElement}return e.prototype.ngOnInit=function(){var e=this;this.i18n.localeChange.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.locale=e.i18n.getLocaleData("Text"),e.cdr.markForCheck()}))},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},e.prototype.onClick=function(){this.beforeText=this.text,this.currentText=this.beforeText,this.editing=!0,this.startEditing.emit(),this.focusAndSetValue()},e.prototype.confirm=function(){this.editing=!1,this.endEditing.emit(this.currentText)},e.prototype.onInput=function(e){this.currentText=e.target.value},e.prototype.onEnter=function(e){e.stopPropagation(),e.preventDefault(),this.confirm()},e.prototype.onCancel=function(){this.currentText=this.beforeText,this.confirm()},e.prototype.focusAndSetValue=function(){var e=this;setTimeout((function(){var t;(null===(t=e.textarea)||void 0===t?void 0:t.nativeElement)&&(e.textarea.nativeElement.focus(),e.textarea.nativeElement.value=e.currentText||"",e.autosizeDirective.resizeToFitContent())}))},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l),i.Tb(i.h),i.Tb(Lp))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-text-edit"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(WI,!0),i.Sc(Dc,!0)),2&e&&(i.zc(n=i.ic())&&(t.textarea=n.first),i.zc(n=i.ic())&&(t.autosizeDirective=n.first))},inputs:{text:"text"},outputs:{startEditing:"startEditing",endEditing:"endEditing"},exportAs:["nzTextEdit"],decls:2,vars:2,consts:[["nz-tooltip","","nz-trans-button","","class","ant-typography-edit",3,"nzTooltipTitle","click",4,"ngIf"],[4,"ngIf"],["nz-tooltip","","nz-trans-button","",1,"ant-typography-edit",3,"nzTooltipTitle","click"],["nz-icon","","nzType","edit"],["nz-input","","nzAutosize","",3,"input","blur","keydown.esc","keydown.enter"],["textarea",""],["nz-trans-button","",1,"ant-typography-edit-content-confirm",3,"click"],["nz-icon","","nzType","enter"]],template:function(e,t){1&e&&(i.Lc(0,qI,2,1,"button",0),i.Lc(1,ZI,6,0,"ng-container",1)),2&e&&(i.sc("ngIf",!t.editing),i.Db(1),i.sc("ngIf",t.editing))},directives:[Vr.t,Cw,QT,Ns.a,Tc,Dc],encapsulation:2,changeDetection:0}),e}(),hA=function(){function e(e,t,n,r,o,a,s,c,u){this.nzConfigService=e,this.host=t,this.cdr=n,this.viewContainerRef=r,this.renderer=o,this.platform=a,this.i18n=s,this.resizeService=u,this.nzCopyable=!1,this.nzEditable=!1,this.nzDisabled=!1,this.nzExpandable=!1,this.nzEllipsis=!1,this.nzEllipsisRows=1,this.nzContentChange=new i.n,this.nzCopy=new i.n,this.nzExpandChange=new i.n,this.locale={},this.expandableBtnElementCache=null,this.editing=!1,this.cssEllipsis=!1,this.isEllipsis=!0,this.expanded=!1,this.ellipsisStr="...",this.viewInit=!1,this.rfaId=-1,this.destroy$=new kt.a,this.windowResizeSubscription=Ft.a.EMPTY,this.document=c}return Object.defineProperty(e.prototype,"canCssEllipsis",{get:function(){return this.nzEllipsis&&this.cssEllipsis&&!this.expanded},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copyText",{get:function(){return"string"==typeof this.nzCopyText?this.nzCopyText:this.nzContent},enumerable:!0,configurable:!0}),e.prototype.onTextCopy=function(e){this.nzCopy.emit(e)},e.prototype.onStartEditing=function(){this.editing=!0},e.prototype.onEndEditing=function(e){this.editing=!1,this.nzContentChange.emit(e),this.nzContent===e&&this.renderOnNextFrame()},e.prototype.onExpand=function(){this.isEllipsis=!1,this.expanded=!0,this.nzExpandChange.emit()},e.prototype.canUseCSSEllipsis=function(){return!(this.nzEditable||this.nzCopyable||this.nzExpandable||this.nzSuffix)&&(1===this.nzEllipsisRows?Object(es.r)("textOverflow"):Object(es.r)("webkitLineClamp"))},e.prototype.renderOnNextFrame=function(){var e=this;!function(e){if("undefined"==typeof window)return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(e);var t=ts.filter((function(e){return e+"CancelAnimationFrame"in window||e+"CancelRequestAnimationFrame"in window}))[0];t?(window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]).call(this,e):clearTimeout(e)}(this.rfaId),!this.viewInit||!this.nzEllipsis||this.nzEllipsisRows<0||this.expanded||!this.platform.isBrowser||(this.rfaId=rs((function(){e.syncEllipsis()})))},e.prototype.getOriginContentViewRef=function(){var e=this,t=this.viewContainerRef.createEmbeddedView(this.contentTemplate,{content:this.nzContent});return t.detectChanges(),{viewRef:t,removeView:function(){e.viewContainerRef.remove(e.viewContainerRef.indexOf(t))}}},e.prototype.syncEllipsis=function(){var e=this;if(!this.cssEllipsis){var t=this.getOriginContentViewRef(),n=t.viewRef,i=t.removeView,r=[this.textCopyRef,this.textEditRef].filter((function(e){return e&&e.nativeElement})).map((function(e){return e.nativeElement})),o=this.getExpandableBtnElement();o&&r.push(o);var a=Object(es.u)(this.host.nativeElement,this.nzEllipsisRows,n.rootNodes,r,this.ellipsisStr,this.nzSuffix),s=a.contentNodes,c=a.text,u=a.ellipsis;i(),this.ellipsisText=c,this.isEllipsis=u;for(var l=this.ellipsisContainer.nativeElement;l.firstChild;)this.renderer.removeChild(l,l.firstChild);s.forEach((function(t){e.renderer.appendChild(l,t.cloneNode(!0))})),this.cdr.markForCheck()}},e.prototype.getExpandableBtnElement=function(){if(this.nzExpandable){var e=this.locale?this.locale.expand:"",t=this.expandableBtnElementCache;if(!t||t.innerText===e){var n=this.document.createElement("a");n.className="ant-typography-expand",n.innerText=e,this.expandableBtnElementCache=n}return this.expandableBtnElementCache}return this.expandableBtnElementCache=null,null},e.prototype.renderAndSubscribeWindowResize=function(){var e=this;this.platform.isBrowser&&(this.windowResizeSubscription.unsubscribe(),this.cssEllipsis=this.canUseCSSEllipsis(),this.renderOnNextFrame(),this.windowResizeSubscription=this.resizeService.subscribe().pipe(Object(ss.a)(this.destroy$)).subscribe((function(){return e.renderOnNextFrame()})))},e.prototype.ngOnInit=function(){var e=this;this.i18n.localeChange.pipe(Object(ss.a)(this.destroy$)).subscribe((function(){e.locale=e.i18n.getLocaleData("Text"),e.cdr.markForCheck()}))},e.prototype.ngAfterViewInit=function(){this.viewInit=!0,this.renderAndSubscribeWindowResize()},e.prototype.ngOnChanges=function(e){(e.nzCopyable||e.nzEditable||e.nzExpandable||e.nzEllipsis||e.nzContent||e.nzEllipsisRows||e.nzSuffix)&&this.nzEllipsis&&(this.expanded?this.windowResizeSubscription.unsubscribe():this.renderAndSubscribeWindowResize())},e.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete(),this.expandableBtnElementCache=null,this.windowResizeSubscription.unsubscribe()},Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzCopyable",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzEditable",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzExpandable",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzEllipsis",void 0),Object(zt.b)([Object(Qa.b)("typography"),Object(es.b)(),Object(zt.d)("design:type",Number)],e.prototype,"nzEllipsisRows",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(Qa.a),i.Tb(i.l),i.Tb(i.h),i.Tb(i.Q),i.Tb(i.E),i.Tb(Xr.a),i.Tb(Lp),i.Tb(Vr.e),i.Tb(ds))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-typography"],["","nz-typography",""],["p","nz-paragraph",""],["span","nz-text",""],["h1","nz-title",""],["h2","nz-title",""],["h3","nz-title",""],["h4","nz-title",""]],viewQuery:function(e,t){var n;1&e&&(i.Sc(pA,!0),i.Sc(lA,!0),i.Sc($I,!0),i.Sc(GI,!0),i.Sc(QI,!0)),2&e&&(i.zc(n=i.ic())&&(t.textEditRef=n.first),i.zc(n=i.ic())&&(t.textCopyRef=n.first),i.zc(n=i.ic())&&(t.ellipsisContainer=n.first),i.zc(n=i.ic())&&(t.expandableBtn=n.first),i.zc(n=i.ic())&&(t.contentTemplate=n.first))},hostVars:20,hostBindings:function(e,t){2&e&&(i.Kc("-webkit-line-clamp",t.canCssEllipsis&&t.nzEllipsisRows>1?t.nzEllipsisRows:null),i.Jb("ant-typography",!t.editing)("ant-typography-edit-content",t.editing)("ant-typography-secondary","secondary"===t.nzType)("ant-typography-warning","warning"===t.nzType)("ant-typography-danger","danger"===t.nzType)("ant-typography-disabled",t.nzDisabled)("ant-typography-ellipsis",t.nzEllipsis&&!t.expanded)("ant-typography-ellipsis-single-line",t.canCssEllipsis&&1===t.nzEllipsisRows)("ant-typography-ellipsis-multiple-line",t.canCssEllipsis&&t.nzEllipsisRows>1))},inputs:{nzCopyable:"nzCopyable",nzEditable:"nzEditable",nzDisabled:"nzDisabled",nzExpandable:"nzExpandable",nzEllipsis:"nzEllipsis",nzEllipsisRows:"nzEllipsisRows",nzContent:"nzContent",nzType:"nzType",nzCopyText:"nzCopyText",nzSuffix:"nzSuffix"},outputs:{nzContentChange:"nzContentChange",nzCopy:"nzCopy",nzExpandChange:"nzExpandChange"},exportAs:["nzTypography"],features:[i.Bb],ngContentSelectors:uA,decls:5,vars:3,consts:[["contentTemplate",""],[4,"ngIf"],[3,"text","endEditing","startEditing",4,"ngIf"],[3,"text","textCopy",4,"ngIf"],[4,"ngIf","ngIfElse"],["jsEllipsis",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ellipsisContainer",""],["class","ant-typography-expand",3,"click",4,"ngIf"],[1,"ant-typography-expand",3,"click"],["expandable",""],[3,"text","endEditing","startEditing"],[3,"text","textCopy"]],template:function(e,t){1&e&&(i.rc(),i.Lc(0,KI,2,2,"ng-template",null,0,i.Mc),i.Lc(2,aA,4,2,"ng-container",1),i.Lc(3,sA,1,1,"nz-text-edit",2),i.Lc(4,cA,1,1,"nz-text-copy",3)),2&e&&(i.Db(2),i.sc("ngIf",!t.editing),i.Db(1),i.sc("ngIf",t.nzEditable),i.Db(1),i.sc("ngIf",t.nzCopyable&&!t.editing))},directives:[Vr.t,Vr.A,pA,lA],encapsulation:2,changeDetection:0}),e}(),dA=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ns.b,KT,Ec,Fp,Sw,HI],Xr.b]}),e}(),fA=["file"],gA=["nz-upload-btn",""],bA=["*"];function mA(e,t){}var vA=function(e){return{$implicit:e}};function yA(e,t){if(1&e&&(i.Zb(0,"div",17),i.Lc(1,mA,0,0,"ng-template",18),i.Yb()),2&e){var n=i.kc(2).$implicit,r=i.Ac(4);i.Jb("ant-upload-list-item-file",!n.isUploading),i.Db(1),i.sc("ngTemplateOutlet",r)("ngTemplateOutletContext",i.vc(4,vA,n))}}function wA(e,t){if(1&e&&i.Ub(0,"img",21),2&e){var n=i.kc(3).$implicit;i.sc("src",n.thumbUrl||n.url,i.Fc),i.Eb("alt",n.name)}}function OA(e,t){if(1&e){var n=i.ac();i.Zb(0,"a",19),i.hc("click",(function(e){i.Dc(n);var t=i.kc(2).$implicit;return i.kc().handlePreview(t,e)})),i.Lc(1,wA,1,2,"img",20),i.Yb()}if(2&e){i.kc();var r=i.Ac(5),o=i.kc().$implicit;i.Jb("ant-upload-list-item-file",!o.isImageUrl),i.sc("href",o.url||o.thumbUrl,i.Fc),i.Db(1),i.sc("ngIf",o.isImageUrl)("ngIfElse",r)}}function CA(e,t){}function SA(e,t){if(1&e&&(i.Zb(0,"span",22),i.Lc(1,CA,0,0,"ng-template",18),i.Yb()),2&e){var n=i.kc(2).$implicit,r=i.Ac(4);i.Db(1),i.sc("ngTemplateOutlet",r)("ngTemplateOutletContext",i.vc(2,vA,n))}}function zA(e,t){}function TA(e,t){if(1&e&&i.Lc(0,zA,0,0,"ng-template",18),2&e){var n=i.kc(2).$implicit,r=i.Ac(4);i.sc("ngTemplateOutlet",r)("ngTemplateOutletContext",i.vc(2,vA,n))}}function _A(e,t){if(1&e&&(i.Xb(0,12),i.Lc(1,yA,2,6,"div",13),i.Lc(2,OA,2,5,"a",14),i.Lc(3,SA,2,4,"span",15),i.Wb(),i.Lc(4,TA,1,4,"ng-template",null,16,i.Mc)),2&e){var n=i.kc().$implicit;i.sc("ngSwitch",n.iconType),i.Db(1),i.sc("ngSwitchCase","uploading"),i.Db(1),i.sc("ngSwitchCase","thumbnail")}}function kA(e,t){1&e&&(i.Xb(0),i.Ub(1,"i",27),i.Wb())}function DA(e,t){if(1&e&&(i.Xb(0),i.Lc(1,kA,2,0,"ng-container",23),i.Wb()),2&e){var n=i.kc(2).$implicit,r=i.Ac(2);i.Db(1),i.sc("ngIf",n.isUploading)("ngIfElse",r)}}function xA(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc(5);i.Db(1),i.Oc(n.locale.uploading)}}function EA(e,t){if(1&e&&(i.Xb(0),i.Lc(1,xA,2,1,"ng-container",23),i.Wb()),2&e){var n=i.kc(2).$implicit,r=i.Ac(2);i.Db(1),i.sc("ngIf",n.isUploading)("ngIfElse",r)}}function NA(e,t){if(1&e&&i.Ub(0,"i",28),2&e){var n=i.kc(2).$implicit;i.sc("nzType",n.isUploading?"loading":"paper-clip")}}function jA(e,t){if(1&e&&(i.Xb(0),i.Xb(1,12),i.Lc(2,DA,2,2,"ng-container",25),i.Lc(3,EA,2,2,"ng-container",25),i.Lc(4,NA,1,1,"i",26),i.Wb(),i.Wb()),2&e){var n=i.kc(3);i.Db(1),i.sc("ngSwitch",n.listType),i.Db(1),i.sc("ngSwitchCase","picture"),i.Db(1),i.sc("ngSwitchCase","picture-card")}}function IA(e,t){if(1&e&&i.Ub(0,"i",29),2&e){var n=i.kc().$implicit;i.sc("nzType",n.isImageUrl?"picture":"file")}}function AA(e,t){if(1&e&&(i.Lc(0,jA,5,3,"ng-container",23),i.Lc(1,IA,1,1,"ng-template",null,24,i.Mc)),2&e){var n=i.kc(2);i.sc("ngIf",!n.iconRender)("ngIfElse",n.iconRender)}}function MA(e,t){}function LA(e,t){if(1&e&&(i.Zb(0,"a",32),i.Lc(1,MA,0,0,"ng-template",9),i.Yb()),2&e){i.kc(3);var n=i.Ac(12),r=i.kc();i.tc("title",r.locale.downloadFile),i.Db(1),i.sc("ngTemplateOutlet",n)}}function PA(e,t){}function FA(e,t){if(1&e&&(i.Zb(0,"a",32),i.Lc(1,PA,0,0,"ng-template",9),i.Yb()),2&e){i.kc(3);var n=i.Ac(10),r=i.kc();i.tc("title",r.locale.removeFile),i.Db(1),i.sc("ngTemplateOutlet",n)}}function RA(e,t){if(1&e&&(i.Zb(0,"span"),i.Lc(1,LA,2,2,"a",31),i.Lc(2,FA,2,2,"a",31),i.Yb()),2&e){var n=i.kc(2).$implicit,r=i.kc();i.Gb("ant-upload-list-item-card-actions ","picture"===r.listType?"picture":"",""),i.Db(1),i.sc("ngIf",n.showDownload),i.Db(1),i.sc("ngIf",r.icons.showRemoveIcon)}}function VA(e,t){if(1&e&&i.Lc(0,RA,3,5,"span",30),2&e){var n=i.kc(2);i.sc("ngIf","picture-card"!==n.listType)}}function BA(e,t){if(1&e){var n=i.ac();i.Zb(0,"a",35),i.hc("click",(function(e){i.Dc(n);var t=i.kc(2).$implicit;return i.kc().handlePreview(t,e)})),i.Nc(1),i.Yb()}if(2&e){var r=i.kc(2).$implicit;i.sc("ngClass",r.listItemNameCls)("href",r.url,i.Fc),i.Eb("title",r.name)("download",r.linkProps&&r.linkProps.download),i.Db(1),i.Oc(r.name)}}function YA(e,t){if(1&e){var n=i.ac();i.Zb(0,"span",36),i.hc("click",(function(e){i.Dc(n);var t=i.kc(2).$implicit;return i.kc().handlePreview(t,e)})),i.Nc(1),i.Yb()}if(2&e){var r=i.kc(2).$implicit;i.sc("ngClass",r.listItemNameCls),i.Eb("title",r.name),i.Db(1),i.Oc(r.name)}}function UA(e,t){}function HA(e,t){if(1&e&&(i.Lc(0,BA,2,5,"a",33),i.Lc(1,YA,2,3,"span",34),i.Lc(2,UA,0,0,"ng-template",9)),2&e){var n=i.kc().$implicit,r=i.Ac(6);i.sc("ngIf",n.url),i.Db(1),i.sc("ngIf",!n.url),i.Db(1),i.sc("ngTemplateOutlet",r)}}function WA(e,t){if(1&e){var n=i.ac();i.Zb(0,"i",38),i.hc("click",(function(e){i.Dc(n);var t=i.kc(2).$implicit;return i.kc().handleRemove(t,e)})),i.Yb()}if(2&e){var r=i.kc(3);i.tc("title",r.locale.removeFile)}}function qA(e,t){if(1&e&&i.Lc(0,WA,1,1,"i",37),2&e){var n=i.kc(2);i.sc("ngIf",n.icons.showRemoveIcon)}}function ZA(e,t){if(1&e){var n=i.ac();i.Zb(0,"i",40),i.hc("click",(function(){i.Dc(n);var e=i.kc(2).$implicit;return i.kc().handleDownload(e)})),i.Yb()}if(2&e){var r=i.kc(3);i.tc("title",r.locale.downloadFile)}}function $A(e,t){if(1&e&&i.Lc(0,ZA,1,1,"i",39),2&e){var n=i.kc().$implicit;i.sc("ngIf",n.showDownload)}}function GA(e,t){}function QA(e,t){}var XA=function(){return{opacity:.5,"pointer-events":"none"}};function KA(e,t){if(1&e){var n=i.ac();i.Zb(0,"a",43),i.hc("click",(function(e){i.Dc(n);var t=i.kc(2).$implicit;return i.kc().handlePreview(t,e)})),i.Ub(1,"i",44),i.Yb()}if(2&e){var r=i.kc(2).$implicit,o=i.kc();i.tc("title",o.locale.previewFile),i.sc("href",r.url||r.thumbUrl,i.Fc)("ngStyle",r.url||r.thumbUrl?null:i.uc(3,XA))}}function JA(e,t){}function eM(e,t){}function tM(e,t){if(1&e&&(i.Zb(0,"span",41),i.Lc(1,KA,2,4,"a",42),i.Lc(2,JA,0,0,"ng-template",9),i.Lc(3,eM,0,0,"ng-template",9),i.Yb()),2&e){i.kc();var n=i.Ac(12),r=i.Ac(10),o=i.kc();i.Db(1),i.sc("ngIf",o.icons.showPreviewIcon),i.Db(1),i.sc("ngTemplateOutlet",n),i.Db(1),i.sc("ngTemplateOutlet",r)}}function nM(e,t){if(1&e&&(i.Zb(0,"div",45),i.Ub(1,"nz-progress",46),i.Yb()),2&e){var n=i.kc().$implicit;i.Db(1),i.sc("nzPercent",n.percent)("nzShowInfo",!1)("nzStrokeWidth",2)}}function iM(e,t){if(1&e&&(i.Zb(0,"div",1),i.Lc(1,_A,6,3,"ng-template",null,2,i.Mc),i.Lc(3,AA,3,2,"ng-template",null,3,i.Mc),i.Lc(5,VA,1,1,"ng-template",null,4,i.Mc),i.Lc(7,HA,3,3,"ng-template",null,5,i.Mc),i.Lc(9,qA,1,1,"ng-template",null,6,i.Mc),i.Lc(11,$A,1,1,"ng-template",null,7,i.Mc),i.Zb(13,"div",8),i.Zb(14,"span"),i.Lc(15,GA,0,0,"ng-template",9),i.Lc(16,QA,0,0,"ng-template",9),i.Yb(),i.Yb(),i.Lc(17,tM,4,3,"span",10),i.Lc(18,nM,2,3,"div",11),i.Yb()),2&e){var n=t.$implicit,r=i.Ac(2),o=i.Ac(8),a=i.kc();i.Hb("ant-upload-list-item ant-upload-list-item-",n.status," ant-upload-list-item-list-type-",a.listType,""),i.sc("@itemState",void 0)("nzTooltipTitle","error"===n.status?n.message:null),i.Eb("data-key",n.key),i.Db(15),i.sc("ngTemplateOutlet",r),i.Db(1),i.sc("ngTemplateOutlet",o),i.Db(1),i.sc("ngIf","picture-card"===a.listType&&!n.isUploading),i.Db(1),i.sc("ngIf",n.isUploading)}}var rM=["uploadComp"],oM=["listComp"],aM=function(){return[]};function sM(e,t){if(1&e&&i.Ub(0,"nz-upload-list",6,7),2&e){var n=i.kc();i.Kc("display",n.nzShowUploadList?"":"none"),i.sc("locale",n.locale)("listType",n.nzListType)("items",n.nzFileList||i.uc(11,aM))("icons",n.nzShowUploadList)("iconRender",n.nzIconRender)("previewFile",n.nzPreviewFile)("onPreview",n.nzPreview)("onRemove",n.onRemove)("onDownload",n.nzDownload)}}function cM(e,t){1&e&&i.qc(0)}function uM(e,t){}function lM(e,t){if(1&e&&(i.Zb(0,"div",8),i.Zb(1,"div",9,10),i.Lc(3,uM,0,0,"ng-template",11),i.Yb(),i.Yb()),2&e){var n=i.kc(),r=i.Ac(3);i.Kc("display",n.nzShowButton?"":"none"),i.sc("ngClass",n.classList),i.Db(1),i.sc("options",n._btnOptions),i.Db(2),i.sc("ngTemplateOutlet",r)}}function pM(e,t){}function hM(e,t){}function dM(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Zb(1,"div",12),i.hc("drop",(function(e){return i.Dc(n),i.kc().fileDrop(e)}))("dragover",(function(e){return i.Dc(n),i.kc().fileDrop(e)}))("dragleave",(function(e){return i.Dc(n),i.kc().fileDrop(e)})),i.Zb(2,"div",13,10),i.Zb(4,"div",14),i.Lc(5,pM,0,0,"ng-template",11),i.Yb(),i.Yb(),i.Yb(),i.Lc(6,hM,0,0,"ng-template",11),i.Wb()}if(2&e){var r=i.kc(),o=i.Ac(3),a=i.Ac(1);i.Db(1),i.sc("ngClass",r.classList),i.Db(1),i.sc("options",r._btnOptions),i.Db(3),i.sc("ngTemplateOutlet",o),i.Db(1),i.sc("ngTemplateOutlet",a)}}function fM(e,t){}function gM(e,t){}function bM(e,t){if(1&e&&(i.Xb(0),i.Lc(1,fM,0,0,"ng-template",11),i.Lc(2,gM,0,0,"ng-template",11),i.Wb()),2&e){i.kc(2);var n=i.Ac(1),r=i.Ac(5);i.Db(1),i.sc("ngTemplateOutlet",n),i.Db(1),i.sc("ngTemplateOutlet",r)}}function mM(e,t){if(1&e&&i.Lc(0,bM,3,2,"ng-container",3),2&e){var n=i.kc(),r=i.Ac(10);i.sc("ngIf","picture-card"===n.nzListType)("ngIfElse",r)}}function vM(e,t){}function yM(e,t){}function wM(e,t){if(1&e&&(i.Lc(0,vM,0,0,"ng-template",11),i.Lc(1,yM,0,0,"ng-template",11)),2&e){i.kc();var n=i.Ac(5),r=i.Ac(1);i.sc("ngTemplateOutlet",n),i.Db(1),i.sc("ngTemplateOutlet",r)}}var OM=function(){function e(e){if(this.http=e,this.reqs={},this.destroy=!1,!e)throw new Error("Not found 'HttpClient', You can import 'HttpClientModule' in your root module.")}return e.prototype.onClick=function(){!this.options.disabled&&this.options.openFileDialogOnClick&&this.file.nativeElement.click()},e.prototype.onKeyDown=function(e){this.options.disabled||"Enter"!==e.key&&e.keyCode!==Zr.d||this.onClick()},e.prototype.onFileDrop=function(e){var t=this;if(this.options.disabled||"dragover"===e.type)e.preventDefault();else{if(this.options.directory)this.traverseFileTree(e.dataTransfer.items);else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return t.attrAccept(e,t.options.accept)}));n.length&&this.uploadFiles(n)}e.preventDefault()}},e.prototype.onChange=function(e){if(!this.options.disabled){var t=e.target;this.uploadFiles(t.files),t.value=""}},e.prototype.traverseFileTree=function(e){var t,n,i=this,r=function(e,t){e.isFile?e.file((function(e){i.attrAccept(e,i.options.accept)&&i.uploadFiles([e])})):e.isDirectory&&e.createReader().readEntries((function(n){var i,o;try{for(var a=Object(zt.h)(n),s=a.next();!s.done;s=a.next())r(s.value,""+t+e.name+"/")}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}))};try{for(var o=Object(zt.h)(e),a=o.next();!a.done;a=o.next())r(a.value.webkitGetAsEntry(),"")}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},e.prototype.attrAccept=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=""+e.name,r=""+e.type,o=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?-1!==i.toLowerCase().indexOf(t.toLowerCase(),i.toLowerCase().length-t.toLowerCase().length):/\/\*$/.test(t)?o===t.replace(/\/.*$/,""):r===t}))}return!0},e.prototype.attachUid=function(e){return e.uid||(e.uid=Math.random().toString(36).substring(2)),e},e.prototype.uploadFiles=function(e){var t=this,n=Object(qr.a)(Array.prototype.slice.call(e));this.options.filters&&this.options.filters.forEach((function(e){n=n.pipe(Object(sc.a)((function(t){var n=e.fn(t);return n instanceof _t.a?n:Object(qr.a)(n)})))})),n.subscribe((function(e){e.forEach((function(n){t.attachUid(n),t.upload(n,e)}))}),(function(e){Object(Hs.b)("Unhandled upload filter error",e)}))},e.prototype.upload=function(e,t){var n=this;if(!this.options.beforeUpload)return this.post(e);var i=this.options.beforeUpload(e,t);if(i instanceof _t.a)i.subscribe((function(t){var i=Object.prototype.toString.call(t);"[object File]"===i||"[object Blob]"===i?(n.attachUid(t),n.post(t)):"boolean"==typeof t&&!1!==t&&n.post(e)}),(function(e){Object(Hs.b)("Unhandled upload beforeUpload error",e)}));else if(!1!==i)return this.post(e)},e.prototype.post=function(e){var t=this;if(!this.destroy){var n=Object(qr.a)(e),i=this.options,r=e.uid,o=i.action,a=i.data,s=i.headers,c=i.transformFile,u={action:"string"==typeof o?o:"",name:i.name,headers:s,file:e,postFile:e,data:a,withCredentials:i.withCredentials,onProgress:i.onProgress?function(t){i.onProgress(t,e)}:void 0,onSuccess:function(n,o){t.clean(r),i.onSuccess(n,e,o)},onError:function(n){t.clean(r),i.onError(n,e)}};if("function"==typeof o){var l=o(e);l instanceof _t.a?n=n.pipe(Object(sc.a)((function(){return l})),Object(Mt.a)((function(t){return u.action=t,e}))):u.action=l}if("function"==typeof c){var p=c(e);n=n.pipe(Object(sc.a)((function(){return p instanceof _t.a?p:Object(qr.a)(p)})))}if("function"==typeof a){var h=a(e);h instanceof _t.a?n=n.pipe(Object(sc.a)((function(){return h})),Object(Mt.a)((function(t){return u.data=t,e}))):u.data=h}if("function"==typeof s){var d=s(e);d instanceof _t.a?n=n.pipe(Object(sc.a)((function(){return d})),Object(Mt.a)((function(t){return u.headers=t,e}))):u.headers=d}n.subscribe((function(n){u.postFile=n;var o=(i.customRequest||t.xhr).call(t,u);o instanceof Ft.a||Object(Hs.b)("Must return Subscription type in '[nzCustomRequest]' property"),t.reqs[r]=o,i.onStart(e)}))}},e.prototype.xhr=function(e){var t=this,n=new FormData;e.data&&Object.keys(e.data).map((function(t){n.append(t,e.data[t])})),n.append(e.name,e.postFile),e.headers||(e.headers={}),null!==e.headers["X-Requested-With"]?e.headers["X-Requested-With"]="XMLHttpRequest":delete e.headers["X-Requested-With"];var i=new Ct.i("POST",e.action,n,{reportProgress:!0,withCredentials:e.withCredentials,headers:new Ct.g(e.headers)});return this.http.request(i).subscribe((function(t){t.type===Ct.f.UploadProgress?(t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t,e.file)):t instanceof Ct.j&&e.onSuccess(t.body,e.file,t)}),(function(n){t.abort(e.file),e.onError(n,e.file)}))},e.prototype.clean=function(e){var t=this.reqs[e];t instanceof Ft.a&&t.unsubscribe(),delete this.reqs[e]},e.prototype.abort=function(e){var t=this;e?this.clean(e&&e.uid):Object.keys(this.reqs).forEach((function(e){return t.clean(e)}))},e.prototype.ngOnDestroy=function(){this.destroy=!0,this.abort()},e.\u0275fac=function(t){return new(t||e)(i.Tb(Ct.c,8))},e.\u0275cmp=i.Nb({type:e,selectors:[["","nz-upload-btn",""]],viewQuery:function(e,t){var n;1&e&&i.Sc(fA,!0),2&e&&i.zc(n=i.ic())&&(t.file=n.first)},hostVars:6,hostBindings:function(e,t){1&e&&i.hc("click",(function(){return t.onClick()}))("keydown",(function(e){return t.onKeyDown(e)}))("drop",(function(e){return t.onFileDrop(e)}))("dragover",(function(e){return t.onFileDrop(e)})),2&e&&(i.Eb("tabindex","0")("role","button"),i.Jb("ant-upload",!0)("ant-upload-disabled",t.options.disabled))},inputs:{options:"options"},exportAs:["nzUploadBtn"],attrs:gA,ngContentSelectors:bA,decls:3,vars:4,consts:[["type","file",2,"display","none",3,"multiple","change"],["file",""]],template:function(e,t){1&e&&(i.rc(),i.Zb(0,"input",0,1),i.hc("change",(function(e){return t.onChange(e)})),i.Yb(),i.qc(2)),2&e&&(i.sc("multiple",t.options.multiple),i.Eb("accept",t.options.accept)("directory",t.options.directory?"directory":null)("webkitdirectory",t.options.directory?"webkitdirectory":null))},encapsulation:2}),e}(),CM=function(e){return!!e&&0===e.indexOf("image/")},SM=function(){function e(e,t,n,i){this.cdr=e,this.doc=t,this.ngZone=n,this.platform=i,this.list=[],this.locale={},this.iconRender=null}return Object.defineProperty(e.prototype,"showPic",{get:function(){return"picture"===this.listType||"picture-card"===this.listType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{set:function(e){this.list=e},enumerable:!0,configurable:!0}),e.prototype.genErr=function(e){return e.response&&"string"==typeof e.response?e.response:e.error&&e.error.statusText||this.locale.uploadError},e.prototype.extname=function(e){var t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},e.prototype.isImageUrl=function(e){if(CM(e.type))return!0;var t=e.thumbUrl||e.url||"";if(!t)return!1;var n=this.extname(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg)$/i.test(n))||!/^data:/.test(t)&&!n},e.prototype.getIconType=function(e){return this.showPic?e.isUploading||!e.thumbUrl&&!e.url?"uploading":"thumbnail":""},e.prototype.previewImage=function(e){var t=this;return new Promise((function(n){CM(e.type)?t.ngZone.runOutsideAngular((function(){var i=t.doc.createElement("canvas");i.width=200,i.height=200,i.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",t.doc.body.appendChild(i);var r=i.getContext("2d"),o=new Image;o.onload=function(){var e=o.width,a=o.height,s=200,c=200,u=0,l=0;e0&&-1===t.findIndex((function(e){return"limit"===e.name}))&&t.push({name:"limit",fn:function(t){return t.slice(-e.nzLimit)}}),this.nzSize>0&&-1===t.findIndex((function(e){return"size"===e.name}))&&t.push({name:"size",fn:function(t){return t.filter((function(t){return t.size/1024<=e.nzSize}))}}),this.nzFileType&&this.nzFileType.length>0&&-1===t.findIndex((function(e){return"type"===e.name}))){var n=this.nzFileType.split(",");t.push({name:"type",fn:function(e){return e.filter((function(e){return~n.indexOf(e.type)}))}})}return this._btnOptions={disabled:this.nzDisabled,accept:this.nzAccept,action:this.nzAction,directory:this.nzDirectory,openFileDialogOnClick:this.nzOpenFileDialogOnClick,beforeUpload:this.nzBeforeUpload,customRequest:this.nzCustomRequest,data:this.nzData,headers:this.nzHeaders,name:this.nzName,multiple:this.nzMultiple,withCredentials:this.nzWithCredentials,filters:t,transformFile:this.nzTransformFile,onStart:this.onStart,onProgress:this.onProgress,onSuccess:this.onSuccess,onError:this.onError},this},e.prototype.fileToObject=function(e){return{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.filename||e.name,size:e.size,type:e.type,uid:e.uid,response:e.response,error:e.error,percent:0,originFileObj:e}},e.prototype.getFileItem=function(e,t){return t.filter((function(t){return t.uid===e.uid}))[0]},e.prototype.removeFileItem=function(e,t){return t.filter((function(t){return t.uid!==e.uid}))},e.prototype.fileDrop=function(e){e.type!==this.dragState&&(this.dragState=e.type,this.setClassMap())},e.prototype.detectChangesList=function(){this.cdr.detectChanges(),this.listComp.detectChanges()},e.prototype.setClassMap=function(){var e=[];"drag"===this.nzType?(this.nzFileList.some((function(e){return"uploading"===e.status}))&&e.push(this.prefixCls+"-drag-uploading"),"dragover"===this.dragState&&e.push(this.prefixCls+"-drag-hover")):e=[this.prefixCls+"-select-"+this.nzListType],this.classList=Object(zt.g)([this.prefixCls,this.prefixCls+"-"+this.nzType],e,[this.nzDisabled&&this.prefixCls+"-disabled"||""]).filter((function(e){return!!e})),this.cdr.detectChanges()},e.prototype.ngOnInit=function(){var e=this;this.i18n$=this.i18n.localeChange.subscribe((function(){e.locale=e.i18n.getLocaleData("Upload"),e.detectChangesList()}))},e.prototype.ngOnChanges=function(){this.zipOptions().setClassMap()},e.prototype.ngOnDestroy=function(){this.i18n$.unsubscribe()},Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzLimit",void 0),Object(zt.b)([Object(es.b)(),Object(zt.d)("design:type",Object)],e.prototype,"nzSize",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDirectory",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzOpenFileDialogOnClick",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzMultiple",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzShowButton",void 0),Object(zt.b)([Object(es.a)(),Object(zt.d)("design:type",Object)],e.prototype,"nzWithCredentials",void 0),e.\u0275fac=function(t){return new(t||e)(i.Tb(i.h),i.Tb(Lp))},e.\u0275cmp=i.Nb({type:e,selectors:[["nz-upload"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(rM,!0),i.Sc(oM,!0)),2&e&&(i.zc(n=i.ic())&&(t.uploadComp=n.first),i.zc(n=i.ic())&&(t.listComp=n.first))},hostVars:2,hostBindings:function(e,t){2&e&&i.Jb("ant-upload-picture-card-wrapper","picture-card"===t.nzListType)},inputs:{nzType:"nzType",nzLimit:"nzLimit",nzSize:"nzSize",nzDirectory:"nzDirectory",nzOpenFileDialogOnClick:"nzOpenFileDialogOnClick",nzFilter:"nzFilter",nzFileList:"nzFileList",nzDisabled:"nzDisabled",nzListType:"nzListType",nzMultiple:"nzMultiple",nzName:"nzName",nzShowButton:"nzShowButton",nzWithCredentials:"nzWithCredentials",nzIconRender:"nzIconRender",nzShowUploadList:"nzShowUploadList",nzFileType:"nzFileType",nzAccept:"nzAccept",nzAction:"nzAction",nzBeforeUpload:"nzBeforeUpload",nzCustomRequest:"nzCustomRequest",nzData:"nzData",nzHeaders:"nzHeaders",nzRemove:"nzRemove",nzPreview:"nzPreview",nzPreviewFile:"nzPreviewFile",nzTransformFile:"nzTransformFile",nzDownload:"nzDownload"},outputs:{nzChange:"nzChange",nzFileListChange:"nzFileListChange"},exportAs:["nzUpload"],features:[i.Bb],ngContentSelectors:bA,decls:11,vars:2,consts:[["list",""],["con",""],["btn",""],[4,"ngIf","ngIfElse"],["select",""],["pic",""],[3,"locale","listType","items","icons","iconRender","previewFile","onPreview","onRemove","onDownload"],["listComp",""],[3,"ngClass"],["nz-upload-btn","",3,"options"],["uploadComp",""],[3,"ngTemplateOutlet"],[3,"ngClass","drop","dragover","dragleave"],["nz-upload-btn","",1,"ant-upload-btn",3,"options"],[1,"ant-upload-drag-container"]],template:function(e,t){if(1&e&&(i.rc(),i.Lc(0,sM,2,12,"ng-template",null,0,i.Mc),i.Lc(2,cM,1,0,"ng-template",null,1,i.Mc),i.Lc(4,lM,4,5,"ng-template",null,2,i.Mc),i.Lc(6,dM,7,4,"ng-container",3),i.Lc(7,mM,1,2,"ng-template",null,4,i.Mc),i.Lc(9,wM,2,2,"ng-template",null,5,i.Mc)),2&e){var n=i.Ac(8);i.Db(6),i.sc("ngIf","drag"===t.nzType)("ngIfElse",n)}},directives:[Vr.t,SM,Vr.q,OM,Vr.A],encapsulation:2,changeDetection:0}),e}(),TM=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,Xr.b,KT,B_,Fp,Ns.b]]}),e}(),_M=function(){function e(){Object(Hs.c)("The `NgZorroAntdModule` has been deprecated and will be removed in 10.0.0. Please use secondary entry instead.\ne.g. `import { NzButtonModule } from 'ng-zorro-antd/button';`")}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[Ds,Us,oc,iu,uu,fu,Du,Wu.c,Hu,vv,Gv,ly,By,Gy,rw,Ow,Eb,eO,rO,wO,xu.c,cm,FO,SO,Fp,Ns.b,Ec,BO,aC,ES,qS,YO.g,$S,Uz,ac.b,Wz,pT,UT,c_,g_,B_,Fb,Q_,kk,ov,Uk,aD,fC,SD,UD,XD,cN,RN,UN,md,cj,KT,Sw,Lj,zI,BI,dA,TM,Ud.b]}),e}(),kM=n("W6iN"),DM={AlertTriangle:'\n \n',AlertCircle:'\n \n',Archive:'\n \n',ArrowLeft:'\n \n',Book:'\n \n',Box:'\n \n',Briefcase:'\n \n',CheckCircle:'\n \n',ChevronDown:'\n \n',Circle:'\n \n',Clock:'\n \n',Code:'\n \n',Copy:'\n \n',Cpu:'\n \n',Camera:'\n \n',Disc:'\n \n',Download:'\n \n',Edit:'\n \n',Eye:'\n \n',EyeOff:'\n \n',File:'\n \n',FilePlus:'\n \n',Folder:'\n \n',FolderMinus:'\n \n',FolderPlus:'\n \n',Github:'\n \n',Grid:'\n \n',Heart:'\n \n',Home:'\n \n',Info:'\n \n',MoreVertical:'\n \n',MoreHorizontal:'\n \n',RefreshCcw:'\n \n',Settings:'\n \n',Save:'\n \n',Trash2:'\n \n',Loader:'\n \n',LogIn:'',Minimize2:'\n \n',PlusSquare:'\n \n',PlusCircle:'\n \n',Repeat:'\n \n',Sidebar:'\n \n',Sun:'\n \n',Terminal:'\n \n',Tag:'\n \n',Watch:'\n \n',X:'\n \n',XCircle:'\n \n',XSquare:'\n \n'},xM=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,kM.b.pick(DM)],kM.b]}),e}(),EM=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[]}},e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Nn.c.forRoot(),Br.b,Fr,Yr.T,Fo.c,Po.forRoot(),$a.forRoot({applyClass:"tooltip-content",trigger:"hover"}),Ga.c.forRoot(),_M,xM],Nn.c,Br.b,Fr,Yr.T,Po,Fo.c,$a,Ga.c,_M,xM]}),e}(),NM=n("/PH2"),jM=n("sia0"),IM=n("fYDj"),AM=n("FGPJ"),MM=n("o0su"),LM=function(){return(LM=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},FM=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},RM=n("m8Fq"),VM=function(){function e(e,t,n,i,r,a,s,c,u){var h=this;this.actions$=e,this.gqlService=t,this.notifyService=n,this.dbService=i,this.donationService=r,this.electronAppService=a,this.environmentService=s,this.preRequestService=c,this.store=u,this.sendQueryRequest$=this.actions$.pipe(hn(jM.r,jM.c),Object(NM.a)(this.store,(function(e,t){return{state:t,data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){return e.action.type===jM.c?(h.store.dispatch(new p(e.windowId)),Object(Ox.b)()):(e.data.query.query||"").trim()?Object(qr.a)(e):Object(Ox.b)()})),Object(sc.a)((function(e){return h.getPrerequestTransformedData$(e)})),Object(sc.a)((function(e){return e?Object(qr.a)(e).pipe(Object(sc.a)((function(e){var t=e.response,n=e.transformedData,i=(t.data.query.query||"").trim(),r=h.environmentService.hydrate(t.data.query.url),a=h.environmentService.hydrate(t.data.variables.variables),s=h.environmentService.hydrateHeaders(t.data.headers),c=t.data.query.selectedOperation;if(n&&(r=h.environmentService.hydrate(t.data.query.url,{activeEnvironment:n.environment}),a=h.environmentService.hydrate(t.data.variables.variables,{activeEnvironment:n.environment}),s=h.environmentService.hydrateHeaders(t.data.headers,{activeEnvironment:n.environment})),!r||!RM.isUri(r))return h.notifyService.error("The URL is invalid!"),h.store.dispatch(new p(t.windowId)),Object(Ox.b)();if(t.data.history.list.filter((function(e){return e.query&&e.query.trim()===i.trim()})).length||h.store.dispatch(new j(t.windowId,{query:i})),h.gqlService.isSubscriptionQuery(i))return o.a.log("Your query is a SUBSCRIPTION!!!"),h.store.dispatch(t.data.query.subscriptionUrl?new jM.Y(t.windowId):new z.k(t.windowId)),Object(Ox.b)();try{var u=h.gqlService.getSelectedOperationData({query:i,selectedOperation:c,selectIfOneOperation:!0,queryCursorIndex:t.data.query.queryEditorState&&t.data.query.queryEditorState.isFocused?t.data.query.queryEditorState.cursorIndex:void 0});if(h.store.dispatch(new jM.O(t.windowId,{operations:u.operations})),c=u.selectedOperation,u.requestSelectedOperationFromUser)return h.notifyService.error("You have more than one query operations.\n You need to select the one you want to run from the dropdown."),Object(Ox.b)()}catch(b){return h.store.dispatch(new jM.R(t.windowId,{selectedOperation:""})),h.notifyService.error(b.message),Object(Ox.b)()}h.store.dispatch(new l(t.windowId));var d=(new Date).getTime(),f=0,g="";try{a&&JSON.parse(a)}catch(b){return h.notifyService.error("Looks like your variables is not a valid JSON string."),h.store.dispatch(new p(t.windowId)),Object(Ox.b)()}return h.electronAppService.setHeaders(s),h.gqlService.hasInvalidFileVariable(t.data.variables.files)&&h.notifyService.error("\n You have some invalid file variables.

    \n You need to provide a file and file name, when uploading files.\n Check your files in the variables section.

    \n Note: Files don't persist after restarting Altair.\n ","Altair",{disableTimeOut:!0}),o.a.log("Sending.."),h.gqlService.sendRequest(r,{query:i,variables:a,headers:s,method:t.data.query.httpVerb,selectedOperation:c,files:t.data.variables.files,withCredentials:t.state.settings["request.withCredentials"]}).pipe(Object(Mt.a)((function(e){return f=e.status,g=e.statusText,e.body})),Object(Mt.a)((function(e){return new jM.P(e,t.windowId)})),Object(Lt.a)((function(e){var n="Server Error. Check that your server is up and running. You can check the console for more details on the network errors.";return o.a.log(e),f=e.status,g=e.statusText,e.status&&(n=e.error),Object(qr.a)(new jM.P(n,t.windowId))})),Object($r.a)((function(){var e=(new Date).getTime();h.store.dispatch(new jM.Q(t.windowId,{responseStatus:f,responseTime:e-d,responseStatusText:g})),h.store.dispatch(new p(t.windowId))})))})),Object(Lt.a)((function(e){return o.a.error("Error sending the request",e),Object(Ox.b)()}))):Object(Ox.b)()}))),this.showUrlSetAlert$=this.actions$.pipe(hn(jM.E),Object(sc.a)((function(e){var t=h.environmentService.hydrate(e.payload.url);return RM.isUri(t)?h.notifyService.success("URL has been set."):h.notifyService.error("The URL is invalid!"),Object(Ox.b)()}))),this.getGqlSchema$=this.actions$.pipe(hn(_.f,_.g),Object(sc.a)((function(e){var t=h.gqlService.getIntrospectionSchema(e.payload);return t?Object(qr.a)(new _.o(e.windowId,t)):Object(Ox.b)()}))),this.setSchemaSDL$=this.actions$.pipe(hn(_.i),Object(sc.a)((function(e){var t=e.payload;return t&&h.gqlService.getSDL(t).then((function(t){return h.store.dispatch(new _.p(e.windowId,{sdl:t}))})).catch((function(e){o.a.error(e);var t=e.message?e.message:e.toString();h.notifyService.error("Could not set schema SDL. Error: "+t)})),Object(Ox.b)()}))),this.loadSDLSchema$=this.actions$.pipe(hn(_.c),Object(sc.a)((function(e){return Object(W.h)({accept:".gql"}).then((function(t){try{var n=h.gqlService.sdlToSchema(t);if(n)return h.notifyService.success("Loaded schema successfully"),h.store.dispatch(new _.o(e.windowId,n))}catch(r){var i=r.message?r.message:r.toString();h.notifyService.error("There was a problem loading the schema. Error: "+i),o.a.error("Error while loading schema",r)}})),Object(Ox.b)()}))),this.getIntrospectionForUrl$=this.actions$.pipe(hn(jM.q),Object(NM.a)(this.store,(function(e,t){return{state:t,data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){return h.getPrerequestTransformedData$(e)})),Object(sc.a)((function(e){if(!e)return Object(Ox.b)();var t=e.response,n=e.transformedData,i=h.environmentService.hydrate(t.data.query.url),r=h.environmentService.hydrateHeaders(t.data.headers);return n&&(i=h.environmentService.hydrate(t.data.query.url,{activeEnvironment:n.environment}),r=h.environmentService.hydrateHeaders(t.data.headers,{activeEnvironment:n.environment})),i?(h.store.dispatch(new IM.e(t.windowId)),h.gqlService.getIntrospectionRequest(i,{method:t.data.query.httpVerb,headers:r,withCredentials:t.state.settings["request.withCredentials"]}).pipe(Object(Lt.a)((function(e){h.store.dispatch(new IM.f(t.windowId));var n=e.error||e,i=n.message?n.message:e.message?e.message:n.toString(),r=!0;return n.errors&&n.errors.forEach((function(e){"GRAPHQL_VALIDATION_ERROR"===e.code&&(r=!1)})),r?h.notifyService.error("\n Seems like something is broken. Please check that the URL is valid,\n and the server is up and running properly.\n
    \n "+i+"\n "):(h.store.dispatch(new _.k(!1,t.windowId)),h.notifyService.error("\n Looks like this server does not support introspection.\n Please check with the server administrator.\n ")),Object(Ox.b)()})),Object(Mt.a)((function(e){h.store.dispatch(new IM.f(t.windowId));var n=e.body&&e.body.data,i=e.headers&&e.headers.get("X-GraphQL-Event-Stream");return h.store.dispatch(new ze.j(t.windowId,{streamUrl:i})),i&&h.store.dispatch(new ze.k(t.windowId)),n?(h.store.dispatch(new _.k(!0,t.windowId)),h.store.dispatch(new _.n(t.windowId,{epoch:Date.now()})),new _.l(n,t.windowId)):new _.l(n,t.windowId)})),Object(Lt.a)((function(e){return o.a.error(e),h.notifyService.error(e.message),Object(Ox.b)()})))):Object(Ox.b)()}))),this.notifyExperimental$=this.actions$.pipe(hn("NOTIFY_EXPERIMENTAL"),Object(sc.a)((function(){return h.dbService.getItem("exp_add_query_seen").subscribe((function(e){e||(h.notifyService.info("\n This feature is experimental, and still in beta.\n Click here to submit bugs, improvements, etc.\n ",void 0,{tapToDismiss:!0,data:{url:"https://github.com/imolorhe/altair/issues/new"}}),h.dbService.setItem("exp_add_query_seen",!0))})),Object(Ox.b)()}))),this.downloadResult$=this.actions$.pipe(hn(jM.k),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){return Object(W.c)(e.data.query.response,e.data.layout.title),Object(Ox.b)()}))),this.startSubscription$=this.actions$.pipe(hn(jM.G),Object(NM.a)(this.store,(function(e,t){return{state:t,data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){return h.getPrerequestTransformedData$(e)})),Object(sc.a)((function(e){if(!e)return Object(Ox.b)();var t=e.response,n=e.transformedData,i=void 0,r=h.environmentService.hydrate(t.data.query.subscriptionUrl),a=h.environmentService.hydrate(t.data.query.query||""),s=h.environmentService.hydrate(t.data.variables.variables),c=void 0,u=t.data.query.selectedOperation;n&&(r=h.environmentService.hydrate(t.data.query.subscriptionUrl,{activeEnvironment:n.environment}),a=h.environmentService.hydrate(t.data.query.query||"",{activeEnvironment:n.environment}),s=h.environmentService.hydrate(t.data.variables.variables,{activeEnvironment:n.environment}));var l=function(e,n){return Array.isArray(e)&&(e=e[0]),h.notifyService.error("\n An error occurred in subscription.
    \n Error: "+(n=n||e.message||e.stack)+"\n "),h.store.dispatch(new jM.Z(t.windowId)),Object(Ox.b)()};try{s&&(c=JSON.parse(s))}catch(g){return l(g,"Your variables is not a valid JSON object.")}try{var p=h.gqlService.getSelectedOperationData({query:a,selectedOperation:u,queryCursorIndex:t.data.query.queryEditorState&&t.data.query.queryEditorState.isFocused?t.data.query.queryEditorState.cursorIndex:void 0,selectIfOneOperation:!0});h.store.dispatch(new jM.O(t.windowId,{operations:p.operations})),u=p.selectedOperation}catch(g){return h.store.dispatch(new jM.R(t.windowId,{selectedOperation:""})),h.notifyService.error(g.message),Object(Ox.b)()}try{h.gqlService.closeSubscriptionClient(t.data.query.subscriptionClient);try{var d=h.environmentService.hydrate(t.data.query.subscriptionConnectionParams);i=d?JSON.parse(d):void 0}catch(g){return h.store.dispatch(new z.k(t.windowId)),l(g,"Your connection parameters is not a valid JSON object.")}var f=h.gqlService.createSubscriptionClient(r,{connectionParams:i,connectionCallback:function(e){if(e)return o.a.log("Subscription connection error",e),l(e);o.a.log("Connected subscription.")}});return f.request({query:a,variables:c,operationName:u||void 0}).subscribe({next:function(e){var n="";try{n=JSON.stringify(e)}catch(g){o.a.error("Invalid subscription response format."),n="ERROR: Invalid subscription response format."}h.store.dispatch(new jM.b(t.windowId,{response:n,responseObj:e,responseTime:(new Date).getTime()})),h.notifyService.pushNotify(n,t.data.layout.title,{onclick:function(){h.store.dispatch(new L.l({windowId:t.windowId}))}}),o.a.log(e)},error:function(e){return o.a.log("Err",e),l(e)},complete:function(){o.a.log("Subscription complete.")}}),Object(qr.a)(new jM.S(t.windowId,{subscriptionClient:f}))}catch(g){return o.a.error("An error occurred starting the subscription.",g),l(g)}}))),this.stopSubscription$=this.actions$.pipe(hn(jM.H),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){return h.gqlService.closeSubscriptionClient(e.data.query.subscriptionClient),Object(qr.a)(new jM.S(e.windowId,{subscriptionClient:null}))}))),this.prettifyQuery$=this.actions$.pipe(hn(jM.m),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e,settings:t.settings}})),Object(sc.a)((function(e){return h.gqlService.prettify(e.data.query.query||"",e.settings.tabSize).then((function(t){if(t)return h.store.dispatch(new jM.L(t,e.windowId))})).catch((function(e){o.a.log(e);var t=e.message?e.message:e.toString();h.notifyService.error("Your query does not appear to be valid. Please check it. Error: "+t)})),Object(Ox.b)()}))),this.compressQuery$=this.actions$.pipe(hn(jM.d),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){return o.a.log("We compress.."),h.gqlService.compress(e.data.query.query).then((function(t){if(o.a.log("Compressed.."),t)return h.store.dispatch(new jM.L(t,e.windowId))})).catch((function(e){o.a.log(e);var t=e.message?e.message:e.toString();h.notifyService.error("Your query does not appear to be valid. Please check it. Error: "+t)})),Object(Ox.b)()}))),this.exportSDL$=this.actions$.pipe(hn(_.a),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){return e.data.schema.schema&&h.gqlService.getSDL(e.data.schema.schema).then((function(e){e&&Object(W.b)(e,"sdl",{fileType:"gql"})})).catch((function(e){var t=e.message?e.message:e.toString();h.notifyService.error("Could not export SDL. Your schema might be invalid. Error: "+t)})),Object(Ox.b)()}))),this.copyAsCurl$=this.actions$.pipe(hn(jM.f),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){var t=h.environmentService.hydrate(e.data.query.url),n=h.environmentService.hydrate(e.data.query.query||""),i=h.environmentService.hydrate(e.data.variables.variables);try{var r=Object(AM.a)({url:t,method:e.data.query.httpVerb,headers:e.data.headers.reduce((function(e,t){return e[t.key]=h.environmentService.hydrate(t.value),e}),{}),data:{query:n,variables:JSON.parse(i)}});o.a.log(r),Object(W.a)(r),h.notifyService.success("Copied cURL command to clipboard.")}catch(a){o.a.log("Error while copying as curl",a)}return Object(Ox.b)()}))),this.convertToNamedQuery$=this.actions$.pipe(hn(jM.e),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){try{var t=h.gqlService.nameQuery(e.data.query.query);if(t)return Object(qr.a)(new jM.L(t,e.windowId))}catch(i){o.a.log(i);var n=i.message?i.message:i.toString();h.notifyService.error("Your query does not appear to be valid. Please check it. Error: "+n)}return Object(Ox.b)()}))),this.refactorQuery$=this.actions$.pipe(hn(jM.o),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){try{if(e.data.query.query&&e.data.schema.schema){var t=h.gqlService.refactorQuery(e.data.query.query,e.data.schema.schema);if(t&&t.query){try{h.store.dispatch(new y.j(JSON.stringify(LM(LM({},JSON.parse(e.data.variables.variables)),t.variables),null,2),e.windowId))}catch(i){return h.notifyService.error("Looks like your variables are not formatted properly"),Object(Ox.b)()}return Object(qr.a)(new jM.L(t.query,e.windowId))}}}catch(r){o.a.log(r);var n=r.message?r.message:r.toString();h.notifyService.error("Your query does not appear to be valid. Please check it. Error: "+n)}return Object(Ox.b)()}))),this.showDonationAlert$=this.actions$.pipe(hn(jM.r),Object(sc.a)((function(){return h.donationService.trackAndCheckIfEligible().subscribe((function(e){e&&h.store.dispatch(new G)})),Object(Ox.b)()}))),this.startStreamClient$=this.actions$.pipe(hn(ze.e),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){if(!e.data.stream.url)return Object(Ox.b)();var t=new URL(h.environmentService.hydrate(e.data.query.url)),n=new URL(h.environmentService.hydrate(e.data.stream.url),t);if(t.host!==n.host)return h.notifyService.error("\n The stream and endpoint domains do not match. Please check your server implementation.\n ["+t.host+" != "+n.host+"]\n "),Object(Ox.b)();try{e.data.stream.client&&h.gqlService.closeStreamClient(e.data.stream.client);var i=h.gqlService.createStreamClient(n.href),r=e.action.payload.backoff||200;return i.addEventListener("change",(function(){h.store.dispatch(new jM.I(e.windowId))}),!1),i.addEventListener("open",(function(){h.store.dispatch(new ze.i(e.windowId,{failed:null})),h.store.dispatch(new ze.h(e.windowId,{connected:!0})),r=200}),!1),i.addEventListener("error",(function(t){h.store.dispatch(new ze.i(e.windowId,{failed:t}));var n=setTimeout((function(){r=Math.min(1.7*r,3e4),h.store.dispatch(new ze.k(e.windowId,{backoff:r})),clearTimeout(n)}),r)}),!1),Object(qr.a)(new ze.g(e.windowId,{streamClient:i}))}catch(a){return o.a.error("An error occurred starting the stream.",a),Object(Ox.b)()}}))),this.stopStreamClient$=this.actions$.pipe(hn(ze.f),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.windowId],windowId:e.windowId,action:e}})),Object(sc.a)((function(e){return e.data.stream.client&&h.gqlService.closeStreamClient(e.data.stream.client),Object(qr.a)(new ze.g(e.windowId,{streamClient:null}))})))}return e.prototype.getPrerequestTransformedData$=function(e){var t=this;return Object(qr.a)(e).pipe(Object(sc.a)((function(e){if(!e)return Object(Ox.b)();var n,i,r,a=(e.data.query.query||"").trim();return n=function(){return e.data.preRequest.enabled},i=_t.a.create((function(n){try{t.preRequestService.executeScript(e.data.preRequest.script,{environment:t.environmentService.getActiveEnvironment(),headers:e.data.headers,query:a,variables:e.data.variables.variables}).then((function(t){n.next({response:e,transformedData:t}),n.complete()})).catch((function(e){o.a.error(e),t.notifyService.error(e.message,"Pre-request error"),n.next(null),n.complete()}))}catch(i){o.a.error(i),t.notifyService.error(i.message,"Pre-request error"),n.next(null),n.complete()}})),r=Object(qr.a)({response:e,transformedData:null}),void 0===i&&(i=Ox.a),void 0===r&&(r=Ox.a),Object(Dt.a)((function(){return n()?i:r}))})))},e.\u0275fac=function(t){return new(t||e)(i.dc(pn),i.dc(MM.GqlService),i.dc(MM.NotifyService),i.dc(MM.DbService),i.dc(MM.DonationService),i.dc(MM.ElectronAppService),i.dc(MM.EnvironmentService),i.dc(MM.PreRequestService),i.dc(c.h))},e.\u0275prov=i.Pb({token:e,factory:e.\u0275fac}),PM([an(),FM("design:type",_t.a)],e.prototype,"sendQueryRequest$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"showUrlSetAlert$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"getGqlSchema$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"setSchemaSDL$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"loadSDLSchema$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"getIntrospectionForUrl$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"notifyExperimental$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"downloadResult$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"startSubscription$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"stopSubscription$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"prettifyQuery$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"compressQuery$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"exportSDL$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"copyAsCurl$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"convertToNamedQuery$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"refactorQuery$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"showDonationAlert$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"startStreamClient$",void 0),PM([an(),FM("design:type",_t.a)],e.prototype,"stopStreamClient$",void 0),e}(),BM=n("QvHX"),YM=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},UM=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},HM=function(){for(var e=0,t=0,n=arguments.length;t=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},ZM=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},$M=function(){function e(e,t,n,i,r){var o=this;this.actions$=e,this.store=t,this.collectionService=n,this.windowService=i,this.notifyService=r,this.createCollectionAndSaveQueryToCollection$=this.actions$.pipe(hn("CREATE_COLLECTION_AND_SAVE_QUERY_TO_COLLECTION"),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.payload.windowId],windowId:e.payload.windowId,action:e}})),Object(sc.a)((function(e){return o.windowService.getWindowExportData(e.windowId).subscribe((function(t){var n=t;e.action.payload.windowTitle&&(n.windowName=e.action.payload.windowTitle),o.collectionService.create({title:e.action.payload.collectionTitle,queries:[n]}).subscribe((function(){o.notifyService.success("Created collection."),o.store.dispatch(new se)}))})),Object(Ox.b)()}))),this.saveQueryToCollection$=this.actions$.pipe(hn("SAVE_QUERY_TO_COLLECTION"),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.payload.windowId],windowId:e.payload.windowId,action:e}})),Object(sc.a)((function(e){return o.windowService.getWindowExportData(e.windowId).subscribe((function(t){var n=t;e.action.payload.windowTitle&&(n.windowName=e.action.payload.windowTitle),o.collectionService.addQuery(e.action.payload.collectionId,n).subscribe((function(){o.notifyService.success("Added query to collection."),o.store.dispatch(new se)}))})),Object(Ox.b)()}))),this.updateQueryInCollection$=this.actions$.pipe(hn("UPDATE_QUERY_IN_COLLECTION"),Object(NM.a)(this.store,(function(e,t){return{data:t.windows[e.payload.windowId],windowId:e.payload.windowId,action:e}})),Object(sc.a)((function(e){return o.windowService.getWindowExportData(e.windowId).subscribe((function(t){e.data.layout.collectionId&&e.data.layout.windowIdInCollection&&o.collectionService.updateQuery(e.data.layout.collectionId,e.data.layout.windowIdInCollection,t).subscribe((function(){o.notifyService.success("Updated query in collection."),o.store.dispatch(new se)}))})),Object(Ox.b)()}))),this.loadCollections$=this.actions$.pipe(hn("LOAD_COLLECTIONS"),Object(sc.a)((function(e){return o.collectionService.getAll().pipe(Object(Mt.a)((function(e){return new re({collections:e})})))}))),this.deleteQueryFromCollection$=this.actions$.pipe(hn("DELETE_QUERY_FROM_COLLECTION"),Object(sc.a)((function(e){return o.collectionService.deleteQuery(e.payload.collectionId,e.payload.query).pipe(Object($r.a)((function(){return o.notifyService.success("Deleted query from collection.")})),Object(Mt.a)((function(){return new se})))}))),this.updateCollection$=this.actions$.pipe(hn("UPDATE_COLLECTION"),Object(sc.a)((function(e){return o.collectionService.updateCollection(e.payload.collectionId,e.payload.collection).pipe(Object($r.a)((function(){return o.notifyService.success("Updated collection.")})),Object(Mt.a)((function(){return new se})))}))),this.deleteCollection$=this.actions$.pipe(hn("DELETE_COLLECTION"),Object(sc.a)((function(e){return o.collectionService.deleteCollection(e.payload.collectionId).pipe(Object($r.a)((function(){return o.notifyService.success("Deleted query from collection.")})),Object(Mt.a)((function(){return new se})))}))),this.exportCollection$=this.actions$.pipe(hn("EXPORT_COLLECTION"),Object(sc.a)((function(e){return o.collectionService.getExportCollectionData(e.payload.collectionId).subscribe((function(e){e&&Object(W.c)(e,e.title,{fileType:"agc"})})),Object(Ox.b)()}))),this.importCollection$=this.actions$.pipe(hn("IMPORT_COLLECTION"),Object(sc.a)((function(){return Object(W.h)({accept:".agc"}).then((function(e){return o.collectionService.importCollectionDataFromJson(e).subscribe((function(){o.notifyService.success("Successfully imported collection."),o.store.dispatch(new se)}),(function(e){var t=e.message?e.message:e.toString();o.notifyService.error("Something went wrong importing collection. Error: "+t)}))})),Object(Ox.b)()})))}return e.\u0275fac=function(t){return new(t||e)(i.dc(pn),i.dc(c.h),i.dc(MM.QueryCollectionService),i.dc(MM.WindowService),i.dc(MM.NotifyService))},e.\u0275prov=i.Pb({token:e,factory:e.\u0275fac}),qM([an(),ZM("design:type",_t.a)],e.prototype,"createCollectionAndSaveQueryToCollection$",void 0),qM([an(),ZM("design:type",_t.a)],e.prototype,"saveQueryToCollection$",void 0),qM([an(),ZM("design:type",_t.a)],e.prototype,"updateQueryInCollection$",void 0),qM([an(),ZM("design:type",_t.a)],e.prototype,"loadCollections$",void 0),qM([an(),ZM("design:type",_t.a)],e.prototype,"deleteQueryFromCollection$",void 0),qM([an(),ZM("design:type",_t.a)],e.prototype,"updateCollection$",void 0),qM([an(),ZM("design:type",_t.a)],e.prototype,"deleteCollection$",void 0),qM([an(),ZM("design:type",_t.a)],e.prototype,"exportCollection$",void 0),qM([an(),ZM("design:type",_t.a)],e.prototype,"importCollection$",void 0),e}(),GM=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)}}),e}(),QM=n("VrN/"),XM=n.n(QM),KM=["ref"];function JM(e){return e?e.replace(/\r\n|\r/g,"\n"):e}var eL=function(){function e(e,t){this._differs=e,this._ngZone=t,this.className="",this.name="codemirror",this.autoFocus=!1,this.preserveScrollPosition=!1,this.cursorActivity=new i.n,this.focusChange=new i.n,this.scroll=new i.n,this.drop=new i.n,this.value="",this.disabled=!1,this.isFocused=!1,this.onChange=function(e){},this.onTouched=function(){}}var t;return t=e,Object.defineProperty(e.prototype,"options",{set:function(e){this._options=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"codeMirrorGlobal",{get:function(){return this._codeMirror||(this._codeMirror="undefined"!=typeof CodeMirror?CodeMirror:XM.a),this._codeMirror},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;this.ref&&this._ngZone.runOutsideAngular((function(){e.codeMirror=e.codeMirrorGlobal.fromTextArea(e.ref.nativeElement,e._options),e.codeMirror.on("cursorActivity",(function(t){return e._ngZone.run((function(){return e.cursorActive(t)}))})),e.codeMirror.on("scroll",e.scrollChanged.bind(e)),e.codeMirror.on("blur",(function(){return e._ngZone.run((function(){return e.focusChanged(!1)}))})),e.codeMirror.on("focus",(function(){return e._ngZone.run((function(){return e.focusChanged(!0)}))})),e.codeMirror.on("change",(function(t,n){return e._ngZone.run((function(){return e.codemirrorValueChanged(t,n)}))})),e.codeMirror.on("drop",(function(t,n){e._ngZone.run((function(){return e.dropFiles(t,n)}))})),e.codeMirror.setValue(e.value)}))},e.prototype.ngDoCheck=function(){var e=this;if(this._differ){var t=this._differ.diff(this._options);t&&(t.forEachChangedItem((function(t){return e.setOptionIfChanged(t.key,t.currentValue)})),t.forEachAddedItem((function(t){return e.setOptionIfChanged(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){return e.setOptionIfChanged(t.key,t.currentValue)})))}},e.prototype.ngOnDestroy=function(){this.codeMirror&&this.codeMirror.toTextArea()},e.prototype.codemirrorValueChanged=function(e,t){"setValue"!==t.origin&&(this.value=e.getValue(),this.onChange(this.value))},e.prototype.setOptionIfChanged=function(e,t){this.codeMirror&&this.codeMirror.setOption(e,t)},e.prototype.focusChanged=function(e){this.onTouched(),this.isFocused=e,this.focusChange.emit(e)},e.prototype.scrollChanged=function(e){this.scroll.emit(e.getScrollInfo())},e.prototype.cursorActive=function(e){this.cursorActivity.emit(e)},e.prototype.dropFiles=function(e,t){this.drop.emit([e,t])},e.prototype.writeValue=function(e){if(null!=e)if(this.codeMirror){var t=this.codeMirror.getValue();if(e!==t&&JM(t)!==JM(e))if(this.value=e,this.preserveScrollPosition){var n=this.codeMirror.getScrollInfo();this.codeMirror.setValue(this.value),this.codeMirror.scrollTo(n.left,n.top)}else this.codeMirror.setValue(this.value)}else this.value=e},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e,this.setOptionIfChanged("readOnly",this.disabled)},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.t),i.Tb(i.z))},e.\u0275cmp=i.Nb({type:e,selectors:[["ngx-codemirror"]],viewQuery:function(e,t){var n;1&e&&i.Jc(KM,!0),2&e&&i.zc(n=i.ic())&&(t.ref=n.first)},inputs:{className:"className",name:"name",autoFocus:"autoFocus",preserveScrollPosition:"preserveScrollPosition",options:"options"},outputs:{cursorActivity:"cursorActivity",focusChange:"focusChange",scroll:"scroll",drop:"drop"},features:[i.Cb([{provide:Ot.m,useExisting:Object(i.V)((function(){return t})),multi:!0}])],decls:3,vars:7,consts:[["autocomplete","off",3,"name","autofocus"],["ref",""]],template:function(e,t){1&e&&(i.Zb(0,"textarea",0,1),i.Nc(2," "),i.Yb()),2&e&&(i.Gb("ngx-codemirror ",t.className,""),i.Jb("ngx-codemirror--focused",t.isFocused),i.sc("name",t.name)("autofocus",t.autoFocus))},encapsulation:2,changeDetection:0}),e}(),tL=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)}}),e}(),nL=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)}}),e}(),iL=(n("cokd"),n("m3Q/"),n("iCJ0"),n("SJVZ"),n("y8iW"),n("rt3J"),n("jXCp"),n("jDMi"),n("ELLl"),n("Ku0u"),n("C2zF"),n("uTOq"),n("cV09"),n("GP5n"),n("nHt3"),n("mki7"),n("O8+U"),n("HkoP"),n("HBFN"),n("Xkdu"),n("IQOa")),rL=["error","warning","information","hint"],oL={"GraphQL: Validation":"validation","GraphQL: Deprecation":"deprecation","GraphQL: Syntax":"syntax"};QM.registerHelper("lint","graphql",(function(e,t){var n=t.schema;try{return Object(iL.getDiagnostics)(e,n).map((function(e){return e.severity&&e.source&&{message:e.message,severity:rL[e.severity-1],type:oL[e.source],from:QM.Pos(e.range.start.line,e.range.start.character),to:QM.Pos(e.range.end.line,e.range.end.character)}}))}catch(i){return o.a.log(i),[]}})),QM.registerHelper("hint","graphql",(function(e,t){var n=t.schema;if(n){var i=e.getDoc().getCursor(),r=e.getTokenAt(i),o=Object(iL.getAutocompleteSuggestions)(n,e.getValue(),i,r),a=null!==r.type&&/"|\w/.test(r.string[0])?r.start:r.end,s={list:o.map((function(e){return{text:e.label,type:e.detail&&n.getType(e.detail.replace(/[\[\]!]/g,"")),description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,render:t.render||void 0,typeDetail:e.detail}})),from:{line:i.line,column:a},to:{line:i.line,column:r.end}};return s&&s.list&&s.list.length>0&&(s.from=QM.Pos(s.from.line,s.from.column),s.to=QM.Pos(s.to.line,s.to.column),QM.signal(e,"hasCompletion",e,s,r)),s}}));var aL=n("axIb"),sL=n("4MG8"),cL=function(e){return e instanceof aL.e?cL(e.ofType)+"!":e instanceof aL.d?"["+cL(e.ofType)+"]":'
    '+e.name+""},uL=function(e,t){if(void 0===t&&(t=!1),e){if(t)return e.refresh();if(e&&e.display.wrapper.offsetHeight&&e.display.lastWrapHeight!==e.display.wrapper.clientHeight)return e.refresh()}},lL=(n("+dQi"),["editor"]),pL=function(){function e(){this.variables="",this.variablesChange=new i.n,this.variableEditorConfig={mode:{name:"javascript",json:!0},lineWrapping:!0,lineNumbers:!0,foldGutter:!0,autoRefresh:!0,dragDrop:!1,tabSize:4,indentUnit:4,matchBrackets:!0,autoCloseBrackets:!0,keyMap:"sublime",theme:"default variable-editor mousetrap",gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"]}}return e.prototype.ngOnChanges=function(){},e.prototype.ngDoCheck=function(){uL(this.editor&&this.editor.codeMirror)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-variables-editor"]],viewQuery:function(e,t){var n;1&e&&i.Jc(lL,!0),2&e&&i.zc(n=i.ic())&&(t.editor=n.first)},inputs:{variables:"variables"},outputs:{variablesChange:"variablesChange"},features:[i.Bb],decls:3,vars:2,consts:[[1,"set-variable-textarea","mousetrap",3,"options","ngModel","ngModelChange"],["editor",""]],template:function(e,t){1&e&&(i.Zb(0,"ngx-codemirror",0,1),i.hc("ngModelChange",(function(e){return t.variablesChange.emit(e)})),i.Yb(),i.Nc(2,"\n")),2&e&&i.sc("options",t.variableEditorConfig)("ngModel",t.variables)},directives:[eL,Ot.o,Ot.r],styles:[""]}),e}(),hL=n("pvWi"),dL=n("1UAX"),fL=["editor"];function gL(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",15),i.Nc(1,"\n "),i.Zb(2,"div",16),i.Nc(3,"\n "),i.Zb(4,"input",17),i.hc("ngModelChange",(function(e){i.Dc(n);var r=t.index;return i.kc().fileVariableNameChange.next({index:r,name:e})})),i.lc(5,"translate"),i.Yb(),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n "),i.Zb(8,"div",18),i.Nc(9,"\n "),i.Zb(10,"input",19,20),i.hc("change",(function(){i.Dc(n);var e=t.index,r=i.Ac(11);return i.kc().fileVariableDataChange.next({index:e,fileData:r.files[0]})})),i.Yb(),i.Nc(12,"\n "),i.Yb(),i.Nc(13,"\n "),i.Zb(14,"div",21),i.hc("click",(function(){i.Dc(n);var e=t.index;return i.kc().deleteFileVariableChange.next({index:e})})),i.Nc(15,"\xd7"),i.Yb(),i.Nc(16,"\n "),i.Yb()}if(2&e){var r=t.$implicit;i.Db(4),i.tc("placeholder",i.mc(5,2,"FILE_NAME_PLACEHOLDER")),i.sc("ngModel",r.name)}}var bL=function(e){return{"show-variables":e}},mL=function(e){return{hide:e}},vL=n("i1zs"),yL=/^[a-zA-Z0-9_@(]$/,wL=function(){function e(e,t,n){var r=this;this.gqlService=e,this.notifyService=t,this.zone=n,this.query="",this.tabSize=2,this.addQueryDepthLimit=2,this.showVariableDialog=!1,this.sendRequest=new i.n,this.queryChange=new i.n,this.variablesChange=new i.n,this.toggleVariableDialog=new i.n,this.addFileVariableChange=new i.n,this.fileVariableNameChange=new i.n,this.fileVariableDataChange=new i.n,this.deleteFileVariableChange=new i.n,this.queryEditorStateChange=new i.n,this.showTokenInDocsChange=new i.n,this.editorConfig={mode:"graphql",lineWrapping:!0,lineNumbers:!0,foldGutter:!0,tabSize:this.tabSize,indentUnit:this.tabSize,extraKeys:{"Cmd-Space":function(e){return e.showHint({completeSingle:!0})},"Ctrl-Space":function(e){return e.showHint({completeSingle:!0})},"Alt-Space":function(e){return e.showHint({completeSingle:!0})},"Cmd-/":function(e){return e.execCommand("toggleComment")},"Ctrl-/":function(e){return e.execCommand("toggleComment")},"Alt-F":"findPersistent","Ctrl-F":"findPersistent","Ctrl-D":function(e){return r.zone.run((function(){return r.onShowInDocsByToken(e)}))},"Shift-Ctrl-Enter":function(e){return r.zone.run((function(){return r.onFillFields(e)}))}},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,autoRefresh:!0,dragDrop:!1,lint:{},hintOptions:{completeSingle:!1,render:function(e,t,n){e.classList.add("query-editor__autocomplete-item"),e.innerHTML=('\n '+n.text+'\n '+n.typeDetail+"\n ").trim().replace(/ +/g," ")}},info:{onClick:function(e){return r.zone.run((function(){return r.onShowInDocsByReference(e)}))}},jump:{onClick:function(e){return r.zone.run((function(){return r.onShowInDocsByReference(e)}))}}},this.widgets=[],this.updateWidgetTimeout=null}return e.prototype.ngOnInit=function(){this.gqlSchema&&(this.editorConfig.lint={},this.editorConfig.tabSize=this.tabSize||2,this.editorConfig.indentUnit=this.tabSize||2,this.updateEditorSchema(this.gqlSchema))},e.prototype.ngAfterViewInit=function(){var e=this;this.editor&&(this.editor.codeMirror.on("keyup",(function(t,n){return e.onKeyUp(t,n)})),this.editor.codeMirror.on("focus",(function(t,n){return e.onEditorStateChange(t,n)})),this.editor.codeMirror.on("blur",(function(t,n){return e.onEditorStateChange(t,n)})),this.editor.codeMirror.on("cursorActivity",(function(t,n){return e.onEditorStateChange(t,n)})),this.editor.codeMirror.on("hasCompletion",(function(t,n){return e.onHasCompletion(t,n)})),this.editor.codeMirror.on("change",(function(t,n){return e.updateWidgets(t,n)})))},e.prototype.ngOnChanges=function(e){if(e&&e.gqlSchema&&e.gqlSchema.currentValue){this.updateEditorSchema(e.gqlSchema.currentValue);var t=this.gqlService.validateSchema(e.gqlSchema.currentValue);if(t.length){var n=t.map((function(e){return"

    "+e.message})).join("");this.notifyService.warning("\n The schema definition is invalid according to the GraphQL specs.\n Linting and other functionalities would be unavailable.\n "+n+"\n ","Altair",{disableTimeOut:!0})}}},e.prototype.ngDoCheck=function(){uL(this.editor&&this.editor.codeMirror)},e.prototype.onKeyUp=function(e,t){yL.test(t.key)&&this.editor.codeMirror.execCommand("autocomplete")},e.prototype.onEditorStateChange=function(e,t){var n=e.getDoc().getCursor(),i=e.getDoc().indexFromPos(n),r=e.hasFocus();this.queryEditorStateChange.next({isFocused:r,cursorIndex:i})},e.prototype.onShowInDocsByToken=function(e){var t=e.getDoc().getCursor(),n=e.getTokenAt(t),i=vL(this.gqlSchema,n.state);i.fieldDef&&i.parentType?this.showTokenInDocsChange.next({view:"field",parentType:i.parentType.inspect(),name:i.fieldDef.name}):i.type&&this.showTokenInDocsChange.next({view:"type",name:i.type.inspect()}),this.editor.codeMirror.getInputField().blur()},e.prototype.onShowInDocsByReference=function(e){e.field&&e.type?this.showTokenInDocsChange.next({view:"field",parentType:e.type.inspect(),name:e.field.name}):e.type&&this.showTokenInDocsChange.next({view:"type",name:e.type.inspect()})},e.prototype.onFillFields=function(e){var t=e.getDoc().getCursor(),n=e.getTokenAt(t),i=this.gqlSchema;if(i){var r=this.gqlService.fillAllFields(i,e.getValue(),t,n,{maxDepth:this.addQueryDepthLimit});this.queryChange.next(r.result);var o=setTimeout((function(){e.getDoc().setCursor(t),clearTimeout(o)}),1)}},e.prototype.onHasCompletion=function(e,t){var i=this;!function(e,t,i){void 0===i&&(i={});var r,o,a,s=n("VrN/"),c=i.onHintInformationRender,u=i.onClickHintInformation;s.on(t,"select",(function(e,t){var n=void 0;if(u&&(n=function(){return u(e.type)}),!r){var i,s=t.parentNode;s&&((r=document.createElement("div")).className="CodeMirror-hint-information",s.appendChild(r),(o=document.createElement("div")).className="CodeMirror-hint-deprecation",s.appendChild(o),(a=document.createElement("div")).className="CodeMirror-hint-fill-all-fields",a.innerHTML='\n Fill all fields\n Ctrl+Shift+Enter\n '.trim().replace(/ +/g," "),s.appendChild(a),s.addEventListener("DOMNodeRemoved",i=function(e){e.target===s&&(r&&n&&r.removeEventListener("click",n),s.removeEventListener("DOMNodeRemoved",i),r=null,o=null,a=null,i=void 0)}))}var l=e.description?sL(e.description):e.type&&e.type.description?sL(e.type.description):"Self descriptive.",p=e.type?''+cL(e.type)+"":"";if(r&&(r.innerHTML='

    '+("

    "===l.slice(0,3)?"

    "+p+l.slice(3):p+l)+"

    "),e.isDeprecated){var h=e.deprecationReason?sL(e.deprecationReason):"";o&&(o.innerHTML='Deprecated'+h,o.style.display="block")}else o&&(o.style.display="none");n&&r&&r.addEventListener("click",n),c&&c(r)}))}(0,t,{onClickHintInformation:function(e){if(i.gqlSchema){var t=i.gqlSchema.getType(e);t&&i.showTokenInDocsChange.next({view:"type",name:t.inspect()})}}})},e.prototype.updateWidgets=function(e,t){var n=this;this.zone.runOutsideAngular((function(){var t=[];clearTimeout(n.updateWidgetTimeout),n.updateWidgetTimeout=setTimeout((function(){try{var i=n.gqlService.parseQuery(e.getValue());i.definitions.forEach((function(e){"OperationDefinition"===e.kind&&(e.name&&e.name.value||1===i.definitions.length)&&(o.a.log("WIDGET",e),t.push({operation:e.operation,location:e.loc,operationName:e.name?e.name.value:""}))})),e.operation((function(){n.widgets.forEach((function(t){e.removeLineWidget(t),t.clear()})),n.widgets=[],t.forEach((function(t){var i=t.operationName,r=t.operation,a=t.location,s=document.createElement("div");s.innerHTML="► (Run "+r+(i?" "+i:"")+")",s.className="query-editor__line-widget",s.onclick=function(){n.zone.run((function(){return n.sendRequest.next({operationName:i})})),o.a.log("WIDGET listens")},n.widgets.push(e.addLineWidget(a.startToken.line-1,s,{above:!0}))}))}))}catch(r){}finally{clearTimeout(n.updateWidgetTimeout)}}),300)}))},e.prototype.updateEditorSchema=function(e){e&&(o.a.log("Updating schema...",e),this.editorConfig.lint.schema=e,this.editorConfig.hintOptions.schema=e,this.editorConfig.info.schema=e,this.editorConfig.jump.schema=e)},e.prototype.onResize=function(e){this.resizeFactor=e},e.prototype.trackByIndex=function(e){return e},e.\u0275fac=function(t){return new(t||e)(i.Tb(MM.GqlService),i.Tb(MM.NotifyService),i.Tb(i.z))},e.\u0275cmp=i.Nb({type:e,selectors:[["app-query-editor"]],viewQuery:function(e,t){var n;1&e&&i.Jc(fL,!0),2&e&&i.zc(n=i.ic())&&(t.editor=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&i.Kc("flex-grow",t.resizeFactor)},inputs:{query:"query",gqlSchema:"gqlSchema",tabSize:"tabSize",addQueryDepthLimit:"addQueryDepthLimit",variables:"variables",showVariableDialog:"showVariableDialog"},outputs:{sendRequest:"sendRequest",queryChange:"queryChange",variablesChange:"variablesChange",toggleVariableDialog:"toggleVariableDialog",addFileVariableChange:"addFileVariableChange",fileVariableNameChange:"fileVariableNameChange",fileVariableDataChange:"fileVariableDataChange",deleteFileVariableChange:"deleteFileVariableChange",queryEditorStateChange:"queryEditorStateChange",showTokenInDocsChange:"showTokenInDocsChange"},features:[i.Bb],decls:41,vars:21,consts:[[1,"query-editor-container"],[1,"query-editor__input",3,"ngModel","options","ngModelChange"],["editor",""],[1,"variables-editor-container",3,"ngClass"],["track-id","toggle_variables",1,"variables-editor--title",3,"click"],[1,"variables-editor-inner",3,"ngClass"],[1,"variables-editor-input-container"],[3,"variables","variablesChange"],[1,"variables-files-container"],["track-id","add_file_variable",1,"variables-add-files-button",3,"click"],["href","https://sirmuel.design/working-with-file-uploads-using-altair-graphql-d2f86dc8261f","target","_blank","rel","noopener"],["name","info"],[1,"variables-files-list"],["class","variables-file-item",4,"ngFor","ngForOf","ngForTrackBy"],[3,"resizeDirection","resizeChange"],[1,"variables-file-item"],[1,"variables-file-item-name-input-wrapper"],["type","text",1,"variables-file-item-name-input",3,"placeholder","ngModel","ngModelChange"],[1,"variables-file-item-input-wrapper"],["type","file",1,"variables-file-item-input",3,"change"],["fileEl",""],[1,"variables-file-item-input-delete",3,"click"]],template:function(e,t){1&e&&(i.Zb(0,"div",0),i.Nc(1,"\n "),i.Zb(2,"ngx-codemirror",1,2),i.hc("ngModelChange",(function(e){return t.query=e}))("ngModelChange",(function(e){return t.queryChange.emit(e)})),i.Yb(),i.Nc(4,"\n"),i.Yb(),i.Nc(5,"\n"),i.Zb(6,"div",3),i.Nc(7,"\n "),i.Zb(8,"div",4),i.hc("click",(function(e){return t.toggleVariableDialog.next(e)})),i.Nc(9),i.lc(10,"translate"),i.Yb(),i.Nc(11,"\n "),i.Zb(12,"div",5),i.Nc(13,"\n "),i.Zb(14,"div",6),i.Nc(15,"\n "),i.Zb(16,"app-variables-editor",7),i.hc("variablesChange",(function(e){return t.variablesChange.emit(e)})),i.Yb(),i.Nc(17,"\n "),i.Yb(),i.Nc(18,"\n "),i.Zb(19,"div",8),i.Nc(20,"\n "),i.Zb(21,"button",9),i.hc("click",(function(){return t.addFileVariableChange.next()})),i.Nc(22),i.lc(23,"translate"),i.Yb(),i.Nc(24,"\n\n "),i.Zb(25,"a",10),i.Nc(26,"\n "),i.Ub(27,"app-icon",11),i.Nc(28),i.lc(29,"translate"),i.Yb(),i.Nc(30,"\n\n "),i.Zb(31,"div",12),i.Nc(32,"\n "),i.Lc(33,gL,17,4,"div",13),i.Nc(34,"\n "),i.Yb(),i.Nc(35,"\n "),i.Yb(),i.Nc(36,"\n "),i.Yb(),i.Nc(37,"\n"),i.Yb(),i.Nc(38,"\n"),i.Zb(39,"app-flex-resizer",14),i.hc("resizeChange",(function(e){return t.onResize(e)})),i.Yb(),i.Nc(40,"\n")),2&e&&(i.Db(2),i.sc("ngModel",t.query)("options",t.editorConfig),i.Db(4),i.sc("ngClass",i.vc(17,bL,t.showVariableDialog)),i.Db(3),i.Oc(i.mc(10,11,"VARIABLES_TEXT")),i.Db(3),i.sc("ngClass",i.vc(19,mL,!t.showVariableDialog)),i.Db(4),i.sc("variables",null==t.variables?null:t.variables.variables),i.Db(6),i.Oc(i.mc(23,13,"ADD_FILES_TEXT")),i.Db(6),i.Pc("\n ",i.mc(29,15,"LEARN_MORE_TEXT"),"\n "),i.Db(5),i.sc("ngForOf",null==t.variables?null:t.variables.files)("ngForTrackBy",t.trackByIndex),i.Db(6),i.sc("resizeDirection","right"))},directives:[eL,Ot.o,Ot.r,Vr.q,pL,hL.a,Vr.s,dL.a,Ot.e],pipes:[Nn.d],styles:[""]}),e}();function OL(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.lc(2,"json"),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Pc(" ",i.mc(2,1,n.data.responseObj)," ")}}function CL(e,t){if(1&e&&(i.Xb(0),i.Nc(1),i.Wb()),2&e){var n=i.kc();i.Db(1),i.Pc(" ",n.data.response," ")}}n("iMDj");var SL=function(e){return{"subscription-result__list-item--expanded":e}},zL=function(){function e(){this.data={response:"",responseObj:null,responseTime:0},this.isExpanded=!1}return e.prototype.toggleExpanded=function(){this.isExpanded=!this.isExpanded},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-subscription-result-item"]],inputs:{data:"data"},decls:7,vars:9,consts:[[1,"subscription-result__list-item",3,"ngClass","click"],[1,"subscription-result__list-item-content"],[4,"ngIf"],[1,"subscription-result__list-item-time"]],template:function(e,t){1&e&&(i.Zb(0,"div",0),i.hc("click",(function(){return t.toggleExpanded()})),i.Zb(1,"div",1),i.Lc(2,OL,3,3,"ng-container",2),i.Lc(3,CL,2,1,"ng-container",2),i.Yb(),i.Zb(4,"div",3),i.Nc(5),i.lc(6,"date"),i.Yb(),i.Yb()),2&e&&(i.sc("ngClass",i.vc(7,SL,t.isExpanded)),i.Db(2),i.sc("ngIf",t.data.responseObj),i.Db(1),i.sc("ngIf",!t.data.responseObj),i.Db(2),i.Oc(i.nc(6,4,t.data.responseTime,"mediumTime")))},directives:[Vr.q,Vr.t],pipes:[Vr.f,Vr.k],styles:[""],encapsulation:2}),e}(),TL=["editor"],_L=["subscriptionResponseList"];function kL(e,t){1&e&&(i.Zb(0,"div",29),i.Nc(1,"\n "),i.Zb(2,"div",30),i.Nc(3,"\n "),i.Zb(4,"div",31),i.Nc(5),i.lc(6,"translate"),i.Yb(),i.Nc(7,"\n "),i.Zb(8,"div",32),i.Nc(9,"\n "),i.Zb(10,"div",5),i.Nc(11,"\n "),i.Ub(12,"div",33),i.Nc(13,"\n "),i.Ub(14,"div",34),i.Nc(15,"\n "),i.Ub(16,"div",34),i.Nc(17,"\n "),i.Ub(18,"div",34),i.Nc(19,"\n "),i.Yb(),i.Nc(20,"\n "),i.Zb(21,"div",9),i.Nc(22,"\n "),i.Ub(23,"div",34),i.Nc(24,"\n "),i.Yb(),i.Nc(25,"\n "),i.Yb(),i.Nc(26,"\n "),i.Yb(),i.Nc(27,"\n "),i.Yb()),2&e&&(i.Db(5),i.Pc("\n ",i.mc(6,1,"QUERY_RESULT_NO_RESULT_TEXT"),"\n "))}function DL(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",35),i.hc("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc().actionButtonClickChange.next(e)})),i.Nc(1),i.Yb()}if(2&e){var r=t.$implicit;i.Db(1),i.Pc("\n ",r.text,"\n ")}}function xL(e,t){1&e&&i.Ub(0,"app-subscription-result-item",36),2&e&&i.sc("data",t.$implicit)}var EL=function(e){return{hide:e}},NL=function(e){return{"subscription-result__float-action-button--active":e}},jL=function(){function e(){this.queryResult="",this.responseTime=0,this.responseStatus=0,this.responseStatusText="",this.isSubscribed=!1,this.subscriptionResponses=[],this.subscriptionUrl="",this.tabSize=2,this.autoscrollSubscriptionResponses=!1,this.actionButtons=[],this.downloadResultChange=new i.n,this.stopSubscriptionChange=new i.n,this.clearSubscriptionChange=new i.n,this.autoscrollSubscriptionResponsesChange=new i.n,this.actionButtonClickChange=new i.n,this.resultEditorConfig={mode:"graphql-results",json:!0,tabSize:this.tabSize,indentUnit:this.tabSize,lineWrapping:!0,lineNumbers:!0,foldGutter:!0,readOnly:!0,dragDrop:!1,autoRefresh:!0,theme:"default query-result",gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{"Alt-F":"findPersistent","Ctrl-F":"findPersistent"}}}return e.prototype.ngOnChanges=function(e){var t=this;if(e.subscriptionResponses&&e.subscriptionResponses.currentValue)var n=setTimeout((function(){t.subscriptionResponseList&&t.autoscrollSubscriptionResponses&&(t.subscriptionResponseList.nativeElement.scrollTop=t.subscriptionResponseList.nativeElement.scrollHeight),clearTimeout(n)}),50)},e.prototype.ngDoCheck=function(){uL(this.editor&&this.editor.codeMirror)},e.prototype.subscriptionResponseTrackBy=function(e,t){return t.responseTime},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-query-result"]],viewQuery:function(e,t){var n;1&e&&(i.Jc(TL,!0),i.Jc(_L,!0)),2&e&&(i.zc(n=i.ic())&&(t.editor=n.first),i.zc(n=i.ic())&&(t.subscriptionResponseList=n.first))},inputs:{queryResult:"queryResult",responseTime:"responseTime",responseStatus:"responseStatus",responseStatusText:"responseStatusText",isSubscribed:"isSubscribed",subscriptionResponses:"subscriptionResponses",subscriptionUrl:"subscriptionUrl",tabSize:"tabSize",autoscrollSubscriptionResponses:"autoscrollSubscriptionResponses",actionButtons:"actionButtons"},outputs:{downloadResultChange:"downloadResultChange",stopSubscriptionChange:"stopSubscriptionChange",clearSubscriptionChange:"clearSubscriptionChange",autoscrollSubscriptionResponsesChange:"autoscrollSubscriptionResponsesChange",actionButtonClickChange:"actionButtonClickChange"},features:[i.Bb],decls:82,vars:37,consts:[[1,"query-result-container"],[1,"query-result__normal-container",3,"ngClass"],["class","query-result__none",4,"ngIf"],[1,"app-result",3,"ngClass"],[1,"response-stats"],[1,"left"],[1,"response-status-code","response-stats__item"],[1,"response-time","response-stats__item"],["name","clock"],[1,"right"],[1,"query-result__bottom-actions"],["track-id","download_result",1,"query-result__download-button",3,"click"],["name","download"],["class","query-result__download-button",3,"click",4,"ngFor","ngForOf"],[1,"app-query-result-textarea",3,"options","ngModel"],["editor",""],[1,"query-result__subscription-container",3,"ngClass"],[1,"subscription-result"],[1,"subscription-result__actions"],[1,"subscription-result__actions-left"],[1,"subscription-result__actions-url"],[1,"subscription-result__actions-right"],["track-id","clear_subscription",1,"subscription-button",3,"click"],["track-id","stop_subscription",1,"subscription-button","subscription-button--stop",3,"click"],[1,"subscription-result__list-wrapper"],["subscriptionResponseList",""],[3,"data",4,"ngFor","ngForOf","ngForTrackBy"],[1,"subscription-result__float-actions"],[1,"subscription-result__float-action-button",3,"ngClass","click"],[1,"query-result__none"],[1,"query-result__none-inner"],[1,"query-result__none-subtext"],[1,"query-result__none-art"],[1,"query-result__none-art-button","send"],[1,"query-result__none-art-button"],[1,"query-result__download-button",3,"click"],[3,"data"]],template:function(e,t){1&e&&(i.Zb(0,"div",0),i.Nc(1,"\n "),i.Zb(2,"div",1),i.Nc(3,"\n "),i.Lc(4,kL,28,3,"div",2),i.Nc(5,"\n "),i.Nc(6,"\n "),i.Zb(7,"div",3),i.Nc(8,"\n "),i.Zb(9,"div",4),i.Nc(10,"\n "),i.Zb(11,"div",5),i.Nc(12,"\n "),i.Zb(13,"span",6),i.Nc(14),i.Yb(),i.Nc(15,"\n "),i.Zb(16,"span",7),i.Ub(17,"app-icon",8),i.Nc(18),i.Yb(),i.Nc(19,"\n "),i.Yb(),i.Nc(20,"\n "),i.Zb(21,"div",9),i.Nc(22,"\n "),i.Yb(),i.Nc(23,"\n "),i.Yb(),i.Nc(24,"\n "),i.Zb(25,"div",10),i.Nc(26,"\n "),i.Zb(27,"button",11),i.hc("click",(function(){return t.downloadResultChange.next()})),i.Nc(28,"\n "),i.Ub(29,"app-icon",12),i.Nc(30),i.lc(31,"translate"),i.Yb(),i.Nc(32,"\n "),i.Lc(33,DL,2,1,"button",13),i.Nc(34,"\n "),i.Yb(),i.Nc(35,"\n "),i.Ub(36,"ngx-codemirror",14,15),i.lc(38,"json"),i.Nc(39,"\n "),i.Yb(),i.Nc(40,"\n "),i.Yb(),i.Nc(41,"\n "),i.Zb(42,"div",16),i.Nc(43,"\n "),i.Zb(44,"div",17),i.Nc(45,"\n "),i.Zb(46,"div",18),i.Nc(47,"\n "),i.Zb(48,"div",19),i.Nc(49,"\n "),i.Zb(50,"div",20),i.Nc(51),i.Yb(),i.Nc(52,"\n "),i.Yb(),i.Nc(53,"\n "),i.Zb(54,"div",21),i.Nc(55,"\n "),i.Zb(56,"button",22),i.hc("click",(function(){return t.clearSubscriptionChange.next()})),i.Nc(57),i.lc(58,"translate"),i.Yb(),i.Nc(59,"\n "),i.Zb(60,"button",23),i.hc("click",(function(){return t.stopSubscriptionChange.next()})),i.Nc(61),i.lc(62,"translate"),i.Yb(),i.Nc(63,"\n "),i.Yb(),i.Nc(64,"\n "),i.Yb(),i.Nc(65,"\n "),i.Zb(66,"div",24,25),i.Nc(68,"\n "),i.Lc(69,xL,1,1,"app-subscription-result-item",26),i.Nc(70,"\n "),i.Yb(),i.Nc(71,"\n "),i.Zb(72,"div",27),i.Nc(73,"\n "),i.Zb(74,"button",28),i.hc("click",(function(){return t.autoscrollSubscriptionResponsesChange.next()})),i.Nc(75),i.lc(76,"translate"),i.Yb(),i.Nc(77,"\n "),i.Yb(),i.Nc(78,"\n "),i.Yb(),i.Nc(79,"\n "),i.Yb(),i.Nc(80,"\n"),i.Yb(),i.Nc(81,"\n")),2&e&&(i.Db(2),i.sc("ngClass",i.vc(29,EL,t.isSubscribed)),i.Db(2),i.sc("ngIf",!t.queryResult),i.Db(3),i.sc("ngClass",i.vc(31,EL,!t.queryResult)),i.Db(6),i.Eb("data-status-code",t.responseStatus),i.Db(1),i.Qc("",t.responseStatus," ",t.responseStatusText,""),i.Db(4),i.Pc(" ",t.responseTime,"ms"),i.Db(12),i.Pc("\n ",i.mc(31,19,"QUERY_RESULT_DOWNLOAD_RESULT_BUTTON"),"\n "),i.Db(3),i.sc("ngForOf",t.actionButtons),i.Db(3),i.sc("options",t.resultEditorConfig)("ngModel",i.mc(38,21,t.queryResult)),i.Db(6),i.sc("ngClass",i.vc(33,EL,!t.isSubscribed)),i.Db(9),i.Pc("\n ",t.subscriptionUrl,"\n "),i.Db(6),i.Oc(i.mc(58,23,"SUBSCRIPTIONS_CLEAR_TEXT")),i.Db(4),i.Oc(i.mc(62,25,"SUBSCRIPTIONS_STOP_TEXT")),i.Db(8),i.sc("ngForOf",t.subscriptionResponses)("ngForTrackBy",t.subscriptionResponseTrackBy),i.Db(5),i.sc("ngClass",i.vc(35,NL,t.autoscrollSubscriptionResponses)),i.Db(1),i.Pc("\n ",i.mc(76,27,"SUBSCRIPTIONS_AUTOSCROLL_TEXT"),"\n "))},directives:[Vr.q,Vr.t,hL.a,Vr.s,eL,Ot.o,Ot.r,zL],pipes:[Nn.d,Vr.k],styles:[""]}),e}(),IL=["fancyInputEl"],AL=["fancyInputHighlightsEl"];function ML(e,t){if(1&e&&(i.Zb(0,"span"),i.Nc(1),i.Yb()),2&e){var n=i.kc().$implicit;i.Db(1),i.Oc(n.content)}}function LL(e,t){if(1&e&&(i.Zb(0,"mark"),i.Nc(1),i.Yb()),2&e){var n=i.kc().$implicit;i.Db(1),i.Oc(n.content)}}function PL(e,t){if(1&e&&(i.Xb(0),i.Lc(1,ML,2,1,"span",7),i.Lc(2,LL,2,1,"mark",7),i.Wb()),2&e){var n=t.$implicit;i.Db(1),i.sc("ngIf",!n.type),i.Db(1),i.sc("ngIf","mark"===n.type)}}var FL=function(){function e(){this.placeholder="",this.blur=new i.n,this.submit=new i.n,this.highlightData={sections:[]},this.innerValue="",this.onTouchedCallback=function(){},this.onChangeCallback=function(){}}return Object.defineProperty(e.prototype,"value",{get:function(){return this.innerValue},set:function(e){e!==this.innerValue&&(this.innerValue=e,this.onChangeCallback(e))},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){e!==this.innerValue&&(this.innerValue=e)},e.prototype.registerOnChange=function(e){this.onChangeCallback=e},e.prototype.registerOnTouched=function(e){this.onTouchedCallback=e},e.prototype.ngOnInit=function(){var e=this;"firefox"===this.detectBrowser()&&this.fixFirefox();var t=setTimeout((function(){e.handleInput(),clearTimeout(t)}),1)},e.prototype.handleInput=function(){var e=this.fancyInputEl.nativeElement.value,t=this.getRanges(e,/{{\s*[\w\.]+\s*}}/g),n=this.removeStaggeredRanges(t),i=this.getBoundaries(n);this.highlightData.sections=this.generateHighlightSections(e,i),this.updateHighlighterScroll()},e.prototype.handleScroll=function(){o.a.log("scrolling input")},e.prototype.handleKeydown=function(){this.updateHighlighterScroll()},e.prototype.handleBlur=function(){this.updateHighlighterScroll(),this.onTouchedCallback(),this.blur.next(this.innerValue)},e.prototype.handleSubmit=function(){this.submit.next(this.innerValue)},e.prototype.blockContainerScroll=function(){},e.prototype.detectBrowser=function(){var e=window.navigator.userAgent.toLowerCase();return-1!==e.indexOf("firefox")?"firefox":e.match(/msie|trident\/7|edge/)?"ie":e.match(/ipad|iphone|ipod/)&&-1===e.indexOf("windows phone")?"ios":"other"},e.prototype.fixFirefox=function(){},e.prototype.getRanges=function(e,t){for(var n,i=[];null!==(n=t.exec(e))&&(i.push([n.index,n.index+n[0].length]),t.global););return i},e.prototype.removeStaggeredRanges=function(e){var t=[];return e.forEach((function(e){t.some((function(t){return(e[0]>t[0]&&e[0]t[0]&&e[1]1),i.Db(7),i.sc("ngForOf",t.queryOperations)("ngForTrackBy",t.queryOperationTrackBy)}},directives:[xu.b,xu.e,YO.c,Vr.s,Vr.t,FL,Ot.o,Ot.r,hL.a,Hd.a,YO.f,Za,Vr.q],pipes:[Nn.d],encapsulation:2}),e}();function nP(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",10),i.hc("click",(function(){i.Dc(n);var e=i.kc().$implicit;return i.kc().closeWindow(e)})),i.Nc(1,"\xd7"),i.Yb()}}var iP=function(e,t,n){return{windowId:e,wTitle:t,index:n}},rP=function(e){return{"window-switcher__input--editing":e}};function oP(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",6),i.hc("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc().onClickWindow(e)}))("dblclick",(function(){i.Dc(n);var e=t.$implicit,r=i.Ac(3);return i.kc().editWindowNameInput(e,r)})),i.Nc(1,"\n \n "),i.Zb(2,"div",7,8),i.hc("blur",(function(){i.Dc(n);var e=t.$implicit,r=i.Ac(3);return i.kc().saveWindowName(e,r.innerText)}))("keydown.enter",(function(){i.Dc(n);var e=t.$implicit,r=i.Ac(3);return i.kc().saveWindowName(e,r.innerText)})),i.Nc(4),i.Yb(),i.Nc(5,"\n "),i.Lc(6,nP,2,0,"div",9),i.Nc(7,"\n "),i.Yb()}if(2&e){var r=t.$implicit,o=t.index,a=i.Ac(3),s=i.kc();i.sc("nzSelected",r===s.activeWindowId)("contextMenu",s.windowTabMenu)("contextMenuSubject",i.xc(7,iP,r,a,o)),i.Db(2),i.sc("ngClass",i.vc(11,rP,r===s.windowNameEditing)),i.Eb("contenteditable",r===s.windowNameEditing),i.Db(2),i.Oc(s.windows[r].layout.title),i.Db(2),i.sc("ngIf",s.windowIds.length>1)}}function aP(e,t){if(1&e){var n=i.ac();i.Zb(0,"li",11),i.hc("click",(function(e){return i.Dc(n),i.kc().newWindowChange.next(e)})),i.Nc(1),i.lc(2,"translate"),i.Yb()}2&e&&(i.sc("nzSelected",!1),i.Db(1),i.Pc("\n ",i.mc(2,2,"ADD_NEW_WINDOW_TEXT"),"\n "))}function sP(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span",12),i.Nc(2,"\n "),i.Ub(3,"app-icon",13),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"span",14),i.Nc(7),i.lc(8,"translate"),i.Yb(),i.Nc(9,"\n ")),2&e&&(i.Db(7),i.Pc("\n ",i.mc(8,1,"EDIT_WINDOW_TEXT"),"\n "))}function cP(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span",12),i.Nc(2,"\n "),i.Ub(3,"app-icon",15),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"span",14),i.Nc(7),i.lc(8,"translate"),i.Yb(),i.Nc(9,"\n ")),2&e&&(i.Db(7),i.Pc("\n ",i.mc(8,1,"DUPLICATE_WINDOW_TEXT"),"\n "))}function uP(e,t){}function lP(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span",12),i.Nc(2,"\n "),i.Ub(3,"app-icon",16),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"span",14),i.Nc(7),i.lc(8,"translate"),i.Yb(),i.Nc(9,"\n ")),2&e&&(i.Db(7),i.Pc("\n ",i.mc(8,1,"CLOSE_WINDOW_TEXT"),"\n "))}function pP(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span",12),i.Nc(2,"\n "),i.Ub(3,"app-icon",17),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"span",14),i.Nc(7),i.lc(8,"translate"),i.Yb(),i.Nc(9,"\n ")),2&e&&(i.Db(7),i.Pc("\n ",i.mc(8,1,"CLOSE_WINDOWS_TO_THE_RIGHT_TEXT"),"\n "))}function hP(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span",12),i.Nc(2,"\n "),i.Ub(3,"app-icon",17),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"span",14),i.Nc(7),i.lc(8,"translate"),i.Yb(),i.Nc(9,"\n ")),2&e&&(i.Db(7),i.Pc("\n ",i.mc(8,1,"CLOSE_OTHER_WINDOWS_TEXT"),"\n "))}function dP(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"span",12),i.Nc(2,"\n "),i.Ub(3,"app-icon",18),i.Nc(4,"\n "),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"span",14),i.Nc(7),i.lc(8,"translate"),i.Yb(),i.Nc(9,"\n ")),2&e&&(i.Db(7),i.Pc("\n ",i.mc(8,1,"REOPEN_CLOSED_WINDOW_TEXT"),"\n "))}function fP(e,t){if(1&e){var n=i.ac();i.Lc(0,dP,10,3,"ng-template",3),i.hc("execute",(function(){return i.Dc(n),i.kc().reopenClosedTab()}))}}var gP=function(){function e(e){this.altairConfig=e,this.windows={},this.windowIds=[],this.closedWindows=[],this.activeWindowId="",this.isElectron=!1,this.activeWindowChange=new i.n,this.newWindowChange=new i.n,this.removeWindowChange=new i.n,this.duplicateWindowChange=new i.n,this.windowNameChange=new i.n,this.repositionWindowChange=new i.n,this.reopenClosedWindowChange=new i.n,this.windowTabMenuData=[{name:"Edit"}],this.windowNameEditing="",this.maxWindowCount=this.altairConfig.max_windows,this.sortableOptions={}}return e.prototype.ngOnInit=function(){var e=this;this.sortableOptions={onUpdate:function(t){e.moveWindow(t.oldIndex,t.newIndex)}}},e.prototype.onClickWindow=function(e){this.activeWindowChange.next(e)},e.prototype.editWindowNameInput=function(e,t){this.windowNameEditing=e,t.setAttribute("contenteditable","contenteditable"),t.focus()},e.prototype.saveWindowName=function(e,t){this.windowNameChange.next({windowId:e,windowName:t}),this.windowNameEditing=""},e.prototype.moveWindow=function(e,t){this.repositionWindowChange.next({currentPosition:e,newPosition:t})},e.prototype.closeWindow=function(e){return this.removeWindowChange.next(e)},e.prototype.closeWindowsToTheRight=function(e){var t=this;if(!(e+1>=this.windowIds.length))return this.windowIds.filter((function(t,n){return n>e})).map((function(e){return t.closeWindow(e)}))},e.prototype.closeOtherWindows=function(e){var t=this;return this.windowIds.filter((function(t){return t!==e})).map((function(e){return t.closeWindow(e)}))},e.prototype.duplicateWindow=function(e){this.duplicateWindowChange.next(e)},e.prototype.reopenClosedTab=function(){this.reopenClosedWindowChange.emit()},e.prototype.log=function(e){o.a.log(e)},e.\u0275fac=function(t){return new(t||e)(i.Tb(s.a))},e.\u0275cmp=i.Nb({type:e,selectors:[["app-window-switcher"]],viewQuery:function(e,t){var n;1&e&&i.Jc(Mo,!0),2&e&&i.zc(n=i.ic())&&(t.windowTabMenu=n.first)},inputs:{windows:"windows",windowIds:"windowIds",closedWindows:"closedWindows",activeWindowId:"activeWindowId",isElectron:"isElectron"},outputs:{activeWindowChange:"activeWindowChange",newWindowChange:"newWindowChange",removeWindowChange:"removeWindowChange",duplicateWindowChange:"duplicateWindowChange",windowNameChange:"windowNameChange",repositionWindowChange:"repositionWindowChange",reopenClosedWindowChange:"reopenClosedWindowChange"},decls:24,vars:4,consts:[["nz-menu","","nzMode","horizontal","sortablejs","",1,"app-header__menu","header-nav","window-switcher__container",3,"sortablejsOptions"],["nz-menu-item","","class","nav-link nav-text window-switcher",3,"nzSelected","contextMenu","contextMenuSubject","click","dblclick",4,"ngFor","ngForOf"],["nz-menu-item","","class","nav-link nav-text window-switcher window-switcher--new-window",3,"nzSelected","click",4,"ngIf"],["contextMenuItem","",3,"execute"],["contextMenuItem","","divider","true"],[4,"ngIf"],["nz-menu-item","",1,"nav-link","nav-text","window-switcher",3,"nzSelected","contextMenu","contextMenuSubject","click","dblclick"],[1,"window-switcher__input",3,"ngClass","blur","keydown.enter"],["wTitle",""],["track-id","close_window_tab","class","window-switcher__close",3,"click",4,"ngIf"],["track-id","close_window_tab",1,"window-switcher__close",3,"click"],["nz-menu-item","",1,"nav-link","nav-text","window-switcher","window-switcher--new-window",3,"nzSelected","click"],[1,"menu-icon"],["name","edit"],[1,"menu-text"],["name","copy"],["name","x-square"],["name","circle"],["name","plus-square"]],template:function(e,t){1&e&&(i.Zb(0,"ul",0),i.Nc(1,"\n "),i.Lc(2,oP,8,13,"li",1),i.Nc(3,"\n "),i.Lc(4,aP,3,4,"li",2),i.Nc(5,"\n"),i.Yb(),i.Nc(6,"\n"),i.Zb(7,"context-menu"),i.Nc(8,"\n "),i.Lc(9,sP,10,3,"ng-template",3),i.hc("execute",(function(e){return t.editWindowNameInput(e.item.windowId,e.item.wTitle)})),i.Nc(10,"\n "),i.Lc(11,cP,10,3,"ng-template",3),i.hc("execute",(function(e){return t.duplicateWindow(e.item.windowId)})),i.Nc(12,"\n "),i.Lc(13,uP,0,0,"ng-template",4),i.Nc(14,"\n "),i.Lc(15,lP,10,3,"ng-template",3),i.hc("execute",(function(e){return t.closeWindow(e.item.windowId)})),i.Nc(16,"\n "),i.Lc(17,pP,10,3,"ng-template",3),i.hc("execute",(function(e){return t.closeWindowsToTheRight(e.item.index)})),i.Nc(18,"\n "),i.Lc(19,hP,10,3,"ng-template",3),i.hc("execute",(function(e){return t.closeOtherWindows(e.item.windowId)})),i.Nc(20,"\n "),i.Lc(21,fP,1,0,void 0,5),i.Nc(22,"\n"),i.Yb(),i.Nc(23,"\n")),2&e&&(i.sc("sortablejsOptions",t.sortableOptions),i.Db(2),i.sc("ngForOf",t.windowIds),i.Db(2),i.sc("ngIf",t.windowIds.length-1})),h={list:p.length?p:l,from:QM.Pos(r,i),to:QM.Pos(r,n.end)};return QM.on(h,"close",(function(){EP(c)})),QM.on(h,"update",(function(){EP(c)})),QM.on(h,"select",(function(e,t){EP(c);var n=e.description;n&&t.parentElement&&(c=function(e,t,n){var i=function(e,t){for(var n=[],i=2;it.key?1:-1})).map((function(t){return t.$ref&&(t.ref=NP(t,e),t.ref&&t.ref.enum&&(t.refType="enum."+t.ref.type)),t})),this.formData=JSON.parse(JSON.stringify(this.data))},e.prototype.onInput=function(e,t){this.dataChange.next(this.formData)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-schema-form"]],inputs:{schema:"schema",data:"data"},outputs:{dataChange:"dataChange"},features:[i.Bb],decls:8,vars:1,consts:[[1,"ui-form-wrapper"],["nz-form",""],[3,"item","data","dataChange",4,"ngFor","ngForOf"],[3,"item","data","dataChange"]],template:function(e,t){1&e&&(i.Zb(0,"div",0),i.Nc(1,"\n "),i.Zb(2,"form",1),i.Nc(3,"\n "),i.Lc(4,$P,1,2,"app-schema-form-item",2),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n"),i.Yb(),i.Nc(7,"\n")),2&e&&(i.Db(4),i.sc("ngForOf",t.schemaProperties))},directives:[Ot.C,Ot.p,Ot.q,NO,Vr.s,qP],encapsulation:2,changeDetection:0}),e}(),XP=["editor"];function KP(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",4),i.Nc(2,"\n "),i.Zb(3,"div",5),i.Nc(4),i.lc(5,"translate"),i.Yb(),i.Nc(6),i.lc(7,"translate"),i.Yb(),i.Nc(8,"\n ")),2&e&&(i.Db(4),i.Oc(i.mc(5,2,"SETTINGS_TEXT")),i.Db(2),i.Pc("\n ",i.mc(7,4,"SETTINGS_SUB_TEXT"),"\n "))}function JP(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",9),i.Nc(1,"\n "),i.Zb(2,"app-schema-form",14),i.hc("dataChange",(function(e){return i.Dc(n),i.kc(2).onFormDataChange(e)})),i.Yb(),i.Nc(3,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Db(2),i.sc("schema",r.settingsSchema)("data",r.localSettings)}}function eF(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",9),i.Nc(1,"\n "),i.Zb(2,"ngx-codemirror",15,16),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc(2).onSettingsChange(e)})),i.Yb(),i.Nc(4,"\n "),i.Zb(5,"small"),i.Nc(6),i.lc(7,"translate"),i.Yb(),i.Nc(8,"\n "),i.Zb(9,"small"),i.Zb(10,"a",17),i.Nc(11,"Click here for available settings options"),i.Yb(),i.Yb(),i.Nc(12,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Db(2),i.sc("options",r.jsonEditorConfig)("ngModel",r.jsonSettings),i.Db(4),i.Oc(i.mc(7,3,"SETTINGS_SHOW_EDITOR_HINT"))}}function tF(e,t){if(1&e&&(i.Zb(0,"span",22),i.Nc(1),i.Yb()),2&e){var n=t.$implicit;i.Db(1),i.Oc(n)}}function nF(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"nz-list-item"),i.Nc(2,"\n "),i.Zb(3,"span",20),i.Nc(4),i.Yb(),i.Nc(5,"\n "),i.Lc(6,tF,2,1,"span",21),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n ")),2&e){var n=t.$implicit,r=i.kc(3);i.Db(4),i.Pc("\n ",n.description,"\n "),i.Db(2),i.sc("ngForOf",n.keys)("ngForTrackBy",r.trackByIndex)}}function iF(e,t){if(1&e&&(i.Zb(0,"nz-collapse-panel",10),i.Nc(1,"\n "),i.Zb(2,"nz-list",18),i.Nc(3,"\n "),i.Lc(4,nF,9,3,"ng-template",null,19,i.Mc),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n "),i.Yb()),2&e){var n=t.$implicit,r=i.Ac(5);i.sc("nzHeader",n.title),i.Db(2),i.sc("nzDataSource",n.shortcuts)("nzRenderItem",r)}}function rF(e,t){if(1&e&&(i.Zb(0,"option",25),i.Nc(1),i.lc(2,"titlecase"),i.Yb()),2&e){var n=t.$implicit,r=i.kc(3);i.tc("value",n),i.sc("selected",n===(null==r.settings?null:r.settings.theme)),i.Db(1),i.Pc("\n ",i.mc(2,3,n),"\n ")}}function oF(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",9),i.Nc(1,"\n "),i.Zb(2,"label"),i.Nc(3),i.lc(4,"translate"),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"select",23),i.hc("change",(function(e){return i.Dc(n),i.kc(2).onSelectTheme(e.target.value)})),i.lc(7,"translate"),i.Nc(8,"\n "),i.Lc(9,rF,3,5,"option",24),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Db(3),i.Oc(i.mc(4,4,"SETTINGS_THEME_TEXT")),i.Db(3),i.Eb("aria-label",i.mc(7,6,"SETTINGS_THEME_TEXT")),i.Db(3),i.sc("ngForOf",r.themes)("ngForTrackBy",r.trackByIndex)}}function aF(e,t){if(1&e&&(i.Zb(0,"option",25),i.Nc(1),i.lc(2,"titlecase"),i.Yb()),2&e){var n=t.$implicit,r=i.kc(3);i.tc("value",n[0]),i.sc("selected",n[0]===(null==r.settings?null:r.settings.language)),i.Db(1),i.Pc("\n ",i.mc(2,3,n[1]),"\n ")}}function sF(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",9),i.Nc(1,"\n "),i.Zb(2,"label"),i.Nc(3),i.lc(4,"translate"),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"select",26),i.hc("change",(function(e){return i.Dc(n),i.kc(2).onSelectLanguage(e.target.value)})),i.lc(7,"translate"),i.Nc(8,"\n "),i.Lc(9,aF,3,5,"option",24),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Db(3),i.Oc(i.mc(4,4,"SETTINGS_LANGUAGE_TEXT")),i.Db(3),i.Eb("aria-label",i.mc(7,6,"SETTINGS_LANGUAGE_TEXT")),i.Db(3),i.sc("ngForOf",r.languages)("ngForTrackBy",r.trackByIndex)}}function cF(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",9),i.Nc(1,"\n "),i.Zb(2,"label"),i.Nc(3),i.lc(4,"translate"),i.Zb(5,"small"),i.Nc(6,"(Recommended: 3)"),i.Yb(),i.Yb(),i.Nc(7,"\n "),i.Zb(8,"input",27),i.hc("change",(function(e){return i.Dc(n),i.kc(2).onChangeAddQueryDepthLimit(e.target.value)})),i.lc(9,"translate"),i.Yb(),i.Nc(10,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Db(3),i.Pc("",i.mc(4,3,"SETTINGS_ADD_QUERY_DEPTH_LIMIT_TEXT")," "),i.Db(5),i.sc("value",null==r.settings?null:r.settings.addQueryDepthLimit),i.Eb("aria-label",i.mc(9,5,"SETTINGS_ADD_QUERY_DEPTH_LIMIT_TEXT"))}}function uF(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",9),i.Nc(1,"\n "),i.Zb(2,"label"),i.Nc(3),i.lc(4,"translate"),i.Yb(),i.Nc(5,"\n "),i.Zb(6,"input",28),i.hc("change",(function(e){return i.Dc(n),i.kc(2).onChangeTabSize(e.target.value)})),i.lc(7,"translate"),i.Yb(),i.Nc(8,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Db(3),i.Oc(i.mc(4,3,"SETTINGS_TAB_SIZE_TEXT")),i.Db(3),i.sc("value",null==r.settings?null:r.settings.tabSize),i.Eb("aria-label",i.mc(7,5,"SETTINGS_TAB_SIZE_TEXT"))}}function lF(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"div",6),i.Nc(2,"\n "),i.Zb(3,"small"),i.Zb(4,"a",7),i.hc("click",(function(e){i.Dc(n);var t=i.kc();return e.preventDefault(),e.stopPropagation(),t.onToggleView()})),i.Nc(5),i.lc(6,"translate"),i.Yb(),i.Yb(),i.Nc(7,"\n "),i.Lc(8,JP,4,2,"div",8),i.Nc(9,"\n\n "),i.Lc(10,eF,13,5,"div",8),i.Nc(11,"\n\n "),i.Zb(12,"div",9),i.Nc(13,"\n "),i.Zb(14,"nz-collapse"),i.Nc(15,"\n "),i.Zb(16,"nz-collapse-panel",10),i.lc(17,"translate"),i.Nc(18,"\n "),i.Zb(19,"div"),i.Nc(20,"\n "),i.Zb(21,"nz-collapse",11),i.Nc(22,"\n "),i.Lc(23,iF,8,3,"nz-collapse-panel",12),i.Nc(24,"\n "),i.Yb(),i.Nc(25,"\n "),i.Yb(),i.Nc(26,"\n "),i.Yb(),i.Nc(27,"\n "),i.Yb(),i.Nc(28,"\n "),i.Zb(29,"div"),i.Nc(30,"\n "),i.Zb(31,"small"),i.Zb(32,"a",13),i.hc("click",(function(e){return i.Dc(n),i.kc().onResetApplicationData(e)})),i.Nc(33),i.lc(34,"translate"),i.Yb(),i.Yb(),i.Nc(35,"\n "),i.Yb(),i.Nc(36,"\n "),i.Yb(),i.Nc(37,"\n\n "),i.Lc(38,oF,12,8,"div",8),i.Nc(39,"\n\n "),i.Lc(40,sF,12,8,"div",8),i.Nc(41,"\n\n "),i.Lc(42,cF,11,7,"div",8),i.Nc(43,"\n\n "),i.Lc(44,uF,9,7,"div",8),i.Nc(45,"\n "),i.Yb(),i.Nc(46,"\n ")}if(2&e){var r=i.kc();i.Db(5),i.Oc(i.mc(6,12,"SETTINGS_TOGGLE_ADVANCED_MODE")),i.Db(3),i.sc("ngIf",r.showForm),i.Db(2),i.sc("ngIf",!r.showForm),i.Db(6),i.sc("nzHeader",i.mc(17,14,"SETTINGS_KEYBOARD_SHORTCUTS")),i.Db(5),i.sc("nzBordered",!1),i.Db(2),i.sc("ngForOf",r.shortcutCategories)("ngForTrackBy",r.trackByIndex),i.Db(10),i.Oc(i.mc(34,16,"SETTINGS_RESET_APPLICATION_DATA")),i.Db(5),i.sc("ngIf",!1),i.Db(2),i.sc("ngIf",!1),i.Db(2),i.sc("ngIf",!1),i.Db(2),i.sc("ngIf",!1)}}function pF(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"div",29),i.Nc(2,"\n "),i.Zb(3,"div",30),i.Nc(4,"\n "),i.Zb(5,"label"),i.Nc(6),i.lc(7,"translate"),i.Yb(),i.Nc(8,"\n "),i.Zb(9,"div"),i.Nc(10,"\n "),i.Zb(11,"small"),i.Nc(12),i.lc(13,"translate"),i.Zb(14,"a",31),i.Nc(15),i.lc(16,"translate"),i.Yb(),i.Yb(),i.Nc(17,"\n "),i.Yb(),i.Nc(18,"\n "),i.Yb(),i.Nc(19,"\n "),i.Zb(20,"button",32),i.hc("click",(function(){return i.Dc(n),i.kc().saveSettings()})),i.Nc(21),i.lc(22,"translate"),i.Yb(),i.Nc(23,"\n "),i.Yb(),i.Nc(24,"\n ")}if(2&e){var r=i.kc();i.Db(6),i.Qc("",i.mc(7,5,"SETTINGS_VERSION_TEXT")," ",r.appVersion,""),i.Db(6),i.Pc("",i.mc(13,7,"SETTINGS_HELP_WITH_TRANSLATIONS_TEXT")," "),i.Db(3),i.Oc(i.mc(16,9,"CLICK_HERE_TEXT")),i.Db(6),i.Oc(i.mc(22,11,"SAVE_BUTTON"))}}(GP=QM).registerHelper("lint","json",(function(e){var t=[];try{!xP(e)&&kP.errors&&(t=function(){for(var e=0,t=0,n=arguments.length;ti?1:ni?-1:ni?-1:ni?1:n=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([function(e,t,n){var i=mF(n.value,{max:1});n.value=function(){return i.apply(this,arguments)}},vF("design:type",Function),vF("design:paramtypes",[Array,String]),vF("design:returntype",void 0)],e.prototype,"sortedCollectionQueries",null),e}();function _F(e,t){1&e&&(i.Xb(0),i.Nc(1),i.lc(2,"translate"),i.Wb()),2&e&&(i.Db(1),i.Oc(i.mc(2,1,"COLLECTIONS_SORT_BY_A_Z")))}function kF(e,t){1&e&&(i.Xb(0),i.Nc(1),i.lc(2,"translate"),i.Wb()),2&e&&(i.Db(1),i.Oc(i.mc(2,1,"COLLECTIONS_SORT_BY_Z_A")))}function DF(e,t){1&e&&(i.Xb(0),i.Nc(1),i.lc(2,"translate"),i.Wb()),2&e&&(i.Db(1),i.Oc(i.mc(2,1,"COLLECTIONS_SORT_BY_NEWEST")))}function xF(e,t){1&e&&(i.Xb(0),i.Nc(1),i.lc(2,"translate"),i.Wb()),2&e&&(i.Db(1),i.Oc(i.mc(2,1,"COLLECTIONS_SORT_BY_OLDEST")))}function EF(e,t){if(1&e){var n=i.ac();i.Zb(0,"app-query-collection-item",16),i.hc("selectQueryChange",(function(e){return i.Dc(n),i.kc().selectQueryChange.next(e)}))("deleteQueryChange",(function(e){return i.Dc(n),i.kc().deleteQueryChange.next(e)}))("deleteCollectionChange",(function(e){return i.Dc(n),i.kc().deleteCollectionChange.next(e)}))("editCollectionChange",(function(e){return i.Dc(n),i.kc().editCollectionChange.next(e)}))("exportCollectionChange",(function(e){return i.Dc(n),i.kc().exportCollectionChange.next(e)})),i.Yb()}2&e&&i.sc("collection",t.$implicit)}function NF(e,t){1&e&&(i.Zb(0,"div",17),i.Nc(1,"\n "),i.Zb(2,"div",18),i.Nc(3,"\n "),i.Ub(4,"app-icon",19),i.Nc(5,"\n "),i.Yb(),i.Nc(6,"\n "),i.Zb(7,"div",20),i.Nc(8),i.lc(9,"translate"),i.Yb(),i.Nc(10,"\n "),i.Yb()),2&e&&(i.Db(8),i.Pc("\n ",i.mc(9,1,"COLLECTIONS_EMPTY_TEXT"),"\n "))}var jF=function(e){return{"query-collections-wrapper--close":e}},IF=function(){function e(){this.showCollections=!0,this.collections=[],this.sortBy="",this.loadCollectionsChange=new i.n,this.selectQueryChange=new i.n,this.deleteQueryChange=new i.n,this.deleteCollectionChange=new i.n,this.editCollectionChange=new i.n,this.exportCollectionChange=new i.n,this.importCollectionChange=new i.n,this.sortCollectionsChange=new i.n}return e.prototype.ngOnInit=function(){this.loadCollectionsChange.next()},e.prototype.trackById=function(e,t){return t.id},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-query-collections"]],inputs:{showCollections:"showCollections",collections:"collections",sortBy:"sortBy"},outputs:{loadCollectionsChange:"loadCollectionsChange",selectQueryChange:"selectQueryChange",deleteQueryChange:"deleteQueryChange",deleteCollectionChange:"deleteCollectionChange",editCollectionChange:"editCollectionChange",exportCollectionChange:"exportCollectionChange",importCollectionChange:"importCollectionChange",sortCollectionsChange:"sortCollectionsChange"},decls:66,vars:31,consts:[[1,"query-collections-wrapper",3,"ngClass"],[1,"query-collections__inner"],[1,"query-collections__title"],[1,"query-collections__actions","clearfix"],["type","button",1,"icon-button",3,"popper","popperPlacement","click"],["name","log-in"],[1,"query-collections__actions--right"],["nz-dropdown","","nzTrigger","click","type","button",1,"icon-button",3,"nzDropdownMenu"],[3,"ngSwitch"],[4,"ngSwitchCase"],["docViewerMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"click"],[1,"query-collections__items-wrapper"],[3,"collection","selectQueryChange","deleteQueryChange","deleteCollectionChange","editCollectionChange","exportCollectionChange",4,"ngFor","ngForOf","ngForTrackBy"],["class","query-collections__empty",4,"ngIf"],[3,"collection","selectQueryChange","deleteQueryChange","deleteCollectionChange","editCollectionChange","exportCollectionChange"],[1,"query-collections__empty"],[1,"query-collections__empty-icon"],["name","sidebar","size","40"],[1,"query-collections__empty-description"]],template:function(e,t){if(1&e&&(i.Zb(0,"div",0),i.Nc(1,"\n "),i.Zb(2,"div",1),i.Nc(3,"\n "),i.Zb(4,"div",2),i.Nc(5),i.lc(6,"translate"),i.Yb(),i.Nc(7,"\n "),i.Zb(8,"div",3),i.Nc(9,"\n "),i.Zb(10,"button",4),i.hc("click",(function(){return t.importCollectionChange.next()})),i.lc(11,"translate"),i.Nc(12,"\n "),i.Ub(13,"app-icon",5),i.Nc(14,"\n "),i.Yb(),i.Nc(15,"\n "),i.Zb(16,"div",6),i.Nc(17,"\n "),i.Zb(18,"button",7),i.Nc(19,"\n "),i.Xb(20,8),i.Nc(21,"\n "),i.Lc(22,_F,3,3,"ng-container",9),i.Nc(23,"\n "),i.Lc(24,kF,3,3,"ng-container",9),i.Nc(25,"\n "),i.Lc(26,DF,3,3,"ng-container",9),i.Nc(27,"\n "),i.Lc(28,xF,3,3,"ng-container",9),i.Nc(29,"\n "),i.Wb(),i.Nc(30,"\n "),i.Yb(),i.Nc(31,"\n "),i.Zb(32,"nz-dropdown-menu",null,10),i.Nc(34,"\n "),i.Zb(35,"ul",11),i.Nc(36,"\n "),i.Zb(37,"li",12),i.hc("click",(function(){return t.sortCollectionsChange.next({sortBy:"a-z"})})),i.Nc(38),i.lc(39,"translate"),i.Yb(),i.Nc(40,"\n "),i.Zb(41,"li",12),i.hc("click",(function(){return t.sortCollectionsChange.next({sortBy:"z-a"})})),i.Nc(42),i.lc(43,"translate"),i.Yb(),i.Nc(44,"\n "),i.Zb(45,"li",12),i.hc("click",(function(){return t.sortCollectionsChange.next({sortBy:"newest"})})),i.Nc(46),i.lc(47,"translate"),i.Yb(),i.Nc(48,"\n "),i.Zb(49,"li",12),i.hc("click",(function(){return t.sortCollectionsChange.next({sortBy:"oldest"})})),i.Nc(50),i.lc(51,"translate"),i.Yb(),i.Nc(52,"\n "),i.Yb(),i.Nc(53,"\n "),i.Yb(),i.Nc(54,"\n "),i.Yb(),i.Nc(55,"\n "),i.Yb(),i.Nc(56,"\n "),i.Zb(57,"div",13),i.Nc(58,"\n "),i.Lc(59,EF,1,1,"app-query-collection-item",14),i.Nc(60,"\n "),i.Lc(61,NF,11,3,"div",15),i.Nc(62,"\n "),i.Yb(),i.Nc(63,"\n "),i.Yb(),i.Nc(64,"\n"),i.Yb(),i.Nc(65,"\n")),2&e){var n=i.Ac(33);i.sc("ngClass",i.vc(29,jF,!t.showCollections)),i.Db(5),i.Oc(i.mc(6,17,"COLLECTIONS_TEXT")),i.Db(5),i.sc("popper",i.mc(11,19,"COLLECTIONS_IMPORT_TEXT"))("popperPlacement","bottom"),i.Db(8),i.sc("nzDropdownMenu",n),i.Db(2),i.sc("ngSwitch",t.sortBy),i.Db(2),i.sc("ngSwitchCase","a-z"),i.Db(2),i.sc("ngSwitchCase","z-a"),i.Db(2),i.sc("ngSwitchCase","newest"),i.Db(2),i.sc("ngSwitchCase","oldest"),i.Db(10),i.Pc("\n ",i.mc(39,21,"COLLECTIONS_SORT_BY_A_Z"),"\n "),i.Db(4),i.Pc("\n ",i.mc(43,23,"COLLECTIONS_SORT_BY_Z_A"),"\n "),i.Db(4),i.Pc("\n ",i.mc(47,25,"COLLECTIONS_SORT_BY_NEWEST"),"\n "),i.Db(4),i.Pc("\n ",i.mc(51,27,"COLLECTIONS_SORT_BY_OLDEST"),"\n "),i.Db(9),i.sc("ngForOf",t.collections)("ngForTrackBy",t.trackById),i.Db(2),i.sc("ngIf",!(null!=t.collections&&t.collections.length))}},directives:[Vr.q,Za,hL.a,xu.b,Vr.x,Vr.y,xu.e,YO.c,Hd.a,YO.f,Vr.s,Vr.t,TF],pipes:[Nn.d],styles:[""]}),e}();function AF(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",4),i.Nc(2,"\n "),i.Zb(3,"div",5),i.Nc(4),i.Yb(),i.Nc(5),i.Yb(),i.Nc(6,"\n ")),2&e){var n=i.kc();i.Db(4),i.Oc(n.heading),i.Db(1),i.Pc("\n ",n.subheading,"\n ")}}function MF(e,t){1&e&&(i.Nc(0,"\n "),i.qc(1),i.Nc(2,"\n "))}function LF(e,t){if(1&e){var n=i.ac();i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div",7),i.Nc(3,"\n "),i.Zb(4,"button",8),i.hc("click",(function(e){return i.Dc(n),i.kc(2).toggleDialog.next(e)})),i.Nc(5),i.lc(6,"translate"),i.Yb(),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Wb()}2&e&&(i.Db(5),i.Oc(i.mc(6,1,"SAVE_BUTTON")))}function PF(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,LF,9,3,"ng-container",6),i.Nc(2,"\n ")),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",n.showFooter)}}var FF=["*"],RF=function(){function e(){this.showDialog=!1,this.heading="[DIALOG_HEADING]",this.subheading="[DIALOG_SUBHEADING]",this.showFooter=!0,this.toggleDialog=new i.n}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-dialog"]],inputs:{showDialog:"showDialog",heading:"heading",subheading:"subheading",showFooter:"showFooter"},outputs:{toggleDialog:"toggleDialog"},ngContentSelectors:FF,decls:12,vars:4,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[4,"ngIf"],[1,"app-dialog-footer"],[1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(i.rc(),i.Zb(0,"nz-modal",0),i.hc("nzVisibleChange",(function(e){return t.toggleDialog.next(e)}))("nzOnCancel",(function(){return t.toggleDialog.next()})),i.Nc(1,"\n "),i.Lc(2,AF,7,2,"ng-template",null,1,i.Mc),i.Nc(4,"\n\n "),i.Lc(5,MF,3,0,"ng-template",null,2,i.Mc),i.Nc(7,"\n\n "),i.Lc(8,PF,3,1,"ng-template",null,3,i.Mc),i.Nc(10,"\n"),i.Yb(),i.Nc(11,"\n")),2&e){var n=i.Ac(3),r=i.Ac(6),o=i.Ac(9);i.sc("nzVisible",t.showDialog)("nzTitle",n)("nzContent",r)("nzFooter",o)}},directives:[Fz,Vr.t],pipes:[Nn.d],styles:[""]}),e}();function VF(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",4),i.Nc(2,"\n "),i.Zb(3,"div",5),i.Nc(4),i.lc(5,"translate"),i.Yb(),i.Nc(6),i.lc(7,"translate"),i.Yb(),i.Nc(8,"\n ")),2&e&&(i.Db(4),i.Oc(i.mc(5,2,"EDIT_COLLECTION_TITLE_TEXT")),i.Db(2),i.Pc("\n ",i.mc(7,4,"EDIT_COLLECTION_TITLE_SUBTEXT"),"\n "))}function BF(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",7),i.Nc(1,"\n "),i.Zb(2,"div",8),i.Nc(3),i.lc(4,"translate"),i.Zb(5,"input",9),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc(2).collection.title=e})),i.Yb(),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Db(3),i.Pc("\n ",i.mc(4,2,"COLLECTION_TITLE_LABEL"),"\n "),i.Db(2),i.sc("ngModel",r.collection.title)}}function YF(e,t){if(1&e&&(i.Nc(0,"\n "),i.Lc(1,BF,8,4,"div",6),i.Nc(2,"\n ")),2&e){var n=i.kc();i.Db(1),i.sc("ngIf",n.collection)}}function UF(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"div",10),i.Nc(2,"\n "),i.Zb(3,"button",11),i.hc("click",(function(){return i.Dc(n),i.kc().updateCollection()})),i.Nc(4),i.lc(5,"translate"),i.Yb(),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n ")}2&e&&(i.Db(4),i.Oc(i.mc(5,1,"SAVE_BUTTON")))}var HF=function(){function e(){this.showEditCollectionDialog=!0,this.toggleDialogChange=new i.n,this.importCurlChange=new i.n,this.updateCollectionChange=new i.n}return e.prototype.ngOnInit=function(){},e.prototype.updateCollection=function(){this.toggleDialogChange.next(!1),this.updateCollectionChange.next({collection:this.collection})},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-edit-collection-dialog"]],inputs:{showEditCollectionDialog:"showEditCollectionDialog",collection:"collection"},outputs:{toggleDialogChange:"toggleDialogChange",importCurlChange:"importCurlChange",updateCollectionChange:"updateCollectionChange"},decls:12,vars:4,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],["class","app-dialog-body",4,"ngIf"],[1,"app-dialog-body"],[1,"form-group"],["type","text",1,"dialog-input",3,"ngModel","ngModelChange"],[1,"app-dialog-footer"],["track-id","",1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(i.Zb(0,"nz-modal",0),i.hc("nzVisibleChange",(function(e){return t.toggleDialogChange.next(e)}))("nzOnCancel",(function(e){return t.toggleDialogChange.next(e)})),i.Nc(1,"\n "),i.Lc(2,VF,9,6,"ng-template",null,1,i.Mc),i.Nc(4,"\n\n "),i.Lc(5,YF,3,1,"ng-template",null,2,i.Mc),i.Nc(7,"\n\n "),i.Lc(8,UF,8,3,"ng-template",null,3,i.Mc),i.Nc(10,"\n"),i.Yb(),i.Nc(11,"\n")),2&e){var n=i.Ac(3),r=i.Ac(6),o=i.Ac(9);i.sc("nzVisible",t.showEditCollectionDialog)("nzTitle",n)("nzContent",r)("nzFooter",o)}},directives:[Fz,Vr.t,Ot.e,Ot.o,Ot.r],pipes:[Nn.d],styles:[""]}),e}(),WF=(n("0t4y"),["editor"]),qF=["subEnvironmentTitle"];function ZF(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",4),i.Nc(2,"\n "),i.Zb(3,"div",5),i.Nc(4),i.lc(5,"translate"),i.Yb(),i.Nc(6),i.lc(7,"translate"),i.Yb(),i.Nc(8,"\n ")),2&e&&(i.Db(4),i.Oc(i.mc(5,2,"ENVIRONMENTS_MANAGER_TEXT")),i.Db(2),i.Pc("\n ",i.mc(7,4,"ENVIRONMENTS_SUB_TEXT"),"\n "))}var $F=function(e){return{"environment-manager__list-item--selected":e}};function GF(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",20),i.hc("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc(2).selectEnvironment(e.id)}))("dblclick",(function(){return i.Dc(n),i.kc(2).setFocusOnEnvironmentTitle()})),i.Nc(1),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc(2);i.sc("ngClass",i.vc(2,$F,o.selectedEnvironmentId===r.id)),i.Db(1),i.Oc(r.title)}}function QF(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",21),i.Nc(1,"\n "),i.Zb(2,"div",22),i.Nc(3,"\n "),i.Zb(4,"input",23,24),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc(2).editorTitle=e}))("ngModelChange",(function(e){return i.Dc(n),i.kc(2).onTitleChange(e)})),i.lc(6,"translate"),i.Yb(),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Zb(9,"div",25),i.Nc(10,"\n "),i.Zb(11,"button",26),i.hc("click",(function(){return i.Dc(n),i.kc(2).onDeleteSubEnvironment()})),i.Nc(12,"\n "),i.Ub(13,"app-icon",27),i.Nc(14,"\n "),i.Yb(),i.Nc(15,"\n "),i.Yb(),i.Nc(16,"\n "),i.Yb()}if(2&e){var r=i.kc(2);i.Db(4),i.tc("placeholder",i.mc(6,2,"SUB_ENVIRONMENT_TITLE_PLACEHOLDER")),i.sc("ngModel",r.editorTitle)}}function XF(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"div",6),i.Nc(2,"\n "),i.Zb(3,"div",7),i.Nc(4,"\n "),i.Zb(5,"div",8),i.Nc(6,"\n "),i.Zb(7,"div",9),i.Nc(8,"\n "),i.Zb(9,"div",10),i.Nc(10,"\n "),i.Zb(11,"div",11),i.hc("click",(function(){return i.Dc(n),i.kc().selectEnvironment("base")})),i.Nc(12),i.lc(13,"translate"),i.Yb(),i.Nc(14,"\n "),i.Yb(),i.Nc(15,"\n "),i.Zb(16,"div",10),i.Nc(17,"\n "),i.Zb(18,"div",12),i.Nc(19),i.lc(20,"translate"),i.Yb(),i.Nc(21,"\n "),i.Lc(22,GF,2,4,"div",13),i.Nc(23,"\n "),i.Yb(),i.Nc(24,"\n "),i.Zb(25,"div",14),i.Nc(26,"\n "),i.Zb(27,"button",15),i.hc("click",(function(){return i.Dc(n),i.kc().addSubEnvironmentChange.next()})),i.Nc(28),i.lc(29,"translate"),i.Yb(),i.Nc(30,"\n "),i.Yb(),i.Nc(31,"\n "),i.Yb(),i.Nc(32,"\n "),i.Zb(33,"div",16),i.Nc(34,"\n "),i.Lc(35,QF,17,4,"div",17),i.Nc(36,"\n "),i.Zb(37,"ngx-codemirror",18,19),i.hc("ngModelChange",(function(e){return i.Dc(n),i.kc().editorContent=e}))("ngModelChange",(function(e){return i.Dc(n),i.kc().onEditorChange(e)})),i.Yb(),i.Nc(39,"\n "),i.Yb(),i.Nc(40,"\n "),i.Yb(),i.Nc(41,"\n "),i.Yb(),i.Nc(42,"\n "),i.Yb(),i.Nc(43,"\n ")}if(2&e){var r=i.kc();i.Db(11),i.sc("ngClass",i.vc(15,$F,"base"===r.selectedEnvironmentId)),i.Db(1),i.Oc(i.mc(13,9,"BASE_ENVIRONMENT_TEXT")),i.Db(7),i.Oc(i.mc(20,11,"SUB_ENVIRONMENTS_HEADER")),i.Db(3),i.sc("ngForOf",null==r.environments?null:r.environments.subEnvironments)("ngForTrackBy",r.trackById),i.Db(6),i.Oc(i.mc(29,13,"ADD_SUB_ENVIRONMENT_BUTTON")),i.Db(7),i.sc("ngIf","base"!==r.selectedEnvironmentId),i.Db(2),i.sc("options",r.jsonEditorConfig)("ngModel",r.editorContent)}}function KF(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"div",28),i.Nc(2,"\n "),i.Zb(3,"div",29),i.Nc(4),i.lc(5,"translate"),i.Yb(),i.Nc(6,"\n "),i.Zb(7,"button",30),i.hc("click",(function(){return i.Dc(n),i.kc().toggleDialogChange.next(!1)})),i.Nc(8),i.lc(9,"translate"),i.Yb(),i.Nc(10,"\n "),i.Yb(),i.Nc(11,"\n ")}2&e&&(i.Db(4),i.Oc(i.mc(5,2,"ENVIRONMENT_VARIABLE_TIP")),i.Db(4),i.Oc(i.mc(9,4,"SAVE_BUTTON")))}window.jsonlint=window.jsonlint||{parser:{parse:function(e){try{return JSON.parse(e)}catch(t){this.parseError&&this.parseError("Invalid JSON",{loc:{first_line:1,first_column:1,last_line:1,last_column:1}})}}}};var JF=function(){function e(){this.showEnvironmentManager=!1,this.toggleDialogChange=new i.n,this.baseEnvironmentJsonChange=new i.n,this.subEnvironmentJsonChange=new i.n,this.subEnvironmentTitleChange=new i.n,this.addSubEnvironmentChange=new i.n,this.deleteSubEnvironmentChange=new i.n,this.jsonEditorConfig={mode:"application/json",json:!0,lint:!0,lineWrapping:!0,lineNumbers:!0,foldGutter:!0,autoRefresh:!0,dragDrop:!1,autoCloseBrackets:!0,keyMap:"sublime",theme:"default environments-editor",gutters:["CodeMirror-lint-markers","CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{}},this.selectedEnvironmentId="base",this.editorContent="{}",this.editorTitle=""}return e.prototype.ngOnInit=function(){this.environments&&this.selectEnvironment(this.environments.activeSubEnvironment||"base")},e.prototype.ngDoCheck=function(){uL(this.editor&&this.editor.codeMirror)},e.prototype.ngOnChanges=function(e){var t=this;if(e.showEnvironmentManager&&e.showEnvironmentManager.currentValue)var n=setTimeout((function(){uL(t.editor&&t.editor.codeMirror,!0),clearTimeout(n)}),300)},e.prototype.onEditorChange=function(e){try{JSON.parse(e),"base"===this.selectedEnvironmentId?this.baseEnvironmentJsonChange.next({value:e}):this.subEnvironmentJsonChange.next({id:this.selectedEnvironmentId,value:e})}catch(t){}},e.prototype.onTitleChange=function(e){this.subEnvironmentTitleChange.next({id:this.selectedEnvironmentId,value:e})},e.prototype.selectEnvironment=function(e){var t=this;this.selectedEnvironmentId=e,this.selectedEnvironment="base"===this.selectedEnvironmentId?this.environments.base:this.environments.subEnvironments.find((function(e){return e.id===t.selectedEnvironmentId})),this.selectedEnvironment&&(this.editorContent=this.selectedEnvironment.variablesJson,this.editorTitle=this.selectedEnvironment.title)},e.prototype.setFocusOnEnvironmentTitle=function(){this.subEnvironmentTitleEl.nativeElement.focus()},e.prototype.onDeleteSubEnvironment=function(){confirm("Are you sure you want to delete this environment?")&&(this.deleteSubEnvironmentChange.next({id:this.selectedEnvironmentId}),this.selectEnvironment("base"))},e.prototype.trackById=function(e,t){return t.id},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-environment-manager"]],viewQuery:function(e,t){var n;1&e&&(i.Sc(WF,!0),i.Sc(qF,!0)),2&e&&(i.zc(n=i.ic())&&(t.editor=n.first),i.zc(n=i.ic())&&(t.subEnvironmentTitleEl=n.first))},inputs:{environments:"environments",showEnvironmentManager:"showEnvironmentManager"},outputs:{toggleDialogChange:"toggleDialogChange",baseEnvironmentJsonChange:"baseEnvironmentJsonChange",subEnvironmentJsonChange:"subEnvironmentJsonChange",subEnvironmentTitleChange:"subEnvironmentTitleChange",addSubEnvironmentChange:"addSubEnvironmentChange",deleteSubEnvironmentChange:"deleteSubEnvironmentChange"},features:[i.Bb],decls:12,vars:5,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzWidth","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[1,"app-dialog-body"],[1,"app-dialog-section"],[1,"environment-manager-wrapper"],[1,"environment-manager__list-wrapper"],[1,"environment-manager__list"],[1,"environment-manager__list-item",3,"ngClass","click"],[1,"environment-manager__list-title"],["class","environment-manager__list-item",3,"ngClass","click","dblclick",4,"ngFor","ngForOf","ngForTrackBy"],[1,"environment-manager__list-actions"],[1,"app-button","full-width",3,"click"],[1,"environment-manager__editor-wrapper"],["class","environment-manager__editor-meta",4,"ngIf"],[1,"environments-editor-textarea",3,"options","ngModel","ngModelChange"],["editor",""],[1,"environment-manager__list-item",3,"ngClass","click","dblclick"],[1,"environment-manager__editor-meta"],[1,"environment-manager__editor-meta-input-wrapper"],["type","text",1,"environment-manager__editor-meta-input",3,"placeholder","ngModel","ngModelChange"],["subEnvironmentTitle",""],[1,"environment-manager__editor-meta-actions"],[1,"app-button","icon-button",3,"click"],["name","trash-2"],[1,"app-dialog-footer"],[1,"environment-manager__tips","left"],["track-id","save_environments",1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(i.Zb(0,"nz-modal",0),i.hc("nzVisibleChange",(function(e){return t.toggleDialogChange.next(e)}))("nzOnCancel",(function(e){return t.toggleDialogChange.next(e)})),i.Nc(1,"\n "),i.Lc(2,ZF,9,6,"ng-template",null,1,i.Mc),i.Nc(4,"\n\n "),i.Lc(5,XF,44,17,"ng-template",null,2,i.Mc),i.Nc(7,"\n\n "),i.Lc(8,KF,12,6,"ng-template",null,3,i.Mc),i.Nc(10,"\n"),i.Yb(),i.Nc(11,"\n")),2&e){var n=i.Ac(3),r=i.Ac(6),o=i.Ac(9);i.sc("nzVisible",t.showEnvironmentManager)("nzTitle",n)("nzContent",r)("nzFooter",o)("nzWidth",870)}},directives:[Fz,Vr.q,Vr.s,Vr.t,eL,Ot.o,Ot.r,Ot.e,hL.a],pipes:[Nn.d],styles:[""]}),e}(),eR=["pluginElRef"],tR=function(e){return{"plugin__hide-content":e}},nR=function(){function e(){this.isAppended=!1}return e.prototype.ngOnChanges=function(){!this.isAppended&&this.pluginData&&this.pluginData.isActive&&this.appendPluginElement(),this.renderElement()},e.prototype.appendPluginElement=function(){if(this.pluginData){var e=this.pluginData.sidebar_opts&&this.pluginData.sidebar_opts.element_name||this.pluginData.name;if(this.pluginElement=document.createElement(e),!this.pluginElement)return void o.a.error('Plugin "'+e+'" does not have a custom element defined!');this.pluginElRef.nativeElement.appendChild(this.pluginElement),this.isAppended=!0}},e.prototype.renderElement=function(){this.pluginElement&&this.pluginData&&(this.pluginElement.props=this.pluginData.props)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-plugin-element"]],viewQuery:function(e,t){var n;1&e&&i.Jc(eR,!0),2&e&&i.zc(n=i.ic())&&(t.pluginElRef=n.first)},inputs:{pluginData:"pluginData"},features:[i.Bb],decls:3,vars:3,consts:[[1,"plugin__holder",3,"ngClass"],["pluginElRef",""]],template:function(e,t){1&e&&(i.Ub(0,"div",0,1),i.Nc(2,"\n")),2&e&&i.sc("ngClass",i.vc(1,tR,!t.pluginData||!t.pluginData.isActive))},directives:[Vr.q],encapsulation:2}),e}(),iR=(n("PJhV"),["editor"]),rR=function(){function e(){this.preRequest={},this.preRequestScriptChange=new i.n,this.preRequestEnabledChange=new i.n,this.preRequestEditorConfig={mode:"javascript",lineWrapping:!0,lineNumbers:!0,foldGutter:!0,autoRefresh:!0,dragDrop:!1,autoCloseBrackets:!0,keyMap:"sublime",theme:"default pre-request-editor mousetrap",gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{"Ctrl-Space":"autocomplete","Cmd-/":function(e){return e.execCommand("toggleComment")},"Ctrl-/":function(e){return e.execCommand("toggleComment")}},hintOptions:{completeSingle:!1,globalScope:Object.create(null,{altair:{value:Object.create(null,{helpers:{value:Object.create(null,{getEnvironment:{value:null},setEnvironment:{value:null},getCookie:{value:null},request:{value:null}})}})}})}}}return e.prototype.ngOnChanges=function(){},e.prototype.ngDoCheck=function(){uL(this.editor&&this.editor.codeMirror)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Nb({type:e,selectors:[["app-pre-request-editor"]],viewQuery:function(e,t){var n;1&e&&i.Jc(iR,!0),2&e&&i.zc(n=i.ic())&&(t.editor=n.first)},inputs:{preRequest:"preRequest"},outputs:{preRequestScriptChange:"preRequestScriptChange",preRequestEnabledChange:"preRequestEnabledChange"},features:[i.Bb],decls:22,vars:9,consts:[[1,"pre-request-editor"],[1,"pre-request-editor__toggle-wrapper"],["nz-checkbox","",3,"ngModel","ngModelChange"],[1,"pre-request-textarea","mousetrap",3,"options","ngModel","ngModelChange"],["editor",""],["href","https://altair.sirmuel.design/docs/features/prerequest-scripts.html","target","_blank"],["name","info"]],template:function(e,t){1&e&&(i.Zb(0,"div",0),i.Nc(1,"\n "),i.Zb(2,"div",1),i.Nc(3,"\n "),i.Zb(4,"label",2),i.hc("ngModelChange",(function(e){return t.preRequestEnabledChange.next(e)})),i.Nc(5),i.lc(6,"translate"),i.Yb(),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Zb(9,"ngx-codemirror",3,4),i.hc("ngModelChange",(function(e){return t.preRequestScriptChange.emit(e)})),i.Yb(),i.Nc(11,"\n \n "),i.Zb(12,"small"),i.Nc(13,"\n "),i.Zb(14,"a",5),i.Nc(15,"\n "),i.Ub(16,"app-icon",6),i.Nc(17),i.lc(18,"translate"),i.Yb(),i.Nc(19,"\n "),i.Yb(),i.Nc(20,"\n"),i.Yb(),i.Nc(21,"\n")),2&e&&(i.Db(4),i.sc("ngModel",t.preRequest.enabled),i.Db(1),i.Oc(i.mc(6,5,"PRE_REQUEST_ENABLE_TEXT")),i.Db(4),i.sc("options",t.preRequestEditorConfig)("ngModel",t.preRequest.script),i.Db(8),i.Pc("\n ",i.mc(18,7,"LEARN_MORE_TEXT"),"\n "))},directives:[Zy,Ot.o,Ot.r,eL,hL.a],pipes:[Nn.d],encapsulation:2}),e}(),oR=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,EM]]}),e}();function aR(e,t){1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",4),i.Nc(2,"\n "),i.Zb(3,"div",5),i.Nc(4),i.lc(5,"translate"),i.Yb(),i.Nc(6),i.lc(7,"translate"),i.Yb(),i.Nc(8,"\n ")),2&e&&(i.Db(4),i.Oc(i.mc(5,2,"PLUGINS_TEXT")),i.Db(2),i.Pc("\n ",i.mc(7,4,"PLUGINS_SUB_TEXT"),"\n "))}i.Gc(PP,[Vr.q,Vr.r,Vr.s,Vr.t,Vr.A,Vr.w,Vr.x,Vr.y,Vr.z,Vr.u,Vr.v,Ot.C,Ot.t,Ot.B,Ot.e,Ot.u,Ot.x,Ot.b,Ot.z,Ot.A,Ot.w,Ot.o,Ot.p,Ot.y,Ot.l,Ot.k,Ot.v,Ot.c,Ot.f,Ot.r,Ot.s,Ot.q,Nn.a,Pr,Lo,Mo,No,Fo.a,Fo.b,Za,qa,Ga.b,ks,Ys,ic,rc,eu,Jc,nu,Xc,cu,du,ku,Wu.a,Wu.b,Hd.a,Ud.a,Bu,Yu,Uu,mv,hv,fv,dv,gv,qv,Hv,$v,Zv,Wv,uy,ry,Vy,Zy,$y,qy,iw,nw,ww,bw,mw,yw,vw,db,kb,_b,xb,Db,Jw,Xw,iO,vO,YO.c,YO.f,YO.h,YO.d,YO.e,xu.b,xu.a,xu.e,xu.d,om,im,CO,OO,NO,jO,MO,AO,PO,LO,Ns.a,Tc,kc,Dc,_c,VO,rC,nC,eC,tC,iC,DS,SS,zS,TS,CS,xS,vS,gS,bS,mS,OS,wS,yS,_S,kS,WS,HS,BS,Fz,Pz,ac.a,lT,nT,iT,rT,oT,aT,sT,cT,uT,FT,s_,a_,d_,f_,V_,Pb,Ab,Lb,$_,Sk,yk,wk,vk,mk,bk,$m,Km,qm,tv,nv,iv,rv,Gm,Fk,Rk,Vk,Bk,Yk,eD,oD,Jk,rD,nD,dC,wD,OD,CD,YD,BD,QD,tN,UE,BE,HE,YE,rN,nN,iN,JE,RE,IE,aN,$E,qE,ZE,QE,WE,AN,IN,FN,LN,NN,MN,EN,jN,YN,bd,hd,oj,aj,XT,QT,Cw,Mj,SI,wI,bI,VI,hA,lA,pA,zM,hL.a,kM.a,QP,qP,AP,PP],[Vr.b,Vr.H,Vr.p,Vr.k,Vr.F,Vr.g,Vr.D,Vr.G,Vr.d,Vr.f,Vr.i,Vr.j,Vr.l,Nn.d,Yr.h,Yr.l,Yr.q,Yr.r,Yr.fb,Yr.sb,Yr.wb,Yr.Ab,Yr.Bb,Yr.Db,Yr.ab,Yr.mb,Yr.i,Yr.ob,Yr.jb,Yr.p,Yr.o,Yr.k,Yr.j,Yr.W,Yr.V,Yr.db,Yr.e,Yr.n,Yr.a,Yr.N,Yr.eb,Yr.hb,Yr.kb,Yr.lb,Yr.qb,Yr.vb,Yr.xb,Yr.yb,Yr.nb,Yr.c,Yr.L,Yr.O,Yr.zb,Yr.Q,Yr.tb,Yr.M,Yr.gb,Yr.P,Yr.Eb,Yr.R,Yr.S,Yr.Y,Yr.rb,Yr.m,Yr.ib,Yr.pb,Yr.bb,Yr.d,Yr.f,Yr.b,Yr.cb,Yr.v,Yr.F,Yr.J,Yr.I,Yr.x,Yr.G,Yr.u,Yr.H,Yr.y,Yr.z,Yr.B,Yr.w,Yr.D,Yr.A,Yr.E,Yr.C,Yr.K,Yr.Cb,Yr.X,Yr.Z,Yr.t,Yr.s,Yr.U,Yr.g,Yr.ub,Ga.a,Ga.d,Pp]);var sR=function(e){return{"plugin-manager__list-item--selected":e}};function cR(e,t){if(1&e){var n=i.ac();i.Zb(0,"div",13),i.hc("click",(function(){i.Dc(n);var e=t.$implicit;return i.kc(2).onSelectPlugin(e)})),i.Nc(1,"\n "),i.Zb(2,"div",14),i.Nc(3),i.Zb(4,"div",15),i.Nc(5),i.Yb(),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n "),i.Zb(8,"div",16),i.Nc(9),i.Yb(),i.Nc(10,"\n "),i.Yb()}if(2&e){var r=t.$implicit,o=i.kc(2);i.sc("ngClass",i.vc(4,sR,o.selectedPluginItem&&o.selectedPluginItem.name===r.name)),i.Db(3),i.Pc("\n ",(null==r||null==r.manifest?null:r.manifest.display_name)||r.name,"\n "),i.Db(2),i.Pc("\n ",(null==r||null==r.manifest?null:r.manifest.version)||r.version,"\n "),i.Db(4),i.Pc("\n ",(null==r||null==r.manifest?null:r.manifest.description)||r.description,"\n ")}}function uR(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",24),i.hc("click",(function(){i.Dc(n);var e=i.kc(3);return e.onAddPlugin(e.selectedPluginItem.name)})),i.Nc(1,"\n "),i.Ub(2,"app-icon",25),i.Nc(3),i.lc(4,"translate"),i.Yb()}2&e&&(i.Db(3),i.Pc("\n ",i.mc(4,1,"PLUGIN_ADD_BUTTON"),"\n "))}function lR(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",26),i.hc("click",(function(){i.Dc(n);var e=i.kc(3);return e.onRemovePlugin(e.selectedPluginItem.name)})),i.Nc(1,"\n "),i.Ub(2,"app-icon",27),i.Nc(3),i.lc(4,"translate"),i.Yb()}2&e&&(i.Db(3),i.Pc("\n ",i.mc(4,1,"PLUGIN_REMOVE_BUTTON"),"\n "))}function pR(e,t){if(1&e){var n=i.ac();i.Zb(0,"button",28),i.hc("click",(function(){return i.Dc(n),i.kc(3).onRestartApp()})),i.Nc(1),i.lc(2,"translate"),i.Yb()}2&e&&(i.Db(1),i.Pc("\n ",i.mc(2,1,"RESTART_TEXT"),"\n "))}function hR(e,t){if(1&e&&(i.Xb(0),i.Nc(1,"\n "),i.Zb(2,"div",17),i.Nc(3),i.Zb(4,"div",18),i.lc(5,"translate"),i.Nc(6),i.Yb(),i.Nc(7,"\n "),i.Yb(),i.Nc(8,"\n "),i.Zb(9,"div",19),i.Nc(10,"\n "),i.Lc(11,uR,5,3,"button",20),i.Nc(12,"\n "),i.Lc(13,lR,5,3,"button",21),i.Nc(14,"\n "),i.Lc(15,pR,3,3,"button",22),i.Nc(16,"\n "),i.Yb(),i.Nc(17,"\n "),i.Ub(18,"div",23),i.Nc(19,"\n "),i.Wb()),2&e){var n=i.kc(2);i.Db(3),i.Pc("\n ",(null==n.selectedPluginItem||null==n.selectedPluginItem.manifest?null:n.selectedPluginItem.manifest.display_name)||n.selectedPluginItem.name,"\n "),i.Db(1),i.Eb("title",i.mc(5,7,"PLUGIN_UNIQUE_NAME_TEXT")),i.Db(2),i.Pc("\n ",n.selectedPluginItem.name,"\n "),i.Db(5),i.sc("ngIf",!n.isPluginInstalled(n.selectedPluginItem.name)),i.Db(2),i.sc("ngIf",n.isPluginInstalled(n.selectedPluginItem.name)),i.Db(2),i.sc("ngIf",n.shouldRestart),i.Db(3),i.sc("data",n.selectedPluginItem.summary)}}function dR(e,t){if(1&e&&(i.Nc(0,"\n "),i.Zb(1,"div",6),i.Nc(2,"\n "),i.Zb(3,"div",7),i.Nc(4,"\n "),i.Zb(5,"div",8),i.Nc(6,"\n "),i.Zb(7,"div",9),i.Nc(8,"\n "),i.Lc(9,cR,11,6,"div",10),i.lc(10,"async"),i.Nc(11,"\n "),i.Yb(),i.Nc(12,"\n "),i.Zb(13,"div",11),i.Nc(14,"\n "),i.Lc(15,hR,20,9,"ng-container",12),i.Nc(16,"\n "),i.Yb(),i.Nc(17,"\n "),i.Yb(),i.Nc(18,"\n "),i.Yb(),i.Nc(19,"\n "),i.Yb(),i.Nc(20,"\n ")),2&e){var n=i.kc();i.Db(9),i.sc("ngForOf",i.mc(10,3,n.remotePlugins$))("ngForTrackBy",n.trackByName),i.Db(6),i.sc("ngIf",n.selectedPluginItem)}}function fR(e,t){if(1&e){var n=i.ac();i.Nc(0,"\n "),i.Zb(1,"div",29),i.Nc(2,"\n "),i.Zb(3,"button",30),i.hc("click",(function(){return i.Dc(n),i.kc().toggleDialogChange.next(!1)})),i.Nc(4),i.lc(5,"translate"),i.Yb(),i.Nc(6,"\n "),i.Yb(),i.Nc(7,"\n ")}2&e&&(i.Db(4),i.Oc(i.mc(5,1,"SAVE_BUTTON")))}var gR=function(){function e(e){this.pluginRegistry=e,this.showPluginManager=!1,this.toggleDialogChange=new i.n,this.settingsJsonChange=new i.n,this.shouldRestart=!1,this.remotePlugins$=this.pluginRegistry.getRemotePluginList().pipe(Object(Lt.a)((function(e){return Object(qr.a)(null)})),Object(Mt.a)((function(e){if(e)return e.items})))}return e.prototype.ngOnInit=function(){},e.prototype.onSelectPlugin=function(e){this.selectedPluginItem=e},e.prototype.isPluginInstalled=function(e){var t=this;return!!this.settings["plugin.list"]&&this.settings["plugin.list"].some((function(n){var i=t.pluginRegistry.getPluginInfoFromString(n);return!!i&&i.name===e}))},e.prototype.onAddPlugin=function(e){var t=JSON.parse(JSON.stringify(this.settings));t["plugin.list"]=t["plugin.list"]||[],t["plugin.list"].push(e),this.settingsJsonChange.next(JSON.stringify(t)),this.shouldRestart=!0},e.prototype.onRemovePlugin=function(e){var t=this,n=JSON.parse(JSON.stringify(this.settings));n["plugin.list"]=(n["plugin.list"]||[]).filter((function(n){var i=t.pluginRegistry.getPluginInfoFromString(n);if(i)return e!==i.name})),this.settingsJsonChange.next(JSON.stringify(n)),this.shouldRestart=!0},e.prototype.onRestartApp=function(){location.reload()},e.prototype.trackByName=function(e,t){return t.name},e.\u0275fac=function(t){return new(t||e)(i.Tb(MM.PluginRegistryService))},e.\u0275cmp=i.Nb({type:e,selectors:[["app-plugin-manager"]],inputs:{showPluginManager:"showPluginManager",settings:"settings"},outputs:{toggleDialogChange:"toggleDialogChange",settingsJsonChange:"settingsJsonChange"},decls:12,vars:5,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzWidth","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[1,"app-dialog-body"],[1,"app-dialog-section"],[1,"plugin-manager-wrapper"],[1,"plugin-manager__list"],["class","plugin-manager__list-item",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"plugin-manager__item-details"],[4,"ngIf"],[1,"plugin-manager__list-item",3,"ngClass","click"],[1,"plugin-manager__list-item-name"],[1,"plugin-manager__list-item-version"],[1,"plugin-manager__list-item-description"],[1,"plugin-manager__item-details-name"],[1,"plugin-manager__item-details-unique-name"],[1,"plugin-manager__item-details-actions"],["class","app-button active-grey",3,"click",4,"ngIf"],["class","app-button active-destructive",3,"click",4,"ngIf"],["class","app-button",3,"click",4,"ngIf"],["markdown","",1,"plugin-manager__item-details-summary",3,"data"],[1,"app-button","active-grey",3,"click"],["name","plus-circle"],[1,"app-button","active-destructive",3,"click"],["name","x-circle"],[1,"app-button",3,"click"],[1,"app-dialog-footer"],[1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(i.Zb(0,"nz-modal",0),i.hc("nzVisibleChange",(function(e){return t.toggleDialogChange.next(e)}))("nzOnCancel",(function(e){return t.toggleDialogChange.next(e)})),i.Nc(1,"\n "),i.Lc(2,aR,9,6,"ng-template",null,1,i.Mc),i.Nc(4,"\n\n "),i.Lc(5,dR,21,5,"ng-template",null,2,i.Mc),i.Nc(7,"\n\n "),i.Lc(8,fR,8,3,"ng-template",null,3,i.Mc),i.Nc(10,"\n"),i.Yb(),i.Nc(11,"\n")),2&e){var n=i.Ac(3),r=i.Ac(6),o=i.Ac(9);i.sc("nzVisible",t.showPluginManager)("nzTitle",n)("nzContent",r)("nzFooter",o)("nzWidth",870)}},directives:[Fz,Vr.s,Vr.t,Vr.q,Ga.b,hL.a],pipes:[Nn.d,Vr.b],encapsulation:2}),e}(),bR=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,tL,nL,GM,EM,oR]]}),e}(),mR=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,EM,bR]]}),e}(),vR=function(){function e(){}return e.\u0275mod=i.Rb({type:e}),e.\u0275inj=i.Qb({factory:function(t){return new(t||e)},imports:[[Vr.c,Ot.j,EM,bR]]}),e}(),yR=n("0zd0"),wR=n("VNr4"),OR=n("FDZY"),CR=n("VwhB"),SR=n("kRGt"),zR=n("xlYA"),TR=function(){function e(){this.onFileDropped=new i.n}return e.prototype.onDragOver=function(e){e.preventDefault(),e.stopPropagation()},e.prototype.onDragLeave=function(e){e.preventDefault(),e.stopPropagation()},e.prototype.ondrop=function(e){var t;e.preventDefault(),e.stopPropagation();var n=null===(t=e.dataTransfer)||void 0===t?void 0:t.files;n&&n.length>0&&this.onFileDropped.emit(n)},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Ob({type:e,selectors:[["","appFileDrop",""]],hostBindings:function(e,t){1&e&&i.hc("dragover",(function(e){return t.onDragOver(e)}))("dragleave",(function(e){return t.onDragLeave(e)}))("drop",(function(e){return t.ondrop(e)}))},outputs:{onFileDropped:"onFileDropped"}}),e}(),_R=function(){function e(e){this.element=e,this.appSetCssVariables={}}return e.prototype.ngOnChanges=function(e){var t=this;e.appSetCssVariables&&Object.keys(this.appSetCssVariables).forEach((function(e){t.appSetCssVariables[e]?document.documentElement.style.setProperty(e,t.appSetCssVariables[e]):document.documentElement.style.removeProperty(e)}))},e.\u0275fac=function(t){return new(t||e)(i.Tb(i.l))},e.\u0275dir=i.Ob({type:e,selectors:[["","appSetCssVariables",""]],inputs:{appSetCssVariables:"appSetCssVariables"},features:[i.Bb]}),e}(),kR=n("J1Ni"),DR=n("9b6k"),xR=function(){return(xR=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,i){return void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,i):t.flush(this)},t}(n("h9Dq").a),o=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.c(t,e),t}(n("CS9Q").a))(r)},zotm:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("rPjj"),r=n("Fxb1"),o=n("6blF");function a(e,t,n,a,s){if(void 0===s&&(s=new i.a(e,n,a)),!s.closed)return t instanceof o.a?t.subscribe(s):Object(r.a)(t)(s)}},zpYP:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return"object"==i(e)&&null!==e}n.d(t,"a",(function(){return r}))},"zrt+":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("6blF");function r(e){return!!e&&(e instanceof i.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},zs8F:function(e,t,n){"use strict";var i=n("GpRL"),r=n("lq5y"),o=Function.prototype.bind,a=Function.prototype.call,s=Object.keys,c=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(n,u){var l,p=arguments[2],h=arguments[3];return n=Object(r(n)),i(u),l=s(n),h&&l.sort("function"==typeof h?o.call(h,n):void 0),"function"!=typeof e&&(e=l[e]),a.call(e,l,(function(e,i){return c.call(n,e)?a.call(u,p,n[e],e,n,i):t}))}}},zsKT:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=n("y4cC");function r(e){return o(e.source,Object(i.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,i=s(n)+e.body,r=t.line-1,o=t.line+(e.locationOffset.line-1),c=t.column+(1===t.line?n:0),u="".concat(e.name,":").concat(o,":").concat(c,"\n"),l=i.split(/\r\n|[\n\r]/g),p=l[r];if(p.length>120){for(var h=Math.floor(c/80),d=c%80,f=[],g=0;g",this._properties=e&&e.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==M.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return j.zone},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return P},enumerable:!0,configurable:!0}),e.__load_patch=function(o,i){if(M.hasOwnProperty(o)){if(a)throw Error("Already loaded patch: "+o)}else if(!t["__Zone_disable_"+o]){var c="Zone:"+o;n(c),M[o]=i(t,e,C),r(c,c)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,r){j={parent:j,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{j=j.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),j={parent:j,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{j=j.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");if(t.state!==w||t.type!==A&&t.type!==O){var r=t.state!=_;r&&t._transitionTo(_,k),t.runCount++;var o=P;P=t,j={parent:j,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==w&&t.state!==S&&(t.type==A||t.data&&t.data.isPeriodic?r&&t._transitionTo(k,_):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(w,_,w))),j=j.parent,P=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(E,w);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(S,E,w),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==E&&t._transitionTo(k,E),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new l(T,t,e,n,r,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new l(O,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new l(A,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");t._transitionTo(x,k,_);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(S,x),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(w,x),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),l=function(){function e(n,r,o,i,a,c){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,!o)throw new Error("callback is not defined");this.callback=o;var u=this;this.invoke=n===A&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),I++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==I&&m(),I--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(w,E)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==w&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),p=i("setTimeout"),h=i("Promise"),v=i("then"),d=[],g=!1;function y(e){if(0===I&&0===d.length)if(u||t[h]&&(u=t[h].resolve(0)),u){var n=u[v];n||(n=u.then),n.call(u,m)}else t[p](m,0);e&&d.push(e)}function m(){if(!g){for(g=!0;d.length;){var t=d;d=[];for(var e=0;e=0;n--)"function"==typeof t[n]&&(t[n]=u(t[n],e+"_"+n));return t}function g(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,m=!("nw"in h)&&void 0!==h.process&&"[object process]"==={}.toString.call(h.process),b=!m&&!y&&!(!l||!p.HTMLElement),w=void 0!==h.process&&"[object process]"==={}.toString.call(h.process)&&!y&&!(!l||!p.HTMLElement),E={},k=function(t){if(t=t||h.event){var e=E[t.type];e||(e=E[t.type]=f("ON_PROPERTY"+t.type));var n,r=this||t.target||h,o=r[e];if(b&&r===p&&"error"===t.type){var i=t;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&t.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||t.preventDefault();return n}};function _(n,r,o){var i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=f("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=r.substr(2),l=E[s];l||(l=E[s]=f("ON_PROPERTY"+s)),i.set=function(t){var e=this;e||n!==h||(e=h),e&&(e[l]&&e.removeEventListener(s,k),u&&u.apply(e,v),"function"==typeof t?(e[l]=t,e.addEventListener(s,k,!1)):e[l]=null)},i.get=function(){var t=this;if(t||n!==h||(t=h),!t)return null;var e=t[l];if(e)return e;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof t.removeAttribute&&t.removeAttribute(r),o}return null},e(n,r,i),n[a]=!0}}}function x(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[i.cbIdx]?s(i.name,r[i.cbIdx],i,o):t.apply(e,r)}}))}function M(t,e){t[f("OriginalDelegate")]=e}var C=!1,j=!1;function P(){try{var t=p.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}function I(){if(C)return j;C=!0;try{var t=p.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(j=!0)}catch(e){}return j}Zone.__load_patch("toString",(function(t){var e=Function.prototype.toString,n=f("OriginalDelegate"),r=f("Promise"),o=f("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.call(a)}if(this===Error){var c=t[o];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}}));var D=!1;if("undefined"!=typeof window)try{var N=Object.defineProperty({},"passive",{get:function(){D=!0}});window.addEventListener("test",N,N),window.removeEventListener("test",N,N)}catch(wt){D=!1}var R={useG:!0},L={},F={},G=new RegExp("^"+c+"(\\w+)(true|false)$"),Z=f("propagationStopped");function z(t,e){var n=(e?e(t):t)+"false",r=(e?e(t):t)+"true",o=c+n,i=c+r;L[t]={},L[t].false=o,L[t].true=i}function q(t,e,r){var o=r&&r.add||"addEventListener",i=r&&r.rm||"removeEventListener",a=r&&r.listeners||"eventListeners",u=r&&r.rmAll||"removeAllListeners",s=f(o),l="."+o+":",p=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var o=t.options;o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)}},h=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[L[e.type].false];if(r)if(1===r.length)p(r[0],n,e);else for(var o=r.slice(),i=0;i1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach((function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}}))):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}Zone.__load_patch("util",(function(n,i,a){a.patchOnProperties=x,a.patchMethod=O,a.bindArguments=d,a.patchMacroTask=A;var s=i.__symbol__("BLACK_LISTED_EVENTS"),f=i.__symbol__("UNPATCHED_EVENTS");n[f]&&(n[s]=n[f]),n[s]&&(i[s]=i[f]=n[s]),a.patchEventPrototype=X,a.patchEventTarget=q,a.isIEOrEdge=I,a.ObjectDefineProperty=e,a.ObjectGetOwnPropertyDescriptor=t,a.ObjectCreate=r,a.ArraySlice=o,a.patchClass=T,a.wrapWithCurrentZone=u,a.filterProperties=ct,a.attachOriginToPatched=M,a._redefineProperty=Object.defineProperty,a.patchCallbacks=H,a.getGlobalObjects=function(){return{globalSources:F,zoneSymbolEventNames:L,eventNames:at,isBrowser:b,isMix:w,isNode:m,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:c,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})),function(t){t[(t.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var e=t.Zone;e.__load_patch("defineProperty",(function(t,e,n){n._redefineProperty=lt,ft()})),e.__load_patch("registerElement",(function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)})),e.__load_patch("EventTargetLegacy",(function(t,e,n){dt(t,n),gt(n,t)}))}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});var yt=f("zoneTask");function mt(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[yt]=null))}},n.handleId=o.apply(t,n.args),e}function u(t){return i(t.data.handleId)}o=O(t,e+=r,(function(n){return function(o,i){if("function"==typeof i[0]){var f=s(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,u);if(!f)return f;var l=f.data.handleId;return"number"==typeof l?a[l]=f:l&&(l[yt]=f),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(f.ref=l.ref.bind(l),f.unref=l.unref.bind(l)),"number"==typeof l||l?l:f}return n.apply(t,i)}})),i=O(t,n,(function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[yt])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[yt]=null),o.zone.cancelTask(o)):e.apply(t,r)}}))}function bt(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u0){var o=t.invoke;t.invoke=function(){for(var n=u[e.__symbol__("loadfalse")],i=0;i"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var t,e;h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};c[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[f]=t):n=h(),void 0===e?n:i(n,e)}},"2oRo":function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},"33Wh":function(t,e,n){var r=n("yoRg"),o=n("eDl+");t.exports=Object.keys||function(t){return r(t,o)}},"3caY":function(t,e,n){var r=n("wA6s"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"3vMK":function(t,e,n){"use strict";var r=n("6XUM"),o=n("/Ybd"),i=n("wIVT"),a=n("m41k")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"3xQm":function(t,e,n){var r,o,i,a,c,u,s,f,l=n("ocAm"),p=n("7gGY").f,h=n("ezU2"),v=n("Ox9q").set,d=n("tuHh"),g=l.MutationObserver||l.WebKitMutationObserver,y=l.process,m=l.Promise,b="process"==h(y),w=p(l,"queueMicrotask"),E=w&&w.value;E||(r=function(){var t,e;for(b&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},b?a=function(){y.nextTick(r)}:g&&!d?(c=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):m&&m.resolve?(s=m.resolve(void 0),f=s.then,a=function(){f.call(s,r)}):a=function(){v.call(l,r)}),t.exports=E||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},"48xZ":function(t,e,n){var r=n("n/2t"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return iu||n!=n?f*(1/0):f*n}},"4GtL":function(t,e,n){"use strict";var r=n("VCQ8"),o=n("7Oj1"),i=n("xpLY"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),p=1;for(s0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},"4Kt7":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sub")},{sub:function(){return o(this,"sub","","")}})},"4NCC":function(t,e,n){var r=n("ocAm"),o=n("jnLS").trim,i=n("xFZC"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},"4PyY":function(t,e,n){var r={};r[n("m41k")("toStringTag")]="z",t.exports="[object z]"===String(r)},"4WOD":function(t,e,n){var r=n("UTVS"),o=n("ewvW"),i=n("93I0"),a=n("4Xet"),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},"4Xet":function(t,e,n){var r=n("0Dky");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},"4axp":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("blink")},{blink:function(){return o(this,"blink","","")}})},"5MmU":function(t,e,n){var r=n("m41k"),o=n("pz+c"),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},"5eAq":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},"5y2d":function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("F26l"),a=n("ZRqE");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},"5zDw":function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},"6CEi":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").find,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("find");"find"in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},"6CJb":function(t,e,n){"use strict";var r=n("rG8t");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},"6JNq":function(t,e,n){var r=n("UTVS"),o=n("Vu81"),i=n("Bs8V"),a=n("m/L8");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s1?arguments[1]:void 0)}})},"6oxo":function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},"6q6p":function(t,e,n){"use strict";var r=n("wA6s"),o=n("6XUM"),i=n("erNl"),a=n("7Oj1"),c=n("xpLY"),u=n("EMtK"),s=n("DYg9"),f=n("m41k"),l=n("lRyB"),p=n("w2hq"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;h=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},"8ydS":function(t,e,n){n("wA6s")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"93I0":function(t,e,n){var r=n("VpIT"),o=n("kOOl"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"94Vg":function(t,e,n){var r=n("E7aN"),o=n("OG5q"),i=n("aGCb"),a=n("/Ybd").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"9kNm":function(t,e,n){n("94Vg")("toPrimitive")},A1Hp:function(t,e,n){var r=n("m41k"),o=n("2RDa"),i=n("/Ybd"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},A7hN:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("wIVT"),c=n("cwa4");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},"Ay+M":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},BTho:function(t,e,n){"use strict";var r=n("HAuM"),o=n("hh1v"),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;ot;)i(n,t,arguments[t++]);return n.length=e,n}})},BnCb:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{sign:n("n/2t")})},Bs8V:function(t,e,n){var r=n("g6v/"),o=n("0eef"),i=n("XGwC"),a=n("/GqU"),c=n("wE6v"),u=n("UTVS"),s=n("DPsx"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},COcp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isInteger:n("Nvxz")})},CW9j:function(t,e,n){"use strict";var r=n("F26l"),o=n("LdO1");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},CwIO:function(t,e,n){var r=n("wA6s"),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},"D+RQ":function(t,e,n){"use strict";var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("2MGJ"),c=n("OG5q"),u=n("ezU2"),s=n("K6ZX"),f=n("LdO1"),l=n("rG8t"),p=n("2RDa"),h=n("KkqW").f,v=n("7gGY").f,d=n("/Ybd").f,g=n("jnLS").trim,y=o.Number,m=y.prototype,b="Number"==u(p(m)),w=function(t){var e,n,r,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=g(s)).charCodeAt(0))||45===e){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;co)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var E,k=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof k&&(b?l((function(){m.valueOf.call(n)})):"Number"!=u(n))?s(new y(w(e)),n,k):w(e)},_=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)c(y,E=_[x])&&!c(k,E)&&d(k,E,v(y,E));k.prototype=m,m.constructor=k,a(o,"Number",k)}},D3bo:function(t,e,n){var r,o,i=n("ocAm"),a=n("T/Kj"),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},D94X:function(t,e,n){var r=n("wA6s"),o=n("n/2t"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},DAme:function(t,e,n){"use strict";var r=n("8aNu"),o=n("M7Xk").getWeakData,i=n("F26l"),a=n("6XUM"),c=n("SM6+"),u=n("Rn6E"),s=n("kk6e"),f=n("OG5q"),l=n("XH/I"),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return v(t.entries,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var l=t((function(t,r){c(t,l,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],t,n)})),v=h(e),d=function(t,e,n){var r=v(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=v(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},DGHb:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("LdO1");r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},DPsx:function(t,e,n){var r=n("g6v/"),o=n("0Dky"),i=n("zBJ4");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},DYg9:function(t,e,n){"use strict";var r=n("LdO1"),o=n("/Ybd"),i=n("uSMZ");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},Djps:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{log1p:n("O3xq")})},DscF:function(t,e,n){var r=n("wA6s"),o=n("w4Hq"),i=n("A1Hp");r({target:"Array",proto:!0},{fill:o}),i("fill")},E7aN:function(t,e,n){var r=n("ocAm");t.exports=r},E8Ab:function(t,e,n){"use strict";var r=n("Neub"),o=n("6XUM"),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EMtK:function(t,e,n){var r=n("tUdv"),o=n("hmpk");t.exports=function(t){return r(o(t))}},EQZg:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},ERXZ:function(t,e,n){n("94Vg")("match")},EntM:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("5y2d")})},"Ew/G":function(t,e,n){var r=n("E7aN"),o=n("ocAm"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},"F/TS":function(t,e,n){var r=n("mN5b"),o=n("pz+c"),i=n("m41k")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},F26l:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},F4rZ:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("erNl"),a=n("6XUM"),c=n("VCQ8"),u=n("xpLY"),s=n("DYg9"),f=n("JafA"),l=n("lRyB"),p=n("m41k"),h=n("D3bo"),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},FU1i:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").map,i=n("lRyB"),a=n("w2hq"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"FeI/":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").every,i=n("6CJb"),a=n("w2hq"),c=i("every"),u=a("every");r({target:"Array",proto:!0,forced:!c||!u},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},Fqhe:function(t,e,n){var r=n("ocAm"),o=n("aJMj");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},"G+Rx":function(t,e,n){var r=n("0GbY");t.exports=r("document","documentElement")},"G/JM":function(t,e,n){n("I+eb")({target:"Reflect",stat:!0},{ownKeys:n("Vu81")})},G1Vw:function(t,e,n){"use strict";var r,o,i,a=n("wIVT"),c=n("aJMj"),u=n("OG5q"),s=n("m41k"),f=n("g9hI"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},G7bs:function(t,e,n){var r=n("vDBE"),o=n("hmpk"),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},HAuM:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},HSQg:function(t,e,n){"use strict";n("SC6u");var r=n("2MGJ"),o=n("rG8t"),i=n("m41k"),a=n("qjkP"),c=n("aJMj"),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),g=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e}));if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],(function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},HYAF:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},"I+eb":function(t,e,n){var r=n("2oRo"),o=n("Bs8V").f,i=n("kRJp"),a=n("busE"),c=n("zk60"),u=n("6JNq"),s=n("lMq5");t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},I8vh:function(t,e,n){var r=n("ppGB"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},IBH3:function(t,e,n){"use strict";var r=n("tcQx"),o=n("VCQ8"),i=n("ipMl"),a=n("5MmU"),c=n("xpLY"),u=n("DYg9"),s=n("F/TS");t.exports=function(t){var e,n,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),w=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>w;w++)h=m?y(v[w],w):v[w],u(n,w,h);else for(p=(l=b.call(v)).next,n=new d;!(f=p.call(l)).done;w++)h=m?i(l,y,[f.value,w],!0):f.value,u(n,w,h);return n.length=w,n}},IPby:function(t,e,n){var r=n("wA6s"),o=n("EMtK"),i=n("xpLY");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c1?arguments[1]:void 0)}})},IXlp:function(t,e,n){var r=n("wA6s"),o=n("O3xq"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},IzYO:function(t,e,n){var r=n("wA6s"),o=n("cZY6"),i=n("rG8t"),a=n("6XUM"),c=n("M7Xk").onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},J4zY:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fixed")},{fixed:function(){return o(this,"tt","","")}})},JBy8:function(t,e,n){var r=n("yoRg"),o=n("eDl+").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},JHhb:function(t,e,n){"use strict";var r=n("Ew/G"),o=n("/Ybd"),i=n("m41k"),a=n("T69T"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},JI1L:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},JafA:function(t,e,n){var r=n("6XUM"),o=n("erNl"),i=n("m41k")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},JhPs:function(t,e,n){var r=n("wA6s"),o=n("pn4C");r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},JkSk:function(t,e,n){"use strict";var r=n("rG8t");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},"Jt/z":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").findIndex,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},K1Z7:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("xpLY"),a=n("hmpk"),c=n("dPn5"),u=n("unYP");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]}))},K1dl:function(t,e,n){var r=n("ocAm");t.exports=r.Promise},K6ZX:function(t,e,n){var r=n("6XUM"),o=n("7/lX");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},KBkW:function(t,e,n){var r=n("ocAm"),o=n("Fqhe"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},KMug:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},KkqW:function(t,e,n){var r=n("vVmn"),o=n("aAjO").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},KlhL:function(t,e,n){"use strict";var r=n("T69T"),o=n("rG8t"),i=n("ZRqE"),a=n("busr"),c=n("gn9T"),u=n("VCQ8"),s=n("tUdv"),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},KsdI:function(t,e,n){n("94Vg")("iterator")},L4l2:function(t,e,n){"use strict";var r=n("wA6s"),o=n("s8qp"),i=n("hmpk");r({target:"String",proto:!0,forced:!n("0Ds2")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},LRWt:function(t,e,n){n("F4rZ"),n("NX+v"),n("SNUk"),n("c/8x"),n("0luR"),n("Pfbg"),n("V+F/"),n("KsdI"),n("ERXZ"),n("YOJ4"),n("S3W2"),n("8+YH"),n("uKyN"),n("Vi1R"),n("9kNm"),n("ZQqA"),n("815a"),n("OVXS"),n("8CeQ");var r=n("E7aN");t.exports=r.Symbol},LdO1:function(t,e,n){var r=n("6XUM");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},M1AK:function(t,e,n){var r=n("wA6s"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},M7Xk:function(t,e,n){var r=n("yQMY"),o=n("6XUM"),i=n("OG5q"),a=n("/Ybd").f,c=n("SDMg"),u=n("cZY6"),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};r[s]=!0},MjoC:function(t,e,n){var r=n("T69T"),o=n("/Ybd").f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},MkZA:function(t,e,n){var r=n("rG8t"),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},"N+g0":function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("glrk"),a=n("33Wh");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},NIlc:function(t,e,n){var r=n("OG5q"),o=n("76gj"),i=n("7gGY"),a=n("/Ybd");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},O741:function(t,e,n){var r=n("hh1v");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},OG5q:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},OVXS:function(t,e,n){n("shqn")(Math,"Math",!0)},OXtp:function(t,e,n){var r=n("EMtK"),o=n("xpLY"),i=n("7Oj1"),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},OjQg:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},Ox9q:function(t,e,n){var r,o,i,a=n("ocAm"),c=n("rG8t"),u=n("ezU2"),s=n("tcQx"),f=n("149L"),l=n("qx7X"),p=n("tuHh"),h=a.location,v=a.setImmediate,d=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,w={},E=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},k=function(t){return function(){E(t)}},_=function(t){E(t.data)},x=function(t){a.postMessage(t+"",h.protocol+"//"+h.host)};v&&d||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return w[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},d=function(t){delete w[t]},"process"==u(g)?r=function(t){g.nextTick(k(t))}:m&&m.now?r=function(t){m.now(k(t))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=_,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(x)?r="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),E(t)}}:function(t){setTimeout(k(t),0)}:(r=x,a.addEventListener("message",_,!1))),t.exports={set:v,clear:d}},PbJR:function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({global:!0,forced:parseInt!=o},{parseInt:o})},Pf6x:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{fround:n("48xZ")})},Pfbg:function(t,e,n){n("94Vg")("hasInstance")},PmIt:function(t,e,n){"use strict";var r=n("HSQg"),o=n("1p6F"),i=n("F26l"),a=n("hmpk"),c=n("p82S"),u=n("dPn5"),s=n("xpLY"),f=n("unYP"),l=n("qjkP"),p=n("rG8t"),h=[].push,v=Math.min,d=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var c,u,s,f=[],p=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=l.call(v,r))&&!((u=v.lastIndex)>p&&(f.push(r.slice(p,c.index)),c.length>1&&c.index=i));)v.lastIndex===c.index&&v.lastIndex++;return p===r.length?!s&&v.test("")||f.push(""):f.push(r.slice(p)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var l=i(t),p=String(this),h=c(l,RegExp),g=l.unicode,y=new h(d?l:"^(?:"+l.source+")",(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(d?"y":"g")),m=void 0===o?4294967295:o>>>0;if(0===m)return[];if(0===p.length)return null===f(y,p)?[p]:[];for(var b=0,w=0,E=[];w1?arguments[1]:void 0)}})},QFgE:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},QUoj:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},"QVG+":function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},QcXc:function(t,e,n){var r=n("xpLY"),o=n("EMWV"),i=n("hmpk"),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,f=String(i(e)),l=f.length,p=void 0===c?" ":String(c),h=r(n);return h<=l||""==p?f:((s=o.call(p,a((u=h-l)/p.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},Qo9l:function(t,e,n){var r=n("2oRo");t.exports=r},RCvO:function(t,e,n){n("wA6s")({target:"Object",stat:!0,sham:!n("T69T")},{create:n("2RDa")})},RK3t:function(t,e,n){var r=n("0Dky"),o=n("xrYK"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},"Rj+b":function(t,e,n){"use strict";var r=n("2MGJ"),o=n("F26l"),i=n("rG8t"),a=n("x0kV"),c=RegExp.prototype,u=c.toString;(i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))||"toString"!=u.name)&&r(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in c)?a.call(t):n)}),{unsafe:!0})},Rn6E:function(t,e,n){var r=n("F26l"),o=n("5MmU"),i=n("xpLY"),a=n("tcQx"),c=n("F/TS"),u=n("ipMl"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var p,h,v,d,g,y,m,b=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((g=f?b(r(m=t[v])[0],m[1]):b(t[v]))&&g instanceof s)return g;return new s(!1)}p=h.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,f))&&g&&g instanceof s)return g;return new s(!1)}).stop=function(t){return new s(!0,t)}},S3W2:function(t,e,n){n("94Vg")("replace")},S3Yw:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("VCQ8"),a=n("xpLY"),c=n("vDBE"),u=n("hmpk"),s=n("dPn5"),f=n("unYP"),l=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,m=g?"$":"$0";return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!g&&y||"string"==typeof r&&-1===r.indexOf(m)){var i=n(e,t,this,r);if(i.done)return i.value}var u=o(t),h=String(this),v="function"==typeof r;v||(r=String(r));var d=u.global;if(d){var w=u.unicode;u.lastIndex=0}for(var E=[];;){var k=f(u,h);if(null===k)break;if(E.push(k),!d)break;""===String(k[0])&&(u.lastIndex=s(h,a(u.lastIndex),w))}for(var _,x="",S=0,T=0;T=S&&(x+=h.slice(S,A)+I,S=A+O.length)}return x+h.slice(S)}];function b(t,n,r,o,a,c){var u=r+t.length,s=o.length,f=d;return void 0!==a&&(a=i(a),f=v),e.call(c,f,(function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=h(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}c=o[f-1]}return void 0===c?"":c}))}}))},S58s:function(t,e,n){var r=n("wA6s"),o=n("pn4C"),i=Math.cosh,a=Math.abs,c=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*c*c))*(c/2)}})},SC6u:function(t,e,n){"use strict";var r=n("wA6s"),o=n("qjkP");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},SDMg:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},"SM6+":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},SNUk:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ocAm"),i=n("Ew/G"),a=n("g9hI"),c=n("T69T"),u=n("U+kB"),s=n("i85Z"),f=n("rG8t"),l=n("OG5q"),p=n("erNl"),h=n("6XUM"),v=n("F26l"),d=n("VCQ8"),g=n("EMtK"),y=n("LdO1"),m=n("uSMZ"),b=n("2RDa"),w=n("ZRqE"),E=n("KkqW"),k=n("TzEA"),_=n("busr"),x=n("7gGY"),S=n("/Ybd"),T=n("gn9T"),O=n("aJMj"),A=n("2MGJ"),M=n("yIiL"),C=n("/AsP"),j=n("yQMY"),P=n("SDMg"),I=n("m41k"),D=n("aGCb"),N=n("94Vg"),R=n("shqn"),L=n("XH/I"),F=n("kk6e").forEach,G=C("hidden"),Z=I("toPrimitive"),z=L.set,q=L.getterFor("Symbol"),U=Object.prototype,X=o.Symbol,H=i("JSON","stringify"),V=x.f,Y=S.f,W=k.f,B=T.f,J=M("symbols"),Q=M("op-symbols"),K=M("string-to-symbol-registry"),$=M("symbol-to-string-registry"),tt=M("wks"),et=o.QObject,nt=!et||!et.prototype||!et.prototype.findChild,rt=c&&f((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=V(U,e);r&&delete U[e],Y(t,e,n),r&&t!==U&&Y(U,e,r)}:Y,ot=function(t,e){var n=J[t]=b(X.prototype);return z(n,{type:"Symbol",tag:t,description:e}),c||(n.description=e),n},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof X},at=function(t,e,n){t===U&&at(Q,e,n),v(t);var r=y(e,!0);return v(n),l(J,r)?(n.enumerable?(l(t,G)&&t[G][r]&&(t[G][r]=!1),n=b(n,{enumerable:m(0,!1)})):(l(t,G)||Y(t,G,m(1,{})),t[G][r]=!0),rt(t,r,n)):Y(t,r,n)},ct=function(t,e){v(t);var n=g(e),r=w(n).concat(lt(n));return F(r,(function(e){c&&!ut.call(n,e)||at(t,e,n[e])})),t},ut=function(t){var e=y(t,!0),n=B.call(this,e);return!(this===U&&l(J,e)&&!l(Q,e))&&(!(n||!l(this,e)||!l(J,e)||l(this,G)&&this[G][e])||n)},st=function(t,e){var n=g(t),r=y(e,!0);if(n!==U||!l(J,r)||l(Q,r)){var o=V(n,r);return!o||!l(J,r)||l(n,G)&&n[G][r]||(o.enumerable=!0),o}},ft=function(t){var e=W(g(t)),n=[];return F(e,(function(t){l(J,t)||l(j,t)||n.push(t)})),n},lt=function(t){var e=t===U,n=W(e?Q:g(t)),r=[];return F(n,(function(t){!l(J,t)||e&&!l(U,t)||r.push(J[t])})),r};u||(A((X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=P(t),n=function(t){this===U&&n.call(Q,t),l(this,G)&&l(this[G],e)&&(this[G][e]=!1),rt(this,e,m(1,t))};return c&&nt&&rt(U,e,{configurable:!0,set:n}),ot(e,t)}).prototype,"toString",(function(){return q(this).tag})),A(X,"withoutSetter",(function(t){return ot(P(t),t)})),T.f=ut,S.f=at,x.f=st,E.f=k.f=ft,_.f=lt,D.f=function(t){return ot(I(t),t)},c&&(Y(X.prototype,"description",{configurable:!0,get:function(){return q(this).description}}),a||A(U,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:X}),F(w(tt),(function(t){N(t)})),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(K,e))return K[e];var n=X(e);return K[e]=n,$[n]=e,n},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l($,t))return $[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?b(t):ct(b(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:st}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:f((function(){_.f(1)}))},{getOwnPropertySymbols:function(t){return _.f(d(t))}}),H&&r({target:"JSON",stat:!0,forced:!u||f((function(){var t=X();return"[null]"!=H([t])||"{}"!=H({a:t})||"{}"!=H(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(h(e)||void 0!==t)&&!it(t))return p(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!it(e))return e}),o[1]=e,H.apply(null,o)}}),X.prototype[Z]||O(X.prototype,Z,X.prototype.valueOf),R(X,"Symbol"),j[G]=!0},SdaC:function(t,e,n){var r=n("wA6s"),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},SkA5:function(t,e,n){n("pv2x"),n("SuFq"),n("PzqY"),n("rBZX"),n("XUE8"),n("nkod"),n("f3jH"),n("x2An"),n("25bX"),n("G/JM"),n("1t3B"),n("ftMj"),n("i5pp");var r=n("Qo9l");t.exports=r.Reflect},SuFq:function(t,e,n){var r=n("I+eb"),o=n("0GbY"),i=n("HAuM"),a=n("glrk"),c=n("hh1v"),u=n("fHMY"),s=n("BTho"),f=n("0Dky"),l=o("Reflect","construct"),p=f((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!f((function(){l((function(){}))})),v=p||h;r({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(h&&!p)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(s.apply(t,r))}var o=n.prototype,f=u(c(o)?o:Object.prototype),v=Function.apply.call(t,f,e);return c(v)?v:f}})},"T/Kj":function(t,e,n){var r=n("Ew/G");t.exports=r("navigator","userAgent")||""},T4tC:function(t,e,n){var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("K6ZX"),c=n("/Ybd").f,u=n("KkqW").f,s=n("1p6F"),f=n("x0kV"),l=n("JkSk"),p=n("2MGJ"),h=n("rG8t"),v=n("XH/I").set,d=n("JHhb"),g=n("m41k")("match"),y=o.RegExp,m=y.prototype,b=/a/g,w=/a/g,E=new y(b)!==b,k=l.UNSUPPORTED_Y;if(r&&i("RegExp",!E||k||h((function(){return w[g]=!1,y(b)!=b||y(w)==w||"/a/i"!=y(b,"i")})))){for(var _=function(t,e){var n,r=this instanceof _,o=s(t),i=void 0===e;if(!r&&o&&t.constructor===_&&i)return t;E?o&&!i&&(t=t.source):t instanceof _&&(i&&(e=f.call(t)),t=t.source),k&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var c=a(E?new y(t,e):y(t,e),r?this:m,_);return k&&n&&v(c,{sticky:n}),c},x=function(t){t in _||c(_,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},S=u(y),T=0;S.length>T;)x(S[T++]);m.constructor=_,_.prototype=m,p(o,"RegExp",_)}d("RegExp")},T69T:function(t,e,n){var r=n("rG8t");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},TWQb:function(t,e,n){var r=n("/GqU"),o=n("UMSQ"),i=n("I8vh"),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},TzEA:function(t,e,n){var r=n("EMtK"),o=n("KkqW").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(e){return a.slice()}}(t):o(r(t))}},"U+kB":function(t,e,n){var r=n("rG8t");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},UMSQ:function(t,e,n){var r=n("ppGB"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},UTVS:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"V+F/":function(t,e,n){n("94Vg")("isConcatSpreadable")},VCQ8:function(t,e,n){var r=n("hmpk");t.exports=function(t){return Object(r(t))}},Vi1R:function(t,e,n){n("94Vg")("split")},ViWx:function(t,e,n){"use strict";var r=n("wdMf"),o=n("nIH4");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},VmbE:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("strike")},{strike:function(){return o(this,"strike","","")}})},VpIT:function(t,e,n){var r=n("xDBR"),o=n("xs3f");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},Vu81:function(t,e,n){var r=n("0GbY"),o=n("JBy8"),i=n("dBg+"),a=n("glrk");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},W0ke:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},WEX0:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("link")},{link:function(t){return o(this,"a","href",t)}})},WEpO:function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},WKvG:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},WLa2:function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})},WijE:function(t,e,n){"use strict";var r=n("wA6s"),o=n("ZJLg"),i=n("wIVT"),a=n("7/lX"),c=n("shqn"),u=n("aJMj"),s=n("2MGJ"),f=n("m41k"),l=n("g9hI"),p=n("pz+c"),h=n("G1Vw"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,n,f,h,m,b){o(n,e,f);var w,E,k,_=function(t){if(t===h&&A)return A;if(!d&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},x=e+" Iterator",S=!1,T=t.prototype,O=T[g]||T["@@iterator"]||h&&T[h],A=!d&&O||_(h),M="Array"==e&&T.entries||O;if(M&&(w=i(M.call(new t)),v!==Object.prototype&&w.next&&(l||i(w)===v||(a?a(w,v):"function"!=typeof w[g]&&u(w,g,y)),c(w,x,!0,!0),l&&(p[x]=y))),"values"==h&&O&&"values"!==O.name&&(S=!0,A=function(){return O.call(this)}),l&&!b||T[g]===A||u(T,g,A),p[e]=A,h)if(E={values:_("values"),keys:m?A:_("keys"),entries:_("entries")},b)for(k in E)(d||S||!(k in T))&&s(T,k,E[k]);else r({target:e,proto:!0,forced:d||S},E);return E}},WnNu:function(t,e,n){n("wA6s")({target:"Object",stat:!0},{setPrototypeOf:n("7/lX")})},XEin:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").some,i=n("6CJb"),a=n("w2hq"),c=i("some"),u=a("some");r({target:"Array",proto:!0,forced:!c||!u},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},XGwC:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"XH/I":function(t,e,n){var r,o,i,a=n("yaK9"),c=n("ocAm"),u=n("6XUM"),s=n("aJMj"),f=n("OG5q"),l=n("/AsP"),p=n("yQMY");if(a){var h=new(0,c.WeakMap),v=h.get,d=h.has,g=h.set;r=function(t,e){return g.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return d.call(h,t)}}else{var y=l("state");p[y]=!0,r=function(t,e){return s(t,y,e),e},o=function(t){return f(t,y)?t[y]:{}},i=function(t){return f(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},XUE8:function(t,e,n){var r=n("I+eb"),o=n("hh1v"),i=n("glrk"),a=n("UTVS"),c=n("Bs8V"),u=n("4WOD");r({target:"Reflect",stat:!0},{get:function t(e,n){var r,s,f=arguments.length<3?e:arguments[2];return i(e)===f?e[n]:(r=c.f(e,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(f):o(s=u(e))?t(s,n,f):void 0}})},XdSI:function(t,e,n){var r=n("T69T"),o=n("rG8t"),i=n("qx7X");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},Xm88:function(t,e,n){var r=n("wA6s"),o=n("rCRE");r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},Y5OV:function(t,e,n){var r=n("aJMj"),o=n("CW9j"),i=n("m41k")("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},YOJ4:function(t,e,n){n("94Vg")("matchAll")},Yg8j:function(t,e,n){var r=n("ocAm").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},Yu3F:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("bold")},{bold:function(){return o(this,"b","","")}})},ZBUp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},ZJLg:function(t,e,n){"use strict";var r=n("G1Vw").IteratorPrototype,o=n("2RDa"),i=n("uSMZ"),a=n("shqn"),c=n("pz+c"),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},ZQqA:function(t,e,n){n("94Vg")("toStringTag")},ZRqE:function(t,e,n){var r=n("vVmn"),o=n("aAjO");t.exports=Object.keys||function(t){return r(t,o)}},aAjO:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},aGCb:function(t,e,n){var r=n("m41k");e.f=r},aJMj:function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("uSMZ");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},aTTg:function(t,e,n){var r=n("wA6s"),o=n("pn4C"),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},aVe3:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,r=window.Document.prototype.prepend,o=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,c=window.Node.prototype.cloneNode,u=window.Node.prototype.appendChild,s=window.Node.prototype.insertBefore,f=window.Node.prototype.removeChild,l=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),h=window.Element.prototype.attachShadow,v=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),d=window.Element.prototype.getAttribute,g=window.Element.prototype.setAttribute,y=window.Element.prototype.removeAttribute,m=window.Element.prototype.getAttributeNS,b=window.Element.prototype.setAttributeNS,w=window.Element.prototype.removeAttributeNS,E=window.Element.prototype.insertAdjacentElement,k=window.Element.prototype.insertAdjacentHTML,_=window.Element.prototype.prepend,x=window.Element.prototype.append,S=window.Element.prototype.before,T=window.Element.prototype.after,O=window.Element.prototype.replaceWith,A=window.Element.prototype.remove,M=window.HTMLElement,C=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),j=window.HTMLElement.prototype.insertAdjacentElement,P=window.HTMLElement.prototype.insertAdjacentHTML,I=new Set;function D(t){var e=I.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach((function(t){return I.add(t)}));var N=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function R(t){var e=t.isConnected;if(void 0!==e)return e;if(N(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function L(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function F(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function G(){var t=!(null==it||!it.noDocumentConstructionObserver),e=!(null==it||!it.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function Z(t,e,n,r){var o=window.ShadyDom;if(t.shadyDomFastWalk&&o&&o.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=o.nativeMethods.querySelectorAll.call(e,"*"),e=0;e=51&&/native code/.test(G))return!1;var t=G.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[D]=e,!(t.then((function(){}))instanceof e)})),B=W||!k((function(t){G.all(t).catch((function(){}))})),J=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Q=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;S((function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var c,u,s,f=r[a++],l=i?f.ok:f.fail,p=f.resolve,h=f.reject,v=f.domain;try{l?(i||(2===e.rejection&&et(t,e),e.rejection=1),!0===l?c=o:(v&&v.enter(),c=l(o),v&&(v.exit(),s=!0)),c===f.promise?h(Z("Promise-chain cycle")):(u=J(c))?u.call(c,p,h):p(c)):h(o)}catch(d){v&&!s&&v.exit(),h(d)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&$(t,e)}))}},K=function(t,e,n){var r,o;Y?((r=z.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},(o=s["on"+t])?o(r):"unhandledrejection"===t&&O("Unhandled promise rejection",n)},$=function(t,e){x.call(s,(function(){var n,r=e.value;if(tt(e)&&(n=M((function(){V?q.emit("unhandledRejection",r,t):K("unhandledrejection",t,r)})),e.rejection=V||tt(e)?2:1,n.error))throw n.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){x.call(s,(function(){V?q.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},nt=function(t,e,n,r){return function(o){t(e,n,o,r)}},rt=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,Q(t,e,!0))},ot=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw Z("Promise can't be resolved itself");var o=J(n);o?S((function(){var r={done:!1};try{o.call(n,nt(ot,t,r,e),nt(rt,t,r,e))}catch(i){rt(t,r,i,e)}})):(e.value=n,e.state=1,Q(t,e,!1))}catch(i){rt(t,{done:!1},i,e)}}};W&&(G=function(t){m(this,G,N),y(t),r.call(this);var e=R(this);try{t(nt(ot,this,e),nt(rt,this,e))}catch(n){rt(this,e,n)}},(r=function(t){L(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(G.prototype,{then:function(t,e){var n=F(this),r=X(_(this,G));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=V?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Q(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=R(t);this.promise=t,this.resolve=nt(ot,t,e),this.reject=nt(rt,t,e)},A.f=X=function(t){return t===G||t===i?new o(t):H(t)},u||"function"!=typeof l||(a=l.prototype.then,p(l.prototype,"then",(function(t,e){var n=this;return new G((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof U&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return T(G,U.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:W},{Promise:G}),v(G,N,!1,!0),d(N),i=f(N),c({target:N,stat:!0,forced:W},{reject:function(t){var e=X(this);return e.reject.call(void 0,t),e.promise}}),c({target:N,stat:!0,forced:u||W},{resolve:function(t){return T(u&&this===i?G:this,t)}}),c({target:N,stat:!0,forced:B},{all:function(t){var e=this,n=X(e),r=n.resolve,o=n.reject,i=M((function(){var n=y(e.resolve),i=[],a=0,c=1;E(t,(function(t){var u=a++,s=!1;i.push(void 0),c++,n.call(e,t).then((function(t){s||(s=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=X(e),r=n.reject,o=M((function(){var o=y(e.resolve);E(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},busE:function(t,e,n){var r=n("2oRo"),o=n("kRJp"),i=n("UTVS"),a=n("zk60"),c=n("iSVu"),u=n("afO8"),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),f(n).source=l.join("string"==typeof e?e:"")),t!==r?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=n:o(t,e,n)):s?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},busr:function(t,e){e.f=Object.getOwnPropertySymbols},"c/8x":function(t,e,n){n("94Vg")("asyncIterator")},cJLW:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("/Ybd").f})},cZY6:function(t,e,n){var r=n("rG8t");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},cwa4:function(t,e,n){var r=n("rG8t");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},d8Sw:function(t,e,n){var r=n("rG8t");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},"dBg+":function(t,e){e.f=Object.getOwnPropertySymbols},dI74:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sup")},{sup:function(){return o(this,"sup","","")}})},dPn5:function(t,e,n){"use strict";var r=n("G7bs").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"eDl+":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},erNl:function(t,e,n){var r=n("ezU2");t.exports=Array.isArray||function(t){return"Array"==r(t)}},ewvW:function(t,e,n){var r=n("HYAF");t.exports=function(t){return Object(r(t))}},ezU2:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},f3jH:function(t,e,n){var r=n("I+eb"),o=n("glrk"),i=n("4WOD");r({target:"Reflect",stat:!0,sham:!n("4Xet")},{getPrototypeOf:function(t){return i(o(t))}})},f5p1:function(t,e,n){var r=n("2oRo"),o=n("iSVu"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},fHMY:function(t,e,n){var r,o=n("glrk"),i=n("N+g0"),a=n("eDl+"),c=n("0BK2"),u=n("G+Rx"),s=n("zBJ4"),f=n("93I0")("IE_PROTO"),l=function(){},p=function(t){return" - - - - - - - -
    -

    graphql-java Subscriptions

    -

    An example of graphql-java subscriptions sending continuous updates over websockets

    -
    - - -
    -
    -
    - graphql-java -
    -
    -

    Explanation

    -

    This demonstrates the use of graphql subscriptions and web sockets to send a stream of - imagined stock price - updates to this page.

    -

    The updates are continuously sent from a server side publish and subscribe system (RxJava - in this case) and - pushed - down to the browser client while applying graphql shapes to the subscription data

    -

    The graphql query used in this example is :

    -
    -subscription StockCodeSubscription {
    -    stockQuotes {
    -        dateTime
    -        stockCode
    -        stockPrice
    -        stockPriceChange
    -    }
    -}
    -            
    -
    -
    -

    Stock Price Updates

    -
    Pending subscription...
    -
    📡
    -
    -
    -
    - - diff --git a/example-graphql-subscription/src/main/resources/subscription.graphqls b/example-graphql-subscription/src/main/resources/subscription.graphqls deleted file mode 100644 index 961cbb76..00000000 --- a/example-graphql-subscription/src/main/resources/subscription.graphqls +++ /dev/null @@ -1,24 +0,0 @@ -# -# Schemas must have at least a query root type -# -schema { - query: Query - subscription : Subscription -} - -scalar BigDecimal - -type Query { - hello : String -} - -type Subscription { - stockQuotes(stockCodes:[String]) : StockPriceUpdate! -} - -type StockPriceUpdate { - dateTime : String - stockCode : String - stockPrice : BigDecimal - stockPriceChange : BigDecimal! -} diff --git a/example-graphql-tools/LICENSE.md b/example-graphql-tools/LICENSE.md deleted file mode 100644 index 8ab1ef6c..00000000 --- a/example-graphql-tools/LICENSE.md +++ /dev/null @@ -1,18 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Oembedler Inc. and Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and -associated documentation files (the "Software"), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, -sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT -NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES -OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/example-graphql-tools/build.gradle b/example-graphql-tools/build.gradle deleted file mode 100644 index dba360b4..00000000 --- a/example-graphql-tools/build.gradle +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -apply plugin: "org.springframework.boot" - -dependencies { - implementation(project(":graphql-spring-boot-starter")) - implementation(project(":graphiql-spring-boot-starter")) - implementation(project(":voyager-spring-boot-starter")) - - implementation("org.springframework.boot:spring-boot-starter-web") - - testImplementation "org.springframework.boot:spring-boot-starter-test" - - testImplementation(project(":graphql-spring-boot-starter-test")) -} - -jar.enabled = false -publish.enabled = false -publishToMavenLocal.enabled = false diff --git a/example-graphql-tools/src/main/java/com/graphql/sample/boot/Comment.java b/example-graphql-tools/src/main/java/com/graphql/sample/boot/Comment.java deleted file mode 100644 index e3786329..00000000 --- a/example-graphql-tools/src/main/java/com/graphql/sample/boot/Comment.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.graphql.sample.boot; - -import lombok.AllArgsConstructor; -import lombok.Data; - -@Data -@AllArgsConstructor -class Comment { - - private Long id; - private String description; -} diff --git a/example-graphql-tools/src/main/java/com/graphql/sample/boot/GraphQLToolsSampleApplication.java b/example-graphql-tools/src/main/java/com/graphql/sample/boot/GraphQLToolsSampleApplication.java deleted file mode 100644 index 7b68eb89..00000000 --- a/example-graphql-tools/src/main/java/com/graphql/sample/boot/GraphQLToolsSampleApplication.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.graphql.sample.boot; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; - -@SpringBootApplication -public class GraphQLToolsSampleApplication { - - public static void main(String[] args) { - SpringApplication.run(GraphQLToolsSampleApplication.class, args); - } -} diff --git a/example-graphql-tools/src/main/java/com/graphql/sample/boot/Mutation.java b/example-graphql-tools/src/main/java/com/graphql/sample/boot/Mutation.java deleted file mode 100644 index c62cac77..00000000 --- a/example-graphql-tools/src/main/java/com/graphql/sample/boot/Mutation.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.graphql.sample.boot; - -import graphql.kickstart.tools.GraphQLMutationResolver; -import java.security.SecureRandom; -import org.springframework.stereotype.Component; - -@Component -public class Mutation implements GraphQLMutationResolver { - - public Post createPost(String text) { - Post post = new Post(new SecureRandom().nextLong()); - post.setText(text); - return post; - } -} diff --git a/example-graphql-tools/src/main/java/com/graphql/sample/boot/Post.java b/example-graphql-tools/src/main/java/com/graphql/sample/boot/Post.java deleted file mode 100644 index 433979f2..00000000 --- a/example-graphql-tools/src/main/java/com/graphql/sample/boot/Post.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.graphql.sample.boot; - -public class Post { - - private Long id; - private String text; - - Post(Long id) { - this.id = id; - } - - public Long getId() { - return id; - } - - public String getText() { - return text; - } - - public void setText(String text) { - this.text = text; - } -} diff --git a/example-graphql-tools/src/main/java/com/graphql/sample/boot/PostResolver.java b/example-graphql-tools/src/main/java/com/graphql/sample/boot/PostResolver.java deleted file mode 100644 index a3f8bdf9..00000000 --- a/example-graphql-tools/src/main/java/com/graphql/sample/boot/PostResolver.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.graphql.sample.boot; - -import static java.util.Collections.singletonList; - -import graphql.kickstart.tools.GraphQLResolver; -import java.util.Collections; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Optional; -import org.springframework.stereotype.Component; - -@Component -class PostResolver implements GraphQLResolver { - - private final Map> comments = new HashMap<>(); - - PostResolver() { - comments.put(1L, singletonList(new Comment(1L, "Some comment"))); - } - - public List getComments(Post post) { - return Optional.ofNullable(comments.get(post.getId())).orElseGet(Collections::emptyList); - } -} diff --git a/example-graphql-tools/src/main/java/com/graphql/sample/boot/Query.java b/example-graphql-tools/src/main/java/com/graphql/sample/boot/Query.java deleted file mode 100644 index 74dfb584..00000000 --- a/example-graphql-tools/src/main/java/com/graphql/sample/boot/Query.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.graphql.sample.boot; - -import graphql.kickstart.tools.GraphQLQueryResolver; -import org.springframework.stereotype.Component; - -@Component -class Query implements GraphQLQueryResolver { - - Post getPost(Long id) { - return new Post(id); - } -} diff --git a/example-graphql-tools/src/main/resources/application.yml b/example-graphql-tools/src/main/resources/application.yml deleted file mode 100644 index 354a8374..00000000 --- a/example-graphql-tools/src/main/resources/application.yml +++ /dev/null @@ -1,8 +0,0 @@ -spring: - application: - name: graphql-java-tools-app -server: - port: 9001 -graphql: - servlet: - exception-handlers-enabled: true diff --git a/example-graphql-tools/src/main/resources/defaultQuery.graphql b/example-graphql-tools/src/main/resources/defaultQuery.graphql deleted file mode 100644 index 4bdc6960..00000000 --- a/example-graphql-tools/src/main/resources/defaultQuery.graphql +++ /dev/null @@ -1,3 +0,0 @@ -query { - echo(string: "echo") -} diff --git a/example-graphql-tools/src/main/resources/graphql-tools.graphqls b/example-graphql-tools/src/main/resources/graphql-tools.graphqls deleted file mode 100644 index 3b94dafa..00000000 --- a/example-graphql-tools/src/main/resources/graphql-tools.graphqls +++ /dev/null @@ -1,16 +0,0 @@ -type Query { - post(id: ID!): Post -} -type Mutation { - createPost(text:String):Post -} -type Post { - id: ID! - text: String - comments: [Comment!]! -} - -type Comment { - id: ID! - description: String! -} diff --git a/example-graphql-tools/src/test/java/com/graphql/sample/boot/GraphQLServletTest.kt b/example-graphql-tools/src/test/java/com/graphql/sample/boot/GraphQLServletTest.kt deleted file mode 100644 index e27976eb..00000000 --- a/example-graphql-tools/src/test/java/com/graphql/sample/boot/GraphQLServletTest.kt +++ /dev/null @@ -1,27 +0,0 @@ -package com.graphql.sample.boot - - -import com.graphql.spring.boot.test.GraphQLTest -import com.graphql.spring.boot.test.GraphQLTestTemplate -import org.assertj.core.api.Assertions.assertThat -import org.junit.jupiter.api.Test -import org.junit.jupiter.api.extension.ExtendWith -import org.springframework.beans.factory.annotation.Autowired -import org.springframework.http.HttpStatus -import org.springframework.test.context.junit.jupiter.SpringExtension - -@ExtendWith(SpringExtension::class) -@GraphQLTest -class GraphQLServletTest { - - @Autowired - private lateinit var graphQLTestTemplate: GraphQLTestTemplate - - @Test - fun `query over HTTP POST multipart with variables returns data requires multipartconfig`() { - val response = graphQLTestTemplate.postMultipart("query echo(\$string: String!)", """{"string":"echo"}""") - assertThat(response).isNotNull - assertThat(response.statusCode).isEqualTo(HttpStatus.OK) - } - -} diff --git a/example-graphql-tools/src/test/java/com/graphql/sample/boot/GraphQLToolsSampleApplicationTest.java b/example-graphql-tools/src/test/java/com/graphql/sample/boot/GraphQLToolsSampleApplicationTest.java deleted file mode 100644 index 7c3a2848..00000000 --- a/example-graphql-tools/src/test/java/com/graphql/sample/boot/GraphQLToolsSampleApplicationTest.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.graphql.sample.boot; - -import static graphql.Assert.assertNotNull; -import static org.assertj.core.api.Assertions.assertThat; - -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.node.ObjectNode; -import com.graphql.spring.boot.test.GraphQLResponse; -import com.graphql.spring.boot.test.GraphQLTest; -import com.graphql.spring.boot.test.GraphQLTestTemplate; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.test.context.junit.jupiter.SpringExtension; - -@ExtendWith(SpringExtension.class) -@GraphQLTest -class GraphQLToolsSampleApplicationTest { - - @Autowired private GraphQLTestTemplate graphQLTestTemplate; - - @Test - void get_comments() throws IOException { - GraphQLResponse response = - graphQLTestTemplate.postForResource("graphql/post-get-comments.graphql"); - assertNotNull(response); - assertThat(response.isOk()).isTrue(); - assertThat(response.get("$.data.post.id")).isEqualTo("1"); - } - - @Test - void get_comments_withFragments() throws IOException { - List fragments = new ArrayList<>(); - fragments.add("graphql/all-comment-fields-fragment.graphql"); - GraphQLResponse response = - graphQLTestTemplate.postForResource( - "graphql/post-get-comments-with-fragment.graphql", fragments); - assertNotNull(response); - assertThat((response.isOk())).isTrue(); - assertThat(response.get("$.data.post.id")).isEqualTo("1"); - } - - @Test - void create_post() throws IOException { - ObjectNode variables = new ObjectMapper().createObjectNode(); - variables.put("text", "lorem ipsum dolor sit amet"); - GraphQLResponse response = - graphQLTestTemplate.perform("graphql/create-post.graphql", variables); - assertThat(response).isNotNull(); - assertThat(response.get("$.data.createPost.id")).isNotNull(); - } -} diff --git a/example-graphql-tools/src/test/resources/graphql/all-comment-fields-fragment.graphql b/example-graphql-tools/src/test/resources/graphql/all-comment-fields-fragment.graphql deleted file mode 100644 index 202dcff1..00000000 --- a/example-graphql-tools/src/test/resources/graphql/all-comment-fields-fragment.graphql +++ /dev/null @@ -1,4 +0,0 @@ -fragment AllCommentFields on Comment { - id - description -} \ No newline at end of file diff --git a/example-graphql-tools/src/test/resources/graphql/create-post.graphql b/example-graphql-tools/src/test/resources/graphql/create-post.graphql deleted file mode 100644 index 26e57bb2..00000000 --- a/example-graphql-tools/src/test/resources/graphql/create-post.graphql +++ /dev/null @@ -1,5 +0,0 @@ -mutation CreatePost($text:String){ - createPost(text:$text){ - id - } -} diff --git a/example-graphql-tools/src/test/resources/graphql/post-get-comments-with-fragment.graphql b/example-graphql-tools/src/test/resources/graphql/post-get-comments-with-fragment.graphql deleted file mode 100644 index 90e18ca5..00000000 --- a/example-graphql-tools/src/test/resources/graphql/post-get-comments-with-fragment.graphql +++ /dev/null @@ -1,8 +0,0 @@ -query { - post(id: "1") { - id - comments { - ...AllCommentFields - } - } -} diff --git a/example-graphql-tools/src/test/resources/graphql/post-get-comments.graphql b/example-graphql-tools/src/test/resources/graphql/post-get-comments.graphql deleted file mode 100644 index e80703db..00000000 --- a/example-graphql-tools/src/test/resources/graphql/post-get-comments.graphql +++ /dev/null @@ -1,9 +0,0 @@ -query { - post(id: "1") { - id - comments { - id - description - } - } -} diff --git a/example-request-scoped-dataloader/.gitignore b/example-request-scoped-dataloader/.gitignore deleted file mode 100644 index c5a240cf..00000000 --- a/example-request-scoped-dataloader/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -target/ -!.mvn/wrapper/maven-wrapper.jar - -### IntelliJ IDEA ### -.idea -*.iws -*.iml -*.ipr -.DS_Store \ No newline at end of file diff --git a/example-request-scoped-dataloader/build.gradle b/example-request-scoped-dataloader/build.gradle deleted file mode 100644 index d6cda098..00000000 --- a/example-request-scoped-dataloader/build.gradle +++ /dev/null @@ -1,16 +0,0 @@ -apply plugin: "org.springframework.boot" - -dependencies { - implementation("org.springframework.boot:spring-boot-starter-web") - implementation(project(":graphql-spring-boot-starter")) - implementation(project(":graphiql-spring-boot-starter")) - - implementation "com.graphql-java-kickstart:graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER" - - testImplementation "org.springframework.boot:spring-boot-starter-test" - testImplementation(project(":graphql-spring-boot-starter-test")) -} - -jar.enabled = false -publish.enabled = false -publishToMavenLocal.enabled = false diff --git a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/Application.java b/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/Application.java deleted file mode 100644 index a049d748..00000000 --- a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/Application.java +++ /dev/null @@ -1,13 +0,0 @@ -package graphql.servlet.examples.dataloader.requestscope; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; - -@SpringBootApplication -public class Application extends SpringBootServletInitializer { - - public static void main(String[] args) { - SpringApplication.run(Application.class, args); - } -} diff --git a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomGraphQLContextBuilder.java b/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomGraphQLContextBuilder.java deleted file mode 100644 index 69d490f0..00000000 --- a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomGraphQLContextBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -package graphql.servlet.examples.dataloader.requestscope; - -import static java.util.concurrent.CompletableFuture.supplyAsync; - -import graphql.kickstart.execution.context.DefaultGraphQLContext; -import graphql.kickstart.execution.context.GraphQLContext; -import graphql.kickstart.servlet.context.DefaultGraphQLServletContext; -import graphql.kickstart.servlet.context.DefaultGraphQLWebSocketContext; -import graphql.kickstart.servlet.context.GraphQLServletContextBuilder; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import javax.websocket.Session; -import javax.websocket.server.HandshakeRequest; -import org.dataloader.DataLoader; -import org.dataloader.DataLoaderRegistry; -import org.springframework.stereotype.Component; - -@Component -public class CustomGraphQLContextBuilder implements GraphQLServletContextBuilder { - - private final CustomerRepository customerRepository; - - public CustomGraphQLContextBuilder(CustomerRepository customerRepository) { - this.customerRepository = customerRepository; - } - - @Override - public GraphQLContext build(HttpServletRequest req, HttpServletResponse response) { - return DefaultGraphQLServletContext.createServletContext(buildDataLoaderRegistry(), null) - .with(req) - .with(response) - .build(); - } - - @Override - public GraphQLContext build() { - return new DefaultGraphQLContext(buildDataLoaderRegistry(), null); - } - - @Override - public GraphQLContext build(Session session, HandshakeRequest request) { - return DefaultGraphQLWebSocketContext.createWebSocketContext(buildDataLoaderRegistry(), null) - .with(session) - .with(request) - .build(); - } - - private DataLoaderRegistry buildDataLoaderRegistry() { - DataLoaderRegistry dataLoaderRegistry = new DataLoaderRegistry(); - DataLoader customerLoader = - new DataLoader<>( - customerIds -> supplyAsync(() -> customerRepository.getUserNamesForIds(customerIds))); - dataLoaderRegistry.register("customerDataLoader", customerLoader); - return dataLoaderRegistry; - } -} diff --git a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/Customer.java b/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/Customer.java deleted file mode 100644 index b0314ffb..00000000 --- a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/Customer.java +++ /dev/null @@ -1,18 +0,0 @@ -package graphql.servlet.examples.dataloader.requestscope; - -public class Customer { - - private int customerId; - - public Customer(int customerId) { - this.customerId = customerId; - } - - public int getCustomerId() { - return customerId; - } - - public void setCustomerId(int customerId) { - this.customerId = customerId; - } -} diff --git a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomerRepository.java b/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomerRepository.java deleted file mode 100644 index 79754fc7..00000000 --- a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomerRepository.java +++ /dev/null @@ -1,31 +0,0 @@ -package graphql.servlet.examples.dataloader.requestscope; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.stream.Collectors; -import org.springframework.stereotype.Component; - -@Component -public class CustomerRepository { - - private final Map data; - - private CustomerRepository() { - data = new HashMap<>(); - data.put(101, "Customer Name 1"); - data.put(102, "Customer Name 2"); - data.put(103, "Customer Name 3"); - data.put(104, "Customer Name 4"); - data.put(105, "Customer Name 5"); - data.put(106, "Customer Name 6"); - } - - public List getUserNamesForIds(List customerIds) { - return customerIds.parallelStream().map(data::get).collect(Collectors.toList()); - } - - public void updateUsernameForId(Integer customerId, String newName) { - data.put(customerId, newName); - } -} diff --git a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomerResolver.java b/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomerResolver.java deleted file mode 100644 index 196a99fa..00000000 --- a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomerResolver.java +++ /dev/null @@ -1,22 +0,0 @@ -package graphql.servlet.examples.dataloader.requestscope; - -import graphql.kickstart.execution.context.GraphQLContext; -import graphql.kickstart.tools.GraphQLResolver; -import graphql.schema.DataFetchingEnvironment; -import java.util.concurrent.CompletableFuture; -import org.dataloader.DataLoader; -import org.dataloader.DataLoaderRegistry; -import org.springframework.stereotype.Component; - -@Component -public class CustomerResolver implements GraphQLResolver { - - public CompletableFuture getName(Customer customer, DataFetchingEnvironment dfe) { - DataLoaderRegistry registry = ((GraphQLContext) dfe.getContext()).getDataLoaderRegistry(); - DataLoader customerLoader = registry.getDataLoader("customerDataLoader"); - if (customerLoader != null) { - return customerLoader.load(customer.getCustomerId()); - } - throw new IllegalStateException("No customer data loader found"); - } -} diff --git a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/WalmartQueryResolver.java b/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/WalmartQueryResolver.java deleted file mode 100644 index 187ce007..00000000 --- a/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/WalmartQueryResolver.java +++ /dev/null @@ -1,26 +0,0 @@ -package graphql.servlet.examples.dataloader.requestscope; - -import graphql.kickstart.tools.GraphQLQueryResolver; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.stream.Collectors; -import org.springframework.stereotype.Component; - -@Component -public class WalmartQueryResolver implements GraphQLQueryResolver { - - private final Map> walmartData; - - public WalmartQueryResolver() { - walmartData = new HashMap<>(); - walmartData.put(4177, Arrays.asList(101, 102, 103, 104)); - } - - public List walmartCustomers(int storeNumber) { - return walmartData.get(storeNumber).parallelStream() - .map(Customer::new) - .collect(Collectors.toList()); - } -} diff --git a/example-request-scoped-dataloader/src/main/resources/customer.graphqls b/example-request-scoped-dataloader/src/main/resources/customer.graphqls deleted file mode 100644 index c2fc0a85..00000000 --- a/example-request-scoped-dataloader/src/main/resources/customer.graphqls +++ /dev/null @@ -1,8 +0,0 @@ -type Customer { - customerId: Int! - name: String! -} - -type Query { - walmartCustomers(storeNumber: Int): [Customer] -} \ No newline at end of file diff --git a/example-request-scoped-dataloader/src/test/java/graphql/servlet/examples/dataloader/requestscope/ApplicationTest.java b/example-request-scoped-dataloader/src/test/java/graphql/servlet/examples/dataloader/requestscope/ApplicationTest.java deleted file mode 100644 index 6af4caa3..00000000 --- a/example-request-scoped-dataloader/src/test/java/graphql/servlet/examples/dataloader/requestscope/ApplicationTest.java +++ /dev/null @@ -1,61 +0,0 @@ -package graphql.servlet.examples.dataloader.requestscope; - -import static org.assertj.core.api.Assertions.assertThat; -import static org.junit.jupiter.api.Assertions.assertNotNull; - -import com.fasterxml.jackson.databind.JsonNode; -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.test.web.client.TestRestTemplate; -import org.springframework.http.HttpEntity; -import org.springframework.http.HttpHeaders; -import org.springframework.http.ResponseEntity; -import org.springframework.test.context.junit.jupiter.SpringExtension; - -@ExtendWith(SpringExtension.class) -@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) -class ApplicationTest { - - @Autowired private TestRestTemplate restTemplate; - - @Autowired private CustomerRepository repository; - - @Test - void testSanity() { - String schema = this.restTemplate.getForObject("/graphql/schema.json", String.class); - assertNotNull(schema); - } - - @Test - void testRequestScope() { - - String requestGraphQL = - "query {\n" - + " walmartCustomers(storeNumber:4177){\n" - + " customerId\n" - + " name\n" - + " }\n" - + "}"; - HttpHeaders headers = new HttpHeaders(); - headers.add("content-type", "application/graphql"); - ResponseEntity response = - this.restTemplate.postForEntity( - "/graphql", new HttpEntity<>(requestGraphQL, headers), JsonNode.class); - - assertThat(response.getBody()) - .hasToString( - "{\"data\":{\"walmartCustomers\":[{\"customerId\":101,\"name\":\"Customer Name 1\"},{\"customerId\":102,\"name\":\"Customer Name 2\"},{\"customerId\":103,\"name\":\"Customer Name 3\"},{\"customerId\":104,\"name\":\"Customer Name 4\"}]}}"); - - repository.updateUsernameForId(101, "New Name 1"); - - response = - this.restTemplate.postForEntity( - "/graphql", new HttpEntity<>(requestGraphQL, headers), JsonNode.class); - - assertThat(response.getBody()) - .hasToString( - "{\"data\":{\"walmartCustomers\":[{\"customerId\":101,\"name\":\"New Name 1\"},{\"customerId\":102,\"name\":\"Customer Name 2\"},{\"customerId\":103,\"name\":\"Customer Name 3\"},{\"customerId\":104,\"name\":\"Customer Name 4\"}]}}"); - } -} diff --git a/example-spring-common/LICENSE.md b/example-spring-common/LICENSE.md deleted file mode 100644 index 8ab1ef6c..00000000 --- a/example-spring-common/LICENSE.md +++ /dev/null @@ -1,18 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Oembedler Inc. and Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and -associated documentation files (the "Software"), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, -sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT -NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES -OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/example-spring-common/build.gradle b/example-spring-common/build.gradle deleted file mode 100644 index 32a5917d..00000000 --- a/example-spring-common/build.gradle +++ /dev/null @@ -1,37 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -apply plugin: 'org.springframework.boot' - -dependencies { - implementation(project(":graphql-spring-boot-starter")) - implementation(project(":graphiql-spring-boot-starter")) - - implementation "com.embedler.moon.graphql:spring-graphql-common:2.1.0-2016-05-22T16-50-32" - implementation group: 'commons-fileupload', name: 'commons-fileupload', version: '1.4' - - implementation("org.springframework.boot:spring-boot-starter-web") - implementation("org.springframework.boot:spring-boot-starter-actuator") - - testImplementation("org.springframework.boot:spring-boot-starter-test") -} - -jar.enabled = false -publish.enabled = false -publishToMavenLocal.enabled = false diff --git a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/ApplicationBootConfiguration.java b/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/ApplicationBootConfiguration.java deleted file mode 100644 index 7e2f721a..00000000 --- a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/ApplicationBootConfiguration.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -package graphql.kickstart.spring.web.boot.sample; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; - -/** @author
    oEmbedler Inc. */ -@SpringBootApplication -public class ApplicationBootConfiguration { - - public static void main(String[] args) { - SpringApplication.run(ApplicationBootConfiguration.class, args); - } -} diff --git a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/SimpleListConnection.java b/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/SimpleListConnection.java deleted file mode 100644 index 6d09fae7..00000000 --- a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/SimpleListConnection.java +++ /dev/null @@ -1,111 +0,0 @@ -package graphql.kickstart.spring.web.boot.sample; - -import com.oembedler.moon.graphql.engine.relay.ConnectionObjectType; -import com.oembedler.moon.graphql.engine.relay.EdgeObjectType; -import com.oembedler.moon.graphql.engine.relay.PageInfoObjectType; -import graphql.schema.DataFetchingEnvironment; -import java.nio.charset.StandardCharsets; -import java.util.ArrayList; -import java.util.Base64; -import java.util.List; -import lombok.AccessLevel; -import lombok.RequiredArgsConstructor; - -/** @author oEmbedler Inc. */ -@RequiredArgsConstructor(access = AccessLevel.PROTECTED) -public abstract class SimpleListConnection { - - private static final String DUMMY_CURSOR_PREFIX = "simple-cursor"; - private final List data; - - public abstract > E createEdgeObject(); - - public abstract < - C extends ConnectionObjectType, ? extends PageInfoObjectType>> - C createConnectionObject(); - - private List> buildEdges() { - List> edges = new ArrayList<>(); - int ix = 0; - for (T object : data) { - EdgeObjectType edge = createEdgeObject(); - edge.setNode(object); - edge.setCursor(createCursor(ix++)); - edges.add(edge); - } - return edges; - } - - public , ? extends PageInfoObjectType>> - C get(DataFetchingEnvironment environment) { - List> edges = buildEdges(); - - int afterOffset = getOffsetFromCursor(environment.getArgument("after"), -1); - int begin = Math.max(afterOffset, -1) + 1; - int beforeOffset = getOffsetFromCursor(environment.getArgument("before"), edges.size()); - int end = Math.min(beforeOffset, edges.size()); - - edges = edges.subList(begin, end); - if (edges.isEmpty()) { - return emptyConnection(); - } - - Integer first = environment.getArgument("first"); - Integer last = environment.getArgument("last"); - - String firstPresliceCursor = edges.get(0).getCursor(); - String lastPresliceCursor = edges.get(edges.size() - 1).getCursor(); - - if (first != null) { - edges = edges.subList(0, first <= edges.size() ? first : edges.size()); - } - if (last != null) { - edges = edges.subList(edges.size() - last, edges.size()); - } - - if (edges.isEmpty()) { - return emptyConnection(); - } - - EdgeObjectType firstEdge = edges.get(0); - EdgeObjectType lastEdge = edges.get(edges.size() - 1); - - PageInfoObjectType pageInfo = new PageInfoObjectType(); - pageInfo.setStartCursor(firstEdge.getCursor()); - pageInfo.setEndCursor(lastEdge.getCursor()); - pageInfo.setHasPreviousPage(!firstEdge.getCursor().equals(firstPresliceCursor)); - pageInfo.setHasNextPage(!lastEdge.getCursor().equals(lastPresliceCursor)); - - ConnectionObjectType, PageInfoObjectType> connection = - createConnectionObject(); - connection.setEdges(edges); - connection.setPageInfo(pageInfo); - - //noinspection unchecked - return (C) connection; - } - - private < - E extends ConnectionObjectType, ? extends PageInfoObjectType>> - E emptyConnection() { - ConnectionObjectType, PageInfoObjectType> connection = - createConnectionObject(); - connection.setPageInfo(new PageInfoObjectType()); - //noinspection unchecked - return (E) connection; - } - - private int getOffsetFromCursor(String cursor, int defaultValue) { - if (cursor == null) { - return defaultValue; - } - String string = - new String(java.util.Base64.getDecoder().decode(cursor), StandardCharsets.UTF_8); - return Integer.parseInt(string.substring(DUMMY_CURSOR_PREFIX.length())); - } - - private String createCursor(int offset) { - byte[] lala = (DUMMY_CURSOR_PREFIX + offset).getBytes(StandardCharsets.UTF_8); - return Base64.getEncoder().encodeToString(lala); - } -} diff --git a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/TodoSimpleListConnection.java b/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/TodoSimpleListConnection.java deleted file mode 100644 index 04569065..00000000 --- a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/TodoSimpleListConnection.java +++ /dev/null @@ -1,25 +0,0 @@ -package graphql.kickstart.spring.web.boot.sample; - -import graphql.kickstart.spring.web.boot.sample.schema.objecttype.TodoObjectType; -import graphql.kickstart.spring.web.boot.sample.schema.objecttype.TodoObjectType.TodoConnectionObjectType; -import graphql.kickstart.spring.web.boot.sample.schema.objecttype.TodoObjectType.TodoEdgeObjectType; -import java.util.List; - -/** @author oEmbedler Inc. */ -@SuppressWarnings("unchecked") -public class TodoSimpleListConnection extends SimpleListConnection { - - public TodoSimpleListConnection(List data) { - super(data); - } - - @Override - public TodoEdgeObjectType createEdgeObject() { - return new TodoObjectType.TodoEdgeObjectType(); - } - - @Override - public TodoConnectionObjectType createConnectionObject() { - return new TodoObjectType.TodoConnectionObjectType(); - } -} diff --git a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/TodoSchema.java b/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/TodoSchema.java deleted file mode 100644 index 8c7e1367..00000000 --- a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/TodoSchema.java +++ /dev/null @@ -1,170 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -package graphql.kickstart.spring.web.boot.sample.schema; - -import com.oembedler.moon.graphql.engine.stereotype.GraphQLDescription; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLIn; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLMutation; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLOut; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLSchema; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLSchemaQuery; -import graphql.kickstart.servlet.context.GraphQLServletContext; -import graphql.kickstart.spring.web.boot.sample.TodoSimpleListConnection; -import graphql.kickstart.spring.web.boot.sample.schema.objecttype.RootObjectType; -import graphql.kickstart.spring.web.boot.sample.schema.objecttype.TodoObjectType; -import graphql.kickstart.spring.web.boot.sample.schema.objecttype.UserObjectType; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.stream.Collectors; -import javax.servlet.http.Part; - -@GraphQLSchema -public class TodoSchema { - - @GraphQLSchemaQuery private RootObjectType root; - - private UserObjectType theOnlyUser = new UserObjectType(); - private List todos = new ArrayList<>(); - - private TodoSimpleListConnection simpleConnectionTodo; - private int nextTodoId = 0; - - public TodoSchema() { - addTodo("Do Something"); - addTodo("Other todo"); - - simpleConnectionTodo = new TodoSimpleListConnection(todos); - } - - public String addTodo(String text) { - TodoObjectType newTodo = new TodoObjectType(); - newTodo.setId(Integer.toString(nextTodoId++)); - newTodo.setText(text); - todos.add(newTodo); - return newTodo.getId(newTodo); - } - - public void removeTodo(String id) { - todos.stream() - .filter(todo -> todo.getId(todo).equals(id)) - .findFirst() - .ifPresent(it -> todos.remove(it)); - } - - public void renameTodo(String id, String text) { - todos.stream() - .filter(todo -> todo.getId(todo).equals(id)) - .findFirst() - .ifPresent(it -> it.setText(text)); - } - - public List removeCompletedTodos() { - List toDelete = - todos.stream() - .filter(TodoObjectType::isComplete) - .map(todoObjectType -> todoObjectType.getId(todoObjectType)) - .collect(Collectors.toList()); - todos.removeIf(todo -> toDelete.contains(todo.getId(todo))); - return toDelete; - } - - public List markAllTodos(boolean complete) { - List changed = new ArrayList<>(); - todos.stream() - .filter(todo -> complete != todo.isComplete()) - .forEach( - todo -> { - changed.add(todo.getId(todo)); - todo.setComplete(complete); - }); - - return changed; - } - - public void changeTodoStatus(String id, boolean complete) { - TodoObjectType todo = getTodo(id); - todo.setComplete(complete); - } - - public TodoObjectType getTodo(String id) { - return todos.stream() - .filter(todo -> todo.getId(todo).equals(id)) - .findFirst() - .orElseThrow(() -> new IllegalStateException("No todo found with id " + id)); - } - - public List getTodos(List ids) { - return todos.stream() - .filter(todo -> ids.contains(todo.getId(todo))) - .collect(Collectors.toList()); - } - - public UserObjectType getTheOnlyUser() { - return theOnlyUser; - } - - public TodoSimpleListConnection getSimpleConnectionTodo() { - return simpleConnectionTodo; - } - - @GraphQLMutation - @GraphQLDescription("Mutation to add new todo item") - public @GraphQLOut("todoEdge") TodoObjectType.TodoEdgeObjectType addTodoMutation( - @GraphQLIn("addTodoInput") AddTodoIn addTodoInput) { - - TodoObjectType.TodoEdgeObjectType todoEdgeObjectType = new TodoObjectType.TodoEdgeObjectType(); - todoEdgeObjectType.setCursor("test-cursor"); - todoEdgeObjectType.setNode(new TodoObjectType()); - todoEdgeObjectType.getNode().setId("id-12345"); - todoEdgeObjectType.getNode().setText("simple text"); - todoEdgeObjectType.getNode().setComplete(false); - - return todoEdgeObjectType; - } - - // --- mutations - - @GraphQLMutation - public @GraphQLOut("filename") String uploadFile(GraphQLServletContext graphQLContext) { - return graphQLContext.getParts().values().stream() - .flatMap(Collection::stream) - .map(Part::getName) - .collect(Collectors.joining(", ")); - } - - @GraphQLMutation - public String updateTodoMutation(@GraphQLIn("updateTodoInput") String newText) { - return "Simple output string"; - } - - public static class AddTodoIn { - - private String text; - - public String getText() { - return text; - } - - public void setText(String text) { - this.text = text; - } - } -} diff --git a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/BaseObjectType.java b/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/BaseObjectType.java deleted file mode 100644 index cf924d02..00000000 --- a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/BaseObjectType.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -package graphql.kickstart.spring.web.boot.sample.schema.objecttype; - -import com.oembedler.moon.graphql.engine.relay.RelayNode; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLIgnore; -import graphql.relay.Relay; - -/** @author oEmbedler Inc. */ -public class BaseObjectType implements RelayNode { - - @GraphQLIgnore private String id; - - public String getId(RelayNode relayNode) { - BaseObjectType baseObjectType = (BaseObjectType) relayNode; - return new Relay().toGlobalId(relayNode.getClass().getSimpleName(), baseObjectType.id); - } - - public void setId(String id) { - this.id = id; - } -} diff --git a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/RootObjectType.java b/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/RootObjectType.java deleted file mode 100644 index 0b210c1f..00000000 --- a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/RootObjectType.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -package graphql.kickstart.spring.web.boot.sample.schema.objecttype; - -import com.oembedler.moon.graphql.engine.relay.RelayNode; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLDescription; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLField; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLID; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLIgnore; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLIn; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLNonNull; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLObject; -import graphql.kickstart.spring.web.boot.sample.schema.TodoSchema; -import org.springframework.beans.factory.annotation.Autowired; - -/** @author oEmbedler Inc. */ -@GraphQLObject("Root") -public class RootObjectType { - - @GraphQLNonNull - @GraphQLField("version") - @GraphQLDescription("Root query version number") - public static final String VERSION = "0.9.0.2"; - - @Autowired @GraphQLIgnore private TodoSchema todoSchema; - - @GraphQLField - public UserObjectType viewer() { - return todoSchema.getTheOnlyUser(); - } - - @GraphQLField - public RelayNode node(@GraphQLID @GraphQLNonNull @GraphQLIn("id") final String id) { - return new UserObjectType(); - } -} diff --git a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/TodoObjectType.java b/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/TodoObjectType.java deleted file mode 100644 index b89c33ff..00000000 --- a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/TodoObjectType.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -package graphql.kickstart.spring.web.boot.sample.schema.objecttype; - -import com.oembedler.moon.graphql.engine.relay.ConnectionObjectType; -import com.oembedler.moon.graphql.engine.relay.EdgeObjectType; -import com.oembedler.moon.graphql.engine.relay.PageInfoObjectType; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLObject; - -/** @author oEmbedler Inc. */ -@GraphQLObject("Todo") -public class TodoObjectType extends BaseObjectType { - - private String text; - private boolean complete; - - public String getText() { - return text; - } - - public void setText(String text) { - this.text = text; - } - - public boolean isComplete() { - return complete; - } - - public void setComplete(boolean complete) { - this.complete = complete; - } - - @GraphQLObject - public static class TodoConnectionObjectType - extends ConnectionObjectType {} - - @GraphQLObject - public static class TodoEdgeObjectType extends EdgeObjectType {} -} diff --git a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/UserObjectType.java b/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/UserObjectType.java deleted file mode 100644 index 3cc4ffca..00000000 --- a/example-spring-common/src/main/java/graphql/kickstart/spring/web/boot/sample/schema/objecttype/UserObjectType.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -package graphql.kickstart.spring.web.boot.sample.schema.objecttype; - -import com.oembedler.moon.graphql.engine.stereotype.GraphQLField; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLIgnore; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLIn; -import com.oembedler.moon.graphql.engine.stereotype.GraphQLObject; -import graphql.kickstart.spring.web.boot.sample.schema.TodoSchema; -import graphql.schema.DataFetchingEnvironment; -import org.springframework.beans.factory.annotation.Autowired; - -/** @author oEmbedler Inc. */ -@GraphQLObject("User") -public class UserObjectType extends BaseObjectType { - - @Autowired @GraphQLIgnore private TodoSchema todoSchema; - - private String name = "someId"; - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - @GraphQLField - public TodoObjectType.TodoConnectionObjectType todos( - @GraphQLIn("before") String before, - @GraphQLIn("after") String after, - @GraphQLIn(value = "first", defaultSpel = "1") Integer first, - @GraphQLIn(value = "last", defaultProvider = "1") Integer last, - DataFetchingEnvironment environment) { - return todoSchema.getSimpleConnectionTodo().get(environment); - } -} diff --git a/example-spring-common/src/main/resources/application.yml b/example-spring-common/src/main/resources/application.yml deleted file mode 100644 index b7e01142..00000000 --- a/example-spring-common/src/main/resources/application.yml +++ /dev/null @@ -1,15 +0,0 @@ -spring: - application: - name: graphql-todo-app -server: - port: 9000 - -graphql: - spring-graphql-common: - clientMutationIdName: clientMutationId - injectClientMutationId: true - allowEmptyClientMutationId: false - mutationInputArgumentName: input - outputObjectNamePrefix: Payload - inputObjectNamePrefix: Input - schemaMutationObjectName: Mutation diff --git a/example-webflux/LICENSE.md b/example-webflux/LICENSE.md deleted file mode 100644 index 8ab1ef6c..00000000 --- a/example-webflux/LICENSE.md +++ /dev/null @@ -1,18 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Oembedler Inc. and Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and -associated documentation files (the "Software"), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, -sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT -NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES -OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/example-webflux/build.gradle b/example-webflux/build.gradle deleted file mode 100644 index c182df41..00000000 --- a/example-webflux/build.gradle +++ /dev/null @@ -1,34 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -apply plugin: "org.springframework.boot" - -dependencies { - implementation(project(":graphql-kickstart-spring-boot-starter-webflux")) - implementation(project(":graphql-kickstart-spring-boot-starter-tools")) - implementation(project(":voyager-spring-boot-starter")) - implementation(project(":playground-spring-boot-starter")) - - implementation("org.springframework.boot:spring-boot-starter-webflux:$LIB_SPRING_BOOT_VER") - implementation("org.springframework.boot:spring-boot-starter-actuator:$LIB_SPRING_BOOT_VER") -} - -jar.enabled = false -publish.enabled = false -publishToMavenLocal.enabled = false diff --git a/example-webflux/src/main/java/graphql/kickstart/spring/web/boot/sample/ApplicationWebfluxConfiguration.java b/example-webflux/src/main/java/graphql/kickstart/spring/web/boot/sample/ApplicationWebfluxConfiguration.java deleted file mode 100644 index 31da7c8e..00000000 --- a/example-webflux/src/main/java/graphql/kickstart/spring/web/boot/sample/ApplicationWebfluxConfiguration.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -package graphql.kickstart.spring.web.boot.sample; - -import graphql.Scalars; -import graphql.schema.DataFetcher; -import graphql.schema.FieldCoordinates; -import graphql.schema.GraphQLCodeRegistry; -import graphql.schema.GraphQLObjectType; -import graphql.schema.GraphQLSchema; -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.context.annotation.Bean; -import org.springframework.web.reactive.config.EnableWebFlux; - -/** @author Max Günther */ -@SpringBootApplication -@EnableWebFlux -public class ApplicationWebfluxConfiguration { - - public static void main(String[] args) { - SpringApplication.run(ApplicationWebfluxConfiguration.class, args); - } - - @Bean - GraphQLSchema schema() { - DataFetcher test = env -> "response"; - return GraphQLSchema.newSchema() - .query( - GraphQLObjectType.newObject() - .name("query") - .field(field -> field.name("test").type(Scalars.GraphQLString)) - .build()) - .codeRegistry( - GraphQLCodeRegistry.newCodeRegistry() - .dataFetcher(FieldCoordinates.coordinates("query", "test"), test) - .build()) - .build(); - } -} diff --git a/example-webflux/src/main/resources/application.yml b/example-webflux/src/main/resources/application.yml deleted file mode 100644 index f0f875b6..00000000 --- a/example-webflux/src/main/resources/application.yml +++ /dev/null @@ -1,14 +0,0 @@ -spring: - application: - name: graphql-todo-app -server: - port: 9000 -management: - endpoints: - web: - exposure: - include: health,info,metrics -voyager: - enabled: true - cdn: - enabled: false diff --git a/example/LICENSE.md b/example/LICENSE.md deleted file mode 100644 index 8ab1ef6c..00000000 --- a/example/LICENSE.md +++ /dev/null @@ -1,18 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Oembedler Inc. and Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and -associated documentation files (the "Software"), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, -sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT -NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES -OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/example/build.gradle b/example/build.gradle deleted file mode 100644 index b864f538..00000000 --- a/example/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -apply plugin: "org.springframework.boot" - -dependencies { - implementation(project(":altair-spring-boot-starter")) - implementation(project(":graphql-spring-boot-starter")) - implementation(project(":graphiql-spring-boot-starter")) - implementation(project(":voyager-spring-boot-starter")) - implementation(project(":playground-spring-boot-starter")) - - implementation("org.springframework.boot:spring-boot-starter-web") - implementation("org.springframework.boot:spring-boot-starter-actuator") -} - -jar.enabled = false -publish.enabled = false -publishToMavenLocal.enabled = false diff --git a/example/src/main/java/graphql/kickstart/spring/web/boot/sample/ApplicationBootConfiguration.java b/example/src/main/java/graphql/kickstart/spring/web/boot/sample/ApplicationBootConfiguration.java deleted file mode 100644 index 208693c6..00000000 --- a/example/src/main/java/graphql/kickstart/spring/web/boot/sample/ApplicationBootConfiguration.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -package graphql.kickstart.spring.web.boot.sample; - -import graphql.Scalars; -import graphql.schema.DataFetcher; -import graphql.schema.FieldCoordinates; -import graphql.schema.GraphQLCodeRegistry; -import graphql.schema.GraphQLObjectType; -import graphql.schema.GraphQLSchema; -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.context.annotation.Bean; - -@SpringBootApplication -public class ApplicationBootConfiguration { - - public static void main(String[] args) { - SpringApplication.run(ApplicationBootConfiguration.class, args); - } - - @Bean - GraphQLSchema schema() { - DataFetcher test = env -> "response"; - return GraphQLSchema.newSchema() - .query( - GraphQLObjectType.newObject() - .name("query") - .field(field -> field.name("test").type(Scalars.GraphQLString)) - .build()) - .codeRegistry( - GraphQLCodeRegistry.newCodeRegistry() - .dataFetcher(FieldCoordinates.coordinates("query", "test"), test) - .build()) - .build(); - } -} diff --git a/example/src/main/resources/application.yml b/example/src/main/resources/application.yml deleted file mode 100644 index 1bb92046..00000000 --- a/example/src/main/resources/application.yml +++ /dev/null @@ -1,43 +0,0 @@ -spring: - application: - name: graphql-todo-app - servlet: - multipart: - enabled: true - location: /tmp -server: - port: 9000 -management: - endpoints: - web: - exposure: - include: health,info,metrics -graphql: - servlet: - actuator-metrics: true - playground: - cdn: - version: latest -altair: - enabled: true - cdn: - enabled: false -graphiql: - enabled: true - cdn: - enabled: false - version: 0.17.5 - headers: - Test: TestHeader - props: - variables: - headerEditorEnabled: true - headers: '{ "Authorization": "SomeValue" }' -voyager: - enabled: true - cdn: - enabled: false -graphql.playground: - enabled: true - cdn: - enabled: false diff --git a/gradle.properties b/gradle.properties index f4911cac..5c61e6b1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -version=11.1.0-SNAPSHOT +version=12.0.0-SNAPSHOT ### Project Metadata group=group=com.graphql-java-kickstart PROJECT_GROUP=com.graphql-java-kickstart @@ -25,8 +25,6 @@ PROJECT_DESC=GraphQL Spring Framework Boot PROJECT_GIT_REPO_URL=https://github.com/graphql-java-kickstart/graphql-spring-boot PROJECT_LICENSE=MIT PROJECT_LICENSE_URL=https://github.com/graphql-java-kickstart/spring-boot-graphql/blob/master/LICENSE.md -PROJECT_DEV_ID=apottere -PROJECT_DEV_NAME=Andrew Potter VCS=Git ### SOURCE_COMPATIBILITY=1.8 diff --git a/graphiql-spring-boot-autoconfigure/LICENSE.md b/graphiql-spring-boot-autoconfigure/LICENSE.md deleted file mode 100644 index 9deca2c8..00000000 --- a/graphiql-spring-boot-autoconfigure/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Oembedler Inc. and Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/graphiql-spring-boot-autoconfigure/build.gradle b/graphiql-spring-boot-autoconfigure/build.gradle deleted file mode 100644 index e8aa6892..00000000 --- a/graphiql-spring-boot-autoconfigure/build.gradle +++ /dev/null @@ -1,35 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -dependencies{ - implementation(project(':graphql-kickstart-starter-utils')) - annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" - - implementation "org.springframework.boot:spring-boot-autoconfigure" - implementation "org.apache.commons:commons-text:$LIB_APACHE_COMMONS_TEXT" - compileOnly "org.springframework.boot:spring-boot-starter-web" - compileOnly "org.springframework.boot:spring-boot-starter-security" - compileOnly "io.projectreactor:reactor-core" - - testImplementation "org.springframework.boot:spring-boot-starter-web" - testImplementation "org.springframework.boot:spring-boot-starter-test" - - testRuntimeOnly "org.springframework.boot:spring-boot-starter-webflux" -} - -compileJava.dependsOn(processResources) diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/graphiql-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json deleted file mode 100644 index 19d7fed2..00000000 --- a/graphiql-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "groups": [ - { - "name": "graphiql" - } - ], - "properties": [ - { - "name": "graphiql.enabled", - "defaultValue": true, - "type": "java.lang.Boolean" - }, - { - "name": "graphiql.mapping", - "defaultValue": "/graphiql", - "type": "java.lang.String" - }, - { - "name": "graphiql.endpoint.graphql", - "defaultValue": "/graphql", - "type": "java.lang.String" - }, - { - "name": "graphiql.endpoint.subscriptions", - "defaultValue": "/subscriptions", - "type": "java.lang.String" - }, - { - "name": "graphiql.subscriptions.timeout", - "defaultValue": 30, - "type": "java.lang.String" - }, - { - "name": "graphiql.subscriptions.reconnect", - "defaultValue": false, - "type": "java.lang.Boolean" - }, - { - "name": "graphiql.static.basePath", - "defaultValue": "/", - "type": "java.lang.String" - }, - { - "name": "graphiql.pageTitle", - "defaultValue": "GraphiQL", - "type": "java.lang.String" - }, - { - "name": "graphiql.cdn.enabled", - "defaultValue": false, - "type": "java.lang.Boolean" - }, - { - "name": "graphiql.cdn.version", - "defaultValue": "0.11.11", - "type": "java.lang.String" - }, - { - "name": "graphiql.props.resources.query", - "defaultValue": null, - "type": "java.lang.String" - }, - { - "name": "graphiql.props.resources.defaultQuery", - "defaultValue": null, - "type": "java.lang.String" - }, - { - "name": "graphiql.props.resources.variables", - "defaultValue": null, - "type": "java.lang.String" - }, - { - "name": "graphiql.props.variables.editorTheme", - "defaultValue": null, - "type": "java.lang.String" - }, - { - "name": "graphiql.headers.Authorization", - "defaultValue": null, - "type": "java.lang.String" - } - ] -} diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories b/graphiql-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories deleted file mode 100644 index e13e3bcb..00000000 --- a/graphiql-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1 +0,0 @@ -org.springframework.boot.autoconfigure.EnableAutoConfiguration=graphql.kickstart.graphiql.boot.GraphiQLAutoConfiguration diff --git a/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/ReactiveGraphiQLControllerTest.java b/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/ReactiveGraphiQLControllerTest.java deleted file mode 100644 index 5632a910..00000000 --- a/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/ReactiveGraphiQLControllerTest.java +++ /dev/null @@ -1,36 +0,0 @@ -package graphql.kickstart.graphiql.boot; - -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.SpringBootConfiguration; -import org.springframework.boot.test.autoconfigure.web.reactive.WebFluxTest; -import org.springframework.context.annotation.Import; -import org.springframework.http.MediaType; -import org.springframework.test.context.TestPropertySource; -import org.springframework.test.context.junit.jupiter.SpringExtension; -import org.springframework.test.web.reactive.server.WebTestClient; - -@ExtendWith(SpringExtension.class) -@WebFluxTest -class ReactiveGraphiQLControllerTest { - - @Autowired private WebTestClient webTestClient; - - @Test - void shouldBeAbleToAccessGraphiQL() { - webTestClient - .get() - .uri("/graphiql") - .exchange() - .expectStatus() - .is2xxSuccessful() - .expectHeader() - .contentType(MediaType.TEXT_HTML); - } - - @SpringBootConfiguration - @TestPropertySource(properties = "graphiql.enabled=true") - @Import(GraphiQLAutoConfiguration.class) - public static class ReactiveTestApplication {} -} diff --git a/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/ServletGraphiQLControllerTest.java b/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/ServletGraphiQLControllerTest.java deleted file mode 100644 index 64d6b4f7..00000000 --- a/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/ServletGraphiQLControllerTest.java +++ /dev/null @@ -1,35 +0,0 @@ -package graphql.kickstart.graphiql.boot; - -import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; -import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content; -import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; - -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.SpringBootConfiguration; -import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest; -import org.springframework.context.annotation.Import; -import org.springframework.test.context.TestPropertySource; -import org.springframework.test.context.junit.jupiter.SpringExtension; -import org.springframework.test.web.servlet.MockMvc; - -@ExtendWith(SpringExtension.class) -@WebMvcTest -class ServletGraphiQLControllerTest { - - @Autowired private MockMvc mockMvc; - - @Test - void shouldBeAbleToAccessGraphiQL() throws Exception { - mockMvc - .perform(get("/graphiql")) - .andExpect(status().is2xxSuccessful()) - .andExpect(content().contentType("text/html; charset=UTF-8")); - } - - @SpringBootConfiguration - @TestPropertySource(properties = "graphiql.enabled=true") - @Import(GraphiQLAutoConfiguration.class) - public static class ServletTestApplication {} -} diff --git a/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/test/AbstractAutoConfigurationTest.java b/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/test/AbstractAutoConfigurationTest.java deleted file mode 100644 index c944649c..00000000 --- a/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/test/AbstractAutoConfigurationTest.java +++ /dev/null @@ -1,59 +0,0 @@ -package graphql.kickstart.graphiql.boot.test; - -import org.junit.jupiter.api.AfterEach; -import org.springframework.boot.test.util.TestPropertyValues; -import org.springframework.context.annotation.AnnotationConfigApplicationContext; -import org.springframework.context.annotation.AnnotationConfigRegistry; -import org.springframework.context.support.AbstractApplicationContext; - -/** @author Andrew Potter */ -public abstract class AbstractAutoConfigurationTest { - - private final Class contextClass; - private final Class autoConfiguration; - - private AbstractApplicationContext context; - - protected AbstractAutoConfigurationTest(Class autoConfiguration) { - this(AnnotationConfigApplicationContext.class, autoConfiguration); - } - - protected AbstractAutoConfigurationTest( - Class contextClass, Class autoConfiguration) { - assert AnnotationConfigRegistry.class.isAssignableFrom(contextClass); - this.contextClass = contextClass; - this.autoConfiguration = autoConfiguration; - } - - @AfterEach - public void tearDown() { - if (this.context != null) { - this.context.close(); - this.context = null; - } - } - - protected void load(Class config, String... environment) { - try { - this.context = contextClass.newInstance(); - } catch (InstantiationException | IllegalAccessException e) { - throw new RuntimeException("Failed to instantiate testing context", e); - } - - if (environment != null && environment.length > 0) { - TestPropertyValues.of(environment).applyTo(context); - } - - getRegistry().register(config); - getRegistry().register(autoConfiguration); - getContext().refresh(); - } - - public AnnotationConfigRegistry getRegistry() { - return (AnnotationConfigRegistry) context; - } - - public AbstractApplicationContext getContext() { - return context; - } -} diff --git a/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/test/GraphiQLControllerTest.java b/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/test/GraphiQLControllerTest.java deleted file mode 100644 index 6e187d27..00000000 --- a/graphiql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/graphiql/boot/test/GraphiQLControllerTest.java +++ /dev/null @@ -1,59 +0,0 @@ -package graphql.kickstart.graphiql.boot.test; - -import static org.assertj.core.api.Assertions.assertThat; -import static org.assertj.core.api.Assertions.assertThatExceptionOfType; - -import graphql.kickstart.graphiql.boot.GraphiQLAutoConfiguration; -import graphql.kickstart.graphiql.boot.GraphiQLController; -import org.junit.jupiter.api.Test; -import org.springframework.beans.factory.NoSuchBeanDefinitionException; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.context.annotation.PropertySource; -import org.springframework.context.support.AbstractApplicationContext; -import org.springframework.context.support.PropertySourcesPlaceholderConfigurer; -import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; - -/** @author Andrew Potter */ -class GraphiQLControllerTest extends AbstractAutoConfigurationTest { - - public GraphiQLControllerTest() { - super(AnnotationConfigWebApplicationContext.class, GraphiQLAutoConfiguration.class); - } - - @Test - void graphiqlLoads() { - load(EnabledConfiguration.class); - - assertThat(this.getContext().getBean(GraphiQLController.class)).isNotNull(); - } - - @Test - void graphiqlDoesNotLoad() { - load(DisabledConfiguration.class); - - AbstractApplicationContext context = getContext(); - assertThatExceptionOfType(NoSuchBeanDefinitionException.class) - .isThrownBy(() -> context.getBean(GraphiQLController.class)); - } - - @Configuration - @PropertySource("classpath:enabled-config.properties") - static class EnabledConfiguration { - - @Bean - public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { - return new PropertySourcesPlaceholderConfigurer(); - } - } - - @Configuration - @PropertySource("classpath:disabled-config.properties") - static class DisabledConfiguration { - - @Bean - public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { - return new PropertySourcesPlaceholderConfigurer(); - } - } -} diff --git a/graphiql-spring-boot-autoconfigure/src/test/resources/disabled-config.properties b/graphiql-spring-boot-autoconfigure/src/test/resources/disabled-config.properties deleted file mode 100644 index 9d78a78c..00000000 --- a/graphiql-spring-boot-autoconfigure/src/test/resources/disabled-config.properties +++ /dev/null @@ -1 +0,0 @@ -graphiql.enabled=false \ No newline at end of file diff --git a/graphiql-spring-boot-autoconfigure/src/test/resources/enabled-config.properties b/graphiql-spring-boot-autoconfigure/src/test/resources/enabled-config.properties deleted file mode 100644 index 45a86ec9..00000000 --- a/graphiql-spring-boot-autoconfigure/src/test/resources/enabled-config.properties +++ /dev/null @@ -1 +0,0 @@ -graphiql.enabled=true diff --git a/graphiql-spring-boot-starter/LICENSE.md b/graphiql-spring-boot-starter/LICENSE.md deleted file mode 100644 index 9deca2c8..00000000 --- a/graphiql-spring-boot-starter/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Oembedler Inc. and Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/graphiql-spring-boot-starter/build.gradle b/graphiql-spring-boot-starter/build.gradle deleted file mode 100644 index 125302b5..00000000 --- a/graphiql-spring-boot-starter/build.gradle +++ /dev/null @@ -1,21 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -dependencies { - implementation(project(':graphiql-spring-boot-autoconfigure')) -} \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/build.gradle b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/build.gradle deleted file mode 100644 index f88596e7..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/build.gradle +++ /dev/null @@ -1,18 +0,0 @@ -dependencies { - api(project(":graphql-spring-boot-starter")) { - exclude module: "graphql-kickstart-spring-boot-starter-tools-autoconfigure" - exclude module: "graphql-java-tools" - } - api "io.github.graphql-java:graphql-java-annotations:$LIB_GRAPHQL_ANNOTATIONS_VER" - implementation "org.reflections:reflections:$LIB_REFLECTIONS_VER" - implementation "org.springframework.boot:spring-boot-autoconfigure" - implementation "org.springframework.boot:spring-boot-starter-validation" - annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" - - testImplementation "org.springframework.boot:spring-boot-starter-test" - testImplementation(project(":graphql-spring-boot-starter-test")) { - exclude module: "graphql-kickstart-spring-boot-starter-tools-autoconfigure" - exclude module: "graphql-java-tools" - } - testImplementation "io.reactivex.rxjava2:rxjava" -} \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/resources/META-INF/spring.factories b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 96336f22..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,2 +0,0 @@ -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -graphql.kickstart.graphql.annotations.GraphQLAnnotationsAutoConfiguration diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/custom/type/function/Foo.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/custom/type/function/Foo.java deleted file mode 100644 index aa1ad29c..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/custom/type/function/Foo.java +++ /dev/null @@ -1,3 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.custom.type.function; - -public class Foo {} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/mutation/FirstMutationResolver.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/mutation/FirstMutationResolver.java deleted file mode 100644 index 660855da..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/mutation/FirstMutationResolver.java +++ /dev/null @@ -1,6 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.error.multiple.mutation; - -import graphql.kickstart.graphql.annotations.GraphQLMutationResolver; - -@GraphQLMutationResolver -public class FirstMutationResolver {} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/mutation/SecondMutationResolver.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/mutation/SecondMutationResolver.java deleted file mode 100644 index 4d28e83f..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/mutation/SecondMutationResolver.java +++ /dev/null @@ -1,6 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.error.multiple.mutation; - -import graphql.kickstart.graphql.annotations.GraphQLMutationResolver; - -@GraphQLMutationResolver -public class SecondMutationResolver {} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/mutation/TestQuery.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/mutation/TestQuery.java deleted file mode 100644 index a1d96e34..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/mutation/TestQuery.java +++ /dev/null @@ -1,6 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.error.multiple.mutation; - -import graphql.kickstart.graphql.annotations.GraphQLQueryResolver; - -@GraphQLQueryResolver -public class TestQuery {} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/query/FirstQueryResolver.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/query/FirstQueryResolver.java deleted file mode 100644 index 5baecfe8..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/query/FirstQueryResolver.java +++ /dev/null @@ -1,6 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.error.multiple.query; - -import graphql.kickstart.graphql.annotations.GraphQLQueryResolver; - -@GraphQLQueryResolver -public class FirstQueryResolver {} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/query/SecondQueryResolver.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/query/SecondQueryResolver.java deleted file mode 100644 index 803fc543..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/query/SecondQueryResolver.java +++ /dev/null @@ -1,6 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.error.multiple.query; - -import graphql.kickstart.graphql.annotations.GraphQLQueryResolver; - -@GraphQLQueryResolver -public class SecondQueryResolver {} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/subscription/FirstSubscriptionResolver.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/subscription/FirstSubscriptionResolver.java deleted file mode 100644 index a72d6934..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/subscription/FirstSubscriptionResolver.java +++ /dev/null @@ -1,6 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.error.multiple.subscription; - -import graphql.kickstart.graphql.annotations.GraphQLSubscriptionResolver; - -@GraphQLSubscriptionResolver -public class FirstSubscriptionResolver {} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/subscription/SecondSubscriptionResolver.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/subscription/SecondSubscriptionResolver.java deleted file mode 100644 index 2c8431c5..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/subscription/SecondSubscriptionResolver.java +++ /dev/null @@ -1,6 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.error.multiple.subscription; - -import graphql.kickstart.graphql.annotations.GraphQLSubscriptionResolver; - -@GraphQLSubscriptionResolver -public class SecondSubscriptionResolver {} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/subscription/TestQuery.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/subscription/TestQuery.java deleted file mode 100644 index ef9c74ed..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/error/multiple/subscription/TestQuery.java +++ /dev/null @@ -1,6 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.error.multiple.subscription; - -import graphql.kickstart.graphql.annotations.GraphQLQueryResolver; - -@GraphQLQueryResolver -public class TestQuery {} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/extend/type/TestQuery.java b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/extend/type/TestQuery.java deleted file mode 100644 index 21aa187a..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/java/graphql/kickstart/graphql/annotations/test/extend/type/TestQuery.java +++ /dev/null @@ -1,14 +0,0 @@ -package graphql.kickstart.graphql.annotations.test.extend.type; - -import graphql.annotations.annotationTypes.GraphQLField; -import graphql.kickstart.graphql.annotations.GraphQLQueryResolver; -import graphql.kickstart.graphql.annotations.test.extend.type.model.BaseType; - -@GraphQLQueryResolver -public class TestQuery { - - @GraphQLField - public static BaseType someValue() { - return new BaseType("Test value"); - } -} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-annotation-processor-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-annotation-processor-test.yaml deleted file mode 100644 index 9c49b8da..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-annotation-processor-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.custom.annotation.processor \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-relay-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-relay-test.yaml deleted file mode 100644 index 9f7e00c7..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-relay-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.custom.relay \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-scalar-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-scalar-test.yaml deleted file mode 100644 index b250b130..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-scalar-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.scalar \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-type-function-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-type-function-test.yaml deleted file mode 100644 index 276443ca..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-custom-type-function-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.custom.type.function \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-directive-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-directive-test.yaml deleted file mode 100644 index 86dbe1e7..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-directive-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.directive \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-extend-type-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-extend-type-test.yaml deleted file mode 100644 index be9c0ff3..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-extend-type-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.extend \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-interface-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-interface-test.yaml deleted file mode 100644 index 925862dc..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-interface-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.interfaces \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-mutation-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-mutation-test.yaml deleted file mode 100644 index 065a6014..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-mutation-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.mutation \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-prettify-default-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-prettify-default-test.yaml deleted file mode 100644 index 257bfd4d..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-prettify-default-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.prettify \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-prettify-disabled-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-prettify-disabled-test.yaml deleted file mode 100644 index c30ab7fc..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-prettify-disabled-test.yaml +++ /dev/null @@ -1,2 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.prettify -graphql.annotations.always-prettify: false \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-prettify-enabled-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-prettify-enabled-test.yaml deleted file mode 100644 index b51f42be..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-prettify-enabled-test.yaml +++ /dev/null @@ -1,2 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.prettify -graphql.annotations.always-prettify: true \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-query-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-query-test.yaml deleted file mode 100644 index f2f3abd7..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-query-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.query \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-subscription-test.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-subscription-test.yaml deleted file mode 100644 index 0859d00b..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-subscription-test.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.subscription \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-missing-query-resolver-exception.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-missing-query-resolver-exception.yaml deleted file mode 100644 index 3df57e21..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-missing-query-resolver-exception.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.error.missing.query \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-multiple-mutation-resolvers-exception.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-multiple-mutation-resolvers-exception.yaml deleted file mode 100644 index db26c3ce..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-multiple-mutation-resolvers-exception.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.error.multiple.mutation \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-multiple-query-resolvers-exception.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-multiple-query-resolvers-exception.yaml deleted file mode 100644 index 7c01731c..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-multiple-query-resolvers-exception.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.error.multiple.query \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-multiple-subscription-resolvers-exception.yaml b/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-multiple-subscription-resolvers-exception.yaml deleted file mode 100644 index 5d9710da..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/test/resources/application-test-multiple-subscription-resolvers-exception.yaml +++ /dev/null @@ -1 +0,0 @@ -graphql.annotations.base-package: graphql.kickstart.graphql.annotations.test.error.multiple.subscription \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-autoconfigure-tools/build.gradle b/graphql-kickstart-spring-boot-autoconfigure-tools/build.gradle deleted file mode 100644 index d61c402b..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-tools/build.gradle +++ /dev/null @@ -1,19 +0,0 @@ -dependencies { - annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" - compileOnly "org.springframework.boot:spring-boot-configuration-processor" - - api "com.graphql-java-kickstart:graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER" - api "com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER" - - implementation "org.springframework.boot:spring-boot-autoconfigure" - - compileOnly "com.graphql-java-kickstart:graphql-java-servlet:$LIB_GRAPHQL_SERVLET_VER" - - testImplementation "com.graphql-java-kickstart:graphql-java-servlet:$LIB_GRAPHQL_SERVLET_VER" - testImplementation "com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER" - testImplementation "org.springframework.boot:spring-boot-starter-web" - testImplementation "org.springframework.boot:spring-boot-starter-test" - testImplementation(project(":graphql-spring-boot-test")) -} - -compileJava.dependsOn(processResources) diff --git a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/resources/META-INF/spring.factories b/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 5997a5ff..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,2 +0,0 @@ -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -graphql.kickstart.tools.boot.GraphQLJavaToolsAutoConfiguration diff --git a/graphql-kickstart-spring-boot-autoconfigure-webflux/build.gradle b/graphql-kickstart-spring-boot-autoconfigure-webflux/build.gradle deleted file mode 100644 index 93316add..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-webflux/build.gradle +++ /dev/null @@ -1,11 +0,0 @@ -dependencies { - api(project(':graphql-kickstart-spring-webflux')) - compileOnly(project(":graphql-kickstart-spring-boot-starter-tools")) - - implementation "org.springframework.boot:spring-boot-autoconfigure" - implementation "com.graphql-java-kickstart:graphql-java-kickstart:$LIB_GRAPHQL_SERVLET_VER" - implementation "org.springframework.boot:spring-boot-starter-webflux" - - testImplementation "org.springframework.boot:spring-boot-starter-test" - testImplementation(project(":graphql-kickstart-spring-boot-starter-tools")) -} diff --git a/graphql-kickstart-spring-boot-autoconfigure-webflux/src/main/resources/META-INF/spring.factories b/graphql-kickstart-spring-boot-autoconfigure-webflux/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 3c8f14f8..00000000 --- a/graphql-kickstart-spring-boot-autoconfigure-webflux/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,3 +0,0 @@ -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ - graphql.kickstart.spring.webflux.boot.GraphQLSpringWebfluxAutoConfiguration,\ - graphql.kickstart.spring.webflux.boot.MonoAutoConfiguration diff --git a/graphql-kickstart-spring-boot-starter-graphql-annotations/build.gradle b/graphql-kickstart-spring-boot-starter-graphql-annotations/build.gradle deleted file mode 100644 index b536a9e1..00000000 --- a/graphql-kickstart-spring-boot-starter-graphql-annotations/build.gradle +++ /dev/null @@ -1,21 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -dependencies { - api(project(':graphql-kickstart-spring-boot-autoconfigure-graphql-annotations')) -} \ No newline at end of file diff --git a/graphql-kickstart-spring-boot-starter-tools/build.gradle b/graphql-kickstart-spring-boot-starter-tools/build.gradle deleted file mode 100644 index 0d003588..00000000 --- a/graphql-kickstart-spring-boot-starter-tools/build.gradle +++ /dev/null @@ -1,21 +0,0 @@ -/* - * The MIT License (MIT) - * - * Copyright (c) 2016 oEmbedler Inc. and Contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated - * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the - * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit - * persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -dependencies { - api(project(':graphql-kickstart-spring-boot-autoconfigure-tools')) -} diff --git a/graphql-kickstart-spring-boot-starter-webflux/build.gradle b/graphql-kickstart-spring-boot-starter-webflux/build.gradle deleted file mode 100644 index 32866315..00000000 --- a/graphql-kickstart-spring-boot-starter-webflux/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - api(project(':graphql-kickstart-spring-boot-autoconfigure-webflux')) -} diff --git a/graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/AbstractGraphQLController.java b/graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/AbstractGraphQLController.java index 789419ae..18da9d43 100644 --- a/graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/AbstractGraphQLController.java +++ b/graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/AbstractGraphQLController.java @@ -49,7 +49,7 @@ public Object graphqlPOST( try { request = objectMapper.readGraphQLRequest(body); } catch (IOException e) { - return handleBodyParsingException(e, serverWebExchange); + return handleBodyParsingException(e); } if (request.getQuery() == null) { request.setQuery(""); @@ -106,8 +106,7 @@ protected abstract Object executeRequest( Map variables, ServerWebExchange serverWebExchange); - protected Object handleBodyParsingException( - Exception exception, ServerWebExchange serverWebExchange) { + protected Object handleBodyParsingException(Exception exception) { log.error("{} {}", INVALID_REQUEST_BODY_MESSAGE, exception.getMessage()); return objectMapper.createResultFromExecutionResult( new ExecutionResultImpl(new GenericGraphQLError(INVALID_REQUEST_BODY_MESSAGE))); diff --git a/graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/error/ErrorContext.java b/graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/error/ErrorContext.java index 2492e86c..f8936f68 100644 --- a/graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/error/ErrorContext.java +++ b/graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/error/ErrorContext.java @@ -4,38 +4,13 @@ import graphql.language.SourceLocation; import java.util.List; import java.util.Map; +import lombok.Value; +@Value public class ErrorContext { - private final List locations; - private final List path; - private final Map extensions; - private final ErrorClassification errorType; - - public ErrorContext( - List locations, - List path, - Map extensions, - ErrorClassification errorType) { - this.locations = locations; - this.path = path; - this.extensions = extensions; - this.errorType = errorType; - } - - public List getLocations() { - return locations; - } - - public List getPath() { - return path; - } - - public Map getExtensions() { - return extensions; - } - - public ErrorClassification getErrorType() { - return errorType; - } + List locations; + List path; + Map extensions; + ErrorClassification errorType; } diff --git a/graphql-kickstart-spring-webflux/build.gradle b/graphql-kickstart-spring-webflux/build.gradle index 1690a6c4..b247ad33 100644 --- a/graphql-kickstart-spring-webflux/build.gradle +++ b/graphql-kickstart-spring-webflux/build.gradle @@ -1,6 +1,6 @@ dependencies { api(project(':graphql-kickstart-spring-support')) - api "com.graphql-java-kickstart:graphql-java-kickstart:$LIB_GRAPHQL_SERVLET_VER" - api "org.springframework.boot:spring-boot-starter-webflux" + + compileOnly "org.springframework.boot:spring-boot-starter-webflux" } diff --git a/graphql-kickstart-starter-utils/build.gradle b/graphql-kickstart-starter-utils/build.gradle deleted file mode 100644 index 6b14728f..00000000 --- a/graphql-kickstart-starter-utils/build.gradle +++ /dev/null @@ -1,3 +0,0 @@ -dependencies { - compileOnly "org.springframework.boot:spring-boot-starter-web" -} diff --git a/graphql-spring-boot-autoconfigure/build.gradle b/graphql-spring-boot-autoconfigure/build.gradle index fb681c35..0fdf2462 100644 --- a/graphql-spring-boot-autoconfigure/build.gradle +++ b/graphql-spring-boot-autoconfigure/build.gradle @@ -18,26 +18,47 @@ */ dependencies { - api(project(":graphql-kickstart-spring-boot-starter-tools")) + api "com.graphql-java-kickstart:graphql-java-tools:$LIB_GRAPHQL_JAVA_TOOLS_VER" api(project(":graphql-kickstart-spring-support")) - implementation "org.springframework.boot:spring-boot-autoconfigure" + api(project(':graphql-kickstart-spring-webflux')) api "com.graphql-java:graphql-java-extended-scalars:$LIB_EXTENDED_SCALARS_VER" api "com.graphql-java-kickstart:graphql-java-kickstart:$LIB_GRAPHQL_SERVLET_VER" api "com.graphql-java-kickstart:graphql-java-servlet:$LIB_GRAPHQL_SERVLET_VER" api "com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER" - api "org.springframework.boot:spring-boot-starter-websocket" - api "org.springframework.boot:spring-boot-starter-web" - api "org.springframework.boot:spring-boot-starter-actuator" + implementation "org.springframework.boot:spring-boot-autoconfigure" + + // annotations + api "io.github.graphql-java:graphql-java-annotations:$LIB_GRAPHQL_ANNOTATIONS_VER" + implementation "org.reflections:reflections:$LIB_REFLECTIONS_VER" + implementation "org.springframework.boot:spring-boot-starter-validation" + + // graphiql + implementation "org.apache.commons:commons-text:$LIB_APACHE_COMMONS_TEXT" + compileOnly "org.springframework.boot:spring-boot-starter-security" + + compileOnly "org.springframework.boot:spring-boot-starter-websocket" + compileOnly "org.springframework.boot:spring-boot-starter-web" + compileOnly "org.springframework.boot:spring-boot-starter-actuator" + implementation "org.springframework:spring-webflux" annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" compileOnly "org.springframework.boot:spring-boot-configuration-processor" compileOnly "org.springframework.boot:spring-boot-starter-web" + testImplementation(project(":graphql-spring-boot-starter-test")) testImplementation "com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER" testImplementation "org.springframework.boot:spring-boot-starter-web" testImplementation "org.springframework.boot:spring-boot-starter-test" - testImplementation(project(":graphql-spring-boot-test")) + testImplementation "org.springframework.boot:spring-boot-starter-websocket" + testImplementation "org.springframework.boot:spring-boot-starter-web" + testImplementation "org.springframework.boot:spring-boot-starter-actuator" + testImplementation "org.springframework.boot:spring-boot-starter-webflux" +// testImplementation "org.springframework.boot:spring-boot-starter-security" + testImplementation "org.springframework.security:spring-security-test" + testImplementation "io.projectreactor:reactor-core" + testImplementation "io.reactivex.rxjava2:rxjava" + testImplementation "org.jsoup:jsoup:$LIB_JSOUP_VER" } compileJava.dependsOn(processResources) diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLInterfaceTypeResolver.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLInterfaceTypeResolver.java similarity index 95% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLInterfaceTypeResolver.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLInterfaceTypeResolver.java index 1aa6f1cb..560b23d1 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLInterfaceTypeResolver.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLInterfaceTypeResolver.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations; +package graphql.kickstart.annotations; import graphql.TypeResolutionEnvironment; import graphql.annotations.processor.GraphQLAnnotations; diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLMutationResolver.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLMutationResolver.java similarity index 85% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLMutationResolver.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLMutationResolver.java index c62e6e33..d8762175 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLMutationResolver.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLMutationResolver.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations; +package graphql.kickstart.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLQueryResolver.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLQueryResolver.java similarity index 85% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLQueryResolver.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLQueryResolver.java index ae523344..57d2c97e 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLQueryResolver.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLQueryResolver.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations; +package graphql.kickstart.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLSubscriptionResolver.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLSubscriptionResolver.java similarity index 85% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLSubscriptionResolver.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLSubscriptionResolver.java index 581e2c3b..b54c9219 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLSubscriptionResolver.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/annotations/GraphQLSubscriptionResolver.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations; +package graphql.kickstart.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/GraphQLProperties.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/GraphQLProperties.java new file mode 100644 index 00000000..fd039451 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/GraphQLProperties.java @@ -0,0 +1,13 @@ +package graphql.kickstart.autoconfigure; + +import lombok.Data; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.context.annotation.Configuration; + +@Data +@Configuration +@ConfigurationProperties("graphql") +public class GraphQLProperties { + + private SchemaStrategy schemaStrategy = SchemaStrategy.TOOLS; +} diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/SchemaStrategy.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/SchemaStrategy.java new file mode 100644 index 00000000..902f80e4 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/SchemaStrategy.java @@ -0,0 +1,6 @@ +package graphql.kickstart.autoconfigure; + +public enum SchemaStrategy { + TOOLS, + ANNOTATIONS +} diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLAnnotationsAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/GraphQLAnnotationsAutoConfiguration.java similarity index 90% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLAnnotationsAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/GraphQLAnnotationsAutoConfiguration.java index 544dbed4..1bf0dd31 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLAnnotationsAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/GraphQLAnnotationsAutoConfiguration.java @@ -1,6 +1,5 @@ -package graphql.kickstart.graphql.annotations; +package graphql.kickstart.autoconfigure.annotations; -import static graphql.annotations.AnnotationsSchemaCreator.newAnnotationsSchema; import static java.util.Objects.nonNull; import graphql.annotations.AnnotationsSchemaCreator; @@ -9,10 +8,14 @@ import graphql.annotations.annotationTypes.directives.definition.GraphQLDirectiveDefinition; import graphql.annotations.processor.GraphQLAnnotations; import graphql.annotations.processor.typeFunctions.TypeFunction; -import graphql.kickstart.graphql.annotations.exceptions.MissingQueryResolverException; -import graphql.kickstart.graphql.annotations.exceptions.MultipleMutationResolversException; -import graphql.kickstart.graphql.annotations.exceptions.MultipleQueryResolversException; -import graphql.kickstart.graphql.annotations.exceptions.MultipleSubscriptionResolversException; +import graphql.kickstart.annotations.GraphQLInterfaceTypeResolver; +import graphql.kickstart.annotations.GraphQLMutationResolver; +import graphql.kickstart.annotations.GraphQLQueryResolver; +import graphql.kickstart.annotations.GraphQLSubscriptionResolver; +import graphql.kickstart.autoconfigure.annotations.exceptions.MissingQueryResolverException; +import graphql.kickstart.autoconfigure.annotations.exceptions.MultipleMutationResolversException; +import graphql.kickstart.autoconfigure.annotations.exceptions.MultipleQueryResolversException; +import graphql.kickstart.autoconfigure.annotations.exceptions.MultipleSubscriptionResolversException; import graphql.relay.Relay; import graphql.schema.GraphQLScalarType; import graphql.schema.GraphQLSchema; @@ -32,14 +35,16 @@ import org.reflections.scanners.SubTypesScanner; import org.reflections.scanners.TypeAnnotationsScanner; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +@Slf4j @Configuration -@EnableConfigurationProperties(GraphQLAnnotationsProperties.class) @RequiredArgsConstructor -@Slf4j +@ConditionalOnProperty(value = "graphql.schema-strategy", havingValue = "ANNOTATIONS") +@EnableConfigurationProperties(GraphQLAnnotationsProperties.class) public class GraphQLAnnotationsAutoConfiguration { private final GraphQLAnnotationsProperties graphQLAnnotationsProperties; @@ -76,7 +81,8 @@ public GraphQLSchema graphQLSchema(final GraphQLAnnotations graphQLAnnotations) log.info( "GraphQL classes are searched in the following package (including subpackages): {}", graphQLAnnotationsProperties.getBasePackage()); - final AnnotationsSchemaCreator.Builder builder = newAnnotationsSchema(); + final AnnotationsSchemaCreator.Builder builder = + AnnotationsSchemaCreator.newAnnotationsSchema(); final Reflections reflections = new Reflections( graphQLAnnotationsProperties.getBasePackage(), diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLAnnotationsProperties.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/GraphQLAnnotationsProperties.java similarity index 96% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLAnnotationsProperties.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/GraphQLAnnotationsProperties.java index 6a37b3bb..6ebab3b1 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLAnnotationsProperties.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/GraphQLAnnotationsProperties.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations; +package graphql.kickstart.autoconfigure.annotations; import javax.validation.constraints.NotBlank; import lombok.AllArgsConstructor; diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLScalarTypeFunction.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/GraphQLScalarTypeFunction.java similarity index 97% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLScalarTypeFunction.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/GraphQLScalarTypeFunction.java index 1191fe88..b6c35d16 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/GraphQLScalarTypeFunction.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/GraphQLScalarTypeFunction.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations; +package graphql.kickstart.autoconfigure.annotations; import static java.util.Objects.nonNull; diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MissingQueryResolverException.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MissingQueryResolverException.java similarity index 82% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MissingQueryResolverException.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MissingQueryResolverException.java index c6b504be..89aa252f 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MissingQueryResolverException.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MissingQueryResolverException.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations.exceptions; +package graphql.kickstart.autoconfigure.annotations.exceptions; public class MissingQueryResolverException extends RuntimeException { diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MultipleMutationResolversException.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MultipleMutationResolversException.java similarity index 81% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MultipleMutationResolversException.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MultipleMutationResolversException.java index f545bca0..8f515054 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MultipleMutationResolversException.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MultipleMutationResolversException.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations.exceptions; +package graphql.kickstart.autoconfigure.annotations.exceptions; public class MultipleMutationResolversException extends RuntimeException { diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MultipleQueryResolversException.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MultipleQueryResolversException.java similarity index 80% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MultipleQueryResolversException.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MultipleQueryResolversException.java index 80a9a8ad..1f2b0253 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MultipleQueryResolversException.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MultipleQueryResolversException.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations.exceptions; +package graphql.kickstart.autoconfigure.annotations.exceptions; public class MultipleQueryResolversException extends RuntimeException { diff --git a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MultipleSubscriptionResolversException.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MultipleSubscriptionResolversException.java similarity index 82% rename from graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MultipleSubscriptionResolversException.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MultipleSubscriptionResolversException.java index 778e32d1..e1b1e7d2 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-graphql-annotations/src/main/java/graphql/kickstart/graphql/annotations/exceptions/MultipleSubscriptionResolversException.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/annotations/exceptions/MultipleSubscriptionResolversException.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphql.annotations.exceptions; +package graphql.kickstart.autoconfigure.annotations.exceptions; public class MultipleSubscriptionResolversException extends RuntimeException { diff --git a/graphql-kickstart-starter-utils/src/main/java/graphql/kickstart/util/PropertyGroupReader.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/PropertyGroupReader.java similarity index 97% rename from graphql-kickstart-starter-utils/src/main/java/graphql/kickstart/util/PropertyGroupReader.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/PropertyGroupReader.java index 058306da..deb3ad66 100644 --- a/graphql-kickstart-starter-utils/src/main/java/graphql/kickstart/util/PropertyGroupReader.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/PropertyGroupReader.java @@ -1,4 +1,4 @@ -package graphql.kickstart.util; +package graphql.kickstart.autoconfigure.editor; import java.util.Arrays; import java.util.Iterator; diff --git a/graphql-kickstart-starter-utils/src/main/java/graphql/kickstart/util/PropsLoader.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/PropsLoader.java similarity index 97% rename from graphql-kickstart-starter-utils/src/main/java/graphql/kickstart/util/PropsLoader.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/PropsLoader.java index 4c52c42f..9d7ff017 100644 --- a/graphql-kickstart-starter-utils/src/main/java/graphql/kickstart/util/PropsLoader.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/PropsLoader.java @@ -1,4 +1,4 @@ -package graphql.kickstart.util; +package graphql.kickstart.autoconfigure.editor; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; diff --git a/altair-spring-boot-autoconfigure/src/main/java/graphql/kickstart/altair/boot/AltairAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairAutoConfiguration.java similarity index 75% rename from altair-spring-boot-autoconfigure/src/main/java/graphql/kickstart/altair/boot/AltairAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairAutoConfiguration.java index f2ceb991..fe0c5b4c 100644 --- a/altair-spring-boot-autoconfigure/src/main/java/graphql/kickstart/altair/boot/AltairAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairAutoConfiguration.java @@ -1,4 +1,4 @@ -package graphql.kickstart.altair.boot; +package graphql.kickstart.autoconfigure.editor.altair; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; @@ -11,12 +11,12 @@ /** @author Moncef AOUDIA */ @Configuration @ConditionalOnWebApplication -@EnableConfigurationProperties(AltairProperties.class) +@EnableConfigurationProperties({AltairProperties.class, AltairOptions.class, AltairResources.class}) @ConditionalOnClass(DispatcherServlet.class) public class AltairAutoConfiguration { @Bean - @ConditionalOnProperty(value = "altair.enabled", havingValue = "true", matchIfMissing = true) + @ConditionalOnProperty(value = "graphql.altair.enabled", havingValue = "true") AltairController altairController() { return new AltairController(); } diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairController.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairController.java new file mode 100644 index 00000000..dfcbf92e --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairController.java @@ -0,0 +1,103 @@ +package graphql.kickstart.autoconfigure.editor.altair; + +import static java.lang.Integer.parseInt; +import static java.util.Objects.nonNull; +import static org.apache.commons.lang3.StringUtils.isNumeric; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.databind.ObjectMapper; +import java.io.IOException; +import java.io.InputStream; +import java.nio.charset.Charset; +import java.util.HashMap; +import java.util.Map; +import javax.annotation.PostConstruct; +import javax.servlet.http.HttpServletResponse; +import lombok.SneakyThrows; +import lombok.extern.slf4j.Slf4j; +import lombok.val; +import org.apache.commons.lang3.StringUtils; +import org.apache.commons.text.StringSubstitutor; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.core.io.ClassPathResource; +import org.springframework.stereotype.Controller; +import org.springframework.util.StreamUtils; +import org.springframework.web.bind.annotation.GetMapping; + +/** @author Moncef AOUDIA */ +@Slf4j +@Controller +public class AltairController { + + private static final String CDN_JSDELIVR_NET_NPM = "//cdn.jsdelivr.net/npm/"; + private static final String ALTAIR = "altair-static"; + private final ObjectMapper objectMapper = new ObjectMapper(); + @Autowired private AltairProperties altairProperties; + @Autowired private AltairOptions altairOptions; + @Autowired private AltairResources altairResources; + + private String template; + + @PostConstruct + public void onceConstructed() throws IOException { + objectMapper.setSerializationInclusion(Include.NON_NULL); + altairResources.load(altairOptions); + loadTemplate(); + } + + private void loadTemplate() throws IOException { + try (InputStream inputStream = + new ClassPathResource("templates/altair.html").getInputStream()) { + template = StreamUtils.copyToString(inputStream, Charset.defaultCharset()); + } + } + + @GetMapping(value = "${graphql.altair.mapping:/altair}") + public void altair(HttpServletResponse response) throws IOException { + response.setContentType("text/html; charset=UTF-8"); + String populatedTemplate = StringSubstitutor.replace(template, getReplacements()); + response.getOutputStream().write(populatedTemplate.getBytes(Charset.defaultCharset())); + } + + @SneakyThrows + private Map getReplacements() { + Map replacements = new HashMap<>(); + replacements.put("pageTitle", altairProperties.getPageTitle()); + replacements.put("pageFavicon", getResourceUrl("favicon.ico", "favicon.ico")); + replacements.put( + "altairBaseUrl", + getResourceUrl( + StringUtils.join(altairProperties.getBasePath(), "/vendor/altair/"), + joinJsdelivrPath(altairProperties.getCdn().getVersion()))); + replacements.put( + "altairLogoUrl", getResourceUrl("assets/img/logo_350.svg", "assets/img/logo_350.svg")); + replacements.put("altairCssUrl", getResourceUrl("styles.css", "styles.css")); + + val suffix = isJsSuffixAdded() ? "-es2018.js" : ".js"; + replacements.put("altairMainJsUrl", getResourceUrl("main-es2018.js", "main" + suffix)); + replacements.put( + "altairPolyfillsJsUrl", getResourceUrl("polyfills-es2018.js", "polyfills" + suffix)); + replacements.put("altairRuntimeJsUrl", getResourceUrl("runtime-es2018.js", "runtime" + suffix)); + replacements.put("options", objectMapper.writeValueAsString(altairOptions)); + return replacements; + } + + private boolean isJsSuffixAdded() { + if (nonNull(altairProperties.getCdn().getVersion())) { + String[] versionValues = altairProperties.getCdn().getVersion().split("\\."); + return isNumeric(versionValues[0]) && parseInt(versionValues[0]) >= 4; + } + return false; + } + + private String getResourceUrl(String staticFileName, String cdnUrl) { + if (altairProperties.getCdn().isEnabled() && StringUtils.isNotBlank(cdnUrl)) { + return cdnUrl; + } + return staticFileName; + } + + private String joinJsdelivrPath(String cdnVersion) { + return CDN_JSDELIVR_NET_NPM + AltairController.ALTAIR + "@" + cdnVersion + "/build/dist/"; + } +} diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairOptions.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairOptions.java new file mode 100644 index 00000000..f9b6b3c8 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairOptions.java @@ -0,0 +1,29 @@ +package graphql.kickstart.autoconfigure.editor.altair; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Map; +import lombok.Data; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.boot.context.properties.NestedConfigurationProperty; + +@Data +@ConfigurationProperties("graphql.altair.options") +public class AltairOptions { + + @JsonProperty("endpointURL") + private String endpointUrl = "/graphql"; + + private String subscriptionsEndpoint = "/subscriptions"; + private String initialQuery; + private String initialVariables; + private String initialPreRequestScript; + private String initialPostRequestScript; + private Map initialHeaders; + @NestedConfigurationProperty InitialEnvironments initialEnvironments; + private String instanceStorageNamespace; + @NestedConfigurationProperty InitialSettings initialSettings; + private String initialSubscriptionsProvider; + private Map initialSubscriptionsPayload; + private Boolean preserveState = true; + private String initialHttpMethod; +} diff --git a/altair-spring-boot-autoconfigure/src/main/java/graphql/kickstart/altair/boot/AltairProperties.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairProperties.java similarity index 51% rename from altair-spring-boot-autoconfigure/src/main/java/graphql/kickstart/altair/boot/AltairProperties.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairProperties.java index df141f0f..2d70c31b 100644 --- a/altair-spring-boot-autoconfigure/src/main/java/graphql/kickstart/altair/boot/AltairProperties.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairProperties.java @@ -1,30 +1,22 @@ -package graphql.kickstart.altair.boot; +package graphql.kickstart.autoconfigure.editor.altair; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; @Data -@ConfigurationProperties("altair") +@ConfigurationProperties("graphql.altair") public class AltairProperties { - private boolean enabled = true; - private Endpoint endpoint = new Endpoint(); + private boolean enabled = false; private Cdn cdn = new Cdn(); private String pageTitle = "Altair"; private String mapping = "/altair"; private String basePath = ""; - @Data - static class Endpoint { - - private String graphql = "/graphql"; - private String subscriptions = "/subscriptions"; - } - @Data static class Cdn { private boolean enabled = false; - private String version = "2.4.11"; + private String version = "4.0.2"; } } diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairResources.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairResources.java new file mode 100644 index 00000000..efbdeeb8 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/AltairResources.java @@ -0,0 +1,39 @@ +package graphql.kickstart.autoconfigure.editor.altair; + +import java.io.InputStream; +import java.nio.charset.StandardCharsets; +import java.util.Optional; +import lombok.Data; +import lombok.SneakyThrows; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.core.io.ClassPathResource; +import org.springframework.core.io.Resource; +import org.springframework.util.StreamUtils; + +@Data +@ConfigurationProperties("graphql.altair.resources") +public class AltairResources { + + private String initialQuery; + private String initialVariables; + private String initialPreRequestScript; + private String initialPostRequestScript; + + public void load(AltairOptions options) { + loadResource(initialQuery).ifPresent(options::setInitialQuery); + loadResource(initialVariables).ifPresent(options::setInitialVariables); + loadResource(initialPreRequestScript).ifPresent(options::setInitialPreRequestScript); + loadResource(initialPostRequestScript).ifPresent(options::setInitialPostRequestScript); + } + + private Optional loadResource(String property) { + return Optional.ofNullable(property).map(ClassPathResource::new).map(this::loadResource); + } + + @SneakyThrows + private String loadResource(Resource resource) { + try (InputStream inputStream = resource.getInputStream()) { + return StreamUtils.copyToString(inputStream, StandardCharsets.UTF_8); + } + } +} diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/InitialEnvironmentState.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/InitialEnvironmentState.java new file mode 100644 index 00000000..db93baea --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/InitialEnvironmentState.java @@ -0,0 +1,12 @@ +package graphql.kickstart.autoconfigure.editor.altair; + +import java.util.Map; +import lombok.Data; + +@Data +public class InitialEnvironmentState { + + private String id; + private String title; + private Map variables; +} diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/InitialEnvironments.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/InitialEnvironments.java new file mode 100644 index 00000000..743bb716 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/InitialEnvironments.java @@ -0,0 +1,12 @@ +package graphql.kickstart.autoconfigure.editor.altair; + +import java.util.List; +import lombok.Data; +import org.springframework.boot.context.properties.NestedConfigurationProperty; + +@Data +public class InitialEnvironments { + + @NestedConfigurationProperty InitialEnvironmentState base; + @NestedConfigurationProperty List subEnvironments; +} diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/InitialSettings.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/InitialSettings.java new file mode 100644 index 00000000..6c2b3f5a --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/altair/InitialSettings.java @@ -0,0 +1,44 @@ +package graphql.kickstart.autoconfigure.editor.altair; + +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; +import lombok.Data; + +@Data +public class InitialSettings { + + private String theme; + private String language; + private Integer addQueryDepthLimit; + private Integer tabSize; + private Boolean enableExperimental; + + @JsonProperty("theme.fontsize") + private Integer themeFontSize; + + @JsonProperty("theme.editorFontFamily") + private String themeEditorFontFamily; + + @JsonProperty("theme.editorFontSize") + private Integer themeEditorFontSize; + + private Boolean disablePushNotification; + + @JsonProperty("plugin.list") + private List pluginList; + + @JsonProperty("request.withCredentials") + private Boolean requestWithCredentials; + + @JsonProperty("schema.reloadOnStart") + private Boolean schemaReloadOnStart; + + @JsonProperty("alert.disableWarnings") + private Boolean alertDisableWarnings; + + @JsonProperty("history.depth") + private Integer historyDepth; + + @JsonProperty("response.hideExtensions") + private Boolean responseHideExtensions; +} diff --git a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLAutoConfiguration.java similarity index 90% rename from graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLAutoConfiguration.java index 301362e7..70b5fc85 100644 --- a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLAutoConfiguration.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphiql.boot; +package graphql.kickstart.autoconfigure.editor.graphiql; import static org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type.REACTIVE; import static org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type.SERVLET; @@ -15,7 +15,7 @@ * @author Ronny Bräunlich */ @Configuration -@ConditionalOnProperty(value = "graphiql.enabled", havingValue = "true", matchIfMissing = true) +@ConditionalOnProperty(value = "graphql.graphiql.enabled", havingValue = "true") @EnableConfigurationProperties(GraphiQLProperties.class) public class GraphiQLAutoConfiguration { diff --git a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLController.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLController.java similarity index 96% rename from graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLController.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLController.java index 5e4334fa..0f764b72 100644 --- a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLController.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLController.java @@ -1,9 +1,9 @@ -package graphql.kickstart.graphiql.boot; +package graphql.kickstart.autoconfigure.editor.graphiql; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; -import graphql.kickstart.util.PropertyGroupReader; -import graphql.kickstart.util.PropsLoader; +import graphql.kickstart.autoconfigure.editor.PropertyGroupReader; +import graphql.kickstart.autoconfigure.editor.PropsLoader; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; @@ -45,7 +45,8 @@ public void onceConstructed() throws IOException { } private void loadTemplate() throws IOException { - try (InputStream inputStream = new ClassPathResource("graphiql.html").getInputStream()) { + try (InputStream inputStream = + new ClassPathResource("templates/graphiql.html").getInputStream()) { template = StreamUtils.copyToString(inputStream, Charset.defaultCharset()); } } diff --git a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLProperties.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLProperties.java similarity index 92% rename from graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLProperties.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLProperties.java index ae1d6980..b7b849f6 100644 --- a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/GraphiQLProperties.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLProperties.java @@ -1,12 +1,13 @@ -package graphql.kickstart.graphiql.boot; +package graphql.kickstart.autoconfigure.editor.graphiql; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; @Data -@ConfigurationProperties("graphiql") +@ConfigurationProperties("graphql.graphiql") class GraphiQLProperties { + private boolean enabled = false; private Endpoint endpoint = new Endpoint(); private CodeMirror codeMirror = new CodeMirror(); private Props props = new Props(); diff --git a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/ReactiveGraphiQLController.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/ReactiveGraphiQLController.java similarity index 92% rename from graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/ReactiveGraphiQLController.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/ReactiveGraphiQLController.java index 78513457..d65060c7 100644 --- a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/ReactiveGraphiQLController.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/ReactiveGraphiQLController.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphiql.boot; +package graphql.kickstart.autoconfigure.editor.graphiql; import java.io.IOException; import java.util.Map; @@ -26,7 +26,7 @@ public void onceConstructed() throws IOException { super.onceConstructed(); } - @GetMapping(value = "${graphiql.mapping:/graphiql}") + @GetMapping(value = "${graphql.graphiql.mapping:/graphiql}") public Mono graphiql( ServerHttpRequest request, ServerHttpResponse response, diff --git a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/ServletGraphiQLController.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/ServletGraphiQLController.java similarity index 89% rename from graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/ServletGraphiQLController.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/ServletGraphiQLController.java index 0098519e..88a6424b 100644 --- a/graphiql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/graphiql/boot/ServletGraphiQLController.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/ServletGraphiQLController.java @@ -1,4 +1,4 @@ -package graphql.kickstart.graphiql.boot; +package graphql.kickstart.autoconfigure.editor.graphiql; import java.io.IOException; import java.util.Map; @@ -21,7 +21,7 @@ public void onceConstructed() throws IOException { super.onceConstructed(); } - @GetMapping(value = "${graphiql.mapping:/graphiql}") + @GetMapping(value = "${graphql.graphiql.mapping:/graphiql}") public void graphiql( HttpServletRequest request, HttpServletResponse response, diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/PlaygroundAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundAutoConfiguration.java similarity index 55% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/PlaygroundAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundAutoConfiguration.java index 0f8ff508..fc5c32e9 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/PlaygroundAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundAutoConfiguration.java @@ -1,6 +1,7 @@ -package graphql.kickstart.playground.boot; +package graphql.kickstart.autoconfigure.editor.playground; import com.fasterxml.jackson.databind.ObjectMapper; +import graphql.kickstart.autoconfigure.editor.playground.properties.PlaygroundProperties; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; @@ -9,17 +10,13 @@ @Configuration @ConditionalOnWebApplication -@EnableConfigurationProperties(PlaygroundPropertiesConfiguration.class) +@EnableConfigurationProperties(PlaygroundProperties.class) public class PlaygroundAutoConfiguration { @Bean - @ConditionalOnProperty( - value = "graphql.playground.enabled", - havingValue = "true", - matchIfMissing = true) + @ConditionalOnProperty(value = "graphql.playground.enabled", havingValue = "true") public PlaygroundController playgroundController( - final PlaygroundPropertiesConfiguration playgroundPropertiesConfiguration, - final ObjectMapper objectMapper) { - return new PlaygroundController(playgroundPropertiesConfiguration, objectMapper); + final PlaygroundProperties playgroundProperties, final ObjectMapper objectMapper) { + return new PlaygroundController(playgroundProperties, objectMapper); } } diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundController.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundController.java new file mode 100644 index 00000000..eeaf4404 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundController.java @@ -0,0 +1,88 @@ +package graphql.kickstart.autoconfigure.editor.playground; + +import static java.util.Objects.nonNull; + +import com.fasterxml.jackson.databind.ObjectMapper; +import graphql.kickstart.autoconfigure.editor.playground.properties.PlaygroundProperties; +import java.io.IOException; +import java.nio.charset.Charset; +import java.nio.file.Paths; +import java.util.HashMap; +import java.util.Map; +import lombok.RequiredArgsConstructor; +import org.apache.commons.text.StringSubstitutor; +import org.springframework.core.io.ClassPathResource; +import org.springframework.http.MediaType; +import org.springframework.http.ResponseEntity; +import org.springframework.stereotype.Controller; +import org.springframework.util.StreamUtils; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestAttribute; + +@Controller +@RequiredArgsConstructor +public class PlaygroundController { + + private static final String CDN_ROOT = "https://cdn.jsdelivr.net/npm/graphql-playground-react"; + private static final String CSS_PATH = "static/css/index.css"; + private static final String FAVICON_PATH = "favicon.png"; + private static final String SCRIPT_PATH = "static/js/middleware.js"; + private static final String LOGO_PATH = "logo.png"; + + private static final String CSS_URL_ATTRIBUTE_NAME = "cssUrl"; + private static final String FAVICON_URL_ATTRIBUTE_NAME = "faviconUrl"; + private static final String SCRIPT_URL_ATTRIBUTE_NAME = "scriptUrl"; + private static final String LOGO_URL_ATTRIBUTE_NAME = "logoUrl"; + private static final String CSRF = "_csrf"; + + private final PlaygroundProperties properties; + + private final ObjectMapper objectMapper; + + @GetMapping("${graphql.playground.mapping:/playground}") + public ResponseEntity playground( + final @RequestAttribute(value = CSRF, required = false) Object csrf) throws IOException { + String template = + StreamUtils.copyToString( + new ClassPathResource("templates/playground.html").getInputStream(), + Charset.defaultCharset()); + Map replacements = new HashMap<>(); + if (properties.getCdn().isEnabled()) { + addCdnUrls(replacements); + } else { + addLocalAssetUrls(replacements); + } + replacements.put("pageTitle", properties.getPageTitle()); + replacements.put("properties", objectMapper.writeValueAsString(properties)); + if (nonNull(csrf)) { + replacements.put(CSRF, objectMapper.writeValueAsString(csrf)); + } else { + replacements.put(CSRF, "null"); + } + return ResponseEntity.ok() + .contentType(MediaType.valueOf("text/html; charset=UTF-8")) + .body(StringSubstitutor.replace(template, replacements)); + } + + private String getCdnUrl(final String assetPath) { + return String.format("%s@%s/build/%s", CDN_ROOT, properties.getCdn().getVersion(), assetPath); + } + + private String getLocalUrl(final String assetPath) { + return Paths.get(properties.getStaticPath().getBase(), assetPath).toString().replace('\\', '/'); + } + + private void addCdnUrls(final Map replacements) { + replacements.put(CSS_URL_ATTRIBUTE_NAME, getCdnUrl(CSS_PATH)); + replacements.put(FAVICON_URL_ATTRIBUTE_NAME, getCdnUrl(FAVICON_PATH)); + replacements.put(SCRIPT_URL_ATTRIBUTE_NAME, getCdnUrl(SCRIPT_PATH)); + replacements.put(LOGO_URL_ATTRIBUTE_NAME, getCdnUrl(LOGO_PATH)); + } + + private void addLocalAssetUrls(final Map replacements) { + replacements.put(CSS_URL_ATTRIBUTE_NAME, getLocalUrl(CSS_PATH)); + replacements.put(FAVICON_URL_ATTRIBUTE_NAME, getLocalUrl(FAVICON_PATH)); + replacements.put(SCRIPT_URL_ATTRIBUTE_NAME, getLocalUrl(SCRIPT_PATH)); + replacements.put(LOGO_URL_ATTRIBUTE_NAME, getLocalUrl(LOGO_PATH)); + } +} diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/PlaygroundPropertiesConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundPropertiesConfiguration.java similarity index 58% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/PlaygroundPropertiesConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundPropertiesConfiguration.java index c0d31d1e..00877116 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/PlaygroundPropertiesConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundPropertiesConfiguration.java @@ -1,13 +1,11 @@ -package graphql.kickstart.playground.boot; +package graphql.kickstart.autoconfigure.editor.playground; -import graphql.kickstart.playground.boot.properties.PlaygroundProperties; +import graphql.kickstart.autoconfigure.editor.playground.properties.PlaygroundProperties; import lombok.Data; -import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.NestedConfigurationProperty; import org.springframework.validation.annotation.Validated; @Data -@ConfigurationProperties(prefix = "graphql") @Validated public class PlaygroundPropertiesConfiguration { diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundWebFluxAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundWebFluxAutoConfiguration.java new file mode 100644 index 00000000..2d3e65d0 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundWebFluxAutoConfiguration.java @@ -0,0 +1,27 @@ +package graphql.kickstart.autoconfigure.editor.playground; + +import lombok.RequiredArgsConstructor; +import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; +import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Import; +import org.springframework.core.io.ClassPathResource; +import org.springframework.web.reactive.config.WebFluxConfigurer; +import org.springframework.web.reactive.function.server.RouterFunction; +import org.springframework.web.reactive.function.server.RouterFunctions; +import org.springframework.web.reactive.function.server.ServerResponse; + +@Configuration +@Import(PlaygroundWebFluxControllerAdvice.class) +@ConditionalOnClass(WebFluxConfigurer.class) +@ConditionalOnProperty(value = "graphql.playground.enabled", havingValue = "true") +@RequiredArgsConstructor +public class PlaygroundWebFluxAutoConfiguration implements WebFluxConfigurer { + + @Bean + public RouterFunction playgroundStaticFilesRouter() { + return RouterFunctions.resources( + "/vendor/playground/**", new ClassPathResource("static/vendor/playground/")); + } +} diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/PlaygroundWebFluxControllerAdvice.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundWebFluxControllerAdvice.java similarity index 94% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/PlaygroundWebFluxControllerAdvice.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundWebFluxControllerAdvice.java index 271181a6..5b922c76 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/PlaygroundWebFluxControllerAdvice.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/PlaygroundWebFluxControllerAdvice.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot; +package graphql.kickstart.autoconfigure.editor.playground; import lombok.NoArgsConstructor; import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/ResourceSerializer.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/ResourceSerializer.java similarity index 92% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/ResourceSerializer.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/ResourceSerializer.java index f48e77db..98109925 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/ResourceSerializer.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/ResourceSerializer.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot; +package graphql.kickstart.autoconfigure.editor.playground; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundCdn.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundCdn.java similarity index 72% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundCdn.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundCdn.java index 3734c334..80b1a39f 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundCdn.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundCdn.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties; +package graphql.kickstart.autoconfigure.editor.playground.properties; import javax.validation.constraints.NotBlank; import lombok.Data; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundProperties.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundProperties.java similarity index 77% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundProperties.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundProperties.java index 2820bdcd..2ccb5372 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundProperties.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundProperties.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties; +package graphql.kickstart.autoconfigure.editor.playground.properties; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; @@ -7,12 +7,18 @@ import java.util.Map; import javax.validation.constraints.NotBlank; import lombok.Data; +import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.NestedConfigurationProperty; +import org.springframework.validation.annotation.Validated; @Data +@Validated @JsonInclude(JsonInclude.Include.NON_EMPTY) +@ConfigurationProperties(prefix = "graphql.playground") public class PlaygroundProperties { + private boolean enabled = false; + @NotBlank private String endpoint = "/graphql"; @NotBlank private String subscriptionEndpoint = "/subscriptions"; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundSettings.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundSettings.java similarity index 59% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundSettings.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundSettings.java index 4bae2eb7..5c7c9b19 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundSettings.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundSettings.java @@ -1,12 +1,12 @@ -package graphql.kickstart.playground.boot.properties; +package graphql.kickstart.autoconfigure.editor.playground.properties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonUnwrapped; -import graphql.kickstart.playground.boot.properties.settings.PlaygroundEditorSettings; -import graphql.kickstart.playground.boot.properties.settings.PlaygroundPrettierSettings; -import graphql.kickstart.playground.boot.properties.settings.PlaygroundRequestSettings; -import graphql.kickstart.playground.boot.properties.settings.PlaygroundSchemaSettings; -import graphql.kickstart.playground.boot.properties.settings.PlaygroundTracingSettings; +import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundEditorSettings; +import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundPrettierSettings; +import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundRequestSettings; +import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundSchemaSettings; +import graphql.kickstart.autoconfigure.editor.playground.properties.settings.PlaygroundTracingSettings; import lombok.Data; import org.springframework.boot.context.properties.NestedConfigurationProperty; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundStaticPathSettings.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundStaticPathSettings.java similarity index 71% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundStaticPathSettings.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundStaticPathSettings.java index 8289f365..d3d7c375 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundStaticPathSettings.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundStaticPathSettings.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties; +package graphql.kickstart.autoconfigure.editor.playground.properties; import javax.validation.constraints.NotBlank; import lombok.Data; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundTab.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundTab.java similarity index 87% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundTab.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundTab.java index cdec45c3..186a0166 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/PlaygroundTab.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/PlaygroundTab.java @@ -1,7 +1,7 @@ -package graphql.kickstart.playground.boot.properties; +package graphql.kickstart.autoconfigure.editor.playground.properties; import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import graphql.kickstart.playground.boot.ResourceSerializer; +import graphql.kickstart.autoconfigure.editor.playground.ResourceSerializer; import java.util.List; import java.util.Map; import lombok.Data; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundEditorCursorShape.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundEditorCursorShape.java similarity index 72% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundEditorCursorShape.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundEditorCursorShape.java index 4a4a3ac3..24c996d7 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundEditorCursorShape.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundEditorCursorShape.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties.settings; +package graphql.kickstart.autoconfigure.editor.playground.properties.settings; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundEditorSettings.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundEditorSettings.java similarity index 81% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundEditorSettings.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundEditorSettings.java index 3ce92f3f..973260da 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundEditorSettings.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundEditorSettings.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties.settings; +package graphql.kickstart.autoconfigure.editor.playground.properties.settings; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Data; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundEditorTheme.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundEditorTheme.java similarity index 66% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundEditorTheme.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundEditorTheme.java index 6d0e8c36..beaf21c9 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundEditorTheme.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundEditorTheme.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties.settings; +package graphql.kickstart.autoconfigure.editor.playground.properties.settings; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundPrettierSettings.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundPrettierSettings.java similarity index 80% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundPrettierSettings.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundPrettierSettings.java index 78eea677..e551db7d 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundPrettierSettings.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundPrettierSettings.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties.settings; +package graphql.kickstart.autoconfigure.editor.playground.properties.settings; import com.fasterxml.jackson.annotation.JsonInclude; import javax.validation.constraints.Min; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundRequestIncludeCredentials.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundRequestIncludeCredentials.java similarity index 73% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundRequestIncludeCredentials.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundRequestIncludeCredentials.java index 2f71fc03..86bbaf2b 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundRequestIncludeCredentials.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundRequestIncludeCredentials.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties.settings; +package graphql.kickstart.autoconfigure.editor.playground.properties.settings; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundRequestSettings.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundRequestSettings.java similarity index 74% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundRequestSettings.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundRequestSettings.java index f7a38645..e4bc4c8e 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundRequestSettings.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundRequestSettings.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties.settings; +package graphql.kickstart.autoconfigure.editor.playground.properties.settings; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Data; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundSchemaPollingSettings.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundSchemaPollingSettings.java similarity index 79% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundSchemaPollingSettings.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundSchemaPollingSettings.java index 47a86e47..75b06ded 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundSchemaPollingSettings.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundSchemaPollingSettings.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties.settings; +package graphql.kickstart.autoconfigure.editor.playground.properties.settings; import com.fasterxml.jackson.annotation.JsonInclude; import javax.validation.constraints.Min; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundSchemaSettings.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundSchemaSettings.java similarity index 85% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundSchemaSettings.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundSchemaSettings.java index dc8ff403..3670df3d 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundSchemaSettings.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundSchemaSettings.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties.settings; +package graphql.kickstart.autoconfigure.editor.playground.properties.settings; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonUnwrapped; diff --git a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundTracingSettings.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundTracingSettings.java similarity index 72% rename from playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundTracingSettings.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundTracingSettings.java index 133b60ba..230328dc 100644 --- a/playground-spring-boot-autoconfigure/src/main/java/graphql/kickstart/playground/boot/properties/settings/PlaygroundTracingSettings.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/playground/properties/settings/PlaygroundTracingSettings.java @@ -1,4 +1,4 @@ -package graphql.kickstart.playground.boot.properties.settings; +package graphql.kickstart.autoconfigure.editor.playground.properties.settings; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Data; diff --git a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/ReactiveVoyagerAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/ReactiveVoyagerAutoConfiguration.java similarity index 89% rename from voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/ReactiveVoyagerAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/ReactiveVoyagerAutoConfiguration.java index 0a80170f..ec488864 100644 --- a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/ReactiveVoyagerAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/ReactiveVoyagerAutoConfiguration.java @@ -1,4 +1,4 @@ -package graphql.kickstart.voyager.boot; +package graphql.kickstart.autoconfigure.editor.voyager; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication; @@ -13,7 +13,10 @@ /** @author Max David Günther */ @Configuration @ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.REACTIVE) -@ConditionalOnProperty(value = "voyager.enabled", havingValue = "true", matchIfMissing = true) +@ConditionalOnProperty( + value = "graphql.voyager.enabled", + havingValue = "true", + matchIfMissing = true) @EnableConfigurationProperties(VoyagerPropertiesConfiguration.class) public class ReactiveVoyagerAutoConfiguration { diff --git a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/ReactiveVoyagerController.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/ReactiveVoyagerController.java similarity index 89% rename from voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/ReactiveVoyagerController.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/ReactiveVoyagerController.java index 6766da32..318ea7e6 100644 --- a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/ReactiveVoyagerController.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/ReactiveVoyagerController.java @@ -1,4 +1,4 @@ -package graphql.kickstart.voyager.boot; +package graphql.kickstart.autoconfigure.editor.voyager; import java.io.IOException; import java.util.Map; @@ -17,7 +17,7 @@ public class ReactiveVoyagerController { @Autowired private VoyagerIndexHtmlTemplate indexTemplate; - @GetMapping(path = "${voyager.mapping:/voyager}") + @GetMapping(path = "${graphql.voyager.mapping:/voyager}") public ResponseEntity voyager(@PathVariable Map params) throws IOException { // no context path in spring-webflux diff --git a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerAutoConfiguration.java similarity index 84% rename from voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerAutoConfiguration.java index 293c37be..c6ed9574 100644 --- a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerAutoConfiguration.java @@ -1,4 +1,4 @@ -package graphql.kickstart.voyager.boot; +package graphql.kickstart.autoconfigure.editor.voyager; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication; @@ -9,7 +9,10 @@ /** @author Guilherme Blanco */ @Configuration @ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET) -@ConditionalOnProperty(value = "voyager.enabled", havingValue = "true", matchIfMissing = true) +@ConditionalOnProperty( + value = "graphql.voyager.enabled", + havingValue = "true", + matchIfMissing = true) @EnableConfigurationProperties(VoyagerPropertiesConfiguration.class) public class VoyagerAutoConfiguration { diff --git a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerController.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerController.java similarity index 89% rename from voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerController.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerController.java index 9ad0a4a0..8e1ebd70 100644 --- a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerController.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerController.java @@ -1,4 +1,4 @@ -package graphql.kickstart.voyager.boot; +package graphql.kickstart.autoconfigure.editor.voyager; import java.io.IOException; import java.util.Map; @@ -16,7 +16,7 @@ public class VoyagerController { @Autowired private VoyagerIndexHtmlTemplate indexTemplate; - @GetMapping(value = "${voyager.mapping:/voyager}") + @GetMapping(value = "${graphql.voyager.mapping:/voyager}") public ResponseEntity voyager( HttpServletRequest request, @PathVariable Map params) throws IOException { String contextPath = request.getContextPath(); diff --git a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerIndexHtmlTemplate.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerIndexHtmlTemplate.java similarity index 96% rename from voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerIndexHtmlTemplate.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerIndexHtmlTemplate.java index e76e5d3d..d8c598b1 100644 --- a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerIndexHtmlTemplate.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerIndexHtmlTemplate.java @@ -1,4 +1,4 @@ -package graphql.kickstart.voyager.boot; +package graphql.kickstart.autoconfigure.editor.voyager; import java.io.IOException; import java.nio.charset.Charset; @@ -27,7 +27,8 @@ public String fillIndexTemplate(String contextPath, Map params) throws IOException { String template = StreamUtils.copyToString( - new ClassPathResource("voyager.html").getInputStream(), Charset.defaultCharset()); + new ClassPathResource("templates/voyager.html").getInputStream(), + Charset.defaultCharset()); String basePath = voyagerConfiguration.getBasePath(); String voyagerCdnVersion = voyagerConfiguration.getCdn().getVersion(); diff --git a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerPropertiesConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerPropertiesConfiguration.java similarity index 71% rename from voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerPropertiesConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerPropertiesConfiguration.java index 0ce00eaa..c3ac60e7 100644 --- a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/VoyagerPropertiesConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/VoyagerPropertiesConfiguration.java @@ -1,18 +1,20 @@ -package graphql.kickstart.voyager.boot; +package graphql.kickstart.autoconfigure.editor.voyager; import com.fasterxml.jackson.annotation.JsonIgnore; -import graphql.kickstart.voyager.boot.properties.VoyagerCdn; -import graphql.kickstart.voyager.boot.properties.VoyagerDisplayOptions; +import graphql.kickstart.autoconfigure.editor.voyager.properties.VoyagerCdn; +import graphql.kickstart.autoconfigure.editor.voyager.properties.VoyagerDisplayOptions; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.NestedConfigurationProperty; import org.springframework.validation.annotation.Validated; @Data -@ConfigurationProperties(prefix = "voyager") +@ConfigurationProperties(prefix = "graphql.voyager") @Validated public class VoyagerPropertiesConfiguration { + private boolean enabled = false; + private String endpoint = "/graphql"; private String pageTitle = "Voyager"; diff --git a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/properties/VoyagerCdn.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/properties/VoyagerCdn.java similarity index 64% rename from voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/properties/VoyagerCdn.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/properties/VoyagerCdn.java index 150b35b9..e51765d2 100644 --- a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/properties/VoyagerCdn.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/properties/VoyagerCdn.java @@ -1,4 +1,4 @@ -package graphql.kickstart.voyager.boot.properties; +package graphql.kickstart.autoconfigure.editor.voyager.properties; import lombok.Data; diff --git a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/properties/VoyagerDisplayOptions.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/properties/VoyagerDisplayOptions.java similarity index 85% rename from voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/properties/VoyagerDisplayOptions.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/properties/VoyagerDisplayOptions.java index 6b9986a4..68ee2564 100644 --- a/voyager-spring-boot-autoconfigure/src/main/java/graphql/kickstart/voyager/boot/properties/VoyagerDisplayOptions.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/voyager/properties/VoyagerDisplayOptions.java @@ -1,4 +1,4 @@ -package graphql.kickstart.voyager.boot.properties; +package graphql.kickstart.autoconfigure.editor.voyager.properties; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.Data; diff --git a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/ClasspathResourceSchemaStringProvider.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/ClasspathResourceSchemaStringProvider.java similarity index 97% rename from graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/ClasspathResourceSchemaStringProvider.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/ClasspathResourceSchemaStringProvider.java index a1b27a51..a553ae3b 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/ClasspathResourceSchemaStringProvider.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/ClasspathResourceSchemaStringProvider.java @@ -1,4 +1,4 @@ -package graphql.kickstart.tools.boot; +package graphql.kickstart.autoconfigure.tools; import static java.util.stream.Collectors.joining; diff --git a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/GraphQLJavaToolsAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/GraphQLJavaToolsAutoConfiguration.java similarity index 97% rename from graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/GraphQLJavaToolsAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/GraphQLJavaToolsAutoConfiguration.java index 1367e978..9eefb37a 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/GraphQLJavaToolsAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/GraphQLJavaToolsAutoConfiguration.java @@ -1,4 +1,4 @@ -package graphql.kickstart.tools.boot; +package graphql.kickstart.autoconfigure.tools; import static java.util.Objects.nonNull; @@ -42,6 +42,10 @@ @Slf4j @Configuration @ConditionalOnClass(SchemaParser.class) +@ConditionalOnProperty( + value = "graphql.schema-strategy", + havingValue = "TOOLS", + matchIfMissing = true) @AutoConfigureAfter(JacksonAutoConfiguration.class) @EnableConfigurationProperties(GraphQLToolsProperties.class) public class GraphQLJavaToolsAutoConfiguration { diff --git a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/GraphQLToolsProperties.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/GraphQLToolsProperties.java similarity index 92% rename from graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/GraphQLToolsProperties.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/GraphQLToolsProperties.java index f61b6ade..b68df666 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/GraphQLToolsProperties.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/GraphQLToolsProperties.java @@ -1,4 +1,4 @@ -package graphql.kickstart.tools.boot; +package graphql.kickstart.autoconfigure.tools; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/ListSchemaStringProvider.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/ListSchemaStringProvider.java similarity index 90% rename from graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/ListSchemaStringProvider.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/ListSchemaStringProvider.java index 6cf99231..64e56e16 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/ListSchemaStringProvider.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/ListSchemaStringProvider.java @@ -1,4 +1,4 @@ -package graphql.kickstart.tools.boot; +package graphql.kickstart.autoconfigure.tools; import java.io.IOException; import java.util.ArrayList; diff --git a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/SchemaDirective.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/SchemaDirective.java similarity index 89% rename from graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/SchemaDirective.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/SchemaDirective.java index ee3ead34..ce4403ef 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/SchemaDirective.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/SchemaDirective.java @@ -1,4 +1,4 @@ -package graphql.kickstart.tools.boot; +package graphql.kickstart.autoconfigure.tools; import graphql.schema.idl.SchemaDirectiveWiring; diff --git a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/SchemaStringProvider.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/SchemaStringProvider.java similarity index 75% rename from graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/SchemaStringProvider.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/SchemaStringProvider.java index 2d1b16ef..91e8d51f 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-tools/src/main/java/graphql/kickstart/tools/boot/SchemaStringProvider.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/tools/SchemaStringProvider.java @@ -1,4 +1,4 @@ -package graphql.kickstart.tools.boot; +package graphql.kickstart.autoconfigure.tools; import java.io.IOException; import java.util.List; diff --git a/graphql-kickstart-spring-boot-autoconfigure-webflux/src/main/java/graphql/kickstart/spring/webflux/boot/GraphQLSpringWebfluxAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/reactive/GraphQLSpringWebfluxAutoConfiguration.java similarity index 97% rename from graphql-kickstart-spring-boot-autoconfigure-webflux/src/main/java/graphql/kickstart/spring/webflux/boot/GraphQLSpringWebfluxAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/reactive/GraphQLSpringWebfluxAutoConfiguration.java index 592f341b..2529167b 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-webflux/src/main/java/graphql/kickstart/spring/webflux/boot/GraphQLSpringWebfluxAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/reactive/GraphQLSpringWebfluxAutoConfiguration.java @@ -1,9 +1,10 @@ -package graphql.kickstart.spring.webflux.boot; +package graphql.kickstart.autoconfigure.web.reactive; import static graphql.kickstart.execution.GraphQLObjectMapper.newBuilder; import static org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type.REACTIVE; import graphql.execution.instrumentation.dataloader.DataLoaderDispatcherInstrumentationOptions; +import graphql.kickstart.autoconfigure.tools.GraphQLJavaToolsAutoConfiguration; import graphql.kickstart.execution.BatchedDataLoaderGraphQLBuilder; import graphql.kickstart.execution.GraphQLInvoker; import graphql.kickstart.execution.GraphQLObjectMapper; @@ -25,7 +26,6 @@ import graphql.kickstart.spring.webflux.ReactiveSubscriptionsProtocolFactory; import graphql.kickstart.spring.webflux.ReactiveWebSocketSubscriptionsHandler; import graphql.kickstart.spring.webflux.apollo.ReactiveApolloSubscriptionProtocolFactory; -import graphql.kickstart.tools.boot.GraphQLJavaToolsAutoConfiguration; import graphql.schema.GraphQLSchema; import java.util.Collection; import java.util.HashMap; @@ -49,11 +49,10 @@ import org.springframework.web.reactive.socket.WebSocketHandler; import org.springframework.web.reactive.socket.server.support.WebSocketHandlerAdapter; -@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection") @Slf4j @Configuration -@ConditionalOnWebApplication(type = REACTIVE) @ConditionalOnBean(GraphQLSchema.class) +@ConditionalOnWebApplication(type = REACTIVE) @AutoConfigureAfter(GraphQLJavaToolsAutoConfiguration.class) @Import({GraphQLController.class, ReactiveWebSocketSubscriptionsHandler.class}) public class GraphQLSpringWebfluxAutoConfiguration { diff --git a/graphql-kickstart-spring-boot-autoconfigure-webflux/src/main/java/graphql/kickstart/spring/webflux/boot/MonoAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/reactive/MonoAutoConfiguration.java similarity index 90% rename from graphql-kickstart-spring-boot-autoconfigure-webflux/src/main/java/graphql/kickstart/spring/webflux/boot/MonoAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/reactive/MonoAutoConfiguration.java index 953c13c4..be63d422 100644 --- a/graphql-kickstart-spring-boot-autoconfigure-webflux/src/main/java/graphql/kickstart/spring/webflux/boot/MonoAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/reactive/MonoAutoConfiguration.java @@ -1,10 +1,10 @@ -package graphql.kickstart.spring.webflux.boot; +package graphql.kickstart.autoconfigure.web.reactive; import static org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type.REACTIVE; +import graphql.kickstart.autoconfigure.tools.GraphQLJavaToolsAutoConfiguration; import graphql.kickstart.tools.SchemaParser; import graphql.kickstart.tools.SchemaParserOptions.GenericWrapper; -import graphql.kickstart.tools.boot.GraphQLJavaToolsAutoConfiguration; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.AutoConfigureBefore; diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLExtendedScalarsInitializer.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLExtendedScalarsInitializer.java similarity index 94% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLExtendedScalarsInitializer.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLExtendedScalarsInitializer.java index c88309bf..9c33fd42 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLExtendedScalarsInitializer.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLExtendedScalarsInitializer.java @@ -1,4 +1,4 @@ -package graphql.kickstart.spring.web.boot; +package graphql.kickstart.autoconfigure.web.servlet; import graphql.scalars.ExtendedScalars; import graphql.schema.GraphQLScalarType; @@ -9,6 +9,7 @@ import java.util.Set; import java.util.stream.Collectors; import lombok.NoArgsConstructor; +import lombok.NonNull; import org.springframework.context.ApplicationContextException; import org.springframework.context.ApplicationContextInitializer; import org.springframework.context.support.GenericApplicationContext; @@ -19,7 +20,7 @@ public class GraphQLExtendedScalarsInitializer implements ApplicationContextInitializer { @Override - public void initialize(final GenericApplicationContext applicationContext) { + public void initialize(@NonNull final GenericApplicationContext applicationContext) { final Collection enabledExtendedScalars = getEnabledExtendedScalars(applicationContext); final Collection validScalarNames = new HashSet<>(); ReflectionUtils.doWithFields( diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLInstrumentationAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLInstrumentationAutoConfiguration.java similarity index 92% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLInstrumentationAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLInstrumentationAutoConfiguration.java index 65fd7bd4..bc1ed701 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLInstrumentationAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLInstrumentationAutoConfiguration.java @@ -1,12 +1,12 @@ -package graphql.kickstart.spring.web.boot; +package graphql.kickstart.autoconfigure.web.servlet; import graphql.analysis.MaxQueryComplexityInstrumentation; import graphql.analysis.MaxQueryDepthInstrumentation; import graphql.execution.instrumentation.tracing.TracingInstrumentation; +import graphql.kickstart.autoconfigure.web.servlet.metrics.MetricsInstrumentation; +import graphql.kickstart.autoconfigure.web.servlet.metrics.TracingNoResolversInstrumentation; +import graphql.kickstart.autoconfigure.web.servlet.metrics.WebsocketMetrics; import graphql.kickstart.servlet.GraphQLWebsocketServlet; -import graphql.kickstart.spring.web.boot.metrics.MetricsInstrumentation; -import graphql.kickstart.spring.web.boot.metrics.TracingNoResolversInstrumentation; -import graphql.kickstart.spring.web.boot.metrics.WebsocketMetrics; import io.micrometer.core.instrument.MeterRegistry; import lombok.RequiredArgsConstructor; import org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration; diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLServletProperties.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLServletProperties.java similarity index 95% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLServletProperties.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLServletProperties.java index 6d147009..5ff7950e 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLServletProperties.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLServletProperties.java @@ -16,13 +16,13 @@ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -package graphql.kickstart.spring.web.boot; +package graphql.kickstart.autoconfigure.web.servlet; import graphql.kickstart.execution.context.ContextSetting; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; -/** @author oEmbedler Inc. */ +/** @author Michiel Oliemans */ @Data @ConfigurationProperties(prefix = "graphql.servlet") public class GraphQLServletProperties { diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLSubscriptionApolloProperties.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLSubscriptionApolloProperties.java similarity index 85% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLSubscriptionApolloProperties.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLSubscriptionApolloProperties.java index 27e7c780..bfc54712 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLSubscriptionApolloProperties.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLSubscriptionApolloProperties.java @@ -1,4 +1,4 @@ -package graphql.kickstart.spring.web.boot; +package graphql.kickstart.autoconfigure.web.servlet; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLSubscriptionWebsocketProperties.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLSubscriptionWebsocketProperties.java similarity index 83% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLSubscriptionWebsocketProperties.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLSubscriptionWebsocketProperties.java index 442ed5db..74747e6f 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLSubscriptionWebsocketProperties.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLSubscriptionWebsocketProperties.java @@ -1,4 +1,4 @@ -package graphql.kickstart.spring.web.boot; +package graphql.kickstart.autoconfigure.web.servlet; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebAutoConfiguration.java similarity index 97% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebAutoConfiguration.java index 0aeb27d3..921c5cd6 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebAutoConfiguration.java @@ -17,7 +17,7 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -package graphql.kickstart.spring.web.boot; +package graphql.kickstart.autoconfigure.web.servlet; import static graphql.kickstart.execution.GraphQLObjectMapper.newBuilder; @@ -30,6 +30,8 @@ import graphql.execution.instrumentation.Instrumentation; import graphql.execution.instrumentation.dataloader.DataLoaderDispatcherInstrumentationOptions; import graphql.execution.preparsed.PreparsedDocumentProvider; +import graphql.kickstart.autoconfigure.tools.GraphQLJavaToolsAutoConfiguration; +import graphql.kickstart.autoconfigure.web.servlet.metrics.MetricsInstrumentation; import graphql.kickstart.execution.BatchedDataLoaderGraphQLBuilder; import graphql.kickstart.execution.GraphQLInvoker; import graphql.kickstart.execution.GraphQLObjectMapper; @@ -53,8 +55,6 @@ import graphql.kickstart.servlet.input.GraphQLInvocationInputFactory; import graphql.kickstart.spring.error.ErrorHandlerSupplier; import graphql.kickstart.spring.error.GraphQLErrorStartupListener; -import graphql.kickstart.spring.web.boot.metrics.MetricsInstrumentation; -import graphql.kickstart.tools.boot.GraphQLJavaToolsAutoConfiguration; import graphql.schema.GraphQLSchema; import java.util.Arrays; import java.util.LinkedHashMap; @@ -85,15 +85,16 @@ import org.springframework.web.cors.UrlBasedCorsConfigurationSource; import org.springframework.web.filter.CorsFilter; import org.springframework.web.servlet.DispatcherServlet; +import org.springframework.web.util.UrlPathHelper; /** @author oEmbedler Inc. */ +@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection") @Slf4j @Configuration @RequiredArgsConstructor @ConditionalOnWebApplication(type = Type.SERVLET) @ConditionalOnClass(DispatcherServlet.class) @Conditional(OnSchemaOrSchemaProviderBean.class) -@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection") @ConditionalOnProperty( value = "graphql.servlet.enabled", havingValue = "true", @@ -140,7 +141,9 @@ public CorsFilter corsConfigurer(CorsConfiguration corsConfiguration) { UrlBasedCorsConfigurationSource configurationSource = new UrlBasedCorsConfigurationSource(); configurationSource.setCorsConfigurations(corsConfigurations); - configurationSource.setAlwaysUseFullPath(true); + UrlPathHelper urlPathHelper = new UrlPathHelper(); + urlPathHelper.setAlwaysUseFullPath(true); + configurationSource.setUrlPathHelper(urlPathHelper); return new CorsFilter(configurationSource); } diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWebsocketAutoConfiguration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebsocketAutoConfiguration.java similarity index 91% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWebsocketAutoConfiguration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebsocketAutoConfiguration.java index 2959273f..cd5b4f91 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWebsocketAutoConfiguration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWebsocketAutoConfiguration.java @@ -1,12 +1,12 @@ -package graphql.kickstart.spring.web.boot; +package graphql.kickstart.autoconfigure.web.servlet; +import graphql.kickstart.autoconfigure.tools.GraphQLJavaToolsAutoConfiguration; import graphql.kickstart.execution.GraphQLInvoker; import graphql.kickstart.execution.GraphQLObjectMapper; import graphql.kickstart.execution.subscriptions.GraphQLSubscriptionInvocationInputFactory; import graphql.kickstart.execution.subscriptions.SubscriptionConnectionListener; import graphql.kickstart.execution.subscriptions.apollo.KeepAliveSubscriptionConnectionListener; import graphql.kickstart.servlet.GraphQLWebsocketServlet; -import graphql.kickstart.tools.boot.GraphQLJavaToolsAutoConfiguration; import java.time.Duration; import java.util.Collection; import java.util.HashSet; @@ -20,6 +20,7 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication; +import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Conditional; @@ -30,8 +31,8 @@ @Configuration @RequiredArgsConstructor -@ConditionalOnWebApplication -@ConditionalOnClass(DispatcherServlet.class) +@ConditionalOnWebApplication(type = Type.SERVLET) +@ConditionalOnClass({DispatcherServlet.class, ServerEndpointRegistration.class}) @Conditional(OnSchemaOrSchemaProviderBean.class) @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection") @ConditionalOnProperty( diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWsServerEndpointRegistration.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWsServerEndpointRegistration.java similarity index 95% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWsServerEndpointRegistration.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWsServerEndpointRegistration.java index 17e901a3..4a11dd8d 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWsServerEndpointRegistration.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/GraphQLWsServerEndpointRegistration.java @@ -1,4 +1,4 @@ -package graphql.kickstart.spring.web.boot; +package graphql.kickstart.autoconfigure.web.servlet; import graphql.kickstart.servlet.GraphQLWebsocketServlet; import javax.websocket.HandshakeResponse; diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/OnSchemaOrSchemaProviderBean.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/OnSchemaOrSchemaProviderBean.java similarity index 91% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/OnSchemaOrSchemaProviderBean.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/OnSchemaOrSchemaProviderBean.java index 8eb44f74..c131c77b 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/OnSchemaOrSchemaProviderBean.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/OnSchemaOrSchemaProviderBean.java @@ -1,4 +1,4 @@ -package graphql.kickstart.spring.web.boot; +package graphql.kickstart.autoconfigure.web.servlet; import graphql.kickstart.execution.config.GraphQLSchemaProvider; import graphql.schema.GraphQLSchema; diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/metrics/MetricsInstrumentation.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/metrics/MetricsInstrumentation.java similarity index 98% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/metrics/MetricsInstrumentation.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/metrics/MetricsInstrumentation.java index 959abfa6..37062d7c 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/metrics/MetricsInstrumentation.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/metrics/MetricsInstrumentation.java @@ -1,4 +1,4 @@ -package graphql.kickstart.spring.web.boot.metrics; +package graphql.kickstart.autoconfigure.web.servlet.metrics; import graphql.ExecutionResult; import graphql.execution.instrumentation.parameters.InstrumentationExecutionParameters; diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/metrics/TracingNoResolversInstrumentation.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/metrics/TracingNoResolversInstrumentation.java similarity index 90% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/metrics/TracingNoResolversInstrumentation.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/metrics/TracingNoResolversInstrumentation.java index 2f8546bf..8d9107a6 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/metrics/TracingNoResolversInstrumentation.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/metrics/TracingNoResolversInstrumentation.java @@ -1,4 +1,4 @@ -package graphql.kickstart.spring.web.boot.metrics; +package graphql.kickstart.autoconfigure.web.servlet.metrics; import graphql.execution.instrumentation.InstrumentationContext; import graphql.execution.instrumentation.SimpleInstrumentationContext; diff --git a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/metrics/WebsocketMetrics.java b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/metrics/WebsocketMetrics.java similarity index 92% rename from graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/metrics/WebsocketMetrics.java rename to graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/metrics/WebsocketMetrics.java index 21e62403..924fba73 100644 --- a/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/metrics/WebsocketMetrics.java +++ b/graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/web/servlet/metrics/WebsocketMetrics.java @@ -1,4 +1,4 @@ -package graphql.kickstart.spring.web.boot.metrics; +package graphql.kickstart.autoconfigure.web.servlet.metrics; import graphql.kickstart.servlet.GraphQLWebsocketServlet; import io.micrometer.core.instrument.Gauge; diff --git a/graphql-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories b/graphql-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories index c92ca286..a847b795 100644 --- a/graphql-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories +++ b/graphql-spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories @@ -1,6 +1,18 @@ org.springframework.context.ApplicationContextInitializer=\ -graphql.kickstart.spring.web.boot.GraphQLExtendedScalarsInitializer + graphql.kickstart.autoconfigure.web.servlet.GraphQLExtendedScalarsInitializer org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -graphql.kickstart.spring.web.boot.GraphQLWebAutoConfiguration,\ -graphql.kickstart.spring.web.boot.GraphQLWebsocketAutoConfiguration,\ -graphql.kickstart.spring.web.boot.GraphQLInstrumentationAutoConfiguration + graphql.kickstart.autoconfigure.web.servlet.GraphQLWebAutoConfiguration,\ + graphql.kickstart.autoconfigure.web.servlet.GraphQLWebsocketAutoConfiguration,\ + graphql.kickstart.autoconfigure.web.servlet.GraphQLInstrumentationAutoConfiguration,\ + graphql.kickstart.autoconfigure.web.reactive.GraphQLSpringWebfluxAutoConfiguration,\ + graphql.kickstart.autoconfigure.web.reactive.MonoAutoConfiguration,\ + graphql.kickstart.autoconfigure.tools.GraphQLJavaToolsAutoConfiguration,\ + graphql.kickstart.autoconfigure.annotations.GraphQLAnnotationsAutoConfiguration,\ + graphql.kickstart.autoconfigure.GraphQLProperties,\ + graphql.kickstart.autoconfigure.editor.graphiql.GraphiQLAutoConfiguration,\ + graphql.kickstart.autoconfigure.editor.altair.AltairAutoConfiguration,\ + graphql.kickstart.autoconfigure.editor.voyager.VoyagerAutoConfiguration,\ + graphql.kickstart.autoconfigure.editor.voyager.ReactiveVoyagerAutoConfiguration,\ + graphql.kickstart.autoconfigure.editor.playground.PlaygroundAutoConfiguration,\ + graphql.kickstart.autoconfigure.editor.playground.PlaygroundWebFluxAutoConfiguration + diff --git a/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/0.worker.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/0-es2018.worker.js similarity index 100% rename from altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/0.worker.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/0-es2018.worker.js diff --git a/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/10-es2018.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/10-es2018.js new file mode 100644 index 00000000..150f2a55 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/10-es2018.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{"1DrF":function(e,n,t){"use strict";t.r(n),t.d(n,"GraphQLWsSubscriptionProvider",function(){return s});var o=t("1CyG"),r=t("HDdC"),i=t("gw6v");class s extends o.a{createClient(){this.client=Object(i.createClient)({url:this.subscriptionUrl,connectionParams:this.connectionParams,on:{connected:()=>{var e,n;null===(n=null===(e=this.extraOptions)||void 0===e?void 0:e.onConnected)||void 0===n||n.call(e,void 0,void 0)},error:e=>{var n,t;null===(t=null===(n=this.extraOptions)||void 0===n?void 0:n.onConnected)||void 0===t||t.call(n,e,void 0)}}})}execute(e){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new r.a(n=>this.client.subscribe({query:e.query,variables:e.variables,operationName:e.operationName},{next:(...e)=>n.next(...e),error:(...e)=>n.error(...e),complete:()=>n.complete()}))}close(){var e;null===(e=this.client)||void 0===e||e.dispose(),this.client=void 0}}},gw6v:function(e,n,t){var o=t("yXPU");!function(e){"use strict";const n=Object.prototype.hasOwnProperty;function t(e){return"object"==typeof e&&null!==e}function r(e,t){return n.call(e,t)}function i(e,o){return n.call(e,o)&&t(e[o])}function s(e,t){return n.call(e,t)&&"string"==typeof e[t]}var a;function c(n){if(t(n)){if(!s(n,"type"))return!1;switch(n.type){case e.MessageType.ConnectionInit:case e.MessageType.ConnectionAck:return!r(n,"payload")||void 0===n.payload||t(n.payload);case e.MessageType.Subscribe:return s(n,"id")&&i(n,"payload")&&(!r(n.payload,"operationName")||null==n.payload.operationName||"string"==typeof n.payload.operationName)&&s(n.payload,"query")&&(!r(n.payload,"variables")||null==n.payload.variables||i(n.payload,"variables"));case e.MessageType.Next:return s(n,"id")&&i(n,"payload");case e.MessageType.Error:return s(n,"id")&&(o=n.payload,Array.isArray(o)&&o.length>0&&o.every(e=>"message"in e));case e.MessageType.Complete:return s(n,"id");default:return!1}}var o;return!1}function l(e){if(c(e))return e;if("string"!=typeof e)throw new Error("Message not parsable");const n=JSON.parse(e);if(!c(n))throw new Error("Invalid message");return n}function u(e){if(!c(e))throw new Error("Cannot stringify invalid message");return JSON.stringify(e)}function d(e){return t(e)&&"code"in e&&"reason"in e}e.MessageType=void 0,(a=e.MessageType||(e.MessageType={})).ConnectionInit="connection_init",a.ConnectionAck="connection_ack",a.Subscribe="subscribe",a.Next="next",a.Error="error",a.Complete="complete",e.GRAPHQL_TRANSPORT_WS_PROTOCOL="graphql-transport-ws",e.createClient=function(n){const{url:t,connectionParams:r,lazy:i=!0,onNonLazyError:s=console.error,keepAlive:a=0,retryAttempts:c=5,retryWait:p=function(){var e=o(function*(e){let n=1e3;for(let t=0;tsetTimeout(e,n+Math.floor(2700*Math.random()+300)))});return function(n){return e.apply(this,arguments)}}(),isFatalConnectionProblem:y=(e=>!d(e)),on:f,webSocketImpl:m,generateID:v=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const n=16*Math.random()|0;return("x"==e?n:3&n|8).toString(16)})}}=n;let g;if(m){if(!("function"==typeof(h=m)&&"constructor"in h&&"CLOSED"in h&&"CLOSING"in h&&"CONNECTING"in h&&"OPEN"in h))throw new Error("Invalid WebSocket implementation provided");g=m}else"undefined"!=typeof WebSocket?g=WebSocket:"undefined"!=typeof global?g=global.WebSocket||global.MozWebSocket:"undefined"!=typeof window&&(g=window.WebSocket||window.MozWebSocket);var h;if(!g)throw new Error("WebSocket implementation missing");const w=g,x=(()=>{const e=(()=>{const e={};return{on:(n,t)=>(e[n]=t,()=>{delete e[n]}),emit(n){var t;"id"in n&&(null===(t=e[n.id])||void 0===t||t.call(e,n))}}})(),n={connecting:(null==f?void 0:f.connecting)?[f.connecting]:[],connected:(null==f?void 0:f.connected)?[f.connected]:[],message:(null==f?void 0:f.message)?[e.emit,f.message]:[e.emit],closed:(null==f?void 0:f.closed)?[f.closed]:[],error:(null==f?void 0:f.error)?[f.error]:[]};return{onMessage:e.on,on(e,t){const o=n[e];return o.push(t),()=>{o.splice(o.indexOf(t),1)}},emit(e,...t){for(const o of n[e])o(...t)}}})();let b,C=0,M=!1,P=0,S=!1;function T(){return E.apply(this,arguments)}function E(){return(E=o(function*(){const[n,i]=yield null!=b?b:b=new Promise((n,i)=>o(function*(){M&&(yield p(P),P++),x.emit("connecting");const s=new w("function"==typeof t?yield t():t,"graphql-transport-ws");s.onerror=e=>{x.emit("error",e)},s.onclose=e=>{b=void 0,x.emit("closed",e),i(e)},s.onopen=o(function*(){try{s.send(u({type:e.MessageType.ConnectionInit,payload:"function"==typeof r?yield r():r}))}catch(n){s.close(4400,n instanceof Error?n.message:new Error(n).message)}});let a=!1;s.onmessage=({data:t})=>{try{const o=l(t);if(x.emit("message",o),a)return;if(o.type!==e.MessageType.ConnectionAck)throw new Error(`First message cannot be of type ${o.type}`);a=!0,x.emit("connected",s,o.payload),P=0,n([s,new Promise((e,n)=>s.addEventListener("close",n))])}catch(o){s.close(4400,o instanceof Error?o.message:new Error(o).message)}}})());let s=()=>{};const c=new Promise(e=>s=e);return[n,s,Promise.race([c.then(()=>{if(!--C){const e=()=>n.close(1e3,"Normal Closure");isFinite(a)&&a>0?setTimeout(()=>{C||n.readyState!==w.OPEN||e()},a):e()}}),i])]})).apply(this,arguments)}function N(e){if(d(e)&&[1002,1011,4400,4401,4409,4429].includes(e.code))throw e;if(S||d(e)&&1e3===e.code)return!1;if(!c||P>=c)throw e;if(y(e))throw e;return M=!0}return i||o(function*(){for(C++;;)try{const[,,e]=yield T();yield e}catch(e){try{if(!N(e))return}catch(e){return null==s?void 0:s(e)}}})(),{on:x.on,subscribe(n,t){const r=v();let i=!1,s=()=>{i=!0};return o(function*(){for(C++;;)try{const[o,a,c]=yield T();if(i)return a();const l=x.onMessage(r,n=>{switch(n.type){case e.MessageType.Next:return void t.next(n.payload);case e.MessageType.Error:return i=!0,t.error(n.payload),void s();case e.MessageType.Complete:return i=!0,void s()}});return o.send(u({id:r,type:e.MessageType.Subscribe,payload:n})),s=()=>{i||o.readyState!==w.OPEN||o.send(u({id:r,type:e.MessageType.Complete})),a()},void(yield c.finally(l))}catch(o){if(!N(o))return}})().catch(t.error).then(t.complete),()=>s()},dispose:()=>o(function*(){if(S=!0,b){const[e]=yield b;e.close(1e3,"Normal Closure")}})()}},e.isMessage=c,e.parseMessage=l,e.stringifyMessage=u,Object.defineProperty(e,"__esModule",{value:!0})}(n)},yXPU:function(e,n){function t(e,n,t,o,r,i,s){try{var a=e[i](s),c=a.value}catch(l){return void t(l)}a.done?n(c):Promise.resolve(c).then(o,r)}e.exports=function(e){return function(){var n=this,o=arguments;return new Promise(function(r,i){var s=e.apply(n,o);function a(e){t(s,r,i,a,c,"next",e)}function c(e){t(s,r,i,a,c,"throw",e)}a(void 0)})}}}}]); \ No newline at end of file diff --git a/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/11-es2018.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/11-es2018.js new file mode 100644 index 00000000..bffd79d8 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/11-es2018.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"+R79":function(t,n,e){"use strict";e.r(n),e.d(n,"ActionCableSubscriptionProvider",function(){return c});var o=e("1CyG"),i=e("HDdC"),r=e("9e53"),s=e.n(r);class c extends o.a{execute(t){const n=s.a.createConsumer(this.subscriptionUrl);return new i.a(e=>{this.subscription=n.subscriptions.create(Object.assign({},{channel:this.connectionParams.channel||"GraphqlChannel",channelId:Math.round(Date.now()+1e5*Math.random()).toString(16)},{}),{connected:function(){this.perform("execute",t)},received:function(t){(t.result.data||t.result.errors)&&e.next(t.result),t.more||e.complete()}})})}close(){var t;null===(t=this.subscription)||void 0===t||t.unsubscribe()}}},"9e53":function(t,n,e){var o,i;(function(){(function(){(function(){var t=[].slice;this.ActionCable={INTERNAL:{message_types:{welcome:"welcome",ping:"ping",confirmation:"confirm_subscription",rejection:"reject_subscription"},default_mount_path:"/cable",protocols:["actioncable-v1-json","actioncable-unsupported"]},WebSocket:window.WebSocket,logger:window.console,createConsumer:function(t){var n;return null==t&&(t=null!=(n=this.getConfig("url"))?n:this.INTERNAL.default_mount_path),new r.Consumer(this.createWebSocketURL(t))},getConfig:function(t){var n;return null!=(n=document.head.querySelector("meta[name='action-cable-"+t+"']"))?n.getAttribute("content"):void 0},createWebSocketURL:function(t){var n;return t&&!/^wss?:/i.test(t)?((n=document.createElement("a")).href=t,n.href=n.href,n.protocol=n.protocol.replace("http","ws"),n.href):t},startDebugging:function(){return this.debugging=!0},stopDebugging:function(){return this.debugging=null},log:function(){var n,e;if(n=1<=arguments.length?t.call(arguments,0):[],this.debugging)return n.push(Date.now()),(e=this.logger).log.apply(e,["[ActionCable]"].concat(t.call(n)))}}}).call(this)}).call(this);var r=this.ActionCable;(function(){(function(){r.ConnectionMonitor=function(){var t,n,e;function o(t){var n,e;this.connection=t,this.visibilityDidChange=(n=this.visibilityDidChange,e=this,function(){return n.apply(e,arguments)}),this.reconnectAttempts=0}return o.pollInterval={min:3,max:30},o.staleThreshold=6,o.prototype.start=function(){if(!this.isRunning())return this.startedAt=n(),delete this.stoppedAt,this.startPolling(),document.addEventListener("visibilitychange",this.visibilityDidChange),r.log("ConnectionMonitor started. pollInterval = "+this.getPollInterval()+" ms")},o.prototype.stop=function(){if(this.isRunning())return this.stoppedAt=n(),this.stopPolling(),document.removeEventListener("visibilitychange",this.visibilityDidChange),r.log("ConnectionMonitor stopped")},o.prototype.isRunning=function(){return null!=this.startedAt&&null==this.stoppedAt},o.prototype.recordPing=function(){return this.pingedAt=n()},o.prototype.recordConnect=function(){return this.reconnectAttempts=0,this.recordPing(),delete this.disconnectedAt,r.log("ConnectionMonitor recorded connect")},o.prototype.recordDisconnect=function(){return this.disconnectedAt=n(),r.log("ConnectionMonitor recorded disconnect")},o.prototype.startPolling=function(){return this.stopPolling(),this.poll()},o.prototype.stopPolling=function(){return clearTimeout(this.pollTimeout)},o.prototype.poll=function(){return this.pollTimeout=setTimeout((t=this,function(){return t.reconnectIfStale(),t.poll()}),this.getPollInterval());var t},o.prototype.getPollInterval=function(){var n,e,o,i;return o=(i=this.constructor.pollInterval).min,e=i.max,n=5*Math.log(this.reconnectAttempts+1),Math.round(1e3*t(n,o,e))},o.prototype.reconnectIfStale=function(){if(this.connectionIsStale())return r.log("ConnectionMonitor detected stale connection. reconnectAttempts = "+this.reconnectAttempts+", pollInterval = "+this.getPollInterval()+" ms, time disconnected = "+e(this.disconnectedAt)+" s, stale threshold = "+this.constructor.staleThreshold+" s"),this.reconnectAttempts++,this.disconnectedRecently()?r.log("ConnectionMonitor skipping reopening recent disconnect"):(r.log("ConnectionMonitor reopening"),this.connection.reopen())},o.prototype.connectionIsStale=function(){var t;return e(null!=(t=this.pingedAt)?t:this.startedAt)>this.constructor.staleThreshold},o.prototype.disconnectedRecently=function(){return this.disconnectedAt&&e(this.disconnectedAt)=0},e.prototype.isState=function(){var t,n;return n=1<=arguments.length?i.call(arguments,0):[],t=this.getState(),s.call(n,t)>=0},e.prototype.getState=function(){var t,n;for(n in WebSocket)if(WebSocket[n]===(null!=(t=this.webSocket)?t.readyState:void 0))return n.toLowerCase();return null},e.prototype.installEventHandlers=function(){var t,n;for(t in this.events)n=this.events[t].bind(this),this.webSocket["on"+t]=n},e.prototype.uninstallEventHandlers=function(){var t;for(t in this.events)this.webSocket["on"+t]=function(){}},e.prototype.events={message:function(n){var e,o,i;if(this.isProtocolSupported())switch(e=(i=JSON.parse(n.data)).identifier,o=i.message,i.type){case t.welcome:return this.monitor.recordConnect(),this.subscriptions.reload();case t.ping:return this.monitor.recordPing();case t.confirmation:return this.subscriptions.notify(e,"connected");case t.rejection:return this.subscriptions.reject(e);default:return this.subscriptions.notify(e,"received",o)}},open:function(){if(r.log("WebSocket onopen event, using '"+this.getProtocol()+"' subprotocol"),this.disconnected=!1,!this.isProtocolSupported())return r.log("Protocol is unsupported. Stopping monitor and disconnecting."),this.close({allowReconnect:!1})},close:function(t){if(r.log("WebSocket onclose event"),!this.disconnected)return this.disconnected=!0,this.monitor.recordDisconnect(),this.subscriptions.notifyAll("disconnected",{willAttemptReconnect:this.monitor.isRunning()})},error:function(){return r.log("WebSocket onerror event")}},e}()}).call(this),(function(){var t=[].slice;r.Subscriptions=function(){function n(t){this.consumer=t,this.subscriptions=[]}return n.prototype.create=function(t,n){var e,o;return o=new r.Subscription(this.consumer,"object"==typeof(e=t)?e:{channel:e},n),this.add(o)},n.prototype.add=function(t){return this.subscriptions.push(t),this.consumer.ensureActiveConnection(),this.notify(t,"initialized"),this.sendCommand(t,"subscribe"),t},n.prototype.remove=function(t){return this.forget(t),this.findAll(t.identifier).length||this.sendCommand(t,"unsubscribe"),t},n.prototype.reject=function(t){var n,e,o,i,r;for(i=[],n=0,e=(o=this.findAll(t)).length;n0&&n[n.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function G(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){n={error:o}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}function W(){for(var e=[],t=0;t":return r>i;case">=":return r>=i;case"<<":return r<>":return r>>i;case">>>":return r>>>i;case"+":return r+i;case"-":return r-i;case"*":return r*i;case"**":return Math.pow(r,i);case"/":return r/i;case"%":return r%i;case"|":return r|i;case"^":return r^i;case"&":return r&i;case"in":return r in i;case"instanceof":return r instanceof i;default:throw new SyntaxError("Unexpected token "+e.operator)}},AssignmentExpression:function(e,t){var r,i=le(e.right,t),n=e.left;if("Identifier"===n.type){if(!(r=q(n,t,{getVar:!0,throwErr:!1}))){var s=t.global().find("window").get();r=new U(s,n.name)}}else{if("MemberExpression"!==n.type)return $e(n,t,{feed:i});r=X(n,t,{getVar:!0})}switch(e.operator){case"=":return r.set(i),r.get();case"+=":return r.set(r.get()+i),r.get();case"-=":return r.set(r.get()-i),r.get();case"*=":return r.set(r.get()*i),r.get();case"/=":return r.set(r.get()/i),r.get();case"%=":return r.set(r.get()%i),r.get();case"**=":return r.set(Math.pow(r.get(),i)),r.get();case"<<=":return r.set(r.get()<>=":return r.set(r.get()>>i),r.get();case">>>=":return r.set(r.get()>>>i),r.get();case"|=":return r.set(r.get()|i),r.get();case"^=":return r.set(r.get()^i),r.get();case"&=":return r.set(r.get()&i),r.get();default:throw new SyntaxError("Unexpected token "+e.operator)}},LogicalExpression:function(e,t){switch(e.operator){case"||":return le(e.left,t)||le(e.right,t);case"&&":return le(e.left,t)&&le(e.right,t);default:throw new SyntaxError("Unexpected token "+e.operator)}},MemberExpression:X,ConditionalExpression:function(e,t){return le(e.test,t)?le(e.consequent,t):le(e.alternate,t)},CallExpression:function(e,t){var r,i;if("MemberExpression"===e.callee.type){var n;if(i=X(e.callee,t,{getObj:!0}),n=e.callee.computed?le(e.callee.property,t):e.callee.property.name,"Super"===e.callee.object.type){var s=t.find("this").get();r=i[n].bind(s)}else r=i[n];if("function"!=typeof r)throw new TypeError(n+" is not a function");if(r[B])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'")}else if(i=t.find("this").get(),"function"!=typeof(r=le(e.callee,t))||"Super"!==e.callee.type&&r[B]){var a;if("Identifier"===e.callee.type)a=e.callee.name;else try{a=JSON.stringify(r)}catch(it){a=""+r}throw"function"!=typeof r?new TypeError(a+" is not a function"):new TypeError("Class constructor "+a+" cannot be invoked without 'new'")}for(var o=[],c=0;c":return[2,r>i];case">=":return[2,r>=i];case"<<":return[2,r<>":return[2,r>>i];case">>>":return[2,r>>>i];case"+":return[2,r+i];case"-":return[2,r-i];case"*":return[2,r*i];case"**":return[2,Math.pow(r,i)];case"/":return[2,r/i];case"%":return[2,r%i];case"|":return[2,r|i];case"^":return[2,r^i];case"&":return[2,r&i];case"in":return[2,r in i];case"instanceof":return[2,r instanceof i];default:throw new SyntaxError("Unexpected token "+e.operator)}}})},AssignmentExpression:function(e,t){var r,i,n,s;return j(this,function(a){switch(a.label){case 0:return[5,H(Re(e.right,t))];case 1:return r=a.sent(),"Identifier"!==(i=e.left).type?[3,3]:[5,H(ve(i,t,{getVar:!0,throwErr:!1}))];case 2:return(n=a.sent())||(s=t.global().find("window").get(),n=new U(s,i.name)),[3,7];case 3:return"MemberExpression"!==i.type?[3,5]:[5,H(ke(i,t,{getVar:!0}))];case 4:return n=a.sent(),[3,7];case 5:return[5,H(Ke(i,t,{feed:r}))];case 6:return[2,a.sent()];case 7:switch(e.operator){case"=":return n.set(r),[2,n.get()];case"+=":return n.set(n.get()+r),[2,n.get()];case"-=":return n.set(n.get()-r),[2,n.get()];case"*=":return n.set(n.get()*r),[2,n.get()];case"/=":return n.set(n.get()/r),[2,n.get()];case"%=":return n.set(n.get()%r),[2,n.get()];case"**=":return n.set(Math.pow(n.get(),r)),[2,n.get()];case"<<=":return n.set(n.get()<>=":return n.set(n.get()>>r),[2,n.get()];case">>>=":return n.set(n.get()>>>r),[2,n.get()];case"|=":return n.set(n.get()|r),[2,n.get()];case"^=":return n.set(n.get()^r),[2,n.get()];case"&=":return n.set(n.get()&r),[2,n.get()];default:throw new SyntaxError("Unexpected token "+e.operator)}}})},LogicalExpression:function(e,t){var r,i;return j(this,function(n){switch(n.label){case 0:switch(e.operator){case"||":return[3,1];case"&&":return[3,5]}return[3,9];case 1:return[5,H(Re(e.left,t))];case 2:return(r=n.sent())?[3,4]:[5,H(Re(e.right,t))];case 3:r=n.sent(),n.label=4;case 4:return[2,r];case 5:return[5,H(Re(e.left,t))];case 6:return(i=n.sent())?[5,H(Re(e.right,t))]:[3,8];case 7:i=n.sent(),n.label=8;case 8:return[2,i];case 9:throw new SyntaxError("Unexpected token "+e.operator)}})},MemberExpression:ke,ConditionalExpression:function(e,t){var r;return j(this,function(i){switch(i.label){case 0:return[5,H(Re(e.test,t))];case 1:return i.sent()?[5,H(Re(e.consequent,t))]:[3,3];case 2:return r=i.sent(),[3,5];case 3:return[5,H(Re(e.alternate,t))];case 4:r=i.sent(),i.label=5;case 5:return[2,r]}})},CallExpression:function(e,t){var r,i,n,s,a,o,c,h,u,l,p,d;return j(this,function(f){switch(f.label){case 0:return"MemberExpression"!==e.callee.type?[3,5]:[5,H(ke(e.callee,t,{getObj:!0}))];case 1:return i=f.sent(),n=void 0,e.callee.computed?[5,H(Re(e.callee.property,t))]:[3,3];case 2:return n=f.sent(),[3,4];case 3:n=e.callee.property.name,f.label=4;case 4:if("Super"===e.callee.object.type?(s=t.find("this").get(),r=i[n].bind(s)):r=i[n],"function"!=typeof r)throw new TypeError(n+" is not a function");if(r[B])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'");return[3,7];case 5:return i=t.find("this").get(),[5,H(Re(e.callee,t))];case 6:if("function"!=typeof(r=f.sent())||"Super"!==e.callee.type&&r[B]){if("Identifier"===e.callee.type)a=e.callee.name;else try{a=JSON.stringify(r)}catch(it){a=""+r}throw"function"!=typeof r?new TypeError(a+" is not a function"):new TypeError("Class constructor "+a+" cannot be invoked without 'new'")}f.label=7;case 7:o=[],c=0,f.label=8;case 8:return c=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}(r),n=void 0,I.RES=i.next(),[4,I]):[3,8];case 2:n=l.sent(),l.label=3;case 3:return n.done?[3,7]:[5,H(Je(e,t,{value:n.value}))];case 4:if((o=l.sent())===T)return[3,7];if(o===P)return[3,5];if(o===A)return[2,o];l.label=5;case 5:return I.RES=i.next(),[4,I];case 6:return n=l.sent(),[3,3];case 7:return[3,15];case 8:l.trys.push([8,13,14,15]),s=H(r),a=s.next(),l.label=9;case 9:return a.done?[3,12]:[5,H(Je(e,t,{value:a.value}))];case 10:if((o=l.sent())===T)return[3,12];if(o===P)return[3,11];if(o===A)return[2,o];l.label=11;case 11:return a=s.next(),[3,9];case 12:return[3,15];case 13:return c=l.sent(),h={error:c},[3,15];case 14:try{a&&!a.done&&(u=s.return)&&u.call(s)}finally{if(h)throw h.error}return[7];case 15:return[2]}})}});function Le(e,t,r){var i,n,s,a,o,c,h,u,l,p,d,f,m,g,y;return void 0===r&&(r={}),j(this,function(x){switch(x.label){case 0:n=void 0===(i=r.kind)?"var":i,a=void 0!==(s=r.hoist)&&s,c=void 0!==(o=r.onlyBlock)&&o,u=void 0===(h=r.feed)?{}:h,l=[],p=0,x.label=1;case 1:return p-1;c--)e.body.splice(a[c],1);e.body=s.concat(e.body)}return[2]}})}function ze(e,t){var r,i,n,s,a;return j(this,function(o){switch(o.label){case 0:switch(e.type){case"VariableDeclaration":return[3,1];case"ForInStatement":case"ForOfStatement":return[3,3];case"ForStatement":return[3,5];case"WhileStatement":case"DoWhileStatement":return[3,7];case"IfStatement":return[3,9];case"BlockStatement":return[3,13];case"SwitchStatement":return[3,18];case"TryStatement":return[3,25]}return[3,38];case 1:return[5,H(Ue(e,t,{hoist:!0}))];case 2:return o.sent(),[3,38];case 3:return"VariableDeclaration"!==e.left.type?[3,5]:[5,H(Ue(e.left,t,{hoist:!0}))];case 4:o.sent(),o.label=5;case 5:return"ForStatement"!==e.type||"VariableDeclaration"!==e.init.type?[3,7]:[5,H(Ue(e.init,t,{hoist:!0}))];case 6:o.sent(),o.label=7;case 7:return[5,H(ze(e.body,t))];case 8:return o.sent(),[3,38];case 9:return[5,H(ze(e.consequent,t))];case 10:return o.sent(),e.alternate?[5,H(ze(e.alternate,t))]:[3,12];case 11:o.sent(),o.label=12;case 12:return[3,38];case 13:a=0,o.label=14;case 14:return a-1;o--)e.body.splice(a[o],1);e.body=s.concat(e.body)}}function Ye(e,t){switch(e.type){case"VariableDeclaration":de(e,t,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":"VariableDeclaration"===e.left.type&&de(e.left,t,{hoist:!0});case"ForStatement":"ForStatement"===e.type&&"VariableDeclaration"===e.init.type&&de(e.init,t,{hoist:!0});case"WhileStatement":case"DoWhileStatement":Ye(e.body,t);break;case"IfStatement":Ye(e.consequent,t),e.alternate&&Ye(e.alternate,t);break;case"BlockStatement":for(var r=0;re)return!1;if((r+=t[i+1])>=e)return!0}}function f(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&h.test(String.fromCharCode(e)):!1!==t&&d(e,l)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&u.test(String.fromCharCode(e)):!1!==t&&(d(e,l)||d(e,p)))))}var g=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function y(e,t){return new g(e,{beforeExpr:!0,binop:t})}var v={beforeExpr:!0},x={startsExpr:!0},b={};function _(e,t){return void 0===t&&(t={}),t.keyword=e,b[e]=new g(e,t)}var k={num:new g("num",x),regexp:new g("regexp",x),string:new g("string",x),name:new g("name",x),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",v),semi:new g(";",v),colon:new g(":",v),dot:new g("."),question:new g("?",v),arrow:new g("=>",v),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",v),backQuote:new g("`",x),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:y("||",1),logicalAND:y("&&",2),bitwiseOR:y("|",3),bitwiseXOR:y("^",4),bitwiseAND:y("&",5),equality:y("==/!=/===/!==",6),relational:y("/<=/>=",7),bitShift:y("<>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:y("%",10),star:y("*",10),slash:y("/",10),starstar:new g("**",{beforeExpr:!0}),_break:_("break"),_case:_("case",v),_catch:_("catch"),_continue:_("continue"),_debugger:_("debugger"),_default:_("default",v),_do:_("do",{isLoop:!0,beforeExpr:!0}),_else:_("else",v),_finally:_("finally"),_for:_("for",{isLoop:!0}),_function:_("function",x),_if:_("if"),_return:_("return",v),_switch:_("switch"),_throw:_("throw",v),_try:_("try"),_var:_("var"),_const:_("const"),_while:_("while",{isLoop:!0}),_with:_("with"),_new:_("new",{beforeExpr:!0,startsExpr:!0}),_this:_("this",x),_super:_("super",x),_class:_("class",x),_extends:_("extends",v),_export:_("export"),_import:_("import",x),_null:_("null",x),_true:_("true",x),_false:_("false",x),_in:_("in",{beforeExpr:!0,binop:7}),_instanceof:_("instanceof",{beforeExpr:!0,binop:7}),_typeof:_("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:_("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:_("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,S=new RegExp(w.source,"g");function E(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var C=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,I=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,A=Object.prototype,P=A.hasOwnProperty,T=A.toString;function L(e,t){return P.call(e,t)}var V=Array.isArray||function(e){return"[object Array]"===T.call(e)};function N(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var B=function(e,t){this.line=e,this.column=t};B.prototype.offset=function(e){return new B(this.line,this.column+e)};var O=function(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)};function M(e,t){for(var r=1,i=0;;){S.lastIndex=i;var n=S.exec(e);if(!(n&&n.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),V(t.onToken)){var i=t.onToken;t.onToken=function(e){return i.push(e)}}return V(t.onComment)&&(t.onComment=function(e,t){return function(r,i,n,s,a,o){var c={type:r?"Block":"Line",value:i,start:n,end:s};e.locations&&(c.loc=new O(this,a,o)),e.ranges&&(c.range=[n,s]),t.push(c)}}(t,t.onComment)),t}(e),this.sourceFile=e.sourceFile,this.keywords=N(s[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";if(!0!==e.allowReserved){for(var a=e.ecmaVersion;!(n=i[a]);a--);"module"===e.sourceType&&(n+=" await")}this.reservedWords=N(n);var o=(n?n+" ":"")+i.strict;this.reservedWordsStrict=N(o),this.reservedWordsStrictBind=N(o+" "+i.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=k.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},F={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};U.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},F.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},F.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},F.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},F.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},F.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},F.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},U.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},U.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,i=0;i-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},j.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},j.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case k._class:return e&&this.unexpected(),this.parseClass(s,!0);case k._if:return this.parseIfStatement(s);case k._return:return this.parseReturnStatement(s);case k._switch:return this.parseSwitchStatement(s);case k._throw:return this.parseThrowStatement(s);case k._try:return this.parseTryStatement(s);case k._const:case k._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(s,i);case k._while:return this.parseWhileStatement(s);case k._with:return this.parseWithStatement(s);case k.braceL:return this.parseBlock(!0,s);case k.semi:return this.parseEmptyStatement(s);case k._export:case k._import:if(this.options.ecmaVersion>10&&n===k._import){I.lastIndex=this.pos;var a=I.exec(this.input);if(40===this.input.charCodeAt(this.pos+a[0].length))return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===k._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var o=this.value,c=this.parseExpression();return n===k.name&&"Identifier"===c.type&&this.eat(k.colon)?this.parseLabeledStatement(s,o,c,e):this.parseExpressionStatement(s,c)}},W.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(k.semi)||this.insertSemicolon()?e.label=null:this.type!==k.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(k.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},W.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(q),this.enterScope(0),this.expect(k.parenL),this.type===k.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===k._var||this.type===k._const||r){var i=this.startNode(),n=r?"let":this.value;return this.next(),this.parseVar(i,!0,n),this.finishNode(i,"VariableDeclaration"),(this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===i.declarations.length?(this.options.ecmaVersion>=9&&(this.type===k._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var s=new G,a=this.parseExpression(!0,s);return this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===k._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(a,!1,s),this.checkLVal(a),this.parseForIn(e,a)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))},W.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Q|(r?0:X),!1,t)},W.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(k._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},W.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(k.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},W.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(k.braceL),this.labels.push(z),this.enterScope(0);for(var r=!1;this.type!==k.braceR;)if(this.type===k._case||this.type===k._default){var i=this.type===k._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(k.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},W.parseThrowStatement=function(e){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var K=[];W.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===k._catch){var t=this.startNode();if(this.next(),this.eat(k.parenL)){t.param=this.parseBindingAtom();var r="Identifier"===t.param.type;this.enterScope(r?32:0),this.checkLVal(t.param,r?4:2),this.expect(k.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(k._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},W.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},W.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(q),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},W.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},W.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},W.parseLabeledStatement=function(e,t,r,i){for(var n=0,s=this.labels;n=0;o--){var c=this.labels[o];if(c.statementStart!==e.start)break;c.statementStart=this.start,c.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(i?-1===i.indexOf("label")?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},W.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},W.parseBlock=function(e,t){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(k.braceL),e&&this.enterScope(0);!this.eat(k.braceR);){var r=this.parseStatement(null);t.body.push(r)}return e&&this.exitScope(),this.finishNode(t,"BlockStatement")},W.parseFor=function(e,t){return e.init=t,this.expect(k.semi),e.test=this.type===k.semi?null:this.parseExpression(),this.expect(k.semi),e.update=this.type===k.parenR?null:this.parseExpression(),this.expect(k.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},W.parseForIn=function(e,t){var r=this.type===k._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(k.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},W.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(k.eq)?i.init=this.parseMaybeAssign(t):"const"!==r||this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===i.id.type||t&&(this.type===k._in||this.isContextual("of"))?i.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(k.comma))break}return e},W.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?1:2,!1)};var Q=1,X=2;W.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===k.star&&t&X&&this.unexpected(),e.generator=this.eat(k.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Q&&(e.id=4&t&&this.type!==k.name?null:this.parseIdent(),!e.id||t&X||this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(D(e.async,e.generator)),t&Q||(e.id=this.type===k.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&Q?"FunctionDeclaration":"FunctionExpression")},W.parseFunctionParams=function(e){this.expect(k.parenL),e.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},W.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),n=!1;for(i.body=[],this.expect(k.braceL);!this.eat(k.braceR);){var s=this.parseClassElement(null!==e.superClass);s&&(i.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind&&(n&&this.raise(s.start,"Duplicate constructor in the same class"),n=!0))}return e.body=this.finishNode(i,"ClassBody"),this.strict=r,this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},W.parseClassElement=function(e){var t=this;if(this.eat(k.semi))return null;var r=this.startNode(),i=function(e,i){void 0===i&&(i=!1);var n=t.start,s=t.startLoc;return!(!t.eatContextual(e)||(t.type===k.parenL||i&&t.canInsertSemicolon())&&(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(n,s),r.key.name=e,t.finishNode(r.key,"Identifier"),1))};r.kind="method",r.static=i("static");var n=this.eat(k.star),s=!1;n||(this.options.ecmaVersion>=8&&i("async",!0)?(s=!0,n=this.options.ecmaVersion>=9&&this.eat(k.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var a=r.key,o=!1;return r.computed||r.static||!("Identifier"===a.type&&"constructor"===a.name||"Literal"===a.type&&"constructor"===a.value)?r.static&&"Identifier"===a.type&&"prototype"===a.name&&this.raise(a.start,"Classes may not have a static property named prototype"):("method"!==r.kind&&this.raise(a.start,"Constructor can't have get/set modifier"),n&&this.raise(a.start,"Constructor can't be a generator"),s&&this.raise(a.start,"Constructor can't be an async method"),r.kind="constructor",o=e),this.parseClassMethod(r,n,s,o),"get"===r.kind&&0!==r.value.params.length&&this.raiseRecoverable(r.value.start,"getter should have no params"),"set"===r.kind&&1!==r.value.params.length&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),"set"===r.kind&&"RestElement"===r.value.params[0].type&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},W.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")},W.parseClassId=function(e,t){this.type===k.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},W.parseClassSuper=function(e){e.superClass=this.eat(k._extends)?this.parseExprSubscripts():null},W.parseExport=function(e,t){if(this.next(),this.eat(k.star))return this.expectContextual("from"),this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(k._default)){var r;if(this.checkExport(t,"default",this.lastTokStart),this.type===k._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,4|Q,!1,r)}else if(this.type===k._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var s=0,a=e.specifiers;s=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,n=e.properties;i=8&&!s&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(k._function))return this.parseFunction(this.startNodeAt(i,n),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(k.arrow))return this.parseArrowExpression(this.startNodeAt(i,n),[a],!1);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===k.name&&!s)return a=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(k.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,n),[a],!0)}return a;case k.regexp:var o=this.value;return(t=this.parseLiteral(o.value)).regex={pattern:o.pattern,flags:o.flags},t;case k.num:case k.string:return this.parseLiteral(this.value);case k._null:case k._true:case k._false:return(t=this.startNode()).value=this.type===k._null?null:this.type===k._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case k.parenL:var c=this.start,h=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),h;case k.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(k.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case k.braceL:return this.parseObj(!1,e);case k._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case k._class:return this.parseClass(this.startNode(),!1);case k._new:return this.parseNew();case k.backQuote:return this.parseTemplate();case k._import:return this.options.ecmaVersion>10?this.parseDynamicImport():this.unexpected();default:this.unexpected()}},Z.parseDynamicImport=function(){var e=this.startNode();return this.next(),this.type!==k.parenL&&this.unexpected(),this.finishNode(e,"Import")},Z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1)),this.next(),this.finishNode(t,"Literal")},Z.parseParenExpression=function(){this.expect(k.parenL);var e=this.parseExpression();return this.expect(k.parenR),e},Z.parseParenAndDistinguishExpression=function(e){var t,r=this.start,i=this.startLoc,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,a=this.start,o=this.startLoc,c=[],h=!0,u=!1,l=new G,p=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==k.parenR;){if(h?h=!1:this.expect(k.comma),n&&this.afterTrailingComma(k.parenR,!0)){u=!0;break}if(this.type===k.ellipsis){s=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,l,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(k.parenR),e&&!this.canInsertSemicolon()&&this.eat(k.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=d,this.parseParenArrowList(r,i,c);c.length&&!u||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(l,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=d||this.awaitPos,c.length>1?((t=this.startNodeAt(a,o)).expressions=c,this.finishNodeAt(t,"SequenceExpression",f,m)):t=c[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(r,i);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")}return t},Z.parseParenItem=function(e){return e},Z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var Y=[];Z.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(k.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||r)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,n=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0),this.options.ecmaVersion>10&&"Import"===e.callee.type&&this.raise(e.callee.start,"Cannot use new with import(...)"),e.arguments=this.eat(k.parenL)?this.parseExprList(k.parenR,this.options.ecmaVersion>=8&&"Import"!==e.callee.type,!1):Y,this.finishNode(e,"NewExpression")},Z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===k.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===k.backQuote,this.finishNode(r,"TemplateElement")},Z.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===k.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(k.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(k.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},Z.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===k.name||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===k.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},Z.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(k.braceR);){if(i)i=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,n,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},Z.parseProperty=function(e,t){var r,i,n,s,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(k.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===k.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===k.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(n=this.start,s=this.startLoc),e||(r=this.eat(k.star)));var o=this.containsEsc;return this.parsePropertyName(a),!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(a)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(k.star),this.parsePropertyName(a,t)):i=!1,this.parsePropertyValue(a,e,r,i,n,s,t,o),this.finishNode(a,"Property")},Z.parsePropertyValue=function(e,t,r,i,n,s,a,o){(r||i)&&this.type===k.colon&&this.unexpected(),this.eat(k.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):this.options.ecmaVersion>=6&&this.type===k.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i)):t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===k.comma||this.type===k.braceR?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,s,e.key):this.type===k.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected():((r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1),e.value.params.length!==("get"===e.kind?0:1)?this.raiseRecoverable(e.value.start,"get"===e.kind?"getter should have no params":"setter should have exactly one param"):"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params"))},Z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(k.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(k.bracketR),e.key;e.computed=!1}return e.key=this.type===k.num||this.type===k.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Z.parseMethod=function(e,t,r){var i=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|D(t,i.generator)|(r?128:0)),this.expect(k.parenL),i.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")},Z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|D(r,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=n,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},Z.parseFunctionBody=function(e,t,r){var i=this.strict,n=!1;if(t&&this.type!==k.braceL)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!s||(n=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var a=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!i&&!n&&!t&&!r&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=a}this.exitScope(),this.strict&&e.id&&this.checkLVal(e.id,5),this.strict=i},Z.isSimpleParamList=function(e){for(var t=0,r=e;t-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&1&n.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var s=this.currentScope();i=this.treatFunctionsAsVar?s.lexical.indexOf(e)>-1:s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(e)>-1&&!(32&o.flags&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){i=!0;break}if(o.var.push(e),this.inModule&&1&o.flags&&delete this.undefinedExports[e],3&o.flags)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ee.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ee.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ee.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},ee.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};var re=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new O(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},ie=U.prototype;function ne(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}ie.startNode=function(){return new re(this,this.start,this.startLoc)},ie.startNodeAt=function(e,t){return new re(this,e,t)},ie.finishNode=function(e,t){return ne.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ie.finishNodeAt=function(e,t,r,i){return ne.call(this,e,t,r,i)};var se=function(e,t,r,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=i,this.generator=!!n},ae={b_stat:new se("{",!1),b_expr:new se("{",!0),b_tmpl:new se("${",!1),p_stat:new se("(",!1),p_expr:new se("(",!0),q_tmpl:new se("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new se("function",!1),f_expr:new se("function",!0),f_expr_gen:new se("function",!0,!1,null,!0),f_gen:new se("function",!1,!1,null,!0)},oe=U.prototype;oe.initialContext=function(){return[ae.b_stat]},oe.braceIsBlock=function(e){var t=this.curContext();return t===ae.f_expr||t===ae.f_stat||(e!==k.colon||t!==ae.b_stat&&t!==ae.b_expr?e===k._return||e===k.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):e===k._else||e===k.semi||e===k.eof||e===k.parenR||e===k.arrow||(e===k.braceL?t===ae.b_stat:e!==k._var&&e!==k._const&&e!==k.name&&!this.exprAllowed):!t.isExpr)},oe.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},oe.updateContext=function(e){var t,r=this.type;r.keyword&&e===k.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},k.parenR.updateContext=k.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===ae.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},k.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ae.b_stat:ae.b_expr),this.exprAllowed=!0},k.dollarBraceL.updateContext=function(){this.context.push(ae.b_tmpl),this.exprAllowed=!0},k.parenL.updateContext=function(e){this.context.push(e===k._if||e===k._for||e===k._with||e===k._while?ae.p_stat:ae.p_expr),this.exprAllowed=!0},k.incDec.updateContext=function(){},k._function.updateContext=k._class.updateContext=function(e){!e.beforeExpr||e===k.semi||e===k._else||e===k._return&&w.test(this.input.slice(this.lastTokEnd,this.start))||(e===k.colon||e===k.braceL)&&this.curContext()===ae.b_stat?this.context.push(ae.f_stat):this.context.push(ae.f_expr),this.exprAllowed=!1},k.backQuote.updateContext=function(){this.curContext()===ae.q_tmpl?this.context.pop():this.context.push(ae.q_tmpl),this.exprAllowed=!1},k.star.updateContext=function(e){if(e===k._function){var t=this.context.length-1;this.context[t]=this.context[t]===ae.f_expr?ae.f_expr_gen:ae.f_gen}this.exprAllowed=!0},k.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==k.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ce={9:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",10:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic",11:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic"},he="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ue={9:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",10:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",11:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},le={};function pe(e){var t=le[e]={binary:N(ce[e]+" "+he),nonBinary:{General_Category:N(he),Script:N(ue[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}pe(9),pe(10),pe(11);var de=U.prototype,fe=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=le[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function me(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function ge(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function ye(e){return e>=65&&e<=90||e>=97&&e<=122}function ve(e){return ye(e)||95===e}function xe(e){return ve(e)||be(e)}function be(e){return e>=48&&e<=57}function _e(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function ke(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function we(e){return e>=48&&e<=55}fe.prototype.reset=function(e,t,r){var i=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchN=i&&this.parser.options.ecmaVersion>=9},fe.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},fe.prototype.at=function(e){var t=this.source,r=t.length;if(e>=r)return-1;var i=t.charCodeAt(e);if(!this.switchU||i<=55295||i>=57344||e+1>=r)return i;var n=t.charCodeAt(e+1);return n>=56320&&n<=57343?(i<<10)+n-56613888:i},fe.prototype.nextIndex=function(e){var t=this.source,r=t.length;if(e>=r)return r;var i,n=t.charCodeAt(e);return!this.switchU||n<=55295||n>=57344||e+1>=r||(i=t.charCodeAt(e+1))<56320||i>57343?e+1:e+2},fe.prototype.current=function(){return this.at(this.pos)},fe.prototype.lookahead=function(){return this.at(this.nextIndex(this.pos))},fe.prototype.advance=function(){this.pos=this.nextIndex(this.pos)},fe.prototype.eat=function(e){return this.current()===e&&(this.advance(),!0)},de.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i-1&&this.raise(e.start,"Duplicate regular expression flag")}},de.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},de.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},de.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},de.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},de.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return-1!==n&&n=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},de.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},de.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},de.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!ge(t)&&(e.lastIntValue=t,e.advance(),!0)},de.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!ge(r);)e.advance();return e.pos!==t},de.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},de.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},de.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},de.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=me(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=me(e.lastIntValue);return!0}return!1},de.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=e.current();return e.advance(),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(r=e.lastIntValue),function(e){return f(e,!0)||36===e||95===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},de.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=e.current();return e.advance(),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(r=e.lastIntValue),function(e){return m(e,!0)||36===e||95===e||8204===e||8205===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},de.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},de.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},de.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},de.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},de.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},de.regexp_eatZero=function(e){return 48===e.current()&&!be(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},de.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},de.regexp_eatControlLetter=function(e){var t=e.current();return!!ye(t)&&(e.lastIntValue=t%32,e.advance(),!0)},de.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t,r=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(e.switchU&&i>=55296&&i<=56319){var n=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=1024*(i-55296)+(s-56320)+65536,!0}e.pos=n,e.lastIntValue=i}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(t=e.lastIntValue)>=0&&t<=1114111)return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=r}return!1},de.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},de.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},de.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},de.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e))return this.regexp_validateUnicodePropertyNameAndValue(e,r,e.lastStringValue),!0}return e.pos=t,!!this.regexp_eatLoneUnicodePropertyNameOrValue(e)&&(this.regexp_validateUnicodePropertyNameOrValue(e,e.lastStringValue),!0)},de.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){L(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},de.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},de.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";ve(t=e.current());)e.lastStringValue+=me(t),e.advance();return""!==e.lastStringValue},de.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";xe(t=e.current());)e.lastStringValue+=me(t),e.advance();return""!==e.lastStringValue},de.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},de.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},de.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;!e.switchU||-1!==t&&-1!==r||e.raise("Invalid character class"),-1!==t&&-1!==r&&t>r&&e.raise("Range out of order in character class")}}},de.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||we(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return 93!==i&&(e.lastIntValue=i,e.advance(),!0)},de.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},de.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!be(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},de.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},de.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;be(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},de.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;_e(r=e.current());)e.lastIntValue=16*e.lastIntValue+ke(r),e.advance();return e.pos!==t},de.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;e.lastIntValue=t<=3&&this.regexp_eatOctalDigit(e)?64*t+8*r+e.lastIntValue:8*t+r}else e.lastIntValue=t;return!0}return!1},de.regexp_eatOctalDigit=function(e){var t=e.current();return we(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},de.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i>10),56320+(1023&e)))}Ee.next=function(){this.options.onToken&&this.options.onToken(new Se(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ee.getToken=function(){return this.next(),new Se(this)},"undefined"!=typeof Symbol&&(Ee[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===k.eof,value:t}}}}),Ee.curContext=function(){return this.context[this.context.length-1]},Ee.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(k.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Ee.readToken=function(e){return f(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Ee.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Ee.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),r=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(S.lastIndex=r;(e=S.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},Ee.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},Ee.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(k.ellipsis)):(++this.pos,this.finishToken(k.dot))},Ee.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(k.assign,2):this.finishOp(k.slash,1)},Ee.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=42===e?k.star:k.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,i=k.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(k.assign,r+1):this.finishOp(i,r)},Ee.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?k.logicalOR:k.logicalAND,2):61===t?this.finishOp(k.assign,2):this.finishOp(124===e?k.bitwiseOR:k.bitwiseAND,1)},Ee.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(k.assign,2):this.finishOp(k.bitwiseXOR,1)},Ee.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!w.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(k.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(k.assign,2):this.finishOp(k.plusMin,1)},Ee.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(k.assign,r+1):this.finishOp(k.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(k.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Ee.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(k.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(k.arrow)):this.finishOp(61===e?k.eq:k.prefix,1)},Ee.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(k.parenL);case 41:return++this.pos,this.finishToken(k.parenR);case 59:return++this.pos,this.finishToken(k.semi);case 44:return++this.pos,this.finishToken(k.comma);case 91:return++this.pos,this.finishToken(k.bracketL);case 93:return++this.pos,this.finishToken(k.bracketR);case 123:return++this.pos,this.finishToken(k.braceL);case 125:return++this.pos,this.finishToken(k.braceR);case 58:return++this.pos,this.finishToken(k.colon);case 63:return++this.pos,this.finishToken(k.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(k.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(k.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ce(e)+"'")},Ee.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},Ee.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(w.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++this.pos}var n=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var o=this.regexpState||(this.regexpState=new fe(this));o.reset(r,n,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var c=null;try{c=new RegExp(n,a)}catch(h){}return this.finishToken(k.regexp,{pattern:n,flags:a,value:c})},Ee.readInt=function(e,t){for(var r=this.pos,i=0,n=0,s=null==t?1/0:t;n=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,i=i*e+a}return this.pos===r||null!=t&&this.pos-r!==t?null:i},Ee.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r="undefined"!=typeof BigInt?BigInt(this.input.slice(t,this.pos)):null,++this.pos):f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,r)},Ee.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var r=this.pos-t>=2&&48===this.input.charCodeAt(t);r&&this.strict&&this.raise(t,"Invalid number"),r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1);var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===i){var n=this.input.slice(t,this.pos),s="undefined"!=typeof BigInt?BigInt(n):null;return++this.pos,f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,s)}46!==i||r||(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),69!==i&&101!==i||r||(43!==(i=this.input.charCodeAt(++this.pos))&&45!==i||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=this.input.slice(t,this.pos),o=r?parseInt(a,8):parseFloat(a);return this.finishToken(k.num,o)},Ee.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Ee.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;92===i?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(E(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(k.string,t)};var Ie={};Ee.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Ie)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Ee.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ie;this.raise(e,t)},Ee.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==k.template&&this.type!==k.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(k.template,e)):36===r?(this.pos+=2,this.finishToken(k.dollarBraceL)):(++this.pos,this.finishToken(k.backQuote));if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(E(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Ee.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return E(t)?"":String.fromCharCode(t)}},Ee.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},Ee.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos{let s=d(e);t+=s.weight,this._keys.push(s),this._keyMap[s.id]=s,t+=s.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function d(e){let t=null,s=null,i=null,c=1;if(r(e)||n(e))i=e,t=g(e),s=p(e);else{if(!l.call(e,"name"))throw new Error("Missing name property in key");const n=e.name;if(i=n,l.call(e,"weight")&&(c=e.weight,c<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(n));t=g(n),s=p(n)}return{path:t,id:s,weight:c,src:i}}function g(e){return n(e)?e:e.split(".")}function p(e){return n(e)?e.join("."):e}var f={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx{if(a(e))if(t[u]){const d=e[t[u]];if(!a(d))return;if(u===t.length-1&&(r(d)||i(d)||function(e){return!0===e||!1===e||function(e){return c(e)&&null!==e}(e)&&"[object Boolean]"==h(e)}(d)))s.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(d));else if(n(d)){o=!0;for(let e=0,s=d.length;e{this._keysMap[e.id]=t})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,r(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();r(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,s=this.size();t{let c=this.getFn(e,t.path);if(a(c))if(n(c)){let e=[];const t=[{nestedArrIndex:-1,value:c}];for(;t.length;){const{nestedArrIndex:s,value:i}=t.pop();if(a(i))if(r(i)&&!o(i)){let t={v:i,i:s,n:this.norm.get(i)};e.push(t)}else n(i)&&i.forEach((e,s)=>{t.push({nestedArrIndex:s,value:e})})}s.$[i]=e}else if(!o(c)){let e={v:c,n:this.norm.get(c)};s.$[i]=e}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function M(e,t,{getFn:s=f.getFn}={}){const n=new y({getFn:s});return n.setKeys(e.map(d)),n.setSources(t),n.create(),n}function x(e,{getFn:t=f.getFn}={}){const{keys:s,records:n}=e,r=new y({getFn:t});return r.setKeys(s),r.setIndexRecords(n),r}function _(e,{errors:t=0,currentLocation:s=0,expectedLocation:n=0,distance:r=f.distance,ignoreLocation:i=f.ignoreLocation}={}){const c=t/e.length;if(i)return c;const a=Math.abs(n-s);return r?c+a/r:a?1:c}function k(e){let t={};for(let s=0,n=e.length;s{this.chunks.push({pattern:e,alphabet:k(e),startIndex:t})},l=this.pattern.length;if(l>32){let e=0;const t=l%32,s=l-t;for(;e{const{isMatch:p,score:m,indices:y}=function(e,t,s,{location:n=f.location,distance:r=f.distance,threshold:i=f.threshold,findAllMatches:c=f.findAllMatches,minMatchCharLength:a=f.minMatchCharLength,includeMatches:o=f.includeMatches,ignoreLocation:h=f.ignoreLocation}={}){if(t.length>32)throw new Error("Pattern length exceeds max of 32.");const l=t.length,u=e.length,d=Math.max(0,Math.min(n,u));let g=i,p=d;const m=a>1||o,y=m?Array(u):[];let M;for(;(M=e.indexOf(t,p))>-1;){let e=_(t,{currentLocation:M,expectedLocation:d,distance:r,ignoreLocation:h});if(g=Math.min(e,g),p=M+l,m){let e=0;for(;e=a;c-=1){let n=c-1,i=s[e.charAt(n)];if(m&&(y[n]=+!!i),M[c]=(M[c+1]<<1|1)&i,f&&(M[c]|=(x[c+1]|x[c])<<1|1|x[c+1]),M[c]&I&&(k=_(t,{errors:f,currentLocation:n,expectedLocation:d,distance:r,ignoreLocation:h}),k<=g)){if(g=k,p=n,p<=d)break;a=Math.max(1,2*d-p)}}if(_(t,{errors:f+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:h})>g)break;x=M}const S={isMatch:p>=0,score:Math.max(.001,k)};if(m){const e=function(e=[],t=f.minMatchCharLength){let s=[],n=-1,r=-1,i=0;for(let c=e.length;i=t&&s.push([n,r]),n=-1)}return e[i-1]&&i-n>=t&&s.push([n,i-1]),s}(y,a);e.length?o&&(S.indices=e):S.isMatch=!1}return S}(e,t,d,{location:n+g,distance:r,threshold:i,findAllMatches:c,minMatchCharLength:a,includeMatches:s,ignoreLocation:o});p&&(u=!0),l+=m,p&&y&&(h=[...h,...y])});let d={isMatch:u,score:u?l/this.chunks.length:1};return u&&s&&(d.indices=h),d}}class I{constructor(e){this.pattern=e}static isMultiMatch(e){return S(e,this.multiRegex)}static isSingleMatch(e){return S(e,this.singleRegex)}search(){}}function S(e,t){const s=e.match(t);return s?s[1]:null}class b extends I{constructor(e,{location:t=f.location,threshold:s=f.threshold,distance:n=f.distance,includeMatches:r=f.includeMatches,findAllMatches:i=f.findAllMatches,minMatchCharLength:c=f.minMatchCharLength,isCaseSensitive:a=f.isCaseSensitive,ignoreLocation:o=f.ignoreLocation}={}){super(e),this._bitapSearch=new L(e,{location:t,threshold:s,distance:n,includeMatches:r,findAllMatches:i,minMatchCharLength:c,isCaseSensitive:a,ignoreLocation:o})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class v extends I{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,s=0;const n=[],r=this.pattern.length;for(;(t=e.indexOf(this.pattern,s))>-1;)s=t+r,n.push([t,s-1]);const i=!!n.length;return{isMatch:i,score:i?0:1,indices:n}}}const w=[class extends I{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},v,class extends I{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends I{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends I{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends I{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends I{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},b],$=w.length,A=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/,C=new Set([b.type,v.type]),F=[];function E(e,t){for(let s=0,n=F.length;s!(!e.$and&&!e.$or),R=e=>({$and:Object.keys(e).map(t=>({[t]:e[t]}))});function j(e,t,{auto:s=!0}={}){const i=e=>{let a=Object.keys(e);const o=(e=>!!e.$path)(e);if(!o&&a.length>1&&!O(e))return i(R(e));if((e=>!n(e)&&c(e)&&!O(e))(e)){const n=o?e.$path:a[0],i=o?e.$val:e[n];if(!r(i))throw new Error((e=>`Invalid value for key ${e}`)(n));const c={keyId:p(n),pattern:i};return s&&(c.searcher=E(i,t)),c}let h={children:[],operator:a[0]};return a.forEach(t=>{const s=e[t];n(s)&&s.forEach(e=>{h.children.push(i(e))})}),h};return O(e)||(e=R(e)),i(e)}function q(e,t){const s=e.matches;t.matches=[],a(s)&&s.forEach(e=>{if(!a(e.indices)||!e.indices.length)return;const{indices:s,value:n}=e;let r={indices:s,value:n};e.key&&(r.key=e.key.src),e.idx>-1&&(r.refIndex=e.idx),t.matches.push(r)})}function N(e,t){t.score=e.score}let T=(()=>{class e{constructor(e,t={},s){this.options={...f,...t},this._keyStore=new u(this.options.keys),this.setCollection(e,s)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof y))throw new Error("Incorrect 'index' type");this._myIndex=t||M(this.options.keys,this._docs,{getFn:this.options.getFn})}add(e){a(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let s=0,n=this._docs.length;s{let s=1;e.matches.forEach(({key:e,norm:n,score:r})=>{const i=e?e.weight:null;s*=Math.pow(0===r&&i?Number.EPSILON:r,(i||1)*(t?1:n))}),e.score=s})}(h,{ignoreFieldNorm:o}),c&&h.sort(a),i(t)&&t>-1&&(h=h.slice(0,t)),function(e,t,{includeMatches:s=f.includeMatches,includeScore:n=f.includeScore}={}){const r=[];return s&&r.push(q),n&&r.push(N),e.map(e=>{const{idx:s}=e,n={item:t[s],refIndex:s};return r.length&&r.forEach(t=>{t(e,n)}),n})}(h,this._docs,{includeMatches:s,includeScore:n})}_searchStringList(e){const t=E(e,this.options),{records:s}=this._myIndex,n=[];return s.forEach(({v:e,i:s,n:r})=>{if(!a(e))return;const{isMatch:i,score:c,indices:o}=t.searchIn(e);i&&n.push({item:e,idx:s,matches:[{score:c,value:e,norm:r,indices:o}]})}),n}_searchLogical(e){const t=j(e,this.options),s=(e,t,n)=>{if(!e.children){const{keyId:s,searcher:r}=e,i=this._findMatches({key:this._keyStore.get(s),value:this._myIndex.getValueForItemAtKeyId(t,s),searcher:r});return i&&i.length?[{idx:n,item:t,matches:i}]:[]}switch(e.operator){case"$and":{const r=[];for(let i=0,c=e.children.length;i{if(a(e)){let c=s(t,e,i);c.length&&(n[i]||(n[i]={idx:i,item:e,matches:[]},r.push(n[i])),c.forEach(({matches:e})=>{n[i].matches.push(...e)}))}}),r}_searchObjectList(e){const t=E(e,this.options),{keys:s,records:n}=this._myIndex,r=[];return n.forEach(({$:e,i:n})=>{if(!a(e))return;let i=[];s.forEach((s,n)=>{i.push(...this._findMatches({key:s,value:e[n],searcher:t}))}),i.length&&r.push({idx:n,item:e,matches:i})}),r}_findMatches({key:e,value:t,searcher:s}){if(!a(t))return[];let r=[];if(n(t))t.forEach(({v:t,i:n,n:i})=>{if(!a(t))return;const{isMatch:c,score:o,indices:h}=s.searchIn(t);c&&r.push({score:o,key:e,value:t,idx:n,norm:i,indices:h})});else{const{v:n,n:i}=t,{isMatch:c,score:a,indices:o}=s.searchIn(n);c&&r.push({score:a,key:e,value:n,norm:i,indices:o})}return r}}return e.version="6.4.6",e.createIndex=M,e.parseIndex=x,e.config=f,e})();T.parseQuery=j,function(...e){F.push(...e)}(class{constructor(e,{isCaseSensitive:t=f.isCaseSensitive,includeMatches:s=f.includeMatches,minMatchCharLength:n=f.minMatchCharLength,ignoreLocation:r=f.ignoreLocation,findAllMatches:i=f.findAllMatches,location:c=f.location,threshold:a=f.threshold,distance:o=f.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:s,minMatchCharLength:n,findAllMatches:i,ignoreLocation:r,location:c,threshold:a,distance:o},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map(e=>{let s=e.trim().split(A).filter(e=>e&&!!e.trim()),n=[];for(let r=0,i=s.length;r{e=[...e,...this.getTypeIndices(t,!0,e)]});const t=this.schema.getTypeMap();return Object.keys(t).forEach(s=>{/^__/.test(s)||(e=[...e,...this.getTypeIndices(t[s],!1,e)])}),this.searchIndex=e,e}getFieldsIndices(e,t,s,n){let r=[];return Object.keys(e).forEach(i=>{const c=e[i],a={search:c.name,name:c.name,description:c.description?c.description:"",args:c.args?c.args.map(e=>({name:e.name,description:e.description})):[],cat:"field",type:t.name,isQuery:s,highlight:"field"};r=[...r,a],c.args&&c.args.length&&c.args.forEach(e=>{r=[...r,{...a,search:e.name,highlight:"argument"}]}),c.type&&(r=[...r,...this.getTypeIndices(c.type,!1,[...n,...r]).filter(e=>!!e)])}),r}getTypeIndices(e,t,s){let n=null;if(!e.name)return[];if(s.some(t=>t.name===e.name&&"type"===t.cat))return[];e.getFields&&(n=e.getFields());const r=[{search:e.name,name:e.name,cat:"type",description:e.description?e.description:"",isRoot:t,highlight:"type"}];return n?[...r,...this.getFieldsIndices(n,e,t,[...s,...r]).filter(e=>!!e)]:r}searchDocs(e){return this.searchIndex.length?new z(this.searchIndex,{keys:["search"],threshold:.4}).search(e).map(e=>e.item):[]}generateQuery(e,t,s){let n="",r=!1;if(!this.schema)return;switch(t){case this.schema.getQueryType()&&this.schema.getQueryType().name:n+="query";break;case this.schema.getMutationType()&&this.schema.getMutationType().name:n+="mutation";break;case this.schema.getSubscriptionType()&&this.schema.getSubscriptionType().name:n+="subscription";break;default:n+=`fragment _____ on ${t}`,r=!0}const i=this.generateFieldData(e,t,[],1,s);if(!i)return;n+=`{\n${i.query}\n}`;const c={...i.meta};return c.hasArgs=r||c.hasArgs,{query:n,meta:c}}cleanName(e){return e.replace(/[\[\]!]/g,"")}generateFieldData(e,t,s,n,r={}){if(!(e&&t&&s&&this.schema))return{query:"",meta:{}};const i=r.tabSize||2,c=this.schema.getType(t),a=c&&c.getFields()[e];if(!a)return{query:"",meta:{}};const o={hasArgs:!1};let h=" ".repeat(n*i)+a.name;a.args&&a.args.length&&(o.hasArgs=!0,h+=`(${a.args.reduce((e,t)=>e+", "+t.name+": ______","").substring(2)})`);const l=this.cleanName(a.type.inspect()),u=this.schema.getType(l);if(s.filter(e=>e.type===l).length)return{query:"",meta:{}};if(n>=(r.addQueryDepthLimit||0))return{query:"",meta:{}};const d=u&&u.getFields&&u.getFields();let g="";return d&&(g=Object.keys(d).reduce((t,i)=>{if(s.filter(e=>e.name===i&&e.type===l).length)return"";const c=this.generateFieldData(i,l,[...s,{name:e,type:l}],n+1,r);if(!c)return t;const a=c.query;return o.hasArgs=o.hasArgs||c.meta.hasArgs||!1,a?t+"\n"+a:t},"").substring(1)),g&&(h+=`{\n${g}\n`,h+=" ".repeat(n*i)+"}"),{query:h,meta:o}}}}}]); \ No newline at end of file diff --git a/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/14-es2018.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/14-es2018.js new file mode 100644 index 00000000..ba5e4f1c --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/14-es2018.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{azY9:function(e,n,t){!function(e){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e,n){return e(n={exports:{}},n.exports),n.exports}var r=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,n){if(!Boolean(e))throw new Error(n)}});t(r);var o=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){"function"==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}});t(o);var a=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Source=void 0;var t=a(r),i=a(o);function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e,n,i){this.body=e,this.name=n||"GraphQL request",this.locationOffset=i||{line:1,column:1},this.locationOffset.line>0||(0,t.default)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||(0,t.default)(0,"column in locationOffset is 1-indexed and must be positive")};n.Source=s,(0,i.default)(s)});t(a);var s=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.getLocation=function(e,n){for(var t,i=/\r\n|[\n\r]/g,r=1,o=n+1;(t=i.exec(e.body))&&t.index120){for(var p=Math.floor(c/80),f=c%80,h=[],T=0;T",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});n.TokenKind=t});t(l);var d=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;n.default=t});t(d);var p=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=n,e.prototype.inspect=n,i.default&&(e.prototype[i.default]=n)};var t,i=(t=d)&&t.__esModule?t:{default:t}});t(p);var f=i(function(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"==i(e)&&null!==e}});t(f);var h=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.GraphQLError=r,n.printError=o;var t,i=(t=f)&&t.__esModule?t:{default:t};function r(e,n,t,o,a,c,u){var l=Array.isArray(n)?0!==n.length?n:void 0:n?[n]:void 0,d=t;if(!d&&l){var p=l[0];d=p&&p.loc&&p.loc.source}var f,h=o;!h&&l&&(h=l.reduce(function(e,n){return n.loc&&e.push(n.loc.start),e},[])),h&&0===h.length&&(h=void 0),o&&t?f=o.map(function(e){return(0,s.getLocation)(t,e)}):l&&(f=l.reduce(function(e,n){return n.loc&&e.push((0,s.getLocation)(n.loc.source,n.loc.start)),e},[]));var T=u;if(null==T&&null!=c){var v=c.extensions;(0,i.default)(v)&&(T=v)}Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:f||void 0,enumerable:Boolean(f)},path:{value:a||void 0,enumerable:Boolean(a)},nodes:{value:l||void 0},source:{value:d||void 0},positions:{value:h||void 0},originalError:{value:c},extensions:{value:T||void 0,enumerable:Boolean(T)}}),c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,r):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}function o(e){var n=e.message;if(e.nodes)for(var t=0,i=e.nodes;t0&&r(n[0]);)n.shift();for(;n.length>0&&r(n[n.length-1]);)n.pop();return n.join("\n")},n.getBlockStringIndentation=t,n.printBlockString=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=-1===e.indexOf("\n"),r=!i||'"'===e[e.length-1]||t,o="";return!r||i&&(" "===e[0]||"\t"===e[0])||(o+="\n"+n),o+=n?e.replace(/\n/g,"\n"+n):e,r&&(o+="\n"),'"""'+o.replace(/"""/g,'\\"""')+'"""'}});t(v);var E=i(function(e,n){var t;function i(){return this.lastToken=this.token,this.token=this.lookahead()}function r(){var e=this.token;if(e.kind!==l.TokenKind.EOF)do{e=e.next||(e.next=s(this,e))}while(e.kind===l.TokenKind.COMMENT);return e}function o(e,n,t,i,r,o,a){this.kind=e,this.start=n,this.end=t,this.line=i,this.column=r,this.value=a,this.prev=o,this.next=null}function a(e){return isNaN(e)?l.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function s(e,n){var t=e.source,i=t.body,r=i.length,s=function(e,n,t){for(var i=e.length,r=n;r=r)return new o(l.TokenKind.EOF,r,r,d,p,n);var f=i.charCodeAt(s);switch(f){case 33:return new o(l.TokenKind.BANG,s,s+1,d,p,n);case 35:return function(e,n,t,i,r){var a,s=e.body,c=n;do{a=s.charCodeAt(++c)}while(!isNaN(a)&&(a>31||9===a));return new o(l.TokenKind.COMMENT,n,c,t,i,r,s.slice(n+1,c))}(t,s,d,p,n);case 36:return new o(l.TokenKind.DOLLAR,s,s+1,d,p,n);case 38:return new o(l.TokenKind.AMP,s,s+1,d,p,n);case 40:return new o(l.TokenKind.PAREN_L,s,s+1,d,p,n);case 41:return new o(l.TokenKind.PAREN_R,s,s+1,d,p,n);case 46:if(46===i.charCodeAt(s+1)&&46===i.charCodeAt(s+2))return new o(l.TokenKind.SPREAD,s,s+3,d,p,n);break;case 58:return new o(l.TokenKind.COLON,s,s+1,d,p,n);case 61:return new o(l.TokenKind.EQUALS,s,s+1,d,p,n);case 64:return new o(l.TokenKind.AT,s,s+1,d,p,n);case 91:return new o(l.TokenKind.BRACKET_L,s,s+1,d,p,n);case 93:return new o(l.TokenKind.BRACKET_R,s,s+1,d,p,n);case 123:return new o(l.TokenKind.BRACE_L,s,s+1,d,p,n);case 124:return new o(l.TokenKind.PIPE,s,s+1,d,p,n);case 125:return new o(l.TokenKind.BRACE_R,s,s+1,d,p,n);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,n,t,i,r){for(var a=e.body,s=a.length,c=n+1,u=0;c!==s&&!isNaN(u=a.charCodeAt(c))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++c;return new o(l.TokenKind.NAME,n,c,t,i,r,a.slice(n,c))}(t,s,d,p,n);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,n,t,i,r,s){var u=e.body,d=t,p=n,f=!1;if(45===d&&(d=u.charCodeAt(++p)),48===d){if((d=u.charCodeAt(++p))>=48&&d<=57)throw(0,T.syntaxError)(e,p,"Invalid number, unexpected digit after 0: ".concat(a(d),"."))}else p=c(e,p,d),d=u.charCodeAt(p);if(46===d&&(f=!0,d=u.charCodeAt(++p),p=c(e,p,d),d=u.charCodeAt(p)),69!==d&&101!==d||(f=!0,43!==(d=u.charCodeAt(++p))&&45!==d||(d=u.charCodeAt(++p)),p=c(e,p,d),d=u.charCodeAt(p)),46===d||69===d||101===d)throw(0,T.syntaxError)(e,p,"Invalid number, expected digit but got: ".concat(a(d),"."));return new o(f?l.TokenKind.FLOAT:l.TokenKind.INT,n,p,i,r,s,u.slice(n,p))}(t,s,f,d,p,n);case 34:return 34===i.charCodeAt(s+1)&&34===i.charCodeAt(s+2)?function(e,n,t,i,r,s){for(var c=e.body,u=n+3,d=u,p=0,f="";u=48&&o<=57){do{o=i.charCodeAt(++r)}while(o>=48&&o<=57);return r}throw(0,T.syntaxError)(e,r,"Invalid number, expected digit but got: ".concat(a(o),"."))}function u(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}Object.defineProperty(n,"__esModule",{value:!0}),n.createLexer=function(e,n){var t=new o(l.TokenKind.SOF,0,0,0,0,null);return{source:e,options:n,lastToken:t,token:t,line:1,lineStart:0,advance:i,lookahead:r}},n.isPunctuatorToken=function(e){var n=e.kind;return n===l.TokenKind.BANG||n===l.TokenKind.DOLLAR||n===l.TokenKind.AMP||n===l.TokenKind.PAREN_L||n===l.TokenKind.PAREN_R||n===l.TokenKind.SPREAD||n===l.TokenKind.COLON||n===l.TokenKind.EQUALS||n===l.TokenKind.AT||n===l.TokenKind.BRACKET_L||n===l.TokenKind.BRACKET_R||n===l.TokenKind.BRACE_L||n===l.TokenKind.PIPE||n===l.TokenKind.BRACE_R},(0,((t=p)&&t.__esModule?t:{default:t}).default)(o,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}})});t(E);var y=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return a(e,[])};var i,r=(i=d)&&i.__esModule?i:{default:i};function o(e){return(o="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)})(e)}function a(e,n){switch(o(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,n){if(-1!==n.indexOf(e))return"[Circular]";var t=[].concat(n,[e]),i=function(e){var n=e[String(r.default)];return"function"==typeof n?n:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return"string"==typeof o?o:a(o,t)}else if(Array.isArray(e))return function(e,n){if(0===e.length)return"[]";if(n.length>2)return"[Array]";for(var t=Math.min(10,e.length),i=e.length-t,r=[],o=0;o1&&r.push("... ".concat(i," more items")),"["+r.join(", ")+"]"}(e,t);return function(e,n){var t=Object.keys(e);return 0===t.length?"{}":n.length>2?"["+function(e){var n=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof e.constructor){var t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return n}(e)+"]":"{ "+t.map(function(t){return t+": "+a(e[t],n)}).join(", ")+" }"}(e,t)}(e,n);default:return String(e)}}});t(y);var N=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DirectiveLocation=void 0;var t=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});n.DirectiveLocation=t});t(N);var m=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.parse=function(e,n){return new c(e,n).parseDocument()},n.parseValue=function(e,n){var t=new c(e,n);t.expectToken(l.TokenKind.SOF);var i=t.parseValueLiteral(!1);return t.expectToken(l.TokenKind.EOF),i},n.parseType=function(e,n){var t=new c(e,n);t.expectToken(l.TokenKind.SOF);var i=t.parseTypeReference();return t.expectToken(l.TokenKind.EOF),i};var t=s(y),i=s(r),o=s(p);function s(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e,n){var r="string"==typeof e?new a.Source(e):e;r instanceof a.Source||(0,i.default)(0,"Must provide Source. Received: ".concat((0,t.default)(r))),this._lexer=(0,E.createLexer)(r),this._options=n||{}}var n=e.prototype;return n.parseName=function(){var e=this.expectToken(l.TokenKind.NAME);return{kind:u.Kind.NAME,value:e.value,loc:this.loc(e)}},n.parseDocument=function(){var e=this._lexer.token;return{kind:u.Kind.DOCUMENT,definitions:this.many(l.TokenKind.SOF,this.parseDefinition,l.TokenKind.EOF),loc:this.loc(e)}},n.parseDefinition=function(){if(this.peek(l.TokenKind.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(l.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},n.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(l.TokenKind.BRACE_L))return{kind:u.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var n,t=this.parseOperationType();return this.peek(l.TokenKind.NAME)&&(n=this.parseName()),{kind:u.Kind.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseOperationType=function(){var e=this.expectToken(l.TokenKind.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},n.parseVariableDefinitions=function(){return this.optionalMany(l.TokenKind.PAREN_L,this.parseVariableDefinition,l.TokenKind.PAREN_R)},n.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:u.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(l.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(l.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},n.parseVariable=function(){var e=this._lexer.token;return this.expectToken(l.TokenKind.DOLLAR),{kind:u.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},n.parseSelectionSet=function(){var e=this._lexer.token;return{kind:u.Kind.SELECTION_SET,selections:this.many(l.TokenKind.BRACE_L,this.parseSelection,l.TokenKind.BRACE_R),loc:this.loc(e)}},n.parseSelection=function(){return this.peek(l.TokenKind.SPREAD)?this.parseFragment():this.parseField()},n.parseField=function(){var e,n,t=this._lexer.token,i=this.parseName();return this.expectOptionalToken(l.TokenKind.COLON)?(e=i,n=this.parseName()):n=i,{kind:u.Kind.FIELD,alias:e,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(l.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(t)}},n.parseArguments=function(e){return this.optionalMany(l.TokenKind.PAREN_L,e?this.parseConstArgument:this.parseArgument,l.TokenKind.PAREN_R)},n.parseArgument=function(){var e=this._lexer.token,n=this.parseName();return this.expectToken(l.TokenKind.COLON),{kind:u.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(!1),loc:this.loc(e)}},n.parseConstArgument=function(){var e=this._lexer.token;return{kind:u.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(l.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},n.parseFragment=function(){var e=this._lexer.token;this.expectToken(l.TokenKind.SPREAD);var n=this.expectOptionalKeyword("on");return!n&&this.peek(l.TokenKind.NAME)?{kind:u.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:u.Kind.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseFragmentDefinition=function(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:u.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:u.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},n.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},n.parseValueLiteral=function(e){var n=this._lexer.token;switch(n.kind){case l.TokenKind.BRACKET_L:return this.parseList(e);case l.TokenKind.BRACE_L:return this.parseObject(e);case l.TokenKind.INT:return this._lexer.advance(),{kind:u.Kind.INT,value:n.value,loc:this.loc(n)};case l.TokenKind.FLOAT:return this._lexer.advance(),{kind:u.Kind.FLOAT,value:n.value,loc:this.loc(n)};case l.TokenKind.STRING:case l.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case l.TokenKind.NAME:return"true"===n.value||"false"===n.value?(this._lexer.advance(),{kind:u.Kind.BOOLEAN,value:"true"===n.value,loc:this.loc(n)}):"null"===n.value?(this._lexer.advance(),{kind:u.Kind.NULL,loc:this.loc(n)}):(this._lexer.advance(),{kind:u.Kind.ENUM,value:n.value,loc:this.loc(n)});case l.TokenKind.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},n.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:u.Kind.STRING,value:e.value,block:e.kind===l.TokenKind.BLOCK_STRING,loc:this.loc(e)}},n.parseList=function(e){var n=this,t=this._lexer.token;return{kind:u.Kind.LIST,values:this.any(l.TokenKind.BRACKET_L,function(){return n.parseValueLiteral(e)},l.TokenKind.BRACKET_R),loc:this.loc(t)}},n.parseObject=function(e){var n=this,t=this._lexer.token;return{kind:u.Kind.OBJECT,fields:this.any(l.TokenKind.BRACE_L,function(){return n.parseObjectField(e)},l.TokenKind.BRACE_R),loc:this.loc(t)}},n.parseObjectField=function(e){var n=this._lexer.token,t=this.parseName();return this.expectToken(l.TokenKind.COLON),{kind:u.Kind.OBJECT_FIELD,name:t,value:this.parseValueLiteral(e),loc:this.loc(n)}},n.parseDirectives=function(e){for(var n=[];this.peek(l.TokenKind.AT);)n.push(this.parseDirective(e));return n},n.parseDirective=function(e){var n=this._lexer.token;return this.expectToken(l.TokenKind.AT),{kind:u.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(n)}},n.parseTypeReference=function(){var e,n=this._lexer.token;return this.expectOptionalToken(l.TokenKind.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(l.TokenKind.BRACKET_R),e={kind:u.Kind.LIST_TYPE,type:e,loc:this.loc(n)}):e=this.parseNamedType(),this.expectOptionalToken(l.TokenKind.BANG)?{kind:u.Kind.NON_NULL_TYPE,type:e,loc:this.loc(n)}:e},n.parseNamedType=function(){var e=this._lexer.token;return{kind:u.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},n.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===l.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},n.peekDescription=function(){return this.peek(l.TokenKind.STRING)||this.peek(l.TokenKind.BLOCK_STRING)},n.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},n.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var n=this.parseDirectives(!0),t=this.many(l.TokenKind.BRACE_L,this.parseOperationTypeDefinition,l.TokenKind.BRACE_R);return{kind:u.Kind.SCHEMA_DEFINITION,directives:n,operationTypes:t,loc:this.loc(e)}},n.parseOperationTypeDefinition=function(){var e=this._lexer.token,n=this.parseOperationType();this.expectToken(l.TokenKind.COLON);var t=this.parseNamedType();return{kind:u.Kind.OPERATION_TYPE_DEFINITION,operation:n,type:t,loc:this.loc(e)}},n.parseScalarTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");var t=this.parseName(),i=this.parseDirectives(!0);return{kind:u.Kind.SCALAR_TYPE_DEFINITION,description:n,name:t,directives:i,loc:this.loc(e)}},n.parseObjectTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");var t=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:u.Kind.OBJECT_TYPE_DEFINITION,description:n,name:t,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},n.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(l.TokenKind.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(l.TokenKind.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(l.TokenKind.NAME))}return e},n.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(l.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===l.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(l.TokenKind.BRACE_L,this.parseFieldDefinition,l.TokenKind.BRACE_R)},n.parseFieldDefinition=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseArgumentDefs();this.expectToken(l.TokenKind.COLON);var r=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:u.Kind.FIELD_DEFINITION,description:n,name:t,arguments:i,type:r,directives:o,loc:this.loc(e)}},n.parseArgumentDefs=function(){return this.optionalMany(l.TokenKind.PAREN_L,this.parseInputValueDef,l.TokenKind.PAREN_R)},n.parseInputValueDef=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName();this.expectToken(l.TokenKind.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(l.TokenKind.EQUALS)&&(i=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:u.Kind.INPUT_VALUE_DEFINITION,description:n,name:t,type:r,defaultValue:i,directives:o,loc:this.loc(e)}},n.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();return{kind:u.Kind.INTERFACE_TYPE_DEFINITION,description:n,name:t,directives:i,fields:r,loc:this.loc(e)}},n.parseUnionTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseUnionMemberTypes();return{kind:u.Kind.UNION_TYPE_DEFINITION,description:n,name:t,directives:i,types:r,loc:this.loc(e)}},n.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(l.TokenKind.EQUALS)){this.expectOptionalToken(l.TokenKind.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(l.TokenKind.PIPE))}return e},n.parseEnumTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();return{kind:u.Kind.ENUM_TYPE_DEFINITION,description:n,name:t,directives:i,values:r,loc:this.loc(e)}},n.parseEnumValuesDefinition=function(){return this.optionalMany(l.TokenKind.BRACE_L,this.parseEnumValueDefinition,l.TokenKind.BRACE_R)},n.parseEnumValueDefinition=function(){var e=this._lexer.token,n=this.parseDescription(),t=this.parseName(),i=this.parseDirectives(!0);return{kind:u.Kind.ENUM_VALUE_DEFINITION,description:n,name:t,directives:i,loc:this.loc(e)}},n.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");var t=this.parseName(),i=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();return{kind:u.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:t,directives:i,fields:r,loc:this.loc(e)}},n.parseInputFieldsDefinition=function(){return this.optionalMany(l.TokenKind.BRACE_L,this.parseInputValueDef,l.TokenKind.BRACE_R)},n.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===l.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},n.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var n=this.parseDirectives(!0),t=this.optionalMany(l.TokenKind.BRACE_L,this.parseOperationTypeDefinition,l.TokenKind.BRACE_R);if(0===n.length&&0===t.length)throw this.unexpected();return{kind:u.Kind.SCHEMA_EXTENSION,directives:n,operationTypes:t,loc:this.loc(e)}},n.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var n=this.parseName(),t=this.parseDirectives(!0);if(0===t.length)throw this.unexpected();return{kind:u.Kind.SCALAR_TYPE_EXTENSION,name:n,directives:t,loc:this.loc(e)}},n.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var n=this.parseName(),t=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===t.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:u.Kind.OBJECT_TYPE_EXTENSION,name:n,interfaces:t,directives:i,fields:r,loc:this.loc(e)}},n.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:u.Kind.INTERFACE_TYPE_EXTENSION,name:n,directives:t,fields:i,loc:this.loc(e)}},n.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:u.Kind.UNION_TYPE_EXTENSION,name:n,directives:t,types:i,loc:this.loc(e)}},n.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:u.Kind.ENUM_TYPE_EXTENSION,name:n,directives:t,values:i,loc:this.loc(e)}},n.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var n=this.parseName(),t=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===t.length&&0===i.length)throw this.unexpected();return{kind:u.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:t,fields:i,loc:this.loc(e)}},n.parseDirectiveDefinition=function(){var e=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(l.TokenKind.AT);var t=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:u.Kind.DIRECTIVE_DEFINITION,description:n,name:t,arguments:i,repeatable:r,locations:o,loc:this.loc(e)}},n.parseDirectiveLocations=function(){this.expectOptionalToken(l.TokenKind.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(l.TokenKind.PIPE));return e},n.parseDirectiveLocation=function(){var e=this._lexer.token,n=this.parseName();if(void 0!==N.DirectiveLocation[n.value])return n;throw this.unexpected(e)},n.loc=function(e){if(!this._options.noLocation)return new d(e,this._lexer.lastToken,this._lexer.source)},n.peek=function(e){return this._lexer.token.kind===e},n.expectToken=function(e){var n=this._lexer.token;if(n.kind===e)return this._lexer.advance(),n;throw(0,T.syntaxError)(this._lexer.source,n.start,"Expected ".concat(e,", found ").concat(f(n)))},n.expectOptionalToken=function(e){var n=this._lexer.token;if(n.kind===e)return this._lexer.advance(),n},n.expectKeyword=function(e){var n=this._lexer.token;if(n.kind!==l.TokenKind.NAME||n.value!==e)throw(0,T.syntaxError)(this._lexer.source,n.start,'Expected "'.concat(e,'", found ').concat(f(n)));this._lexer.advance()},n.expectOptionalKeyword=function(e){var n=this._lexer.token;return n.kind===l.TokenKind.NAME&&n.value===e&&(this._lexer.advance(),!0)},n.unexpected=function(e){var n=e||this._lexer.token;return(0,T.syntaxError)(this._lexer.source,n.start,"Unexpected ".concat(f(n)))},n.any=function(e,n,t){this.expectToken(e);for(var i=[];!this.expectOptionalToken(t);)i.push(n.call(this));return i},n.optionalMany=function(e,n,t){if(this.expectOptionalToken(e)){var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i}return[]},n.many=function(e,n,t){this.expectToken(e);var i=[];do{i.push(n.call(this))}while(!this.expectOptionalToken(t));return i},e}();function d(e,n,t){this.start=e.start,this.end=n.end,this.startToken=e,this.endToken=n,this.source=t}function f(e){var n=e.value;return n?"".concat(e.kind,' "').concat(n,'"'):e.kind}(0,o.default)(d,function(){return{start:this.start,end:this.end}})});t(m);var k=i(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.visit=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,c=void 0,u=Array.isArray(e),l=[e],d=-1,p=[],f=void 0,h=void 0,T=void 0,v=[],E=[],y=e;do{var N=++d===l.length,m=N&&0!==p.length;if(N){if(h=0===E.length?void 0:v[v.length-1],f=T,T=E.pop(),m){if(u)f=f.slice();else{for(var k={},I=0,_=Object.keys(f);I<_.length;I++){var O=_[I];k[O]=f[O]}f=k}for(var D=0,x=0;x"!==t.kind;)"Comment"===t.kind&&(Object.assign(t,{column:t.column-1}),n.push(t)),t=t.next;return n}(i),function e(t){if(t&&"object"===n(t))for(var i in delete t.startToken,delete t.endToken,delete t.prev,delete t.next,t)e(t[i]);return t}(i),i}catch(e){throw e instanceof A.GraphQLError?function(e,n){var t=new SyntaxError(e+" ("+n.start.line+":"+n.start.column+")");return t.loc=n,t}(e.message,{start:{line:e.locations[0].line,column:e.locations[0].column}}):e}},astFormat:"graphql",hasPragma:function(e){return/^\s*#[^\n\S]*@(format|prettier)\s*(\n|$)/.test(e)},locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}},b=K.parsers;e.default=K,e.parsers=b,Object.defineProperty(e,"__esModule",{value:!0})}(n)}}]); \ No newline at end of file diff --git a/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/15-es2018.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/15-es2018.js new file mode 100644 index 00000000..380ed191 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/15-es2018.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{MlsZ:function(e,t,n){var r;r=function(){"use strict";var e="Prettier is an opinionated code formatter",t={prettier:"./bin/prettier.js"},n={node:">=8"},r={"@angular/compiler":"8.2.13","@babel/code-frame":"7.5.5","@babel/parser":"7.7.3","@glimmer/syntax":"0.41.0","@iarna/toml":"2.2.3","@typescript-eslint/typescript-estree":"2.6.1","angular-estree-parser":"1.1.5","angular-html-parser":"1.3.0",camelcase:"5.3.1",chalk:"2.4.2","cjk-regex":"2.0.0",cosmiconfig:"5.2.1",dashify:"2.0.0",dedent:"0.7.0",diff:"4.0.1",editorconfig:"0.15.3","editorconfig-to-prettier":"0.1.1","escape-string-regexp":"1.0.5",esutils:"2.0.3","find-parent-dir":"0.3.0","find-project-root":"1.1.1","flow-parser":"0.111.3","get-stream":"4.1.0",globby:"6.1.0",graphql:"14.5.8","html-element-attributes":"2.2.0","html-styles":"1.0.0","html-tag-names":"1.1.4",ignore:"4.0.6","is-ci":"2.0.0","jest-docblock":"24.9.0","json-stable-stringify":"1.0.1",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.6.0","lodash.uniqby":"4.7.0",mem:"5.1.1",minimatch:"3.0.4",minimist:"1.2.0","n-readlines":"1.0.0","normalize-path":"3.0.0","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","postcss-less":"2.0.0","postcss-media-query-parser":"0.2.3","postcss-scss":"2.0.0","postcss-selector-parser":"2.2.3","postcss-values-parser":"1.5.0","regexp-util":"1.2.2","remark-math":"1.0.6","remark-parse":"5.0.0",resolve:"1.12.0",semver:"6.3.0","string-width":"4.1.0",typescript:"3.7.2","unicode-regex":"3.0.0",unified:"8.4.1",vnopts:"1.0.2","yaml-unist-parser":"1.1.1"},u={"@babel/core":"7.7.2","@babel/preset-env":"7.7.1","@rollup/plugin-alias":"2.2.0","@rollup/plugin-replace":"2.2.1","babel-loader":"8.0.6",benchmark:"2.1.4","builtin-modules":"3.1.0",codecov:"3.6.1","cross-env":"6.0.3",eslint:"6.6.0","eslint-config-prettier":"6.5.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.18.2","eslint-plugin-prettier":"3.1.1","eslint-plugin-react":"7.16.0",execa:"3.2.0",jest:"23.3.0","jest-junit":"9.0.0","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.4.0",mkdirp:"0.5.1",prettier:"1.19.0",prettylint:"1.0.0",rimraf:"3.0.0",rollup:"1.26.3","rollup-plugin-babel":"4.3.3","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-globals":"1.4.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-terser":"5.1.2",shelljs:"0.8.3","snapshot-diff":"0.4.0","strip-ansi":"5.2.0","synchronous-promise":"2.0.10",tempy:"0.2.1","terser-webpack-plugin":"2.2.1",webpack:"4.41.2"},a={prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dist":"node ./scripts/test-dist.js","test-integration":"jest tests_integration","perf-repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf-repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf-benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","check-types":"tsc",lint:"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint-docs":"prettylint {.,docs,website,website/blog}/*.md","lint-dist":'eslint --no-eslintrc --no-ignore --env=browser "dist/!(bin-prettier|index|third-party).js"',build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js","check-deps":"node ./scripts/check-deps.js",spellcheck:"npx -p cspell@4.0.31 cspell {bin,scripts,src}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md"},i=Object.freeze({__proto__:null,name:"prettier",version:"1.19.1",description:e,bin:t,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:n,dependencies:r,devDependencies:u,scripts:a,default:{name:"prettier",version:"1.19.1",description:e,bin:t,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:n,dependencies:r,devDependencies:u,scripts:a}});function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;ne.length?n:e}),l.value=e.join(p)}else l.value=e.join(n.slice(o,o+l.count));o+=l.count,l.added||(s+=l.count)}}var f=t[i-1];return i>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[i-2].value+=f.value,t.pop()),t}function x(e){return{newPos:e.newPos,components:e.components.slice(0)}}F.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var u=this;function a(e){return r?(setTimeout(function(){r(void 0,e)},0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var i=(t=this.removeEmpty(this.tokenize(t))).length,o=e.length,s=1,l=i+o,c=[{newPos:-1,components:[]}],p=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=i&&p+1>=o)return a([{value:this.join(t),count:t.length}]);function f(){for(var n=-1*s;n<=s;n+=2){var r=void 0,l=c[n-1],p=c[n+1],f=(p?p.newPos:0)-n;l&&(c[n-1]=void 0);var d=l&&l.newPos+1=i&&f+1>=o)return a(b(u,r.components,t,e,u.useLongestToken));c[n]=r}else c[n]=void 0}s++}if(r)!function e(){setTimeout(function(){if(s>l)return r();f()||e()},0)}();else for(;s<=l;){var d=f();if(d)return d}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var u=t.length,a=n.length,i=e.newPos,o=i-r,s=0;i+11&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],u=[],a=0;function i(){var e={};for(u.push(e);a2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=V(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,u,a=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=t.hunks,s=n.compareLine||function(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,p=0,f=0;function d(e,t){for(var n=0;n0?r[0]:" ",i=r.length>0?r.substr(1):r;if(" "===u||"-"===u){if(!s(t+1,a[t],u,i)&&++l>c)return!1;t++}}return!0}for(var D=0;D0?x[0]:" ",w=x.length>0?x.substr(1):x,B=A.linedelimiters[b];if(" "===S)F++;else if("-"===S)a.splice(F,1),i.splice(F,1);else if("+"===S)a.splice(F,0,w),i.splice(F,0,B),F++;else if("\\"===S){var T=A.lines[b-1]?A.lines[b-1][0]:null;"+"===T?r=!0:"-"===T&&(u=!0)}}}if(r)for(;!a[a.length-1];)a.pop(),i.pop();else u&&(a.push(""),i.push("\n"));for(var k=0;k0?s(h.lines.slice(-i.context)):[],c-=f.length,p-=f.length)}(a=f).push.apply(a,L(u.map(function(e){return(t.added?"+":"-")+e}))),t.added?D+=u.length:d+=u.length}else{if(c)if(u.length<=2*i.context&&e=o.length-2&&u.length<=i.context){var E=/\n$/.test(n),C=/\n$/.test(r),A=0==u.length&&f.length>v.oldLines;!E&&A&&f.splice(v.oldLines,0,"\\ No newline at end of file"),(E||A)&&C||f.push("\\ No newline at end of file")}l.push(v),c=0,p=0,f=[]}d+=u.length,D+=u.length}},m=0;me.length)return!1;for(var n=0;n"):r.removed&&t.push(""),t.push(r.value.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")),r.added?t.push(""):r.removed&&t.push("")}return t.join("")},canonicalize:R}),ce=Object.freeze({__proto__:null,default:{}}),pe="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},fe=[],de=[],De="undefined"!=typeof Uint8Array?Uint8Array:Array,he=!1;function me(){he=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+fe[r>>12&63]+fe[r>>6&63]+fe[63&r]);return u.join("")}function ye(e,t,n,r,u){var a,i,o=8*u-r-1,s=(1<>1,c=-7,p=n?u-1:0,f=n?-1:1,d=e[t+p];for(p+=f,a=d&(1<<-c)-1,d>>=-c,c+=o;c>0;a=256*a+e[t+p],p+=f,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=r;c>0;i=256*i+e[t+p],p+=f,c-=8);if(0===a)a=1-l;else{if(a===s)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,r),a-=l}return(d?-1:1)*i*Math.pow(2,a-r)}function ve(e,t,n,r,u,a){var i,o,s,l=8*a-u-1,c=(1<>1,f=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:a-1,D=r?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-i))<1&&(i--,s*=2),(t+=i+p>=1?f/s:f*Math.pow(2,1-p))*s>=2&&(i++,s/=2),i+p>=c?(o=0,i=c):i+p>=1?(o=(t*s-1)*Math.pow(2,u),i+=p):(o=t*Math.pow(2,p-1)*Math.pow(2,u),i=0));u>=8;e[n+d]=255&o,d+=D,o/=256,u-=8);for(i=i<0;e[n+d]=255&i,d+=D,i/=256,l-=8);e[n+d-D]|=128*h}var Ee={}.toString,Ce=Array.isArray||function(e){return"[object Array]"==Ee.call(e)};function Ae(){return be.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Fe(e,t){if(Ae()=Ae())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ae().toString(16)+" bytes");return 0|e}function ke(e){return!(null==e||!e._isBuffer)}function Oe(e,t){if(ke(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return nt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return rt(e).length;default:if(r)return nt(e).length;t=(""+t).toLowerCase(),r=!0}}function Ne(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return ze(this,t,n);case"utf8":case"utf-8":return We(this,t,n);case"ascii":return $e(this,t,n);case"latin1":case"binary":return Je(this,t,n);case"base64":return Ue(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ge(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Pe(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Ie(e,t,n,r,u){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=u?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(u)return-1;n=e.length-1}else if(n<0){if(!u)return-1;n=0}if("string"==typeof t&&(t=be.from(t,r)),ke(t))return 0===t.length?-1:je(e,t,n,r,u);if("number"==typeof t)return t&=255,be.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?u?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):je(e,[t],n,r,u);throw new TypeError("val must be string, number or Buffer")}function je(e,t,n,r,u){var a,i=1,o=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,o/=2,s/=2,n/=2}function l(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(u){var c=-1;for(a=n;ao&&(n=o-s),a=n;a>=0;a--){for(var p=!0,f=0;fu&&(r=u):r=u;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var i=0;i>8,u.push(n%256),u.push(r);return u}(t,e.length-n),e,n,r)}function Ue(e,t,n){return function(e){var t;he||me();for(var n=e.length,r=n%3,u="",a=[],i=0,o=n-r;io?o:i+16383));return 1===r?(u+=fe[(t=e[n-1])>>2],u+=fe[t<<4&63],u+="=="):2===r&&(u+=fe[(t=(e[n-2]<<8)+e[n-1])>>10],u+=fe[t>>4&63],u+=fe[t<<2&63],u+="="),a.push(u),a.join("")}(0===t&&n===e.length?e:e.slice(t,n))}function We(e,t,n){n=Math.min(e.length,n);for(var r=[],u=t;u239?4:l>223?3:l>191?2:1;if(u+p<=n)switch(p){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[u+1]))&&(s=(31&l)<<6|63&a)>127&&(c=s);break;case 3:i=e[u+2],128==(192&(a=e[u+1]))&&128==(192&i)&&(s=(15&l)<<12|(63&a)<<6|63&i)>2047&&(s<55296||s>57343)&&(c=s);break;case 4:i=e[u+2],o=e[u+3],128==(192&(a=e[u+1]))&&128==(192&i)&&128==(192&o)&&(s=(15&l)<<18|(63&a)<<12|(63&i)<<6|63&o)>65535&&s<1114112&&(c=s)}null===c?(c=65533,p=1):c>65535&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),u+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;ru)&&(n=u);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function He(e,t,n,r,u,a){if(!ke(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>u||te.length)throw new RangeError("Index out of range")}function Ye(e,t,n,r){t<0&&(t=65535+t+1);for(var u=0,a=Math.min(e.length-n,2);u>>8*(r?u:1-u)}function Ke(e,t,n,r){t<0&&(t=4294967295+t+1);for(var u=0,a=Math.min(e.length-n,4);u>>8*(r?u:3-u)&255}function Qe(e,t,n,r,u,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ze(e,t,n,r,u){return u||Qe(e,0,n,4),ve(e,t,n,r,23,4),n+4}function et(e,t,n,r,u){return u||Qe(e,0,n,8),ve(e,t,n,r,52,8),n+8}be.TYPED_ARRAY_SUPPORT=void 0===pe.TYPED_ARRAY_SUPPORT||pe.TYPED_ARRAY_SUPPORT,be.poolSize=8192,be._augment=function(e){return e.__proto__=be.prototype,e},be.from=function(e,t,n){return xe(null,e,t,n)},be.TYPED_ARRAY_SUPPORT&&(be.prototype.__proto__=Uint8Array.prototype,be.__proto__=Uint8Array),be.alloc=function(e,t,n){return function(e,t,n,r){return Se(t),t<=0?Fe(null,t):void 0!==n?"string"==typeof r?Fe(null,t).fill(n,r):Fe(null,t).fill(n):Fe(null,t)}(0,e,t,n)},be.allocUnsafe=function(e){return we(null,e)},be.allocUnsafeSlow=function(e){return we(null,e)},be.isBuffer=function(e){return null!=e&&(!!e._isBuffer||at(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&at(e.slice(0,0))}(e))},be.compare=function(e,t){if(!ke(e)||!ke(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,u=0,a=Math.min(n,r);u0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},be.prototype.compare=function(e,t,n,r,u){if(!ke(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===u&&(u=this.length),t<0||n>e.length||r<0||u>this.length)throw new RangeError("out of range index");if(r>=u&&t>=n)return 0;if(r>=u)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(u>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0),o=Math.min(a,i),s=this.slice(r,u),l=e.slice(t,n),c=0;cu)&&(n=u),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return Le(this,e,t,n);case"utf8":case"utf-8":return _e(this,e,t,n);case"ascii":return Me(this,e,t,n);case"latin1":case"binary":return Re(this,e,t,n);case"base64":return qe(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ve(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},be.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},be.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(u*=256);)r+=this[e+--t]*u;return r},be.prototype.readUInt8=function(e,t){return t||Xe(e,1,this.length),this[e]},be.prototype.readUInt16LE=function(e,t){return t||Xe(e,2,this.length),this[e]|this[e+1]<<8},be.prototype.readUInt16BE=function(e,t){return t||Xe(e,2,this.length),this[e]<<8|this[e+1]},be.prototype.readUInt32LE=function(e,t){return t||Xe(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},be.prototype.readUInt32BE=function(e,t){return t||Xe(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},be.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Xe(e,t,this.length);for(var r=this[e],u=1,a=0;++a=(u*=128)&&(r-=Math.pow(2,8*t)),r},be.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Xe(e,t,this.length);for(var r=t,u=1,a=this[e+--r];r>0&&(u*=256);)a+=this[e+--r]*u;return a>=(u*=128)&&(a-=Math.pow(2,8*t)),a},be.prototype.readInt8=function(e,t){return t||Xe(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},be.prototype.readInt16LE=function(e,t){t||Xe(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},be.prototype.readInt16BE=function(e,t){t||Xe(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},be.prototype.readInt32LE=function(e,t){return t||Xe(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},be.prototype.readInt32BE=function(e,t){return t||Xe(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},be.prototype.readFloatLE=function(e,t){return t||Xe(e,4,this.length),ye(this,e,!0,23,4)},be.prototype.readFloatBE=function(e,t){return t||Xe(e,4,this.length),ye(this,e,!1,23,4)},be.prototype.readDoubleLE=function(e,t){return t||Xe(e,8,this.length),ye(this,e,!0,52,8)},be.prototype.readDoubleBE=function(e,t){return t||Xe(e,8,this.length),ye(this,e,!1,52,8)},be.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||He(this,e,t,n,Math.pow(2,8*n)-1,0);var u=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+u]=e/a&255;return t+n},be.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,1,255,0),be.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},be.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,2,65535,0),be.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ye(this,e,t,!0),t+2},be.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,2,65535,0),be.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ye(this,e,t,!1),t+2},be.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,4,4294967295,0),be.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Ke(this,e,t,!0),t+4},be.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,4,4294967295,0),be.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ke(this,e,t,!1),t+4},be.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);He(this,e,t,n,u-1,-u)}var a=0,i=1,o=0;for(this[t]=255&e;++a>0)-o&255;return t+n},be.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);He(this,e,t,n,u-1,-u)}var a=n-1,i=1,o=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/i>>0)-o&255;return t+n},be.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,1,127,-128),be.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},be.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,2,32767,-32768),be.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ye(this,e,t,!0),t+2},be.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,2,32767,-32768),be.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ye(this,e,t,!1),t+2},be.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,4,2147483647,-2147483648),be.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Ke(this,e,t,!0),t+4},be.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||He(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),be.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ke(this,e,t,!1),t+4},be.prototype.writeFloatLE=function(e,t,n){return Ze(this,e,t,!0,n)},be.prototype.writeFloatBE=function(e,t,n){return Ze(this,e,t,!1,n)},be.prototype.writeDoubleLE=function(e,t,n){return et(this,e,t,!0,n)},be.prototype.writeDoubleBE=function(e,t,n){return et(this,e,t,!1,n)},be.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--u)e[u+t]=this[u+n];else if(a<1e3||!be.TYPED_ARRAY_SUPPORT)for(u=0;u>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!u){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&a.push(239,191,189);continue}u=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),u=n;continue}n=65536+(u-55296<<10|n-56320)}else u&&(t-=3)>-1&&a.push(239,191,189);if(u=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function rt(e){return function(e){var t,n,r,u,a,i;he||me();var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i=new De(3*o/4-(a="="===e[o-2]?2:"="===e[o-1]?1:0)),r=a>0?o-4:o;var s=0;for(t=0,n=0;t>16&255,i[s++]=u>>8&255,i[s++]=255&u;return 2===a?(u=de[e.charCodeAt(t)]<<2|de[e.charCodeAt(t+1)]>>4,i[s++]=255&u):1===a&&(u=de[e.charCodeAt(t)]<<10|de[e.charCodeAt(t+1)]<<4|de[e.charCodeAt(t+2)]>>2,i[s++]=u>>8&255,i[s++]=255&u),i}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(tt,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function ut(e,t,n,r){for(var u=0;u=t.length||u>=e.length);++u)t[u+n]=e[u];return u}function at(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var it="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ot(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function st(e,t){return e(t={exports:{}},t.exports),t.exports}function lt(e){return e&&e.default||e}var ct=lt(ce),pt=function(){function e(t,n){s(this,e),(n=n||{}).readChunk||(n.readChunk=1024),n.newLineCharacter=n.newLineCharacter?n.newLineCharacter.charCodeAt(0):10,this.fd="number"==typeof t?t:ct.openSync(t,"r"),this.options=n,this.newLineCharacter=n.newLineCharacter,this.reset()}return c(e,[{key:"_searchInBuffer",value:function(e,t){for(var n=-1,r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}},{key:"reset",value:function(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function(){ct.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function(e){for(var t,n=[],r=0,u=0;;){var a=e[r++];if(a===this.newLineCharacter)t=e.slice(u,r),n.push(t),u=r;else if(!a)break}var i=e.slice(u,r);return i.length&&n.push(i),n}},{key:"_readChunk",value:function(e){var t,n=0,r=[];do{var u=new be(this.options.readChunk);n+=t=ct.readSync(this.fd,u,0,this.options.readChunk,this.fdPosition),this.fdPosition=this.fdPosition+t,r.push(u)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));var a=be.concat(r);return t1)for(var n=1;n)?=?)",l("XRANGEIDENTIFIERLOOSE"),a[i.XRANGEIDENTIFIERLOOSE]=a[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",l("XRANGEIDENTIFIER"),a[i.XRANGEIDENTIFIER]=a[i.NUMERICIDENTIFIER]+"|x|X|\\*",l("XRANGEPLAIN"),a[i.XRANGEPLAIN]="[v=\\s]*("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:"+a[i.PRERELEASE]+")?"+a[i.BUILD]+"?)?)?",l("XRANGEPLAINLOOSE"),a[i.XRANGEPLAINLOOSE]="[v=\\s]*("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:"+a[i.PRERELEASELOOSE]+")?"+a[i.BUILD]+"?)?)?",l("XRANGE"),a[i.XRANGE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAIN]+"$",l("XRANGELOOSE"),a[i.XRANGELOOSE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAINLOOSE]+"$",l("COERCE"),a[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",l("COERCERTL"),u[i.COERCERTL]=new RegExp(a[i.COERCE],"g"),l("LONETILDE"),a[i.LONETILDE]="(?:~>?)",l("TILDETRIM"),a[i.TILDETRIM]="(\\s*)"+a[i.LONETILDE]+"\\s+",u[i.TILDETRIM]=new RegExp(a[i.TILDETRIM],"g"),l("TILDE"),a[i.TILDE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAIN]+"$",l("TILDELOOSE"),a[i.TILDELOOSE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAINLOOSE]+"$",l("LONECARET"),a[i.LONECARET]="(?:\\^)",l("CARETTRIM"),a[i.CARETTRIM]="(\\s*)"+a[i.LONECARET]+"\\s+",u[i.CARETTRIM]=new RegExp(a[i.CARETTRIM],"g"),l("CARET"),a[i.CARET]="^"+a[i.LONECARET]+a[i.XRANGEPLAIN]+"$",l("CARETLOOSE"),a[i.CARETLOOSE]="^"+a[i.LONECARET]+a[i.XRANGEPLAINLOOSE]+"$",l("COMPARATORLOOSE"),a[i.COMPARATORLOOSE]="^"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+")$|^$",l("COMPARATOR"),a[i.COMPARATOR]="^"+a[i.GTLT]+"\\s*("+a[i.FULLPLAIN]+")$|^$",l("COMPARATORTRIM"),a[i.COMPARATORTRIM]="(\\s*)"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+"|"+a[i.XRANGEPLAIN]+")",u[i.COMPARATORTRIM]=new RegExp(a[i.COMPARATORTRIM],"g"),l("HYPHENRANGE"),a[i.HYPHENRANGE]="^\\s*("+a[i.XRANGEPLAIN]+")\\s+-\\s+("+a[i.XRANGEPLAIN]+")\\s*$",l("HYPHENRANGELOOSE"),a[i.HYPHENRANGELOOSE]="^\\s*("+a[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[i.XRANGEPLAINLOOSE]+")\\s*$",l("STAR"),a[i.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c256)return null;if(!(t.loose?u[i.LOOSE]:u[i.FULL]).test(e))return null;try{return new f(e,t)}catch(n){return null}}function f(e,t){if(t&&"object"===o(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof f){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof f))return new f(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?u[i.LOOSE]:u[i.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");this.prerelease=a[4]?a[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new f(e,n).inc(t,r).version}catch(u){return null}},t.diff=function(e,t){if(y(e,t))return null;var n=p(e),r=p(t),u="";if(n.prerelease.length||r.prerelease.length){u="pre";var a="prerelease"}for(var i in n)if(("major"===i||"minor"===i||"patch"===i)&&n[i]!==r[i])return u+i;return a},t.compareIdentifiers=D;var d=/^[0-9]+$/;function D(e,t){var n=d.test(e),r=d.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e0}function g(e,t,n){return h(e,t,n)<0}function y(e,t,n){return 0===h(e,t,n)}function v(e,t,n){return 0!==h(e,t,n)}function E(e,t,n){return h(e,t,n)>=0}function C(e,t,n){return h(e,t,n)<=0}function A(e,t,n,r){switch(t){case"===":return"object"===o(e)&&(e=e.version),"object"===o(n)&&(n=n.version),e===n;case"!==":return"object"===o(e)&&(e=e.version),"object"===o(n)&&(n=n.version),e!==n;case"":case"=":case"==":return y(e,n,r);case"!=":return v(e,n,r);case">":return m(e,n,r);case">=":return E(e,n,r);case"<":return g(e,n,r);case"<=":return C(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function F(e,t){if(t&&"object"===o(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof F){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof F))return new F(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===b?"":this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return D(t,e)},t.major=function(e,t){return new f(e,t).major},t.minor=function(e,t){return new f(e,t).minor},t.patch=function(e,t){return new f(e,t).patch},t.compare=h,t.compareLoose=function(e,t){return h(e,t,!0)},t.compareBuild=function(e,t,n){var r=new f(e,n),u=new f(t,n);return r.compare(u)||r.compareBuild(u)},t.rcompare=function(e,t,n){return h(t,e,n)},t.sort=function(e,n){return e.sort(function(e,r){return t.compareBuild(e,r,n)})},t.rsort=function(e,n){return e.sort(function(e,r){return t.compareBuild(r,e,n)})},t.gt=m,t.lt=g,t.eq=y,t.neq=v,t.gte=E,t.lte=C,t.cmp=A,t.Comparator=F;var b={};function x(e,t){if(t&&"object"===o(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof x)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new x(e.raw,t);if(e instanceof F)return new x(e.value,t);if(!(this instanceof x))return new x(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function S(e,t){for(var n=!0,r=e.slice(),u=r.pop();n&&r.length;)n=r.every(function(e){return u.intersects(e,t)}),u=r.pop();return n}function w(e){return!e||"x"===e.toLowerCase()||"*"===e}function B(e,t,n,r,u,a,i,o,s,l,c,p,f){return((t=w(n)?"":w(r)?">="+n+".0.0":w(u)?">="+n+"."+r+".0":">="+t)+" "+(o=w(s)?"":w(l)?"<"+(+s+1)+".0.0":w(c)?"<"+s+"."+(+l+1)+".0":p?"<="+s+"."+l+"."+c+"-"+p:"<="+o)).trim()}function T(e,t,r){for(var u=0;u0){var a=e[u].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}function k(e,t,n){try{t=new x(t,n)}catch(r){return!1}return t.test(e)}function O(e,t,n,r){var u,a,i,o,s;switch(e=new f(e,r),t=new x(t,r),n){case">":u=m,a=C,i=g,o=">",s=">=";break;case"<":u=g,a=E,i=m,o="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(k(e,t,r))return!1;for(var l=0;l=0.0.0")),p=p||e,u(e.semver,(c=c||e).semver,r)?c=e:i(e.semver,p.semver,r)&&(p=e)}),c.operator===o||c.operator===s)return!1;if((!p.operator||p.operator===o)&&a(e,p.semver))return!1;if(p.operator===s&&i(e,p.semver))return!1}return!0}F.prototype.parse=function(e){var t=e.match(this.options.loose?u[i.COMPARATORLOOSE]:u[i.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new f(t[2],this.options.loose):b},F.prototype.toString=function(){return this.value},F.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===b||e===b)return!0;if("string"==typeof e)try{e=new f(e,this.options)}catch(t){return!1}return A(e,this.operator,this.semver,this.options)},F.prototype.intersects=function(e,t){if(!(e instanceof F))throw new TypeError("a Comparator is required");var n;if(t&&"object"===o(t)||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new x(e.value,t),k(this.value,n,t));if(""===e.operator)return""===e.value||(n=new x(this.value,t),k(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),u=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=A(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=A(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||u||a&&i||s||l},t.Range=x,x.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},x.prototype.toString=function(){return this.range},x.prototype.parseRange=function(e){var t=this.options.loose;e=(e=e.trim()).replace(t?u[i.HYPHENRANGELOOSE]:u[i.HYPHENRANGE],B),n("hyphen replace",e),e=e.replace(u[i.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,u[i.COMPARATORTRIM]),e=(e=(e=e.replace(u[i.TILDETRIM],"$1~")).replace(u[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var r=t?u[i.COMPARATORLOOSE]:u[i.COMPARATOR],a=e.split(" ").map(function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){return n("caret",e,t),e.replace(t.loose?u[i.CARETLOOSE]:u[i.CARET],function(t,r,u,a,i){var o;return n("caret",e,t,r,u,a,i),w(r)?o="":w(u)?o=">="+r+".0.0 <"+(+r+1)+".0.0":w(a)?o="0"===r?">="+r+"."+u+".0 <"+r+"."+(+u+1)+".0":">="+r+"."+u+".0 <"+(+r+1)+".0.0":i?(n("replaceCaret pr",i),o="0"===r?"0"===u?">="+r+"."+u+"."+a+"-"+i+" <"+r+"."+u+"."+(+a+1):">="+r+"."+u+"."+a+"-"+i+" <"+r+"."+(+u+1)+".0":">="+r+"."+u+"."+a+"-"+i+" <"+(+r+1)+".0.0"):(n("no pr"),o="0"===r?"0"===u?">="+r+"."+u+"."+a+" <"+r+"."+u+"."+(+a+1):">="+r+"."+u+"."+a+" <"+r+"."+(+u+1)+".0":">="+r+"."+u+"."+a+" <"+(+r+1)+".0.0"),n("caret return",o),o})}(e,t)}).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map(function(e){return function(e,t){return e.replace(t.loose?u[i.TILDELOOSE]:u[i.TILDE],function(t,r,u,a,i){var o;return n("tilde",e,t,r,u,a,i),w(r)?o="":w(u)?o=">="+r+".0.0 <"+(+r+1)+".0.0":w(a)?o=">="+r+"."+u+".0 <"+r+"."+(+u+1)+".0":i?(n("replaceTilde pr",i),o=">="+r+"."+u+"."+a+"-"+i+" <"+r+"."+(+u+1)+".0"):o=">="+r+"."+u+"."+a+" <"+r+"."+(+u+1)+".0",n("tilde return",o),o})}(e,t)}).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return function(e,t){return(e=e.trim()).replace(t.loose?u[i.XRANGELOOSE]:u[i.XRANGE],function(r,u,a,i,o,s){n("xRange",e,r,u,a,i,o,s);var l=w(a),c=l||w(i),p=c||w(o);return"="===u&&p&&(u=""),s=t.includePrerelease?"-0":"",l?r=">"===u||"<"===u?"<0.0.0-0":"*":u&&p?(c&&(i=0),o=0,">"===u?(u=">=",c?(a=+a+1,i=0,o=0):(i=+i+1,o=0)):"<="===u&&(u="<",c?a=+a+1:i=+i+1),r=u+a+"."+i+"."+o+s):c?r=">="+a+".0.0"+s+" <"+(+a+1)+".0.0"+s:p&&(r=">="+a+"."+i+".0"+s+" <"+a+"."+(+i+1)+".0"+s),n("xRange return",r),r})}(e,t)}).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(u[i.STAR],"")}(e,t),n("stars",e),e}(e,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter(function(e){return!!e.match(r)})),a.map(function(e){return new F(e,this.options)},this)},x.prototype.intersects=function(e,t){if(!(e instanceof x))throw new TypeError("a Range is required");return this.set.some(function(n){return S(n,t)&&e.set.some(function(e){return S(e,t)&&n.every(function(n){return e.every(function(e){return n.intersects(e,t)})})})})},t.toComparators=function(e,t){return new x(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},x.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new f(e,this.options)}catch(n){return!1}for(var t=0;t":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!m(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}});return n&&e.test(n)?n:null},t.validRange=function(e,t){try{return new x(e,t).range||"*"}catch(n){return null}},t.ltr=function(e,t,n){return O(e,t,"<",n)},t.gtr=function(e,t,n){return O(e,t,">",n)},t.outside=O,t.prerelease=function(e,t){var n=p(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new x(e,n),t=new x(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof f)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=u[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),u[i.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;u[i.COERCERTL].lastIndex=-1}else n=e.match(u[i.COERCE]);return null===n?null:p(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}),Mt=st(function(e){e.exports=function(e){var t=void 0;t="string"==typeof e?[e]:e.raw;for(var n="",r=0;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function Zt(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,u,a=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(o){u={error:o}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(u)throw u.error}}return i}function en(e){return this instanceof en?(this.v=e,this):new en(e)}var tn=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}Yt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Kt},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var u=0;for(r=Object.getOwnPropertySymbols(e);u=0;s--)(u=e[s])&&(i=(a<3?u(i):a>3?u(t,n,i):u(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":o(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))(function(u,a){function i(e){try{s(r.next(e))}catch(t){a(t)}}function o(e){try{s(r.throw(e))}catch(t){a(t)}}function s(e){e.done?u(e.value):new n(function(t){t(e.value)}).then(i,o)}s((r=r.apply(e,t||[])).next())})},__generator:function(e,t){var n,r,u,a,i={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=2&a[0]?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[2&a[0],u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((u=(u=i.trys).length>0&&u[u.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!u||a[1]>u[0]&&a[1]1||o(e,t)})})}function o(e,t){try{(n=u[e](t)).value instanceof en?Promise.resolve(n.value.v).then(s,l):c(a[0][2],n)}catch(r){c(a[0][3],r)}var n}function s(e){o("next",e)}function l(e){o("throw",e)}function c(e,t){e(t),a.shift(),a.length&&o(a[0][0],a[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,u){t[r]=e[r]?function(t){return(n=!n)?{value:en(e[r](t)),done:"return"===r}:u?u(t):t}:u}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Qt(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,u){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,u,(t=e[n](t)).done,t.value)})}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}}}),nn=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:function(e){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e)},value:function(e){if(null===e||"object"!==o(e))return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map(function(e){return t.apiDescriptor.value(e)}).join(", "),"]");var n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map(function(n){return"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))}).join(", ")," }")},pair:function(e){return t.apiDescriptor.value(p({},e.key,e.value))}}});ot(nn);var rn=lt(tn),un=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),rn.__exportStar(nn,t)});ot(un);var an=/[|\\{}()[\]^$+*?.]/g,on=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(an,"\\$&")},sn={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ln=st(function(e){var t={};for(var n in sn)sn.hasOwnProperty(n)&&(t[sn[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in r)if(r.hasOwnProperty(u)){if(!("channels"in r[u]))throw new Error("missing channels property: "+u);if(!("labels"in r[u]))throw new Error("missing channel labels property: "+u);if(r[u].labels.length!==r[u].channels)throw new Error("channel and label counts mismatch: "+u);var a=r[u].channels,i=r[u].labels;delete r[u].channels,delete r[u].labels,Object.defineProperty(r[u],"channels",{value:a}),Object.defineProperty(r[u],"labels",{value:i})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,u=e[1]/255,a=e[2]/255,i=Math.min(r,u,a),o=Math.max(r,u,a),s=o-i;return o===i?t=0:r===o?t=(u-a)/s:u===o?t=2+(a-r)/s:a===o&&(t=4+(r-u)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+o)/2,[t,100*(o===i?0:n<=.5?s/(o+i):s/(2-o-i)),100*n]},r.rgb.hsv=function(e){var t,n,r=e[0],u=e[1],a=e[2],i=Math.min(r,u,a),o=Math.max(r,u,a),s=o-i;return n=0===o?0:s/o*1e3/10,o===i?t=0:r===o?t=(u-a)/s:u===o?t=2+(a-r)/s:a===o&&(t=4+(r-u)/s),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,o/255*1e3/10]},r.rgb.hwb=function(e){var t=e[0],n=e[1],u=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,u))*100,100*(u=1-1/255*Math.max(t,Math.max(n,u)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-u)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-u-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,u,a,i=1/0;for(var o in sn)if(sn.hasOwnProperty(o)){var s=(u=e,a=sn[o],Math.pow(u[0]-a[0],2)+Math.pow(u[1]-a[1],2)+Math.pow(u[2]-a[2],2));s.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],u=t[1],a=t[2];return u/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(u=u>.008856?Math.pow(u,1/3):7.787*u+16/116)-16,500*(n-u),200*(u-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},r.hsl.rgb=function(e){var t,n,r,u,a,i=e[0]/360,o=e[1]/100,s=e[2]/100;if(0===o)return[a=255*s,a,a];t=2*s-(n=s<.5?s*(1+o):s+o-s*o),u=[0,0,0];for(var l=0;l<3;l++)(r=i+1/3*-(l-1))<0&&r++,r>1&&r--,u[l]=255*(a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t);return u},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,u=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,u*=a<=1?a:2-a,[t,100*(0===r?2*u/(a+u):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,u=Math.floor(t)%6,a=t-Math.floor(t),i=255*r*(1-n),o=255*r*(1-n*a),s=255*r*(1-n*(1-a));switch(r*=255,u){case 0:return[r,s,i];case 1:return[o,r,i];case 2:return[i,r,s];case 3:return[i,o,r];case 4:return[s,i,r];case 5:return[r,i,o]}},r.hsv.hsl=function(e){var t,n,r,u=e[0],a=e[1]/100,i=e[2]/100,o=Math.max(i,.01);return r=(2-a)*i,n=a*o,[u,100*(n=(n/=(t=(2-a)*o)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,u,a,i,o,s=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),r=6*s-(t=Math.floor(6*s)),0!=(1&t)&&(r=1-r),u=l+r*((n=1-c)-l),t){default:case 6:case 0:a=n,i=u,o=l;break;case 1:a=u,i=n,o=l;break;case 2:a=l,i=n,o=u;break;case 3:a=l,i=u,o=n;break;case 4:a=u,i=l,o=n;break;case 5:a=n,i=l,o=u}return[255*a,255*i,255*o]},r.cmyk.rgb=function(e){var t=e[1]/100,n=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-r)+r)),255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},r.xyz.rgb=function(e){var t,n,r,u=e[0]/100,a=e[1]/100,i=e[2]/100;return n=-.9689*u+1.8758*a+.0415*i,r=.0557*u+-.204*a+1.057*i,t=(t=3.2406*u+-1.5372*a+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r;t=e[1]/500+(n=(e[0]+16)/116),r=n-e[2]/200;var u=Math.pow(n,3),a=Math.pow(t,3),i=Math.pow(r,3);return n=u>.008856?u:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=i>.008856?i:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],u=e[2];return(t=360*Math.atan2(u,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+u*u),t]},r.lch.lab=function(e){var t,n=e[1];return t=e[2]/360*2*Math.PI,[e[0],n*Math.cos(t),n*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],u=e[2],a=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var i=30+(Math.round(u/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===a&&(i+=60),i},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,u=e[2]/255,a=Math.max(Math.max(n,r),u),i=Math.min(Math.min(n,r),u),o=a-i;return t=o<=0?0:a===n?(r-u)/o%6:a===r?2+(u-n)/o:4+(n-r)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?i/(1-o):0)]},r.hsl.hcg=function(e){var t,n=e[1]/100,r=e[2]/100,u=0;return(t=r<.5?2*n*r:2*n*(1-r))<1&&(u=(r-.5*t)/(1-t)),[e[0],100*t,100*u]},r.hsv.hcg=function(e){var t=e[2]/100,n=e[1]/100*t,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},r.hcg.rgb=function(e){var t=e[1]/100,n=e[2]/100;if(0===t)return[255*n,255*n,255*n];var r,u=[0,0,0],a=e[0]/360%1*6,i=a%1,o=1-i;switch(Math.floor(a)){case 0:u[0]=1,u[1]=i,u[2]=0;break;case 1:u[0]=o,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=i;break;case 3:u[0]=0,u[1]=o,u[2]=1;break;case 4:u[0]=i,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=o}return[255*(t*u[0]+(r=(1-t)*n)),255*(t*u[1]+r),255*(t*u[2]+r)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=1-e[2]/100,n=t-e[1]/100,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}),cn=Object.keys(ln);function pn(e){var t=function(){for(var e={},t=cn.length,n=0;n1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===o(n))for(var r=n.length,u=0;u1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})});var hn,mn=Dn,gn=st(function(e){var t=function(e,t){return function(){var n=e.apply(mn,arguments);return"\x1b[".concat(n+t,"m")}},n=function(e,t){return function(){var n=e.apply(mn,arguments);return"\x1b[".concat(38+t,";5;").concat(n,"m")}},r=function(e,t){return function(){var n=e.apply(mn,arguments);return"\x1b[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,u={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};u.color.grey=u.color.gray;for(var a=0,i=Object.keys(u);a=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in En)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(e){return e in En})||"codeship"===En.CI_NAME?1:t;if("TEAMCITY_VERSION"in En)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(En.TEAMCITY_VERSION)?1:0;if("truecolor"===En.COLORTERM)return 3;if("TERM_PROGRAM"in En){var r=parseInt((En.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(En.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(En.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(En.TERM)||"COLORTERM"in En?1:t}(e))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3};var t}vn("no-color")||vn("no-colors")||vn("color=false")?hn=!1:(vn("color")||vn("colors")||vn("color=true")||vn("color=always"))&&(hn=!0),"FORCE_COLOR"in En&&(hn=0===En.FORCE_COLOR.length||0!==parseInt(En.FORCE_COLOR,10));var An={supportsColor:Cn,stdout:Cn(Lt.stdout),stderr:Cn(Lt.stderr)},Fn=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,bn=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,xn=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Sn=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,wn=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function Bn(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):wn.get(e)||e}function Tn(e,t){var n,r=[],u=t.trim().split(/\s*,\s*/g),a=!0,i=!1,o=void 0;try{for(var s,l=u[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;if(isNaN(c)){if(!(n=c.match(xn)))throw new Error("Invalid Chalk template style argument: ".concat(c," (in style '").concat(e,"')"));r.push(n[2].replace(Sn,function(e,t,n){return t?Bn(t):n}))}else r.push(Number(c))}}catch(p){i=!0,o=p}finally{try{a||null==l.return||l.return()}finally{if(i)throw o}}return r}function kn(e){bn.lastIndex=0;for(var t,n=[];null!==(t=bn.exec(e));){var r=t[1];if(t[2]){var u=Tn(r,t[2]);n.push([r].concat(u))}else n.push([r])}return n}function On(e,t){var n={},r=!0,u=!1,a=void 0;try{for(var i,o=t[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var s=i.value,l=!0,c=!1,p=void 0;try{for(var f,d=s.styles[Symbol.iterator]();!(l=(f=d.next()).done);l=!0){var D=f.value;n[D[0]]=s.inverse?null:D.slice(1)}}catch(v){c=!0,p=v}finally{try{l||null==d.return||d.return()}finally{if(c)throw p}}}}catch(v){u=!0,a=v}finally{try{r||null==o.return||o.return()}finally{if(u)throw a}}for(var h=e,m=0,g=Object.keys(n);m0?h[y].apply(h,n[y]):h[y]}}return h}var Nn=function(e,t){var n=[],r=[],u=[];if(t.replace(Fn,function(t,a,i,o,s,l){if(a)u.push(Bn(a));else if(o){var c=u.join("");u=[],r.push(0===n.length?c:On(e,n)(c)),n.push({inverse:i,styles:kn(o)})}else if(s){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(On(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){var a="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(a)}return r.join("")},Pn=st(function(e){var t=An.stdout,n="win32"===Lt.platform&&!(Lt.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),a=Object.create(null);function i(e,n){e.level=void 0===(n=n||{}).level?t?t.level:0:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function o(e){if(!this||!(this instanceof o)||this.template){var t={};return i(t,e),t.template=function(){var e=[].slice.call(arguments);return E.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,o.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=o,t.template}i(this,e)}n&&(gn.blue.open="\x1b[94m");for(var s=function(){var e=c[l];gn[e].closeRe=new RegExp(on(gn[e].close),"g"),a[e]={get:function(){var t=gn[e];return y.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},l=0,c=Object.keys(gn);l1)for(var u=1;ut.length&&(e=t,t=n);var r=e.length,u=t.length;if(0===r)return u;if(0===u)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-u);)r--,u--;if(0===r)return u;for(var a,i,o,s,l=0;li?s>i?i+1:s:s>o?o+1:s;return i}(e,t)<3});o&&i.push("Did you mean ".concat(Pn.default.blue(r.key(o)),"?")),u.warn(i.join(" "))}});ot(qn);var Vn=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),rn.__exportStar(qn,t)});ot(Vn);var Un=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),rn.__exportStar(jn,t),rn.__exportStar(_n,t),rn.__exportStar(Vn,t)});ot(Un);var Wn=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){var r=new e(t),i=Object.create(r),o=!0,s=!1,l=void 0;try{for(var c,p=n[Symbol.iterator]();!(o=(c=p.next()).done);o=!0){var f=c.value;f in t&&(i[f]=a(t[f],r,u.prototype[f].length))}}catch(d){s=!0,l=d}finally{try{o||null==p.return||p.return()}finally{if(s)throw l}}return i}t.createSchema=r;var u=function(){function e(t){s(this,e),this.name=t.name}return c(e,[{key:"default",value:function(e){}},{key:"expected",value:function(e){return"nothing"}},{key:"validate",value:function(e,t){return!1}},{key:"deprecated",value:function(e,t){return!1}},{key:"forward",value:function(e,t){}},{key:"redirect",value:function(e,t){}},{key:"overlap",value:function(e,t,n){return e}},{key:"preprocess",value:function(e,t){return e}},{key:"postprocess",value:function(e,t){return e}}],[{key:"create",value:function(e){return r(this,e)}}]),e}();function a(e,t,n){return"function"==typeof e?function(){for(var r=arguments.length,u=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){var n=r("object"===o(e)&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"===o(e)&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}});ot(Xn);var Hn=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ChoiceSchema=function(e){function t(e){var n;return s(this,t),(n=y(this,d(t).call(this,e)))._choices=Xn.mapFromArray(e.choices.map(function(e){return e&&"object"===o(e)?e:{value:e}}),"value"),n}return f(t,e),c(t,[{key:"expected",value:function(e){var t=this,n=e.descriptor,r=Array.from(this._choices.keys()).map(function(e){return t._choices.get(e)}).filter(function(e){return!e.deprecated}).map(function(e){return e.value}).sort(Xn.comparePrimitive).map(n.value),u=r.slice(0,-2),a=r.slice(-2);return u.concat(a.join(" or ")).join(", ")}},{key:"validate",value:function(e){return this._choices.has(e)}},{key:"deprecated",value:function(e){var t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}},{key:"forward",value:function(e){var t=this._choices.get(e);return t?t.forward:void 0}},{key:"redirect",value:function(e){var t=this._choices.get(e);return t?t.redirect:void 0}}]),t}(Wn.Schema)});ot(Hn);var Yn=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.NumberSchema=function(e){function t(){return s(this,t),y(this,d(t).apply(this,arguments))}return f(t,e),c(t,[{key:"expected",value:function(){return"a number"}},{key:"validate",value:function(e,t){return"number"==typeof e}}]),t}(Wn.Schema)});ot(Yn);var Kn=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.IntegerSchema=function(e){function t(){return s(this,t),y(this,d(t).apply(this,arguments))}return f(t,e),c(t,[{key:"expected",value:function(){return"an integer"}},{key:"validate",value:function(e,n){return!0===n.normalizeValidateResult(v(d(t.prototype),"validate",this).call(this,e,n),e)&&Xn.isInt(e)}}]),t}(Yn.NumberSchema)});ot(Kn);var Qn=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringSchema=function(e){function t(){return s(this,t),y(this,d(t).apply(this,arguments))}return f(t,e),c(t,[{key:"expected",value:function(){return"a string"}},{key:"validate",value:function(e){return"string"==typeof e}}]),t}(Wn.Schema)});ot(Qn);var Zn=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),rn.__exportStar($n,t),rn.__exportStar(Jn,t),rn.__exportStar(zn,t),rn.__exportStar(Gn,t),rn.__exportStar(Hn,t),rn.__exportStar(Kn,t),rn.__exportStar(Yn,t),rn.__exportStar(Qn,t)});ot(Zn);var er=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=nn.apiDescriptor,t.defaultUnknownHandler=qn.levenUnknownHandler,t.defaultInvalidHandler=_n.commonInvalidHandler,t.defaultDeprecatedHandler=In.commonDeprecatedHandler});ot(er);var tr=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=function(e,t,r){return new n(t,r).normalize(e)};var n=function(){function e(t,n){s(this,e);var r=n||{},u=r.logger,a=void 0===u?console:u,i=r.descriptor,o=r.unknown,l=void 0===o?er.defaultUnknownHandler:o,c=r.invalid,p=void 0===c?er.defaultInvalidHandler:c,f=r.deprecated,d=void 0===f?er.defaultDeprecatedHandler:f;this._utils={descriptor:void 0===i?er.defaultDescriptor:i,logger:a||{warn:function(){}},schemas:Xn.recordFromArray(t,"name"),normalizeDefaultResult:Xn.normalizeDefaultResult,normalizeDeprecatedResult:Xn.normalizeDeprecatedResult,normalizeForwardResult:Xn.normalizeForwardResult,normalizeRedirectResult:Xn.normalizeRedirectResult,normalizeValidateResult:Xn.normalizeValidateResult},this._unknownHandler=l,this._invalidHandler=p,this._deprecatedHandler=d,this.cleanHistory()}return c(e,[{key:"cleanHistory",value:function(){this._hasDeprecationWarned=Xn.createAutoChecklist()}},{key:"normalize",value:function(e){var t=this,n={},r=[e],u=function(){for(;0!==r.length;){var e=r.shift(),u=t._applyNormalization(e,n);r.push.apply(r,A(u))}};u();for(var a=0,i=Object.keys(this._utils.schemas);at.length&&(e=t,t=n);for(var r=e.length,u=t.length;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-u);)r--,u--;for(var a,i,o,s,l=0;li?s>i?i+1:s:s>o?o+1:s;return i},ir=ar;ir.default=ar;var or,sr={key:function(e){return 1===e.length?"-".concat(e):"--".concat(e)},value:function(e){return nr.apiDescriptor.value(e)},pair:function(e){var t=e.key,n=e.value;return!1===n?"--no-".concat(t):!0===n?sr.key(t):""===n?"".concat(sr.key(t)," without an argument"):"".concat(sr.key(t),"=").concat(n)}},lr=function(e){function t(e){var n,r=e.name,u=e.flags;return s(this,t),(n=y(this,d(t).call(this,{name:r,choices:u})))._flags=u.slice().sort(),n}return f(t,e),c(t,[{key:"preprocess",value:function(e,t){if("string"==typeof e&&0!==e.length&&-1===this._flags.indexOf(e)){var n=this._flags.find(function(t){return ir(t,e)<3});if(n)return t.logger.warn(["Unknown flag ".concat(Pn.yellow(t.descriptor.value(e)),","),"did you mean ".concat(Pn.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}},{key:"expected",value:function(){return"a flag"}}]),t}(nr.ChoiceSchema);function cr(e,t){var n=t.isCLI,r=[];n&&r.push(nr.AnySchema.create({name:"_"}));var u=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var l=o.value;r.push(pr(l,{isCLI:n,optionInfos:e})),l.alias&&n&&r.push(nr.AliasSchema.create({name:l.alias,sourceName:l.name}))}}catch(c){a=!0,i=c}finally{try{u||null==s.return||s.return()}finally{if(a)throw i}}return r}function pr(e,t){var n,r=t.isCLI,u=t.optionInfos,a={name:e.name},i={};switch(e.type){case"int":n=nr.IntegerSchema,r&&(a.preprocess=function(e){return Number(e)});break;case"string":n=nr.StringSchema;break;case"choice":n=nr.ChoiceSchema,a.choices=e.choices.map(function(t){return"object"===o(t)&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t});break;case"boolean":n=nr.BooleanSchema;break;case"flag":n=lr,a.flags=u.map(function(e){return[].concat(e.alias||[],e.description?e.name:[],e.oppositeDescription?"no-".concat(e.name):[])}).reduce(function(e,t){return e.concat(t)},[]);break;case"path":n=nr.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(a.validate=e.exception?function(t,n,r){return e.exception(t)||n.validate(t,r)}:function(e,t,n){return void 0===e||t.validate(e,n)},e.redirect&&(i.redirect=function(t){return t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0}),e.deprecated&&(i.deprecated=!0),r&&!e.array){var s=a.preprocess||function(e){return e};a.preprocess=function(e,t,n){return t.preprocess(s(Array.isArray(e)?e[e.length-1]:e),n)}}return e.array?nr.ArraySchema.create(Object.assign(r?{preprocess:function(e){return[].concat(e)}}:{},i,{valueSchema:n.create(a)})):n.create(Object.assign({},a,i))}var fr=function(e,t,n){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.logger,u=n.isCLI,a=void 0!==u&&u,i=n.passThrough,o=void 0!==i&&i,s=o?Array.isArray(o)?function(e,t){return-1===o.indexOf(e)?void 0:p({},e,t)}:function(e,t){return p({},e,t)}:nr.levenUnknownHandler,l=a?sr:nr.apiDescriptor,c=cr(t,{isCLI:a}),f=new nr.Normalizer(c,{logger:r,unknown:s,descriptor:l}),d=!1!==r;d&&or&&(f._hasDeprecationWarned=or);var D=f.normalize(e);return d&&(or=f._hasDeprecationWarned),D}(e,t,n)},dr=function(e){return e.length>0?e[e.length-1]:null},Dr=st(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}});ot(Dr);var hr=st(function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()}),mr=st(function(e){!function(){var t,n,r,u,a,i;function o(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||36===i||95===i;for(a=new Array(128),i=0;i<128;++i)a[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||36===i||95===i;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?u[e]:n.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES5:function(e){return e<128?a[e]:n.NonAsciiIdentifierPart.test(o(e))},isIdentifierStartES6:function(e){return e<128?u[e]:t.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES6:function(e){return e<128?a[e]:t.NonAsciiIdentifierPart.test(o(e))}}}()}),gr=st(function(e){!function(){var t=mr;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function u(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function i(e){var n,r,u;if(0===e.length)return!1;if(u=e.charCodeAt(0),!t.isIdentifierStartES5(u))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(a=e.charCodeAt(n))&&a<=57343))return!1;u=1024*(u-55296)+(a-56320)+65536}if(!i(u))return!1;i=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:u,isReservedWordES6:a,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:i,isIdentifierNameES6:o,isIdentifierES5:function(e,t){return i(e)&&!u(e,t)},isIdentifierES6:function(e,t){return o(e)&&!a(e,t)}}}()}),yr=st(function(e,t){t.ast=hr,t.code=mr,t.keyword=gr}),vr=st(function(e,t){function n(){var e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(Dr);return n=function(){return e},e}function r(){var e=a(yr);return r=function(){return e},e}function u(){var e=a(Pn);return u=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldHighlight=f,t.getChalk=d,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(f(t)){var n=d(t),r=i(n);return p(r,e)}return e};var o=/\r\n|[\n\r\u2028\u2029]/,s=/^[a-z][\w-]*$/i,l=/^[()[\]{}]$/;function c(e){var t=C(e.slice(-2),2),u=t[0],a=t[1],i=(0,n().matchToToken)(e);if("name"===i.type){if(r().default.keyword.isReservedWordES6(i.value))return"keyword";if(s.test(i.value)&&("<"===a[u-1]||"3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;var a="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Lt.emitWarning)Lt.emitWarning(a,"DeprecationWarning");else{var i=new Error(a);i.name="DeprecationWarning",console.warn(new Error(a))}}var s={start:{column:n=Math.max(n,0),line:t}};return o(e,s,u)};var r=!1;function u(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var a=/\r\n|[\n\r\u2028\u2029]/;function i(e,t,n){var r=Object.assign({column:0,line:-1},e.start),u=Object.assign({},r,e.end),a=n||{},i=a.linesAbove,o=a.linesBelow,s=void 0===o?3:o,l=r.line,c=r.column,p=u.line,f=u.column,d=Math.max(l-((void 0===i?2:i)+1),0),D=Math.min(t.length,p+s);-1===l&&(d=0),-1===p&&(D=t.length);var h=p-l,m={};if(h)for(var g=0;g<=h;g++){var y=g+l;m[y]=!c||(0===g?[c,t[y-1].length-c+1]:g===h?[0,f]:[0,t[y-g].length])}else m[l]=c===f?!c||[c,0]:[c,f-c];return{start:d,end:D,markerLines:m}}function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(r.highlightCode||r.forceColor)&&(0,n().shouldHighlight)(r),s=(0,n().getChalk)(r),l=u(s),c=function(e,t){return o?e(t):t},p=e.split(a),f=i(t,p,r),d=f.start,D=f.end,h=f.markerLines,m=t.start&&"number"==typeof t.start.column,g=String(D).length,y=o?(0,n().default)(e,r):e,v=y.split(a).slice(d,D).map(function(e,t){var n=d+1+t,u=" ".concat(n).slice(-g),a=" ".concat(u," | "),i=h[n],o=!h[n+1];if(i){var s="";if(Array.isArray(i)){var p=e.slice(0,Math.max(i[0]-1,0)).replace(/[^\t]/g," "),f=i[1]||1;s=["\n ",c(l.gutter,a.replace(/\d/g," ")),p,c(l.marker,"^").repeat(f)].join(""),o&&r.message&&(s+=" "+c(l.message,r.message))}return[c(l.marker,">"),c(l.gutter,a),e,s].join("")}return" ".concat(c(l.gutter,a)).concat(e)}).join("\n");return r.message&&!m&&(v="".concat(" ".repeat(g+1)).concat(r.message,"\n").concat(v)),o?s.reset(v):v}});ot(Er);var Cr=ft.ConfigError,Ar=function e(t,n){return!(n=n||{}).ignoreDecorators&&t.declaration&&t.declaration.decorators&&t.declaration.decorators.length>0?e(t.declaration.decorators[0]):!n.ignoreDecorators&&t.decorators&&t.decorators.length>0?e(t.decorators[0]):t.__location?t.__location.startOffset:t.range?t.range[0]:"number"==typeof t.start?t.start:t.loc?t.loc.start:null},Fr=function e(t){var n=t.nodes&&dr(t.nodes);if(n&&t.source&&!t.source.end&&(t=n),t.__location)return t.__location.endOffset;var r=t.range?t.range[1]:"number"==typeof t.end?t.end:null;return t.typeAnnotation?Math.max(r,e(t.typeAnnotation)):t.loc&&!r?t.loc.end:r},br=Object.getOwnPropertyNames,xr=Object.getOwnPropertyDescriptor;function Sr(e){var t={},n=!0,r=!1,u=void 0;try{for(var a,i=e.plugins[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var o=a.value;if(o.parsers){var s=!0,l=!1,c=void 0;try{for(var p,f=br(o.parsers)[Symbol.iterator]();!(s=(p=f.next()).done);s=!0){var d=p.value;Object.defineProperty(t,d,xr(o.parsers,d))}}catch(D){l=!0,c=D}finally{try{s||null==f.return||f.return()}finally{if(l)throw c}}}}}catch(D){r=!0,u=D}finally{try{n||null==i.return||i.return()}finally{if(r)throw u}}return t}function wr(e,t){if(t=t||Sr(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Ar,locEnd:Fr};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new Cr("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Br={parse:function(e,t){var n=Sr(t),r=Object.keys(n).reduce(function(e,t){return Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t].parse}})},{}),u=wr(t,n);try{return u.preprocess&&(e=u.preprocess(e,t)),{text:e,ast:u.parse(e,r,t)}}catch(i){var a=i.loc;if(a)throw i.codeFrame=Er.codeFrameColumns(e,a,{highlightCode:!0}),i.message+="\n"+i.codeFrame,i;throw i.stack}},resolveParser:wr},Tr=ft.UndefinedParserError,kr=Ht,Or=Br.resolveParser,Nr={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},Pr=function(e,t){t=t||{};var n,r,u,a,i,o=Object.assign({},e),s=kr(null,{plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,l=s.reduce(function(e,t){return void 0!==t.default?Object.assign(e,p({},t.name,t.default)):e},Object.assign({},Nr));if(!o.parser)if(o.filepath){if(o.parser=(r=o.plugins,u=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var n=e.length;if(n<=1)return e;var r="";if(n>4&&"\\"===e[3]){var u=e[2];"?"!==u&&"."!==u||"\\\\"!==e.slice(0,2)||(e=e.slice(2),r="//")}var a=e.split(/[/\\]+/);return""===a[a.length-1]&&a.pop(),r+a.join("/")}(n=o.filepath).split("/"),a=u[u.length-1].toLowerCase(),(i=kr(null,{plugins:r}).languages.find(function(e){return null!==e.since&&(e.extensions&&e.extensions.some(function(e){return a.endsWith(e)})||e.filenames&&e.filenames.find(function(e){return e.toLowerCase()===a})||-1===a.indexOf(".")&&e.interpreters&&-1!==e.interpreters.indexOf(function(e){if("string"!=typeof e)return"";var t;try{t=ct.openSync(e,"r")}catch(a){return""}try{var n=new pt(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];var u=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return u?u[1]:""}catch(a){return""}finally{try{ct.closeSync(t)}catch(a){}}}(n)))}))&&i.parsers[0]),!o.parser)throw new Tr("No parser could be inferred for file: ".concat(o.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),o.parser="babel";var c=Or(fr(o,[s.find(function(e){return"parser"===e.name})],{passThrough:!0,logger:!1}));o.astFormat=c.astFormat,o.locEnd=c.locEnd,o.locStart=c.locStart;var f=function(e){var t=e.astFormat;if(!t)throw new Error("getPlugin() requires astFormat to be set");var n=e.plugins.find(function(e){return e.printers&&e.printers[t]});if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(o);o.printer=f.printers[o.astFormat];var d=s.filter(function(e){return e.pluginDefaults&&void 0!==e.pluginDefaults[f.name]}).reduce(function(e,t){return Object.assign(e,p({},t.name,t.pluginDefaults[f.name]))},{}),D=Object.assign({},l,d);return Object.keys(D).forEach(function(e){null==o[e]&&(o[e]=D[e])}),"json"===o.parser&&(o.trailingComma="none"),fr(o,s,Object.assign({passThrough:Object.keys(Nr)},t))},Ir=function e(t,n,r){if(Array.isArray(t))return t.map(function(t){return e(t,n,r)}).filter(function(e){return e});if(!t||"object"!==o(t))return t;for(var u={},a=0,i=Object.keys(t);a0){for(var u=0;u<~]))"].join("|");return new RegExp(t,e.onlyFirst?void 0:"g")}(),""):e},Jr=$r;Jr.default=$r;var zr=function(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)},Gr=zr;Gr.default=zr;var Xr=function(e){if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=Jr(e);for(var t=0,n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=Gr(r)?2:1)}return t},Hr=Xr;Hr.default=Xr;var Yr=/[^\x20-\x7F]/;function Kr(e){if(e)switch(e.type){case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}function Qr(e){return function(t,n,r){var u=r&&r.backwards;if(!1===n)return!1;for(var a=t.length,i=n;i>=0&&i"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach(function(e,t){e.forEach(function(e){cu[e]=t})});var fu={"==":!0,"!=":!0,"===":!0,"!==":!0},du={"*":!0,"/":!0,"%":!0},Du={">>":!0,">>>":!0,"<<":!0};function hu(e){return e.left?hu(e.left):e}function mu(e,t,n){for(var r=0,u=n=n||0;u(n.match(i.regex)||[]).length?i.quote:a.quote),o}function yu(e,t,n){var r='"'===t?"'":'"',u=e.replace(/\\([\s\S])|(['"])/g,function(e,u,a){return u===r?u:a===t?"\\"+a:a||(n&&/^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(u)?u:"\\"+u)});return t+u+t}function vu(e){return e&&e.comments&&e.comments.length>0&&e.comments.some(function(e){return"prettier-ignore"===e.value.trim()})}function Eu(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Cu,Au={replaceEndOfLineWith:function(e,t){var n=[],r=!0,u=!1,a=void 0;try{for(var i,o=e.split("\n")[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var s=i.value;0!==n.length&&n.push(t),n.push(s)}}catch(l){u=!0,a=l}finally{try{r||null==o.return||o.return()}finally{if(u)throw a}}return n},getStringWidth:function(e){return e?Yr.test(e)?Hr(e):e.length:0},getMaxContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(on(t),")+"),"g"));return null===n?0:n.reduce(function(e,n){return Math.max(e,n.length/t.length)},0)},getMinNotPresentContinuousCount:function(e,t){var n=e.match(new RegExp("(".concat(on(t),")+"),"g"));if(null===n)return 0;var r=new Map,u=0,a=!0,i=!1,o=void 0;try{for(var s,l=n[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value.length/t.length;r.set(c,!0),c>u&&(u=c)}}catch(f){i=!0,o=f}finally{try{a||null==l.return||l.return()}finally{if(i)throw o}}for(var p=1;p1?e[e.length-2]:null},getLast:dr,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:su,getNextNonSpaceNonCommentCharacterIndex:lu,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(lu(e,t,n))},skip:Qr,skipWhitespace:Zr,skipSpaces:eu,skipToLineEnd:tu,skipEverythingButNewLine:nu,skipInlineComment:ru,skipTrailingComment:uu,skipNewline:au,isNextLineEmptyAfterIndex:ou,isNextLineEmpty:function(e,t,n){return ou(e,n(t))},isPreviousLineEmpty:function(e,t,n){var r=n(t)-1;return r=au(e,r=eu(e,r,{backwards:!0}),{backwards:!0}),(r=eu(e,r,{backwards:!0}))!==au(e,r,{backwards:!0})},hasNewline:iu,hasNewlineInRange:function(e,t,n){for(var r=t;r0&&D(i),y()):g()}function g(){o>0&&h(o),y()}function y(){i=0,o=0}}function Nu(e){if(0===e.length)return 0;for(var t=0;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[ \t]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){var n=e[e.length-1].replace(/[ \t]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function Pu(e,t,n,r,u){for(var a=t.length,i=[e],o=[];n>=0;)if(0!==i.length){var s=i.pop(),l=s[0],c=s[1],p=s[2];if("string"==typeof p)o.push(p),n-=bu(p);else switch(p.type){case"concat":for(var f=p.parts.length-1;f>=0;f--)i.push([l,c,p.parts[f]]);break;case"indent":i.push([Tu(l,r),c,p.contents]);break;case"align":i.push([ku(l,p.n,r),c,p.contents]);break;case"trim":n+=Nu(o);break;case"group":if(u&&p.break)return!1;i.push([l,p.break?1:c,p.contents]),p.id&&(Cu[p.id]=i[i.length-1][1]);break;case"fill":for(var d=p.parts.length-1;d>=0;d--)i.push([l,c,p.parts[d]]);break;case"if-break":var D=p.groupId?Cu[p.groupId]:c;1===D&&p.breakContents&&i.push([l,c,p.breakContents]),2===D&&p.flatContents&&i.push([l,c,p.flatContents]);break;case"line":switch(c){case 2:if(!p.hard){p.soft||(o.push(" "),n-=1);break}return!0;case 1:return!0}}}else{if(0===a)return!0;i.push(t[a-1]),a--}return!1}var Iu={};function ju(e,t,n,r){for(var u=[e];0!==u.length;){var a=u.pop();if(a!==Iu){var i=!0;if(t&&!1===t(a)&&(i=!1),n&&(u.push(a),u.push(Iu)),i)if("concat"===a.type||"fill"===a.type)for(var o=a.parts.length-1;o>=0;--o)u.push(a.parts[o]);else if("if-break"===a.type)a.flatContents&&u.push(a.flatContents),a.breakContents&&u.push(a.breakContents);else if("group"===a.type&&a.expandedStates)if(r)for(var s=a.expandedStates.length-1;s>=0;--s)u.push(a.expandedStates[s]);else u.push(a.contents);else a.contents&&u.push(a.contents)}else n(u.pop())}}function Lu(e,t){if("concat"===e.type||"fill"===e.type){var n=e.parts.map(function(e){return Lu(e,t)});return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){var r=e.breakContents&&Lu(e.breakContents,t),u=e.flatContents&&Lu(e.flatContents,t);return t(Object.assign({},e,{breakContents:r,flatContents:u}))}if(e.contents){var a=Lu(e.contents,t);return t(Object.assign({},e,{contents:a}))}return t(e)}function _u(e,t,n){var r=n,u=!1;return ju(e,function(e){var n=t(e);if(void 0!==n&&(u=!0,r=n),u)return!1}),r}function Mu(e){return"string"!=typeof e&&("line"===e.type||void 0)}function Ru(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function qu(e){if(e.length>0){var t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function Vu(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function Uu(e){if("concat"===e.type){for(var t=[],n=0;n=0;d--)a.push([c,p,f.parts[d]]);break;case"indent":a.push([Tu(c,t),p,f.contents]);break;case"align":a.push([ku(c,f.n,t),p,f.contents]);break;case"trim":u-=Nu(i);break;case"group":switch(p){case 2:if(!o){a.push([c,f.break?1:2,f.contents]);break}case 1:o=!1;var D=[c,2,f.contents],h=n-u;if(!f.break&&Pu(D,a,h,t))a.push(D);else if(f.expandedStates){var m=f.expandedStates[f.expandedStates.length-1];if(f.break){a.push([c,1,m]);break}for(var g=1;g=f.expandedStates.length){a.push([c,1,m]);break}var y=[c,2,f.expandedStates[g]];if(Pu(y,a,h,t)){a.push(y);break}}}else a.push([c,1,f.contents])}f.id&&(Cu[f.id]=a[a.length-1][1]);break;case"fill":var v=n-u,E=f.parts;if(0===E.length)break;var C=E[0],A=[c,2,C],F=[c,1,C],b=Pu(A,[],v,t,!0);if(1===E.length){a.push(b?A:F);break}var x=E[1],S=[c,2,x],w=[c,1,x];if(2===E.length){b?(a.push(S),a.push(A)):(a.push(w),a.push(F));break}E.splice(0,2);var B=[c,p,wu(E)];Pu([c,2,Su([C,x,E[0]])],[],v,t,!0)?(a.push(B),a.push(S),a.push(A)):b?(a.push(B),a.push(w),a.push(A)):(a.push(B),a.push(w),a.push(F));break;case"if-break":var T=f.groupId?Cu[f.groupId]:p;1===T&&f.breakContents&&a.push([c,p,f.breakContents]),2===T&&f.flatContents&&a.push([c,p,f.flatContents]);break;case"line-suffix":s.push([c,p,f.contents]);break;case"line-suffix-boundary":s.length>0&&a.push([c,p,{type:"line",hard:!0}]);break;case"line":switch(p){case 2:if(!f.hard){f.soft||(i.push(" "),u+=1);break}o=!0;case 1:if(s.length){a.push([c,p,f]),[].push.apply(a,s.reverse()),s=[];break}f.literal?c.root?(i.push(r,c.root.value),u=c.root.length):(i.push(r),u=0):(u-=Nu(i),i.push(r+c.value),u=c.length)}}}var k=i.indexOf(Bu.placeholder);if(-1!==k){var O=i.indexOf(Bu.placeholder,k+1),N=i.slice(0,k).join(""),P=i.slice(k+1,O).join("");return{formatted:N+P+i.slice(O+1).join(""),cursorNodeStart:N.length,cursorNodeText:P}}return{formatted:i.join("")}}},utils:{isEmpty:function(e){return"string"==typeof e&&0===e.length},willBreak:function(e){return _u(e,Ru,!1)},isLineNext:function(e){return _u(e,Mu,!1)},traverseDoc:ju,findInDoc:_u,mapDoc:Lu,propagateBreaks:function(e){var t=new Set,n=[];ju(e,function(e){if("break-parent"===e.type&&qu(n),"group"===e.type){if(n.push(e),t.has(e))return!1;t.add(e)}},function(e){"group"===e.type&&n.pop().break&&qu(n)},!0)},removeLines:function(e){return Lu(e,Vu)},stripTrailingHardline:function e(t){if("concat"===t.type&&0!==t.parts.length){var n=t.parts[t.parts.length-1];if("concat"===n.type)return 2===n.parts.length&&n.parts[0].hard&&"break-parent"===n.parts[1].type?{type:"concat",parts:t.parts.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(n))}}return t}},debug:{printDocToDebug:function(e){return Wu(Uu(e))}}},Ju={getMaxContinuousCount:Au.getMaxContinuousCount,getStringWidth:Au.getStringWidth,getAlignmentSize:Au.getAlignmentSize,getIndentSize:Au.getIndentSize,skip:Au.skip,skipWhitespace:Au.skipWhitespace,skipSpaces:Au.skipSpaces,skipNewline:Au.skipNewline,skipToLineEnd:Au.skipToLineEnd,skipEverythingButNewLine:Au.skipEverythingButNewLine,skipInlineComment:Au.skipInlineComment,skipTrailingComment:Au.skipTrailingComment,hasNewline:Au.hasNewline,hasNewlineInRange:Au.hasNewlineInRange,hasSpaces:Au.hasSpaces,isNextLineEmpty:function(e,t,n){return Au.isNextLineEmpty(e,t,n.locEnd)},isNextLineEmptyAfterIndex:Au.isNextLineEmptyAfterIndex,isPreviousLineEmpty:function(e,t,n){return Au.isPreviousLineEmpty(e,t,n.locStart)},getNextNonSpaceNonCommentCharacterIndex:function(e,t,n){return Au.getNextNonSpaceNonCommentCharacterIndex(e,t,n.locEnd)},mapDoc:$u.utils.mapDoc,makeString:Au.makeString,addLeadingComment:Au.addLeadingComment,addDanglingComment:Au.addDanglingComment,addTrailingComment:Au.addTrailingComment},zu=$u.builders,Gu=zu.concat,Xu=zu.hardline,Hu=zu.breakParent,Yu=zu.indent,Ku=zu.lineSuffix,Qu=zu.join,Zu=zu.cursor,ea=Au.hasNewline,ta=Au.skipNewline,na=Au.isPreviousLineEmpty,ra=Ju.addLeadingComment,ua=Ju.addDanglingComment,aa=Ju.addTrailingComment,ia=Symbol("child-nodes");function oa(e,t,n){if(e){var r,u=t.printer,a=t.locStart,i=t.locEnd;if(n){if(e&&u.canAttachComment&&u.canAttachComment(e)){var s;for(s=n.length-1;s>=0&&!(a(n[s])<=a(e)&&i(n[s])<=i(e));--s);return void n.splice(s+1,0,e)}}else if(e[ia])return e[ia];if(u.getCommentChildNodes?r=u.getCommentChildNodes(e):e&&"object"===o(e)&&(r=Object.keys(e).filter(function(e){return"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e}).map(function(t){return e[t]})),r)return n||Object.defineProperty(e,ia,{value:n=[],enumerable:!1}),r.forEach(function(e){oa(e,t,n)}),n}}function sa(e,t,n){for(var r,u,a=n.locStart,i=n.locEnd,o=oa(e,n),s=0,l=o.length;s>1,p=o[c];if(a(p)-a(t)<=0&&i(t)-i(p)<=0)return t.enclosingNode=p,void sa(p,t,n);if(i(p)-a(t)<=0)r=p,s=c+1;else{if(!(i(t)-a(p)<=0))throw new Error("Comment location overlaps with node location");u=p,l=c}}if(t.enclosingNode&&"TemplateLiteral"===t.enclosingNode.type){var f=t.enclosingNode.quasis,d=pa(f,t,n);r&&pa(f,r,n)!==d&&(r=null),u&&pa(f,u,n)!==d&&(u=null)}r&&(t.precedingNode=r),u&&(t.followingNode=u)}function la(e,t,n){var r=e.length;if(0!==r){var u,a=e[0],i=a.precedingNode,o=a.followingNode,s=n.locStart(o);for(u=r;u>0;--u){var l=e[u-1];jr.strictEqual(l.precedingNode,i),jr.strictEqual(l.followingNode,o);var c=t.slice(n.locEnd(l),s);if(!/^[\s(]*$/.test(c))break;s=n.locStart(l)}e.forEach(function(e,t){t=0)return void aa(t,o)}sa(t,o,r);var l=o.precedingNode,c=o.enclosingNode,p=o.followingNode,f=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:function(){return!1},d=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:function(){return!1},D=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:function(){return!1},h=e.length-1===s;if(ea(n,a(o),{backwards:!0}))f(o,n,r,t,h)||(p?ra(p,o):l?aa(l,o):ua(c||t,o));else if(ea(n,i(o)))d(o,n,r,t,h)||(l?aa(l,o):p?ra(p,o):ua(c||t,o));else if(D(o,n,r,t,h));else if(l&&p){var m=u.length;m>0&&u[m-1].followingNode!==o.followingNode&&la(u,n,r),u.push(o)}else l?aa(l,o):p?ra(p,o):ua(c||t,o)}),la(u,n,r),e.forEach(function(e){delete e.precedingNode,delete e.enclosingNode,delete e.followingNode})}},printComments:function(e,t,n,r){var u=e.getValue(),a=t(e),i=u&&u.comments;if(!i||0===i.length)return fa(e,n,a);var o=[],s=[r?";":"",a];return e.each(function(e){var t=e.getValue(),r=t.trailing;if(t.leading){var u=function(e,t,n){var r=e.getValue(),u=ca(e,n);if(!u)return"";var a=n.printer.isBlockComment&&n.printer.isBlockComment(r);return Gu(a?[u,ea(n.originalText,n.locEnd(r))?Xu:" "]:[u,Xu])}(e,0,n);if(!u)return;o.push(u);var a=n.originalText,i=ta(a,n.locEnd(t));!1!==i&&ea(a,i)&&o.push(Xu)}else r&&s.push(function(e,t,n){var r=e.getValue(),u=ca(e,n);if(!u)return"";var a=n.printer.isBlockComment&&n.printer.isBlockComment(r),i=e.getNode(1),o=e.getNode(2),s=o&&("ClassDeclaration"===o.type||"ClassExpression"===o.type)&&o.superClass===i;if(ea(n.originalText,n.locStart(r),{backwards:!0})){var l=na(n.originalText,r,n.locStart);return Ku(Gu([Xu,l?Xu:"",u]))}return Gu(a||s?[" ",u]:[Ku(Gu([" ",u])),a?"":Hu])}(e,0,n))},"comments"),fa(e,n,Gu(o.concat(s)))},printDanglingComments:function(e,t,n,r){var u=[],a=e.getValue();return a&&a.comments?(e.each(function(e){var n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||u.push(ca(e,t))},"comments"),0===u.length?"":n?Qu(Xu,u):Yu(Gu([Xu,Qu(Xu,u)]))):""},getSortedChildNodes:oa};function Da(e){jr.ok(this instanceof Da),this.stack=[e]}function ha(e,t){var n=ma(e.stack,t);return-1===n?null:e.stack[n]}function ma(e,t){for(var n=e.length-1;n>=0;n-=2){var r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}Da.prototype.getName=function(){var e=this.stack,t=e.length;return t>1?e[t-2]:null},Da.prototype.getValue=function(){var e=this.stack;return e[e.length-1]},Da.prototype.getNode=function(e){return ha(this,~~e)},Da.prototype.getParentNode=function(e){return ha(this,1+~~e)},Da.prototype.call=function(e){for(var t=this.stack,n=t.length,r=t[n-1],u=arguments.length,a=1;a2&&void 0!==arguments[2]?arguments[2]:0,r=t.printer;r.preprocess&&(e=r.preprocess(e,t));var u=new Map;function a(e,n){var i,s=e.getValue(),l=s&&"object"===o(s)&&void 0===n;return l&&u.has(s)?u.get(s):(i=r.willPrintOwnComments&&r.willPrintOwnComments(e,t)?xa(e,t,a,n):da.printComments(e,function(e){return xa(e,t,a,n)},t,n&&n.needsSemi),l&&u.set(s,i),i)}var i=a(new ga(e));return n>0&&(i=Aa(Ea([Ca,i]),n,t.tabWidth)),Fa.propagateBreaks(i),i}function xa(e,t,n,r){jr.ok(e instanceof ga);var u=e.getValue(),a=t.printer;if(a.hasPrettierIgnore&&a.hasPrettierIgnore(e))return t.originalText.slice(t.locStart(u),t.locEnd(u));if(u)try{var i=function(e,t,n,r){if(n.printer.embed)return n.printer.embed(e,t,function(e,t){return function(e,t,n,r){var u=ya(Object.assign({},n,t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),a=Br.parse(e,u),i=a.ast;e=a.text;var o=i.comments;return delete i.comments,da.attach(o,i,e,u),r(i,u)}(e,t,n,r)},n)}(e,n,t,ba);if(i)return i}catch(o){if(it.PRETTIER_DEBUG)throw o}return a.print(e,t,n,r)}var Sa=ba;function wa(e,t,n,r,u){r=r||function(){return!0},u=u||[];var a=n.locStart(e,n.locStart),i=n.locEnd(e,n.locEnd);if(a<=t&&t<=i){var o=!0,s=!1,l=void 0;try{for(var c,p=da.getSortedChildNodes(e,n)[Symbol.iterator]();!(o=(c=p.next()).done);o=!0){var f=wa(c.value,t,n,r,[e].concat(u));if(f)return f}}catch(d){s=!0,l=d}finally{try{o||null==p.return||p.return()}finally{if(s)throw l}}if(r(e))return{node:e,parentNodes:u}}}function Ba(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"typescript":return["FunctionDeclaration","BlockStatement","BreakStatement","ContinueStatement","DebuggerStatement","DoWhileStatement","EmptyStatement","ExpressionStatement","ForInStatement","ForStatement","IfStatement","LabeledStatement","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","VariableDeclaration","WhileStatement","WithStatement","ClassDeclaration","ImportDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","TypeAlias","InterfaceDeclaration","TypeAliasDeclaration","ExportAssignment","ExportDeclaration"].indexOf(t.type)>-1;case"json":return["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"].indexOf(t.type)>-1;case"graphql":return["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"].indexOf(t.kind)>-1;case"vue":return"root"!==t.tag}return!1}var Ta={calculateRange:function(e,t,n){var r,u=e.slice(t.rangeStart,t.rangeEnd),a=Math.max(t.rangeStart+u.search(/\S/),t.rangeStart);for(r=t.rangeEnd;r>t.rangeStart&&!e[r-1].match(/\S/);--r);var i=wa(n,a,t,function(e){return Ba(t,e)}),o=wa(n,r,t,function(e){return Ba(t,e)});if(!i||!o)return{rangeStart:0,rangeEnd:0};var s=function(e,t,n){var r=e.node,u=t.node;if(r===u)return{startNode:r,endNode:u};var a=!0,i=!1,o=void 0;try{for(var s,l=t.parentNodes[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;if(!("Program"!==c.type&&"File"!==c.type&&n.locStart(c)>=n.locStart(e.node)))break;u=c}}catch(g){i=!0,o=g}finally{try{a||null==l.return||l.return()}finally{if(i)throw o}}var p=!0,f=!1,d=void 0;try{for(var D,h=e.parentNodes[Symbol.iterator]();!(p=(D=h.next()).done);p=!0){var m=D.value;if(!("Program"!==m.type&&"File"!==m.type&&n.locEnd(m)<=n.locEnd(t.node)))break;r=m}}catch(g){f=!0,d=g}finally{try{p||null==h.return||h.return()}finally{if(f)throw d}}return{startNode:r,endNode:u}}(i,o,t),l=s.startNode,c=s.endNode;return{rangeStart:Math.min(t.locStart(l,t.locStart),t.locStart(c,t.locStart)),rangeEnd:Math.max(t.locEnd(l,t.locEnd),t.locEnd(c,t.locEnd))}},findNodeAtOffset:wa},ka=lt(le),Oa=Pr,Na=Fu,Pa=$u.utils.mapDoc,Ia=$u.printer.printDocToString,ja=$u.debug.printDocToDebug,La=Symbol("cursor"),_a={cursorOffset:"<<>>",rangeStart:"<<>>",rangeEnd:"<<>>"};function Ma(e,t,n){var r=t.comments;return r&&(delete t.comments,da.attach(r,t,e,n)),t.tokens=[],n.originalText="yaml"===n.parser?e:e.trimRight(),r}function Ra(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:0};n=n||0;var r=Br.parse(e,t),u=r.ast;if(e=r.text,t.cursorOffset>=0){var a=Ta.findNodeAtOffset(u,t.cursorOffset,t);a&&a.node&&(t.cursorNode=a.node)}var i=Ma(e,u,t),o=Sa(u,t,n),s=Na(t.endOfLine),l=Ia("lf"===t.endOfLine?o:Pa(o,function(e){return"string"==typeof e&&-1!==e.indexOf("\n")?e.replace(/\n/g,s):e}),t);if(function(e){if(e){for(var t=0;t0){var c=l.formatted.trim();void 0!==l.cursorNodeStart&&(l.cursorNodeStart-=l.formatted.indexOf(c)),l.formatted=c+Na(t.endOfLine)}if(t.cursorOffset>=0){var p,f,d,D,h;if(t.cursorNode&&l.cursorNodeText?(p=t.locStart(t.cursorNode),f=e.slice(p,t.locEnd(t.cursorNode)),d=t.cursorOffset-p,D=l.cursorNodeStart,h=l.cursorNodeText):(p=0,f=e,d=t.cursorOffset,D=0,h=l.formatted),f===h)return{formatted:l.formatted,cursorOffset:D+d};var m=f.split("");m.splice(d,0,La);var g=h.split(""),y=ka.diffArrays(m,g),v=D,E=!0,C=!1,A=void 0;try{for(var F,b=y[Symbol.iterator]();!(E=(F=b.next()).done);E=!0){var x=F.value;if(x.removed){if(x.value.indexOf(La)>-1)break}else v+=x.count}}catch(S){C=!0,A=S}finally{try{E||null==b.return||b.return()}finally{if(C)throw A}}return{formatted:l.formatted,cursorOffset:v}}return{formatted:l.formatted}}function qa(e,t){var n=Br.resolveParser(t),r=!n.hasPragma||n.hasPragma(e);if(t.requirePragma&&!r)return{formatted:e};"auto"===t.endOfLine&&(t.endOfLine=function(e){var t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}(e));var u=t.cursorOffset>=0,a=t.rangeStart>0,i=t.rangeEnd=0;s--){var l=o[s];e=e.slice(0,t[l])+_a[l]+e.slice(t[l])}e=e.replace(/\r\n?/g,"\n");for(var c=function(n){var r=o[n];e=e.replace(_a[r],function(e,n){return t[r]=n,""})},p=0;pe.length&&(t.rangeEnd=e.length);var d=a||i?function(e,t){var n,r=Br.parse(e,t),u=Ta.calculateRange(e=r.text,t,r.ast),a=u.rangeStart,i=u.rangeEnd,o=e.slice(a,i),s=Math.min(a,e.lastIndexOf("\n",a)+1),l=e.slice(s,a),c=Au.getAlignmentSize(l,t.tabWidth),p=Ra(o,Object.assign({},t,{rangeStart:0,rangeEnd:1/0,cursorOffset:t.cursorOffset>=a&&t.cursorOffset=i?h=t.cursorOffset-i+(a+f.length):void 0!==p.cursorOffset&&(h=p.cursorOffset+a),"lf"===t.endOfLine)n=d+f+D;else{var m=Na(t.endOfLine);if(h>=0){for(var g=[d,f,D],y=0,v=h;yt.length-n?"\r\n":"\n"},e.exports.graceful=function(t){return e.exports(t)||"\n"}}),Ha=st(function(e,t){function n(){var e=yn;return n=function(){return e},e}function r(){var e,t=(e=Xa)&&e.__esModule?e:{default:e};return r=function(){return t},t}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){var t=e.match(i);return t?t[0].trimLeft():""},t.strip=function(e){var t=e.match(i);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return f(e).pragmas},t.parseWithComments=f,t.print=function(e){var t=e.comments,u=void 0===t?"":t,a=e.pragmas,i=void 0===a?{}:a,o=(0,r().default)(u)||n().EOL,s=Object.keys(i),l=s.map(function(e){return d(e,i[e])}).reduce(function(e,t){return e.concat(t)},[]).map(function(e){return" * "+e+o}).join("");if(!u){if(0===s.length)return"";if(1===s.length&&!Array.isArray(i[s[0]])){var c=i[s[0]];return"".concat("/**"," ").concat(d(s[0],c)[0]).concat(" */")}}var p=u.split(o).map(function(e){return"".concat(" *"," ").concat(e)}).join(o)+o;return"/**"+o+(u?p:"")+(u&&s.length?" *"+o:"")+l+" */"};var u=/\*\/$/,a=/^\/\*\*/,i=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,s=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g;function f(e){var t=(0,r().default)(e)||n().EOL;e=e.replace(a,"").replace(u,"").replace(p,"$1");for(var i="";i!==e;)i=e,e=e.replace(l,"".concat(t,"$1 $2").concat(t));e=e.replace(s,"").trimRight();for(var f,d=Object.create(null),D=e.replace(c,"").replace(s,"").trimRight();f=c.exec(e);){var h=f[2].replace(o,"");d[f[1]]="string"==typeof d[f[1]]||Array.isArray(d[f[1]])?[].concat(d[f[1]],h):h}return{comments:D,pragmas:d}}function d(e,t){return[].concat(t).map(function(t){return"@".concat(e," ").concat(t).trim()})}});ot(Ha);var Ya=function(e){var t=Ha.parseWithComments(Ha.extract(e)),n=Object.assign({format:""},t.pragmas),r=Ha.print({pragmas:n,comments:t.comments.replace(/^(\s+?\r?\n)+/,"")}).replace(/(\r\n|\r)/g,"\n"),u=Ha.strip(e);return r+(u.startsWith("\n")?"\n":"\n\n")+u},Ka={"---":"yaml","+++":"toml"},Qa=function(e){var t=Object.keys(Ka).map(on).join("|"),n=e.match(new RegExp("^(".concat(t,")[^\\n\\S]*\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};var r=n[0].replace(/\n$/,"");return{frontMatter:{type:Ka[n[1]],value:n[2],raw:r},content:n[0].replace(/[^\n]/g," ")+e.slice(n[0].length)}},Za=["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"];function ei(e,t){var n=function(e,t){for(var n,r=[].concat(t),u=-1;n=e.getParentNode(++u);)if(-1!==r.indexOf(n.type))return u;return-1}(e,t);return-1===n?null:e.getParentNode(n)}function ti(e){return"value-operator"===e.type&&"*"===e.value}function ni(e){return"value-operator"===e.type&&"/"===e.value}function ri(e){return"value-operator"===e.type&&"+"===e.value}function ui(e){return"value-operator"===e.type&&"-"===e.value}function ai(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function ii(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&ai(e.groups[0])}var oi=Au.printNumber,si=Au.printString,li=Au.hasIgnoreComment,ci=Au.hasNewline,pi=Ju.isNextLineEmpty,fi=$u.builders,di=fi.concat,Di=fi.join,hi=fi.line,mi=fi.hardline,gi=fi.softline,yi=fi.group,vi=fi.fill,Ei=fi.indent,Ci=fi.dedent,Ai=fi.ifBreak,Fi=$u.utils.removeLines,bi=ei,xi=function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},Si=function(e,t){var n=ei(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},wi=function(e){var t=ei(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},Bi=function(e,t){var n=[].concat(t),r=ei(e,"css-atrule");return r&&-1!==n.indexOf(r.name.toLowerCase())},Ti=function(e,t){var n=ei(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&-1!==["from","to"].indexOf(t.toLowerCase())},ki=function(e){return-1!==Va.indexOf(e.toLowerCase())},Oi=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(\w\s*: [^}:]+|#){|@import[^\n]+(url|,)/.test(t)},Ni=function(e,t){var n=e.getParentNode();if(!n)return!1;var r=n.nodes;return r&&r.indexOf(t)===r.length-1},Pi=function(e){return"css-atrule"===e.type&&-1!==["if","else","for","each","while"].indexOf(e.name)},Ii=function(e){return!!e.selector&&("string"==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},ji=function(e){return"value-word"===e.type&&-1!==["<",">","<=",">="].indexOf(e.value)},Li=function(e){return"value-word"===e.type&&-1!==["==","!="].indexOf(e.value)},_i=ti,Mi=ni,Ri=ri,qi=ui,Vi=function(e){return ti(e)||ni(e)||ri(e)||ui(e)||function(e){return"value-operator"===e.type&&"%"===e.value}(e)},Ui=function(e){return"value-word"===e.type&&"in"===e.value},Wi=function(e){return"value-word"===e.type&&-1!==["from","through","end"].indexOf(e.value)},$i=function(e){return"value-word"===e.type&&-1!==["and","or","not"].indexOf(e.value)},Ji=function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},zi=function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},Gi=function(e){return e.raws&&""===e.raws.before},Xi=ai,Hi=function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},Yi=function(e){return e.name.startsWith("prettier-placeholder")},Ki=function(e){return e.prop.startsWith("@prettier-placeholder")},Qi=function(e){return"value-comment"===e.type&&e.inline},Zi=function(e){return"value-word"===e.type&&"#"===e.value},eo=function(e){return"value-word"===e.type&&"{"===e.value},to=function(e){return"value-word"===e.type&&"}"===e.value},no=function(e){return-1!==["value-word","value-atword"].indexOf(e.type)},ro=function(e){return"value-colon"===e.type},uo=function(e){return e.value&&-1!==["not","and","or"].indexOf(e.value.toLowerCase())},ao=function(e){return"value-func"===e.type&&-1!==Za.indexOf(e.value.toLowerCase())};function io(e){switch(e.trailingComma){case"all":case"es5":return!0;case"none":default:return!1}}function oo(e,t,n){var r=e.getValue(),u=[],a=0;return e.map(function(e){var i=r.nodes[a-1];if(i&&"css-comment"===i.type&&"prettier-ignore"===i.text.trim()){var o=e.getValue();u.push(t.originalText.slice(t.locStart(o),t.locEnd(o)))}else u.push(e.call(n));a!==r.nodes.length-1&&("css-comment"===r.nodes[a+1].type&&!ci(t.originalText,t.locStart(r.nodes[a+1]),{backwards:!0})&&"yaml"!==r.nodes[a].type&&"toml"!==r.nodes[a].type||"css-atrule"===r.nodes[a+1].type&&"else"===r.nodes[a+1].name&&"css-comment"!==r.nodes[a].type?u.push(" "):(u.push(mi),pi(t.originalText,e.getValue(),t)&&"yaml"!==r.nodes[a].type&&"toml"!==r.nodes[a].type&&u.push(mi))),a++},"nodes"),di(u)}var so=/(['"])(?:(?!\1)[^\\]|\\[\s\S])*\1/g,lo=RegExp(so.source+"|"+"(".concat(/[$@]?[a-zA-Z_\u0080-\uFFFF][\w\-\u0080-\uFFFF]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?/g.source,")")+"(".concat(/[a-zA-Z]+/g.source,")?"),"g");function co(e,t){return e.replace(so,function(e){return si(e,t)})}function po(e,t){var n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function fo(e){return e.replace(lo,function(e,t,n,r,u){return!n&&r?(n||"")+Do(r)+xi(u||""):e})}function Do(e){return oi(e).replace(/\.0(?=$|e)/,"")}var ho={print:function(e,t,n){var r,u,a=e.getValue();if(!a)return"";if("string"==typeof a)return a;switch(a.type){case"yaml":case"toml":return di([a.raw,mi]);case"css-root":var i=oo(e,t,n);return i.parts.length?di([i,mi]):i;case"css-comment":if(a.raws.content)return a.raws.content;var o=t.originalText.slice(t.locStart(a),t.locEnd(a)),s=a.raws.text||a.text;return-1===o.indexOf(s)?di(a.raws.inline?["// ",s]:["/* ",s," */"]):o;case"css-rule":return di([e.call(n,"selector"),a.important?" !important":"",a.nodes?di([" {",a.nodes.length>0?Ei(di([mi,oo(e,t,n)])):"",mi,"}",Ii(a)?";":""]):";"]);case"css-decl":var l=e.getParentNode();return di([a.raws.before.replace(/[\s;]/g,""),wi(e)?a.prop:xi(a.prop),":"===a.raws.between.trim()?":":a.raws.between.trim(),a.extend?"":" ",Ji(a)?Fi(e.call(n,"value")):e.call(n,"value"),a.raws.important?a.raws.important.replace(/\s*!\s*important/i," !important"):a.important?" !important":"",a.raws.scssDefault?a.raws.scssDefault.replace(/\s*!default/i," !default"):a.scssDefault?" !default":"",a.raws.scssGlobal?a.raws.scssGlobal.replace(/\s*!global/i," !global"):a.scssGlobal?" !global":"",a.nodes?di([" {",Ei(di([gi,oo(e,t,n)])),gi,"}"]):Ki(a)&&!l.raws.semicolon&&";"!==t.originalText[t.locEnd(a)-1]?"":";"]);case"css-atrule":var c=e.getParentNode();return di(["@",Hi(a)||a.name.endsWith(":")?a.name:xi(a.name),a.params?di([Hi(a)?"":Yi(a)&&/^\s*\n/.test(a.raws.afterName)?/^\s*\n\s*\n/.test(a.raws.afterName)?di([mi,mi]):mi:" ",e.call(n,"params")]):"",a.selector?Ei(di([" ",e.call(n,"selector")])):"",a.value?yi(di([" ",e.call(n,"value"),Pi(a)?zi(a)?" ":hi:""])):"else"===a.name?" ":"",a.nodes?di([Pi(a)?"":" ","{",Ei(di([a.nodes.length>0?gi:"",oo(e,t,n)])),gi,"}"]):Yi(a)&&!c.raws.semicolon&&";"!==t.originalText[t.locEnd(a)-1]?"":";"]);case"media-query-list":var p=[];return e.each(function(e){var t=e.getValue();"media-query"===t.type&&""===t.value||p.push(e.call(n))},"nodes"),yi(Ei(Di(hi,p)));case"media-query":return di([Di(" ",e.map(n,"nodes")),Ni(e,a)?"":","]);case"media-type":return fo(co(a.value,t));case"media-feature-expression":return a.nodes?di(["(",di(e.map(n,"nodes")),")"]):a.value;case"media-feature":return xi(co(a.value.replace(/ +/g," "),t));case"media-colon":return di([a.value," "]);case"media-value":return fo(co(a.value,t));case"media-keyword":return co(a.value,t);case"media-url":return co(a.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return a.value;case"selector-root":return yi(di([Bi(e,"custom-selector")?di([bi(e,"css-atrule").customSelector,hi]):"",Di(di([",",Bi(e,["extend","custom-selector","nest"])?hi:mi]),e.map(n,"nodes"))]));case"selector-selector":return yi(Ei(di(e.map(n,"nodes"))));case"selector-comment":return a.value;case"selector-string":return co(a.value,t);case"selector-tag":var f=e.getParentNode(),d=f&&f.nodes.indexOf(a),D=d&&f.nodes[d-1];return di([a.namespace?di([!0===a.namespace?"":a.namespace.trim(),"|"]):"","selector-nesting"===D.type?a.value:fo(ki(a.value)||Ti(e,a.value)?a.value.toLowerCase():a.value)]);case"selector-id":return di(["#",a.value]);case"selector-class":return di([".",fo(co(a.value,t))]);case"selector-attribute":return di(["[",a.namespace?di([!0===a.namespace?"":a.namespace.trim(),"|"]):"",a.attribute.trim(),a.operator?a.operator:"",a.value?po(co(a.value.trim(),t),t):"",a.insensitive?" i":"","]"]);case"selector-combinator":if("+"===a.value||">"===a.value||"~"===a.value||">>>"===a.value){var h=e.getParentNode();return di(["selector-selector"===h.type&&h.nodes[0]===a?"":hi,a.value,Ni(e,a)?"":" "])}var m=a.value.trim().startsWith("(")?hi:"",g=fo(co(a.value.trim(),t))||hi;return di([m,g]);case"selector-universal":return di([a.namespace?di([!0===a.namespace?"":a.namespace.trim(),"|"]):"",a.value]);case"selector-pseudo":return di([xi(a.value),a.nodes&&a.nodes.length>0?di(["(",Di(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return a.value;case"selector-unknown":var y=bi(e,"css-rule");return y&&y.isSCSSNesterProperty?fo(co(xi(a.value),t)):a.value;case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return di([a.inline?"//":"/*",a.value,a.inline?"":"*/"]);case"value-comma_group":for(var v=e.getParentNode(),E=e.getParentNode(1),C=function(e){var t=ei(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()}(e),A=C&&"value-value"===v.type&&("grid"===C||C.startsWith("grid-template")),F=bi(e,"css-atrule"),b=F&&Pi(F),x=e.map(n,"groups"),S=[],w=Si(e,"url"),B=!1,T=!1,k=0;k0&&"value-comma_group"===a.groups[0].type&&a.groups[0].groups.length>0&&"value-word"===a.groups[0].groups[0].type&&a.groups[0].groups[0].value.startsWith("data:")))return di([a.open?e.call(n,"open"):"",Di(",",e.map(n,"groups")),a.close?e.call(n,"close"):""]);if(!a.open){for(var W=e.map(n,"groups"),$=[],J=0;J0?Mo(Po(["(",Ro(Po([_o,Io(Po([qo("",", "),_o]),e.call(function(e){return Wo(e,t,n)},"arguments"))])),_o,")"])):"",Uo(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return Po(r.block?['"""',jo,Io(jo,r.value.replace(/"""/g,"\\$&").split("\n")),jo,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return Po(["$",e.call(n,"name")]);case"ListValue":return Mo(Po(["[",Ro(Po([_o,Io(Po([qo("",", "),_o]),e.map(n,"values"))])),_o,"]"]));case"ObjectValue":return Mo(Po(["{",t.bracketSpacing&&r.fields.length>0?" ":"",Ro(Po([_o,Io(Po([qo("",", "),_o]),e.map(n,"fields"))])),_o,qo("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return Po([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return Po(["@",e.call(n,"name"),r.arguments.length>0?Mo(Po(["(",Ro(Po([_o,Io(Po([qo("",", "),_o]),e.call(function(e){return Wo(e,t,n)},"arguments"))])),_o,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return Po([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?Po([" = ",e.call(n,"defaultValue")]):"",Uo(e,n,r)]);case"TypeExtensionDefinition":return Po(["extend ",e.call(n,"definition")]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return Po([e.call(n,"description"),r.description?jo:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?Po([" implements ",Io($o(t.originalText.substr(t.locStart(r),t.locEnd(r))),e.map(n,"interfaces"))]):"",Uo(e,n,r),r.fields.length>0?Po([" {",Ro(Po([jo,Io(jo,e.call(function(e){return Wo(e,t,n)},"fields"))])),jo,"}"]):""]);case"FieldDefinition":return Po([e.call(n,"description"),r.description?jo:"",e.call(n,"name"),r.arguments.length>0?Mo(Po(["(",Ro(Po([_o,Io(Po([qo("",", "),_o]),e.call(function(e){return Wo(e,t,n)},"arguments"))])),_o,")"])):"",": ",e.call(n,"type"),Uo(e,n,r)]);case"DirectiveDefinition":return Po([e.call(n,"description"),r.description?jo:"","directive ","@",e.call(n,"name"),r.arguments.length>0?Mo(Po(["(",Ro(Po([_o,Io(Po([qo("",", "),_o]),e.call(function(e){return Wo(e,t,n)},"arguments"))])),_o,")"])):"",Po([" on ",Io(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return Po([e.call(n,"description"),r.description?jo:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),Uo(e,n,r),r.values.length>0?Po([" {",Ro(Po([jo,Io(jo,e.call(function(e){return Wo(e,t,n)},"values"))])),jo,"}"]):""]);case"EnumValueDefinition":return Po([e.call(n,"description"),r.description?jo:"",e.call(n,"name"),Uo(e,n,r)]);case"InputValueDefinition":return Po([e.call(n,"description"),r.description?r.description.block?jo:Lo:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?Po([" = ",e.call(n,"defaultValue")]):"",Uo(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return Po([e.call(n,"description"),r.description?jo:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),Uo(e,n,r),r.fields.length>0?Po([" {",Ro(Po([jo,Io(jo,e.call(function(e){return Wo(e,t,n)},"fields"))])),jo,"}"]):""]);case"SchemaDefinition":return Po(["schema",Uo(e,n,r)," {",r.operationTypes.length>0?Ro(Po([jo,Io(jo,e.call(function(e){return Wo(e,t,n)},"operationTypes"))])):"",jo,"}"]);case"OperationTypeDefinition":return Po([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return Po([e.call(n,"description"),r.description?jo:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),Uo(e,n,r),r.fields.length>0?Po([" {",Ro(Po([jo,Io(jo,e.call(function(e){return Wo(e,t,n)},"fields"))])),jo,"}"]):""]);case"FragmentSpread":return Po(["...",e.call(n,"name"),Uo(e,n,r)]);case"InlineFragment":return Po(["...",r.typeCondition?Po([" on ",e.call(n,"typeCondition")]):"",Uo(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return Mo(Po([e.call(n,"description"),r.description?jo:"",Mo(Po(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),Uo(e,n,r),r.types.length>0?Po([" =",qo(""," "),Ro(Po([qo(Po([Lo," "])),Io(Po([Lo,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return Po([e.call(n,"description"),r.description?jo:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),Uo(e,n,r)]);case"NonNullType":return Po([e.call(n,"type"),"!"]);case"ListType":return Po(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:function(e,t){delete t.loc,delete t.comments},hasPrettierIgnore:Au.hasIgnoreComment,insertPragma:function(e){return"# @format\n\n"+e},printComment:function(e){var t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimRight();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},zo={bracketSpacing:mo.bracketSpacing},Go=[".graphql",".gql",".graphqls"],Xo={languages:[yo(lt(Object.freeze({__proto__:null,name:"GraphQL",type:"data",extensions:Go,tmScope:"source.graphql",aceMode:"text",languageId:139,default:{name:"GraphQL",type:"data",extensions:Go,tmScope:"source.graphql",aceMode:"text",languageId:139}})),function(e){return Object.assign(e,{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})})],options:zo,printers:{graphql:Jo}},Ho=$u.builders,Yo=Ho.concat,Ko=Ho.join,Qo=Ho.softline,Zo=Ho.hardline,es=Ho.line,ts=Ho.group,ns=Ho.indent,rs=Ho.ifBreak,us=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function as(e,t,n){return Yo(e.map(function(r,u){var a=e.getValue(),i=0===u,o=u==e.getParentNode(0).children.length-1&&!i;return ds(a)&&o?n(r,t,n):i?Yo([Qo,n(r,t,n)]):n(r,t,n)},"children"))}function is(e,t){var n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},u=t.singleQuote?r:n,a=u===r?n:r,i=!1;(e.includes(u.quote)||e.includes(a.quote))&&(i=(e.match(u.regex)||[]).length>(e.match(a.regex)||[]).length);var o=i?a:u,s=e.replace(o.regex,"\\".concat(o.quote));return"".concat(o.quote).concat(s).concat(o.quote)}function os(e,t){return e.call(t,"path")}function ss(e,t){var n=e.getValue(),r=[];return n.params.length>0&&(r=r.concat(e.map(t,"params"))),n.hash&&n.hash.pairs.length>0&&r.push(e.call(t,"hash")),r}function ls(e,t,n){var r=[];return n=Object.assign({group:!0},n||{}),r.push(os(e,t)),r=r.concat(ss(e,t)),ns(n.group?ts(Ko(es,r)):Ko(es,r))}function cs(e){var t=e.getValue();return t.program&&t.program.blockParams.length?Yo([" as |",t.program.blockParams.join(" "),"|"]):""}function ps(e,t){return ts(Yo(["{{#",ls(e,t),cs(e),Qo,"}}"]))}function fs(e,t){return Yo(["{{/",e.call(t,"path"),"}}"])}function ds(e){return"TextNode"===e.type&&!/\S/.test(e.chars)}function Ds(e){var t=e.getValue(),n=e.getParentNode(0),r=n.children||n.body;if(r){var u=r.indexOf(t);if(u>0)return r[u-1]}}function hs(e){var t=e.getValue(),n=e.getParentNode(0),r=n.children||n.body;if(r){var u=r.indexOf(t);if(u0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return new Array(Math.min(e,t)).fill(Zo)}var Es={print:function(e,t,n){var r=e.getValue();if(!r)return"";switch(r.type){case"Block":case"Program":case"Template":return ts(Yo(e.map(n,"body").filter(function(e){return""!==e})));case"ElementNode":var u=r.tag[0],a=-1!==r.tag.indexOf("."),i=u.toUpperCase()===u||a,o=r.children.length>0,s=r.children.some(function(e){return!ds(e)}),l=i&&(!o||!s)||-1!==us.indexOf(r.tag),c=l?Yo([" />",Qo]):">",p=l?"/>":">",f=hs(e);return Yo([ts(Yo(["<",r.tag,function(e,t){return ns(Yo([r.attributes.length?es:"",Ko(es,e.map(t,"attributes")),r.modifiers.length?es:"",Ko(es,e.map(t,"modifiers")),r.comments.length?es:"",Ko(es,e.map(t,"comments"))]))}(e,n),r.blockParams.length?" as |".concat(r.blockParams.join(" "),"|"):"",rs(Qo,""),rs(p,c)])),l?"":ts(Yo([s?ns(as(e,t,n)):"",rs(o?Zo:"",""),Yo([""])])),f&&"ElementNode"===f.type?Zo:""]);case"BlockStatement":var d=e.getParentNode(1),D=d&&d.inverse&&1===d.inverse.body.length&&d.inverse.body[0]===r&&"if"===d.inverse.body[0].path.parts[0],h=r.inverse&&1===r.inverse.body.length&&"BlockStatement"===r.inverse.body[0].type&&"if"===r.inverse.body[0].path.parts[0],m=h?function(e){return e}:ns;if(r.inverse)return Yo([D?Yo(["{{else ",ls(e,n),"}}"]):ps(e,n),ns(Yo([Zo,e.call(n,"program")])),r.inverse&&!h?Yo([Zo,"{{else}}"]):"",r.inverse?m(Yo([Zo,e.call(n,"inverse")])):"",D?"":Yo([Zo,fs(e,n)])]);if(D)return Yo([Yo(["{{else ",ls(e,n),"}}"]),ns(Yo([Zo,e.call(n,"program")]))]);var g=r.program.body.some(function(e){return!ds(e)});return Yo([ps(e,n),ts(Yo([ns(Yo([Qo,e.call(n,"program")])),g?Zo:Qo,fs(e,n)]))]);case"ElementModifierStatement":case"MustacheStatement":var y=e.getParentNode(1),v=y&&"ConcatStatement"===y.type;return ts(Yo([!1===r.escaped?"{{{":"{{",ls(e,n,{group:!1}),v?"":Qo,!1===r.escaped?"}}}":"}}"]));case"SubExpression":var E=ss(e,n),C=E.length>0?ns(Yo([es,ts(Ko(es,E))])):"";return ts(Yo(["(",os(e,n),C,Qo,")"]));case"AttrNode":var F="TextNode"===r.value.type;if(F&&r.value.loc.start.column===r.value.loc.end.column)return Yo([r.name]);var b=e.call(n,"value"),x=F?is(b.parts.join(),t):b;return Yo([r.name,"=",x]);case"ConcatStatement":return Yo(['"',ts(ns(Ko(Qo,e.map(function(e){return n(e)},"parts").filter(function(e){return""!==e})))),'"']);case"Hash":return Yo([Ko(es,e.map(n,"pairs"))]);case"HashPair":return Yo([r.key,"=",e.call(n,"value")]);case"TextNode":var S=!Ds(e),w=!hs(e),B=!/\S/.test(r.chars),T=ys(r.chars),k="Block"===e.getParentNode(0).type,O="ElementNode"===e.getParentNode(0).type,N="Template"===e.getParentNode(0).type,P=function(e){return ys(((e="string"==typeof e?e:"").match(/^([^\S\r\n]*[\r\n])+/g)||[])[0]||"")}(r.chars),I=function(e){return ys(((e="string"==typeof e?e:"").match(/([\r\n][^\S\r\n]*)+$/g)||[])[0]||"")}(r.chars);if((S||w)&&B&&(k||O||N))return"";B&&T?(P=Math.min(T,2),I=0):((gs(e,"ElementNode")||gs(e,"BlockStatement"))&&(I=Math.max(I,1)),(ms(e,["ElementNode"])||ms(e,["BlockStatement"]))&&(P=Math.max(P,1)));var j="",L="";if(e.stack.indexOf("attributes")>=0){var _=e.getParentNode(0);if("ConcatStatement"===_.type){var M=_.parts,R=M.indexOf(r);R>0&&"MustacheStatement"===M[R-1].type&&(j=" "),R-1?"--":"";return Yo(["{{!",q,r.value,q,"}}"]);case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return Yo(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return is(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:function(e,t){if(delete t.loc,delete t.selfClosing,"TextNode"===e.type){if(""===e.chars.replace(/\s+/,""))return null;t.chars=e.chars.replace(/^\s+/,"").replace(/\s+$/,"")}}},Cs=["hbs","htmlbars"],As=[".handlebars",".hbs"],Fs={languages:[yo(lt(Object.freeze({__proto__:null,name:"Handlebars",type:"markup",group:"HTML",aliases:Cs,extensions:As,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155,default:{name:"Handlebars",type:"markup",group:"HTML",aliases:Cs,extensions:As,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}})),function(e){return Object.assign(e,{since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})})],printers:{glimmer:Es}},bs=["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],xs=["title"],Ss=["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],ws=["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],Bs=["autoplay","controls","crossorigin","loop","muted","preload","src"],Ts=["href","target"],ks=["color","face","size"],Os=["dir"],Ns=["cite"],Ps=["alink","background","bgcolor","link","text","vlink"],Is=["clear"],js=["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],Ls=["height","width"],_s=["align"],Ms=["align","char","charoff","span","valign","width"],Rs=["align","char","charoff","span","valign","width"],qs=["value"],Vs=["cite","datetime"],Us=["open"],Ws=["title"],$s=["open"],Js=["compact"],zs=["align"],Gs=["compact"],Xs=["height","src","type","width"],Hs=["disabled","form","name"],Ys=["color","face","size"],Ks=["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],Qs=["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],Zs=["cols","rows"],el=["align"],tl=["align"],nl=["align"],rl=["align"],ul=["align"],al=["align"],il=["profile"],ol=["align","noshade","size","width"],sl=["manifest","version"],ll=["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],cl=["align","alt","border","crossorigin","decoding","height","hspace","ismap","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],pl=["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],fl=["cite","datetime"],dl=["prompt"],Dl=["accesskey","for","form"],hl=["accesskey","align"],ml=["type","value"],gl=["as","charset","color","crossorigin","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],yl=["name"],vl=["compact"],El=["charset","content","http-equiv","name","scheme"],Cl=["high","low","max","min","optimum","value"],Al=["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],Fl=["compact","reversed","start","type"],bl=["disabled","label"],xl=["disabled","label","selected","value"],Sl=["for","form","name"],wl=["align"],Bl=["name","type","value","valuetype"],Tl=["width"],kl=["max","value"],Ol=["cite"],Nl=["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],Pl=["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],Il=["name"],jl=["media","sizes","src","srcset","type"],Ll=["media","nonce","title","type"],_l=["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],Ml=["align","char","charoff","valign"],Rl=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],ql=["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],Vl=["align","char","charoff","valign"],Ul=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],Wl=["align","char","charoff","valign"],$l=["datetime"],Jl=["align","bgcolor","char","charoff","valign"],zl=["default","kind","label","src","srclang"],Gl=["compact","type"],Xl=["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"],Hl=lt(Object.freeze({__proto__:null,a:bs,abbr:xs,applet:Ss,area:ws,audio:Bs,base:Ts,basefont:ks,bdo:Os,blockquote:Ns,body:Ps,br:Is,button:js,canvas:Ls,caption:_s,col:Ms,colgroup:Rs,data:qs,del:Vs,details:Us,dfn:Ws,dialog:$s,dir:Js,div:zs,dl:Gs,embed:Xs,fieldset:Hs,font:Ys,form:Ks,frame:Qs,frameset:Zs,h1:el,h2:tl,h3:nl,h4:rl,h5:ul,h6:al,head:il,hr:ol,html:sl,iframe:ll,img:cl,input:pl,ins:fl,isindex:dl,label:Dl,legend:hl,li:ml,link:gl,map:yl,menu:vl,meta:El,meter:Cl,object:Al,ol:Fl,optgroup:bl,option:xl,output:Sl,p:wl,param:Bl,pre:Tl,progress:kl,q:Ol,script:Nl,select:Pl,slot:Il,source:jl,style:Ll,table:_l,tbody:Ml,td:Rl,textarea:ql,tfoot:Vl,th:Ul,thead:Wl,time:$l,tr:Jl,track:zl,ul:Gl,video:Xl,default:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:bs,abbr:xs,applet:Ss,area:ws,audio:Bs,base:Ts,basefont:ks,bdo:Os,blockquote:Ns,body:Ps,br:Is,button:js,canvas:Ls,caption:_s,col:Ms,colgroup:Rs,data:qs,del:Vs,details:Us,dfn:Ws,dialog:$s,dir:Js,div:zs,dl:Gs,embed:Xs,fieldset:Hs,font:Ys,form:Ks,frame:Qs,frameset:Zs,h1:el,h2:tl,h3:nl,h4:rl,h5:ul,h6:al,head:il,hr:ol,html:sl,iframe:ll,img:cl,input:pl,ins:fl,isindex:dl,label:Dl,legend:hl,li:ml,link:gl,map:yl,menu:vl,meta:El,meter:Cl,object:Al,ol:Fl,optgroup:bl,option:xl,output:Sl,p:wl,param:Bl,pre:Tl,progress:kl,q:Ol,script:Nl,select:Pl,slot:Il,source:jl,style:Ll,table:_l,tbody:Ml,td:Rl,textarea:ql,tfoot:Vl,th:Ul,thead:Wl,time:$l,tr:Jl,track:zl,ul:Gl,video:Xl}})),Yl={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"none",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",video:"inline-block",audio:"inline-block"},Kl={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function Ql(e){var t=Object.create(null),n=!0,r=!1,u=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0)t[a.value]=!0}catch(o){r=!0,u=o}finally{try{n||null==i.return||i.return()}finally{if(r)throw u}}return t}function Zl(e,t){return!("element"!==e.type||"template"!==e.fullName||!e.attrMap.lang||"html"===e.attrMap.lang)||!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&-1===["template","style","script","html"].indexOf(e.fullName)||!(!pc(e)||!e.children.some(function(e){return"text"!==e.type&&"interpolation"!==e.type}))}function ec(e){return"attribute"!==e.type&&!tc(e)&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function tc(e){return"text"===e.type||"comment"===e.type}function nc(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName)}function rc(e){return"yaml"===e.type||"toml"===e.type}function uc(e){return fc(e).startsWith("pre")}function ac(e){return"element"===e.type&&0!==e.children.length&&(-1!==["html","head","ul","ol","select"].indexOf(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function ic(e){return oc(e)&&sc(e)}function oc(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function lc(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return-1!==["script","select"].indexOf(e.name)}return!1}function cc(e){return"block"===e||"list-item"===e||e.startsWith("table")}function pc(e){return fc(e).startsWith("pre")}function fc(e){return"element"===e.type&&!e.namespace&&Kl[e.name]||"normal"}function dc(e){var t=1/0,n=!0,r=!1,u=void 0;try{for(var a,i=e.split("\n")[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var o=a.value;if(0!==o.length){if(/\S/.test(o[0]))return 0;var s=o.match(/^\s*/)[0].length;o.length!==s&&s")})},function(e,t){if("html"===t.parser)return e;var n=/\{\{([\s\S]+?)\}\}/g;return e.map(function(e){if(!function(e){return e.children&&!nc(e)}(e))return e;var t=[],r=!0,u=!1,a=void 0;try{for(var i,o=e.children[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var s=i.value;if("text"===s.type)for(var l=s.sourceSpan.constructor,c=s.sourceSpan.start,p=null,f=s.value.split(n),d=0;d$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})})},function(e){return e.map(function(e){return e.children?e.clone(0===e.children.length?{isDanglingSpaceSensitive:Ec(e)}:{children:e.children.map(function(e){return Object.assign({},e,{isLeadingSpaceSensitive:Ac(e),isTrailingSpaceSensitive:Fc(e)})}).map(function(e,t,n){return Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive})})}):e})},function(e){var t=function(e){return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!/[^\S\xA0]/.test(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type};return e.map(function(e){if(e.children){var n=e.children.map(t);if(n.some(Boolean)){for(var r=[],u=0;u")+a.firstChild.value+"")+o.value,sourceSpan:new s(i.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:l,hasTrailingSpaces:c}))}else r.push(a)}return e.clone({children:r})}}return e})}],xc=$u.builders,Sc=xc.concat,wc=xc.group,Bc=st(function(e){var t,n;t=it,n=function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function u(t){var n,r=t.exec(e.substring(g));if(r)return g+=(n=r[0]).length,n}for(var a,i,o,s,l,c=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,D=/[,]+$/,h=/^\d+$/,m=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,y=[];;){if(u(f),g>=c)return y;a=u(d),i=[],","===a.slice(-1)?(a=a.replace(D,""),E()):v()}function v(){for(u(p),o="",s="in descriptor";;){if(l=e.charAt(g),"in descriptor"===s)if(r(l))o&&(i.push(o),o="",s="after descriptor");else{if(","===l)return g+=1,o&&i.push(o),void E();if("("===l)o+=l,s="in parens";else{if(""===l)return o&&i.push(o),void E();o+=l}}else if("in parens"===s)if(")"===l)o+=l,s="in descriptor";else{if(""===l)return i.push(o),void E();o+=l}else if("after descriptor"===s)if(r(l));else{if(""===l)return void E();s="in descriptor",g-=1}g+=1}}function E(){var t,r,u,o,s,l,c,p,f,d=!1,D={};for(o=0;o1&&void 0!==arguments[1]?arguments[1]:function(){return!0},n=0,r=e.stack.length-1;r>=0;r--){var u=e.stack[r];u&&"object"===o(u)&&!Array.isArray(u)&&t(u)&&n++}return n},Qc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dc(e);return 0===t?e:e.split("\n").map(function(e){return e.slice(t)}).join("\n")},Zc=Dc,ep=function(e){return ac(e)||"element"===e.type&&0!==e.children.length&&(-1!==["body","script","style"].indexOf(e.name)||e.children.some(function(e){return function(e){return e.children&&e.children.some(function(e){return"text"!==e.type})}(e)}))||e.firstChild&&e.firstChild===e.lastChild&&oc(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||sc(e.lastChild))},tp=function(e){return rc(e)||e.next&&e.sourceSpan.end.line+1\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function Tp(e){switch(e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function kp(e,t){if(sp(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Np(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?pp(t,Gc):pp(Qc(t.replace(/^\s*?\n|\n\s*?$/g,"")),Uc):Jc(zc,t.split(/[\t\n\f\r ]+/)).parts}var Pp={preprocess:function(e,t){var n=!0,r=!1,u=void 0;try{for(var a,i=bc[Symbol.iterator]();!(n=(a=i.next()).done);n=!0)e=(0,a.value)(e,t)}catch(o){r=!0,u=o}finally{try{n||null==i.return||i.return()}finally{if(r)throw u}}return e},print:function(e,t,n){var r,u=e.getValue();switch(u.type){case"root":return Ic.concat([Vc(dp(e,t,n)),Uc]);case"element":case"ieConditionalComment":var a=1===u.children.length&&"interpolation"===u.firstChild.type&&u.firstChild.isLeadingSpaceSensitive&&!u.firstChild.hasLeadingSpaces&&u.lastChild.isTrailingSpaceSensitive&&!u.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id");return fp([Vc(fp([Vc(Dp(e,t,n),{id:i}),0===u.children.length?u.hasDanglingSpaces&&u.isDanglingSpaceSensitive?zc:"":fp([ep(u)?Mc:"",(r=fp([a?Wc(Hc,"",{groupId:i}):u.firstChild.hasLeadingSpaces&&u.firstChild.isLeadingSpaceSensitive?zc:"text"===u.firstChild.type&&u.isWhitespaceSensitive&&u.isIndentationSensitive?Rc(Hc):Hc,dp(e,t,n)]),a?Wc($c(r),r,{groupId:i}):up(u)&&"root"===u.parent.type&&"vue"===t.parser&&!t.vueIndentScriptAndStyle?r:$c(r)),(u.next?Ap(u.next):Fp(u.parent))?u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?" ":"":a?Wc(Hc,"",{groupId:i}):u.lastChild.hasTrailingSpaces&&u.lastChild.isTrailingSpaceSensitive?zc:("comment"===u.lastChild.type||"text"===u.lastChild.type&&u.isWhitespaceSensitive&&u.isIndentationSensitive)&&new RegExp("\\n\\s{".concat(t.tabWidth*Kc(e,function(e){return e.parent&&"root"!==e.parent.type}),"}$")).test(u.lastChild.value)?"":Hc])])),gp(u,t)]);case"ieConditionalStartComment":case"ieConditionalEndComment":return fp([hp(u),vp(u)]);case"interpolation":return fp([hp(u,t),fp(e.map(n,"children")),vp(u,t)]);case"text":if("interpolation"===u.parent.type){var o=/\n[^\S\n]*?$/,s=o.test(u.value),l=s?u.value.replace(o,""):u.value;return fp([fp(pp(l,Gc)),s?Uc:""])}return qc(ip([].concat(xp(u,t),Np(u),wp(u,t))));case"docType":return fp([Vc(fp([hp(u,t)," ",u.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),vp(u,t)]);case"comment":return fp([xp(u,t),fp(pp(t.originalText.slice(t.locStart(u),t.locEnd(u)),Gc)),wp(u,t)]);case"attribute":if(null===u.value)return u.rawName;var c=cp(u.value),p=Yc(c,"'")|^function\s*\(/.test(t)||/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/.test(t)}(c)?l(c,{parser:"__js_expression"}):Lc(l(c,{parser:"__vue_event_binding"})))}if(r(["^:","^v-bind:"]))return s(l(u(),{parser:"__vue_expression"}));if(r(["^v-"]))return s(l(u(),{parser:"__js_expression"}))}if("angular"===n.parser){var p=function(e,t){return l(e,Object.assign({trailingComma:"none"},t))};if(r(["^\\(.+\\)$","^on-"]))return s(p(u(),{parser:"__ng_action"}));if(r(["^\\[.+\\]$","^bind(on)?-"]))return s(p(u(),{parser:"__ng_binding"}));if(r(["^i18n(-.+)?$"]))return o(qc(Np(e,u())));if(r(["^\\*"]))return s(p(u(),{parser:"__ng_directive"}));var f=/\{\{([\s\S]+?)\}\}/g,d=u();if(f.test(d)){var D=[];return d.split(f).forEach(function(e,t){if(t%2==0)D.push(fp(pp(e,Gc)));else try{D.push(Vc(fp(["{{",$c(fp([zc,p(e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),zc,"}}"])))}catch(n){D.push("{{",fp(pp(e,Gc)),"}}")}}),Vc(fp(D))}}return null}(u,function(e,t){return n(e,Object.assign({__isInHtmlAttribute:!0},t))},r);if(o)return fp([u.rawName,'="',Vc(_c(o,function(e){return"string"==typeof e?e.replace(/"/g,"""):e})),'"']);break;case"yaml":return Xc(fp(["---",Uc,0===u.value.trim().length?"":n(u.value,{parser:"yaml"}),"---"]))}}},Ip=["xhtml"],jp=[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],Lp=Object.freeze({__proto__:null,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:Ip,extensions:jp,languageId:146,default:{name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:Ip,extensions:jp,languageId:146}}),_p=[".vue"],Mp=Object.freeze({__proto__:null,name:"Vue",type:"markup",color:"#2c3e50",extensions:_p,tmScope:"text.html.vue",aceMode:"html",languageId:391,default:{name:"Vue",type:"markup",color:"#2c3e50",extensions:_p,tmScope:"text.html.vue",aceMode:"html",languageId:391}}),Rp=lt(Lp),qp=lt(Mp),Vp={languages:[yo(Rp,function(e){return Object.assign(e,{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})}),yo(Rp,function(e){return Object.assign(e,{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])})}),yo(Rp,function(e){return Object.assign(e,{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})}),yo(qp,function(e){return Object.assign(e,{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})})],printers:{html:Pp},options:{htmlWhitespaceSensitivity:{since:"1.15.0",category:"HTML",type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:"HTML",type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}},Up=Ju.addLeadingComment,Wp=Ju.addTrailingComment,$p=Ju.addDanglingComment;function Jp(e,t){var n=e.body.filter(function(e){return"EmptyStatement"!==e.type});0===n.length?$p(e,t):Up(n[0],t)}function zp(e,t){"BlockStatement"===e.type?Jp(e,t):Up(e,t)}function Gp(e,t,n,r,u,a){return!(!n||"IfStatement"!==n.type||!r||(")"===Au.getNextNonSpaceNonCommentCharacter(e,u,a.locEnd)?(Wp(t,u),0):t===n.consequent&&r===n.alternate?("BlockStatement"===t.type?Wp(t,u):$p(n,u),0):"BlockStatement"===r.type?(Jp(r,u),0):"IfStatement"===r.type?(zp(r.consequent,u),0):n.consequent!==r||(Up(r,u),0)))}function Xp(e,t,n,r,u,a){return!(!n||"WhileStatement"!==n.type||!r||(")"===Au.getNextNonSpaceNonCommentCharacter(e,u,a.locEnd)?(Wp(t,u),0):"BlockStatement"!==r.type||(Jp(r,u),0)))}function Hp(e,t,n,r){return!(!e||"TryStatement"!==e.type&&"CatchClause"!==e.type||!n||("CatchClause"===e.type&&t?(Wp(t,r),0):"BlockStatement"===n.type?(Jp(n,r),0):"TryStatement"===n.type?(zp(n.finalizer,r),0):"CatchClause"!==n.type||(zp(n.body,r),0)))}function Yp(e,t,n,r){return!(!(e&&("ClassDeclaration"===e.type||"ClassExpression"===e.type)&&e.decorators&&e.decorators.length>0)||n&&"Decorator"===n.type||(e.decorators&&0!==e.decorators.length?Wp(e.decorators[e.decorators.length-1],r):Up(e,r),0))}function Kp(e,t,n,r,u){return(t&&n&&("Property"===t.type||"MethodDefinition"===t.type)&&"Identifier"===n.type&&t.key===n&&":"!==Au.getNextNonSpaceNonCommentCharacter(e,n,u.locEnd)||!(!n||!t||"Decorator"!==n.type||"ClassMethod"!==t.type&&"ClassProperty"!==t.type&&"TSAbstractClassProperty"!==t.type&&"TSAbstractMethodDefinition"!==t.type&&"MethodDefinition"!==t.type))&&(Wp(n,r),!0)}function Qp(e,t,n,r,u,a){if(t&&"FunctionTypeParam"===t.type&&n&&"FunctionTypeAnnotation"===n.type&&r&&"FunctionTypeParam"!==r.type)return Wp(t,u),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&n&&("ArrowFunctionExpression"===n.type||"FunctionExpression"===n.type||"FunctionDeclaration"===n.type||"ObjectMethod"===n.type||"ClassMethod"===n.type)&&")"===Au.getNextNonSpaceNonCommentCharacter(e,u,a.locEnd))return Wp(t,u),!0;if(n&&"FunctionDeclaration"===n.type&&r&&"BlockStatement"===r.type){var i=function(){if(0!==n.params.length)return Au.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,a.locEnd(Au.getLast(n.params)));var t=Au.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,a.locEnd(n.id));return Au.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,t+1)}();if(a.locStart(u)>i)return Jp(r,u),!0}return!1}function Zp(e,t){return!(!e||"ImportSpecifier"!==e.type||(Up(e,t),0))}function ef(e,t,n,r){return t&&t.body&&0===t.body.length?(r?$p(t,n):Up(t,n),!0):!(!e||"Program"!==e.type||0!==e.body.length||!e.directives||0!==e.directives.length||(r?$p(e,n):Up(e,n),0))}var tf={handleOwnLineComment:function(e,t,n,r,u){var a=e.precedingNode,i=e.enclosingNode,o=e.followingNode;return!!(Qp(t,a,i,o,e,n)||function(e,t,n){return!(!e||"MemberExpression"!==e.type&&"OptionalMemberExpression"!==e.type||!t||"Identifier"!==t.type||(Up(e,n),0))}(i,o,e)||Gp(t,a,i,o,e,n)||Xp(t,a,i,o,e,n)||Hp(i,a,o,e)||Yp(i,0,o,e)||Zp(i,e)||function(e,t,n){return!(!e||"ForInStatement"!==e.type&&"ForOfStatement"!==e.type||(Up(e,n),0))}(i,0,e)||function(e,t,n,r){return!(!t||"UnionTypeAnnotation"!==t.type&&"TSUnionType"!==t.type||(Wp(e,r),0))}(a,i,0,e)||ef(i,r,e,u)||function(e,t,n,r,u){return!!(n&&"ImportSpecifier"===n.type&&t&&"ImportDeclaration"===t.type&&Au.hasNewline(e,u.locEnd(r)))&&(Wp(n,r),!0)}(t,i,a,e,n)||function(e,t){return!(!e||"AssignmentPattern"!==e.type||(Up(e,t),0))}(i,e)||Kp(t,i,a,e,n))},handleEndOfLineComment:function(e,t,n,r,u){var a=e.precedingNode,i=e.enclosingNode,o=e.followingNode;return!!(Qp(t,a,i,o,e,n)||function(e,t,n,r,u,a){var i=t&&!Au.hasNewlineInRange(u,a.locEnd(t),a.locStart(r));return!(t&&i||!e||"ConditionalExpression"!==e.type||!n||(Up(n,r),0))}(i,a,o,e,t,n)||Zp(i,e)||Gp(t,a,i,o,e,n)||Xp(t,a,i,o,e,n)||Hp(i,a,o,e)||Yp(i,0,o,e)||function(e,t){return!(!e||"LabeledStatement"!==e.type||(Up(e,t),0))}(i,e)||function(e,t,n){return!!(t&&("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&e&&t.callee===e&&t.arguments.length>0)&&(Up(t.arguments[0],n),!0)}(a,i,e)||function(e,t){return!(!e||"Property"!==e.type&&"ObjectProperty"!==e.type||(Up(e,t),0))}(i,e)||ef(i,r,e,u)||function(e,t,n){return!(!e||"TypeAlias"!==e.type||(Up(e,n),0))}(i,0,e)||function(e,t,n){return!(!e||"VariableDeclarator"!==e.type&&"AssignmentExpression"!==e.type||!t||"ObjectExpression"!==t.type&&"ArrayExpression"!==t.type&&"TemplateLiteral"!==t.type&&"TaggedTemplateExpression"!==t.type||(Up(t,n),0))}(i,o,e))},handleRemainingComment:function(e,t,n,r,u){var a=e.precedingNode,i=e.enclosingNode,o=e.followingNode;return!!(Gp(t,a,i,o,e,n)||Xp(t,a,i,o,e,n)||function(e,t,n){return!(!e||"ObjectProperty"!==e.type&&"Property"!==e.type||!e.shorthand||e.key!==t||"AssignmentPattern"!==e.value.type||(Wp(e.value.left,n),0))}(i,a,e)||function(e,t,n,r){return!(")"!==Au.getNextNonSpaceNonCommentCharacter(e,n,r.locEnd)||(!t||("FunctionDeclaration"!==t.type&&"FunctionExpression"!==t.type&&"ArrowFunctionExpression"!==t.type&&"ClassMethod"!==t.type&&"ObjectMethod"!==t.type||0!==t.params.length)&&("CallExpression"!==t.type&&"OptionalCallExpression"!==t.type&&"NewExpression"!==t.type||0!==t.arguments.length)?!t||"MethodDefinition"!==t.type||0!==t.value.params.length||($p(t.value,n),0):($p(t,n),0)))}(t,i,e,n)||Kp(t,i,a,e,n)||ef(i,r,e,u)||function(e,t,n,r){if(!t||"ArrowFunctionExpression"!==t.type)return!1;var u=Ju.getNextNonSpaceNonCommentCharacterIndex(e,n,r);return"=>"===e.substr(u,2)&&($p(t,n),!0)}(t,i,e,n)||function(e,t,n,r,u){return!("("!==Au.getNextNonSpaceNonCommentCharacter(e,r,u.locEnd)||!n||!t||"FunctionDeclaration"!==t.type&&"FunctionExpression"!==t.type&&"ClassMethod"!==t.type&&"MethodDefinition"!==t.type&&"ObjectMethod"!==t.type||(Wp(n,r),0))}(t,i,a,e,n)||function(e,t,n,r,u){return!(!t||"TSMappedType"!==t.type||(r&&"TSTypeParameter"===r.type&&r.name?(Up(r.name,u),0):!n||"TSTypeParameter"!==n.type||!n.constraint||(Wp(n.constraint,u),0)))}(0,i,a,o,e)||function(e,t){return!(!e||"ContinueStatement"!==e.type&&"BreakStatement"!==e.type||e.label||(Wp(e,t),0))}(i,e))},hasLeadingComment:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some(function(e){return e.leading&&t(e)})},isBlockComment:function(e){return"Block"===e.type||"CommentBlock"===e.type}},nf=tf.isBlockComment,rf=tf.hasLeadingComment,uf=$u.builders,af=uf.indent,of=uf.join,sf=uf.hardline,lf=uf.softline,cf=uf.literalline,pf=uf.concat,ff=uf.group,df=uf.dedentToRoot,Df=$u.utils,hf=Df.mapDoc,mf=Df.stripTrailingHardline;function gf(e){return e.replace(/([\\`]|\$\{)/g,"\\$1")}function yf(e,t){return hf(e,function(e){if(!e.parts)return e;var n=[];return e.parts.forEach(function(e){n.push("string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):gf(e):e)}),Object.assign({},e,{parts:n})})}function vf(e){var t=[],n=!1;return e.map(function(e){return e.trim()}).forEach(function(e,r,u){""!==e&&(t.push(""===u[r-1]&&n?pf([sf,e]):e),n=!0)}),0===t.length?null:of(sf,t)}function Ef(e){var t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(function(e){return"jsx"===e.name.name})||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}function Cf(e){return wf(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"ArrayExpression"===e.type&&"elements"===t},function(e,t){return"Property"===e.type&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t}].concat([function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}]))}function Af(e){var t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;var n=t.tag;switch(n.type){case"MemberExpression":return bf(n.object)||xf(n);case"CallExpression":return bf(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(bf(n.callee.object.object)||xf(n.callee.object))||"CallExpression"===n.callee.object.type&&bf(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}function Ff(e){var t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}function bf(e){return"Identifier"===e.type&&"styled"===e.name}function xf(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function Sf(e,t){return rf(e,function(e){return nf(e)&&e.value===" ".concat(t," ")})}function wf(e,t){var n=e.stack.slice(),r=null,u=n.pop(),a=!0,i=!1,o=void 0;try{for(var s,l=t[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;if(void 0===u)return!1;if("number"==typeof r&&(r=n.pop(),u=n.pop()),!c(u,r))return!1;r=n.pop(),u=n.pop()}}catch(p){i=!0,o=p}finally{try{a||null==l.return||l.return()}finally{if(i)throw o}}return!0}var Bf=0;function Tf(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function kf(e){return Tf(e)?kf({type:"LogicalExpression",operator:e.operator,left:kf({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,loc:{}}),right:e.right.right,loc:{}}):e}var Of=Au.getLast,Nf=Au.hasNewline,Pf=Au.hasNewlineInRange,If=Au.hasIgnoreComment,jf=Au.hasNodeIgnoreComment,Lf=Au.skipWhitespace,_f=yr.keyword.isIdentifierNameES5,Mf=new RegExp("^".concat("(?:(?=.)\\s)","*:")),Rf=new RegExp("^".concat("(?:(?=.)\\s)","*::"));function qf(e,t){if(!e||"object"!==o(e))return!1;if(Array.isArray(e))return e.some(function(e){return qf(e,t)});var n=t(e);return"boolean"==typeof n?n:Object.keys(e).some(function(n){return qf(e[n],t)})}function Vf(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function Uf(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Wf(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function $f(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function Jf(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function zf(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function Gf(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function Xf(e){return"get"===e.kind||"set"===e.kind}function Hf(e,t,n){return n.locStart(e)===n.locStart(t)}function Yf(e,t){return Xf(e)||Hf(e,e.value,t)}var Kf=/^(skip|[fx]?(it|describe|test))$/;function Qf(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}var Zf=new RegExp("([ \n\r\t]+)"),ed=new RegExp("[^ \n\r\t]");function td(e){return Uf(e)&&(ed.test(ud(e))||!/\n/.test(ud(e)))}function nd(e,t,n){return Gf(t)?jf(t):t.comments&&t.comments.some(function(t){return t.leading&&Nf(e,n.locEnd(t))})}function rd(e){return e.quasis.some(function(e){return e.value.raw.includes("\n")})}function ud(e){return e.extra?e.extra.raw:e.raw}var ad={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){var t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":return!((e.value?e.value.async:e.async)||"get"===e.kind||"set"===e.kind||!e.computed&&!(e.value?e.value.generator:e.generator));case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){var t=e.getNode();if("ClassProperty"!==t.type)return!1;var n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},conditionalExpressionChainContainsJSX:function(e){return Boolean(function(e){var t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).find(Gf))},getFlowVariance:function(e){if(!e.variance)return null;var t=e.variance.kind||e.variance;switch(t){case"plus":return"+";case"minus":return"-";default:return t}},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side",t)},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some(function(e){return!e.leading&&!e.trailing})},hasFlowAnnotationComment:function(e){return e&&e[0].value.match(Rf)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&e.trailingComments[0].value.match(Mf)},hasLeadingComment:function(e){return e.comments&&e.comments.some(function(e){return e.leading})},hasLeadingOwnLineComment:nd,hasNakedLeftSide:Vf,hasNewlineBetweenOrAfterDecorators:function(e,t){return Pf(t.originalText,t.locStart(e.decorators[0]),t.locEnd(Of(e.decorators)))||Nf(t.originalText,t.locEnd(Of(e.decorators)))},hasNgSideEffect:function(e){return qf(e.getValue(),function(e){switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})},hasNode:qf,hasPrettierIgnore:function(e){return If(e)||function(e){var t=e.getValue(),n=e.getParentNode();if(!(n&&t&&Gf(t)&&Gf(n)))return!1;for(var r=null,u=n.children.indexOf(t);u>0;u--){var a=n.children[u-1];if("JSXText"!==a.type||td(a)){r=a;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.find(function(e){return"prettier-ignore"===e.value.trim()})}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some(function(e){return e.trailing})},identity:function(e){return e},isBinaryish:function(e){return"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type},isCallOrOptionalCallExpression:Qf,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;var t=e.children[0];return Uf(t)&&!td(t)},isFlowAnnotationComment:function(e,t,n){var r=n.locStart(t),u=Lf(e,n.locEnd(t));return"/*"===e.substr(r,2)&&"*/"===e.substr(u,2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;var t=0,n=!0,r=!1,u=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var o=a.value;if(Jf(o)){if((t+=1)>1)return!0}else if(Qf(o)){var s=!0,l=!1,c=void 0;try{for(var p,f=o.arguments[Symbol.iterator]();!(s=(p=f.next()).done);s=!0)if(Jf(p.value))return!0}catch(d){l=!0,c=d}finally{try{s||null==f.return||f.return()}finally{if(l)throw c}}}}}catch(d){r=!0,u=d}finally{try{n||null==i.return||i.return()}finally{if(r)throw u}}return!1},isFunctionNotation:Yf,isFunctionOrArrowExpression:Jf,isGetterOrSetter:Xf,isJestEachTemplateLiteral:function(e,t){var n=/^[xf]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJSXNode:Gf,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&Uf(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){var t=e.getParentNode();if(!t)return!0;var n=e.getValue(),r=(t.body||t.consequent).filter(function(e){return"EmptyStatement"!==e.type});return r&&r[r.length-1]===n},isLiteral:Uf,isLongCurriedCallExpression:function(e){var t=e.getValue(),n=e.getParentNode();return Qf(t)&&Qf(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isMeaningfulJSXText:td,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&e.object},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:Wf,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e,t){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Yf(e,t))},isSimpleFlowType:function(e){return e&&-1!==["AnyTypeAnnotation","NullLiteralTypeAnnotation","GenericTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation","BooleanTypeAnnotation","BooleanLiteralTypeAnnotation","StringTypeAnnotation"].indexOf(e.type)&&!("GenericTypeAnnotation"===e.type&&e.typeParameters)},isSimpleTemplateLiteral:function(e){return 0!==e.expressions.length&&e.expressions.every(function(e){if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){for(var t=e;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if((t=t.object).comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:$f,isStringPropSafeToCoerceToIdentifier:function(e,t){return $f(e.key)&&_f(e.key.value)&&"json"!==t.parser&&!("typescript"===t.parser&&"ClassProperty"===e.type)},isTemplateOnItsOwnLine:function(e,t,n){return("TemplateLiteral"===e.type&&rd(e)||"TaggedTemplateExpression"===e.type&&rd(e.quasi))&&!Nf(t,n.locStart(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(zf(t)&&n&&e(n))return Jf(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(before|after)(Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return zf(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&Kf.test(t.callee.name)||("MemberExpression"===(r=t).callee.type||"OptionalMemberExpression"===r.callee.type)&&"Identifier"===r.callee.object.type&&"Identifier"===r.callee.property.type&&Kf.test(r.callee.object.name)&&("only"===r.callee.property.name||"skip"===r.callee.property.name))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||$f(t.arguments[0])))return!(t.arguments[2]&&!Wf(t.arguments[2]))&&((2===t.arguments.length?Jf(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&t.arguments[1].params.length<=1)||zf(t.arguments[1]));var r;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;var n=t.getNode();if(!n.expression||!Gf(n.expression))return!1;var r=t.getParentNode();return"Program"===r.type&&1==r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e,t){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||Hf(e,e.typeAnnotation,t))},matchJsxWhitespaceRegex:Zf,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;var t=Of(e.comments.filter(function(e){return!e.leading&&!e.trailing}));return t&&!tf.isBlockComment(t)},rawText:ud,returnArgumentHasLeadingComment:function(e,t){if(nd(e.originalText,t,e))return!0;if(Vf(t))for(var n,r=t;n=(u=r).expressions?u.expressions[0]:u.left||u.test||u.callee||u.object||u.tag||u.argument||u.expression;)if(nd(e.originalText,r=n,e))return!0;var u;return!1}},id=ad.getLeftSidePathName,od=ad.hasFlowShorthandAnnotationComment,sd=ad.hasNakedLeftSide,ld=ad.hasNode;function cd(e,t){var n=e.getParentNode();if(!n)return!1;var r=e.getName(),u=e.getNode();if(e.getValue()!==u)return!1;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(u)&&pd(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForAwaitStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(u))return!1;if(function(e,t){var n=t.getValue();return u(n)&&(r(n)||function e(n){var a=t.getParentNode(n);return!(!a||u(a))&&(r(a)||e(n+1))}(0));function r(e){return e.comments&&e.comments.some(function(e){return e.leading&&tf.isBlockComment(e)&&function(e){var t=e.trim().split("\n").map(function(e){return e.replace(/^[\s*]+/,"")}).join(" ").trim();if(!/^@type\s*\{[^]+\}$/.test(t))return!1;var n=!1,r=0,u=!0,a=!1,i=void 0;try{for(var o,s=t[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var l=o.value;if("{"===l){if(n)return!1;r++}else if("}"===l){if(0===r)return!1;0==--r&&(n=!0)}}}catch(c){a=!0,i=c}finally{try{u||null==s.return||s.return()}finally{if(a)throw i}}return 0===r}(e.value)})}function u(e){return e.extra&&e.extra.parenthesized}}(0,e))return!0;if("flow"!==t.parser&&od(e.getValue()))return!0;if("Identifier"===u.type)return!!(u.extra&&u.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.name));if("ParenthesizedExpression"===n.type)return!1;if(!("ClassDeclaration"!==n.type&&"ClassExpression"!==n.type||n.superClass!==u||"ArrowFunctionExpression"!==u.type&&"AssignmentExpression"!==u.type&&"AwaitExpression"!==u.type&&"BinaryExpression"!==u.type&&"ConditionalExpression"!==u.type&&"LogicalExpression"!==u.type&&"NewExpression"!==u.type&&"ObjectExpression"!==u.type&&"ParenthesizedExpression"!==u.type&&"SequenceExpression"!==u.type&&"TaggedTemplateExpression"!==u.type&&"UnaryExpression"!==u.type&&"UpdateExpression"!==u.type&&"YieldExpression"!==u.type))return!0;if("ExportDefaultDeclaration"===n.type)return fd(e,t);if("Decorator"===n.type&&n.expression===u){for(var a=!1,i=!1,o=u;o;)switch(o.type){case"MemberExpression":i=!0,o=o.object;break;case"CallExpression":if(i||a)return!0;a=!0,o=o.callee;break;case"Identifier":return!1;default:return!0}return!0}if("ArrowFunctionExpression"===n.type&&n.body===u&&"SequenceExpression"!==u.type&&Au.startsWithNoLookaheadToken(u,!1)||"ExpressionStatement"===n.type&&Au.startsWithNoLookaheadToken(u,!0))return!0;switch(u.type){case"SpreadElement":case"SpreadProperty":return"MemberExpression"===n.type&&"object"===r&&n.object===u;case"UpdateExpression":if("UnaryExpression"===n.type)return u.prefix&&("++"===u.operator&&"+"===n.operator||"--"===u.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return u.operator===n.operator&&("+"===u.operator||"-"===u.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"**"===n.operator&&"left"===r;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type)return!0;if("in"===u.operator&&function(t){for(var n=0;t;){var r=e.getParentNode(n++);if(!r)return!1;if("ForStatement"===r.type&&r.init===t)return!0;t=r}return!1}(u))return!0;case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"ConditionalExpression":return"TSAsExpression"===u.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r&&n.superClass===u;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":return n.left===u&&("TSTypeAssertion"===u.type||"TSAsExpression"===u.type);case"LogicalExpression":if("LogicalExpression"===u.type)return n.operator!==u.operator;case"BinaryExpression":if(!u.operator&&"TSTypeAssertion"!==u.type)return!0;var s=n.operator,l=Au.getPrecedence(s),c=u.operator,p=Au.getPrecedence(c);return l>p||(l===p&&"right"===r?(jr.strictEqual(n.right,u),!0):l===p&&!Au.shouldFlatten(s,c)||(l0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&mh(e.expression)||"TSAsExpression"===e.type&&mh(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||dD(e.body))}function gh(e,t,n){var r=e.getValue(),u=r.arguments;if(0===u.length)return qD(["(",da.printDanglingComments(e,t,!0),")"]);if(2===u.length&&"ArrowFunctionExpression"===u[0].type&&0===u[0].params.length&&"BlockStatement"===u[0].body.type&&"ArrayExpression"===u[1].type&&!u.find(function(e){return e.comments}))return qD(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);var a=!1,i=!1,o=!1,s=u.length-1,l=e.map(function(e,r){var u=e.getNode(),l=[n(e)];return r===s||(Ld(t.originalText,u,t)?(0===r&&(o=!0),a=!0,l.push(",",WD,WD)):l.push(",",UD)),i=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||!e.params||e.params.length<1)return!1;var r=!1;return t.each(function(e){var t=qD([n(e)]);r=r||rh(t)},"params"),r}(u,e),qD(l)},"arguments"),c=r.callee&&"Import"===r.callee.type||!lh(t,"all")?"":",";function p(){return zD(qD(["(",GD(qD([UD,qD(l)])),c,UD,")"]),{shouldBreak:!0})}if(sD(u))return p();var f=function(e){if(2!==e.length)return!1;var t=e[0],n=e[1];return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type||"ConditionalExpression"===n.type||mh(n))}(u),d=function(e){var t=xd(e),n=Od(e);return!Yd(t)&&!nD(t)&&mh(t)&&(!n||n.type!==t.type)}(u);if(f||d){var D,h=(f?l.slice(1).some(rh):l.slice(0,-1).some(rh))||a||i,m=0;e.each(function(e){f&&0===m&&(D=[qD([e.call(function(e){return n(e,{expandFirstArg:!0})}),l.length>1?",":"",o?WD:UD,o?WD:""])].concat(l.slice(1))),d&&m===u.length-1&&(D=l.slice(0,-1).concat(e.call(function(e){return n(e,{expandLastArg:!0})}))),m++},"arguments");var g=l.some(rh),y=qD(["(",qD(D),")"]);return qD([g?QD:"",HD([g||r.typeArguments||r.typeParameters?KD(p(),y):y,qD(f?["(",zD(D[0],{shouldBreak:!0}),qD(D.slice(1)),")"]:["(",qD(l.slice(0,-1)),zD(xd(D),{shouldBreak:!0}),")"]),p()],{shouldBreak:h})])}var v=qD(["(",GD(qD([$D,qD(l)])),KD(c),$D,")"]);return gD(e)?v:zD(v,{shouldBreak:l.some(rh)||a})}function yh(e,t,n){var r=e.getValue();if(!r.typeAnnotation)return"";var u=e.getParentNode(),a=r.definite||u&&"VariableDeclarator"===u.type&&u.definite,i="DeclareFunction"===u.type&&u.id===r;return oD(t.originalText,r.typeAnnotation,t)?qD([" /*: ",e.call(n,"typeAnnotation")," */"]):qD([i?"":a?"!: ":": ",e.call(n,"typeAnnotation")])}function vh(e,t,n){var r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""}function Eh(e,t,n,r,u){var a=e.getValue(),i=e.getParentNode(),o=a.parameters?"parameters":"params",s=kD(i),l=Wh(a),c=r&&!(a[o]&&a[o].some(function(e){return e.comments})),p=u?vh(e,0,t):"",f=[];if(a[o]){var d=a[o].length-1;f=e.map(function(e,r){var u=[],i=e.getValue();return u.push(t(e)),r===d?a.rest&&u.push(",",UD):s||l||c?u.push(", "):Ld(n.originalText,i,n)?u.push(",",WD,WD):u.push(",",UD),qD(u)},o)}if(a.rest&&f.push(qD(["...",e.call(t,"rest")])),0===f.length)return qD([p,"(",da.printDanglingComments(e,n,!0,function(e){return")"===Ad(n.originalText,e,n.locEnd)}),")"]);var D=xd(a[o]);if(c)return zD(qD([ih(p),"(",qD(f.map(ih)),")"]));var h=a[o].every(function(e){return!e.decorators});if(l&&h)return qD([p,"(",qD(f),")"]);if(s)return qD([p,"(",qD(f),")"]);if((bD(i,n)||PD(i,n)||"TypeAlias"===i.type||"UnionTypeAnnotation"===i.type||"TSUnionType"===i.type||"IntersectionTypeAnnotation"===i.type||"FunctionTypeAnnotation"===i.type&&i.returnType===a)&&1===a[o].length&&null===a[o][0].name&&a[o][0].typeAnnotation&&null===a.typeParameters&&xD(a[o][0].typeAnnotation)&&!a.rest)return qD("always"===n.arrowParens?["(",qD(f),")"]:f);var m=!(D&&"RestElement"===D.type||a.rest);return qD([p,"(",GD(qD([$D,qD(f)])),KD(m&&lh(n,"all")?",":""),$D,")"])}function Ch(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&!(1!==(n=e.getValue()).params.length||n.rest||n.typeParameters||Gd(n)||"Identifier"!==n.params[0].type||n.params[0].typeAnnotation||n.params[0].comments||n.params[0].optional||n.predicate||n.returnType);var n}function Ah(e,t,n){var r=e.getValue(),u=[];return r.async&&u.push("async "),u.push("function"),r.generator&&u.push("*"),r.id&&u.push(" ",e.call(t,"id")),u.push(vh(e,0,t),zD(qD([Eh(e,t,n),Fh(e,t,n)])),r.body?" ":"",e.call(t,"body")),qD(u)}function Fh(e,t,n){var r=e.getValue(),u=e.call(t,"returnType");if(r.returnType&&oD(n.originalText,r.returnType,n))return qD([" /*: ",u," */"]);var a=[u];return r.returnType&&r.returnType.typeAnnotation&&a.unshift(": "),r.predicate&&a.push(r.returnType?" ":": ",e.call(t,"predicate")),qD(a)}function bh(e,t,n){var r=e.getValue(),u=t.semi?";":"",a=["export "],i=r.default||"ExportDefaultDeclaration"===r.type;if(i&&a.push("default "),a.push(da.printDanglingComments(e,t,!0)),jD(r)&&a.push(WD),r.declaration)a.push(e.call(n,"declaration")),i&&"ClassDeclaration"!==r.declaration.type&&"FunctionDeclaration"!==r.declaration.type&&"TSInterfaceDeclaration"!==r.declaration.type&&"DeclareClass"!==r.declaration.type&&"DeclareFunction"!==r.declaration.type&&"TSDeclareFunction"!==r.declaration.type&&a.push(u);else{if(r.specifiers&&r.specifiers.length>0){var o=[],s=[],l=[];e.each(function(t){var r=e.getValue().type;"ExportSpecifier"===r?o.push(n(t)):"ExportDefaultSpecifier"===r?s.push(n(t)):"ExportNamespaceSpecifier"===r&&l.push(qD(["* as ",n(t)]))},"specifiers");var c=0!==l.length&&0!==o.length,p=0!==s.length&&(0!==l.length||0!==o.length),f=o.length>1||s.length>0||r.specifiers&&r.specifiers.some(function(e){return e.comments}),d="";0!==o.length&&(d=f?zD(qD(["{",GD(qD([t.bracketSpacing?UD:$D,VD(qD([",",UD]),o)])),KD(lh(t)?",":""),t.bracketSpacing?UD:$D,"}"])):qD(["{",t.bracketSpacing?" ":"",qD(o),t.bracketSpacing?" ":"","}"])),a.push("type"===r.exportKind?"type ":"",qD(s),qD([p?", ":""]),qD(l),qD([c?", ":""]),d)}else a.push("{}");r.source&&a.push(" from ",e.call(n,"source")),a.push(u)}return qD(a)}function xh(e,t){var n=vd(e);return n?jr.strictEqual(n.type,"DeclareExportDeclaration"):t.unshift("declare "),qD(t)}function Sh(e,t,n){var r=e.getValue();return r.modifiers&&r.modifiers.length?qD([VD(" ",e.map(n,"modifiers"))," "]):""}function wh(e,t,n,r){var u=e.getValue();if(!u[r])return"";if(!Array.isArray(u[r]))return e.call(n,r);var a=e.getNode(2),i=e.getNode(4);return null!=a&&kD(a)||0===u[r].length||1===u[r].length&&(Uh(u[r][0])||"GenericTypeAnnotation"===u[r][0].type&&Uh(u[r][0].id)||"TSTypeReference"===u[r][0].type&&Uh(u[r][0].typeName)||"NullableTypeAnnotation"===u[r][0].type||i&&"VariableDeclarator"===i.type&&a&&"TSTypeAnnotation"===a.type&&"TSUnionType"!==u[r][0].type&&"UnionTypeAnnotation"!==u[r][0].type&&"TSConditionalType"!==u[r][0].type&&"TSMappedType"!==u[r][0].type)?qD(["<",VD(", ",e.map(n,r)),">"]):zD(qD(["<",GD(qD([$D,VD(qD([",",UD]),e.map(n,r))])),KD("typescript"!==t.parser&&lh(t,"all")?",":""),$D,">"]))}function Bh(e,t,n){var r=e.getValue(),u=[];r.abstract&&u.push("abstract "),u.push("class"),r.id&&u.push(" ",e.call(n,"id")),u.push(e.call(n,"typeParameters"));var a=[];if(r.superClass){var i=qD(["extends ",e.call(n,"superClass"),e.call(n,"superTypeParameters")]);r.implements&&0!==r.implements.length||r.superClass.comments&&0!==r.superClass.comments.length?a.push(zD(qD([UD,e.call(function(e){return da.printComments(e,function(){return i},t)},"superClass")]))):u.push(qD([" ",e.call(function(e){return da.printComments(e,function(){return i},t)},"superClass")]))}else r.extends&&r.extends.length>0&&u.push(" extends ",VD(", ",e.map(n,"extends")));return r.mixins&&r.mixins.length>0&&a.push(UD,"mixins ",zD(GD(VD(qD([",",UD]),e.map(n,"mixins"))))),r.implements&&r.implements.length>0&&a.push(UD,"implements",zD(GD(qD([UD,VD(qD([",",UD]),e.map(n,"implements"))])))),a.length>0&&u.push(zD(GD(qD(a)))),r.body&&r.body.comments&&Kd(t.originalText,r.body,t)?u.push(WD):u.push(" "),u.push(e.call(n,"body")),u}function Th(e){var t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}function kh(e,t,n){var r=e.call(n,"property"),u=e.getValue(),a=Th(e);return u.computed?!u.property||AD(u.property)?qD([a,"[",r,"]"]):zD(qD([a,"[",GD(qD([$D,r])),$D,"]"])):qD([a,".",r])}function Oh(e,t,n){return qD(["::",e.call(n,"callee")])}function Nh(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?$D:WD:$D}function Ph(e,t,n,r){return e?WD:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?WD:$D:WD}function Ih(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||"ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!dD(e.right))}function jh(e,t,n,r,u){var a=[],i=e.getValue();if(uD(i)){Cd(i.operator,i.left.operator)?a=a.concat(e.call(function(e){return jh(e,t,n,!0,u)},"left")):a.push(e.call(t,"left"));var o=Ih(i),s=("|>"===i.operator||"NGPipeExpression"===i.type||"|"===i.operator&&"__vue_expression"===n.parser)&&!Kd(n.originalText,i.right,n),l="NGPipeExpression"===i.type?"|":i.operator,c="NGPipeExpression"===i.type&&0!==i.arguments.length?zD(GD(qD([$D,": ",VD(qD([$D,":",KD(" ")]),e.map(t,"arguments").map(function(e){return XD(2,zD(e))}))]))):"",p=qD(o?[l," ",e.call(t,"right"),c]:[s?$D:"",l,s?" ":UD,e.call(t,"right"),c]),f=e.getParentNode();a.push(" ",u&&"LogicalExpression"===i.type||f.type===i.type||i.left.type===i.type||i.right.type===i.type?p:zD(p)),r&&i.comments&&(a=da.printComments(e,function(){return qD(a)},n))}else a.push(e.call(t));return a}function Lh(e,t,n,r){return Kd(r.originalText,t,r)?GD(qD([WD,n])):uD(t)&&!Ih(t)||"ConditionalExpression"===t.type&&uD(t.test)&&!Ih(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||wD(e)||"MemberExpression"===e.type)&&(wD(t)||vD(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?zD(GD(qD([UD,n]))):qD([" ",n])}function _h(e,t,n,r,u,a){if(!r)return t;var i=Lh(e,r,u,a);return zD(qD([t,n,i]))}function Mh(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?qD([" ",t]):GD(qD([UD,t]))}function Rh(e,t,n){var r=LD(e);return wd(r,t,n||"DirectiveLiteral"===e.type)}function qh(e){var t=e.flags.split("").sort().join("");return"/".concat(e.pattern,"/").concat(t)}function Vh(e,t){var n=e.getValue();return!!(dd(e,t)||"ParenthesizedExpression"===n.type||"TypeCastExpression"===n.type||"ArrowFunctionExpression"===n.type&&!Ch(e,t)||"ArrayExpression"===n.type||"ArrayPattern"===n.type||"UnaryExpression"===n.type&&n.prefix&&("+"===n.operator||"-"===n.operator)||"TemplateLiteral"===n.type||"TemplateElement"===n.type||dD(n)||"BindExpression"===n.type&&!n.object||"RegExpLiteral"===n.type||"Literal"===n.type&&n.pattern||"Literal"===n.type&&n.regex)||!!Qd(n)&&e.call.apply(e,[function(e){return Vh(e,t)}].concat(Jd(e,n)))}function Uh(e){if(xD(e)||FD(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){var t=e.types.filter(function(e){return"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type}).length,n=e.types.filter(function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type}).length;if(e.types.length-1===t&&n>0)return!0}return!1}function Wh(e){return e&&e.params&&1===e.params.length&&!e.params[0].comments&&("ObjectPattern"===e.params[0].type||"ArrayPattern"===e.params[0].type||"Identifier"===e.params[0].type&&e.params[0].typeAnnotation&&("TypeAnnotation"===e.params[0].typeAnnotation.type||"TSTypeAnnotation"===e.params[0].typeAnnotation.type)&&FD(e.params[0].typeAnnotation.typeAnnotation)||"FunctionTypeParam"===e.params[0].type&&FD(e.params[0].typeAnnotation)||"AssignmentPattern"===e.params[0].type&&("ObjectPattern"===e.params[0].left.type||"ArrayPattern"===e.params[0].left.type)&&("Identifier"===e.params[0].right.type||"ObjectExpression"===e.params[0].right.type&&0===e.params[0].right.properties.length||"ArrayExpression"===e.params[0].right.type&&0===e.params[0].right.elements.length))&&!e.rest}function $h(e,t,n,r){var u=[],a=[];return e.each(function(e){u.push(qD(a)),u.push(zD(r(e))),a=[",",UD],e.getValue()&&Ld(t.originalText,e.getValue(),t)&&a.push($D)},n),qD(u)}var Jh={preprocess:yd,print:function(e,t,n,r){var u=e.getValue(),a=!1,i=function(e,t,n,r){var u=e.getValue(),a=t.semi?";":"";if(!u)return"";if("string"==typeof u)return u;var i=function(e,t,n){var r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r),"File"===r.type)return t.__isVueForBindingLeft?e.call(function(e){var t=e.getValue().params;return hd([t.length>1?"(":"",md(hd([",",gd]),e.map(n,"params")),t.length>1?")":""])},"program","body",0):t.__isVueSlotScope?e.call(function(e){return md(hd([",",gd]),e.map(n,"params"))},"program","body",0):void 0}(e,t,n);if(i)return i;var s=[];switch(u.type){case"JsExpressionRoot":return e.call(n,"node");case"JsonRoot":return qD([e.call(n,"node"),WD]);case"File":return u.program&&u.program.interpreter&&s.push(e.call(function(e){return e.call(n,"interpreter")},"program")),s.push(e.call(n,"program")),qD(s);case"Program":return u.directives&&e.each(function(e){s.push(n(e),a,WD),Ld(t.originalText,e.getValue(),t)&&s.push(WD)},"directives"),s.push(e.call(function(e){return fh(e,t,n)},"body")),s.push(da.printDanglingComments(e,t,!0)),(u.body.length||u.comments)&&s.push(WD),qD(s);case"EmptyStatement":return"";case"ExpressionStatement":if(u.directive)return qD([Rh(u.expression,t,!0),a]);if("__vue_event_binding"===t.parser){var l=e.getParentNode();if("Program"===l.type&&1===l.body.length&&l.body[0]===u)return qD([e.call(n,"expression"),qd(u.expression)?";":""])}return qD([e.call(n,"expression"),OD(t,e)?"":a]);case"ParenthesizedExpression":return qD(["(",e.call(n,"expression"),")"]);case"AssignmentExpression":return _h(u.left,e.call(n,"left"),qD([" ",u.operator]),u.right,e.call(n,"right"),t);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":var c=e.getParentNode(),p=e.getParentNode(1),f=u!==c.body&&("IfStatement"===c.type||"WhileStatement"===c.type||"SwitchStatement"===c.type||"DoWhileStatement"===c.type),d=jh(e,n,t,!1,f);if(f)return qD(d);if(("CallExpression"===c.type||"OptionalCallExpression"===c.type)&&c.callee===u||"UnaryExpression"===c.type||("MemberExpression"===c.type||"OptionalMemberExpression"===c.type)&&!c.computed)return zD(qD([GD(qD([$D,qD(d)])),$D]));var D="ReturnStatement"===c.type||"JSXExpressionContainer"===c.type&&"JSXAttribute"===p.type||"NGPipeExpression"!==u.type&&("NGRoot"===c.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===c.type&&"NGMicrosyntax"===p.type&&1===p.body.length)||u===c.body&&"ArrowFunctionExpression"===c.type||u!==c.body&&"ForStatement"===c.type||"ConditionalExpression"===c.type&&"ReturnStatement"!==p.type&&"CallExpression"!==p.type&&"OptionalCallExpression"!==p.type,h="AssignmentExpression"===c.type||"VariableDeclarator"===c.type||"ClassProperty"===c.type||"TSAbstractClassProperty"===c.type||"ClassPrivateProperty"===c.type||"ObjectProperty"===c.type||"Property"===c.type,m=uD(u.left)&&Cd(u.operator,u.left.operator);if(D||Ih(u)&&!m||!Ih(u)&&h)return zD(qD(d));if(0===d.length)return"";var g=dD(u.right),y=qD(g?d.slice(1,-1):d.slice(1)),v=Symbol("logicalChain-"+ ++sh),E=zD(qD([d.length>0?d[0]:"",GD(y)]),{id:v});if(!g)return E;var C=xd(d);return zD(qD([E,KD(GD(C),C,{groupId:v})]));case"AssignmentPattern":return qD([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":var F=!("ArrayExpression"===u.expression.type||"ObjectExpression"===u.expression.type),b=zD(qD(["<",GD(qD([$D,e.call(n,"typeAnnotation")])),$D,">"])),x=qD([KD("("),GD(qD([$D,e.call(n,"expression")])),$D,KD(")")]);return F?HD([qD([b,e.call(n,"expression")]),qD([b,zD(x,{shouldBreak:!0})]),qD([b,e.call(n,"expression")])]):zD(qD([b,e.call(n,"expression")]));case"OptionalMemberExpression":case"MemberExpression":var S,w=e.getParentNode(),B=0;do{S=e.getParentNode(B),B++}while(S&&("MemberExpression"===S.type||"OptionalMemberExpression"===S.type||"TSNonNullExpression"===S.type));var T=S&&("NewExpression"===S.type||"BindExpression"===S.type||"VariableDeclarator"===S.type&&"Identifier"!==S.id.type||"AssignmentExpression"===S.type&&"Identifier"!==S.left.type)||u.computed||"Identifier"===u.object.type&&"Identifier"===u.property.type&&"MemberExpression"!==w.type&&"OptionalMemberExpression"!==w.type;return qD([e.call(n,"object"),T?kh(e,0,n):zD(GD(qD([$D,kh(e,0,n)])))]);case"MetaProperty":return qD([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return u.object&&s.push(e.call(n,"object")),s.push(zD(GD(qD([$D,Oh(e,0,n)])))),qD(s);case"Identifier":return qD([u.name,Th(e),yh(e,t,n)]);case"V8IntrinsicIdentifier":return qD(["%",u.name]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return qD(["...",e.call(n,"argument"),yh(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return s.push(Ah(e,n,t)),u.body||s.push(a),qD(s);case"ArrowFunctionExpression":u.async&&s.push("async "),Ch(e,t)?s.push(e.call(n,"params",0)):s.push(zD(qD([Eh(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),Fh(e,n,t)])));var k=da.printDanglingComments(e,t,!0,function(e){var n=Md(t.originalText,e,t);return"=>"===t.originalText.substr(n,2)});k&&s.push(" ",k),s.push(" =>");var O=e.call(function(e){return n(e,r)},"body");if(!Kd(t.originalText,u.body,t)&&("ArrayExpression"===u.body.type||"ObjectExpression"===u.body.type||"BlockStatement"===u.body.type||dD(u.body)||TD(u.body,t.originalText,t)||"ArrowFunctionExpression"===u.body.type||"DoExpression"===u.body.type))return zD(qD([qD(s)," ",O]));if("SequenceExpression"===u.body.type)return zD(qD([qD(s),zD(qD([" (",GD(qD([$D,O])),$D,")"]))]));var N=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(u.comments&&u.comments.length),P=r&&r.expandLastArg&&lh(t,"all"),I="ConditionalExpression"===u.body.type&&!Nd(u.body,!1);return zD(qD([qD(s),zD(qD([GD(qD([UD,I?KD("","("):"",O,I?KD("",")"):""])),N?qD([KD(P?",":""),$D]):""]))]));case"YieldExpression":return s.push("yield"),u.delegate&&s.push("*"),u.argument&&s.push(" ",e.call(n,"argument")),qD(s);case"AwaitExpression":s.push("await ",e.call(n,"argument"));var j=e.getParentNode();return("CallExpression"===j.type||"OptionalCallExpression"===j.type)&&j.callee===u||("MemberExpression"===j.type||"OptionalMemberExpression"===j.type)&&j.object===u?zD(qD([GD(qD([$D,qD(s)])),$D])):qD(s);case"ImportSpecifier":return u.importKind&&s.push(e.call(n,"importKind")," "),s.push(e.call(n,"imported")),u.local&&u.local.name!==u.imported.name&&s.push(" as ",e.call(n,"local")),qD(s);case"ExportSpecifier":return s.push(e.call(n,"local")),u.exported&&u.exported.name!==u.local.name&&s.push(" as ",e.call(n,"exported")),qD(s);case"ImportNamespaceSpecifier":return s.push("* as "),s.push(e.call(n,"local")),qD(s);case"ImportDefaultSpecifier":return e.call(n,"local");case"TSExportAssignment":return qD(["export = ",e.call(n,"expression"),a]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return bh(e,t,n);case"ExportAllDeclaration":return s.push("export "),"type"===u.exportKind&&s.push("type "),s.push("* from ",e.call(n,"source"),a),qD(s);case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return e.call(n,"exported");case"ImportDeclaration":s.push("import "),u.importKind&&"value"!==u.importKind&&s.push(u.importKind+" ");var L=[],_=[];return u.specifiers&&u.specifiers.length>0?(e.each(function(e){var t=e.getValue();"ImportDefaultSpecifier"===t.type||"ImportNamespaceSpecifier"===t.type?L.push(n(e)):_.push(n(e))},"specifiers"),L.length>0&&s.push(VD(", ",L)),L.length>0&&_.length>0&&s.push(", "),1===_.length&&0===L.length&&u.specifiers&&!u.specifiers.some(function(e){return e.comments})?s.push(qD(["{",t.bracketSpacing?" ":"",qD(_),t.bracketSpacing?" ":"","}"])):_.length>=1&&s.push(zD(qD(["{",GD(qD([t.bracketSpacing?UD:$D,VD(qD([",",UD]),_)])),KD(lh(t)?",":""),t.bracketSpacing?UD:$D,"}"]))),s.push(" from ")):(u.importKind&&"type"===u.importKind||/{\s*}/.test(t.originalText.slice(t.locStart(u),t.locStart(u.source))))&&s.push("{} from "),s.push(e.call(n,"source"),a),qD(s);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":var M=e.call(function(e){return fh(e,t,n)},"body"),R=u.body.find(function(e){return"EmptyStatement"!==e.type}),q=u.directives&&u.directives.length>0,V=e.getParentNode(),U=e.getParentNode(1);return R||q||Gd(u)||"ArrowFunctionExpression"!==V.type&&"FunctionExpression"!==V.type&&"FunctionDeclaration"!==V.type&&"ObjectMethod"!==V.type&&"ClassMethod"!==V.type&&"ClassPrivateMethod"!==V.type&&"ForStatement"!==V.type&&"WhileStatement"!==V.type&&"DoWhileStatement"!==V.type&&"DoExpression"!==V.type&&("CatchClause"!==V.type||U.finalizer)&&"TSModuleDeclaration"!==V.type?(s.push("{"),q&&e.each(function(e){s.push(GD(qD([WD,n(e),a]))),Ld(t.originalText,e.getValue(),t)&&s.push(WD)},"directives"),R&&s.push(GD(qD([WD,M]))),s.push(da.printDanglingComments(e,t)),s.push(WD,"}"),qD(s)):"{}";case"ReturnStatement":return s.push("return"),u.argument&&(_D(t,u.argument)?s.push(qD([" (",GD(qD([WD,e.call(n,"argument")])),WD,")"])):"LogicalExpression"===u.argument.type||"BinaryExpression"===u.argument.type||"SequenceExpression"===u.argument.type?s.push(zD(qD([KD(" ("," "),GD(qD([$D,e.call(n,"argument")])),$D,KD(")")]))):s.push(" ",e.call(n,"argument"))),Gd(u)&&s.push(" ",da.printDanglingComments(e,t,!0)),s.push(a),qD(s);case"NewExpression":case"OptionalCallExpression":case"CallExpression":var W="NewExpression"===u.type,$=Th(e);if(!W&&"Identifier"===u.callee.type&&("require"===u.callee.name||"define"===u.callee.name)||1===u.arguments.length&&TD(u.arguments[0],t.originalText,t)||!W&&kD(u,e.getParentNode()))return qD([W?"new ":"",e.call(n,"callee"),$,vh(e,0,n),qD(["(",VD(", ",e.map(n,"arguments")),")"])]);var J="Identifier"===u.callee.type&&Xd(u.callee.trailingComments);if(J&&(u.callee.trailingComments[0].printed=!0),!W&&ED(u.callee))return function(e,t,n){var r=[];function u(e){var n=t.originalText,r=Md(n,e,t);return")"==n.charAt(r)?_d(n,r+1,t):Ld(n,e,t)}function a(e){var i=e.getValue();"CallExpression"!==i.type&&"OptionalCallExpression"!==i.type||!ED(i.callee)&&"CallExpression"!==i.callee.type&&"OptionalCallExpression"!==i.callee.type?ED(i)?(r.unshift({node:i,needsParens:dd(e,t),printed:da.printComments(e,function(){return"OptionalMemberExpression"===i.type||"MemberExpression"===i.type?kh(e,0,n):Oh(e,0,n)},t)}),e.call(function(e){return a(e)},"object")):"TSNonNullExpression"===i.type?(r.unshift({node:i,printed:da.printComments(e,function(){return"!"},t)}),e.call(function(e){return a(e)},"expression")):r.unshift({node:i,printed:e.call(n)}):(r.unshift({node:i,printed:qD([da.printComments(e,function(){return qD([Th(e),vh(e,0,n),gh(e,t,n)])},t),u(i)?WD:""])}),e.call(function(e){return a(e)},"callee"))}var i=e.getValue();r.unshift({node:i,printed:qD([Th(e),vh(e,0,n),gh(e,t,n)])}),e.call(function(e){return a(e)},"callee");for(var o=[],s=[r[0]],l=1;l0&&o.push(s);var f=o.length>=2&&!o[1][0].node.comments&&function(n){var r=e.getParentNode(),u=r&&"ExpressionStatement"===r.type,a=n[1].length&&n[1][0].node.computed;if(1===n[0].length){var i=n[0][0].node;return"ThisExpression"===i.type||"Identifier"===i.type&&(p(i.name)||u&&i.name.length<=t.tabWidth||a)}var o=xd(n[0]).node;return("MemberExpression"===o.type||"OptionalMemberExpression"===o.type)&&"Identifier"===o.property.type&&(p(o.property.name)||a)}(o);function d(e){var t=e.map(function(e){return e.printed});return qD(e.length>0&&e[e.length-1].needsParens?["("].concat(A(t),[")"]):t)}var D=o.map(d),h=qD(D),m=f?3:2,g=o.slice(0,m).reduce(function(e,t){return e.concat(t)},[]),y=g.slice(1,-1).some(function(e){return Yd(e.node)})||g.slice(0,-1).some(function(e){return nD(e.node)})||o[m]&&Yd(o[m][0].node);if(o.length<=m&&!y)return gD(e)?h:zD(h);var v,E,C=xd(f?o.slice(1,2)[0]:o[0]).node,F="CallExpression"!==C.type&&"OptionalCallExpression"!==C.type&&u(C),b=qD([d(o[0]),f?qD(o.slice(1,2).map(d)):"",F?WD:"",function(e){return 0===e.length?"":GD(zD(qD([WD,VD(WD,e.map(d))])))}(o.slice(f?2:1))]),x=r.map(function(e){return e.node}).filter(aD);return y||x.length>=3||D.slice(0,-1).some(rh)||(v=xd(D),E=xd(xd(o)).node,aD(E)&&rh(v)&&x.slice(0,-1).some(function(e){return e.arguments.some(cD)}))?zD(b):qD([rh(h)||F?QD:"",HD([h,b])])}(e,t,n);var z=qD([W?"new ":"",e.call(n,"callee"),$,J?"/*:: ".concat(u.callee.trailingComments[0].value.substring(2).trim()," */"):"",vh(e,0,n),gh(e,t,n)]);return aD(u.callee)?zD(z):z;case"TSInterfaceDeclaration":return u.declare&&s.push("declare "),s.push(u.abstract?"abstract ":"",Sh(e,0,n),"interface ",e.call(n,"id"),u.typeParameters?e.call(n,"typeParameters"):""," "),u.extends&&u.extends.length&&s.push(zD(GD(qD([$D,"extends ",(1===u.extends.length?rD:GD)(VD(qD([",",UD]),e.map(n,"extends")))," "])))),s.push(e.call(n,"body")),qD(s);case"ObjectTypeInternalSlot":return qD([u.static?"static ":"","[[",e.call(n,"id"),"]]",Th(e),u.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":var G;G="TSTypeLiteral"===u.type?"members":"TSInterfaceBody"===u.type?"body":"properties";var X="ObjectTypeAnnotation"===u.type,H=[];X&&H.push("indexers","callProperties","internalSlots"),H.push(G);var Y=H.map(function(e){return u[e][0]}).sort(function(e,n){return t.locStart(e)-t.locStart(n)})[0],K=e.getParentNode(0),Q=X&&K&&("InterfaceDeclaration"===K.type||"DeclareInterface"===K.type||"DeclareClass"===K.type)&&"body"===e.getName(),Z="TSInterfaceBody"===u.type||Q||"ObjectPattern"===u.type&&"FunctionDeclaration"!==K.type&&"FunctionExpression"!==K.type&&"ArrowFunctionExpression"!==K.type&&"ObjectMethod"!==K.type&&"ClassMethod"!==K.type&&"ClassPrivateMethod"!==K.type&&"AssignmentPattern"!==K.type&&"CatchClause"!==K.type&&u.properties.some(function(e){return e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)})||"ObjectPattern"!==u.type&&Y&&bd(t.originalText,t.locStart(u),t.locStart(Y)),ee=Q?";":"TSInterfaceBody"===u.type||"TSTypeLiteral"===u.type?KD(a,";"):",",te=u.exact?"{|":"{",ne=u.exact?"|}":"}",re=[];H.forEach(function(r){e.each(function(e){var r=e.getValue();re.push({node:r,printed:n(e),loc:t.locStart(r)})},r)});var ue=[],ae=re.sort(function(e,t){return e.loc-t.loc}).map(function(e){var n=qD(ue.concat(zD(e.printed)));return ue=[ee,UD],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!kd(e.node)||ue.shift(),Ld(t.originalText,e.node,t)&&ue.push(WD),n});u.inexact&&ae.push(qD(ue.concat(zD("..."))));var ie,oe=xd(u[G]),se=!(oe&&("RestProperty"===oe.type||"RestElement"===oe.type||kd(oe)||u.inexact));if(0===ae.length){if(!Gd(u))return qD([te,ne,yh(e,t,n)]);ie=zD(qD([te,da.printDanglingComments(e,t),$D,ne,Th(e),yh(e,t,n)]))}else ie=qD([te,GD(qD([t.bracketSpacing?UD:$D,qD(ae)])),KD(se&&(","!==ee||lh(t))?ee:""),qD([t.bracketSpacing?UD:$D,ne]),Th(e),yh(e,t,n)]);var le=e.getParentNode(2);return"ObjectPattern"===u.type&&K&&Wh(K)&&!u.decorators&&K.params[0]===u||Uh(u)&&le&&Wh(le)&&le.params[0].typeAnnotation&&le.params[0].typeAnnotation.typeAnnotation===u?ie:zD(ie,{shouldBreak:Z});case"ObjectProperty":case"Property":return u.method||"get"===u.kind||"set"===u.kind?Dh(e,t,n):(s.push(u.shorthand?e.call(n,"value"):_h(u.key,dh(e,t,n),":",u.value,e.call(n,"value"),t)),qD(s));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":return u.decorators&&0!==u.decorators.length&&s.push(ch(e,t,n)),u.accessibility&&s.push(u.accessibility+" "),u.static&&s.push("static "),"TSAbstractMethodDefinition"===u.type&&s.push("abstract "),s.push(Dh(e,t,n)),qD(s);case"ObjectMethod":return Dh(e,t,n);case"Decorator":return qD(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":if(0===u.elements.length)Gd(u)?s.push(zD(qD(["[",da.printDanglingComments(e,t),$D,"]"]))):s.push("[]");else{var ce=xd(u.elements),pe=!(ce&&"RestElement"===ce.type),fe=pe&&null===ce,de=u.elements.length>1&&u.elements.every(function(e,t,n){var r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;var u=n[t+1];if(u&&r!==u.type)return!1;var a="ArrayExpression"===r?"elements":"properties";return e[a]&&e[a].length>1});s.push(zD(qD(["[",GD(qD([$D,$h(e,t,"elements",n)])),fe?",":"",KD(pe&&!fe&&lh(t)?",":""),da.printDanglingComments(e,t,!0),$D,"]"]),{shouldBreak:de}))}return s.push(Th(e),yh(e,t,n)),qD(s);case"SequenceExpression":var De=e.getParentNode(0);if("ExpressionStatement"===De.type||"ForStatement"===De.type){var he=[];return e.each(function(e){0===e.getName()?he.push(n(e)):he.push(",",GD(qD([UD,n(e)])))},"expressions"),zD(qD(he))}return zD(qD([VD(qD([",",UD]),e.map(n,"expressions"))]));case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return qh(u);case"NumericLiteral":return Bd(u.extra.raw);case"BigIntLiteral":return(u.bigint||(u.extra?u.extra.raw:u.raw)).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":if(u.regex)return qh(u.regex);if("number"==typeof u.value)return Bd(u.raw);if("string"!=typeof u.value)return""+u.value;var me=e.getParentNode(1);return Rh(u,t,"typescript"===t.parser&&"string"==typeof u.value&&me&&("Program"===me.type||"BlockStatement"===me.type));case"Directive":return e.call(n,"value");case"DirectiveLiteral":return Rh(u,t);case"UnaryExpression":return s.push(u.operator),/[a-z]$/.test(u.operator)&&s.push(" "),s.push(u.argument.comments&&u.argument.comments.length>0?zD(qD(["(",GD(qD([$D,e.call(n,"argument")])),$D,")"])):e.call(n,"argument")),qD(s);case"UpdateExpression":return s.push(e.call(n,"argument"),u.operator),u.prefix&&s.reverse(),qD(s);case"ConditionalExpression":return ph(e,t,n,{beforeParts:function(){return[e.call(n,"test")]},afterParts:function(e){return[e?$D:""]},shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyName:"test",breakNested:!0});case"VariableDeclaration":var ge,ye=e.map(function(e){return n(e)},"declarations"),ve=e.getParentNode(),Ee="ForStatement"===ve.type||"ForInStatement"===ve.type||"ForOfStatement"===ve.type||"ForAwaitStatement"===ve.type,Ce=u.declarations.some(function(e){return e.init});return 1!==ye.length||u.declarations[0].comments?ye.length>0&&(ge=GD(ye[0])):ge=ye[0],s=[u.declare?"declare ":"",u.kind,ge?qD([" ",ge]):"",GD(qD(ye.slice(1).map(function(e){return qD([",",Ce&&!Ee?WD:UD,e])})))],Ee&&ve.body!==u||s.push(a),zD(qD(s));case"TSTypeAliasDeclaration":u.declare&&s.push("declare ");var Ae=Lh(u.id,u.typeAnnotation,u.typeAnnotation&&e.call(n,"typeAnnotation"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",Ae,a),zD(qD(s));case"VariableDeclarator":return _h(u.id,e.call(n,"id")," =",u.init,u.init&&e.call(n,"init"),t);case"WithStatement":return zD(qD(["with (",e.call(n,"object"),")",Mh(u.body,e.call(n,"body"))]));case"IfStatement":var Fe=Mh(u.consequent,e.call(n,"consequent")),be=zD(qD(["if (",zD(qD([GD(qD([$D,e.call(n,"test")])),$D])),")",Fe]));if(s.push(be),u.alternate){var xe=nD(u.consequent)&&u.consequent.comments.some(function(e){return e.trailing&&!tf.isBlockComment(e)})||jD(u);s.push("BlockStatement"!==u.consequent.type||xe?WD:" "),Gd(u)&&s.push(da.printDanglingComments(e,t,!0),xe?WD:" "),s.push("else",zD(Mh(u.alternate,e.call(n,"alternate"),"IfStatement"===u.alternate.type)))}return qD(s);case"ForStatement":var Se=Mh(u.body,e.call(n,"body")),we=da.printDanglingComments(e,t,!0),Be=we?qD([we,$D]):"";return qD(u.init||u.test||u.update?[Be,zD(qD(["for (",zD(qD([GD(qD([$D,e.call(n,"init"),";",UD,e.call(n,"test"),";",UD,e.call(n,"update")])),$D])),")",Se]))]:[Be,zD(qD(["for (;;)",Se]))]);case"WhileStatement":return zD(qD(["while (",zD(qD([GD(qD([$D,e.call(n,"test")])),$D])),")",Mh(u.body,e.call(n,"body"))]));case"ForInStatement":return zD(qD([u.each?"for each (":"for (",e.call(n,"left")," in ",e.call(n,"right"),")",Mh(u.body,e.call(n,"body"))]));case"ForOfStatement":case"ForAwaitStatement":return zD(qD(["for","ForAwaitStatement"===u.type||u.await?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",Mh(u.body,e.call(n,"body"))]));case"DoWhileStatement":var Te=Mh(u.body,e.call(n,"body")),ke=zD(qD(["do",Te]));return(s=[ke]).push("BlockStatement"===u.body.type?" ":WD),s.push("while ("),s.push(zD(qD([GD(qD([$D,e.call(n,"test")])),$D])),")",a),qD(s);case"DoExpression":return qD(["do ",e.call(n,"body")]);case"BreakStatement":return s.push("break"),u.label&&s.push(" ",e.call(n,"label")),s.push(a),qD(s);case"ContinueStatement":return s.push("continue"),u.label&&s.push(" ",e.call(n,"label")),s.push(a),qD(s);case"LabeledStatement":return qD("EmptyStatement"===u.body.type?[e.call(n,"label"),":;"]:[e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return qD(["try ",e.call(n,"block"),u.handler?qD([" ",e.call(n,"handler")]):"",u.finalizer?qD([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(u.param){var Oe=u.param.comments&&u.param.comments.some(function(e){return!tf.isBlockComment(e)||e.leading&&Fd(t.originalText,t.locEnd(e))||e.trailing&&Fd(t.originalText,t.locStart(e),{backwards:!0})}),Ne=e.call(n,"param");return qD(["catch ",qD(Oe?["(",GD(qD([$D,Ne])),$D,") "]:["(",Ne,") "]),e.call(n,"body")])}return qD(["catch ",e.call(n,"body")]);case"ThrowStatement":return qD(["throw ",e.call(n,"argument"),a]);case"SwitchStatement":return qD([zD(qD(["switch (",GD(qD([$D,e.call(n,"discriminant")])),$D,")"]))," {",u.cases.length>0?GD(qD([WD,VD(WD,e.map(function(e){var r=e.getValue();return qD([e.call(n),u.cases.indexOf(r)!==u.cases.length-1&&Ld(t.originalText,r,t)?WD:""])},"cases"))])):"",WD,"}"]);case"SwitchCase":u.test?s.push("case ",e.call(n,"test"),":"):s.push("default:");var Pe=u.consequent.filter(function(e){return"EmptyStatement"!==e.type});if(Pe.length>0){var Ie=e.call(function(e){return fh(e,t,n)},"consequent");s.push(1===Pe.length&&"BlockStatement"===Pe[0].type?qD([" ",Ie]):GD(qD([WD,Ie])))}return qD(s);case"DebuggerStatement":return qD(["debugger",a]);case"JSXAttribute":if(s.push(e.call(n,"name")),u.value){var je;if(wD(u.value)){var Le=LD(u.value).replace(/'/g,"'").replace(/"/g,'"'),_e=jd(Le,t.jsxSingleQuote?"'":'"'),Me="'"===_e?"'":""";Le=Le.slice(1,-1).replace(new RegExp(_e,"g"),Me),je=qD([_e,Le,_e])}else je=e.call(n,"value");s.push("=",je)}return qD(s);case"JSXIdentifier":return""+u.name;case"JSXNamespacedName":return VD(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return VD(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return VD(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return qD(["{",e.call(function(e){var r=qD(["...",n(e)]),u=e.getValue();return u.comments&&u.comments.length?qD([GD(qD([$D,da.printComments(e,function(){return r},t)])),$D]):r},"JSXSpreadAttribute"===u.type?"argument":"expression"),"}"]);case"JSXExpressionContainer":var Re=e.getParentNode(0),qe=!("JSXAttribute"===Re.type&&u.expression.comments&&u.expression.comments.length>0)&&("ArrayExpression"===u.expression.type||"ObjectExpression"===u.expression.type||"ArrowFunctionExpression"===u.expression.type||"CallExpression"===u.expression.type||"OptionalCallExpression"===u.expression.type||"FunctionExpression"===u.expression.type||"JSXEmptyExpression"===u.expression.type||"TemplateLiteral"===u.expression.type||"TaggedTemplateExpression"===u.expression.type||"DoExpression"===u.expression.type||dD(Re)&&("ConditionalExpression"===u.expression.type||uD(u.expression)));return zD(qD(qe?["{",e.call(n,"expression"),ZD,"}"]:["{",GD(qD([$D,e.call(n,"expression")])),$D,ZD,"}"]));case"JSXFragment":case"JSXElement":var Ve=da.printComments(e,function(){return function(e,t,n){var r=e.getValue();if("JSXElement"===r.type&&iD(r))return qD([e.call(n,"openingElement"),e.call(n,"closingElement")]);var u=e.call(n,"JSXElement"===r.type?"openingElement":"openingFragment"),a=e.call(n,"JSXElement"===r.type?"closingElement":"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return qD([u,qD(e.map(n,"children")),a]);r.children=r.children.map(function(e){return DD(e)?{type:"JSXText",value:" ",raw:" "}:e});for(var i=r.children.filter(dD).length>0,o=r.children.filter(function(e){return"JSXExpressionContainer"===e.type}).length>1,s="JSXElement"===r.type&&r.openingElement.attributes.length>1,l=rh(u)||i||s||o,c=t.singleQuote?"{' '}":'{" "}',p=KD(qD([c,$D])," "),f=function(e,t,n,r,u){var a=e.getValue(),i=[];return e.map(function(e,t){var o=e.getValue();if(mD(o)){var s=LD(o);if(yD(o)){var l,c=s.split(ID);if(""===c[0]&&(i.push(""),c.shift(),/\n/.test(c[0])?i.push(Ph(u,c[1],o,a.children[t+1])):i.push(r),c.shift()),""===xd(c)&&(c.pop(),l=c.pop()),0===c.length)return;if(c.forEach(function(e,t){i.push(t%2==1?UD:e)}),void 0!==l)if(/\n/.test(l)){var p=a.children[t+1];i.push(Ph(u,xd(i),o,p))}else i.push(r);else{var f=a.children[t+1];i.push(Nh(u,xd(i),o,f))}}else/\n/.test(s)?s.match(/\n/g).length>1&&(i.push(""),i.push(WD)):(i.push(""),i.push(r))}else{var d=n(e);i.push(d);var D=a.children[t+1];if(D&&yD(D)){var h=LD(D).trim().split(ID)[0];i.push(Nh(u,h,o,D))}else i.push(WD)}},"children"),i}(e,0,n,p,r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name),d=r.children.filter(function(e){return yD(e)}).length>0,D=f.length-2;D>=0;D--){var h=f[D]===p&&""===f[D+1]&&(f[D+2]===$D||f[D+2]===WD);f[D]===WD&&""===f[D+1]&&f[D+2]===WD&&d||""===f[D]&&""===f[D+1]||(f[D]===$D||f[D]===WD)&&""===f[D+1]&&f[D+2]===p||f[D]===p&&""===f[D+1]&&f[D+2]===p||f[D]===$D&&""===f[D+1]&&f[D+2]===WD||f[D]===WD&&""===f[D+1]&&f[D+2]===$D?f.splice(D,2):h&&f.splice(D+1,2)}for(;f.length&&(uh(xd(f))||ah(xd(f)));)f.pop();for(;f.length&&(uh(f[0])||ah(f[0]))&&(uh(f[1])||ah(f[1]));)f.shift(),f.shift();var m=[];f.forEach(function(e,t){if(e===p){if(1===t&&""===f[t-1])return 2===f.length?void m.push(c):void m.push(qD([c,WD]));if(t===f.length-1)return void m.push(c);if(""===f[t-1]&&f[t-2]===WD)return void m.push(c)}m.push(e),rh(e)&&(l=!0)});var g=d?YD(m):zD(qD(m),{shouldBreak:!0}),y=zD(qD([u,GD(qD([WD,g])),WD,a]));return l?y:HD([zD(qD([u,qD(f),a])),y])}(e,t,n)},t);return function(e,t,n){var r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;var u=Id(e,["ArrowFunctionExpression","CallExpression","JSXExpressionContainer"])||Id(e,["ArrowFunctionExpression","OptionalCallExpression","JSXExpressionContainer"]),a=dd(e,n);return zD(qD([a?"":KD("("),GD(qD([$D,t])),$D,a?"":KD(")")]),{shouldBreak:u})}(e,Ve,t);case"JSXOpeningElement":var Ue=e.getValue(),We=Ue.name&&Ue.name.comments&&Ue.name.comments.length>0||Ue.typeParameters&&Ue.typeParameters.comments&&Ue.typeParameters.comments.length>0;if(Ue.selfClosing&&!Ue.attributes.length&&!We)return qD(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(Ue.attributes&&1===Ue.attributes.length&&Ue.attributes[0].value&&wD(Ue.attributes[0].value)&&!Ue.attributes[0].value.value.includes("\n")&&!We&&(!Ue.attributes[0].comments||!Ue.attributes[0].comments.length))return zD(qD(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",qD(e.map(n,"attributes")),Ue.selfClosing?" />":">"]));var $e=Ue.attributes.length&&nD(xd(Ue.attributes)),Je=!Ue.attributes.length&&!We||t.jsxBracketSameLine&&(!We||Ue.attributes.length)&&!$e,ze=Ue.attributes&&Ue.attributes.some(function(e){return e.value&&wD(e.value)&&e.value.value.includes("\n")});return zD(qD(["<",e.call(n,"name"),e.call(n,"typeParameters"),qD([GD(qD(e.map(function(e){return qD([UD,n(e)])},"attributes"))),Ue.selfClosing?UD:Je?">":$D]),Ue.selfClosing?"/>":Je?"":">"]),{shouldBreak:ze});case"JSXClosingElement":return qD([""]);case"JSXOpeningFragment":case"JSXClosingFragment":var Ge=u.comments&&u.comments.length,Xe=Ge&&!u.comments.every(tf.isBlockComment),He="JSXOpeningFragment"===u.type;return qD([He?"<":""]);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":var Ye=u.comments&&!u.comments.every(tf.isBlockComment);return qD([da.printDanglingComments(e,t,!Ye),Ye?WD:""]);case"ClassBody":return u.comments||0!==u.body.length?qD(["{",u.body.length>0?GD(qD([WD,e.call(function(e){return fh(e,t,n)},"body")])):da.printDanglingComments(e,t),WD,"}"]):"{}";case"ClassProperty":case"TSAbstractClassProperty":case"ClassPrivateProperty":u.decorators&&0!==u.decorators.length&&s.push(ch(e,t,n)),u.accessibility&&s.push(u.accessibility+" "),u.declare&&s.push("declare "),u.static&&s.push("static "),"TSAbstractClassProperty"===u.type&&s.push("abstract "),u.readonly&&s.push("readonly ");var Ke=$d(u);return Ke&&s.push(Ke),s.push(dh(e,t,n),Th(e),yh(e,t,n)),u.value&&s.push(" =",Lh(u.key,u.value,e.call(n,"value"),t)),s.push(a),zD(qD(s));case"ClassDeclaration":case"ClassExpression":return u.declare&&s.push("declare "),s.push(qD(Bh(e,t,n))),qD(s);case"TSInterfaceHeritage":return s.push(e.call(n,"expression")),u.typeParameters&&s.push(e.call(n,"typeParameters")),qD(s);case"TemplateElement":return VD(JD,u.value.raw.split(/\r?\n/g));case"TemplateLiteral":var Qe=e.map(n,"expressions"),Ze=e.getParentNode();if(fD(u,Ze)){var et=function(e,t,n){var r=e.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(r.length>1||r.some(function(e){return 0!==e.length})){for(var u=[],a=t.map(function(e){return"${"+oh(e,Object.assign({},n,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"}),i=[{hasLineBreak:!1,cells:[]}],o=1;o ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),st&&s.push(")"),zD(qD(s));case"TSRestType":return qD(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return qD([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":return qD([e.call(n,"name"),Th(e),u.name?": ":"",e.call(n,"typeAnnotation")]);case"GenericTypeAnnotation":return qD([e.call(n,"id"),e.call(n,"typeParameters")]);case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return("DeclareInterface"===u.type||u.declare)&&s.push("declare "),s.push("interface"),"DeclareInterface"!==u.type&&"InterfaceDeclaration"!==u.type||s.push(" ",e.call(n,"id"),e.call(n,"typeParameters")),u.extends.length>0&&s.push(zD(GD(qD([UD,"extends ",(1===u.extends.length?rD:GD)(VD(qD([",",UD]),e.map(n,"extends")))])))),s.push(" ",e.call(n,"body")),zD(qD(s));case"ClassImplements":case"InterfaceExtends":return qD([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return qD([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":for(var lt=e.map(n,"types"),ct=[],pt=!1,ft=0;ft1&&(pt=!0),ct.push(" & ",ft>1?GD(lt[ft]):lt[ft])):ct.push(GD(qD([" &",UD,lt[ft]])));return zD(qD(ct));case"TSUnionType":case"UnionTypeAnnotation":var dt=e.getParentNode(),Dt=!("TypeParameterInstantiation"===dt.type||"TSTypeParameterInstantiation"===dt.type||"GenericTypeAnnotation"===dt.type||"TSTypeReference"===dt.type||"TSTypeAssertion"===dt.type||"TupleTypeAnnotation"===dt.type||"TSTupleType"===dt.type||"FunctionTypeParam"===dt.type&&!dt.name||("TypeAlias"===dt.type||"VariableDeclarator"===dt.type||"TSTypeAliasDeclaration"===dt.type)&&Kd(t.originalText,u,t)),ht=Uh(u),mt=e.map(function(e){var r=e.call(n);return ht||(r=XD(2,r)),da.printComments(e,function(){return r},t)},"types");if(ht)return VD(" | ",mt);var gt=Dt&&!Kd(t.originalText,u,t),yt=qD([KD(qD([gt?UD:"","| "])),VD(qD([UD,"| "]),mt)]);return dd(e,t)?zD(qD([GD(yt),$D])):zD("TupleTypeAnnotation"===dt.type&&dt.types.length>1||"TSTupleType"===dt.type&&dt.elementTypes.length>1?qD([GD(qD([KD(qD(["(",$D])),yt])),$D,KD(")")]):Dt?GD(yt):yt);case"NullableTypeAnnotation":return qD(["?",e.call(n,"typeAnnotation")]);case"TSNullKeyword":case"NullLiteralTypeAnnotation":return"null";case"ThisTypeAnnotation":return"this";case"NumberTypeAnnotation":return"number";case"ObjectTypeCallProperty":return u.static&&s.push("static "),s.push(e.call(n,"value")),qD(s);case"ObjectTypeIndexer":var vt=$d(u);return qD([vt||"","[",e.call(n,"id"),u.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")]);case"ObjectTypeProperty":var Et=$d(u),Ct="";return u.proto?Ct="proto ":u.static&&(Ct="static "),qD([Ct,pD(u)?u.kind+" ":"",Et||"",dh(e,t,n),Th(e),lD(u,t)?"":": ",e.call(n,"value")]);case"QualifiedTypeIdentifier":return qD([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return Rh(u,t);case"NumberLiteralTypeAnnotation":return jr.strictEqual(o(u.value),"number"),Bd(null!=u.extra?u.extra.raw:u.raw);case"StringTypeAnnotation":return"string";case"DeclareTypeAlias":case"TypeAlias":("DeclareTypeAlias"===u.type||u.declare)&&s.push("declare ");var At=Lh(u.id,u.right,e.call(n,"right"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",At,a),zD(qD(s));case"TypeCastExpression":var Ft=e.getValue(),bt=Ft&&Ft.typeAnnotation&&Ft.typeAnnotation.range&&t.originalText.substring(Ft.typeAnnotation.range[0]).match(/^\/\*\s*:/);return qD(["(",e.call(n,"expression"),bt?" /*":"",": ",e.call(n,"typeAnnotation"),bt?" */":"",")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":var xt=e.getValue(),St=xt.range?t.originalText.substring(0,xt.range[0]).lastIndexOf("/*"):-1;return St>=0&&t.originalText.substring(St).match(/^\/\*\s*::/)?qD(["/*:: ",wh(e,t,n,"params")," */"]):wh(e,t,n,"params");case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return wh(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":var wt=e.getParentNode();if("TSMappedType"===wt.type)return s.push("[",e.call(n,"name")),u.constraint&&s.push(" in ",e.call(n,"constraint")),s.push("]"),qD(s);var Bt=$d(u);Bt&&s.push(Bt),s.push(e.call(n,"name")),u.bound&&(s.push(": "),s.push(e.call(n,"bound"))),u.constraint&&s.push(" extends ",e.call(n,"constraint")),u.default&&s.push(" = ",e.call(n,"default"));var Tt=e.getNode(2);return wt.params&&1===wt.params.length&&ND(t)&&!u.constraint&&"ArrowFunctionExpression"===Tt.type&&s.push(","),qD(s);case"TypeofTypeAnnotation":return qD(["typeof ",e.call(n,"argument")]);case"VoidTypeAnnotation":return"void";case"InferredPredicate":return"%checks";case"DeclaredPredicate":return qD(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"TSBooleanKeyword":return"boolean";case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSVoidKeyword":return"void";case"TSAsExpression":return qD([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return qD([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return u.export&&s.push("export "),u.accessibility&&s.push(u.accessibility+" "),u.static&&s.push("static "),u.readonly&&s.push("readonly "),s.push(dh(e,t,n),Th(e)),u.typeAnnotation&&(s.push(": "),s.push(e.call(n,"typeAnnotation"))),u.initializer&&s.push(" = ",e.call(n,"initializer")),qD(s);case"TSParameterProperty":return u.accessibility&&s.push(u.accessibility+" "),u.export&&s.push("export "),u.static&&s.push("static "),u.readonly&&s.push("readonly "),s.push(e.call(n,"parameter")),qD(s);case"TSTypeReference":return qD([e.call(n,"typeName"),wh(e,t,n,"typeParameters")]);case"TSTypeQuery":return qD(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":var kt=e.getParentNode();return qD([u.export?"export ":"",u.accessibility?qD([u.accessibility," "]):"",u.static?"static ":"",u.readonly?"readonly ":"","[",u.parameters?qD(e.map(n,"parameters")):"","]: ",e.call(n,"typeAnnotation"),"ClassBody"===kt.type?a:""]);case"TSTypePredicate":return qD([u.asserts?"asserts ":"",e.call(n,"parameterName"),u.typeAnnotation?qD([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return qD([e.call(n,"expression"),"!"]);case"TSThisType":return"this";case"TSImportType":return qD([u.isTypeOf?"typeof ":"","import(",e.call(n,"parameter"),")",u.qualifier?qD([".",e.call(n,"qualifier")]):"",wh(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return qD([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":return"TSCallSignatureDeclaration"!==u.type&&s.push("new "),s.push(zD(Eh(e,n,t,!1,!0))),u.returnType&&s.push("TSConstructorType"===u.type?" => ":": ",e.call(n,"returnType")),qD(s);case"TSTypeOperator":return qD([u.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":var Ot=bd(t.originalText,t.locStart(u),t.locEnd(u));return zD(qD(["{",GD(qD([t.bracketSpacing?UD:$D,u.readonly?qD([zd(u.readonly,"readonly")," "]):"",Sh(e,0,n),e.call(n,"typeParameter"),u.optional?zd(u.optional,"?"):"",": ",e.call(n,"typeAnnotation"),KD(a,"")])),da.printDanglingComments(e,t,!0),t.bracketSpacing?UD:$D,"}"]),{shouldBreak:Ot});case"TSMethodSignature":return s.push(u.accessibility?qD([u.accessibility," "]):"",u.export?"export ":"",u.static?"static ":"",u.readonly?"readonly ":"",u.computed?"[":"",e.call(n,"key"),u.computed?"]":"",Th(e),Eh(e,n,t,!1,!0)),u.returnType&&s.push(": ",e.call(n,"returnType")),zD(qD(s));case"TSNamespaceExportDeclaration":return s.push("export as namespace ",e.call(n,"id")),t.semi&&s.push(";"),zD(qD(s));case"TSEnumDeclaration":return u.declare&&s.push("declare "),u.modifiers&&s.push(Sh(e,0,n)),u.const&&s.push("const "),s.push("enum ",e.call(n,"id")," "),s.push(zD(qD(0===u.members.length?["{",da.printDanglingComments(e,t),$D,"}"]:["{",GD(qD([WD,$h(e,t,"members",n),lh(t,"es5")?",":""])),da.printDanglingComments(e,t,!0),WD,"}"]))),qD(s);case"TSEnumMember":return s.push(e.call(n,"id")),u.initializer&&s.push(" = ",e.call(n,"initializer")),qD(s);case"TSImportEqualsDeclaration":return u.isExport&&s.push("export "),s.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&s.push(";"),zD(qD(s));case"TSExternalModuleReference":return qD(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":var Nt=e.getParentNode(),Pt=mD(u.id),It=u.body&&"TSModuleDeclaration"===u.body.type;if("TSModuleDeclaration"===Nt.type)s.push(".");else{u.declare&&s.push("declare "),s.push(Sh(e,0,n));var jt=t.originalText.slice(t.locStart(u),t.locStart(u.id));"Identifier"===u.id.type&&"global"===u.id.name&&!/namespace|module/.test(jt)||s.push(Pt||/(^|\s)module(\s|$)/.test(jt)?"module ":"namespace ")}return s.push(e.call(n,"id")),It?s.push(e.call(n,"body")):u.body?s.push(" ",zD(e.call(n,"body"))):s.push(a),qD(s);case"PrivateName":return qD(["#",e.call(n,"id")]);case"TSConditionalType":return ph(e,t,n,{beforeParts:function(){return[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")]},afterParts:function(){return[]},shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyName:"checkType",breakNested:!0});case"TSInferType":return qD(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return s.push("#!",u.value,WD),Ld(t.originalText,u,t)&&s.push(WD),qD(s);case"NGRoot":return qD([].concat(e.call(n,"node"),u.node.comments&&0!==u.node.comments.length?qD([" //",u.node.comments[0].value.trimRight()]):[]));case"NGChainedExpression":return zD(VD(qD([";",UD]),e.map(function(e){return eD(e)?n(e):qD(["(",n(e),")"])},"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return qD([u.prefix,":",u.value]);case"NGMicrosyntax":return qD(e.map(function(e,t){return qD([0===t?"":CD(e.getValue(),t,u)?" ":qD([";",UD]),n(e)])},"body"));case"NGMicrosyntaxKey":return/^[a-z_$][a-z0-9_$]*(-[a-z_$][a-z0-9_$])*$/i.test(u.name)?u.name:JSON.stringify(u.name);case"NGMicrosyntaxExpression":return qD([e.call(n,"expression"),null===u.alias?"":qD([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":var Lt=e.getName(),_t=e.getParentNode(),Mt=CD(u,Lt,_t)||(1===Lt&&("then"===u.key.name||"else"===u.key.name)||2===Lt&&"else"===u.key.name&&"NGMicrosyntaxKeyedExpression"===_t.body[Lt-1].type&&"then"===_t.body[Lt-1].key.name)&&"NGMicrosyntaxExpression"===_t.body[0].type;return qD([e.call(n,"key"),Mt?" ":": ",e.call(n,"expression")]);case"NGMicrosyntaxLet":return qD(["let ",e.call(n,"key"),null===u.value?"":qD([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return qD([e.call(n,"key")," as ",e.call(n,"alias")]);case"ArgumentPlaceholder":return"?";default:throw new Error("unknown type: "+JSON.stringify(u.type))}}(e,t,n,r);if(!u||ah(i))return i;var s=vd(e),l=[];if("ClassMethod"===u.type||"ClassPrivateMethod"===u.type||"ClassProperty"===u.type||"TSAbstractClassProperty"===u.type||"ClassPrivateProperty"===u.type||"MethodDefinition"===u.type||"TSAbstractMethodDefinition"===u.type);else if(u.decorators&&u.decorators.length>0&&!(s&&t.locStart(s,{ignoreDecorators:!0})>t.locStart(u.decorators[0]))){var c="ClassExpression"===u.type||"ClassDeclaration"===u.type||Zd(u,t)?WD:UD;e.each(function(e){var t=e.getValue();t=t.expression?t.expression:t.callee,l.push(n(e),c)},"decorators"),s&&l.unshift(WD)}else Ed(u)&&u.declaration&&u.declaration.decorators&&u.declaration.decorators.length>0&&t.locStart(u,{ignoreDecorators:!0})>t.locStart(u.declaration.decorators[0])?e.each(function(e){var t=e.getValue();l.push("Decorator"===t.type?"":"@",n(e),WD)},"declaration","decorators"):a=dd(e,t);var p=[];if(a&&p.unshift("("),p.push(i),a){var f=e.getValue();Hd(f)&&(p.push(" /*"),p.push(f.trailingComments[0].value.trimLeft()),p.push("*/"),f.trailingComments[0].printed=!0),p.push(")")}return l.length>0?zD(qD(l.concat(p))):qD(p)},embed:function(e,t,n,r){var u,a=e.getValue(),i=e.getParentNode(),o=e.getParentNode(1);switch(a.type){case"TemplateLiteral":if([Ef,Af,Ff,Cf].some(function(t){return t(e)})){var s=a.quasis.map(function(e){return e.value.raw}),l=0,c=s.reduce(function(e,t,n){return 0==n?t:e+"@prettier-placeholder-"+l+++"-id"+t},"");return function(e,t,n){var r=t.getValue();if(1===r.quasis.length&&!r.quasis[0].value.raw.trim())return"``";var u=function(e,t){if(!t||!t.length)return e;var n=t.slice(),r=0,u=hf(e,function(e){if(!e||!e.parts||!e.parts.length)return e;var t=e.parts,u=t.indexOf("@"),a=u+1;if(u>-1&&"string"==typeof t[a]&&t[a].startsWith("prettier-placeholder")){var i=t[u],o=t[a],s=t.slice(a+1);t=t.slice(0,u).concat([i+o]).concat(s)}var l=t.findIndex(function(e){return"string"==typeof e&&e.startsWith("@prettier-placeholder")});if(l>-1){var c=t[l],p=t.slice(l+1),f=c.match(/@prettier-placeholder-(.+)-id([\s\S]*)/),d=f[2],D=n[f[1]];r++,t=t.slice(0,l).concat(["${",D,"}"+d]).concat(p)}return Object.assign({},e,{parts:t})});return n.length===r?u:null}(e,r.expressions?t.map(n,"expressions"):[]);if(!u)throw new Error("Couldn't insert all the expressions");return pf(["`",af(pf([sf,mf(u)])),lf,"`"])}(n(c,{parser:"css"}),e,t)}if(function(e){var t=e.getValue(),n=e.getParentNode();return Sf(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)){var p=a.expressions?e.map(t,"expressions"):[],f=a.quasis.length;if(1===f&&""===a.quasis[0].value.raw.trim())return"``";for(var d=[],D=0;D2&&""===y[0].trim()&&""===y[1].trim(),A=v>2&&""===y[v-1].trim()&&""===y[v-2].trim(),F=y.every(function(e){return/^\s*(?:#[^\r\n]*)?$/.test(e)});if(!m&&/#[^\r\n]*$/.test(y[v-1]))return null;var b=null;(b=F?vf(y):mf(n(g,{parser:"graphql"})))?(b=yf(b,!1),!h&&C&&d.push(""),d.push(b),!m&&A&&d.push("")):h||m||!C||d.push(""),E&&d.push(pf(["${",E,"}"]))}return pf(["`",af(pf([sf,of(sf,d)])),sf,"`"])}var x=function(e){return Sf(e.getValue(),"HTML")||wf(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t}])}(e)?"html":function(e){return wf(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"Property"===e.type&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t}].concat([function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}]))}(e)?"angular":void 0;if(x)return function(e,t,n,r,u){var a=e.getValue(),i=Bf;Bf=Bf+1>>>0;var o=function(e){return"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(i,"_IN_JS")},s=a.quasis.map(function(e,t,n){return t===n.length-1?e.value.cooked:e.value.cooked+o(t)}).join(""),l=e.map(t,"expressions");if(0===l.length&&0===s.trim().length)return"``";var c=RegExp(o("(\\d+)"),"g"),p=hf(mf(n(s,{parser:r})),function(e){if("string"!=typeof e)return e;for(var t=[],n=e.split(c),r=0;r1&&t.every(function(e){return"*"===e.trim()[0]})}(n)){var r=function(e){var t=e.value.split("\n");return qD(["/*",VD(WD,t.map(function(e,n){return 0===n?e.trimRight():" "+(n x`"},{value:"always",description:"Always include parens. Example: `(x) => x`"}]},bracketSpacing:mo.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:"JavaScript",type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:"JavaScript",type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:mo.singleQuote,jsxSingleQuote:{since:"1.15.0",category:"JavaScript",type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:"JavaScript",type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:"JavaScript",type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"none",description:"No trailing commas."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:!0,deprecated:"0.19.0",redirect:"es5"},{value:!1,deprecated:"0.19.0",redirect:"none"}]}},Zh=["js","node"],em=[".js","._js",".bones",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],tm=["Jakefile"],nm=["chakra","d8","js","node","rhino","v8","v8-shell"],rm=Object.freeze({__proto__:null,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Zh,extensions:em,filenames:tm,interpreters:nm,languageId:183,default:{name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:Zh,extensions:em,filenames:tm,interpreters:nm,languageId:183}}),um=[".jsx"],am=Object.freeze({__proto__:null,name:"JSX",type:"programming",group:"JavaScript",extensions:um,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178,default:{name:"JSX",type:"programming",group:"JavaScript",extensions:um,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178}}),im=["ts"],om=["deno","ts-node"],sm=[".ts"],lm=Object.freeze({__proto__:null,name:"TypeScript",type:"programming",color:"#2b7489",aliases:im,interpreters:om,extensions:sm,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378,default:{name:"TypeScript",type:"programming",color:"#2b7489",aliases:im,interpreters:om,extensions:sm,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}),cm=[".tsx"],pm=Object.freeze({__proto__:null,name:"TSX",type:"programming",group:"TypeScript",extensions:cm,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924,default:{name:"TSX",type:"programming",group:"TypeScript",extensions:cm,tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}),fm=[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],dm=[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],Dm=Object.freeze({__proto__:null,name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:fm,filenames:dm,languageId:174,default:{name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:fm,filenames:dm,languageId:174}}),hm=["jsonc"],mm=[".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],gm=[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","jsconfig.json","language-configuration.json","tsconfig.json"],ym=Object.freeze({__proto__:null,name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:hm,extensions:mm,filenames:gm,languageId:423,default:{name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:hm,extensions:mm,filenames:gm,languageId:423}}),vm=[".json5"],Em=Object.freeze({__proto__:null,name:"JSON5",type:"data",extensions:vm,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175,default:{name:"JSON5",type:"data",extensions:vm,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}),Cm=lt(rm),Am=lt(am),Fm=lt(lm),bm=lt(pm),xm=lt(Dm),Sm=lt(ym),wm=lt(Em),Bm={languages:[yo(Cm,function(e){return Object.assign(e,{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript","mongo"],interpreters:e.interpreters.concat(["nodejs"])})}),yo(Cm,function(e){return Object.assign(e,{name:"Flow",since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})}),yo(Am,function(e){return Object.assign(e,{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascriptreact"]})}),yo(Fm,function(e){return Object.assign(e,{since:"1.4.0",parsers:["typescript"],vscodeLanguageIds:["typescript"]})}),yo(bm,function(e){return Object.assign(e,{since:"1.4.0",parsers:["typescript"],vscodeLanguageIds:["typescriptreact"]})}),yo(xm,function(e){return Object.assign(e,{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})}),yo(xm,function(e){return Object.assign(e,{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:e.filenames.concat([".prettierrc"])})}),yo(Sm,function(e){return Object.assign(e,{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:e.filenames.concat([".eslintrc"])})}),yo(wm,function(e){return Object.assign(e,{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})})],options:Qh,printers:{estree:Jh,"estree-json":Kh}},Tm="[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d]",km="[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]",Om=Au.getLast,Nm=["liquidNode","inlineCode","emphasis","strong","delete","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],Pm=Nm.concat(["tableCell","paragraph","heading"]),Im=new RegExp("[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]"),jm=new RegExp(km),Lm={mapAst:function(e,t){return function e(n,r,u){var a=t(n,r,u=u||[]);return Array.isArray(a)||(a=Object.assign({},a)).children&&(a.children=a.children.reduce(function(t,n,r){var i=e(n,r,[a].concat(u));return Array.isArray(i)||(i=[i]),t.push.apply(t,i),t},[])),a}(e,null,null)},splitText:function(e,t){var n=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(Tm,")\n(").concat(Tm,")"),"g"),"$1$2")).split(/([ \t\n]+)/).forEach(function(e,t,u){t%2!=1?(0!==t&&t!==u.length-1||""!==e)&&e.split(new RegExp("(".concat(Tm,")"))).forEach(function(e,t,n){(0!==t&&t!==n.length-1||""!==e)&&(t%2!=0?r(jm.test(e)?{type:"word",value:e,kind:"cjk-punctuation",hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:Im.test(e)?"k-letter":"cj-letter",hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&r({type:"word",value:e,kind:"non-cjk",hasLeadingPunctuation:jm.test(e[0]),hasTrailingPunctuation:jm.test(Om(e))}))}):n.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})}),n;function r(e){var t=Om(n);t&&"word"===t.type&&("non-cjk"===t.kind&&"cj-letter"===e.kind&&!t.hasTrailingPunctuation||"cj-letter"===t.kind&&"non-cjk"===e.kind&&!e.hasLeadingPunctuation?n.push({type:"whitespace",value:" "}):"non-cjk"===t.kind&&"cjk-punctuation"===e.kind||"cjk-punctuation"===t.kind&&"non-cjk"===e.kind||[t.value,e.value].some(function(e){return/\u3000/.test(e)})||n.push({type:"whitespace",value:""})),n.push(e)}},punctuationPattern:km,getFencedCodeBlockValue:function(e,t){var n=t.slice(e.position.start.offset,e.position.end.offset),r=n.match(/^\s*/)[0].length,u=new RegExp("^\\s{0,".concat(r,"}")),a=n.split("\n"),i=n[r],o=n.slice(r).match(new RegExp("^[".concat(i,"]+")))[0],s=new RegExp("^\\s{0,3}".concat(o)).test(a[a.length-1].slice(l(a.length-1)));return a.slice(1,s?-1:void 0).map(function(e,t){return e.slice(l(t+1)).replace(u,"")}).join("\n");function l(t){return e.position.indent[t-1]-1}},getOrderedListItemInfo:function(e,t){var n=C(t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),4);return{numberText:n[1],marker:n[2],leadingSpaces:n[3]}},INLINE_NODE_TYPES:Nm,INLINE_NODE_WRAPPER_TYPES:Pm},_m=$u.builders,Mm=_m.hardline,Rm=_m.literalline,qm=_m.concat,Vm=_m.markAsRoot,Um=$u.utils.mapDoc,Wm=Lm.getFencedCodeBlockValue,$m=["format","prettier"];function Jm(e){var t="@(".concat($m.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var zm={startWithPragma:Jm,hasPragma:function(e){return Jm(Qa(e).content.trimLeft())},insertPragma:function(e){var t=Qa(e),n="\x3c!-- @".concat($m[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}},Gm=Lm.getOrderedListItemInfo,Xm=Lm.mapAst,Hm=Lm.splitText,Ym=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function Km(e,t,n){return Xm(e,function(e){if(!e.children)return e;var r=e.children.reduce(function(e,r){var u=e[e.length-1];return u&&t(u,r)?e.splice(-1,1,n(u,r)):e.push(r),e},[]);return Object.assign({},e,{children:r})})}var Qm=$u.builders,Zm=Qm.breakParent,eg=Qm.concat,tg=Qm.join,ng=Qm.line,rg=Qm.literalline,ug=Qm.markAsRoot,ag=Qm.hardline,ig=Qm.softline,og=Qm.ifBreak,sg=Qm.fill,lg=Qm.align,cg=Qm.indent,pg=Qm.group,fg=$u.utils.mapDoc,dg=$u.printer.printDocToString,Dg=Lm.getFencedCodeBlockValue,hg=Lm.getOrderedListItemInfo,mg=Lm.splitText,gg=Lm.punctuationPattern,yg=Lm.INLINE_NODE_TYPES,vg=Lm.INLINE_NODE_WRAPPER_TYPES,Eg=Au.replaceEndOfLineWith,Cg=["importExport"],Ag=["heading","tableCell","link"],Fg=["listItem","definition","footnoteDefinition","jsx"];function bg(e,t,n,r){var u=e.getValue(),a=null===u.checked?"":u.checked?"[x] ":"[ ] ";return eg([a,kg(e,t,n,{processor:function(e,u){if(0===u&&"list"!==e.getValue().type)return lg(" ".repeat(a.length),e.call(n));var i,o=" ".repeat((i=t.tabWidth-r.length)<0?0:i>3?3:i);return eg([o,lg(o,e.call(n))])}})])}function xg(e,t){return function(e,t,n){n=n||function(){return!0};var r=-1,u=!0,a=!1,i=void 0;try{for(var o,s=t.children[Symbol.iterator]();!(u=(o=s.next()).done);u=!0){var l=o.value;if(l.type===e.type&&n(l)?r++:r=-1,l===e)return r}}catch(c){a=!0,i=c}finally{try{u||null==s.return||s.return()}finally{if(a)throw i}}}(e,t,function(t){return t.ordered===e.ordered})}function Sg(e,t){for(var n,r=[].concat(t),u=-1;n=e.getParentNode(++u);)if(-1!==r.indexOf(n.type))return u;return-1}function wg(e,t){var n=Sg(e,t);return-1===n?null:e.getParentNode(n)}function Bg(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return ag;var r="always"===n.proseWrap&&!wg(e,Ag);return""!==t?r?ng:" ":r?ig:""}function Tg(e,t,n){var r=[],u=null,a=e.getValue().children;return a.forEach(function(e,t){switch(Ng(e)){case"start":null===u&&(u={index:t,offset:e.position.end.offset});break;case"end":null!==u&&(r.push({start:u,end:{index:t,offset:e.position.start.offset}}),u=null)}}),kg(e,t,n,{processor:function(e,u){if(0!==r.length){var i=r[0];if(u===i.start.index)return eg([a[i.start.index].value,t.originalText.slice(i.start.offset,i.end.offset),a[i.end.index].value]);if(i.start.index$/);return null!==t&&(t[1]?t[1]:"next")}function Pg(e){return e&&-1!==yg.indexOf(e.type)}function Ig(e){return e&&/\n+$/.test(e.value)}function jg(e,t){return t.prevNode&&"list"===t.prevNode.type&&"code"===e.type&&e.isIndented}function Lg(e){return fg(e,function(e){if(!e.parts)return e;if("concat"===e.type&&1===e.parts.length)return e.parts[0];var t=[];return e.parts.forEach(function(e){"concat"===e.type?t.push.apply(t,e.parts):""!==e&&t.push(e)}),Object.assign({},e,{parts:Rg(t)})})}function _g(e,t){var n=[" "].concat(t||[]);return new RegExp(n.map(function(e){return"\\".concat(e)}).join("|")).test(e)?"<".concat(e,">"):e}function Mg(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+Mg(e,t,!1);if(e.includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");var r=e.split("'").length-1,u=e.split('"').length-1,a=r>u?'"':u>r||t.singleQuote?"'":'"';return e=e.replace(new RegExp("(".concat(a,")"),"g"),"\\$1"),"".concat(a).concat(e).concat(a)}function Rg(e){return e.reduce(function(e,t){var n=Au.getLast(e);return"string"==typeof n&&"string"==typeof t?e.splice(-1,1,n+t):e.push(t),e},[])}var qg={preprocess:function(e,t){return function(e){return Km(e,function(e,t){return"importExport"===e.type&&"importExport"===t.type},function(e,t){return{type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}})}(e=function(e){return Xm(e,function(e){return"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"})})}(e=function(e,t){return Xm(e,function(e,n,r){var u=C(r,1)[0];if("text"!==e.type)return e;var a=e.value;return"paragraph"===u.type&&(0===n&&(a=a.trimLeft()),n===u.children.length-1&&(a=a.trimRight())),{type:"sentence",position:e.position,children:Hm(a,t)}})}(e=function(e,t){return Xm(e,function(e,r,u){if("list"===e.type&&0!==e.children.length){for(var a=0;a1)return!0;var i=n(u);return-1!==i&&(1===e.children.length?i%t.tabWidth==0:i===n(a)&&(i%t.tabWidth==0||Gm(a,t.originalText).leadingSpaces.length>1))}(e)}return e});function n(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}}(e=function(e,t){return Xm(e,function(e,n,r){if("code"===e.type){var u=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=u,u)for(var a=0;a|^([-+*]|#{1,6}|[0-9]+[.)])$/.test(i.value)?"never":t.proseWrap;return Bg(e,r.value,{proseWrap:o});case"emphasis":var s=e.getParentNode(),l=s.children.indexOf(r),c=s.children[l-1],p=s.children[l+1],f=c&&"sentence"===c.type&&c.children.length>0&&"word"===Au.getLast(c.children).type&&!Au.getLast(c.children).hasTrailingPunctuation||p&&"sentence"===p.type&&p.children.length>0&&"word"===p.children[0].type&&!p.children[0].hasLeadingPunctuation||wg(e,"emphasis")?"*":"_";return eg([f,kg(e,t,n),f]);case"strong":return eg(["**",kg(e,t,n),"**"]);case"delete":return eg(["~~",kg(e,t,n),"~~"]);case"inlineCode":var d=Au.getMinNotPresentContinuousCount(r.value,"`"),D="`".repeat(d||1),h=d?" ":"";return eg([D,h,r.value,h,D]);case"link":switch(t.originalText[r.position.start.offset]){case"<":var m=r.url.startsWith("mailto:")&&"mailto:"!==t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+"mailto:".length)?r.url.slice("mailto:".length):r.url;return eg(["<",m,">"]);case"[":return eg(["[",kg(e,t,n),"](",_g(r.url,")"),Mg(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return eg(["![",r.alt||"","](",_g(r.url,")"),Mg(r.title,t),")"]);case"blockquote":return eg(["> ",lg("> ",kg(e,t,n))]);case"heading":return eg(["#".repeat(r.depth)+" ",kg(e,t,n)]);case"code":if(r.isIndented){var g=" ".repeat(4);return lg(g,eg([g,eg(Eg(r.value,ag))]))}var y=t.__inJsTemplate?"~":"`",v=y.repeat(Math.max(3,Au.getMaxContinuousCount(r.value,y)+1));return eg([v,r.lang||"",ag,eg(Eg(Dg(r,t.originalText),ag)),ag,v]);case"yaml":case"toml":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"html":var E=e.getParentNode(),C="root"===E.type&&Au.getLast(E.children)===r?r.value.trimRight():r.value,A=/^$/.test(C);return eg(Eg(C,A?ag:ug(rg)));case"list":var F=xg(r,e.getParentNode()),b=r.ordered&&r.children.length>1&&1==+hg(r.children[1],t.originalText).numberText;return kg(e,t,n,{processor:function(e,u){var a,i=(a=r.ordered?(0===u?r.start:b?1:r.start+u)+(F%2==0?". ":") "):F%2==0?"- ":"* ",r.isAligned||r.hasIndentedCodeblock?function(e,t){var n,r=0==(n=e.length%t.tabWidth)?0:t.tabWidth-n;return e+" ".repeat(r>=4?0:r)}(a,t):a);return eg([i,lg(" ".repeat(i.length),bg(e,t,n,i))])}});case"thematicBreak":var x=Sg(e,"list");return-1===x?"---":xg(e.getParentNode(x),e.getParentNode(x+1))%2==0?"***":"---";case"linkReference":return eg(["[",kg(e,t,n),"]","full"===r.referenceType?eg(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return eg(["![",r.alt||"","][",r.identifier,"]"]);default:return eg(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":var S="always"===t.proseWrap?ng:" ";return pg(eg([eg(["[",r.identifier,"]:"]),cg(eg([S,_g(r.url),null===r.title?"":eg([S,Mg(r.title,t,!1)])]))]));case"footnote":return eg(["[^",kg(e,t,n),"]"]);case"footnoteReference":return eg(["[^",r.identifier,"]"]);case"footnoteDefinition":var w=e.getParentNode().children[e.getName()+1];return eg(["[^",r.identifier,"]: ",1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line)?kg(e,t,n):pg(eg([lg(" ".repeat(t.tabWidth),kg(e,t,n,{processor:function(e,t){return 0===t?pg(eg([ig,ig,e.call(n)])):e.call(n)}})),w&&"footnoteDefinition"===w.type?ig:""]))]);case"table":return function(e,t,n){var r=ag.parts[0],u=e.getValue(),a=[];e.map(function(e){var r=[];e.map(function(e){r.push(dg(e.call(n),t).formatted)},"children"),a.push(r)},"children");var i=a.reduce(function(e,t){return e.map(function(e,n){return Math.max(e,Au.getStringWidth(t[n]))})},a[0].map(function(){return 3})),o=tg(r,[c(a[0]),l(),tg(r,a.slice(1).map(function(e){return c(e)}))]);if("never"!==t.proseWrap)return eg([Zm,o]);var s=tg(r,[c(a[0],!0),l(!0),tg(r,a.slice(1).map(function(e){return c(e,!0)}))]);return eg([Zm,pg(og(s,o))]);function l(e){return eg(["| ",tg(" | ",i.map(function(t,n){var r=e?3:t;switch(u.align[n]){case"left":return":"+"-".repeat(r-1);case"right":return"-".repeat(r-1)+":";case"center":return":"+"-".repeat(r-2)+":";default:return"-".repeat(r)}}))," |"])}function c(e,t){return eg(["| ",tg(" | ",t?e:e.map(function(e,t){switch(u.align[t]){case"right":return r=i[t]-Au.getStringWidth(n=e),eg([" ".repeat(r),n]);case"center":return function(e,t){var n=t-Au.getStringWidth(e),r=Math.floor(n/2),u=n-r;return eg([" ".repeat(r),e," ".repeat(u)])}(e,i[t]);default:return function(e,t){var n=t-Au.getStringWidth(e);return eg([e," ".repeat(n)])}(e,i[t])}var n,r}))," |"])}}(e,t,n);case"tableCell":return kg(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?eg([" ",ug(rg)]):eg(["\\",ag]);case"liquidNode":return eg(Eg(r.value,ag));case"importExport":case"jsx":return r.value;case"math":return eg(["$$",ag,r.value?eg([eg(Eg(r.value,ag)),ag]):"","$$"]);case"inlineMath":return t.originalText.slice(t.locStart(r),t.locEnd(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:function(e,t,n,r){var u,a,i=e.getValue();if("code"===i.type&&null!==i.lang){var o=i.lang.match(/^[A-Za-z0-9_-]+/),s=(u=o?o[0]:"",(a=Ht(null,{plugins:r.plugins}).languages.find(function(e){return e.name.toLowerCase()===u||e.aliases&&-1!==e.aliases.indexOf(u)||e.extensions&&e.extensions.find(function(e){return e.substring(1)===u})}))?a.parsers[0]:null);if(s){var l=r.__inJsTemplate?"~":"`",c=l.repeat(Math.max(3,Au.getMaxContinuousCount(i.value,l)+1)),p=n(Wm(i,r.originalText),{parser:s});return Vm(qm([c,i.lang,Mm,f(p),c]))}}if("yaml"===i.type)return Vm(qm(["---",Mm,i.value&&i.value.trim()?f(n(i.value,{parser:"yaml"})):"","---"]));switch(i.type){case"importExport":return n(i.value,{parser:"babel"});case"jsx":return n(i.value,{parser:"__js_expression"})}return null;function f(e){return Um(e,function(e){return"string"==typeof e&&e.includes("\n")?qm(e.split(/(\n)/g).map(function(e,t){return t%2==0?e:Rm})):e})}},massageAstNode:function(e,t,n){return delete t.position,delete t.raw,"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[ \t\n]+/g," ")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||("yaml"===n.children[0].type||"toml"===n.children[0].type)&&n.children[1]===e)&&"html"===e.type&&zm.startWithPragma(e.value)?null:void 0)},hasPrettierIgnore:function(e){var t=+e.getName();return 0!==t&&"next"===Ng(e.getParentNode().children[t-1])},insertPragma:zm.insertPragma},Vg={proseWrap:mo.proseWrap,singleQuote:mo.singleQuote},Ug=["pandoc"],Wg=[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],$g=["contents.lr"],Jg=lt(Object.freeze({__proto__:null,name:"Markdown",type:"prose",aliases:Ug,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:Wg,filenames:$g,tmScope:"source.gfm",languageId:222,default:{name:"Markdown",type:"prose",aliases:Ug,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:Wg,filenames:$g,tmScope:"source.gfm",languageId:222}})),zg={languages:[yo(Jg,function(e){return Object.assign(e,{since:"1.8.0",parsers:["remark"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter(function(e){return".mdx"!==e})})}),yo(Jg,function(e){return Object.assign(e,{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})})],options:Vg,printers:{mdast:qg}},Gg=Au.getLast;function Xg(e,t){return e&&"string"==typeof e.type&&(!t||-1!==t.indexOf(e.type))}function Hg(e){return"prettier-ignore"===e.value.trim()}function Yg(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function Kg(e){return e&&e.middleComments&&0!==e.middleComments.length}function Qg(e){return e&&e.indicatorComment}function Zg(e){return e&&e.trailingComment}function ey(e){return e&&e.endComments&&0!==e.endComments.length}function ty(e){var t=[],n=void 0,r=!0,u=!1,a=void 0;try{for(var i,o=e.split(/( +)/g)[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var s=i.value;" "!==s?t.push(" "===n?s:(t.pop()||"")+s):void 0===n&&t.unshift(""),n=s}}catch(l){u=!0,a=l}finally{try{r||null==o.return||o.return()}finally{if(u)throw a}}return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var ny={getLast:Gg,getAncestorCount:function(e,t){for(var n=0,r=e.stack.length-1,u=0;u=0&&0===t[r].length;r--)n++;return 0===n?t:t.slice(0,n>=2&&!u?-(n-1):-n)}("preserve"===a.proseWrap||"blockLiteral"===e.type?s.map(function(e){return 0===e.length?[]:[e]}):s.map(function(e){return 0===e.length?[]:ty(e)}).reduce(function(e,t,n){return 0===n||0===s[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(Gg(e))?e.concat([t]):e.concat([e.pop().concat(t)])},[]).map(function(e){return e.reduce(function(e,t){return 0!==e.length&&/\s$/.test(Gg(e))?e.concat(e.pop()+" "+t):e.concat(t)},[])}).map(function(e){return"never"===a.proseWrap?[e.join(" ")]:e}))},getFlowScalarLineContents:function(e,t,n){var r=t.split("\n").map(function(e,t,n){return 0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimRight():e.trimLeft()});return"preserve"===n.proseWrap?r.map(function(e){return 0===e.length?[]:[e]}):r.map(function(e){return 0===e.length?[]:ty(e)}).reduce(function(t,n,u){return 0===u||0===r[u-1].length||0===n.length||"quoteDouble"===e&&Gg(Gg(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)])},[]).map(function(e){return"never"===n.proseWrap?[e.join(" ")]:e})},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(Gg(t.children)):t},hasPrettierIgnore:function(e){var t=e.getValue();if("documentBody"===t.type){var n=e.getParentNode();return ey(n.head)&&Hg(Gg(n.head.endComments))}return Yg(t)&&Hg(Gg(t.leadingComments))},hasLeadingComments:Yg,hasMiddleComments:Kg,hasIndicatorComment:Qg,hasTrailingComment:Zg,hasEndComments:ey},ry=ny.getAncestorCount,uy=ny.getBlockValueLineContents,ay=ny.getFlowScalarLineContents,iy=ny.getLast,oy=ny.getLastDescendantNode,sy=ny.hasLeadingComments,ly=ny.hasMiddleComments,cy=ny.hasIndicatorComment,py=ny.hasTrailingComment,fy=ny.hasEndComments,dy=ny.hasPrettierIgnore,Dy=ny.isLastDescendantNode,hy=ny.isNextLineEmpty,my=ny.isNode,gy=ny.isEmptyNode,yy=ny.defineShortcut,vy=ny.mapNode,Ey=$u.builders,Cy=Ey.conditionalGroup,Ay=Ey.breakParent,Fy=Ey.concat,by=Ey.dedent,xy=Ey.dedentToRoot,Sy=Ey.fill,wy=Ey.group,By=Ey.hardline,Ty=Ey.ifBreak,ky=Ey.join,Oy=Ey.line,Ny=Ey.lineSuffix,Py=Ey.literalline,Iy=Ey.markAsRoot,jy=Ey.softline,Ly=Au.replaceEndOfLineWith;function _y(e){switch(e.type){case"document":yy(e,"head",function(){return e.children[0]}),yy(e,"body",function(){return e.children[1]});break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":yy(e,"content",function(){return e.children[0]});break;case"mappingItem":case"flowMappingItem":yy(e,"key",function(){return e.children[0]}),yy(e,"value",function(){return e.children[1]})}return e}function My(e,t,n,r,u){switch(e.type){case"root":return Fy([ky(By,n.map(function(t,r){var a=e.children[r],i=e.children[r+1];return Fy([u(t),Vy(a,i)?Fy([By,"...",py(a)?Fy([" ",n.call(u,"trailingComment")]):""]):!i||py(i.head)?"":Fy([By,"---"])])},"children")),0===e.children.length||(x=oy(e),my(x,["blockLiteral","blockFolded"])&&"keep"===x.chomping)?"":By]);case"document":var a=t.children[n.getName()+1];return ky(By,["head"===Uy(e,a,t,r)?ky(By,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(u,"head"),Fy(["---",py(e.head)?Fy([" ",n.call(u,"head","trailingComment")]):""])].filter(Boolean)):"",(b=e,0!==b.body.children.length||fy(b.body)?n.call(u,"body"):"")].filter(Boolean));case"documentHead":return ky(By,[].concat(n.map(u,"children"),n.map(u,"endComments")));case"documentBody":var i=ky(By,n.map(u,"children")).parts,o=ky(By,n.map(u,"endComments")).parts,s=0===i.length||0===o.length?"":function(e){return my(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":Fy([By,By]):By}(oy(e));return Fy([].concat(i,s,o));case"directive":return Fy(["%",ky(" ",[e.name].concat(e.parameters))]);case"comment":return Fy(["#",e.value]);case"alias":return Fy(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return Fy(["&",e.value]);case"plain":return zy(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":var l=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&l.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(l)){var c="quoteDouble"===e.type?'"':"'";return Fy([c,zy(e.type,l,r),c])}if(l.includes('"'))return Fy(["'",zy(e.type,"quoteDouble"===e.type?l.replace(/\\"/g,'"').replace(/'/g,"'".repeat(2)):l,r),"'"]);if(l.includes("'"))return Fy(['"',zy(e.type,"quoteSingle"===e.type?l.replace(/''/g,"'"):l,r),'"']);var p=r.singleQuote?"'":'"';return Fy([p,zy(e.type,l,r),p]);case"blockFolded":case"blockLiteral":var f=ry(n,function(e){return my(e,["sequence","mapping"])}),d=Dy(n);return Fy(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",cy(e)?Fy([" ",n.call(u,"indicatorComment")]):"",(null===e.indent?by:xy)(Ry(null===e.indent?r.tabWidth:e.indent-1+f,Fy(uy(e,{parentIndent:f,isLastDescendant:d,options:r}).reduce(function(t,n,r,u){return t.concat(0===r?By:"",Sy(ky(Oy,n).parts),r!==u.length-1?0===n.length?By:Iy(Py):"keep"===e.chomping&&d?xy(0===n.length?By:Py):"")},[]))))]);case"sequence":return ky(By,n.map(u,"children"));case"sequenceItem":return Fy(["- ",Ry(2,e.content?n.call(u,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(u,"content"):"";case"mapping":return ky(By,n.map(u,"children"));case"mappingItem":case"flowMappingItem":var D=gy(e.key),h=gy(e.value);if(D&&h)return Fy([": "]);var m=n.call(u,"key"),g=n.call(u,"value");if(h)return"flowMappingItem"===e.type&&"flowMapping"===t.type?m:"mappingItem"!==e.type||!Wy(e.key.content,r)||py(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?Fy(["? ",Ry(2,m)]):Fy([m,$y(e)?" ":"",":"]);if(D)return Fy([": ",Ry(2,g)]);var y=Symbol("mappingKey");return sy(e.value)||!qy(e.key.content)?Fy(["? ",Ry(2,m),By,ky("",n.map(u,"value","leadingComments").map(function(e){return Fy([e,By])})),": ",Ry(2,g)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||sy(e.key.content)||ly(e.key.content)||py(e.key.content)||fy(e.key)||sy(e.value.content)||ly(e.value.content)||fy(e.value)||!Wy(e.value.content,r)?Cy([Fy([wy(Fy([Ty("? "),wy(Ry(2,m),{id:y})])),Ty(Fy([By,": ",Ry(2,g)]),S(Fy([$y(e)?" ":"",":",sy(e.value.content)||fy(e.value)&&e.value.content&&!my(e.value.content,["mapping","sequence"])||"mapping"===t.type&&py(e.key.content)&&qy(e.value.content)||my(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?By:e.value.content?Oy:"",g])),{groupId:y})])]):Fy([m,$y(e)?" ":"",": ",g]);case"flowMapping":case"flowSequence":var v="flowMapping"===e.type?"{":"[",E="flowMapping"===e.type?"}":"]",C="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?Oy:jy,A=0!==e.children.length&&"flowMappingItem"===(F=iy(e.children)).type&&gy(F.key)&&gy(F.value);return Fy([v,S(Fy([C,Fy(n.map(function(t,n){return Fy([u(t),n===e.children.length-1?"":Fy([",",Oy,e.children[n].position.start.line!==e.children[n+1].position.start.line?Jy(t,r.originalText):""])])},"children")),Ty(",","")])),A?"":C,E]);case"flowSequenceItem":return n.call(u,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var F,b,x;function S(e){return Ey.align(" ".repeat(r.tabWidth),e)}}function Ry(e,t){return Ey.align("number"==typeof e&&e>0?" ".repeat(e):e,t)}function qy(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function Vy(e,t){return py(e)||t&&(0!==t.head.children.length||fy(t.head))}function Uy(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(r.locStart(e),r.locStart(e)+4))||0!==e.head.children.length||fy(e.head)||py(e.head)?"head":!Vy(e,t)&&!!t&&"root"}function Wy(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return-1===e.value.indexOf("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function $y(e){return e.key.content&&"alias"===e.key.content.type}function Jy(e,t){var n=e.getValue(),r=e.stack[0];return r.isNextEmptyLinePrintedChecklist=r.isNextEmptyLinePrintedChecklist||[],!r.isNextEmptyLinePrintedChecklist[n.position.end.line]&&hy(n,t)?(r.isNextEmptyLinePrintedChecklist[n.position.end.line]=!0,jy):""}function zy(e,t,n){var r=ay(e,t,n);return ky(By,r.map(function(e){return Sy(ky(Oy,e).parts)}))}var Gy={preprocess:function(e){return vy(e,_y)},print:function(e,t,n){var r=e.getValue(),u=e.getParentNode(),a=r.tag?e.call(n,"tag"):"",i=r.anchor?e.call(n,"anchor"):"",o=my(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!Dy(e)?Jy(e,t.originalText):"";return Fy(["mappingValue"!==r.type&&sy(r)?Fy([ky(By,e.map(n,"leadingComments")),By]):"",a,a&&i?" ":"",i,a||i?my(r,["sequence","mapping"])&&!ly(r)?By:" ":"",ly(r)?Fy([1===r.middleComments.length?"":By,ky(By,e.map(n,"middleComments")),By]):"",dy(e)?Fy(Ly(t.originalText.slice(r.position.start.offset,r.position.end.offset),Py)):wy(My(r,u,e,t,n)),py(r)&&!my(r,["document","documentHead"])?Ny(Fy(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===u.type&&"mapping"===e.getParentNode(2).type&&qy(r)?"":Ay,e.call(n,"trailingComment")])):"",o,fy(r)&&!my(r,["documentHead","documentBody"])?Ry("sequenceItem"===r.type?2:0,Fy([By,ky(By,e.map(n,"endComments"))])):""])},massageAstNode:function(e,t){if(my(t))switch(delete t.position,t.type){case"comment":if(/^\s*@(prettier|format)\s*$/.test(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:function(e){return"# @format\n\n".concat(e)}},Xy={bracketSpacing:mo.bracketSpacing,singleQuote:mo.singleQuote,proseWrap:mo.proseWrap},Hy=["yml"],Yy=[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yml.mysql"],Ky=[".clang-format",".clang-tidy",".gemrc","glide.lock"],Qy=[yo(lt(Object.freeze({__proto__:null,name:"YAML",type:"data",tmScope:"source.yaml",aliases:Hy,extensions:Yy,filenames:Ky,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407,default:{name:"YAML",type:"data",tmScope:"source.yaml",aliases:Hy,extensions:Yy,filenames:Ky,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}})),function(e){return Object.assign(e,{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml"]})})],Zy=zt.version,ev=Ht,tv=[Oo,Xo,Fs,Vp,Bm,zg,{languages:Qy,printers:{yaml:Gy},options:Xy}],nv=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function rv(e){return function(){var t=Array.from(arguments),n=t[1]&&t[1].plugins||[];return nv(n)||(n=Object.values(n)),t[1]=Object.assign({},t[1],{plugins:tv.concat(n)}),e.apply(null,t)}}var uv=rv(function(e,t){return qa(e,t=Oa(t))});return{formatWithCursor:uv,format:function(e,t){return uv(e,t).formatted},check:function(e,t){return uv(e,t).formatted===e},doc:$u,getSupportInfo:rv(ev),version:Zy,util:Ju,__debug:{parse:rv(function(e,t,n){t=Oa(t),-1!==e.indexOf("\r")&&(e=e.replace(/\r\n?/g,"\n"));var r=Br.parse(e,t);return n&&(r.ast=Ir(r.ast,t)),r}),formatAST:rv(function(e,t){t=Oa(t);var n=Sa(e,t);return Ia(n,t)}),formatDoc:rv(function(e,t){return qa(ja(e),t=Oa(Object.assign({},t,{parser:"babel"}))).formatted}),printToDoc:rv(function(e,t){t=Oa(t);var n=Br.parse(e,t),r=n.ast;return Ma(e=n.text,r,t),Sa(r,t)}),printDocToString:rv(function(e,t){return Ia(e,Oa(t))})}}},e.exports=r()}}]); \ No newline at end of file diff --git a/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/2-es2018.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/2-es2018.js new file mode 100644 index 00000000..29d300dc --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/2-es2018.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{FdwT:function(t,o,r){"use strict";function e(t){if(t>=0&&t<64)return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[t]}t.exports=function(t){let o;for(t=`${t}`,o=0;o255)return null;let r="";for(o=0;o>2,n[1]=(3&t.charCodeAt(o))<<4,t.length>o+1&&(n[1]|=t.charCodeAt(o+1)>>4,n[2]=(15&t.charCodeAt(o+1))<<2),t.length>o+2&&(n[2]|=t.charCodeAt(o+2)>>6,n[3]=63&t.charCodeAt(o+2));for(let t=0;t>16),o+=String.fromCharCode((65280&r)>>8),o+=String.fromCharCode(255&r),r=n=0);return 12===n?(r>>=4,o+=String.fromCharCode(r)):18===n&&(r>>=2,o+=String.fromCharCode((65280&r)>>8),o+=String.fromCharCode(255&r)),o}},YC0g:function(t,o,r){"use strict";const e=r("TgTo"),n=r("FdwT");t.exports={atob:e,btoa:n}}}]); \ No newline at end of file diff --git a/altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/3rdpartylicenses.txt b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/3rdpartylicenses.txt similarity index 100% rename from altair-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/3rdpartylicenses.txt rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/3rdpartylicenses.txt diff --git a/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/7-es2018.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/7-es2018.js new file mode 100644 index 00000000..653526f7 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/7-es2018.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{"+OK2":function(e,t,r){var n=r("oGmC");function i(e,t){this.hash=new e,this.outer=new e;var r=function(e,t){var r=n.convertToBuffer(t);if(r.byteLength>e.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var o=new Uint8Array(e.BLOCK_SIZE);return o.set(r),o}(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var o=0;o0&&this._events[e].length>s&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.once=function(e,t){if(!n(t))throw TypeError("listener must be a function");var r=!1;function i(){this.removeListener(e,i),r||(r=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},r.prototype.removeListener=function(e,t){var r,o,s,a;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(r=this._events[e]).length,o=-1,r===t||n(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(r)){for(a=s;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){o=a;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},"0JXb":function(e){e.exports=JSON.parse('{"version":"2.0","metadata":{"apiVersion":"2014-06-30","endpointPrefix":"cognito-identity","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Cognito Identity","serviceId":"Cognito Identity","signatureVersion":"v4","targetPrefix":"AWSCognitoIdentityService","uid":"cognito-identity-2014-06-30"},"operations":{"CreateIdentityPool":{"input":{"type":"structure","required":["IdentityPoolName","AllowUnauthenticatedIdentities"],"members":{"IdentityPoolName":{},"AllowUnauthenticatedIdentities":{"type":"boolean"},"AllowClassicFlow":{"type":"boolean"},"SupportedLoginProviders":{"shape":"S5"},"DeveloperProviderName":{},"OpenIdConnectProviderARNs":{"shape":"S9"},"CognitoIdentityProviders":{"shape":"Sb"},"SamlProviderARNs":{"shape":"Sg"},"IdentityPoolTags":{"shape":"Sh"}}},"output":{"shape":"Sk"}},"DeleteIdentities":{"input":{"type":"structure","required":["IdentityIdsToDelete"],"members":{"IdentityIdsToDelete":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"UnprocessedIdentityIds":{"type":"list","member":{"type":"structure","members":{"IdentityId":{},"ErrorCode":{}}}}}}},"DeleteIdentityPool":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}}},"DescribeIdentity":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{}}},"output":{"shape":"Sv"}},"DescribeIdentityPool":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}},"output":{"shape":"Sk"}},"GetCredentialsForIdentity":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{},"Logins":{"shape":"S10"},"CustomRoleArn":{}}},"output":{"type":"structure","members":{"IdentityId":{},"Credentials":{"type":"structure","members":{"AccessKeyId":{},"SecretKey":{},"SessionToken":{},"Expiration":{"type":"timestamp"}}}}}},"GetId":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"AccountId":{},"IdentityPoolId":{},"Logins":{"shape":"S10"}}},"output":{"type":"structure","members":{"IdentityId":{}}}},"GetIdentityPoolRoles":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"Roles":{"shape":"S1c"},"RoleMappings":{"shape":"S1e"}}}},"GetOpenIdToken":{"input":{"type":"structure","required":["IdentityId"],"members":{"IdentityId":{},"Logins":{"shape":"S10"}}},"output":{"type":"structure","members":{"IdentityId":{},"Token":{}}}},"GetOpenIdTokenForDeveloperIdentity":{"input":{"type":"structure","required":["IdentityPoolId","Logins"],"members":{"IdentityPoolId":{},"IdentityId":{},"Logins":{"shape":"S10"},"TokenDuration":{"type":"long"}}},"output":{"type":"structure","members":{"IdentityId":{},"Token":{}}}},"ListIdentities":{"input":{"type":"structure","required":["IdentityPoolId","MaxResults"],"members":{"IdentityPoolId":{},"MaxResults":{"type":"integer"},"NextToken":{},"HideDisabled":{"type":"boolean"}}},"output":{"type":"structure","members":{"IdentityPoolId":{},"Identities":{"type":"list","member":{"shape":"Sv"}},"NextToken":{}}}},"ListIdentityPools":{"input":{"type":"structure","required":["MaxResults"],"members":{"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IdentityPools":{"type":"list","member":{"type":"structure","members":{"IdentityPoolId":{},"IdentityPoolName":{}}}},"NextToken":{}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sh"}}}},"LookupDeveloperIdentity":{"input":{"type":"structure","required":["IdentityPoolId"],"members":{"IdentityPoolId":{},"IdentityId":{},"DeveloperUserIdentifier":{},"MaxResults":{"type":"integer"},"NextToken":{}}},"output":{"type":"structure","members":{"IdentityId":{},"DeveloperUserIdentifierList":{"type":"list","member":{}},"NextToken":{}}}},"MergeDeveloperIdentities":{"input":{"type":"structure","required":["SourceUserIdentifier","DestinationUserIdentifier","DeveloperProviderName","IdentityPoolId"],"members":{"SourceUserIdentifier":{},"DestinationUserIdentifier":{},"DeveloperProviderName":{},"IdentityPoolId":{}}},"output":{"type":"structure","members":{"IdentityId":{}}}},"SetIdentityPoolRoles":{"input":{"type":"structure","required":["IdentityPoolId","Roles"],"members":{"IdentityPoolId":{},"Roles":{"shape":"S1c"},"RoleMappings":{"shape":"S1e"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Sh"}}},"output":{"type":"structure","members":{}}},"UnlinkDeveloperIdentity":{"input":{"type":"structure","required":["IdentityId","IdentityPoolId","DeveloperProviderName","DeveloperUserIdentifier"],"members":{"IdentityId":{},"IdentityPoolId":{},"DeveloperProviderName":{},"DeveloperUserIdentifier":{}}}},"UnlinkIdentity":{"input":{"type":"structure","required":["IdentityId","Logins","LoginsToRemove"],"members":{"IdentityId":{},"Logins":{"shape":"S10"},"LoginsToRemove":{"shape":"Sw"}}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateIdentityPool":{"input":{"shape":"Sk"},"output":{"shape":"Sk"}}},"shapes":{"S5":{"type":"map","key":{},"value":{}},"S9":{"type":"list","member":{}},"Sb":{"type":"list","member":{"type":"structure","members":{"ProviderName":{},"ClientId":{},"ServerSideTokenCheck":{"type":"boolean"}}}},"Sg":{"type":"list","member":{}},"Sh":{"type":"map","key":{},"value":{}},"Sk":{"type":"structure","required":["IdentityPoolId","IdentityPoolName","AllowUnauthenticatedIdentities"],"members":{"IdentityPoolId":{},"IdentityPoolName":{},"AllowUnauthenticatedIdentities":{"type":"boolean"},"AllowClassicFlow":{"type":"boolean"},"SupportedLoginProviders":{"shape":"S5"},"DeveloperProviderName":{},"OpenIdConnectProviderARNs":{"shape":"S9"},"CognitoIdentityProviders":{"shape":"Sb"},"SamlProviderARNs":{"shape":"Sg"},"IdentityPoolTags":{"shape":"Sh"}}},"Sv":{"type":"structure","members":{"IdentityId":{},"Logins":{"shape":"Sw"},"CreationDate":{"type":"timestamp"},"LastModifiedDate":{"type":"timestamp"}}},"Sw":{"type":"list","member":{}},"S10":{"type":"map","key":{},"value":{}},"S1c":{"type":"map","key":{},"value":{}},"S1e":{"type":"map","key":{},"value":{"type":"structure","required":["Type"],"members":{"Type":{},"AmbiguousRoleResolution":{},"RulesConfiguration":{"type":"structure","required":["Rules"],"members":{"Rules":{"type":"list","member":{"type":"structure","required":["Claim","MatchType","Value","RoleARN"],"members":{"Claim":{},"MatchType":{},"Value":{},"RoleARN":{}}}}}}}}}}}')},"1gqn":function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},"1hEp":function(e,t,r){"use strict";r.d(t,"a",function(){return o});var n=r("rBIN"),i=r("H8+m"),o=function(){function e(){this.getFragmentDoc=Object(n.c)(i.o)}return e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:this.getFragmentDoc(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){return this.write({dataId:e.id||"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables,broadcast:e.broadcast})},e.prototype.writeFragment=function(e){return this.write({dataId:e.id,result:e.data,variables:e.variables,query:this.getFragmentDoc(e.fragment,e.fragmentName),broadcast:e.broadcast})},e}()},"1vLn":function(e,t,r){var n=r("nyFZ"),i=r("BaN1"),o=i.property,s=i.memoizedProperty;e.exports=function(e,t,r){var i=this;r=r||{},o(this,"name",t.name||e),o(this,"api",r.api,!1),t.http=t.http||{},o(this,"endpoint",t.endpoint),o(this,"httpMethod",t.http.method||"POST"),o(this,"httpPath",t.http.requestUri||"/"),o(this,"authtype",t.authtype||""),o(this,"endpointDiscoveryRequired",t.endpointdiscovery?t.endpointdiscovery.required?"REQUIRED":"OPTIONAL":"NULL"),s(this,"input",function(){return t.input?n.create(t.input,r):new n.create({type:"structure"},r)}),s(this,"output",function(){return t.output?n.create(t.output,r):new n.create({type:"structure"},r)}),s(this,"errors",function(){var e=[];if(!t.errors)return null;for(var i=0;i0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e)&&r}}(r))}},"3S/s":function(e,t,r){"use strict";r.d(t,"a",function(){return f});var n,i=r("zC+P"),o=r("qVdT"),s=r("H8+m"),a=r("ALFg");function u(e,t){return t?t(e):s.c.of()}function c(e){return"function"==typeof e?new f(e):e}function l(e){return e.request.length<=1}n=Error,Object(i.c)(function(e,t){var r=n.call(this,e)||this;return r.link=t,r},n);var f=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return s.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=c(r),o=c(n||new e(u));return l(i)&&l(o)?new e(function(e){return t(e)?i.request(e)||s.c.of():o.request(e)||s.c.of()}):new e(function(e,r){return t(e)?i.request(e,r)||s.c.of():o.request(e,r)||s.c.of()})},e.execute=function(e,t){return e.request(Object(a.a)(t.context,Object(a.f)(Object(a.g)(t))))||s.c.of()},e.concat=function(t,r){var n=c(t);if(l(n))return n;var i=c(r);return l(i)?new e(function(e){return n.request(e,function(e){return i.request(e)||s.c.of()})||s.c.of()}):new e(function(e,t){return n.request(e,function(e){return i.request(e,t)||s.c.of()})||s.c.of()})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(u)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw new o.a(21)},e.prototype.onError=function(e){throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},"3uhI":function(e,t,r){var n=r("BaN1"),i=r("hROZ");function o(e,t){n.each(t,function(t,r){"globalEndpoint"!==t&&null==e.config[t]&&(e.config[t]=r)})}e.exports={configureEndpoint:function(e){for(var t=function(e){var t=e.config.region,r=function(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}(t),n=e.api.endpointPrefix;return[[t,n],[r,n],[t,"*"],[r,"*"],["*",n],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}(e),r=0;rthis.expireTime)||this.expired||!this.accessKeyId||!this.secretAccessKey},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){n.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):n.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),n.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=n.util.promisifyMethod("get",e),this.prototype.refreshPromise=n.util.promisifyMethod("refresh",e)},n.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},n.util.addPromises(n.Credentials)},"8ocP":function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0})),n.topicObservers.forEach(function(e){return e.delete(t)}),n.topicObservers=new Map(Array.from(n.topicObservers).filter(function(e){return e[1].size>0}))}}).filter(function(e){var t=e.extensions,r=(void 0===t?{}:t).controlMsgType;return!0===f||!(void 0!==(void 0===r?void 0:r))})},r.prototype.connectNewClients=function(e,t,r){return s(this,void 0,void 0,function(){var n,i,o,s=this;return a(this,function(a){return n=h.getMainDefinition(r.query).selectionSet.selections.map(function(e){return e.name.value}),i=Promise.all(e.map(function(e){return s.connectNewClient(e,t,n)})),o=n.reduce(function(e,t){return e[t]=e[t]||null,e},{}),t.next({data:o,extensions:{controlMsgType:"CONNECTED",controlMsgInfo:{connectionInfo:e}}}),[2,i]})})},r.prototype.connectNewClient=function(e,t,r){return s(this,void 0,void 0,function(){var n,i,s,c,l=this;return a(this,function(a){switch(a.label){case 0:return s=e.topics,(c=new f.Client(i=e.url,n=e.client)).trace=d.bind(null,n),c.onConnectionLost=function(e){var t=e.errorCode,r=u(e,["errorCode"]);0!==t&&s.forEach(function(e){l.topicObservers.has(e)&&l.topicObservers.get(e).forEach(function(e){return e.error(o(o({},r),{permanent:!0}))})}),s.forEach(function(e){return l.topicObservers.delete(e)})},c.onMessageArrived=function(e){return l.onMessage(e.destinationName,e.payloadString,r)},[4,new Promise(function(e,t){c.connect({useSSL:0===i.indexOf("wss://"),mqttVersion:3,onSuccess:function(){return e(c)},onFailure:t})})];case 1:return a.sent(),[4,this.subscribeToTopics(c,s,t)];case 2:return a.sent(),[2,c]}})})},r.prototype.subscribeToTopics=function(e,t,r){var n=this;return Promise.all(t.map(function(t){return n.subscribeToTopic(e,t,r)}))},r.prototype.subscribeToTopic=function(e,t,r){var n=this;return new Promise(function(i,o){e.subscribe(t,{onSuccess:function(){n.topicObservers.has(t)||n.topicObservers.set(t,new Set),n.clientObservers.has(e.clientId)||n.clientObservers.set(e.clientId,{client:e,observers:new Set}),n.topicObservers.get(t).add(r),n.clientObservers.get(e.clientId).observers.add(r),i(t)},onFailure:o})})},r}(c.ApolloLink);t.SubscriptionHandshakeLink=v},"9Gqe":function(e,t,r){var n=r("BaN1"),i=r("KFai"),o=r("BGYI"),s=r("JWCV"),a=r("henJ");function u(e,t){e.httpRequest.headers["Content-Type"]||(e.httpRequest.headers["Content-Type"]=t?"binary/octet-stream":"application/json")}e.exports={buildRequest:function(e){i.buildRequest(e),["HEAD","DELETE"].indexOf(e.httpRequest.method)<0&&function(e){var t=new s,r=e.service.api.operations[e.operation].input;if(r.payload){var n,i=r.members[r.payload];if(void 0===(n=e.params[r.payload]))return;"structure"===i.type?(e.httpRequest.body=t.build(n,i),u(e)):(e.httpRequest.body=n,("binary"===i.type||i.isStreaming)&&u(e,!0))}else{var o=t.build(e.params,r);"{}"===o&&"GET"===e.httpRequest.method||(e.httpRequest.body=o),u(e)}}(e)},extractError:function(e){o.extractError(e)},extractData:function(e){i.extractData(e);var t=e.request,r=t.service.api.operations[t.operation].output||{};if(r.payload){var s=r.members[r.payload],u=e.httpResponse.body;if(s.isEventStream)c=new a,e.data[payload]=n.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:u,c,s);else if("structure"===s.type||"list"===s.type){var c=new a;e.data[r.payload]=c.parse(u,s)}else e.data[r.payload]="binary"===s.type||s.isStreaming?u:s.toType(u)}else{var l=e.data;o.extractData(e),e.data=n.merge(l,e.data)}}}},"9x6x":function(e,t,r){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(r=t.cmp,function(e){return function(t,n){return r({key:t,value:e[t]},{key:n,value:e[n]})}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,s;if(Array.isArray(t)){for(s="[",r=0;r0},t.prototype.tearDownQuery=function(){var e=this.queryManager;this.reobserver&&(this.reobserver.stop(),delete this.reobserver),this.isTornDown=!0,this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),e.stopQuery(this.queryId),this.observers.clear()},t}(a.c);function l(e){}},B0QO:function(e,t,r){var n=r("QsWE");n.Signers.RequestSigner=(0,n.util.inherit)({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),n.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return n.Signers.V2;case"v3":return n.Signers.V3;case"s3v4":case"v4":return n.Signers.V4;case"s3":return n.Signers.S3;case"v3https":return n.Signers.V3Https}throw new Error("Unknown signing version "+e)},r("D8LC"),r("N2+Z"),r("VNF9"),r("KIbX"),r("SysZ"),r("F442")},BGYI:function(e,t,r){var n=r("BaN1"),i=r("JWCV"),o=r("henJ"),s=r("lSFX").populateHostPrefix;e.exports={buildRequest:function(e){var t=e.httpRequest,r=e.service.api,n=r.targetPrefix+"."+r.operations[e.operation].name,o=r.jsonVersion||"1.0",a=r.operations[e.operation].input,u=new i;1===o&&(o="1.0"),t.body=u.build(e.params||{},a),t.headers["Content-Type"]="application/x-amz-json-"+o,t.headers["X-Amz-Target"]=n,s(e)},extractError:function(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var i=JSON.parse(r.body.toString()),o=i.__type||i.code||i.Code;o&&(t.code=o.split("#").pop()),t.message="RequestEntityTooLarge"===t.code?"Request body must be less than 1 MB":i.message||i.Message||null}catch(i){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=n.error(new Error,t)},extractData:function(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation].output||{},n=new o;e.data=n.parse(t,r)}}}},BaN1:function(e,t,r){var n,i={environment:"nodejs",engine:function(){if(i.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=process.platform+"/"+process.version;return process.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+process.env.AWS_EXECUTION_ENV),e},userAgent:function(){var e=i.environment,t="aws-sdk-"+e+"/"+r("QsWE").VERSION;return"nodejs"===e&&(t+=" "+i.engine()),t},uriEscape:function(e){var t=encodeURIComponent(e);return(t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape)).replace(/[*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return i.arrayEach(e.split("/"),function(e){t.push(i.uriEscape(e))}),t.join("/")},urlParse:function(e){return i.url.parse(e)},urlFormat:function(e){return i.url.format(e)},queryStringParse:function(e){return i.querystring.parse(e)},queryParamsToString:function(e){var t=[],r=i.uriEscape,n=Object.keys(e).sort();return i.arrayEach(n,function(n){var o=e[n],s=r(n),a=s+"=";if(Array.isArray(o)){var u=[];i.arrayEach(o,function(e){u.push(r(e))}),a=s+"="+u.sort().join("&"+s+"=")}else null!=o&&(a=s+"="+r(o));t.push(a)}),t.join("&")},readFileSync:function(e){return i.isBrowser()?null:r(4).readFileSync(e,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw i.error(new Error("Cannot base64 encode number "+e));return null==e?e:i.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"==typeof e)throw i.error(new Error("Cannot base64 decode number "+e));return null==e?e:i.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"==typeof i.Buffer.from&&i.Buffer.from!==Uint8Array.from?i.Buffer.from(e,t):new i.Buffer(e,t)},alloc:function(e,t,r){if("number"!=typeof e)throw new Error("size passed to alloc must be a number.");if("function"==typeof i.Buffer.alloc)return i.Buffer.alloc(e,t,r);var n=new i.Buffer(e);return void 0!==t&&"function"==typeof n.fill&&n.fill(t,void 0,void 0,r),n},toStream:function(e){i.Buffer.isBuffer(e)||(e=i.buffer.toBuffer(e));var t=new i.stream.Readable,r=0;return t._read=function(n){if(r>=e.length)return t.push(null);var i=r+n;i>e.length&&(i=e.length),t.push(e.slice(r,i)),r=i},t},concat:function(e){var t,r,n=0,o=0;for(r=0;r>>8^t[255&(r^e.readUInt8(n))];return(-1^r)>>>0},hmac:function(e,t,r,n){return r||(r="binary"),"buffer"===r&&(r=void 0),n||(n="sha256"),"string"==typeof t&&(t=i.buffer.toBuffer(t)),i.crypto.lib.createHmac(n,e).update(t).digest(r)},md5:function(e,t,r){return i.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return i.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,n){var o=i.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=i.buffer.toBuffer(t));var s=i.arraySliceFn(t),a=i.Buffer.isBuffer(t);if(i.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(a=!0),n&&"object"==typeof t&&"function"==typeof t.on&&!a)t.on("data",function(e){o.update(e)}),t.on("error",function(e){n(e)}),t.on("end",function(){n(null,o.digest(r))});else{if(!n||!s||a||"undefined"==typeof FileReader){i.isBrowser()&&"object"==typeof t&&!a&&(t=new i.Buffer(new Uint8Array(t)));var u=o.update(t).digest(r);return n&&n(null,u),u}var c=0,l=new FileReader;l.onerror=function(){n(new Error("Failed to read data."))},l.onload=function(){var e=new i.Buffer(new Uint8Array(l.result));o.update(e),c+=e.length,l._continueReading()},l._continueReading=function(){if(c>=t.size)n(null,o.digest(r));else{var e=c+524288;e>t.size&&(e=t.size),l.readAsArrayBuffer(s.call(t,c,e))}},l._continueReading()}},toHex:function(e){for(var t=[],r=0;r=3e5,!1),n.config.isClockSkewed},applyClockOffset:function(e){e&&(n.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromises:function(e,t){var r=!1;void 0===t&&n&&n.config&&(t=n.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t&&(r=!0),Array.isArray(e)||(e=[e]);for(var i=0;i=0)return a++,void setTimeout(c,o+(e.retryAfter||0))}r(e)},c=function(){var t="";o.handleRequest(e,s,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var n=e.statusCode;if(n<300)r(null,t);else{var o=1e3*parseInt(e.headers["retry-after"],10)||0,s=i.error(new Error,{statusCode:n,retryable:n>=500||429===n});o&&s.retryable&&(s.retryAfter=o),u(s)}})},u)};n.util.defer(c)},uuid:{v4:function(){return r("nXTE").v4()}},convertPayloadToString:function(e){var t=e.request,r=t.service.api.operations[t.operation].output||{};r.payload&&e.data[r.payload]&&(e.data[r.payload]=e.data[r.payload].toString())},defer:function(e){"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick(e):"function"==typeof setImmediate?setImmediate(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var r=(t||{})[e.operation];if(r&&r.input&&r.input.payload)return r.input.members[r.input.payload]}},getProfilesFromSharedConfig:function(e,t){var r={},n={};process.env[i.configOptInEnv]&&(n=e.loadFrom({isConfig:!0,filename:process.env[i.sharedConfigFileEnv]}));var o={};try{o=e.loadFrom({filename:t||process.env[i.configOptInEnv]&&process.env[i.sharedCredentialsFileEnv]})}catch(c){if(!process.env[i.configOptInEnv])throw c}for(var s=0,a=Object.keys(n);s=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw i.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};e.exports=i},Bdln:function(e,t,r){"use strict";r.r(t);var n=r("iVAA");r.d(t,"empty",function(){return n.a});var i=r("rRc3");r.d(t,"from",function(){return i.a});var o=r("Majm");r.d(t,"split",function(){return o.a});var s=r("Tud2");r.d(t,"concat",function(){return s.a});var a=r("UK3C");r.d(t,"execute",function(){return a.a});var u=r("3S/s");r.d(t,"ApolloLink",function(){return u.a});var c=r("lwRX");for(var l in c)["default","empty","from","split","concat","execute","ApolloLink"].indexOf(l)<0&&function(e){r.d(t,e,function(){return c[e]})}(l)},Bu0L:function(e,t,r){"use strict";r.d(t,"f",function(){return o}),r.d(t,"j",function(){return a}),r.d(t,"e",function(){return l}),r.d(t,"h",function(){return f}),r.d(t,"b",function(){return h}),r.d(t,"d",function(){return p}),r.d(t,"i",function(){return d}),r.d(t,"c",function(){return g}),r.d(t,"a",function(){return b}),r.d(t,"g",function(){return m});var n=r("ALFg"),i=Object.prototype.hasOwnProperty;function o(e){return function(t){return t.text().then(function(e){try{return JSON.parse(e)}catch(n){var r=n;throw r.name="ServerParseError",r.response=t,r.statusCode=t.status,r.bodyText=e,r}}).then(function(r){return t.status>=300&&Object(n.d)(t,r,"Response not successful: Received status code "+t.status),Array.isArray(r)||i.call(r,"data")||i.call(r,"errors")||Object(n.d)(t,r,"Server response was missing for query '"+(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName)+"'."),r})}}var s=r("qVdT"),a=function(e,t){var r;try{r=JSON.stringify(e)}catch(i){var n=new s.a(23);throw n.parseError=i,n}return r},u=r("zC+P"),c=r("dQau"),l={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},f=function(e,t){for(var r=[],n=2;n":!0,"=":!0,"!":!0},l={" ":!0,"\t":!0,"\n":!0};function f(e){return e>="0"&&e<="9"||"-"===e}function h(){}h.prototype={tokenize:function(e){var t,r,n,i,o=[];for(this._current=0;this._current="a"&&i<="z"||i>="A"&&i<="Z"||"_"===i)t=this._current,r=this._consumeUnquotedIdentifier(e),o.push({type:"UnquotedIdentifier",value:r,start:t});else if(void 0!==u[e[this._current]])o.push({type:u[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(f(e[this._current]))n=this._consumeNumber(e),o.push(n);else if("["===e[this._current])n=this._consumeLBracket(e),o.push(n);else if('"'===e[this._current])t=this._current,r=this._consumeQuotedIdentifier(e),o.push({type:"QuotedIdentifier",value:r,start:t});else if("'"===e[this._current])t=this._current,r=this._consumeRawStringLiteral(e),o.push({type:"Literal",value:r,start:t});else if("`"===e[this._current]){t=this._current;var s=this._consumeLiteral(e);o.push({type:"Literal",value:s,start:t})}else if(void 0!==c[e[this._current]])o.push(this._consumeOperator(e));else if(void 0!==l[e[this._current]])this._current++;else if("&"===e[this._current])t=this._current,this._current++,"&"===e[this._current]?(this._current++,o.push({type:"And",value:"&&",start:t})):o.push({type:"Expref",value:"&",start:t});else{if("|"!==e[this._current]){var a=new Error("Unknown character:"+e[this._current]);throw a.name="LexerError",a}t=this._current,this._current++,"|"===e[this._current]?(this._current++,o.push({type:"Or",value:"||",start:t})):o.push({type:"Pipe",value:"|",start:t})}return o},_consumeUnquotedIdentifier:function(e){var t,r=this._current;for(this._current++;this._current="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"_"===t);)this._current++;return e.slice(r,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var r=e.length;'"'!==e[this._current]&&this._current"===r?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,n=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(["true","false","null"].indexOf(e)>=0)return!0;if(!("-0123456789".indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(t){return!1}}};var p={};function d(){}function v(e){this.runtime=e}function y(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[s]}]},avg:{_func:this._functionAvg,_signature:[{types:[8]}]},ceil:{_func:this._functionCeil,_signature:[{types:[s]}]},contains:{_func:this._functionContains,_signature:[{types:[a,3]},{types:[1]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[a]},{types:[a]}]},floor:{_func:this._functionFloor,_signature:[{types:[s]}]},length:{_func:this._functionLength,_signature:[{types:[a,3,4]}]},map:{_func:this._functionMap,_signature:[{types:[6]},{types:[3]}]},max:{_func:this._functionMax,_signature:[{types:[8,9]}]},merge:{_func:this._functionMerge,_signature:[{types:[4],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[3]},{types:[6]}]},sum:{_func:this._functionSum,_signature:[{types:[8]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[a]},{types:[a]}]},min:{_func:this._functionMin,_signature:[{types:[8,9]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[3]},{types:[6]}]},type:{_func:this._functionType,_signature:[{types:[1]}]},keys:{_func:this._functionKeys,_signature:[{types:[4]}]},values:{_func:this._functionValues,_signature:[{types:[4]}]},sort:{_func:this._functionSort,_signature:[{types:[9,8]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[3]},{types:[6]}]},join:{_func:this._functionJoin,_signature:[{types:[a]},{types:[9]}]},reverse:{_func:this._functionReverse,_signature:[{types:[a,3]}]},to_array:{_func:this._functionToArray,_signature:[{types:[1]}]},to_string:{_func:this._functionToString,_signature:[{types:[1]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[1]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[1],variadic:!0}]}}}p.EOF=0,p.UnquotedIdentifier=0,p.QuotedIdentifier=0,p.Rbracket=0,p.Rparen=0,p.Comma=0,p.Rbrace=0,p.Number=0,p.Current=0,p.Expref=0,p.Pipe=1,p.Or=2,p.And=3,p.EQ=5,p.GT=5,p.LT=5,p.GTE=5,p.LTE=5,p.NE=5,p.Flatten=9,p.Star=20,p.Filter=21,p.Dot=40,p.Not=45,p.Lbrace=50,p.Lbracket=55,p.Lparen=60,d.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw n.name="ParserError",n}return t},_loadTokens:function(e){var t=(new h).tokenize(e);t.push({type:"EOF",value:"",start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),n=this._lookahead(0);e=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(p[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw n.name="ParserError",n}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,n=[],i=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),i.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),r=this.expression(0),n.push({type:"KeyValuePair",name:t,value:r}),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:n}}},v.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var s,a,u,c,l,f,h,p,d;switch(e.type){case"Field":return null===o?null:r(o)?void 0===(f=o[e.name])?null:f:null;case"Subexpression":for(u=this.visit(e.children[0],o),d=1;d0)for(d=g;db;d+=w)u.push(o[d]);return u;case"Projection":var S=this.visit(e.children[0],o);if(!t(S))return null;for(p=[],d=0;dl;break;case"GTE":u=c>=l;break;case"LT":u=c=e&&(t=r<0?e-1:e),t}},y.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var n,i,o,s;if(r[r.length-1].variadic){if(t.length=0;n--)r+=t[n];return r}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],n=0;n=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,n=e[0],i=e[1],o=0;o0){if(this._getTypeName(e[0][0])===s)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;n0){if(this._getTypeName(e[0][0])===s)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;na?1:so&&(o=r,t=n[u]);return t},_functionMinBy:function(e){for(var t,r,n=e[0],i=this.createKeyFunction(e[1],[s,a]),o=1/0,u=0;u",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),h=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=r("r8II");function b(e,t,r){if(e&&i.isObject(e)&&e instanceof o)return e;var n=new o;return n.parse(e,t,r),n}o.prototype.parse=function(e,t,r){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?P+="x":P+=j[N];if(!P.match(p)){var M=I.slice(0,A),L=I.slice(A+1),D=j.match(d);D&&(M.push(D[1]),L.unshift(D[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=M.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),T||(this.hostname=n.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!v[E])for(A=0,x=l.length;A0)&&r.host.split("@"))&&(r.auth=A.shift(),r.host=r.hostname=A.shift())),r.search=e.search,r.query=e.query,i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!S.length)return r.pathname=null,r.path=r.search?"/"+r.search:null,r.href=r.format(),r;for(var O=S.slice(-1)[0],_=(r.host||e.host||S.length>1)&&("."===O||".."===O)||""===O,k=0,C=S.length;C>=0;C--)"."===(O=S[C])?S.splice(C,1):".."===O?(S.splice(C,1),k++):k&&(S.splice(C,1),k--);if(!b&&!w)for(;k--;k)S.unshift("..");!b||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),_&&"/"!==S.join("/").substr(-1)&&S.push("");var A,R=""===S[0]||S[0]&&"/"===S[0].charAt(0);return E&&(r.hostname=r.host=R?"":S.length?S.shift():"",(A=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=A.shift(),r.host=r.hostname=A.shift())),(b=b||r.host&&S.length)&&!R&&S.unshift(""),S.length?r.pathname=S.join("/"):(r.pathname=null,r.path=null),i.isNull(r.pathname)&&i.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},D7Dc:function(e,t,r){"use strict";(function(e){var t,n=r("bTyh");t="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:e,Object(n.a)(t)}).call(this,r("3UD+")(e))},D8LC:function(e,t,r){var n=r("QsWE");n.Signers.V2=(0,n.util.inherit)(n.Signers.RequestSigner,{addAuthorization:function(e,t){t||(t=n.util.date.getDate());var r=this.request;r.params.Timestamp=n.util.date.iso8601(t),r.params.SignatureVersion="2",r.params.SignatureMethod="HmacSHA256",r.params.AWSAccessKeyId=e.accessKeyId,e.sessionToken&&(r.params.SecurityToken=e.sessionToken),delete r.params.Signature,r.params.Signature=this.signature(e),r.body=n.util.queryParamsToString(r.params),r.headers["Content-Length"]=r.body.length},signature:function(e){return n.util.crypto.hmac(e.secretAccessKey,this.stringToSign(),"base64")},stringToSign:function(){var e=[];return e.push(this.request.method),e.push(this.request.endpoint.host.toLowerCase()),e.push(this.request.pathname()),e.push(n.util.queryParamsToString(this.request.params)),e.join("\n")}}),e.exports=n.Signers.V2},EcEN:function(e,t,r){var n=r("xDdU"),i=r("xk4V"),o=i;o.v1=n,o.v4=i,e.exports=o},EuLz:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("hEW/");t.EndpointCache=function(){function e(e){void 0===e&&(e=1e3),this.maxSize=e,this.cache=new n.LRUCache(e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,r){var n="string"!=typeof t?e.getKeyString(t):t,i=this.populateValue(r);this.cache.put(n,i)},e.prototype.get=function(t){var r="string"!=typeof t?e.getKeyString(t):t,n=Date.now(),i=this.cache.get(r);if(i)for(var o=0;o604800)throw n.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1});e.httpRequest.headers[i]=t}else{if(r!==n.Signers.S3)throw n.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var o=e.service?e.service.getSkewCorrectedDate():n.util.date.getDate();e.httpRequest.headers[i]=parseInt(n.util.date.unixTimestamp(o)+t,10).toString()}}function s(e){var t=e.httpRequest.endpoint,r=n.util.urlParse(e.httpRequest.path),o={};r.search&&(o=n.util.queryStringParse(r.search.substr(1)));var s=e.httpRequest.headers.Authorization.split(" ");if("AWS"===s[0])s=s[1].split(":"),o.Signature=s.pop(),o.AWSAccessKeyId=s.join(":"),n.util.each(e.httpRequest.headers,function(e,t){e===i&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete o[e],e=e.toLowerCase()),o[e]=t}),delete e.httpRequest.headers[i],delete o.Authorization,delete o.Host;else if("AWS4-HMAC-SHA256"===s[0]){s.shift();var a=s.join(" ").match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];o["X-Amz-Signature"]=a,delete o.Expires}t.pathname=r.pathname,t.search=n.util.queryParamsToString(o)}n.Signers.Presign=(0,n.util.inherit)({sign:function(e,t,r){if(e.httpRequest.headers[i]=t||3600,e.on("build",o),e.on("sign",s),e.removeListener("afterBuild",n.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",n.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return n.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,n.util.urlFormat(e.httpRequest.endpoint))})}}),e.exports=n.Signers.Presign},FGtl:function(e,t,r){var n=r("QsWE"),i={},o=[],s="aws4_request";e.exports={createScope:function(e,t,r){return[e.substr(0,8),t,r,s].join("/")},getSigningKey:function(e,t,r,a,u){var c=[n.util.crypto.hmac(e.secretAccessKey,e.accessKeyId,"base64"),t,r,a].join("_");if((u=!1!==u)&&c in i)return i[c];var l=n.util.crypto.hmac("AWS4"+e.secretAccessKey,t,"buffer"),f=n.util.crypto.hmac(l,r,"buffer"),h=n.util.crypto.hmac(f,a,"buffer"),p=n.util.crypto.hmac(h,s,"buffer");return u&&(i[c]=p,o.push(c),o.length>50&&delete i[o.shift()]),p},emptyCache:function(){i={},o=[]}}},FPnC:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?s-4:s;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===a&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===a&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],s=0,a=r-i;sa?a:s+16383));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var i,o=[],s=t;s>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"H8+m":function(e,t,r){"use strict";r.d(t,"K",function(){return o}),r.d(t,"x",function(){return s}),r.d(t,"w",function(){return a}),r.d(t,"k",function(){return l}),r.d(t,"o",function(){return c}),r.d(t,"n",function(){return f}),r.d(t,"q",function(){return C}),r.d(t,"r",function(){return A}),r.d(t,"m",function(){return R}),r.d(t,"s",function(){return T}),r.d(t,"p",function(){return I}),r.d(t,"l",function(){return x}),r.d(t,"D",function(){return d}),r.d(t,"B",function(){return v}),r.d(t,"y",function(){return O}),r.d(t,"z",function(){return _}),r.d(t,"L",function(){return m}),r.d(t,"e",function(){return w}),r.d(t,"J",function(){return S}),r.d(t,"t",function(){return b}),r.d(t,"u",function(){return E}),r.d(t,"d",function(){return D}),r.d(t,"g",function(){return B}),r.d(t,"I",function(){return U}),r.d(t,"H",function(){return Q}),r.d(t,"c",function(){return H.a}),r.d(t,"F",function(){return K}),r.d(t,"G",function(){return G}),r.d(t,"b",function(){return X}),r.d(t,"i",function(){return $}),r.d(t,"E",function(){return te}),r.d(t,"C",function(){return re}),r.d(t,"f",function(){return ne}),r.d(t,"a",function(){return oe}),r.d(t,"A",function(){return se}),r.d(t,"v",function(){return ae}),r.d(t,"h",function(){return ue}),r.d(t,"j",function(){return ce});var n=r("L2ys"),i=r("qVdT");function o(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];return e&&e.length&&e.forEach(function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments;Object(i.b)(r&&1===r.length,39);var n=r[0];Object(i.b)(n.name&&"if"===n.name.value,40);var o=n.value;Object(i.b)(o&&("Variable"===o.kind||"BooleanValue"===o.kind),41),t.push({directive:e,ifArgument:n})}}),t}(r).every(function(e){var r=e.directive,n=e.ifArgument,o=!1;return"Variable"===n.value.kind?(o=t&&t[n.value.name.value],Object(i.b)(void 0!==o,38)):o=n.value.value,"skip"===r.name.value?!o:o})}function s(e,t){return function(e){var t=[];return Object(n.c)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some(function(t){return e.indexOf(t)>-1})}function a(e){return e&&s(["client"],e)&&s(["export"],e)}var u=r("zC+P");function c(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new i.a(42);"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&(Object(i.b)(1===n.length,43),r=n[0].name.value),Object(u.a)(Object(u.a)({},e),{definitions:Object(u.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions)})}function l(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function f(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=t&&t[e.name.value];return Object(i.b)(r,44),r;default:return null}}var h=r("9x6x"),p=r.n(h);function d(e){return{__ref:String(e)}}function v(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function y(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map(function(e){return y(o,e.name,e.value,n)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r))e[t.value]=(n||{})[r.name.value];else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map(function(e){var r={};return y(r,t,e,n),r[t.value]});else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw new i.a(53);e[t.value]=null}}function m(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){return y(r[e.name.value],n.name,n.value,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){return y(n,e.name,e.value,t)})),b(e.name.value,n,r)}var g=["connection","include","skip","client","rest","export"];function b(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),r.connection.key+"("+JSON.stringify(i)+")"}return r.connection.key}var o=e;if(t){var s=p()(t);o+="("+s+")"}return r&&Object.keys(r).forEach(function(e){-1===g.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@"+e+"("+JSON.stringify(r[e])+")":o+="@"+e)}),o}function w(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return y(r,e.name,e.value,t)}),r}return null}function S(e){return e.alias?e.alias.value:e.name.value}function E(e,t,r){if("string"==typeof e.__typename)return e.__typename;for(var n=0,i=t.selections;n1)for(var n=new X,i=1;i0}function ae(e){return e.errors&&e.errors.length>0||!1}"function"==typeof Symbol&&Symbol.species&&Object.defineProperty(oe,Symbol.species,{value:H.a});var ue="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product);function ce(){for(var e=[],t=0;t0&&(this.previousOptions.subscription!==this.getOptions().subscription||!Object(c.a)(this.previousOptions.variables,this.getOptions().variables)||this.previousOptions.skip!==this.getOptions().skip)&&(this.cleanup(),t=this.getLoadingResult()),this.initialize(this.getOptions()),this.startSubscription(),this.previousOptions=this.getOptions(),Object(u.a)(Object(u.a)({},t),{variables:this.getOptions().variables})},t.prototype.afterExecute=function(){this.isMounted=!0},t.prototype.cleanup=function(){this.endSubscription(),delete this.currentObservable.query},t.prototype.initialize=function(e){this.currentObservable.query||!0===this.getOptions().skip||(this.currentObservable.query=this.refreshClient().client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy}))},t.prototype.startSubscription=function(){this.currentObservable.subscription||(this.currentObservable.subscription=this.currentObservable.query.subscribe({next:this.updateCurrentData.bind(this),error:this.updateError.bind(this),complete:this.completeSubscription.bind(this)}))},t.prototype.getLoadingResult=function(){return{loading:!0,error:void 0,data:void 0}},t.prototype.updateResult=function(e){this.isMounted&&this.setResult(e)},t.prototype.updateCurrentData=function(e){var t=this.getOptions().onSubscriptionData;this.updateResult({data:e.data,loading:!1,error:void 0}),t&&t({client:this.refreshClient().client,subscriptionData:e})},t.prototype.updateError=function(e){this.updateResult({error:e,loading:!1})},t.prototype.completeSubscription=function(){var e=this.getOptions().onSubscriptionComplete;e&&e(),this.endSubscription()},t.prototype.endSubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)},t}(f),p=r("PKC9"),d=r("H8+m"),v=function(e){function t(t){var r=t.options,n=t.result,i=t.setResult,o=e.call(this,r,t.context)||this;return o.runMutation=function(e){void 0===e&&(e={}),o.onMutationStart();var t=o.generateNewMutationId();return o.mutate(e).then(function(e){return o.onMutationCompleted(e,t),e}).catch(function(e){if(o.onMutationError(e,t),!o.getOptions().onError)throw e})},o.verifyDocumentType(r.mutation,l.a.Mutation),o.result=n,o.setResult=i,o.mostRecentMutationId=0,o}return Object(u.c)(t,e),t.prototype.execute=function(e){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,l.a.Mutation),[this.runMutation,Object(u.a)(Object(u.a)({},e),{client:this.refreshClient().client})]},t.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},t.prototype.cleanup=function(){},t.prototype.mutate=function(e){return this.refreshClient().client.mutate(Object(d.j)(this.getOptions(),e))},t.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},t.prototype.onMutationCompleted=function(e,t){var r=this.getOptions(),n=r.onCompleted,i=r.ignoreResults,o=e.data,s=e.errors,a=s&&s.length>0?new p.a({graphQLErrors:s}):void 0;this.isMostRecentMutation(t)&&!i&&this.updateResult({called:!0,loading:!1,data:o,error:a}),n&&n(o)},t.prototype.onMutationError=function(e,t){var r=this.getOptions().onError;this.isMostRecentMutation(t)&&this.updateResult({loading:!1,error:e,data:void 0,called:!0}),r&&r(e)},t.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},t.prototype.isMostRecentMutation=function(e){return this.mostRecentMutationId===e},t.prototype.updateResult=function(e){!this.isMounted||this.previousResult&&Object(c.a)(this.previousResult,e)||(this.setResult(e),this.previousResult=e)},t}(f),y=r("ALmS"),m=function(e){function t(t){var r=t.onNewData,n=e.call(this,t.options,t.context)||this;return n.previousData={},n.runLazy=!1,n.runLazyQuery=function(e){n.cleanup(),n.runLazy=!0,n.lazyOptions=e,n.onNewData()},n.getQueryResult=function(){var e=n.observableQueryFields(),t=n.getOptions();if(t.skip)e=Object(u.a)(Object(u.a)({},e),{data:void 0,error:void 0,loading:!1,called:!0});else if(n.currentObservable){var r=n.currentObservable.getCurrentResult(),i=r.data,o=r.loading,s=r.partial,a=r.networkStatus,c=r.errors,l=r.error;if(c&&c.length>0&&(l=new p.a({graphQLErrors:c})),e=Object(u.a)(Object(u.a)({},e),{data:i,loading:o,networkStatus:a,error:l,called:!0}),o);else if(l)Object.assign(e,{data:(n.currentObservable.getLastResult()||{}).data});else{var f=n.currentObservable.options.fetchPolicy;if(t.partialRefetch&&s&&(!i||0===Object.keys(i).length)&&"cache-only"!==f)return Object.assign(e,{loading:!0,networkStatus:y.NetworkStatus.loading}),e.refetch(),e}}return e.client=n.client,n.setOptions(t,!0),n.previousData.loading=n.previousData.result&&n.previousData.result.loading||!1,n.previousData.result=e,n.currentObservable&&n.currentObservable.resetQueryStoreErrors(),e},n.obsRefetch=function(e){return n.currentObservable.refetch(e)},n.obsFetchMore=function(e){return n.currentObservable.fetchMore(e)},n.obsUpdateQuery=function(e){return n.currentObservable.updateQuery(e)},n.obsStartPolling=function(e){var t;null===(t=n.currentObservable)||void 0===t||t.startPolling(e)},n.obsStopPolling=function(){var e;null===(e=n.currentObservable)||void 0===e||e.stopPolling()},n.obsSubscribeToMore=function(e){return n.currentObservable.subscribeToMore(e)},n.onNewData=r,n}return Object(u.c)(t,e),t.prototype.execute=function(){this.refreshClient();var e=this.getOptions(),t=e.query;return(e.skip||t!==this.previousData.query)&&(this.removeQuerySubscription(),this.previousData.query=t),this.updateObservableQuery(),this.isMounted&&this.startQuerySubscription(),this.getExecuteSsrResult()||this.getExecuteResult()},t.prototype.executeLazy=function(){return this.runLazy?[this.runLazyQuery,this.execute()]:[this.runLazyQuery,{loading:!1,networkStatus:y.NetworkStatus.ready,called:!1,data:void 0}]},t.prototype.fetchData=function(){var e=this,t=this.getOptions();return!t.skip&&!1!==t.ssr&&new Promise(function(t){return e.startQuerySubscription(t)})},t.prototype.afterExecute=function(e){var t=(void 0===e?{}:e).lazy,r=void 0!==t&&t;return this.isMounted=!0,r&&!this.runLazy||this.handleErrorOrCompleted(),this.previousOptions=this.getOptions(),this.unmount.bind(this)},t.prototype.cleanup=function(){this.removeQuerySubscription(),delete this.currentObservable,delete this.previousData.result},t.prototype.getOptions=function(){var t=e.prototype.getOptions.call(this);return this.lazyOptions&&(t.variables=Object(u.a)(Object(u.a)({},t.variables),this.lazyOptions.variables),t.context=Object(u.a)(Object(u.a)({},t.context),this.lazyOptions.context)),this.runLazy&&delete t.skip,t},t.prototype.ssrInitiated=function(){return this.context&&this.context.renderPromises},t.prototype.getExecuteResult=function(){var e=this.getQueryResult();return this.startQuerySubscription(),e},t.prototype.getExecuteSsrResult=function(){var e,t=!1===this.getOptions().ssr,r=this.refreshClient().client.disableNetworkFetches,n=Object(u.a)({loading:!0,networkStatus:y.NetworkStatus.loading,called:!0,data:void 0,stale:!1,client:this.client},this.observableQueryFields());return t&&(this.ssrInitiated()||r)?(this.previousData.result=n,n):(this.ssrInitiated()&&(e=this.context.renderPromises.addQueryPromise(this,this.getQueryResult)||n),e)},t.prototype.prepareObservableQueryOptions=function(){var e=this.getOptions();this.verifyDocumentType(e.query,l.a.Query);var t=e.displayName||"Query";return!this.ssrInitiated()||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e.fetchPolicy="cache-first"),Object(u.a)(Object(u.a)({},e),{displayName:t,context:e.context})},t.prototype.initializeObservableQuery=function(){if(this.ssrInitiated()&&(this.currentObservable=this.context.renderPromises.getSSRObservable(this.getOptions())),!this.currentObservable){var e=this.prepareObservableQueryOptions();this.previousData.observableQueryOptions=Object(u.a)(Object(u.a)({},e),{children:null}),this.currentObservable=this.refreshClient().client.watchQuery(Object(u.a)({},e)),this.ssrInitiated()&&this.context.renderPromises.registerSSRObservable(this.currentObservable,e)}},t.prototype.updateObservableQuery=function(){if(this.currentObservable){if(!this.getOptions().skip){var e=Object(u.a)(Object(u.a)({},this.prepareObservableQueryOptions()),{children:null});Object(c.a)(e,this.previousData.observableQueryOptions)||(this.previousData.observableQueryOptions=e,this.currentObservable.setOptions(e).catch(function(){}))}}else this.initializeObservableQuery()},t.prototype.startQuerySubscription=function(e){var t=this;void 0===e&&(e=this.onNewData),this.currentSubscription||this.getOptions().skip||(this.currentSubscription=this.currentObservable.subscribe({next:function(r){var n=r.data,i=t.previousData.result;i&&i.loading===r.loading&&i.networkStatus===r.networkStatus&&Object(c.a)(i.data,n)||e()},error:function(r){if(t.resubscribeToQuery(),!r.hasOwnProperty("graphQLErrors"))throw r;var n=t.previousData.result;(n&&n.loading||!Object(c.a)(r,t.previousData.error))&&(t.previousData.error=r,e())}}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.currentObservable;if(e){var t=e.getLastError(),r=e.getLastResult();e.resetLastResults(),this.startQuerySubscription(),Object.assign(e,{lastError:t,lastResult:r})}},t.prototype.handleErrorOrCompleted=function(){if(this.currentObservable&&this.previousData.result){var e=this.previousData.result,t=e.data,r=e.error;if(!e.loading){var n=this.getOptions(),i=n.query,o=n.variables,s=n.onCompleted,a=n.onError,u=n.skip;if(this.previousOptions&&!this.previousData.loading&&Object(c.a)(this.previousOptions.query,i)&&Object(c.a)(this.previousOptions.variables,o))return;!s||r||u?a&&r&&a(r):s(t)}}},t.prototype.removeQuerySubscription=function(){this.currentSubscription&&(this.currentSubscription.unsubscribe(),delete this.currentSubscription)},t.prototype.observableQueryFields=function(){var e;return{variables:null===(e=this.currentObservable)||void 0===e?void 0:e.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},t}(f);function g(e,t,r){void 0===r&&(r=!1);var i=Object(n.useContext)(Object(s.c)()),o=Object(n.useReducer)(function(e){return e+1},0),a=o[0],l=o[1],f=t?Object(u.a)(Object(u.a)({},t),{query:e}):{query:e},h=Object(n.useRef)(),p=h.current||new m({options:f,context:i,onNewData:function(){p.ssrInitiated()?l():Promise.resolve().then(l)}});p.setOptions(f),p.context=i,p.ssrInitiated()&&!h.current&&(h.current=p);var d,v,y,g=(d=function(){return r?p.executeLazy():p.execute()},v={options:Object(u.a)(Object(u.a)({},f),{onError:void 0,onCompleted:void 0}),context:i,tick:a},(y=Object(n.useRef)()).current&&Object(c.a)(v,y.current.key)||(y.current={key:v,value:d()}),y.current.value),b=r?g[1]:g;return Object(n.useEffect)(function(){return h.current||(h.current=p),function(){return p.cleanup()}},[]),Object(n.useEffect)(function(){return p.afterExecute({lazy:r})},[b.loading,b.networkStatus,b.error,b.data]),g}function b(e,t){return g(e,t,!0)}function w(e,t){var r=Object(n.useContext)(Object(s.c)()),i=Object(n.useState)({called:!1,loading:!1}),o=i[0],a=i[1],c=t?Object(u.a)(Object(u.a)({},t),{mutation:e}):{mutation:e},l=Object(n.useRef)(),f=(l.current||(l.current=new v({options:c,context:r,result:o,setResult:a})),l.current);return f.setOptions(c),f.context=r,Object(n.useEffect)(function(){return f.afterExecute()}),f.execute(o)}function S(e,t){return g(e,t,!1)}function E(e,t){var r=Object(n.useContext)(Object(s.c)()),i=t?Object(u.a)(Object(u.a)({},t),{subscription:e}):{subscription:e},o=Object(n.useState)({loading:!i.skip,error:void 0,data:void 0}),a=o[0],c=o[1],l=Object(n.useRef)(),f=(l.current||(l.current=new h({options:i,context:r,setResult:c})),l.current);return f.setOptions(i,!0),f.context=r,Object(n.useEffect)(function(){return f.afterExecute()}),Object(n.useEffect)(function(){return f.cleanup.bind(f)},[]),f.execute(a)}function O(e){var t=e(),r=e.onNextChange(Object(n.useState)(t)[1]);return Object(n.useEffect)(function(){return r},[]),t}},JWCV:function(e,t,r){var n=r("BaN1");function i(){}function o(e,t){if(t&&null!=e)switch(t.type){case"structure":return function(e,t){var r={};return n.each(e,function(e,n){var i=t.members[e];if(i){if("body"!==i.location)return;var s=i.isLocationName?i.name:e,a=o(n,i);void 0!==a&&(r[s]=a)}}),r}(e,t);case"map":return function(e,t){var r={};return n.each(e,function(e,n){var i=o(n,t.value);void 0!==i&&(r[e]=i)}),r}(e,t);case"list":return function(e,t){var r=[];return n.arrayEach(e,function(e){var n=o(e,t.member);void 0!==n&&r.push(n)}),r}(e,t);default:return function(e,t){return t.toWireFormat(e)}(e,t)}}i.prototype.build=function(e,t){return JSON.stringify(o(e,t))},e.exports=i},JzWT:function(e,t,r){var n=r("QsWE");n.util.update(n.CognitoIdentity.prototype,{getOpenIdToken:function(e,t){return this.makeUnauthenticatedRequest("getOpenIdToken",e,t)},getId:function(e,t){return this.makeUnauthenticatedRequest("getId",e,t)},getCredentialsForIdentity:function(e,t){return this.makeUnauthenticatedRequest("getCredentialsForIdentity",e,t)}})},KFai:function(e,t,r){var n=r("BaN1"),i=r("lSFX").populateHostPrefix;function o(e,t,r,i){var o=[e,t].join("/");o=o.replace(/\/+/g,"/");var s={},a=!1;if(n.each(r.members,function(e,t){var r=i[e];if(null!=r)if("uri"===t.location){var u=new RegExp("\\{"+t.name+"(\\+)?\\}");o=o.replace(u,function(e,t){return(t?n.uriEscapePath:n.uriEscape)(String(r))})}else"querystring"===t.location&&(a=!0,"list"===t.type?s[t.name]=r.map(function(e){return n.uriEscape(t.member.toWireFormat(e).toString())}):"map"===t.type?n.each(r,function(e,t){s[e]=Array.isArray(t)?t.map(function(e){return n.uriEscape(String(e))}):n.uriEscape(String(t))}):s[t.name]=n.uriEscape(t.toWireFormat(r).toString()))}),a){o+=o.indexOf("?")>=0?"&":"?";var u=[];n.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t=0?"&":"?";this.request.path+=o+n.util.queryParamsToString(i)},authorization:function(e,t){var r=[],n=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+n),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return n.util.crypto.hmac(r,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=n.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];n.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase(){this.subscription=l.subscribe({next:(...t)=>e.next(...t),error:(...t)=>e.error(...t),complete:()=>e.complete()})})}close(){var e;null===(e=this.subscription)||void 0===e||e.unsubscribe()}}},LZfj:function(e,t,r){function n(){var e;try{e=t.storage.debug}catch(r){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=r("iBIe")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff),r){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,n)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(r){}},t.load=n,t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(n())},Lh65:function(e,t,r){var n=r("QsWE"),i=r("+qE3").EventEmitter;r("Pzvs"),n.XHRClient=n.util.inherit({handleRequest:function(e,t,r,o){var s=this,a=e.endpoint,u=new i,c=a.protocol+"//"+a.hostname;80!==a.port&&443!==a.port&&(c+=":"+a.port),c+=e.path;var l=new XMLHttpRequest,f=!1;e.stream=l,l.addEventListener("readystatechange",function(){try{if(0===l.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!f&&(u.statusCode=l.status,u.headers=s.parseHeaders(l.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,l.statusText),f=!0),this.readyState===this.DONE&&s.finishRequest(l,u)},!1),l.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),l.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),l.addEventListener("timeout",function(){o(n.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),l.addEventListener("error",function(){o(n.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),l.addEventListener("abort",function(){o(n.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),l.open(e.method,c,!1!==t.xhrAsync),n.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&l.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(l.timeout=t.timeout),t.xhrWithCredentials&&(l.withCredentials=!0);try{l.responseType="arraybuffer"}catch(h){}try{e.body?l.send(e.body):l.send()}catch(p){if(!e.body||"object"!=typeof e.body.buffer)throw p;l.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return n.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],n=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=n)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var i=e.response;r=new n.util.Buffer(i.byteLength);for(var o=new Uint8Array(i),s=0;s=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}}),u=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(r)?n.showHidden=r:r&&t._extend(n,r),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),l(n,e,n.depth)}function u(e,t){var r=a.styles[t];return r?"\x1b["+a.colors[r][0]+"m"+e+"\x1b["+a.colors[r][1]+"m":e}function c(e,t){return e}function l(e,r,n){if(e.customInspect&&r&&O(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return m(i)||(i=l(e,i,n)),i}var o=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(m(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return y(t)?e.stylize(""+t,"number"):d(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}(e,r);if(o)return o;var s=Object.keys(r),a=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),E(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return f(r);if(0===s.length){if(O(r))return e.stylize("[Function"+(r.name?": "+r.name:"")+"]","special");if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(E(r))return f(r)}var u,c="",w=!1,_=["{","}"];return p(r)&&(w=!0,_=["[","]"]),O(r)&&(c=" [Function"+(r.name?": "+r.name:"")+"]"),b(r)&&(c=" "+RegExp.prototype.toString.call(r)),S(r)&&(c=" "+Date.prototype.toUTCString.call(r)),E(r)&&(c=" "+f(r)),0!==s.length||w&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=w?function(e,t,r,n,i){for(var o=[],s=0,a=t.length;s60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,c,_)):_[0]+c+_[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,r,n,i,o){var s,a,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=e.stylize(u.set?"[Getter/Setter]":"[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),R(n,i)||(s="["+i+"]"),a||(e.seen.indexOf(u.value)<0?(a=v(r)?l(e,u.value,null):l(e,u.value,r-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n")):a=e.stylize("[Circular]","special")),g(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function p(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function v(e){return null===e}function y(e){return"number"==typeof e}function m(e){return"string"==typeof e}function g(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===_(e)}function w(e){return"object"==typeof e&&null!==e}function S(e){return w(e)&&"[object Date]"===_(e)}function E(e){return w(e)&&("[object Error]"===_(e)||e instanceof Error)}function O(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(g(o)&&(o=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!s[e])if(new RegExp("\\b"+e+"\\b","i").test(o)){var r=process.pid;s[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else s[e]=function(){};return s[e]},t.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=d,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=m,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=b,t.isObject=w,t.isDate=S,t.isError=E,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r("1gqn");var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(){var e=new Date,t=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}function R(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",A(),t.format.apply(t,arguments))},t.inherits=r("KKCa"),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;oa)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=d,u=v,i=h;var m=(1e4*(268435455&(d+=122192928e5))+v)%4294967296;l[c++]=m>>>24&255,l[c++]=m>>>16&255,l[c++]=m>>>8&255,l[c++]=255&m;var g=d/4294967296*1e4&268435455;l[c++]=g>>>8&255,l[c++]=255&g,l[c++]=g>>>24&15|16,l[c++]=g>>>16&255,l[c++]=h>>>8|128,l[c++]=255&h;for(var b=0;b<6;++b)l[c+b]=f[b];return t||s(l)}},NVWg:function(e,t,r){var n=r("5wkZ").eventMessageChunker,i=r("de4B").parseEvent;e.exports={createEventStream:function(e,t,r){for(var o=n(e),s=[],a=0;a=e.lastRequestId){if(o&&"none"===r.errorPolicy)throw e.markError(new c.a({graphQLErrors:i.errors}));e.markResult(i,r,t),e.markReady()}var a={data:i.data,loading:!1,networkStatus:e.networkStatus||h.a.ready};return o&&"ignore"!==r.errorPolicy&&(a.errors=i.errors),a},function(t){var r=Object(c.b)(t)?t:new c.a({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchQueryObservable=function(e,t,r){var n=this;void 0===r&&(r=h.a.loading);var i=this.transform(t.query).document,o=this.getVariables(i,t.variables),a=this.getQuery(e),u=a.networkStatus,c=t.fetchPolicy,l=void 0===c?"cache-first":c,f=t.errorPolicy,p=void 0===f?"none":f,d=t.returnPartialData,v=void 0!==d&&d,y=t.notifyOnNetworkStatusChange,m=void 0!==y&&y,g=t.context,b=void 0===g?{}:g;("cache-first"===l||"cache-and-network"===l||"network-only"===l||"no-cache"===l)&&m&&"number"==typeof u&&u!==r&&Object(h.b)(r)&&("cache-first"!==l&&(l="cache-and-network"),v=!0);var w=Object.assign({},t,{query:i,variables:o,fetchPolicy:l,errorPolicy:p,returnPartialData:v,notifyOnNetworkStatusChange:m,context:b}),S=function(e){return w.variables=e,n.fetchQueryByPolicy(a,w,r)};this.fetchCancelFns.set(e,function(e){Promise.resolve().then(function(){return E.cancel(e)})});var E=new s.a(this.transform(w.query).hasClientExports?this.localState.addExportedVariables(w.query,w.variables,w.context).then(S):S(w.variables));return E.cleanup(function(){n.fetchCancelFns.delete(e);var r=t.nextFetchPolicy;r&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"==typeof r?r.call(t,t.fetchPolicy||"cache-first"):r)}),E},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,u=t.fetchPolicy,c=t.errorPolicy,l=t.returnPartialData,f=t.context;e.init({document:o,variables:a,lastRequestId:this.generateRequestId(),networkStatus:r});var p=function(){return e.getDiff(a)},d=function(t,r){void 0===r&&(r=e.networkStatus||h.a.loading);var u=t.result,c=function(e){return s.c.of(Object(n.a)({data:e,loading:Object(h.b)(r),networkStatus:r},t.complete?null:{partial:!0}))};return i.transform(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:u},context:f,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return c(e.data)}):c(u)},v=function(t){return i.getResultsFromLink(e,t,{variables:a,context:f,fetchPolicy:u,errorPolicy:c})};switch(u){default:case"cache-first":return(y=p()).complete?[d(y,e.markReady())]:l?[d(y),v(!0)]:[v(!0)];case"cache-and-network":var y;return(y=p()).complete||l?[d(y),v(!0)]:[v(!0)];case"cache-only":return[d(p(),e.markReady())];case"network-only":return[v(!0)];case"no-cache":return[v(!1)];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new g(this.cache)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(n.a)(Object(n.a)({},t),{clientAwareness:this.clientAwareness})},e}();function E(e,t){if(b(e.result,e.errorPolicy)){var r=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],n=e.queryUpdatersById;n&&Object.keys(n).forEach(function(i){var o=n[i],a=o.updater,u=o.queryInfo,c=u.document,l=u.variables,f=t.diff({query:c,variables:l,returnPartialData:!0,optimistic:!1}),h=f.result;if(f.complete&&h){var p=a(h,{mutationResult:e.result,queryName:Object(s.r)(c)||void 0,queryVariables:l});p&&r.push({result:p,dataId:"ROOT_QUERY",query:c,variables:l})}}),t.performTransaction(function(t){r.forEach(function(e){return t.write(e)});var n=e.update;n&&n(t,e.result)},null)}}var O=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,n=e.cache,s=e.ssrMode,u=void 0!==s&&s,c=e.ssrForceFetchDelay,l=void 0===c?0:c,f=e.connectToDevTools,h=e.queryDeduplication,p=void 0===h||h,d=e.defaultOptions,y=e.assumeImmutableResults,m=void 0!==y&&y,g=e.resolvers,b=e.typeDefs,w=e.fragmentMatcher,E=e.name,O=e.version,_=e.link;if(_||(_=r?new a.a({uri:r,credentials:e.credentials,headers:e.headers}):o.ApolloLink.empty()),!n)throw new i.a(9);this.link=_,this.cache=n,this.disableNetworkFetches=u||l>0,this.queryDeduplication=p,this.defaultOptions=d||{},this.typeDefs=b,l&&setTimeout(function(){return t.disableNetworkFetches=!1},l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),void 0!==f&&f&&"undefined"!=typeof window&&(window.__APOLLO_CLIENT__=this),this.version="local",this.localState=new v({cache:n,client:this,resolvers:g,fragmentMatcher:w}),this.queryManager=new S({cache:this.cache,link:this.link,queryDeduplication:p,ssrMode:u,clientAwareness:{name:E,version:O},localState:this.localState,assumeImmutableResults:m,onBroadcast:function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore.getStore()},dataWithOptimisticResults:t.cache.extract(!0)})}})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(s.j)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(n.a)(Object(n.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(s.j)(this.defaultOptions.query,e)),Object(i.b)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(n.a)(Object(n.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(s.j)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(o.execute)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore()}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore()}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}()},PKC9:function(e,t,r){"use strict";r.d(t,"b",function(){return o}),r.d(t,"a",function(){return s});var n=r("zC+P"),i=r("H8+m");function o(e){return e.hasOwnProperty("graphQLErrors")}var s=function(e){function t(r){var n,o,s=r.graphQLErrors,a=r.networkError,u=r.errorMessage,c=r.extraInfo,l=e.call(this,u)||this;return l.graphQLErrors=s||[],l.networkError=a||null,l.message=u||(n=l,o="",Object(i.A)(n.graphQLErrors)&&n.graphQLErrors.forEach(function(e){o+=(e?e.message:"Error message not found.")+"\n"}),n.networkError&&(o+=n.networkError.message+"\n"),o=o.replace(/\n$/,"")),l.extraInfo=c,l.__proto__=t.prototype,l}return Object(n.c)(t,e),t}(Error)},Ppu6:function(e){e.exports=JSON.parse('{"pagination":{}}')},Pzvs:function(e,t,r){var n=r("QsWE"),i=n.util.inherit;n.Endpoint=i({constructor:function(e,t){if(n.util.hideProperties(this,["slashes","auth","hash","search","query"]),null==e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return n.util.copy(e);e.match(/^http/)||(e=((t&&void 0!==t.sslEnabled?t.sslEnabled:n.config.sslEnabled)?"https":"http")+"://"+e),n.util.update(this,n.util.urlParse(e)),this.port=this.port?parseInt(this.port,10):"https:"===this.protocol?443:80}}),n.HttpRequest=i({constructor:function(e,t){e=new n.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=n.util.userAgent()},getUserAgentHeaderName:function(){return(n.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=n.util.queryStringParse(e),n.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new n.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),n.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),n.HttpClient=i({}),n.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},QsWE:function(e,t,r){var n={util:r("BaN1")};({}).toString(),e.exports=n,n.util.update(n,{VERSION:"2.787.0",Signers:{},Protocol:{Json:r("BGYI"),Query:r("zfQR"),Rest:r("KFai"),RestJson:r("9Gqe"),RestXml:r("eFjS")},XML:{Builder:r("wk5b"),Parser:null},JSON:{Builder:r("JWCV"),Parser:r("henJ")},Model:{Api:r("5wOx"),Operation:r("1vLn"),Shape:r("nyFZ"),Paginator:r("TkaK"),ResourceWaiter:r("CbSC")},apiLoader:r("Y309"),EndpointCache:r("EuLz").EndpointCache}),r("eLAQ"),r("jNZN"),r("bnYj"),r("Pzvs"),r("t6tr"),r("h/dY"),r("ZONe"),r("rt19"),r("B0QO"),r("T0yy"),n.events=new n.SequentialExecutor,n.util.memoizedProperty(n,"endpointCache",function(){return new n.EndpointCache(n.config.endpointCacheSize)},!0)},RRgQ:function(e,t,r){"use strict";r.r(t),r.d(t,"isEqual",function(){return h}),r.d(t,"addTypenameToDocument",function(){return ne}),r.d(t,"argumentsObjectFromField",function(){return S}),r.d(t,"assign",function(){return D}),r.d(t,"buildQueryFromSelectionSet",function(){return he}),r.d(t,"canUseWeakMap",function(){return de}),r.d(t,"checkDocument",function(){return U}),r.d(t,"cloneDeep",function(){return ye}),r.d(t,"createFragmentMap",function(){return G}),r.d(t,"getDefaultValues",function(){return Y}),r.d(t,"getDirectiveInfoFromField",function(){return I}),r.d(t,"getDirectiveNames",function(){return j}),r.d(t,"getDirectivesFromDocument",function(){return ue}),r.d(t,"getEnv",function(){return ge}),r.d(t,"getFragmentDefinition",function(){return W}),r.d(t,"getFragmentDefinitions",function(){return z}),r.d(t,"getFragmentQueryDocument",function(){return L}),r.d(t,"getInclusionDirectives",function(){return M}),r.d(t,"getMainDefinition",function(){return K}),r.d(t,"getMutationDefinition",function(){return F}),r.d(t,"getOperationDefinition",function(){return V}),r.d(t,"getOperationDefinitionOrDie",function(){return B}),r.d(t,"getOperationName",function(){return Q}),r.d(t,"getQueryDefinition",function(){return H}),r.d(t,"getStoreKeyName",function(){return w}),r.d(t,"graphQLResultHasError",function(){return _e}),r.d(t,"hasClientExports",function(){return N}),r.d(t,"hasDirectives",function(){return P}),r.d(t,"isDevelopment",function(){return Se}),r.d(t,"isEnv",function(){return be}),r.d(t,"isField",function(){return O}),r.d(t,"isIdValue",function(){return k}),r.d(t,"isInlineFragment",function(){return _}),r.d(t,"isJsonValue",function(){return A}),r.d(t,"isNumberValue",function(){return y}),r.d(t,"isProduction",function(){return we}),r.d(t,"isScalarValue",function(){return v}),r.d(t,"isTest",function(){return Ee}),r.d(t,"maybeDeepFreeze",function(){return Ce}),r.d(t,"mergeDeep",function(){return Re}),r.d(t,"mergeDeepArray",function(){return Te}),r.d(t,"removeArgumentsFromDocument",function(){return ce}),r.d(t,"removeClientSetsFromDocument",function(){return pe}),r.d(t,"removeConnectionDirectiveFromDocument",function(){return oe}),r.d(t,"removeDirectivesFromDocument",function(){return re}),r.d(t,"removeFragmentSpreadFromDocument",function(){return le}),r.d(t,"resultKeyNameFromField",function(){return E}),r.d(t,"shouldInclude",function(){return x}),r.d(t,"storeKeyNameFromField",function(){return g}),r.d(t,"stripSymbols",function(){return qe}),r.d(t,"toIdValue",function(){return C}),r.d(t,"tryFunctionOrLogError",function(){return Oe}),r.d(t,"valueFromNode",function(){return T}),r.d(t,"valueToObjectRepresentation",function(){return m}),r.d(t,"variablesInOperation",function(){return J}),r.d(t,"warnOnceInDevelopment",function(){return Ne});var n=r("L2ys"),i=r("qVdT"),o=r("zC+P"),s=r("9x6x"),a=r.n(s),u=Object.prototype,c=u.toString,l=u.hasOwnProperty,f=new Map;function h(e,t){try{return p(e,t)}finally{f.clear()}}function p(e,t){if(e===t)return!0;var r=c.call(e);if(r!==c.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(d(e,t))return!0;var n=Object.keys(e),i=Object.keys(t),o=n.length;if(o!==i.length)return!1;for(var s=0;s-1}function y(e){return["IntValue","FloatValue"].indexOf(e.kind)>-1}function m(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map(function(e){return m(o,e.name,e.value,n)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r))e[t.value]=(n||{})[r.name.value];else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map(function(e){var r={};return m(r,t,e,n),r[t.value]});else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw new i.a(17);e[t.value]=null}}function g(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){return m(r[e.name.value],n.name,n.value,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){return m(n,e.name,e.value,t)})),w(e.name.value,n,r)}var b=["connection","include","skip","client","rest","export"];function w(e,t,r){if(r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i=t,o={};return n.forEach(function(e){o[e]=i[e]}),r.connection.key+"("+JSON.stringify(o)+")"}return r.connection.key}var s=e;if(t){var u=a()(t);s+="("+u+")"}return r&&Object.keys(r).forEach(function(e){-1===b.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?s+="@"+e+"("+JSON.stringify(r[e])+")":s+="@"+e)}),s}function S(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return m(r,e.name,e.value,t)}),r}return null}function E(e){return e.alias?e.alias.value:e.name.value}function O(e){return"Field"===e.kind}function _(e){return"InlineFragment"===e.kind}function k(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function C(e,t){return void 0===t&&(t=!1),Object(o.a)({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function A(e){return null!=e&&"object"==typeof e&&"json"===e.type}function R(e){throw new i.a(18)}function T(e,t){switch(void 0===t&&(t=R),e.kind){case"Variable":return t(e);case"NullValue":return null;case"IntValue":return parseInt(e.value,10);case"FloatValue":return parseFloat(e.value);case"ListValue":return e.values.map(function(e){return T(e,t)});case"ObjectValue":for(var r={},n=0,i=e.fields;n-1})}function N(e){return e&&P(["client"],e)&&P(["export"],e)}function q(e){var t=e.name.value;return"skip"===t||"include"===t}function M(e){return e?e.filter(q).map(function(e){var t=e.arguments;Object(i.b)(t&&1===t.length,14);var r=t[0];Object(i.b)(r.name&&"if"===r.name.value,15);var n=r.value;return Object(i.b)(n&&("Variable"===n.kind||"BooleanValue"===n.kind),16),{directive:e,ifArgument:r}}):[]}function L(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw new i.a(11);"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&(Object(i.b)(1===n.length,12),r=n[0].name.value),Object(o.a)(Object(o.a)({},e),{definitions:Object(o.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions)})}function D(e){for(var t=[],r=1;r1){var n=[];t=je(t,n);for(var i=1;i0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?setTimeout(this._closeSocketWhenFlushed.bind(this),1e3):(this.awsRealTimeSocket.close(1e3),this.awsRealTimeSocket=null,this.socketStatus=d.SOCKET_STATUS.CLOSED):this.socketStatus=d.SOCKET_STATUS.CLOSED},r.prototype._startSubscriptionWithAWSAppSyncRealTime=function(e){var t=e.options,r=e.observer,n=e.subscriptionId;return s(this,void 0,void 0,function(){var e,i,s,u,c,h,p,v,y,m,g,b,w,S,E,O,_,k,C,A,R,T,I,x=this;return a(this,function(a){switch(a.label){case 0:return e=t.appSyncGraphqlEndpoint,i=t.authenticationType,c=t.apiKey,h=t.region,v=void 0===(p=t.graphql_headers)?function(){return{}}:p,y=t.credentials,m=t.jwtToken,b={query:s=t.query,variables:u=t.variables},this.subscriptionObserverMap.set(n,{observer:r,query:s,variables:u,subscriptionState:g=d.SUBSCRIPTION_STATUS.PENDING}),w=JSON.stringify(b),E=[o({},v())],[4,this._awsRealTimeHeaderBasedAuth({apiKey:c,appSyncGraphqlEndpoint:e,authenticationType:i,payload:w,canonicalUri:"",region:h,credentials:y,jwtToken:m})];case 1:S=o.apply(void 0,[o.apply(void 0,E.concat([a.sent()])),(I={},I[l.USER_AGENT_HEADER]=l.USER_AGENT,I)]),O={id:n,payload:{data:w,extensions:{authorization:o({},S)}},type:d.MESSAGE_TYPES.GQL_START},_=JSON.stringify(O),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this._initializeWebSocketConnection({apiKey:c,appSyncGraphqlEndpoint:e,authenticationType:i,region:h,credentials:y,jwtToken:m})];case 3:return a.sent(),[3,5];case 4:return k=a.sent(),r.error({errors:[o({},new f.GraphQLError("Connection failed: "+(void 0===(C=k.message)?"":C)))]}),r.complete(),A=(this.subscriptionObserverMap.get(n)||{}).subscriptionFailedCallback,"function"==typeof(R=void 0===A?null:A)&&R(),[2];case 5:return T=this.subscriptionObserverMap.get(n),this.subscriptionObserverMap.set(n,{observer:r,subscriptionState:g,variables:u,query:s,subscriptionReadyCallback:T.subscriptionReadyCallback,subscriptionFailedCallback:T.subscriptionFailedCallback,startAckTimeoutId:setTimeout(function(){x._timeoutStartSubscriptionAck.call(x,n)},15e3)}),this.awsRealTimeSocket.send(_),[2]}})})},r.prototype._initializeWebSocketConnection=function(e){var t=this,n=e.appSyncGraphqlEndpoint,i=e.authenticationType,o=e.apiKey,u=e.region,c=e.credentials,l=e.jwtToken;return this.socketStatus===d.SOCKET_STATUS.READY?Promise.resolve():new Promise(function(e,f){return s(t,void 0,void 0,function(){var t,s,h,p,v,m,g,b;return a(this,function(a){switch(a.label){case 0:if(this.promiseArray.push({res:e,rej:f}),this.socketStatus!==d.SOCKET_STATUS.CLOSED)return[3,5];a.label=1;case 1:return a.trys.push([1,4,,5]),this.socketStatus=d.SOCKET_STATUS.CONNECTING,t=r._discoverAppSyncRealTimeEndpoint(this.url),s="{}",v=(p=JSON).stringify,[4,this._awsRealTimeHeaderBasedAuth({authenticationType:i,payload:s,canonicalUri:"/connect",apiKey:o,appSyncGraphqlEndpoint:n,region:u,credentials:c,jwtToken:l})];case 2:return h=v.apply(p,[a.sent()]),m=Buffer.from(h).toString("base64"),g=Buffer.from(s).toString("base64"),[4,this._initializeRetryableHandshake({awsRealTimeUrl:t+"?header="+m+"&payload="+g})];case 3:return a.sent(),this.promiseArray.forEach(function(e){var t=e.res;y("Notifying connection successful"),t()}),this.socketStatus=d.SOCKET_STATUS.READY,this.promiseArray=[],[3,5];case 4:return b=a.sent(),this.promiseArray.forEach(function(e){return(0,e.rej)(b)}),this.promiseArray=[],this.awsRealTimeSocket&&this.awsRealTimeSocket.readyState===WebSocket.OPEN&&this.awsRealTimeSocket.close(3001),this.awsRealTimeSocket=null,this.socketStatus=d.SOCKET_STATUS.CLOSED,[3,5];case 5:return[2]}})})})},r.prototype._awsRealTimeHeaderBasedAuth=function(e){var t=e.authenticationType,r=e.payload,n=e.canonicalUri,i=e.appSyncGraphqlEndpoint,o=e.apiKey,u=e.region,c=e.credentials,l=e.jwtToken;return s(this,void 0,void 0,function(){var e,s,f;return a(this,function(a){switch(a.label){case 0:return e={API_KEY:this._awsRealTimeApiKeyHeader.bind(this),AWS_IAM:this._awsRealTimeIAMHeader.bind(this),OPENID_CONNECT:this._awsRealTimeOPENIDHeader.bind(this),AMAZON_COGNITO_USER_POOLS:this._awsRealTimeOPENIDHeader.bind(this)},"function"!=typeof(s=e[t])?(y("Authentication type "+t+" not supported"),[2,{}]):(f=h.parse(i).host,[4,s({payload:r,canonicalUri:n,appSyncGraphqlEndpoint:i,apiKey:o,region:u,host:f,credentials:c,jwtToken:l})]);case 1:return[2,a.sent()]}})})},r.prototype._awsRealTimeOPENIDHeader=function(e){var t=e.host,r=e.jwtToken;return s(this,void 0,void 0,function(){var e,n;return a(this,function(i){switch(i.label){case 0:return e={},"function"!=typeof r?[3,2]:[4,r.call(void 0)];case 1:return n=i.sent(),[3,4];case 2:return[4,r];case 3:n=i.sent(),i.label=4;case 4:return[2,(e.Authorization=n,e.host=t,e)]}})})},r.prototype._awsRealTimeApiKeyHeader=function(e){var t=e.apiKey,r=e.host;return s(this,void 0,void 0,function(){var e,n;return a(this,function(i){return e=new Date,n=e.toISOString().replace(/[:\-]|\.\d{3}/g,""),[2,{host:r,"x-amz-date":n,"x-api-key":t}]})})},r.prototype._awsRealTimeIAMHeader=function(e){var t=e.payload,r=e.canonicalUri,n=e.appSyncGraphqlEndpoint,i=e.region,u=e.credentials;return s(this,void 0,void 0,function(){var e,s,c,f,h;return a(this,function(a){switch(a.label){case 0:return e={region:i,service:"appsync"},(s="function"==typeof u?u.call():u||{})&&"function"==typeof s.getPromise?[4,s.getPromise()]:[3,2];case 1:a.sent(),a.label=2;case 2:if(!s)throw new Error("No credentials");return[4,s];case 3:return c=a.sent(),f={access_key:c.accessKeyId,secret_key:c.secretAccessKey,session_token:c.sessionToken},h={url:""+n+r,body:t,method:"POST",headers:o({},g)},[2,l.Signer.sign(h,f,e).headers]}})})},r.prototype._initializeRetryableHandshake=function(e){var t=e.awsRealTimeUrl;return s(this,void 0,void 0,function(){return a(this,function(e){switch(e.label){case 0:return y("Initializaling retryable Handshake"),[4,v.jitteredExponentialRetry(this._initializeHandshake.bind(this),[{awsRealTimeUrl:t}])];case 1:return e.sent(),[2]}})})},r.prototype._initializeHandshake=function(e){var t=e.awsRealTimeUrl;return s(this,void 0,void 0,function(){var e,n,i=this;return a(this,function(o){switch(o.label){case 0:y("Initializing handshake "+t),o.label=1;case 1:return o.trys.push([1,4,,5]),[4,new Promise(function(e,n){var o=r.createWebSocket(t,"graphql-ws");o.onerror=function(){y("WebSocket connection error")},o.onclose=function(){n(new Error("Connection handshake error"))},o.onopen=function(){return i.awsRealTimeSocket=o,e()}})];case 2:return o.sent(),[4,new Promise(function(e,t){var r=!1;i.awsRealTimeSocket.onerror=function(e){y("WebSocket closed "+JSON.stringify(e))},i.awsRealTimeSocket.onclose=function(e){y("WebSocket closed "+e.reason),t(new Error(JSON.stringify(e)))},i.awsRealTimeSocket.onmessage=function(n){y("subscription message from AWS AppSyncRealTime: "+n.data+" ");var o=JSON.parse(n.data),s=o.type,a=o.payload,u=(void 0===a?{}:a).connectionTimeoutMs;if(s===d.MESSAGE_TYPES.GQL_CONNECTION_ACK)return r=!0,i.keepAliveTimeout=void 0===u?3e5:u,i.awsRealTimeSocket.onmessage=i._handleIncomingSubscriptionMessage.bind(i),void e("Cool, connected to AWS AppSyncRealTime");if(s===d.MESSAGE_TYPES.GQL_CONNECTION_ERROR){var c=o.payload,l=(void 0===c?{}:c).errors,f=(void 0===l?[]:l)[0],h=void 0===f?{}:f,p=h.errorType,v=h.errorCode;t({errorType:void 0===p?"":p,errorCode:void 0===v?0:v})}},i.awsRealTimeSocket.send(JSON.stringify({type:d.MESSAGE_TYPES.GQL_CONNECTION_INIT})),setTimeout((function(){r||t(new Error("Connection timeout: ack from AWSRealTime was not received on 15000 ms"))}).bind(i),15e3)})];case 3:return o.sent(),[3,5];case 4:throw e=o.sent(),n=e.errorType,m.indexOf(e.errorCode)>=0?new v.NonRetryableError(n):n?new Error(n):e;case 5:return[2]}})})},r.prototype._handleIncomingSubscriptionMessage=function(e){y("subscription message from AWS AppSync RealTime: "+e.data);var t=JSON.parse(e.data),r=t.id,n=void 0===r?"":r,i=t.payload,s=t.type,a=this.subscriptionObserverMap.get(n)||{},u=a.observer,c=void 0===u?null:u,l=a.query,h=void 0===l?"":l,p=a.variables,v=void 0===p?{}:p,m=a.startAckTimeoutId,g=void 0===m?0:m,b=a.subscriptionReadyCallback,w=void 0===b?null:b,S=a.subscriptionFailedCallback,E=void 0===S?null:S;if(y({id:n,observer:c,query:h,variables:v}),s===d.MESSAGE_TYPES.GQL_DATA&&i&&i.data)c?c.next(i):y("observer not found for id: "+n);else{if(s===d.MESSAGE_TYPES.GQL_START_ACK)return y("subscription ready for "+JSON.stringify({query:h,variables:v})),"function"==typeof w&&w(),clearTimeout(g),c?c.next({data:i,extensions:{controlMsgType:"CONNECTED"}}):y("observer not found for id: "+n),void this.subscriptionObserverMap.set(n,{observer:c,query:h,variables:v,startAckTimeoutId:null,subscriptionState:d.SUBSCRIPTION_STATUS.CONNECTED,subscriptionReadyCallback:w,subscriptionFailedCallback:E});if(s===d.MESSAGE_TYPES.GQL_CONNECTION_KEEP_ALIVE)return clearTimeout(this.keepAliveTimeoutId),void(this.keepAliveTimeoutId=setTimeout(this._timeoutDisconnect.bind(this),this.keepAliveTimeout));s===d.MESSAGE_TYPES.GQL_ERROR&&(this.subscriptionObserverMap.set(n,{observer:c,query:h,variables:v,startAckTimeoutId:g,subscriptionReadyCallback:w,subscriptionFailedCallback:E,subscriptionState:d.SUBSCRIPTION_STATUS.FAILED}),c.error({errors:[o({},new f.GraphQLError("Connection failed: "+JSON.stringify(i)))]}),clearTimeout(g),c.complete(),"function"==typeof E&&E())}},r.prototype._timeoutDisconnect=function(){this.subscriptionObserverMap.forEach(function(e){var t=e.observer;t.error({errors:[o({},new f.GraphQLError("Timeout disconnect"))]}),t.complete()}),this.subscriptionObserverMap=new Map,this.awsRealTimeSocket&&this.awsRealTimeSocket.close(),this.socketStatus=d.SOCKET_STATUS.CLOSED},r.prototype._timeoutStartSubscriptionAck=function(e){var t=this.subscriptionObserverMap.get(e),r=t.observer,n=t.query,i=t.variables;this.subscriptionObserverMap.set(e,{observer:r,query:n,variables:i,subscriptionState:d.SUBSCRIPTION_STATUS.FAILED}),r.error({errors:[o({},new f.GraphQLError("Subscription timeout "+JSON.stringify({query:n,variables:i})))]}),r.complete(),y("timeoutStartSubscription",JSON.stringify({query:n,variables:i}))},r.createWebSocket=function(e,t){return new WebSocket(e,t)},r._discoverAppSyncRealTimeEndpoint=function(e){return e.replace("https://","wss://").replace("http://","ws://").replace("appsync-api","appsync-realtime-api").replace("gogi-beta","grt-beta")},r}(u.ApolloLink);t.AppSyncRealTimeSubscriptionHandshakeLink=b},Sl41:function(e,t){e.exports={escapeElement:function(e){return e.replace(/&/g,"&").replace(//g,">")}}},SysZ:function(e,t,r){var n=r("QsWE");n.Signers.S3=(0,n.util.inherit)(n.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=n.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign());this.request.headers.Authorization="AWS "+e.accessKeyId+":"+r},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];n.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()1){var i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,n.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(n.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){var n;this.validateType(t,r,["object"],"structure");for(var i=0;e.required&&i= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,n){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+n+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,i){if(null==e)return!1;for(var o=!1,s=0;s0&&i.arrayEach(r.required,function(n){var i=r.members[n];!0===i.endpointDiscoveryId?e[i.isLocationName?i.name:n]=String(t[n]):a(e,t[n],i)})}function u(e,t){var r={};return a(r,e.params,t),r}function c(e){var t=e.service,r=t.api,o=r.operations?r.operations[e.operation]:void 0,a=u(e,o?o.input:void 0),c=s(e);Object.keys(a).length>0&&(c=i.update(c,a),o&&(c.operation=o.name));var l=n.endpointCache.get(c);if(!l||1!==l.length||""!==l[0].Address)if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address);else{var f=t.makeRequest(r.endpointOperation,{Operation:o.name,Identifiers:a});h(f),f.removeListener("validate",n.EventListeners.Core.VALIDATE_PARAMETERS),f.removeListener("retry",n.EventListeners.Core.RETRY_CHECK),n.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:1}]),f.send(function(e,t){t&&t.Endpoints?n.endpointCache.put(c,t.Endpoints):e&&n.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:1}])})}}var l={};function f(e,t){var r=e.service,o=r.api,a=o.operations?o.operations[e.operation]:void 0,c=u(e,a?a.input:void 0),f=s(e);Object.keys(c).length>0&&(f=i.update(f,c),a&&(f.operation=a.name));var p=n.EndpointCache.getKeyString(f),d=n.endpointCache.get(p);if(d&&1===d.length&&""===d[0].Address)return l[p]||(l[p]=[]),void l[p].push({request:e,callback:t});if(d&&d.length>0)e.httpRequest.updateEndpoint(d[0].Address),t();else{var v=r.makeRequest(o.endpointOperation,{Operation:a.name,Identifiers:c});v.removeListener("validate",n.EventListeners.Core.VALIDATE_PARAMETERS),h(v),n.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:60}]),v.send(function(r,o){r?(e.response.error=i.error(r,{retryable:!1}),n.endpointCache.remove(f),l[p]&&(i.arrayEach(l[p],function(e){e.request.response.error=i.error(r,{retryable:!1}),e.callback()}),delete l[p])):o&&(n.endpointCache.put(p,o.Endpoints),e.httpRequest.updateEndpoint(o.Endpoints[0].Address),l[p]&&(i.arrayEach(l[p],function(e){e.request.httpRequest.updateEndpoint(o.Endpoints[0].Address),e.callback()}),delete l[p])),t()})}}function h(e){var t=e.service.api.apiVersion;t&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=t)}function p(e){var t=e.error;if(t&&("InvalidEndpointException"===t.code||421===e.httpResponse.statusCode)){var r=e.request,o=r.service.api.operations||{},a=u(r,o[r.operation]?o[r.operation].input:void 0),c=s(r);Object.keys(a).length>0&&(c=i.update(c,a),o[r.operation]&&(c.operation=o[r.operation].name)),n.endpointCache.remove(c)}}function d(e){return["false","0"].indexOf(e)>=0}e.exports={discoverEndpoint:function(e,t){var r=e.service||{};if(function(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw i.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});return Boolean(n.config.endpoint||(n.config[e.serviceIdentifier]||{}).endpoint||e._originalConfig&&e._originalConfig.endpoint)}(r)||e.isPresigned())return t();var s=(r.api.operations||{})[e.operation],a=s?s.endpointDiscoveryRequired:"NULL",u=function(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!i.isBrowser()){for(var r=0;r0&&u>a&&(u=a);for(var c=0;c=0?(l=d.substr(0,v),f=d.substr(v+1)):(l=d,f=""),h=decodeURIComponent(l),p=decodeURIComponent(f),n(o,h)?Array.isArray(o[h])?o[h].push(p):o[h]=[o[h],p]:o[h]=p}return o}},ZHa6:function(e,t,r){var n=r("QsWE");function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw n.util.error(new Error,t)}}e.exports=function(e,t){var r;if((e=e||{})[t.clientConfig]&&(r=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return r;if(!n.util.isNode())return r;if(Object.prototype.hasOwnProperty.call(process.env,t.env)&&(r=i(process.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+process.env[t.env]+'".'})))return r;var o={};try{o=n.util.getProfilesFromSharedConfig(n.util.iniLoader)[process.env.AWS_PROFILE||n.util.defaultProfile]}catch(s){}return o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)&&(r=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'})),r}},ZJYt:function(e,t,r){var n=r("m5lJ").escapeAttribute;function i(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}i.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},i.prototype.addChildNode=function(e){return this.children.push(e),this},i.prototype.removeAttribute=function(e){return delete this.attributes[e],this},i.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,r=this.attributes,i=0,o=Object.keys(r);i"+this.children.map(function(e){return e.toString()}).join("")+"":"/>")},e.exports={XmlNode:i}},ZONe:function(e,t,r){var n=r("QsWE"),i=n.util.inherit,o=r("CNpV");n.Response=i({constructor:function(e){this.request=e,this.data=null,this.error=null,this.retryCount=0,this.redirectCount=0,this.httpResponse=new n.HttpResponse,e&&(this.maxRetries=e.service.numRetries(),this.maxRedirects=e.service.config.maxRedirects)},nextPage:function(e){var t,r=this.request.service,i=this.request.operation;try{t=r.paginationConfig(i,!0)}catch(u){this.error=u}if(!this.hasNextPage()){if(e)e(this.error,null);else if(this.error)throw this.error;return null}var o=n.util.copy(this.request.params);if(this.nextPageTokens){var s=t.inputToken;"string"==typeof s&&(s=[s]);for(var a=0;a>>((3&t)<<3)&255;return i}}},"b+QI":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r("cUav"))},bTyh:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;if("function"==typeof r)if(r.observable)t=r.observable;else{t=r.for("https://github.com/benlesh/symbol-observable");try{r.observable=t}catch(n){}}else t="@@observable";return t}r.d(t,"a",function(){return n})},bb5K:function(e,t,r){"use strict";var n;function i(e){return!!e&&e<7}r.d(t,"a",function(){return n}),r.d(t,"b",function(){return i}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},bnYj:function(e,t,r){var n,i=r("QsWE");r("8loY"),r("u8bp"),i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){var t,r=this;function n(t){e(t,t?null:r.credentials)}function o(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}r.credentials?"function"==typeof r.credentials.get?r.credentials.get(function(e){e&&(e=o("Could not load credentials from "+r.credentials.constructor.name,e)),n(e)}):(t=null,r.credentials.accessKeyId&&r.credentials.secretAccessKey||(t=o("Missing credentials")),n(t)):r.credentialProvider?r.credentialProvider.resolve(function(e,t){e&&(e=o("Could not load credentials from any providers",e)),r.credentials=t,n(e)}):n(o("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),n=new i.CredentialProviderChain;return n.providers.unshift(r),n.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):this[e]="httpOptions"===e&&this[e]?i.util.merge(this[e],t):t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy"},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&((e=i.util.copy(e)).credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){n=e,null===e&&"function"==typeof Promise&&(n=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,n)},getPromisesDependency:function(){return n}}),i.config=new i.Config},c8WW:function(e,t,r){var n=r("Sl41").escapeElement;function i(e){this.value=e}i.prototype.toString=function(){return n(""+this.value)},e.exports={XmlText:i}},cUav:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),global.Buffer=global.Buffer||r("tjlA").Buffer;var n=r("CxY0"),i=r("Mc43").util.crypto,o=function(e,t,r){return void 0===r&&(r=""),i.lib.createHmac("sha256",e).update(t,"utf8").digest(r)},s=function(e){return e=e||"",i.createHash("sha256").update(e,"utf8").digest("hex")},a=function(e){return Object.keys(e).map(function(e){return e.toLowerCase()}).sort().join(";")},u=function(e,t,r){void 0===r&&(r=null),e.headers=e.headers||{};var i=(new Date).toISOString().replace(/[:-]|\.\d{3}/g,""),u=i.substr(0,8),c=n.parse(e.url);e.headers.host=c.host,e.headers["x-amz-date"]=i,t.session_token&&(e.headers["X-Amz-Security-Token"]=t.session_token);var l=function(e){var t,r=n.parse(e.url);return[e.method||"/",r.path,r.query,(t=e.headers,t&&0!==Object.keys(t).length?Object.keys(t).map(function(e){return{key:e.toLowerCase(),value:t[e]?t[e].trim().replace(/\s+/g," "):""}}).sort(function(e,t){return e.key0)return function(e){if(!((e=String(e)).length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===u&&!1===isNaN(e))return t.long?s(a=e,o,"day")||s(a,i,"hour")||s(a,n,"minute")||s(a,r,"second")||a+" ms":function(e){return e>=o?Math.round(e/o)+"d":e>=i?Math.round(e/i)+"h":e>=n?Math.round(e/n)+"m":e>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},de4B:function(e,t,r){var n=r("4eZz").parseMessage;e.exports={parseEvent:function(e,t,r){var i=n(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw function(e){var t=e.headers[":error-code"],r=e.headers[":error-message"],n=new Error(r.value||r);return n.code=n.name=t.value||t,n}(i);if("event"!==o.value)return}var s=i.headers[":event-type"],a=r.members[s.value];if(a){var u={},c=a.eventPayloadMemberName;if(c){var l=a.members[c];u[c]="binary"===l.type?i.body:e.parse(i.body.toString(),l)}for(var f=a.eventHeaderMemberNames,h=0;h0){var l=(t=new n.XML.Parser).parse(s.toString(),a);i.update(e.data,l)}}}},eLAQ:function(e,t,r){var n=r("QsWE");n.SequentialExecutor=n.util.inherit({constructor:function(){this._events={}},listeners:function(e){return this._events[e]?this._events[e].slice(0):[]},on:function(e,t,r){return this._events[e]?r?this._events[e].unshift(t):this._events[e].push(t):this._events[e]=[t],this},onAsync:function(e,t,r){return t._isAsync=!0,this.on(e,t,r)},removeListener:function(e,t){var r=this._events[e];if(r){for(var n=r.length,i=-1,o=0;o-1&&r.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var n=this.listeners(e),i=n.length;return this.callListeners(n,t,r),i>0},callListeners:function(e,t,r,i){var o=this,s=i||null;function a(i){if(i&&(s=n.util.error(s||new Error,i),o._haltHandlersOnError))return r.call(o,s);o.callListeners(e,t,r,s)}for(;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([a]));try{u.apply(o,t)}catch(c){s=n.util.error(s||new Error,c)}if(s&&o._haltHandlersOnError)return void r.call(o,s)}r.call(o,s)},addListeners:function(e){var t=this;return e._events&&(e=e._events),n.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),n.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,n){return this[e]=r,this.addListener(t,r,n),this},addNamedAsyncListener:function(e,t,r,n){return r._isAsync=!0,this.addNamedListener(e,t,r,n)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),n.SequentialExecutor.prototype.addListener=n.SequentialExecutor.prototype.on,e.exports=n.SequentialExecutor},feXj:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i=0){u=!0;var c=0}var l=function(){u&&c!==a?r.emit("error",n.util.error(new Error("Stream content length mismatch. Received "+c+" of "+a+" bytes."),{code:"StreamContentLengthMismatch"})):2===n.HttpClient.streamsApiVersion?r.end():r.emit("end")},f=s.httpResponse.createUnbufferedStream();if(2===n.HttpClient.streamsApiVersion)if(u){var h=new e.PassThrough;h._write=function(t){return t&&t.length&&(c+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},h.on("end",l),r.on("error",function(e){u=!1,f.unpipe(h),h.emit("end"),h.end()}),f.pipe(h).pipe(r,{end:!1})}else f.pipe(r);else u&&f.on("data",function(e){e&&e.length&&(c+=e.length)}),f.on("data",function(e){r.emit("data",e)}),f.on("end",l);f.on("error",function(e){u=!1,r.emit("error",e)})}}),r},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),n.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new n.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",n.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",n.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),n.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},n.Request.deletePromisesFromClass=function(){delete this.prototype.promise},n.util.addPromises(n.Request),n.util.mixin(n.Request,n.SequentialExecutor)},hDgs:function(e,t,r){"use strict";r.d(t,"a",function(){return a});var n=null,i={},o=1,s=Array,a=s["@wry/context:Slot"]||function(){var e=function(){function e(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=n;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===i)break;return e!==n&&(n.slots[this.id]=t),!0}return n&&(n.slots[this.id]=i),!1},e.prototype.getValue=function(){if(this.hasValue())return n.slots[this.id]},e.prototype.withValue=function(e,t,r,i){var o,s=((o={__proto__:null})[this.id]=e,o),a=n;n={parent:a,slots:s};try{return t.apply(i,r)}finally{n=a}},e.bind=function(e){var t=n;return function(){var r=n;try{return n=t,e.apply(this,arguments)}finally{n=r}}},e.noContext=function(e,t,r){if(!n)return e.apply(r,t);var i=n;try{return n=null,e.apply(r,t)}finally{n=i}},e}();try{Object.defineProperty(s,"@wry/context:Slot",{value:s["@wry/context:Slot"]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}()},"hEW/":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return function(e,t){this.key=e,this.value=t}}();t.LRUCache=function(){function e(e){if(this.nodeMap={},this.size=0,"number"!=typeof e||e<1)throw new Error("Cache size can only be positive number");this.sizeLimit=e}return Object.defineProperty(e.prototype,"length",{get:function(){return this.size},enumerable:!0,configurable:!0}),e.prototype.prependToList=function(e){this.headerNode?(this.headerNode.prev=e,e.next=this.headerNode):this.tailNode=e,this.headerNode=e,this.size++},e.prototype.removeFromTail=function(){if(this.tailNode){var e=this.tailNode,t=e.prev;return t&&(t.next=void 0),e.prev=void 0,this.tailNode=t,this.size--,e}},e.prototype.detachFromList=function(e){this.headerNode===e&&(this.headerNode=e.next),this.tailNode===e&&(this.tailNode=e.prev),e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.next=void 0,e.prev=void 0,this.size--},e.prototype.get=function(e){if(this.nodeMap[e]){var t=this.nodeMap[e];return this.detachFromList(t),this.prependToList(t),t.value}},e.prototype.remove=function(e){this.nodeMap[e]&&(this.detachFromList(this.nodeMap[e]),delete this.nodeMap[e])},e.prototype.put=function(e,t){if(this.nodeMap[e])this.remove(e);else if(this.size===this.sizeLimit){var r=this.removeFromTail();delete this.nodeMap[r.key]}var i=new n(e,t);this.nodeMap[e]=i,this.prependToList(i)},e.prototype.empty=function(){for(var e=Object.keys(this.nodeMap),t=0;t=0;i--)if("*"!==t[i][t[i].length-1]&&(r=t[i]),t[i].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=n.util.copy(t),n.util.each(this.config.params,function(e,r){i.input.members[e]&&null==t[e]&&(t[e]=r)}))}var o=new n.Request(this,e,t);return this.addAllRequestListeners(o),this.attachMonitoringEmitter(o),r&&o.send(r),o},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var n=this.makeRequest(e,t).toUnauthenticated();return r?n.send(r):n},waitFor:function(e,t,r){return new n.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[n.events,n.EventListeners.Core,this.serviceInterface(),n.EventListeners.CorePost],r=0;r299?(i.code&&(r.FinalAwsException=i.code),i.message&&(r.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(r.FinalSdkException=i.code||i.name),i.message&&(r.FinalSdkExceptionMessage=i.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},n=e.response;return n.httpResponse.statusCode&&(r.HttpStatusCode=n.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),n.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),n.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=n.httpResponse.headers["x-amzn-requestid"]),n.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=n.httpResponse.headers["x-amz-request-id"]),n.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=n.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,n=r.error;return r.httpResponse.statusCode>299?(n.code&&(t.AwsException=n.code),n.message&&(t.AwsExceptionMessage=n.message)):((n.code||n.name)&&(t.SdkException=n.code||n.name),n.message&&(t.SdkExceptionMessage=n.message)),t},attachMonitoringEmitter:function(e){var t,r,i,o,s,a,u=0,c=this;e.on("validate",function(){o=n.util.realClock.now(),a=Date.now()},!0),e.on("sign",function(){r=n.util.realClock.now(),t=Date.now(),s=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){i=Math.round(n.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=c.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=s,c.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var o=c.attemptFailEvent(e);o.Timestamp=t,i=i||Math.round(n.util.realClock.now()-r),o.AttemptLatency=i>=0?i:0,o.Region=s,c.emit("apiCallAttempt",[o])}),e.addNamedListener("API_CALL","complete",function(){var t=c.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=a;var r=Math.round(n.util.realClock.now()-o);t.Latency=r>=0?r:0;var i=e.response;i.error&&i.error.retryable&&"number"==typeof i.retryCount&&"number"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),c.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t=null,r="";return e&&(r=(t=(e.service.api.operations||{})[e.operation]||null)?t.authtype:""),n.Signers.RequestSigner.getVersion(this.config.signatureVersion?this.config.signatureVersion:"v4"===r||"v4-unsigned-body"===r?"v4":this.api.signatureVersion)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return n.EventListeners.Query;case"json":return n.EventListeners.Json;case"rest-json":return n.EventListeners.RestJson;case"rest-xml":return n.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return n.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||!!this.networkingError(e)||!!this.expiredCredentialsError(e)||!!this.throttledError(e)||e.statusCode>=500},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;return e.replace(/\{service\}/g,this.api.endpointPrefix).replace(/\{region\}/g,this.config.region).replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new n.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw n.util.error(i,"No pagination configuration for "+e)}return null}return r}}),n.util.update(n.Service,{defineMethods:function(e){n.util.each(e.prototype.api.operations,function(t){e.prototype[t]||(e.prototype[t]="none"===e.prototype.api.operations[t].authtype?function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:function(e,r){return this.makeRequest(t,e,r)})})},defineService:function(e,t,r){n.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=s(n.Service,r||{});if("string"==typeof e?(n.Service.addVersions(i,t),i.serviceIdentifier=i.serviceIdentifier||e):(i.prototype.api=e,n.Service.defineMethods(i)),n.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&n.util.clientSideMonitoring){var o=n.util.clientSideMonitoring.Publisher,a=(0,n.util.clientSideMonitoring.configProvider)();this.prototype.publisher=new o(a),a.enabled&&(n.Service._clientSideMonitoring=!0)}return n.SequentialExecutor.call(i.prototype),n.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r>1,l=-7,f=r?i-1:0,h=r?-1:1,p=e[t+f];for(f+=h,o=p&(1<<-l)-1,p>>=-l,l+=a;l>0;o=256*o+e[t+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=c}return(p?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<0;e[r+p]=255&s,p+=d,s/=256,c-=8);e[r+p-d]|=128*v}},lKDQ:function(e,t,r){r("md97");var n=r("QsWE"),i=n.Service,o=n.apiLoader;o.services.cognitoidentity={},n.CognitoIdentity=i.defineService("cognitoidentity",["2014-06-30"]),r("JzWT"),Object.defineProperty(o.services.cognitoidentity,"2014-06-30",{get:function(){var e=r("0JXb");return e.paginators=r("Ppu6").pagination,e},enumerable:!0,configurable:!0}),e.exports=n.CognitoIdentity},lSFX:function(e,t,r){var n=r("BaN1"),i=r("QsWE");e.exports={populateHostPrefix:function(e){if(!e.service.config.hostPrefixEnabled)return e;var t,r,o,s,a,u,c=e.service.api.operations[e.operation];if(function(e){var t=e.service.api,r=t.operations[e.operation],i=t.endpointOperation&&t.endpointOperation===n.string.lowerFirst(r.name);return"NULL"!==r.endpointDiscoveryRequired||!0===i}(e))return e;c.endpoint&&c.endpoint.hostPrefix&&(s=(a=c.endpoint.hostPrefix,u=e.params,n.each(c.input.members,function(e,t){if(!0===t.hostLabel){if("string"!=typeof u[e]||""===u[e])throw n.error(new Error,{message:"Parameter "+e+" should be a non-empty string.",code:"InvalidParameter"});var r=new RegExp("\\{"+e+"\\}","g");a=a.replace(r,u[e])}}),a),(o=e.httpRequest.endpoint).host&&(o.host=s+o.host),o.hostname&&(o.hostname=s+o.hostname),t=e.httpRequest.endpoint.hostname.split("."),r=/^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/,n.arrayEach(t,function(e){if(!e.length||e.length<1||e.length>63)throw n.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw i.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})}));return e}}},lTCR:function(e,t,r){var n=r("EMzn").parse;function i(e){return e.replace(/[\s,]+/g," ").trim()}var o={},s={},a=!0;function u(e,t){var r=Object.prototype.toString.call(e);if("[object Array]"===r)return e.map(function(e){return u(e,t)});if("[object Object]"!==r)throw new Error("Unexpected input.");t&&e.loc&&delete e.loc,e.loc&&(delete e.loc.startToken,delete e.loc.endToken);var n,i,o,s=Object.keys(e);for(n in s)s.hasOwnProperty(n)&&(i=e[s[n]],"[object Object]"!==(o=Object.prototype.toString.call(i))&&"[object Array]"!==o||(e[s[n]]=u(i,!0)));return e}var c=!1;function l(e){var t=i(e);if(o[t])return o[t];var r=n(e,{experimentalFragmentVariables:c});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");return r=u(r=function(e){for(var t,r={},n=[],o=0;o0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof g&&this.parent.getRootIdSet(e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){f.c.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof g;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!f.c.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=new Set([this.data[e]]),n=function(e){return null!==e&&"object"==typeof e};r.forEach(function(e){Object(u.B)(e)?t[e.__ref]=!0:n(e)&&Object.values(e).filter(n).forEach(r.add,r)})}return this.refs[e]},e.prototype.makeCacheKey=function(){for(var e=[],t=0;t0;if(h&&!c)throw f.missing[0];return{result:f.result,missing:f.missing,complete:!h}},e.prototype.isFresh=function(e,t,r,n){if(w(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n);if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,i=e.context;if(Object(u.B)(n)&&!i.policies.rootTypenamesById[n.__ref]&&!i.store.has(n.__ref))return{result:{},missing:[E(new c.a(4),i)]};var o=i.variables,s=i.policies,a=[],l={result:null},f=i.store.getFieldValue(n,"__typename");function h(){return l.missing||(l.missing=[])}function p(e){var t;return e.missing&&(t=h()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"==typeof f&&!s.rootIdsByTypename[f]&&a.push({__typename:f});var d=new Set(r.selections);return d.forEach(function(e){var r;if(Object(u.K)(e,o))if(Object(u.y)(e)){var l=s.readField({fieldName:e.name.value,field:e,variables:i.variables,from:n},i),v=Object(u.J)(e);i.path.push(v);var y=i.clientOnly;i.clientOnly=y||!(!e.directives||!e.directives.some(function(e){return"client"===e.name.value})),void 0===l?u.d.added(e)||h().push(E(new c.a(5),i)):Array.isArray(l)?l=p(t.executeSubSelectedArray({field:e,array:l,context:i})):e.selectionSet&&null!=l&&(l=p(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:l,context:i}))),void 0!==l&&a.push(((r={})[v]=l,r)),i.clientOnly=y,Object(c.b)(i.path.pop()===v)}else{var m=Object(u.n)(e,i.fragmentMap);m&&s.fragmentMatches(m,f)&&m.selectionSet.selections.forEach(d.add,d)}}),l.result=Object(u.G)(a),this.knownResults.set(l.result,r),l},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.context;function s(e,r){return e.missing&&(t=t||[]).push.apply(t,e.missing),Object(c.b)(o.path.pop()===r),e.result}return n.selectionSet&&(i=i.filter(o.store.canRead)),{result:i=i.map(function(e,t){return null===e?null:(o.path.push(t),Array.isArray(e)?s(r.executeSubSelectedArray({field:n,array:e,context:o}),t):n.selectionSet?s(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,context:o}),t):(Object(c.b)(o.path.pop()===t),e))}),missing:t}},e}(),_=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e){var t=e.query,r=e.result,n=e.dataId,i=e.store,s=e.variables,a=Object(u.q)(t),l=Object(f.e)();s=Object(o.a)(Object(o.a)({},Object(u.l)(a)),s);var h=this.processSelectionSet({result:r||Object.create(null),dataId:n,selectionSet:a.selectionSet,context:{store:i,written:Object.create(null),merge:function(e,t){return l.merge(e,t)},variables:s,varString:JSON.stringify(s),fragmentMap:Object(u.k)(Object(u.m)(t))}});if(!Object(u.B)(h))throw new c.a(7);return i.retain(h.__ref),h},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,o=e.context,s=e.out,a=void 0===s?{shouldApplyMerges:!1}:s,l=this.cache.policies,f=l.identify(n,i,o.fragmentMap),h=f[1];if("string"==typeof(r=r||f[0])){var p=o.written[r]||(o.written[r]=[]),d=Object(u.D)(r);if(p.indexOf(i)>=0)return d;if(p.push(i),this.reader&&this.reader.isFresh(n,d,i,o))return d}var v=Object.create(null);h&&(v=o.merge(v,h));var y=r&&l.rootTypenamesById[r]||Object(u.u)(n,i,o.fragmentMap)||r&&o.store.get(r,"__typename");"string"==typeof y&&(v.__typename=y);var m=new Set(i.selections);if(m.forEach(function(e){var r;if(Object(u.K)(e,o.variables))if(Object(u.y)(e)){var i=Object(u.J)(e),s=n[i];if(void 0!==s){var f=l.getStoreFieldName({typename:y,fieldName:e.name.value,field:e,variables:o.variables}),h=t.processFieldValue(s,e,o,a);l.hasMergeFunction(y,e.name.value)&&(h={__field:e,__typename:y,__value:h},a.shouldApplyMerges=!0),v=o.merge(v,((r={})[f]=h,r))}else if(l.usingPossibleTypes&&!Object(u.x)(["defer","client"],e))throw new c.a(8)}else{var p=Object(u.n)(e,o.fragmentMap);p&&l.fragmentMatches(p,y,n,o.variables)&&p.selectionSet.selections.forEach(m.add,m)}}),"string"==typeof r){var g=Object(u.D)(r);return a.shouldApplyMerges&&(v=l.applyMerges(g,v,o)),o.store.merge(r,v),g}return v},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map(function(e){return i.processFieldValue(e,t,r,n)}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,out:n}):e},e}();new Set;var k=r("uiNf"),C=r("M2J/"),A={dataIdFromObject:C.b,addTypename:!0,resultCaching:!0,typePolicies:{}},R=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.typenameDocumentCache=new Map,r.makeVar=k.b,r.txCount=0,r.maybeBroadcastWatch=Object(s.c)(function(e,t){return r.broadcastWatch.call(r,e,!!t)},{makeCacheKey:function(e){var t=e.optimistic?r.optimisticData:r.data;if(w(t))return t.makeCacheKey(e.query,e.callback,JSON.stringify({optimistic:e.optimistic,rootId:e.rootId,variables:e.variables}))}}),r.watchDep=Object(s.b)(),r.config=Object(o.a)(Object(o.a)({},A),t),r.addTypename=!!r.config.addTypename,r.policies=new C.a({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.data=new v.Root({policies:r.policies,resultCaching:r.config.resultCaching}),r.optimisticData=r.data,r.storeWriter=new _(r,r.storeReader=new O({cache:r,addTypename:r.addTypename})),r}return Object(o.c)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){var t=e.optimistic?this.optimisticData:this.data;return("string"!=typeof e.rootId||t.has(e.rootId))&&this.storeReader.diffQueryAgainstStore({store:t,query:e.query,variables:e.variables,rootId:e.rootId,config:this.config,returnPartialData:!1}).result||null},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore({store:this.data,query:e.query,result:e.result,dataId:e.dataId,variables:e.variables})}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(f.c.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,returnPartialData:e.returnPartialData,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e),t.watchDep.dirty(e),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(){return this.optimisticData.gc()},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){return Object(u.B)(e)?e.__ref:this.policies.identify(e)[0]},t.prototype.evict=function(e){if(!e.id){if(f.c.call(e,"id"))return!1;e=Object(o.a)(Object(o.a)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(){return this.data.clear(),this.optimisticData=this.data,this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.performTransaction=function(e,t){var r=this,n=function(t){var n=r.data,i=r.optimisticData;++r.txCount,t&&(r.data=r.optimisticData=t);try{e(r)}finally{--r.txCount,r.data=n,r.optimisticData=i}},i=!1;"string"==typeof t?(this.optimisticData=this.optimisticData.addLayer(t,n),i=!0):null===t?n(this.data):n(),this.broadcastWatches(i)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(u.d)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.broadcastWatch=function(e,t){this.watchDep.dirty(e),this.watchDep(e);var r=this.diff({query:e.query,variables:e.variables,optimistic:e.optimistic});e.optimistic&&t&&(r.fromOptimisticTransaction=!0),e.callback(r)},t}(a.a)},lwRX:function(e,t){},m2wi:function(e,t,r){var n=r("QsWE").util,i=n.buffer.toBuffer;e.exports={splitMessage:function(e){if(n.Buffer.isBuffer(e)||(e=i(e)),e.length<16)throw new Error("Provided message too short to accommodate event stream message overhead");if(e.length!==e.readUInt32BE(0))throw new Error("Reported message length does not match received message length");var t=e.readUInt32BE(8);if(t!==n.crypto.crc32(e.slice(0,8)))throw new Error("The prelude checksum specified in the message ("+t+") does not match the calculated CRC32 checksum.");var r=e.readUInt32BE(e.length-4);if(r!==n.crypto.crc32(e.slice(0,e.length-4)))throw new Error("The message checksum did not match the expected value of "+r);var o=12+e.readUInt32BE(4);return{headers:e.slice(12,o),body:e.slice(o,e.length-4)}}}},m5lJ:function(e,t){e.exports={escapeAttribute:function(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(//g,">").replace(/"/g,""")}}},md97:function(e,t,r){var n=r("BaN1");n.crypto.lib=r("4woR"),n.Buffer=r("tjlA").Buffer,n.url=r("zKxw"),n.querystring=r("r8II"),n.realClock=r("3FsZ"),n.environment="js",n.createEventStream=r("NVWg").createEventStream,n.isBrowser=function(){return!0},n.isNode=function(){return!1};var i=r("QsWE");if(e.exports=i,r("8loY"),r("u8bp"),r("S6rO"),r("tVRC"),r("Vz+1"),r("iYq/"),r("vFq9"),i.XML.Parser=r("CFft"),r("Lh65"),void 0===o)var o={browser:!0}},n4Yq:function(e,t,r){var n=r("QsWE").util,i=n.buffer.toBuffer;function o(e){if(8!==e.length)throw new Error("Int64 buffers must be exactly 8 bytes");n.Buffer.isBuffer(e)||(e=i(e)),this.bytes=e}function s(e){for(var t=0;t<8;t++)e[t]^=255;for(t=7;t>-1&&(e[t]++,0===e[t]);t--);}o.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&s(t),new o(t)},o.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&s(e),parseInt(e.toString("hex"),16)*(t?-1:1)},o.prototype.toString=function(){return String(this.valueOf())},e.exports={Int64:o}},nXTE:function(e,t,r){var n=r("NODT"),i=r("sImd"),o=i;o.v1=n,o.v4=i,e.exports=o},nyFZ:function(e,t,r){var n=r("T0AB"),i=r("BaN1");function o(e,t,r){null!=r&&i.property.apply(this,arguments)}function s(e,t){e.constructor.prototype[t]||i.memoizedProperty.apply(this,arguments)}function a(e,t,r){t=t||{},o(this,"shape",e.shape),o(this,"api",t.api,!1),o(this,"type",e.type),o(this,"enum",e.enum),o(this,"min",e.min),o(this,"max",e.max),o(this,"pattern",e.pattern),o(this,"location",e.location||this.location||"body"),o(this,"name",this.name||e.xmlName||e.queryName||e.locationName||r),o(this,"isStreaming",e.streaming||this.isStreaming||!1),o(this,"requiresLength",e.requiresLength,!1),o(this,"isComposite",e.isComposite||!1),o(this,"isShape",!0,!1),o(this,"isQueryName",Boolean(e.queryName),!1),o(this,"isLocationName",Boolean(e.locationName),!1),o(this,"isIdempotent",!0===e.idempotencyToken),o(this,"isJsonValue",!0===e.jsonvalue),o(this,"isSensitive",!0===e.sensitive||e.prototype&&!0===e.prototype.sensitive),o(this,"isEventStream",Boolean(e.eventstream),!1),o(this,"isEvent",Boolean(e.event),!1),o(this,"isEventPayload",Boolean(e.eventpayload),!1),o(this,"isEventHeader",Boolean(e.eventheader),!1),o(this,"isTimestampFormatSet",Boolean(e.timestampFormat)||e.prototype&&!0===e.prototype.isTimestampFormatSet,!1),o(this,"endpointDiscoveryId",Boolean(e.endpointdiscoveryid),!1),o(this,"hostLabel",Boolean(e.hostLabel),!1),t.documentation&&(o(this,"documentation",e.documentation),o(this,"documentationUrl",e.documentationUrl)),e.xmlAttribute&&o(this,"isXmlAttribute",e.xmlAttribute||!1),o(this,"defaultValue",null),this.toWireFormat=function(e){return null==e?"":e},this.toType=function(e){return e}}function u(e){a.apply(this,arguments),o(this,"isComposite",!0),e.flattened&&o(this,"flattened",e.flattened||!1)}function c(e,t){var r=this,i=null,c=!this.isShape;u.apply(this,arguments),c&&(o(this,"defaultValue",function(){return{}}),o(this,"members",{}),o(this,"memberNames",[]),o(this,"required",[]),o(this,"isRequired",function(){return!1})),e.members&&(o(this,"members",new n(e.members,t,function(e,r){return a.create(r,t,e)})),s(this,"memberNames",function(){return e.xmlOrder||Object.keys(e.members)}),e.event&&(s(this,"eventPayloadMemberName",function(){for(var e=r.members,t=r.memberNames,n=0,i=t.length;n-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function p(){a.apply(this,arguments),this.toType=function(e){var t=i.base64.decode(e);if(this.isSensitive&&i.isNode()&&"function"==typeof i.Buffer.alloc){var r=i.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=i.base64.encode}function d(){p.apply(this,arguments)}function v(){a.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null==e?null:"true"===e}}a.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},a.types={structure:c,list:l,map:f,boolean:v,timestamp:function(e){var t=this;if(a.apply(this,arguments),e.timestampFormat)o(this,"timestampFormat",e.timestampFormat);else if(t.isTimestampFormatSet&&this.timestampFormat)o(this,"timestampFormat",this.timestampFormat);else if("header"===this.location)o(this,"timestampFormat","rfc822");else if("querystring"===this.location)o(this,"timestampFormat","iso8601");else if(this.api)switch(this.api.protocol){case"json":case"rest-json":o(this,"timestampFormat","unixTimestamp");break;case"rest-xml":case"query":case"ec2":o(this,"timestampFormat","iso8601")}this.toType=function(e){return null==e?null:"function"==typeof e.toUTCString?e:"string"==typeof e||"number"==typeof e?i.date.parseTimestamp(e):null},this.toWireFormat=function(e){return i.date.format(e,t.timestampFormat)}},float:function(){a.apply(this,arguments),this.toType=function(e){return null==e?null:parseFloat(e)},this.toWireFormat=this.toType},integer:function(){a.apply(this,arguments),this.toType=function(e){return null==e?null:parseInt(e,10)},this.toWireFormat=this.toType},string:h,base64:d,binary:p},a.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},a.create=function(e,t,r){if(e.isShape)return e;var n=a.resolve(e,t);if(n){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var o=function(){n.constructor.call(this,e,t,r)};return o.prototype=n,new o}e.type||(e.type=e.members?"structure":e.member?"list":e.key?"map":"string");var s=e.type;if(a.normalizedTypes[e.type]&&(e.type=a.normalizedTypes[e.type]),a.types[e.type])return new a.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+s)},a.shapes={StructureShape:c,ListShape:l,MapShape:f,StringShape:h,BooleanShape:v,Base64Shape:d},e.exports=a},oGmC:function(e,t,r){var n=r("tjlA").Buffer;"undefined"!=typeof ArrayBuffer&&void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(e){return i.indexOf(Object.prototype.toString.call(e))>-1});var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];e.exports={isEmptyData:function(e){return"string"==typeof e?0===e.length:0===e.byteLength},convertToBuffer:function(e){return"string"==typeof e&&(e=new n(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}}},p7JZ:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r1,i=!1,o=arguments[1],s=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{s=e(s,t)}catch(a){return r.error(a)}else s=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(s),r.complete()}})})}},{key:"concat",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=0&&i.splice(e,1),s()}});i.push(o)},error:function(e){n.error(e)},complete:function(){s()}});function s(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})}},{key:l,value:function(){return this}}],[{key:"from",value:function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=h(t,l);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return d(i)&&i.constructor===r?i:new r(function(e){return i.subscribe(e)})}if(a("iterator")&&(n=h(t,c)))return new r(function(e){y(function(){if(!e.closed){var r=!0,i=!1,o=void 0;try{for(var s,a=n.call(t)[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(e.next(s.value),e.closed)return}catch(u){i=!0,o=u}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}e.complete()}})});if(Array.isArray(t))return new r(function(e){y(function(){if(!e.closed){for(var r=0;r=0&&r.indexOf(n,a)===a)}return!1}var l="{ [native code] }";function f(e,t){var r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},r8II:function(e,t,r){"use strict";t.decode=t.parse=r("YcCt"),t.encode=t.stringify=r("6MUB")},rBIN:function(e,t,r){"use strict";r.d(t,"a",function(){return k}),r.d(t,"b",function(){return C}),r.d(t,"c",function(){return I});var n=r("hDgs");function i(){}var o=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=i),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getEntry(e);return t&&t.value},e.prototype.getEntry=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t},e.prototype.set=function(e,t){var r=this.getEntry(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),s=new n.a;function a(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var u=[];function c(e,t){if(!e)throw new Error(t||"assertion failure")}function l(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var f=function(){function e(t,r){this.fn=t,this.args=r,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!p(this))return this.value[0]},e.prototype.recompute=function(){return c(!this.recomputing,"already recomputing"),this,(e=s.getValue())&&(this.parents.add(e),e.childValues.has(this)||e.childValues.set(this,[]),p(this)?y(e,this):m(e,this)),p(this)?(b(this),s.withValue(this,h,[this]),function(e){if("function"==typeof e.subscribe)try{a(e),e.unsubscribe=e.subscribe.apply(null,e.args)}catch(t){return e.setDirty(),!1}return!0}(this)&&function(e){e.dirty=!1,p(e)||v(e)}(this),l(this.value)):l(this.value);var e},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,d(this),b(this),a(this))},e.prototype.dispose=function(){var e=this;b(this),a(this),this.parents.forEach(function(t){t.setDirty(),w(t,e)})},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=u.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(this.deps.forEach(function(t){return t.delete(e)}),this.deps.clear(),u.push(this.deps),this.deps=null)},e.count=0,e}();function h(e){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,e.args)}catch(t){e.value[1]=t}e.recomputing=!1}function p(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function d(e){e.parents.forEach(function(t){return y(t,e)})}function v(e){e.parents.forEach(function(t){return m(t,e)})}function y(e,t){if(c(e.childValues.has(t)),c(p(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=u.pop()||new Set;e.dirtyChildren.add(t),d(e)}function m(e,t){c(e.childValues.has(t)),c(!p(t));var r,n,i,o=e.childValues.get(t);0===o.length?e.childValues.set(t,t.value.slice(0)):(n=t.value,(i=(r=o).length)>0&&i===n.length&&r[i-1]===n[i-1]||e.setDirty()),g(e,t),p(e)||v(e)}function g(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(u.length<100&&u.push(r),e.dirtyChildren=null))}function b(e){e.childValues.size>0&&e.childValues.forEach(function(t,r){w(e,r)}),e.forgetDeps(),c(null===e.dirtyChildren)}function w(e,t){t.parents.delete(e),e.childValues.delete(t),g(e,t)}var S=function(){return Object.create(null)},E=Array.prototype,O=E.forEach,_=E.slice,k=function(){function e(e,t){void 0===t&&(t=S),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,h=String.fromCharCode;function p(e){throw RangeError(l[e])}function d(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function v(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+d((e=e.replace(c,".")).split("."),t).join(".")}function y(e){for(var t,r,n=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+h(e)}).join("")}function g(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function b(e,t,r){var n=0;for(e=r?f(e/700):e>>1,e+=f(e/t);e>455;n+=36)e=f(e/35);return f(n+36*e/(e+38))}function w(e){var t,r,n,i,o,a,u,c,l,h,d,v=[],y=e.length,g=0,w=128,S=72;for((r=e.lastIndexOf("-"))<0&&(r=0),n=0;n=128&&p("not-basic"),v.push(e.charCodeAt(n));for(i=r>0?r+1:0;i=y&&p("invalid-input"),((c=(d=e.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||c>f((s-g)/a))&&p("overflow"),g+=c*a,!(c<(l=u<=S?1:u>=S+26?26:u-S));u+=36)a>f(s/(h=36-l))&&p("overflow"),a*=h;S=b(g-o,t=v.length+1,0==o),f(g/t)>s-w&&p("overflow"),w+=f(g/t),g%=t,v.splice(g++,0,w)}return m(v)}function S(e){var t,r,n,i,o,a,u,c,l,d,v,m,w,S,E,O=[];for(m=(e=y(e)).length,t=128,r=0,o=72,a=0;a=t&&vf((s-r)/(w=n+1))&&p("overflow"),r+=(u-t)*w,t=u,a=0;as&&p("overflow"),v==t){for(c=r,l=36;!(c<(d=l<=o?1:l>=o+26?26:l-o));l+=36)O.push(h(g(d+(E=c-d)%(S=36-d),0))),c=f(E/S);O.push(h(g(c,0))),o=b(r,w,n==i),r=0,++n}++r,++t}return O.join("")}o={version:"1.3.2",ucs2:{decode:y,encode:m},decode:w,encode:S,toASCII:function(e){return v(e,function(e){return u.test(e)?"xn--"+S(e):e})},toUnicode:function(e){return v(e,function(e){return a.test(e)?w(e.slice(4).toLowerCase()):e})}},void 0===(n=(function(){return o}).call(t,r,t,e))||(e.exports=n)}()}).call(this,r("YuTi")(e))},rt19:function(e,t,r){var n=r("QsWE"),i=n.util.inherit,o=r("CNpV");function s(e){var t=e.request._waiter,r=!1,n="retry";t.config.acceptors.forEach(function(i){if(!r){var o=t.matchers[i.matcher];o&&o(e,i.expected,i.argument)&&(r=!0,n=i.state)}}),!r&&e.error&&(n="failure"),"success"===n?t.setSuccess(e):t.setError(e,"retry"===n)}n.ResourceWaiter=i({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var n=o.search(e.data,r)}catch(i){return!1}return o.strictDeepEqual(n,t)},pathAll:function(e,t,r){try{var n=o.search(e.data,r)}catch(a){return!1}Array.isArray(n)||(n=[n]);var i=n.length;if(!i)return!1;for(var s=0;s=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();n.util.computeSha256(o,function(r,n){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=n,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=function(e){if(!e.service.api.operations)return"";var t=e.service.api.operations[e.operation];return t?t.authtype:""}(e),r=n.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var i=n.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=i}catch(o){if(r&&r.isStreaming){if(r.requiresLength)throw o;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw o}throw o}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new n.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=n.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var o=t.date||t.Date,s=r.request.service;if(o){var a=Date.parse(o);s.config.correctClockSkew&&s.isClockSkewed(a)&&s.applyClockOffset(a)}}),e("HTTP_DATA","httpData",function(e,t){e&&(n.util.isNode()&&(t.httpResponse.numBytes+=e.length,t.request.emit("httpDownloadProgress",[{loaded:t.httpResponse.numBytes,total:t.httpResponse.headers["content-length"]},t])),t.httpResponse.buffers.push(n.util.buffer.toBuffer(e)))}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=n.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new n.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new i).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",n.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",n.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){"NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof n.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(n.util.getSystemErrorName(e.errno)>=0)}(e)&&(this.response.error=n.util.error(new Error("Inaccessible host: `"+e.hostname+"'. This service may not be available in the `"+e.region+"' region."),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e}))})}),Logger:(new i).addNamedListeners(function(e){e("LOG_REQUEST","complete",function(e){var t=e.request,i=t.service.config.logger;if(i){var o=function(){var o=(e.request.service.getSkewCorrectedDate().getTime()-t.startTime.getTime())/1e3,a=!!i.isTTY,u=e.httpResponse.statusCode,c=t.params;t.service.api.operations&&t.service.api.operations[t.operation]&&t.service.api.operations[t.operation].input&&(c=s(t.service.api.operations[t.operation].input,t.params));var l=r("MCLT").inspect(c,!0,null),f="";return a&&(f+="\x1b[33m"),f+="[AWS "+t.service.serviceIdentifier+" "+u,f+=" "+o.toString()+"s "+e.retryCount+" retries]",a&&(f+="\x1b[0;1m"),f+=" "+n.util.string.lowerFirst(t.operation),f+="("+l+")",a&&(f+="\x1b[0m"),f}();"function"==typeof i.log?i.log(o):"function"==typeof i.write&&i.write(o+"\n")}function s(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var r={};return n.util.each(t,function(t,n){r[t]=Object.prototype.hasOwnProperty.call(e.members,t)?s(e.members[t],n):n}),r;case"list":var i=[];return n.util.arrayEach(t,function(t,r){i.push(s(e.member,t))}),i;case"map":var o={};return n.util.each(t,function(t,r){o[t]=s(e.value,r)}),o;default:return t}}})}),Json:(new i).addNamedListeners(function(e){var t=r("BGYI");e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)}),Rest:(new i).addNamedListeners(function(e){var t=r("KFai");e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)}),RestJson:(new i).addNamedListeners(function(e){var t=r("9Gqe");e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)}),RestXml:(new i).addNamedListeners(function(e){var t=r("eFjS");e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)}),Query:(new i).addNamedListeners(function(e){var t=r("zfQR");e("BUILD","build",t.buildRequest),e("EXTRACT_DATA","extractData",t.extractData),e("EXTRACT_ERROR","extractError",t.extractError)})}},tVRC:function(e,t,r){var n=r("QsWE"),i=r("6Yqx");n.ChainableTemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=n.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new n.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=n.util.merge({params:t,credentials:e.masterCredentials||n.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(n,i){var o={};n?e(n):(i&&(o.TokenCode=i),t.service[r](o,function(r,n){r||t.service.credentialsFrom(n,t),e(r)}))})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var o=r;return r instanceof Error&&(o=r.message),void e(n.util.error(new Error("Error fetching MFA token: "+o),{code:t.errorCode}))}e(null,i)}):e(null)}})},tjlA:function(e,t,r){"use strict";var n=r("H7XF"),i=r("kVK+"),o=r("49sm");function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(n)return F(e).length;t=(""+t).toLowerCase(),n=!0}}function v(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return C(this,t,r);case"ascii":return A(this,t,r);case"latin1":case"binary":return R(this,t,r);case"base64":return k(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){var o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var l=-1;for(o=r;oa&&(r=a-u),o=r;o>=0;o--){for(var f=!0,h=0;hi&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s>8,i.push(r%256),i.push(n);return i}(t,e.length-r),e,r,n)}function k(e,t,r){return n.fromByteArray(0===t&&r===e.length?e:e.slice(t,r))}function C(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:s=e[i+2],128==(192&(o=e[i+1]))&&128==(192&s)&&(u=(15&c)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:s=e[i+2],a=e[i+3],128==(192&(o=e[i+1]))&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(n.push((l-=65536)>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;ni)&&(r=i);for(var o="",s=t;sr)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,r,n,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function P(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function N(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function q(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,o){return o||q(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function L(e,t,r,n,o){return o||q(e,0,r,8),i.write(e,t,r,n,52,8),r+8}t.Buffer=u,t.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?a(null,t):void 0!==r?"string"==typeof n?a(null,t).fill(r,n):a(null,t).fill(r):a(null,t)}(0,e,t,r)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(o,s),c=this.slice(n,i),l=e.slice(t,r),f=0;fi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return S(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||x(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||x(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||x(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||x(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||x(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||x(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||x(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||x(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||x(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||x(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||x(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||x(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){e=+e,t|=0,r|=0,n||j(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);j(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);j(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return L(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return L(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function U(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(D,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}},u8bp:function(e,t,r){var n=r("QsWE");n.CredentialProviderChain=n.util.inherit(n.Credentials,{constructor:function(e){this.providers=e||n.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){var t=this;if(0===t.providers.length)return e(new Error("No providers")),t;if(1===t.resolveCallbacks.push(e)){var r=0,i=t.providers.slice(0);!function e(o,s){if(!o&&s||r===i.length)return n.util.arrayEach(t.resolveCallbacks,function(e){e(o,s)}),void(t.resolveCallbacks.length=0);var a=i[r++];(s="function"==typeof a?a.call():a).get?s.get(function(t){e(t,t?null:s)}):e(null,s)}()}return t}}),n.CredentialProviderChain.defaultProviders=[],n.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=n.util.promisifyMethod("resolve",e)},n.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},n.util.addPromises(n.CredentialProviderChain)},ufpa:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)e!==i&&(e=i,o.dirty(n),t.forEach(c),a(r,function(t){return t(e)}));else{var u=s.getValue();u&&t.add(u),o(n)}return e};return n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}},n}function c(e){e.broadcastWatches&&e.broadcastWatches()}},v2L8:function(e,t,r){"use strict";r.d(t,"a",function(){return n}),r.d(t,"b",function(){return s}),r.d(t,"c",function(){return a});var n,i=r("qVdT");!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(n||(n={}));var o=new Map;function s(e){var t;switch(e){case n.Query:t="Query";break;case n.Mutation:t="Mutation";break;case n.Subscription:t="Subscription"}return t}function a(e){var t,r=o.get(e);if(r)return r;Object(i.b)(!!e&&!!e.kind,34);var s=e.definitions.filter(function(e){return"FragmentDefinition"===e.kind}),a=e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&"query"===e.operation}),u=e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}),c=e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation});Object(i.b)(!s.length||a.length||u.length||c.length,35),Object(i.b)(a.length+u.length+c.length<=1,36),t=a.length?n.Query:n.Mutation,a.length||u.length||(t=n.Subscription);var l=a.length?a:u.length?u:c;Object(i.b)(1===l.length,37);var f=l[0],h={name:f.name&&"Name"===f.name.kind?f.name.value:"data",type:t,variables:f.variableDefinitions||[]};return o.set(e,h),h}},vCGI:function(e,t,r){var n;e.exports=n=function(e){var t,r=e.localStorage||(t={},{setItem:function(e,r){t[e]=r},getItem:function(e){return t[e]},removeItem:function(e){delete t[e]}}),i=function(e,t){for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)){var n="Unknown property, "+r+". Valid properties are:";for(var i in t)t.hasOwnProperty(i)&&(n=n+" "+i);throw new Error(n)}if(typeof e[r]!==t[r])throw new Error(u(s.INVALID_TYPE,[typeof e[r],r]))}},o=function(e,t){return function(){return e.apply(t,arguments)}},s={OK:{code:0,text:"AMQJSC0000I OK."},CONNECT_TIMEOUT:{code:1,text:"AMQJSC0001E Connect timed out."},SUBSCRIBE_TIMEOUT:{code:2,text:"AMQJS0002E Subscribe timed out."},UNSUBSCRIBE_TIMEOUT:{code:3,text:"AMQJS0003E Unsubscribe timed out."},PING_TIMEOUT:{code:4,text:"AMQJS0004E Ping timed out."},INTERNAL_ERROR:{code:5,text:"AMQJS0005E Internal error. Error Message: {0}, Stack trace: {1}"},CONNACK_RETURNCODE:{code:6,text:"AMQJS0006E Bad Connack return code:{0} {1}."},SOCKET_ERROR:{code:7,text:"AMQJS0007E Socket error:{0}."},SOCKET_CLOSE:{code:8,text:"AMQJS0008I Socket closed."},MALFORMED_UTF:{code:9,text:"AMQJS0009E Malformed UTF data:{0} {1} {2}."},UNSUPPORTED:{code:10,text:"AMQJS0010E {0} is not supported by this browser."},INVALID_STATE:{code:11,text:"AMQJS0011E Invalid state {0}."},INVALID_TYPE:{code:12,text:"AMQJS0012E Invalid type {0} for {1}."},INVALID_ARGUMENT:{code:13,text:"AMQJS0013E Invalid argument {0} for {1}."},UNSUPPORTED_OPERATION:{code:14,text:"AMQJS0014E Unsupported operation."},INVALID_STORED_DATA:{code:15,text:"AMQJS0015E Invalid data in local storage key={0} value={1}."},INVALID_MQTT_MESSAGE_TYPE:{code:16,text:"AMQJS0016E Invalid MQTT message type {0}."},MALFORMED_UNICODE:{code:17,text:"AMQJS0017E Malformed Unicode string:{0} {1}."},BUFFER_FULL:{code:18,text:"AMQJS0018E Message buffer is full, maximum buffer size: {0}."}},a={0:"Connection Accepted",1:"Connection Refused: unacceptable protocol version",2:"Connection Refused: identifier rejected",3:"Connection Refused: server unavailable",4:"Connection Refused: bad user name or password",5:"Connection Refused: not authorized"},u=function(e,t){var r=e.text;if(t)for(var n,i,o=0;o0){var s=r.substring(0,i),a=r.substring(i+n.length);r=s+t[o]+a}return r},c=[0,6,77,81,73,115,100,112,3],l=[0,4,77,81,84,84,4],f=function(e,t){for(var r in this.type=e,t)t.hasOwnProperty(r)&&(this[r]=t[r])};function h(e,t){var r,i=t,o=e[t],s=o>>4,a=o&=15;t+=1;var u=0,c=1;do{if(t==e.length)return[null,i];u+=(127&(r=e[t++]))*c,c*=128}while(0!=(128&r));var l=t+u;if(l>e.length)return[null,i];var h=new f(s);switch(s){case 2:1&e[t++]&&(h.sessionPresent=!0),h.returnCode=e[t++];break;case 3:var p=a>>1&3,d=v(e,t),y=g(e,t+=2,d);t+=d,p>0&&(h.messageIdentifier=v(e,t),t+=2);var m=new n.Message(e.subarray(t,l));1==(1&a)&&(m.retained=!0),8==(8&a)&&(m.duplicate=!0),m.qos=p,m.destinationName=y,h.payloadMessage=m;break;case 4:case 5:case 6:case 7:case 11:h.messageIdentifier=v(e,t);break;case 9:h.messageIdentifier=v(e,t),h.returnCode=e.subarray(t+=2,l)}return[h,l]}function p(e,t,r){return t[r++]=e>>8,t[r++]=e%256,r}function d(e,t,r,n){return m(e,r,n=p(t,r,n)),n+t}function v(e,t){return 256*e[t]+e[t+1]}function y(e){for(var t=0,r=0;r2047?(55296<=n&&n<=56319&&(r++,t++),t+=3):n>127?t+=2:t++}return t}function m(e,t,r){for(var n=r,i=0;i>6&31|192,t[n++]=63&o|128):o<=65535?(t[n++]=o>>12&15|224,t[n++]=o>>6&63|128,t[n++]=63&o|128):(t[n++]=o>>18&7|240,t[n++]=o>>12&63|128,t[n++]=o>>6&63|128,t[n++]=63&o|128)}return t}function g(e,t,r){for(var n,i="",o=t;o65535&&(n-=65536,i+=String.fromCharCode(55296+(n>>10)),n=56320+(1023&n)),i+=String.fromCharCode(n)}return i}f.prototype.encode=function(){var e,t=(15&this.type)<<4,r=0,n=[],i=0;switch(void 0!==this.messageIdentifier&&(r+=2),this.type){case 1:switch(this.mqttVersion){case 3:r+=c.length+3;break;case 4:r+=l.length+3}r+=y(this.clientId)+2,void 0!==this.willMessage&&(r+=y(this.willMessage.destinationName)+2,(e=this.willMessage.payloadBytes)instanceof Uint8Array||(e=new Uint8Array(s)),r+=e.byteLength+2),void 0!==this.userName&&(r+=y(this.userName)+2),void 0!==this.password&&(r+=y(this.password)+2);break;case 8:t|=2;for(var o=0;o>=7)>0&&(n|=128),t[r++]=n}while(e>0&&r<4);return t}(r),u=a.length+1,f=new ArrayBuffer(r+u),h=new Uint8Array(f);if(h[0]=t,h.set(a,1),3==this.type)u=d(this.payloadMessage.destinationName,i,h,u);else if(1==this.type){switch(this.mqttVersion){case 3:h.set(c,u),u+=c.length;break;case 4:h.set(l,u),u+=l.length}var v=0;this.cleanSession&&(v=2),void 0!==this.willMessage&&(v|=4,v|=this.willMessage.qos<<3,this.willMessage.retained&&(v|=32)),void 0!==this.userName&&(v|=128),void 0!==this.password&&(v|=64),h[u++]=v,u=p(this.keepAliveInterval,h,u)}switch(void 0!==this.messageIdentifier&&(u=p(this.messageIdentifier,h,u)),this.type){case 1:u=d(this.clientId,y(this.clientId),h,u),void 0!==this.willMessage&&(u=d(this.willMessage.destinationName,y(this.willMessage.destinationName),h,u),u=p(e.byteLength,h,u),h.set(e,u),u+=e.byteLength),void 0!==this.userName&&(u=d(this.userName,y(this.userName),h,u)),void 0!==this.password&&(u=d(this.password,y(this.password),h,u));break;case 3:h.set(s,u);break;case 8:for(o=0;o0&&(this.timeout=setTimeout(n(this),this._keepAliveInterval))},this.cancel=function(){clearTimeout(this.timeout)}},w=function(e,t,r,n){t||(t=30),this.timeout=setTimeout(function(e,t,r){return function(){return e.apply(t,r)}}(r,e,n),1e3*t),this.cancel=function(){clearTimeout(this.timeout)}},S=function(t,n,i,o,a){if(!("WebSocket"in e)||null===e.WebSocket)throw new Error(u(s.UNSUPPORTED,["WebSocket"]));if(!("ArrayBuffer"in e)||null===e.ArrayBuffer)throw new Error(u(s.UNSUPPORTED,["ArrayBuffer"]));for(var c in this._trace("Paho.Client",t,n,i,o,a),this.host=n,this.port=i,this.path=o,this.uri=t,this.clientId=a,this._wsuri=null,this._localKey=n+":"+i+("/mqtt"!=o?":"+o:"")+":"+a+":",this._msg_queue=[],this._buffered_msg_queue=[],this._sentMessages={},this._receivedMessages={},this._notify_msg_sent={},this._message_identifier=1,this._sequence=0,r)0!==c.indexOf("Sent:"+this._localKey)&&0!==c.indexOf("Received:"+this._localKey)||this.restore(c)};S.prototype.host=null,S.prototype.port=null,S.prototype.path=null,S.prototype.uri=null,S.prototype.clientId=null,S.prototype.socket=null,S.prototype.connected=!1,S.prototype.maxMessageIdentifier=65536,S.prototype.connectOptions=null,S.prototype.hostIndex=null,S.prototype.onConnected=null,S.prototype.onConnectionLost=null,S.prototype.onMessageDelivered=null,S.prototype.onMessageArrived=null,S.prototype.traceFunction=null,S.prototype._msg_queue=null,S.prototype._buffered_msg_queue=null,S.prototype._connectTimeout=null,S.prototype.sendPinger=null,S.prototype.receivePinger=null,S.prototype._reconnectInterval=1,S.prototype._reconnecting=!1,S.prototype._reconnectTimeout=null,S.prototype.disconnectedPublishing=!1,S.prototype.disconnectedBufferSize=5e3,S.prototype.receiveBuffer=null,S.prototype._traceBuffer=null,S.prototype._MAX_TRACE_ENTRIES=100,S.prototype.connect=function(e){var t=this._traceMask(e,"password");if(this._trace("Client.connect",t,this.socket,this.connected),this.connected)throw new Error(u(s.INVALID_STATE,["already connected"]));if(this.socket)throw new Error(u(s.INVALID_STATE,["already connected"]));this._reconnecting&&(this._reconnectTimeout.cancel(),this._reconnectTimeout=null,this._reconnecting=!1),this.connectOptions=e,this._reconnectInterval=1,this._reconnecting=!1,e.uris?(this.hostIndex=0,this._doConnect(e.uris[0])):this._doConnect(this.uri)},S.prototype.subscribe=function(e,t){if(this._trace("Client.subscribe",e,t),!this.connected)throw new Error(u(s.INVALID_STATE,["not connected"]));var r=new f(8);r.topics=[e],r.requestedQos=void 0!==t.qos?[t.qos]:[0],t.onSuccess&&(r.onSuccess=function(e){t.onSuccess({invocationContext:t.invocationContext,grantedQos:e})}),t.onFailure&&(r.onFailure=function(e){t.onFailure({invocationContext:t.invocationContext,errorCode:e,errorMessage:u(e)})}),t.timeout&&(r.timeOut=new w(this,t.timeout,t.onFailure,[{invocationContext:t.invocationContext,errorCode:s.SUBSCRIBE_TIMEOUT.code,errorMessage:u(s.SUBSCRIBE_TIMEOUT)}])),this._requires_ack(r),this._schedule_message(r)},S.prototype.unsubscribe=function(e,t){if(this._trace("Client.unsubscribe",e,t),!this.connected)throw new Error(u(s.INVALID_STATE,["not connected"]));var r=new f(10);r.topics=[e],t.onSuccess&&(r.callback=function(){t.onSuccess({invocationContext:t.invocationContext})}),t.timeout&&(r.timeOut=new w(this,t.timeout,t.onFailure,[{invocationContext:t.invocationContext,errorCode:s.UNSUBSCRIBE_TIMEOUT.code,errorMessage:u(s.UNSUBSCRIBE_TIMEOUT)}])),this._requires_ack(r),this._schedule_message(r)},S.prototype.send=function(e){this._trace("Client.send",e);var t=new f(3);if(t.payloadMessage=e,this.connected)e.qos>0?this._requires_ack(t):this.onMessageDelivered&&(this._notify_msg_sent[t]=this.onMessageDelivered(t.payloadMessage)),this._schedule_message(t);else{if(!this._reconnecting||!this.disconnectedPublishing)throw new Error(u(s.INVALID_STATE,["not connected"]));if(Object.keys(this._sentMessages).length+this._buffered_msg_queue.length>this.disconnectedBufferSize)throw new Error(u(s.BUFFER_FULL,[this.disconnectedBufferSize]));e.qos>0?this._requires_ack(t):(t.sequence=++this._sequence,this._buffered_msg_queue.unshift(t))}},S.prototype.disconnect=function(){if(this._trace("Client.disconnect"),this._reconnecting&&(this._reconnectTimeout.cancel(),this._reconnectTimeout=null,this._reconnecting=!1),!this.socket)throw new Error(u(s.INVALID_STATE,["not connecting or connected"]));var e=new f(14);this._notify_msg_sent[e]=o(this._disconnected,this),this._schedule_message(e)},S.prototype.getTraceLog=function(){if(null!==this._traceBuffer){for(var e in this._trace("Client.getTraceLog",new Date),this._trace("Client.getTraceLog in flight messages",this._sentMessages.length),this._sentMessages)this._trace("_sentMessages ",e,this._sentMessages[e]);for(var e in this._receivedMessages)this._trace("_receivedMessages ",e,this._receivedMessages[e]);return this._traceBuffer}},S.prototype.startTrace=function(){null===this._traceBuffer&&(this._traceBuffer=[]),this._trace("Client.startTrace",new Date,"@VERSION@-@BUILDLEVEL@")},S.prototype.stopTrace=function(){delete this._traceBuffer},S.prototype._doConnect=function(e){if(this.connectOptions.useSSL){var t=e.split(":");t[0]="wss",e=t.join(":")}this._wsuri=e,this.connected=!1,this.socket=this.connectOptions.mqttVersion<4?new WebSocket(e,["mqttv3.1"]):new WebSocket(e,["mqtt"]),this.socket.binaryType="arraybuffer",this.socket.onopen=o(this._on_socket_open,this),this.socket.onmessage=o(this._on_socket_message,this),this.socket.onerror=o(this._on_socket_error,this),this.socket.onclose=o(this._on_socket_close,this),this.sendPinger=new b(this,this.connectOptions.keepAliveInterval),this.receivePinger=new b(this,this.connectOptions.keepAliveInterval),this._connectTimeout&&(this._connectTimeout.cancel(),this._connectTimeout=null),this._connectTimeout=new w(this,this.connectOptions.timeout,this._disconnected,[s.CONNECT_TIMEOUT.code,u(s.CONNECT_TIMEOUT)])},S.prototype._schedule_message=function(e){this._msg_queue.unshift(e),this.connected&&this._process_queue()},S.prototype.store=function(e,t){var n={type:t.type,messageIdentifier:t.messageIdentifier,version:1};switch(t.type){case 3:t.pubRecReceived&&(n.pubRecReceived=!0),n.payloadMessage={};for(var i="",o=t.payloadMessage.payloadBytes,a=0;a=2;){var p=parseInt(a.substring(0,2),16);a=a.substring(2,a.length),l[h++]=p}var d=new n.Message(l);d.qos=i.payloadMessage.qos,d.destinationName=i.payloadMessage.destinationName,i.payloadMessage.duplicate&&(d.duplicate=!0),i.payloadMessage.retained&&(d.retained=!0),o.payloadMessage=d;break;default:throw Error(u(s.INVALID_STORED_DATA,[e,t]))}0===e.indexOf("Sent:"+this._localKey)?(o.payloadMessage.duplicate=!0,this._sentMessages[o.messageIdentifier]=o):0===e.indexOf("Received:"+this._localKey)&&(this._receivedMessages[o.messageIdentifier]=o)},S.prototype._process_queue=function(){for(var e=null;e=this._msg_queue.pop();)this._socket_send(e),this._notify_msg_sent[e]&&(this._notify_msg_sent[e](),delete this._notify_msg_sent[e])},S.prototype._requires_ack=function(e){var t=Object.keys(this._sentMessages).length;if(t>this.maxMessageIdentifier)throw Error("Too many messages:"+t);for(;void 0!==this._sentMessages[this._message_identifier];)this._message_identifier++;e.messageIdentifier=this._message_identifier,this._sentMessages[e.messageIdentifier]=e,3===e.type&&this.store("Sent:",e),this._message_identifier===this.maxMessageIdentifier&&(this._message_identifier=1)},S.prototype._on_socket_open=function(){var e=new f(1,this.connectOptions);e.clientId=this.clientId,this._socket_send(e)},S.prototype._on_socket_message=function(e){this._trace("Client._on_socket_message",e.data);for(var t=this._deframeMessages(e.data),r=0;r0)for(var o=null;o=this._buffered_msg_queue.pop();)n.push(o),this.onMessageDelivered&&(this._notify_msg_sent[o]=this.onMessageDelivered(o.payloadMessage));n=n.sort(function(e,t){return e.sequence-t.sequence});for(var c=0,l=n.length;c65535)throw new Error(u(s.INVALID_ARGUMENT,[n,"clientId"]));var p=new S(o,e,t,r,n);Object.defineProperties(this,{host:{get:function(){return e},set:function(){throw new Error(u(s.UNSUPPORTED_OPERATION))}},port:{get:function(){return t},set:function(){throw new Error(u(s.UNSUPPORTED_OPERATION))}},path:{get:function(){return r},set:function(){throw new Error(u(s.UNSUPPORTED_OPERATION))}},uri:{get:function(){return o},set:function(){throw new Error(u(s.UNSUPPORTED_OPERATION))}},clientId:{get:function(){return p.clientId},set:function(){throw new Error(u(s.UNSUPPORTED_OPERATION))}},onConnected:{get:function(){return p.onConnected},set:function(e){if("function"!=typeof e)throw new Error(u(s.INVALID_TYPE,[typeof e,"onConnected"]));p.onConnected=e}},disconnectedPublishing:{get:function(){return p.disconnectedPublishing},set:function(e){p.disconnectedPublishing=e}},disconnectedBufferSize:{get:function(){return p.disconnectedBufferSize},set:function(e){p.disconnectedBufferSize=e}},onConnectionLost:{get:function(){return p.onConnectionLost},set:function(e){if("function"!=typeof e)throw new Error(u(s.INVALID_TYPE,[typeof e,"onConnectionLost"]));p.onConnectionLost=e}},onMessageDelivered:{get:function(){return p.onMessageDelivered},set:function(e){if("function"!=typeof e)throw new Error(u(s.INVALID_TYPE,[typeof e,"onMessageDelivered"]));p.onMessageDelivered=e}},onMessageArrived:{get:function(){return p.onMessageArrived},set:function(e){if("function"!=typeof e)throw new Error(u(s.INVALID_TYPE,[typeof e,"onMessageArrived"]));p.onMessageArrived=e}},trace:{get:function(){return p.traceFunction},set:function(e){if("function"!=typeof e)throw new Error(u(s.INVALID_TYPE,[typeof e,"onTrace"]));p.traceFunction=e}}}),this.connect=function(e){if(i(e=e||{},{timeout:"number",userName:"string",password:"string",willMessage:"object",keepAliveInterval:"number",cleanSession:"boolean",useSSL:"boolean",invocationContext:"object",onSuccess:"function",onFailure:"function",hosts:"object",ports:"object",reconnect:"boolean",mqttVersion:"number",mqttVersionExplicit:"boolean",uris:"object"}),void 0===e.keepAliveInterval&&(e.keepAliveInterval=60),e.mqttVersion>4||e.mqttVersion<3)throw new Error(u(s.INVALID_ARGUMENT,[e.mqttVersion,"connectOptions.mqttVersion"]));if(void 0===e.mqttVersion?(e.mqttVersionExplicit=!1,e.mqttVersion=4):e.mqttVersionExplicit=!0,void 0!==e.password&&void 0===e.userName)throw new Error(u(s.INVALID_ARGUMENT,[e.password,"connectOptions.password"]));if(e.willMessage){if(!(e.willMessage instanceof E))throw new Error(u(s.INVALID_TYPE,[e.willMessage,"connectOptions.willMessage"]));if(e.willMessage.stringPayload=null,void 0===e.willMessage.destinationName)throw new Error(u(s.INVALID_TYPE,[typeof e.willMessage.destinationName,"connectOptions.willMessage.destinationName"]))}if(void 0===e.cleanSession&&(e.cleanSession=!0),e.hosts){if(!(e.hosts instanceof Array))throw new Error(u(s.INVALID_ARGUMENT,[e.hosts,"connectOptions.hosts"]));if(e.hosts.length<1)throw new Error(u(s.INVALID_ARGUMENT,[e.hosts,"connectOptions.hosts"]));for(var t=!1,n=0;n=3&&(i.qos=r),arguments.length>=4&&(i.retained=n),p.send(i)},this.publish=function(e,t,r,n){var i;if(0===arguments.length)throw new Error("Invalid argument.length");if(1==arguments.length){if(!(e instanceof E)&&"string"!=typeof e)throw new Error("Invalid argument:"+typeof e);if(void 0===(i=e).destinationName)throw new Error(u(s.INVALID_ARGUMENT,[i.destinationName,"Message.destinationName"]));p.send(i)}else(i=new E(t)).destinationName=e,arguments.length>=3&&(i.qos=r),arguments.length>=4&&(i.retained=n),p.send(i)},this.disconnect=function(){p.disconnect()},this.getTraceLog=function(){return p.getTraceLog()},this.startTrace=function(){p.startTrace()},this.stopTrace=function(){p.stopTrace()},this.isConnected=function(){return p.connected}},Message:E}}("undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},vFq9:function(e,t,r){var n=r("QsWE"),i=r("6Yqx");n.SAMLCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,n){r||t.service.credentialsFrom(n,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},viRO:function(e,t,r){"use strict";var n=r("MgzW"),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var s=60109,a=60110,u=60112;t.Suspense=60113;var c=60115,l=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),o=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),s=f("react.provider"),a=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),l=f("react.lazy")}var h="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new n(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},o.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,n,i=this.h0,o=this.h1,s=this.h2,a=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=a^o&(s^a),n=1518500249):e<40?(r=o^s^a,n=1859775393):e<60?(r=o&s|a&(o|s),n=2400959708):(r=o^s^a,n=3395469782);var c=(i<<5|i>>>27)+r+u+n+(0|this.block[e]);u=a,a=s,s=o<<30|o>>>2,o=i,i=c}for(this.h0=this.h0+i|0,this.h1=this.h1+o|0,this.h2=this.h2+s|0,this.h3=this.h3+a|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},wgVK:function(e,t,r){"use strict";var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t0||n?o.toString():""},e.exports=s},xDdU:function(e,t,r){var n,i,o=r("4fRq"),s=r("I2ZF"),a=0,u=0;e.exports=function(e,t,r){var c=t&&r||0,l=t||[],f=(e=e||{}).node||n,h=void 0!==e.clockseq?e.clockseq:i;if(null==f||null==h){var p=o();null==f&&(f=n=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==h&&(h=i=16383&(p[6]<<8|p[7]))}var d=void 0!==e.msecs?e.msecs:(new Date).getTime(),v=void 0!==e.nsecs?e.nsecs:u+1,y=d-a+(v-u)/1e4;if(y<0&&void 0===e.clockseq&&(h=h+1&16383),(y<0||d>a)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=d,u=v,i=h;var m=(1e4*(268435455&(d+=122192928e5))+v)%4294967296;l[c++]=m>>>24&255,l[c++]=m>>>16&255,l[c++]=m>>>8&255,l[c++]=255&m;var g=d/4294967296*1e4&268435455;l[c++]=g>>>8&255,l[c++]=255&g,l[c++]=g>>>24&15|16,l[c++]=g>>>16&255,l[c++]=h>>>8|128,l[c++]=255&h;for(var b=0;b<6;++b)l[c+b]=f[b];return t||s(l)}},xWtM:function(e,t,r){var n=r("oGmC"),i=r("tjlA").Buffer;function o(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function s(e,t,r,n,i,o){return((t=(t+e&4294967295)+(n+o&4294967295)&4294967295)<>>32-i)+r&4294967295}function a(e,t,r,n,i,o,a){return s(t&r|~t&n,e,t,i,o,a)}function u(e,t,r,n,i,o,a){return s(t&n|r&~n,e,t,i,o,a)}function c(e,t,r,n,i,o,a){return s(t^r^n,e,t,i,o,a)}function l(e,t,r,n,i,o,a){return s(r^(t|~n),e,t,i,o,a)}e.exports=o,o.BLOCK_SIZE=64,o.prototype.update=function(e){if(n.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=n.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},o.prototype.digest=function(e){if(!this.finished){var t=this.buffer,r=this.bufferLength,n=8*this.bytesHashed;if(t.setUint8(this.bufferLength++,128),r%64>=56){for(var o=this.bufferLength;o<64;o++)t.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(o=this.bufferLength;o<56;o++)t.setUint8(o,0);t.setUint32(56,n>>>0,!0),t.setUint32(60,Math.floor(n/4294967296),!0),this.hashBuffer(),this.finished=!0}var s=new DataView(new ArrayBuffer(16));for(o=0;o<4;o++)s.setUint32(4*o,this.state[o],!0);var a=new i(s.buffer,s.byteOffset,s.byteLength);return e?a.toString(e):a},o.prototype.hashBuffer=function(){var e=this.buffer,t=this.state,r=t[0],n=t[1],i=t[2],o=t[3];r=a(r,n,i,o,e.getUint32(0,!0),7,3614090360),o=a(o,r,n,i,e.getUint32(4,!0),12,3905402710),i=a(i,o,r,n,e.getUint32(8,!0),17,606105819),n=a(n,i,o,r,e.getUint32(12,!0),22,3250441966),r=a(r,n,i,o,e.getUint32(16,!0),7,4118548399),o=a(o,r,n,i,e.getUint32(20,!0),12,1200080426),i=a(i,o,r,n,e.getUint32(24,!0),17,2821735955),n=a(n,i,o,r,e.getUint32(28,!0),22,4249261313),r=a(r,n,i,o,e.getUint32(32,!0),7,1770035416),o=a(o,r,n,i,e.getUint32(36,!0),12,2336552879),i=a(i,o,r,n,e.getUint32(40,!0),17,4294925233),n=a(n,i,o,r,e.getUint32(44,!0),22,2304563134),r=a(r,n,i,o,e.getUint32(48,!0),7,1804603682),o=a(o,r,n,i,e.getUint32(52,!0),12,4254626195),i=a(i,o,r,n,e.getUint32(56,!0),17,2792965006),r=u(r,n=a(n,i,o,r,e.getUint32(60,!0),22,1236535329),i,o,e.getUint32(4,!0),5,4129170786),o=u(o,r,n,i,e.getUint32(24,!0),9,3225465664),i=u(i,o,r,n,e.getUint32(44,!0),14,643717713),n=u(n,i,o,r,e.getUint32(0,!0),20,3921069994),r=u(r,n,i,o,e.getUint32(20,!0),5,3593408605),o=u(o,r,n,i,e.getUint32(40,!0),9,38016083),i=u(i,o,r,n,e.getUint32(60,!0),14,3634488961),n=u(n,i,o,r,e.getUint32(16,!0),20,3889429448),r=u(r,n,i,o,e.getUint32(36,!0),5,568446438),o=u(o,r,n,i,e.getUint32(56,!0),9,3275163606),i=u(i,o,r,n,e.getUint32(12,!0),14,4107603335),n=u(n,i,o,r,e.getUint32(32,!0),20,1163531501),r=u(r,n,i,o,e.getUint32(52,!0),5,2850285829),o=u(o,r,n,i,e.getUint32(8,!0),9,4243563512),i=u(i,o,r,n,e.getUint32(28,!0),14,1735328473),r=c(r,n=u(n,i,o,r,e.getUint32(48,!0),20,2368359562),i,o,e.getUint32(20,!0),4,4294588738),o=c(o,r,n,i,e.getUint32(32,!0),11,2272392833),i=c(i,o,r,n,e.getUint32(44,!0),16,1839030562),n=c(n,i,o,r,e.getUint32(56,!0),23,4259657740),r=c(r,n,i,o,e.getUint32(4,!0),4,2763975236),o=c(o,r,n,i,e.getUint32(16,!0),11,1272893353),i=c(i,o,r,n,e.getUint32(28,!0),16,4139469664),n=c(n,i,o,r,e.getUint32(40,!0),23,3200236656),r=c(r,n,i,o,e.getUint32(52,!0),4,681279174),o=c(o,r,n,i,e.getUint32(0,!0),11,3936430074),i=c(i,o,r,n,e.getUint32(12,!0),16,3572445317),n=c(n,i,o,r,e.getUint32(24,!0),23,76029189),r=c(r,n,i,o,e.getUint32(36,!0),4,3654602809),o=c(o,r,n,i,e.getUint32(48,!0),11,3873151461),i=c(i,o,r,n,e.getUint32(60,!0),16,530742520),r=l(r,n=c(n,i,o,r,e.getUint32(8,!0),23,3299628645),i,o,e.getUint32(0,!0),6,4096336452),o=l(o,r,n,i,e.getUint32(28,!0),10,1126891415),i=l(i,o,r,n,e.getUint32(56,!0),15,2878612391),n=l(n,i,o,r,e.getUint32(20,!0),21,4237533241),r=l(r,n,i,o,e.getUint32(48,!0),6,1700485571),o=l(o,r,n,i,e.getUint32(12,!0),10,2399980690),i=l(i,o,r,n,e.getUint32(40,!0),15,4293915773),n=l(n,i,o,r,e.getUint32(4,!0),21,2240044497),r=l(r,n,i,o,e.getUint32(32,!0),6,1873313359),o=l(o,r,n,i,e.getUint32(60,!0),10,4264355552),i=l(i,o,r,n,e.getUint32(24,!0),15,2734768916),n=l(n,i,o,r,e.getUint32(52,!0),21,1309151649),r=l(r,n,i,o,e.getUint32(16,!0),6,4149444226),o=l(o,r,n,i,e.getUint32(44,!0),10,3174756917),i=l(i,o,r,n,e.getUint32(8,!0),15,718787259),n=l(n,i,o,r,e.getUint32(36,!0),21,3951481745),t[0]=r+t[0]&4294967295,t[1]=n+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=o+t[3]&4294967295}},"xn+8":function(e,t,r){var n=r("QsWE"),i=r("ZHa6");n.util.update(n.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new n.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)},setupRequestListeners:function(e){e.addListener("validate",this.optInRegionalEndpoint,!0)},optInRegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.stsRegionalEndpoints=i(t._originalConfig,{env:"AWS_STS_REGIONAL_ENDPOINTS",sharedConfig:"sts_regional_endpoints",clientConfig:"stsRegionalEndpoints"}),"regional"===r.stsRegionalEndpoints&&t.isGlobalEndpoint){if(!r.region)throw n.util.error(new Error,{code:"ConfigError",message:"Missing region in config"});var o=r.endpoint.indexOf(".amazonaws.com"),s=r.endpoint.substring(0,o)+"."+r.region+r.endpoint.substring(o);e.httpRequest.updateEndpoint(s),e.httpRequest.region=r.region}}})},ynUr:function(e,t,r){var n=r("tjlA").Buffer,i=r("oGmC"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),s=Math.pow(2,53)-1;function a(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}e.exports=a,a.BLOCK_SIZE=64,a.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(i.isEmptyData(e))return this;var t=0,r=(e=i.convertToBuffer(e)).byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>s)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},a.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var o=this.bufferLength;o<64;o++)r.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(o=this.bufferLength;o<56;o++)r.setUint8(o,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}var s=new n(32);for(o=0;o<8;o++)s[4*o]=this.state[o]>>>24&255,s[4*o+1]=this.state[o]>>>16&255,s[4*o+2]=this.state[o]>>>8&255,s[4*o+3]=this.state[o]>>>0&255;return e?s.toString(e):s},a.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],i=t[2],s=t[3],a=t[4],u=t[5],c=t[6],l=t[7],f=0;f<64;f++){if(f<16)this.temp[f]=(255&e[4*f])<<24|(255&e[4*f+1])<<16|(255&e[4*f+2])<<8|255&e[4*f+3];else{var h=this.temp[f-2];this.temp[f]=(((h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)+this.temp[f-7]|0)+((((h=this.temp[f-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+this.temp[f-16]|0)}var p=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&u^~a&c)|0)+(l+(o[f]+this.temp[f]|0)|0)|0,d=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&i^n&i)|0;l=c,c=u,u=a,a=s+p|0,s=i,i=n,n=r,r=p+d|0}t[0]+=r,t[1]+=n,t[2]+=i,t[3]+=s,t[4]+=a,t[5]+=u,t[6]+=c,t[7]+=l}},"zC+P":function(e,t,r){"use strict";r.d(t,"c",function(){return i}),r.d(t,"a",function(){return o}),r.d(t,"e",function(){return s}),r.d(t,"b",function(){return a}),r.d(t,"d",function(){return u}),r.d(t,"f",function(){return c});var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(a),c=["%","/","?",";","#"].concat(u),l=["/","?","#"],f=/^[a-z0-9A-Z_-]{0,63}$/,h=/^([a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r("r8II");function m(e,t,r){if(e&&b(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}function g(e){return"string"==typeof e}function b(e){return"object"==typeof e&&null!==e}function w(e){return null===e}i.prototype.parse=function(e,t,r){if(!g(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e;i=i.trim();var s=o.exec(i);if(s){var a=(s=s[0]).toLowerCase();this.protocol=a,i=i.substr(s.length)}if(r||s||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var m="//"===i.substr(0,2);!m||s&&d[s]||(i=i.substr(2),this.slashes=!0)}if(!d[s]&&(m||s&&!v[s])){for(var b,w,S=-1,E=0;E127?R+="x":R+=A[T];if(!R.match(f)){var x=k.slice(0,E),j=k.slice(E+1),P=A.match(h);P&&(x.push(P[1]),j.unshift(P[2])),j.length&&(i="/"+j.join(".")+i),this.hostname=x.join(".");break}}}if(this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),!_){var N=this.hostname.split("."),q=[];for(E=0;E0)&&r.host.split("@"))&&(r.auth=m.shift(),r.host=r.hostname=m.shift())),r.search=e.search,r.query=e.query,w(r.pathname)&&w(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!c.length)return r.pathname=null,r.path=r.search?"/"+r.search:null,r.href=r.format(),r;for(var f=c.slice(-1)[0],h=(r.host||e.host)&&("."===f||".."===f)||""===f,p=0,y=c.length;y>=0;y--)"."==(f=c[y])?c.splice(y,1):".."===f?(c.splice(y,1),p++):p&&(c.splice(y,1),p--);if(!a&&!u)for(;p--;p)c.unshift("..");!a||""===c[0]||c[0]&&"/"===c[0].charAt(0)||c.unshift(""),h&&"/"!==c.join("/").substr(-1)&&c.push("");var m,b=""===c[0]||c[0]&&"/"===c[0].charAt(0);return l&&(r.hostname=r.host=b?"":c.length?c.shift():"",(m=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=m.shift(),r.host=r.hostname=m.shift())),(a=a||r.host&&c.length)&&!b&&c.unshift(""),c.length?r.pathname=c.join("/"):(r.pathname=null,r.path=null),w(r.pathname)&&w(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},zfQR:function(e,t,r){var n=r("QsWE"),i=r("BaN1"),o=r("gaZ0"),s=r("nyFZ"),a=r("lSFX").populateHostPrefix;e.exports={buildRequest:function(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new o).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=i.queryParamsToString(r.params),a(e)},extractError:function(e){var t,r=e.httpResponse.body.toString();if(r.match(">>1|Z<<31)^(J>>>8|Z<<24)^(J>>>7|Z<<25),$=h[G-2],tt=$.high,et=$.low,rt=(et>>>19|tt<<13)^(et<<3|tt>>>29)^(et>>>6|tt<<26),it=h[G-7],nt=h[G-16],ot=nt.low;q.high=N=(N=(N=((Z>>>1|J<<31)^(Z>>>8|J<<24)^Z>>>7)+it.high+((Y=V+it.low)>>>0>>0?1:0))+((tt>>>19|et<<13)^(tt<<3|et>>>29)^tt>>>6)+((Y+=rt)>>>0>>0?1:0))+nt.high+((Y+=ot)>>>0>>0?1:0),q.low=Y}var st,at=P&W^~P&T,ct=L&K^~L&U,ht=z&E^z&R^E&R,lt=(I>>>28|z<<4)^(I<<30|z>>>2)^(I<<25|z>>>7),ft=c[G],ut=ft.low,dt=X+((P>>>14|L<<18)^(P>>>18|L<<14)^(P<<23|L>>>9))+((st=j+((L>>>14|P<<18)^(L>>>18|P<<14)^(L<<23|P>>>9)))>>>0>>0?1:0),pt=lt+(I&O^I&D^O&D);X=T,j=U,T=W,U=K,W=P,K=L,P=M+(dt=(dt=(dt=dt+at+((st+=ct)>>>0>>0?1:0))+ft.high+((st+=ut)>>>0>>0?1:0))+N+((st+=Y)>>>0>>0?1:0))+((L=F+st|0)>>>0>>0?1:0)|0,M=R,F=D,R=E,D=O,E=z,O=I,z=dt+(((z>>>28|I<<4)^(z<<30|I>>>2)^(z<<25|I>>>7))+ht+(pt>>>0>>0?1:0))+((I=st+pt|0)>>>0>>0?1:0)|0}p=i.low=p+I,i.high=d+z+(p>>>0>>0?1:0),_=n.low=_+O,n.high=v+E+(_>>>0>>0?1:0),g=o.low=g+D,o.high=y+R+(g>>>0>>0?1:0),w=s.low=w+F,s.high=B+M+(w>>>0>>0?1:0),x=a.low=x+L,a.high=k+P+(x>>>0>>0?1:0),S=l.low=S+K,l.high=b+W+(S>>>0>>0?1:0),C=f.low=C+U,f.high=m+T+(C>>>0>>0?1:0),H=u.low=H+j,u.high=A+X+(H>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[30+(i+128>>>10<<5)]=Math.floor(r/4294967296),e[31+(i+128>>>10<<5)]=r,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});t.SHA512=e._createHelper(l),t.HmacSHA512=e._createHmacHelper(l)}(),i.SHA512)},"3y9D":function(t,e,r){var i,n,o,s,a,c,h;t.exports=(h=r("Ib8C"),o=(n=(i=h).lib).WordArray,a=[],c=i.algo.SHA1=(s=n.Hasher).extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],c=r[4],h=0;h<80;h++){if(h<16)a[h]=0|t[e+h];else{var l=a[h-3]^a[h-8]^a[h-14]^a[h-16];a[h]=l<<1|l>>>31}var f=(i<<5|i>>>27)+c+a[h];f+=h<20?1518500249+(n&o|~n&s):h<40?1859775393+(n^o^s):h<60?(n&o|n&s|o&s)-1894007588:(n^o^s)-899497514,c=s,s=o,o=n<<30|n>>>2,n=i,i=f}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[14+(i+64>>>9<<4)]=Math.floor(r/4294967296),e[15+(i+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}}),i.SHA1=s._createHelper(c),i.HmacSHA1=s._createHmacHelper(c),h.SHA1)},"5hvy":function(t,e,r){var i;t.exports=(i=r("Ib8C"),r("MlIO"),function(t){var e=i,r=e.lib,n=r.WordArray,o=r.Hasher,s=e.x64.Word,a=e.algo,c=[],h=[],l=[];!function(){for(var t=1,e=0,r=0;r<24;r++){c[t+5*e]=(r+1)*(r+2)/2%64;var i=(2*t+3*e)%5;t=e%5,e=i}for(t=0;t<5;t++)for(e=0;e<5;e++)h[t+5*e]=e+(2*t+3*e)%5*5;for(var n=1,o=0;o<24;o++){for(var a=0,f=0,u=0;u<7;u++){if(1&n){var d=(1<>>24)|4278255360&(o<<24|o>>>8),(E=r[n]).high^=s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),E.low^=o}for(var a=0;a<24;a++){for(var u=0;u<5;u++){for(var d=0,p=0,v=0;v<5;v++)d^=(E=r[u+5*v]).high,p^=E.low;var _=f[u];_.high=d,_.low=p}for(u=0;u<5;u++){var y=f[(u+4)%5],g=f[(u+1)%5],B=g.high,w=g.low;for(d=y.high^(B<<1|w>>>31),p=y.low^(w<<1|B>>>31),v=0;v<5;v++)(E=r[u+5*v]).high^=d,E.low^=p}for(var k=1;k<25;k++){var x=(E=r[k]).high,b=E.low,S=c[k];S<32?(d=x<>>32-S,p=b<>>32-S):(d=b<>>64-S,p=x<>>64-S);var m=f[h[k]];m.high=d,m.low=p}var C=f[0],A=r[0];for(C.high=A.high,C.low=A.low,u=0;u<5;u++)for(v=0;v<5;v++){var H=f[k=u+5*v],z=f[(u+1)%5+5*v],I=f[(u+2)%5+5*v];(E=r[k]).high=H.high^~z.high&I.high,E.low=H.low^~z.low&I.low}var E,O=l[a];(E=r[0]).high^=O.high,E.low^=O.low}},_doFinalize:function(){var e=this._data,r=e.words,i=8*e.sigBytes,o=32*this.blockSize;r[i>>>5]|=1<<24-i%32,r[(t.ceil((i+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,h=[],l=0;l>>24)|4278255360&(u<<24|u>>>8),h.push(d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)),h.push(u)}return new n.init(h,a)},clone:function(){for(var t=o.clone.call(this),e=t._state=this._state.slice(0),r=0;r<25;r++)e[r]=e[r].clone();return t}});e.SHA3=o._createHelper(u),e.HmacSHA3=o._createHmacHelper(u)}(Math),i.SHA3)},"9OqN":function(t,e,r){var i,n,o;t.exports=(o=r("Ib8C"),r("OLod"),o.mode.CTR=(n=(i=o.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,n=this._iv,o=this._counter;n&&(o=this._counter=n.slice(0),this._iv=void 0);var s=o.slice(0);r.encryptBlock(s,0),o[i-1]=o[i-1]+1|0;for(var a=0;a>>24)|4278255360&(t[r]<<24|t[r]>>>8);var i=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)a.call(this);for(r=0;r<8;r++)n[r]^=i[r+4&7];if(e){var o=e.words,s=o[0],c=o[1],h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),f=h>>>16|4294901760&l,u=l<<16|65535&h;for(n[0]^=h,n[1]^=f,n[2]^=l,n[3]^=u,n[4]^=h,n[5]^=f,n[6]^=l,n[7]^=u,r=0;r<4;r++)a.call(this)}},_doProcessBlock:function(t,e){var i=this._X;a.call(this),r[0]=i[0]^i[5]>>>16^i[3]<<16,r[1]=i[2]^i[7]>>>16^i[5]<<16,r[2]=i[4]^i[1]>>>16^i[7]<<16,r[3]=i[6]^i[3]>>>16^i[1]<<16;for(var n=0;n<4;n++)r[n]=16711935&(r[n]<<8|r[n]>>>24)|4278255360&(r[n]<<24|r[n]>>>8),t[e+n]^=r[n]},blockSize:4,ivSize:2});function a(){for(var t=this._X,e=this._C,r=0;r<8;r++)n[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0>>0?1:0)|0,this._b=e[7]>>>0>>0?1:0,r=0;r<8;r++){var i=t[r]+e[r],s=65535&i,a=i>>>16;o[r]=((s*s>>>17)+s*a>>>15)+a*a^((4294901760&i)*i|0)+((65535&i)*i|0)}t[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,t[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,t[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,t[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,t[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,t[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,t[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,t[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.Rabbit=e._createHelper(s)}(),i.Rabbit)},ELcG:function(t,e,r){var i;t.exports=(i=r("Ib8C"),function(t){var e=i,r=e.lib,n=r.WordArray,o=r.Hasher,s=e.algo,a=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),h=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=n.create([0,1518500249,1859775393,2400959708,2840853838]),u=n.create([1352829926,1548603684,1836072691,2053994217,0]),d=s.RIPEMD160=o.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var i=e+r,n=t[i];t[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var o,s,d,w,k,x,b,S,m,C,A,H=this._hash.words,z=f.words,I=u.words,E=a.words,O=c.words,R=h.words,D=l.words;for(x=o=H[0],b=s=H[1],S=d=H[2],m=w=H[3],C=k=H[4],r=0;r<80;r+=1)A=o+t[e+E[r]]|0,A+=r<16?p(s,d,w)+z[0]:r<32?v(s,d,w)+z[1]:r<48?_(s,d,w)+z[2]:r<64?y(s,d,w)+z[3]:g(s,d,w)+z[4],A=(A=B(A|=0,R[r]))+k|0,o=k,k=w,w=B(d,10),d=s,s=A,A=x+t[e+O[r]]|0,A+=r<16?g(b,S,m)+I[0]:r<32?y(b,S,m)+I[1]:r<48?_(b,S,m)+I[2]:r<64?v(b,S,m)+I[3]:p(b,S,m)+I[4],A=(A=B(A|=0,D[r]))+C|0,x=C,C=m,m=B(S,10),S=b,b=A;A=H[1]+d+m|0,H[1]=H[2]+w+C|0,H[2]=H[3]+k+x|0,H[3]=H[4]+o+b|0,H[4]=H[0]+s+S|0,H[0]=A},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32,e[14+(i+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(e.length+1),this._process();for(var n=this._hash,o=n.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return n},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function p(t,e,r){return t^e^r}function v(t,e,r){return t&e|~t&r}function _(t,e,r){return(t|~e)^r}function y(t,e,r){return t&r|e&~r}function g(t,e,r){return t^(e|~r)}function B(t,e){return t<>>32-e}e.RIPEMD160=o._createHelper(d),e.HmacRIPEMD160=o._createHmacHelper(d)}(Math),i.RIPEMD160)},ETIr:function(t,e,r){var i,n;t.exports=(i=r("Ib8C"),n=i.lib.WordArray,i.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,i=this._map;t.clamp();for(var n=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a>>6*(3-a)&63));var c=i.charAt(64);if(c)for(;n.length%4;)n.push(c);return n.join("")},parse:function(t){var e=t.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o>>6-s%4*2;i[o>>>2]|=(a|c)<<24-o%4*8,o++}return n.create(i,o)}(t,e,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)},"F+F2":function(t,e,r){var i;t.exports=(i=r("Ib8C"),function(){if("function"==typeof ArrayBuffer){var t=i.lib.WordArray,e=t.init;(t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var r=t.byteLength,i=[],n=0;n>>2]|=t[n]<<24-n%4*8;e.call(this,i,r)}else e.apply(this,arguments)}).prototype=t}}(),i.lib.WordArray)},GRuw:function(t,e,r){var i,n,o,s,a,c;t.exports=(c=r("Ib8C"),r("lPiR"),n=(i=c).lib.WordArray,a=(o=i.algo).SHA224=(s=o.SHA256).extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=s._doFinalize.call(this);return t.sigBytes-=4,t}}),i.SHA224=s._createHelper(a),i.HmacSHA224=s._createHmacHelper(a),c.SHA224)},Ib8C:function(t,e,r){var i;t.exports=i=i||function(t,e){var r=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),i={},n=i.lib={},o=n.Base={extend:function(t){var e=r(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},s=n.WordArray=o.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var e=this.words,r=t.words,i=this.sigBytes,n=t.sigBytes;if(this.clamp(),i%4)for(var o=0;o>>2]|=(r[o>>>2]>>>24-o%4*8&255)<<24-(i+o)%4*8;else for(o=0;o>>2]=r[o>>>2];return this.sigBytes+=n,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var r,i=[],n=function(e){e=e;var r=987654321,i=4294967295;return function(){var n=((r=36969*(65535&r)+(r>>16)&i)<<16)+(e=18e3*(65535&e)+(e>>16)&i)&i;return n/=4294967296,(n+=.5)*(t.random()>.5?1:-1)}},o=0;o>>2]>>>24-n%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new s.init(r,e/2)}},h=a.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n>>2]>>>24-n%4*8&255));return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new s.init(r,e)}},l=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},f=n.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=l.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r=this._data,i=r.words,n=r.sigBytes,o=this.blockSize,a=n/(4*o),c=(a=e?t.ceil(a):t.max((0|a)-this._minBufferSize,0))*o,h=t.min(4*c,n);if(c){for(var l=0;l>>2]>>>24-r%4*8&255);)r--;t.sigBytes=r+1}},i.pad.ZeroPadding)},MlIO:function(t,e,r){var i,n,o,s,a;t.exports=(i=r("Ib8C"),o=(n=i.lib).Base,s=n.WordArray,(a=i.x64={}).Word=o.extend({init:function(t,e){this.high=t,this.low=e}}),a.WordArray=o.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:8*t.length},toX32:function(){for(var t=this.words,e=t.length,r=[],i=0;i>>2]}},o.BlockCipher=f.extend({cfg:f.cfg.extend({mode:p,padding:v}),reset:function(){f.reset.call(this);var t=this.cfg,e=t.iv,r=t.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=r.createEncryptor;else i=r.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==i?this._mode.init(this,e&&e.words):(this._mode=i.call(r,this,e&&e.words),this._mode.__creator=i)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){t.pad(this._data,this.blockSize);var e=this._process(!0)}else e=this._process(!0),t.unpad(e);return e},blockSize:4}),_=o.CipherParams=s.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}}),y=(n.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,r=t.salt;if(r)var i=a.create([1398893684,1701076831]).concat(r).concat(e);else i=e;return i.toString(h)},parse:function(t){var e=h.parse(t),r=e.words;if(1398893684==r[0]&&1701076831==r[1]){var i=a.create(r.slice(2,4));r.splice(0,4),e.sigBytes-=16}return _.create({ciphertext:e,salt:i})}},g=o.SerializableCipher=s.extend({cfg:s.extend({format:y}),encrypt:function(t,e,r,i){i=this.cfg.extend(i);var n=t.createEncryptor(r,i),o=n.finalize(e),s=n.cfg;return _.create({ciphertext:o,key:r,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:i.format})},decrypt:function(t,e,r,i){return i=this.cfg.extend(i),e=this._parse(e,i.format),t.createDecryptor(r,i).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),B=(n.kdf={}).OpenSSL={execute:function(t,e,r,i){i||(i=a.random(8));var n=l.create({keySize:e+r}).compute(t,i),o=a.create(n.words.slice(e),4*r);return n.sigBytes=4*e,_.create({key:n,iv:o,salt:i})}},w=o.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:B}),encrypt:function(t,e,r,i){var n=(i=this.cfg.extend(i)).kdf.execute(r,t.keySize,t.ivSize);i.iv=n.iv;var o=g.encrypt.call(this,t,e,n.key,i);return o.mixIn(n),o},decrypt:function(t,e,r,i){i=this.cfg.extend(i),e=this._parse(e,i.format);var n=i.kdf.execute(r,t.keySize,t.ivSize,e.salt);return i.iv=n.iv,g.decrypt.call(this,t,e,n.key,i)}}))))},PVpz:function(t,e,r){var i;t.exports=(i=r("Ib8C"),r("ETIr"),r("cv67"),r("K3mO"),r("OLod"),function(){var t=i,e=t.lib.StreamCipher,r=[],n=[],o=[],s=t.algo.RabbitLegacy=e.extend({_doReset:function(){var t=this._key.words,e=this.cfg.iv,r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],i=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var n=0;n<4;n++)a.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(e){var o=e.words,s=o[0],c=o[1],h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),f=h>>>16|4294901760&l,u=l<<16|65535&h;for(i[0]^=h,i[1]^=f,i[2]^=l,i[3]^=u,i[4]^=h,i[5]^=f,i[6]^=l,i[7]^=u,n=0;n<4;n++)a.call(this)}},_doProcessBlock:function(t,e){var i=this._X;a.call(this),r[0]=i[0]^i[5]>>>16^i[3]<<16,r[1]=i[2]^i[7]>>>16^i[5]<<16,r[2]=i[4]^i[1]>>>16^i[7]<<16,r[3]=i[6]^i[3]>>>16^i[1]<<16;for(var n=0;n<4;n++)r[n]=16711935&(r[n]<<8|r[n]>>>24)|4278255360&(r[n]<<24|r[n]>>>8),t[e+n]^=r[n]},blockSize:4,ivSize:2});function a(){for(var t=this._X,e=this._C,r=0;r<8;r++)n[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0>>0?1:0)|0,this._b=e[7]>>>0>>0?1:0,r=0;r<8;r++){var i=t[r]+e[r],s=65535&i,a=i>>>16;o[r]=((s*s>>>17)+s*a>>>15)+a*a^((4294901760&i)*i|0)+((65535&i)*i|0)}t[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,t[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,t[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,t[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,t[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,t[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,t[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,t[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.RabbitLegacy=e._createHelper(s)}(),i.RabbitLegacy)},S6kV:function(t,e,r){var i,n,o;t.exports=(o=r("Ib8C"),r("OLod"),o.mode.OFB=(n=(i=o.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(t,e){var r=this._cipher,i=r.blockSize,n=this._iv,o=this._keystream;n&&(o=this._keystream=n.slice(0),this._iv=void 0),r.encryptBlock(o,0);for(var s=0;si&&(e=t.finalize(e)),e.clamp();for(var o=this._oKey=e.clone(),s=this._iKey=e.clone(),a=o.words,c=s.words,h=0;h>>24)|4278255360&(n<<24|n>>>8)}var o=this._hash.words,s=t[e+0],c=t[e+1],d=t[e+2],p=t[e+3],v=t[e+4],_=t[e+5],y=t[e+6],g=t[e+7],B=t[e+8],w=t[e+9],k=t[e+10],x=t[e+11],b=t[e+12],S=t[e+13],m=t[e+14],C=t[e+15],A=o[0],H=o[1],z=o[2],I=o[3];A=h(A,H,z,I,s,7,a[0]),I=h(I,A,H,z,c,12,a[1]),z=h(z,I,A,H,d,17,a[2]),H=h(H,z,I,A,p,22,a[3]),A=h(A,H,z,I,v,7,a[4]),I=h(I,A,H,z,_,12,a[5]),z=h(z,I,A,H,y,17,a[6]),H=h(H,z,I,A,g,22,a[7]),A=h(A,H,z,I,B,7,a[8]),I=h(I,A,H,z,w,12,a[9]),z=h(z,I,A,H,k,17,a[10]),H=h(H,z,I,A,x,22,a[11]),A=h(A,H,z,I,b,7,a[12]),I=h(I,A,H,z,S,12,a[13]),z=h(z,I,A,H,m,17,a[14]),A=l(A,H=h(H,z,I,A,C,22,a[15]),z,I,c,5,a[16]),I=l(I,A,H,z,y,9,a[17]),z=l(z,I,A,H,x,14,a[18]),H=l(H,z,I,A,s,20,a[19]),A=l(A,H,z,I,_,5,a[20]),I=l(I,A,H,z,k,9,a[21]),z=l(z,I,A,H,C,14,a[22]),H=l(H,z,I,A,v,20,a[23]),A=l(A,H,z,I,w,5,a[24]),I=l(I,A,H,z,m,9,a[25]),z=l(z,I,A,H,p,14,a[26]),H=l(H,z,I,A,B,20,a[27]),A=l(A,H,z,I,S,5,a[28]),I=l(I,A,H,z,d,9,a[29]),z=l(z,I,A,H,g,14,a[30]),A=f(A,H=l(H,z,I,A,b,20,a[31]),z,I,_,4,a[32]),I=f(I,A,H,z,B,11,a[33]),z=f(z,I,A,H,x,16,a[34]),H=f(H,z,I,A,m,23,a[35]),A=f(A,H,z,I,c,4,a[36]),I=f(I,A,H,z,v,11,a[37]),z=f(z,I,A,H,g,16,a[38]),H=f(H,z,I,A,k,23,a[39]),A=f(A,H,z,I,S,4,a[40]),I=f(I,A,H,z,s,11,a[41]),z=f(z,I,A,H,p,16,a[42]),H=f(H,z,I,A,y,23,a[43]),A=f(A,H,z,I,w,4,a[44]),I=f(I,A,H,z,b,11,a[45]),z=f(z,I,A,H,C,16,a[46]),A=u(A,H=f(H,z,I,A,d,23,a[47]),z,I,s,6,a[48]),I=u(I,A,H,z,g,10,a[49]),z=u(z,I,A,H,m,15,a[50]),H=u(H,z,I,A,_,21,a[51]),A=u(A,H,z,I,b,6,a[52]),I=u(I,A,H,z,p,10,a[53]),z=u(z,I,A,H,k,15,a[54]),H=u(H,z,I,A,c,21,a[55]),A=u(A,H,z,I,B,6,a[56]),I=u(I,A,H,z,C,10,a[57]),z=u(z,I,A,H,y,15,a[58]),H=u(H,z,I,A,S,21,a[59]),A=u(A,H,z,I,v,6,a[60]),I=u(I,A,H,z,x,10,a[61]),z=u(z,I,A,H,d,15,a[62]),H=u(H,z,I,A,w,21,a[63]),o[0]=o[0]+A|0,o[1]=o[1]+H|0,o[2]=o[2]+z|0,o[3]=o[3]+I|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;r[n>>>5]|=128<<24-n%32;var o=t.floor(i/4294967296),s=i;r[15+(n+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(n+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,h=0;h<4;h++){var l=c[h];c[h]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function h(t,e,r,i,n,o,s){var a=t+(e&r|~e&i)+n+s;return(a<>>32-o)+e}function l(t,e,r,i,n,o,s){var a=t+(e&i|r&~i)+n+s;return(a<>>32-o)+e}function f(t,e,r,i,n,o,s){var a=t+(e^r^i)+n+s;return(a<>>32-o)+e}function u(t,e,r,i,n,o,s){var a=t+(r^(e|~i))+n+s;return(a<>>32-o)+e}e.MD5=o._createHelper(c),e.HmacMD5=o._createHmacHelper(c)}(Math),i.MD5)},e7zE:function(t,e,r){var i,n,o,s,a,c,h,l;t.exports=(l=r("Ib8C"),r("3y9D"),r("WYAk"),s=(n=(i=l).lib).WordArray,c=(a=i.algo).HMAC,h=a.PBKDF2=(o=n.Base).extend({cfg:o.extend({keySize:4,hasher:a.SHA1,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r=this.cfg,i=c.create(r.hasher,t),n=s.create(),o=s.create([1]),a=n.words,h=o.words,l=r.keySize,f=r.iterations;a.length>>7)^(p<<14|p>>>18)^p>>>3)+h[d-7]+((v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10)+h[d-16]}var _=i&n^i&o^n&o,y=u+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&f)+c[d]+h[d];u=f,f=l,l=a,a=s+y|0,s=o,o=n,n=i,i=y+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+_)|0}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+f|0,r[7]=r[7]+u|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return r[n>>>5]|=128<<24-n%32,r[14+(n+64>>>9<<4)]=t.floor(i/4294967296),r[15+(n+64>>>9<<4)]=i,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=o._createHelper(l),e.HmacSHA256=o._createHmacHelper(l)}(Math),i.SHA256)},oRuE:function(t,e,r){var i;t.exports=(i=r("Ib8C"),r("OLod"),i.pad.Iso10126={pad:function(t,e){var r=4*e,n=r-t.sigBytes%r;t.concat(i.lib.WordArray.random(n-1)).concat(i.lib.WordArray.create([n<<24],1))},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},i.pad.Iso10126)},pA7S:function(t,e,r){var i;t.exports=(i=r("Ib8C"),r("ETIr"),r("cv67"),r("K3mO"),r("OLod"),function(){var t=i,e=t.lib,r=e.WordArray,n=e.BlockCipher,o=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=o.DES=n.extend({_doReset:function(){for(var t=this._key.words,e=[],r=0;r<56;r++){var i=s[r]-1;e[r]=t[i>>>5]>>>31-i%32&1}for(var n=this._subKeys=[],o=0;o<16;o++){var h=n[o]=[],l=c[o];for(r=0;r<24;r++)h[r/6|0]|=e[(a[r]-1+l)%28]<<31-r%6,h[4+(r/6|0)]|=e[28+(a[r+24]-1+l)%28]<<31-r%6;for(h[0]=h[0]<<1|h[0]>>>31,r=1;r<7;r++)h[r]=h[r]>>>4*(r-1)+3;h[7]=h[7]<<5|h[7]>>>27}var f=this._invSubKeys=[];for(r=0;r<16;r++)f[r]=n[15-r]},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._subKeys)},decryptBlock:function(t,e){this._doCryptBlock(t,e,this._invSubKeys)},_doCryptBlock:function(t,e,r){this._lBlock=t[e],this._rBlock=t[e+1],u.call(this,4,252645135),u.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),u.call(this,1,1431655765);for(var i=0;i<16;i++){for(var n=r[i],o=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=h[c][((s^n[c])&l[c])>>>0];this._lBlock=s,this._rBlock=o^a}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,u.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),u.call(this,16,65535),u.call(this,4,252645135),t[e]=this._lBlock,t[e+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function u(t,e){var r=(this._lBlock>>>t^this._rBlock)&e;this._rBlock^=r,this._lBlock^=r<>>t^this._lBlock)&e;this._lBlock^=r,this._rBlock^=r<>>2]|=n<<24-o%4*8,t.sigBytes+=n},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},i.pad.Ansix923)},qM6L:function(t,e,r){var i;t.exports=(i=r("Ib8C"),function(){var t=i.lib.WordArray,e=i.enc;function r(t){return t<<8&4278255360|t>>>8&16711935}e.Utf16=e.Utf16BE={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n>>2]>>>16-n%4*8&65535));return i.join("")},parse:function(e){for(var r=e.length,i=[],n=0;n>>1]|=e.charCodeAt(n)<<16-n%2*16;return t.create(i,2*r)}},e.Utf16LE={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],o=0;o>>2]>>>16-o%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var i=e.length,n=[],o=0;o>>1]|=r(e.charCodeAt(o)<<16-o%2*16);return t.create(n,2*i)}}}(),i.enc.Utf16)},qu8F:function(t,e,r){var i;t.exports=(i=r("Ib8C"),r("OLod"),i.mode.CTRGladman=function(){var t=i.lib.BlockCipherMode.extend();function e(t){if(255==(t>>24&255)){var e=t>>16&255,r=t>>8&255,i=255&t;255===e?(e=0,255===r?(r=0,255===i?i=0:++i):++r):++e,t=0,t+=e<<16,t+=r<<8,t+=i}else t+=1<<24;return t}var r=t.Encryptor=t.extend({processBlock:function(t,r){var i=this._cipher,n=i.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),function(t){0===(t[0]=e(t[0]))&&(t[1]=e(t[1]))}(s);var a=s.slice(0);i.encryptBlock(a,0);for(var c=0;c>>2]>>>24-s%4*8&255))%256],i[o]=a}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var t=this._S,e=this._i,r=this._j,i=0,n=0;n<4;n++){var o=t[e=(e+1)%256];t[e]=t[r=(r+t[e])%256],t[r]=o,i|=t[(t[e]+t[r])%256]<<24-8*n}return this._i=e,this._j=r,i}t.RC4=e._createHelper(n);var s=r.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)o.call(this)}});t.RC4Drop=e._createHelper(s)}(),i.RC4)},wZgz:function(t,e,r){var i;t.exports=(i=r("Ib8C"),r("ETIr"),r("cv67"),r("K3mO"),r("OLod"),function(){var t=i,e=t.lib.BlockCipher,r=t.algo,n=[],o=[],s=[],a=[],c=[],h=[],l=[],f=[],u=[],d=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var r=0,i=0;for(e=0;e<256;e++){var p=i^i<<1^i<<2^i<<3^i<<4;n[r]=p=p>>>8^255&p^99,o[p]=r;var v,_=t[r],y=t[_],g=t[y];s[r]=(v=257*t[p]^16843008*p)<<24|v>>>8,a[r]=v<<16|v>>>16,c[r]=v<<8|v>>>24,h[r]=v,l[p]=(v=16843009*g^65537*y^257*_^16843008*r)<<24|v>>>8,f[p]=v<<16|v>>>16,u[p]=v<<8|v>>>24,d[p]=v,r?(r=_^t[t[t[g^_]]],i^=t[t[i]]):r=i=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],v=r.AES=e.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4,i=4*((this._nRounds=r+6)+1),o=this._keySchedule=[],s=0;s6&&s%r==4&&(a=n[a>>>24]<<24|n[a>>>16&255]<<16|n[a>>>8&255]<<8|n[255&a]):(a=n[(a=a<<8|a>>>24)>>>24]<<24|n[a>>>16&255]<<16|n[a>>>8&255]<<8|n[255&a],a^=p[s/r|0]<<24),o[s]=o[s-r]^a}for(var c=this._invKeySchedule=[],h=0;h>>24]]^f[n[a>>>16&255]]^u[n[a>>>8&255]]^d[n[255&a]]}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,s,a,c,h,n)},decryptBlock:function(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this._doCryptBlock(t,e,this._invKeySchedule,l,f,u,d,o),r=t[e+1],t[e+1]=t[e+3],t[e+3]=r},_doCryptBlock:function(t,e,r,i,n,o,s,a){for(var c=this._nRounds,h=t[e]^r[0],l=t[e+1]^r[1],f=t[e+2]^r[2],u=t[e+3]^r[3],d=4,p=1;p>>24]^n[l>>>16&255]^o[f>>>8&255]^s[255&u]^r[d++],_=i[l>>>24]^n[f>>>16&255]^o[u>>>8&255]^s[255&h]^r[d++],y=i[f>>>24]^n[u>>>16&255]^o[h>>>8&255]^s[255&l]^r[d++],g=i[u>>>24]^n[h>>>16&255]^o[l>>>8&255]^s[255&f]^r[d++];h=v,l=_,f=y,u=g}v=(a[h>>>24]<<24|a[l>>>16&255]<<16|a[f>>>8&255]<<8|a[255&u])^r[d++],_=(a[l>>>24]<<24|a[f>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^r[d++],y=(a[f>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&l])^r[d++],g=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[l>>>8&255]<<8|a[255&f])^r[d++],t[e]=v,t[e+1]=_,t[e+2]=y,t[e+3]=g},keySize:8});t.AES=e._createHelper(v)}(),i.AES)}}]); \ No newline at end of file diff --git a/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/9-es2018.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/9-es2018.js new file mode 100644 index 00000000..18fad63a --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/9-es2018.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{C2QD:function(t,e){function n(t){this.ms=(t=t||{}).min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},HsqM:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return null!==t&&"object"==typeof t}},JPdj:function(t,e,n){"use strict";n.r(e),(function(t){var i,o=n("LjlU");i="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:t;var r=Object(o.a)(i);e.default=r}).call(this,n("3UD+")(t))},LjlU:function(t,e,n){"use strict";function i(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",function(){return i})},Nj7N:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){function t(){throw new Error("Static Class")}return t.GQL_CONNECTION_INIT="connection_init",t.GQL_CONNECTION_ACK="connection_ack",t.GQL_CONNECTION_ERROR="connection_error",t.GQL_CONNECTION_KEEP_ALIVE="ka",t.GQL_CONNECTION_TERMINATE="connection_terminate",t.GQL_START="start",t.GQL_DATA="data",t.GQL_ERROR="error",t.GQL_COMPLETE="complete",t.GQL_STOP="stop",t.SUBSCRIPTION_START="subscription_start",t.SUBSCRIPTION_DATA="subscription_data",t.SUBSCRIPTION_SUCCESS="subscription_success",t.SUBSCRIPTION_FAIL="subscription_fail",t.SUBSCRIPTION_END="subscription_end",t.INIT="init",t.INIT_SUCCESS="init_success",t.INIT_FAIL="init_fail",t.KEEP_ALIVE="keepalive",t}()},Qcyp:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"string"==typeof t}},Yzoe:function(t,e,n){"use strict";var i=this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0){var c=o.shift();c&&c.applyMiddleware.apply(r,[t,s])}else n(t)})()})},t.prototype.use=function(t){var e=this;return t.map(function(t){if("function"!=typeof t.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");e.middlewares.push(t)}),this},t.prototype.getConnectionParams=function(t){return function(){return new Promise(function(e,n){if("function"==typeof t)try{return e(t.call(null))}catch(i){return n(i)}e(t)})}},t.prototype.executeOperation=function(t,e){var n=this;null===this.client&&this.connect();var i=this.generateOperationId();return this.operations[i]={options:t,handler:e},this.applyMiddlewares(t).then(function(t){n.checkOperationOptions(t,e),n.operations[i]&&(n.operations[i]={options:t,handler:e},n.sendMessage(i,m.default.GQL_START,t))}).catch(function(t){n.unsubscribe(i),e(n.formatErrors(t))}),i},t.prototype.getObserver=function(t,e,n){return"function"==typeof t?{next:function(e){return t(e)},error:function(t){return e&&e(t)},complete:function(){return n&&n()}}:t},t.prototype.createMaxConnectTimeGenerator=function(){return new a({min:1e3,max:this.wsTimeout,factor:1.2})},t.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},t.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},t.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},t.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},t.prototype.setInactivityTimeout=function(){var t=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout(function(){0===Object.keys(t.operations).length&&t.close()},this.inactivityTimeout))},t.prototype.checkOperationOptions=function(t,e){var n=t.query,i=t.variables,o=t.operationName;if(!n)throw new Error("Must provide a query.");if(!e)throw new Error("Must provide an handler.");if(!l.default(n)&&!f.getOperationAST(n,o)||o&&!l.default(o)||i&&!h.default(i))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},t.prototype.buildMessage=function(t,e,n){return{id:t,type:e,payload:n&&n.query?i({},n,{query:"string"==typeof n.query?n.query:p.print(n.query)}):n}},t.prototype.formatErrors=function(t){return Array.isArray(t)?t:t&&t.errors?this.formatErrors(t.errors):t&&t.message?[t]:[{name:"FormatedError",message:"Unknown error",originalError:t}]},t.prototype.sendMessage=function(t,e,n){this.sendMessageRaw(this.buildMessage(t,e,n))},t.prototype.sendMessageRaw=function(t){switch(this.status){case this.wsImpl.OPEN:var e=JSON.stringify(t);try{JSON.parse(e)}catch(n){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+t))}this.client.send(e);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(t);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(t)))}},t.prototype.generateOperationId=function(){return String(++this.nextOperationId)},t.prototype.tryReconnect=function(){var t=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach(function(e){t.unsentMessagesQueue.push(t.buildMessage(e,m.default.GQL_START,t.operations[e].options))}),this.reconnecting=!0),this.clearTryReconnectTimeout();var e=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout(function(){t.connect()},e)}},t.prototype.flushUnsentMessagesQueue=function(){var t=this;this.unsentMessagesQueue.forEach(function(e){t.sendMessageRaw(e)}),this.unsentMessagesQueue=[]},t.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},t.prototype.checkMaxConnectTimeout=function(){var t=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout(function(){t.status!==t.wsImpl.OPEN&&(t.reconnecting=!0,t.close(!1,!0))},this.maxConnectTimeGenerator.duration())},t.prototype.connect=function(){var t=this;this.client=new this.wsImpl(this.url,this.wsProtocols),this.checkMaxConnectTimeout(),this.client.onopen=function(){return o(t,void 0,void 0,function(){var t,e;return r(this,function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return t=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_INIT,t),this.flushUnsentMessagesQueue(),[3,4];case 3:return e=n.sent(),this.sendMessage(void 0,m.default.GQL_CONNECTION_ERROR,e),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}})})},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){t.processReceivedData(e.data)}},t.prototype.processReceivedData=function(t){var e,n;try{n=(e=JSON.parse(t)).id}catch(s){throw new Error("Message must be JSON-parseable. Got: "+t)}if(-1===[m.default.GQL_DATA,m.default.GQL_COMPLETE,m.default.GQL_ERROR].indexOf(e.type)||this.operations[n])switch(e.type){case m.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(e.payload);break;case m.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected"),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case m.default.GQL_COMPLETE:this.operations[n].handler(null,null),delete this.operations[n];break;case m.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(e.payload),null),delete this.operations[n];break;case m.default.GQL_DATA:var o=e.payload.errors?i({},e.payload,{errors:this.formatErrors(e.payload.errors)}):e.payload;this.operations[n].handler(null,o);break;case m.default.GQL_CONNECTION_KEEP_ALIVE:var r=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,r&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},t.prototype.unsubscribe=function(t){this.operations[t]&&(delete this.operations[t],this.setInactivityTimeout(),this.sendMessage(t,m.default.GQL_STOP,void 0))},t}()},eiGN:function(t,e,n){"use strict";n.r(e),n.d(e,"WebsocketSubscriptionProvider",function(){return s});var i=n("1CyG"),o=n("Yzoe"),r=n("HDdC");class s extends i.a{createClient(){var t;this.client=new o.SubscriptionClient(this.subscriptionUrl,{reconnect:!0,connectionParams:this.connectionParams,connectionCallback:null===(t=this.extraOptions)||void 0===t?void 0:t.onConnected})}execute(t){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new r.a(e=>this.client.request({query:t.query,variables:t.variables,operationName:t.operationName}).subscribe({next:(...t)=>e.next(...t),error:(...t)=>e.error(...t),complete:()=>e.complete()}))}close(){var t,e;null===(t=this.client)||void 0===t||t.unsubscribeAll(),null===(e=this.client)||void 0===e||e.close(),this.client=void 0}}},jZto:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WS_TIMEOUT=3e4},uhBA:function(t,e,n){"use strict";var i=Object.prototype.hasOwnProperty,o="~";function r(){}function s(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function c(t,e,n,i,r){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new s(n,i||t,r),a=o?o+e:e;return t._events[a]?t._events[a].fn?t._events[a]=[t._events[a],c]:t._events[a].push(c):(t._events[a]=c,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new r:delete t._events[e]}function u(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(o=!1)),u.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)i.call(t,e)&&n.push(o?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},u.prototype.listeners=function(t){var e=this._events[o?o+t:t];if(!e)return[];if(e.fn)return[e.fn];for(var n=0,i=e.length,r=new Array(i);n-1}},"+XMV":function(e,t,n){"use strict";e.exports=n("GOzd")()?String.prototype.contains:n("+Wds")},"+YfQ":function(e,t,n){"use strict";var i,r=(i=n("VrN/"))&&i.__esModule?i:{default:i},o=n("JCIs");function s(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}r.default.defineMode("graphql-variables",e=>{const t=(0,o.onlineParser)({eatWhitespace:e=>e.eatSpace(),lexRules:a,parseRules:c,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:s,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}});const a={Punctuation:/^\[|]|\{|\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?/,Keyword:/^true|false|null/},c={Document:[(0,o.p)("{"),(0,o.list)("Variable",(0,o.opt)((0,o.p)(","))),(0,o.p)("}")],Variable:[l("variable"),(0,o.p)(":"),"Value"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[(0,o.t)("Number","number")],StringValue:[(0,o.t)("String","string")],BooleanValue:[(0,o.t)("Keyword","builtin")],NullValue:[(0,o.t)("Keyword","keyword")],ListValue:[(0,o.p)("["),(0,o.list)("Value",(0,o.opt)((0,o.p)(","))),(0,o.p)("]")],ObjectValue:[(0,o.p)("{"),(0,o.list)("ObjectField",(0,o.opt)((0,o.p)(","))),(0,o.p)("}")],ObjectField:[l("attribute"),(0,o.p)(":"),"Value"]};function l(e){return{style:e,match:e=>"String"===e.kind,update(e,t){e.name=t.value.slice(1,-1)}}}},"+dQi":function(e,t,n){!function(e){"use strict";e.defineMode("javascript",function(t,n){var i,r,o=t.indentUnit,s=n.statementIndent,a=n.jsonld,c=n.json||a,l=n.typescript,u=n.wordCharacters||/[\w$\xa1-\uffff]/,h=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),i=e("keyword c"),r=e("keyword d"),o=e("operator"),s={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:r,break:r,continue:r,new:e("new"),delete:i,void:i,throw:i,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:s,false:s,null:s,undefined:s,NaN:s,Infinity:s,this:e("this"),class:e("class"),super:e("atom"),yield:i,export:e("export"),import:e("import"),extends:i,await:i}}(),d=/[+\-*&%=<>!?|~^@]/,p=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function f(e,t,n){return i=e,r=n,t}function g(e,t){var n,i=e.next();if('"'==i||"'"==i)return t.tokenize=(n=i,function(e,t){var i,r=!1;if(a&&"@"==e.peek()&&e.match(p))return t.tokenize=g,f("jsonld-keyword","meta");for(;null!=(i=e.next())&&(i!=n||r);)r=!r&&"\\"==i;return r||(t.tokenize=g),f("string","string")}),t.tokenize(e,t);if("."==i&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return f("number","number");if("."==i&&e.match(".."))return f("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(i))return f(i);if("="==i&&e.eat(">"))return f("=>","operator");if("0"==i&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return f("number","number");if(/\d/.test(i))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),f("number","number");if("/"==i)return e.eat("*")?(t.tokenize=m,m(e,t)):e.eat("/")?(e.skipToEnd(),f("comment","comment")):Qe(e,t,1)?(function(e){for(var t,n=!1,i=!1;null!=(t=e.next());){if(!n){if("/"==t&&!i)return;"["==t?i=!0:i&&"]"==t&&(i=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),f("regexp","string-2")):(e.eat("="),f("operator","operator",e.current()));if("`"==i)return t.tokenize=b,b(e,t);if("#"==i&&"!"==e.peek())return e.skipToEnd(),f("meta","meta");if("#"==i&&e.eatWhile(u))return f("variable","property");if("<"==i&&e.match("!--")||"-"==i&&e.match("->"))return e.skipToEnd(),f("comment","comment");if(d.test(i))return">"==i&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=i&&"="!=i||e.eat("="):/[<>*+\-]/.test(i)&&(e.eat(i),">"==i&&e.eat(i))),"?"==i&&e.eat(".")?f("."):f("operator","operator",e.current());if(u.test(i)){e.eatWhile(u);var r=e.current();if("."!=t.lastType){if(h.propertyIsEnumerable(r)){var o=h[r];return f(o.type,o.style,r)}if("async"==r&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return f("async","keyword",r)}return f("variable","variable",r)}}function m(e,t){for(var n,i=!1;n=e.next();){if("/"==n&&i){t.tokenize=g;break}i="*"==n}return f("comment","comment")}function b(e,t){for(var n,i=!1;null!=(n=e.next());){if(!i&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=g;break}i=!i&&"\\"==n}return f("quasi","string-2",e.current())}function v(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(l){var i=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));i&&(n=i.index)}for(var r=0,o=!1,s=n-1;s>=0;--s){var a=e.string.charAt(s),c="([{}])".indexOf(a);if(c>=0&&c<3){if(!r){++s;break}if(0==--r){"("==a&&(o=!0);break}}else if(c>=3&&c<6)++r;else if(u.test(a))o=!0;else if(/["'\/`]/.test(a))for(;;--s){if(0==s)return;if(e.string.charAt(s-1)==a&&"\\"!=e.string.charAt(s-2)){s--;break}}else if(o&&!r){++s;break}}o&&!r&&(t.fatArrowAt=s)}}var y={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,i,r,o){this.indented=e,this.column=t,this.type=n,this.prev=r,this.info=o,null!=i&&(this.align=i)}function _(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var i=e.context;i;i=i.prev)for(n=i.vars;n;n=n.next)if(n.name==t)return!0}var O={state:null,column:null,marked:null,cc:null};function C(){for(var e=arguments.length-1;e>=0;e--)O.cc.push(arguments[e])}function E(){return C.apply(null,arguments),!0}function S(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function T(e){var t=O.state;if(O.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var i=x(e,t.context);if(null!=i)return void(t.context=i)}else if(!S(e,t.localVars))return void(t.localVars=new D(e,t.localVars));n.globalVars&&!S(e,t.globalVars)&&(t.globalVars=new D(e,t.globalVars))}function x(e,t){if(t){if(t.block){var n=x(e,t.prev);return n?n==t.prev?t:new I(n,t.vars,!0):null}return S(e,t.vars)?t:new I(t.prev,new D(e,t.vars),!1)}return null}function k(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function I(e,t,n){this.prev=e,this.vars=t,this.block=n}function D(e,t){this.name=e,this.next=t}var z=new D("this",new D("arguments",null));function j(){O.state.context=new I(O.state.context,O.state.localVars,!1),O.state.localVars=z}function A(){O.state.context=new I(O.state.context,O.state.localVars,!0),O.state.localVars=null}function R(){O.state.localVars=O.state.context.vars,O.state.context=O.state.context.prev}function N(e,t){var n=function(){var n=O.state,i=n.indented;if("stat"==n.lexical.type)i=n.lexical.indented;else for(var r=n.lexical;r&&")"==r.type&&r.align;r=r.prev)i=r.indented;n.lexical=new w(i,O.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function L(){var e=O.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function M(e){return function t(n){return n==e?E():";"==e||"}"==n||")"==n||"]"==n?C():E(t)}}function F(e,t){return"var"==e?E(N("vardef",t),ye,M(";"),L):"keyword a"==e?E(N("form"),B,F,L):"keyword b"==e?E(N("form"),F,L):"keyword d"==e?O.stream.match(/^\s*$/,!1)?E():E(N("stat"),$,M(";"),L):"debugger"==e?E(M(";")):"{"==e?E(N("}"),A,se,L,R):";"==e?E():"if"==e?("else"==O.state.lexical.info&&O.state.cc[O.state.cc.length-1]==L&&O.state.cc.pop()(),E(N("form"),B,F,L,Se)):"function"==e?E(Ie):"for"==e?E(N("form"),Te,F,L):"class"==e||l&&"interface"==t?(O.marked="keyword",E(N("form","class"==e?e:t),Re,L)):"variable"==e?l&&"declare"==t?(O.marked="keyword",E(F)):l&&("module"==t||"enum"==t||"type"==t)&&O.stream.match(/^\s*\w/,!1)?(O.marked="keyword","enum"==t?E(He):"type"==t?E(ze,M("operator"),he,M(";")):E(N("form"),we,M("{"),N("}"),se,L,L)):l&&"namespace"==t?(O.marked="keyword",E(N("form"),V,F,L)):l&&"abstract"==t?(O.marked="keyword",E(F)):E(N("stat"),Z):"switch"==e?E(N("form"),B,M("{"),N("}","switch"),A,se,L,L,R):"case"==e?E(V,M(":")):"default"==e?E(M(":")):"catch"==e?E(N("form"),j,P,F,L,R):"export"==e?E(N("stat"),Fe,L):"import"==e?E(N("stat"),Ve,L):"async"==e?E(F):"@"==t?E(V,F):C(N("stat"),V,M(";"),L)}function P(e){if("("==e)return E(je,M(")"))}function V(e,t){return W(e,t,!1)}function G(e,t){return W(e,t,!0)}function B(e){return"("!=e?C():E(N(")"),$,M(")"),L)}function W(e,t,n){if(O.state.fatArrowAt==O.stream.start){var i=n?X:K;if("("==e)return E(j,N(")"),re(je,")"),L,M("=>"),i,R);if("variable"==e)return C(j,we,M("=>"),i,R)}var r=n?H:U;return y.hasOwnProperty(e)?E(r):"function"==e?E(Ie,r):"class"==e||l&&"interface"==t?(O.marked="keyword",E(N("form"),Ae,L)):"keyword c"==e||"async"==e?E(n?G:V):"("==e?E(N(")"),$,M(")"),L,r):"operator"==e||"spread"==e?E(n?G:V):"["==e?E(N("]"),Ue,L,r):"{"==e?oe(te,"}",null,r):"quasi"==e?C(q,r):"new"==e?E(function(e){return function(t){return"."==t?E(e?J:Y):"variable"==t&&l?E(me,e?H:U):C(e?G:V)}}(n)):"import"==e?E(V):E()}function $(e){return e.match(/[;\}\)\],]/)?C():C(V)}function U(e,t){return","==e?E($):H(e,t,!1)}function H(e,t,n){var i=0==n?U:H,r=0==n?V:G;return"=>"==e?E(j,n?X:K,R):"operator"==e?/\+\+|--/.test(t)||l&&"!"==t?E(i):l&&"<"==t&&O.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?E(N(">"),re(he,">"),L,i):"?"==t?E(V,M(":"),r):E(r):"quasi"==e?C(q,i):";"!=e?"("==e?oe(G,")","call",i):"."==e?E(ee,i):"["==e?E(N("]"),$,M("]"),L,i):l&&"as"==t?(O.marked="keyword",E(he,i)):"regexp"==e?(O.state.lastType=O.marked="operator",O.stream.backUp(O.stream.pos-O.stream.start-1),E(r)):void 0:void 0}function q(e,t){return"quasi"!=e?C():"${"!=t.slice(t.length-2)?E(q):E(V,Q)}function Q(e){if("}"==e)return O.marked="string-2",O.state.tokenize=b,E(q)}function K(e){return v(O.stream,O.state),C("{"==e?F:V)}function X(e){return v(O.stream,O.state),C("{"==e?F:G)}function Y(e,t){if("target"==t)return O.marked="keyword",E(U)}function J(e,t){if("target"==t)return O.marked="keyword",E(H)}function Z(e){return":"==e?E(L,F):C(U,M(";"),L)}function ee(e){if("variable"==e)return O.marked="property",E()}function te(e,t){return"async"==e?(O.marked="property",E(te)):"variable"==e||"keyword"==O.style?(O.marked="property","get"==t||"set"==t?E(ne):(l&&O.state.fatArrowAt==O.stream.start&&(n=O.stream.match(/^\s*:\s*/,!1))&&(O.state.fatArrowAt=O.stream.pos+n[0].length),E(ie))):"number"==e||"string"==e?(O.marked=a?"property":O.style+" property",E(ie)):"jsonld-keyword"==e?E(ie):l&&k(t)?(O.marked="keyword",E(te)):"["==e?E(V,ae,M("]"),ie):"spread"==e?E(G,ie):"*"==t?(O.marked="keyword",E(te)):":"==e?C(ie):void 0;var n}function ne(e){return"variable"!=e?C(ie):(O.marked="property",E(Ie))}function ie(e){return":"==e?E(G):"("==e?C(Ie):void 0}function re(e,t,n){function i(r,o){if(n?n.indexOf(r)>-1:","==r){var s=O.state.lexical;return"call"==s.info&&(s.pos=(s.pos||0)+1),E(function(n,i){return n==t||i==t?C():C(e)},i)}return r==t||o==t?E():n&&n.indexOf(";")>-1?C(e):E(M(t))}return function(n,r){return n==t||r==t?E():C(e,i)}}function oe(e,t,n){for(var i=3;i"),he):void 0}function de(e){if("=>"==e)return E(he)}function pe(e,t){return"variable"==e||"keyword"==O.style?(O.marked="property",E(pe)):"?"==t||"number"==e||"string"==e?E(pe):":"==e?E(he):"["==e?E(M("variable"),ce,M("]"),pe):"("==e?C(De,pe):void 0}function fe(e,t){return"variable"==e&&O.stream.match(/^\s*[?:]/,!1)||"?"==t?E(fe):":"==e?E(he):"spread"==e?E(fe):C(he)}function ge(e,t){return"<"==t?E(N(">"),re(he,">"),L,ge):"|"==t||"."==e||"&"==t?E(he):"["==e?E(he,M("]"),ge):"extends"==t||"implements"==t?(O.marked="keyword",E(he)):"?"==t?E(he,M(":"),he):void 0}function me(e,t){if("<"==t)return E(N(">"),re(he,">"),L,ge)}function be(){return C(he,ve)}function ve(e,t){if("="==t)return E(he)}function ye(e,t){return"enum"==t?(O.marked="keyword",E(He)):C(we,ae,Ce,Ee)}function we(e,t){return l&&k(t)?(O.marked="keyword",E(we)):"variable"==e?(T(t),E()):"spread"==e?E(we):"["==e?oe(Oe,"]"):"{"==e?oe(_e,"}"):void 0}function _e(e,t){return"variable"!=e||O.stream.match(/^\s*:/,!1)?("variable"==e&&(O.marked="property"),"spread"==e?E(we):"}"==e?C():"["==e?E(V,M("]"),M(":"),_e):E(M(":"),we,Ce)):(T(t),E(Ce))}function Oe(){return C(we,Ce)}function Ce(e,t){if("="==t)return E(G)}function Ee(e){if(","==e)return E(ye)}function Se(e,t){if("keyword b"==e&&"else"==t)return E(N("form","else"),F,L)}function Te(e,t){return"await"==t?E(Te):"("==e?E(N(")"),xe,L):void 0}function xe(e){return"var"==e?E(ye,ke):"variable"==e?E(ke):C(ke)}function ke(e,t){return")"==e?E():";"==e?E(ke):"in"==t||"of"==t?(O.marked="keyword",E(V,ke)):C(V,ke)}function Ie(e,t){return"*"==t?(O.marked="keyword",E(Ie)):"variable"==e?(T(t),E(Ie)):"("==e?E(j,N(")"),re(je,")"),L,le,F,R):l&&"<"==t?E(N(">"),re(be,">"),L,Ie):void 0}function De(e,t){return"*"==t?(O.marked="keyword",E(De)):"variable"==e?(T(t),E(De)):"("==e?E(j,N(")"),re(je,")"),L,le,R):l&&"<"==t?E(N(">"),re(be,">"),L,De):void 0}function ze(e,t){return"keyword"==e||"variable"==e?(O.marked="type",E(ze)):"<"==t?E(N(">"),re(be,">"),L):void 0}function je(e,t){return"@"==t&&E(V,je),"spread"==e?E(je):l&&k(t)?(O.marked="keyword",E(je)):l&&"this"==e?E(ae,Ce):C(we,ae,Ce)}function Ae(e,t){return"variable"==e?Re(e,t):Ne(e,t)}function Re(e,t){if("variable"==e)return T(t),E(Ne)}function Ne(e,t){return"<"==t?E(N(">"),re(be,">"),L,Ne):"extends"==t||"implements"==t||l&&","==e?("implements"==t&&(O.marked="keyword"),E(l?he:V,Ne)):"{"==e?E(N("}"),Le,L):void 0}function Le(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||l&&k(t))&&O.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(O.marked="keyword",E(Le)):"variable"==e||"keyword"==O.style?(O.marked="property",E(Me,Le)):"number"==e||"string"==e?E(Me,Le):"["==e?E(V,ae,M("]"),Me,Le):"*"==t?(O.marked="keyword",E(Le)):l&&"("==e?C(De,Le):";"==e||","==e?E(Le):"}"==e?E():"@"==t?E(V,Le):void 0}function Me(e,t){if("?"==t)return E(Me);if(":"==e)return E(he,Ce);if("="==t)return E(G);var n=O.state.lexical.prev;return C(n&&"interface"==n.info?De:Ie)}function Fe(e,t){return"*"==t?(O.marked="keyword",E($e,M(";"))):"default"==t?(O.marked="keyword",E(V,M(";"))):"{"==e?E(re(Pe,"}"),$e,M(";")):C(F)}function Pe(e,t){return"as"==t?(O.marked="keyword",E(M("variable"))):"variable"==e?C(G,Pe):void 0}function Ve(e){return"string"==e?E():"("==e?C(V):C(Ge,Be,$e)}function Ge(e,t){return"{"==e?oe(Ge,"}"):("variable"==e&&T(t),"*"==t&&(O.marked="keyword"),E(We))}function Be(e){if(","==e)return E(Ge,Be)}function We(e,t){if("as"==t)return O.marked="keyword",E(Ge)}function $e(e,t){if("from"==t)return O.marked="keyword",E(V)}function Ue(e){return"]"==e?E():C(re(G,"]"))}function He(){return C(N("form"),we,M("{"),N("}"),re(qe,"}"),L,L)}function qe(){return C(we,Ce)}function Qe(e,t,n){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return R.lex=!0,L.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new w((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&new I(null,null,!1),indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),v(e,t)),t.tokenize!=m&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==i?n:(t.lastType="operator"!=i||"++"!=r&&"--"!=r?i:"incdec",function(e,t,n,i,r){var o=e.cc;for(O.state=e,O.stream=r,O.marked=null,O.cc=o,O.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():c?V:F)(n,i)){for(;o.length&&o[o.length-1].lex;)o.pop()();return O.marked?O.marked:"variable"==n&&_(e,i)?"variable-2":t}}(t,n,i,r,e))},indent:function(t,i){if(t.tokenize==m)return e.Pass;if(t.tokenize!=g)return 0;var r,a=i&&i.charAt(0),c=t.lexical;if(!/^\s*else\b/.test(i))for(var l=t.cc.length-1;l>=0;--l){var u=t.cc[l];if(u==L)c=c.prev;else if(u!=Se)break}for(;("stat"==c.type||"form"==c.type)&&("}"==a||(r=t.cc[t.cc.length-1])&&(r==U||r==H)&&!/^[,\.=+\-*:?[\(]/.test(i));)c=c.prev;s&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var h=c.type,p=a==h;return"vardef"==h?c.indented+("operator"==t.lastType||","==t.lastType?c.info.length+1:0):"form"==h&&"{"==a?c.indented:"form"==h?c.indented+o:"stat"==h?c.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,i)?s||o:0):"switch"!=c.info||p||0==n.doubleIndentSwitch?c.align?c.column+(p?0:1):c.indented+(p?0:o):c.indented+(/^(?:case|default)\b/.test(i)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:a,jsonMode:c,expressionAllowed:Qe,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=V&&t!=G||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n("VrN/"))},"+klR":function(e,t,n){"use strict";e.exports=2147483647},"+rOU":function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return d}),n.d(t,"f",function(){return a});var i=n("fXoL"),r=n("ofXK");class o{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class s extends o{constructor(e,t,n,i){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=i}}class a extends o{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class c extends o{constructor(e){super(),this.element=e instanceof i.l?e.nativeElement:e}}class l{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof s?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof a?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof c?(this._attachedPortal=e,this.attachDomPortal(e)):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(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends l{constructor(e,t,n,i,r){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=r}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let h=(()=>{class e extends l{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.n,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.j),i.Qb(i.S),i.Qb(r.d))},e.\u0275dir=i.Lb({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.Bb]}),e})(),d=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})()},"+zUi":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("dWS+");function r(e){return"There can be only one ".concat(e," type in schema.")}function o(e){return"Type for ".concat(e," already defined in the schema. It cannot be redefined.")}function s(e){var t=e.getSchema(),n=Object.create(null),s=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:a,SchemaExtension:a};function a(t){if(t.operationTypes)for(var a=0,c=t.operationTypes||[];af(t,e))}function y(e){if(!e.getClientRects().length)return{top:0,left:0};const t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView;return{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}}function w(e){return e.type.startsWith("touch")}function _(e){return w(e)?e.touches[0]||e.changedTouches[0]:e}function O(e){return!!e&&"function"==typeof e.then&&"function"==typeof e.catch}function C(e){return"number"==typeof e&&isFinite(e)}function E(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)}function S(e,t=0){return e.reduce((e,t)=>e+t,t)}function T(e){e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded(!1):e.scrollIntoView&&e.scrollIntoView(!1)}let x,k;"undefined"!=typeof window&&window;const I={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function D(e="vertical",t="ant"){if("undefined"==typeof document||"undefined"==typeof window)return 0;const n="vertical"===e;if(n&&x)return x;if(!n&&k)return k;const i=document.createElement("div");Object.keys(I).forEach(e=>{i.style[e]=I[e]}),i.className=`${t}-hide-scrollbar scroll-div-append-to-body`,n?i.style.overflowY="scroll":i.style.overflowX="scroll",document.body.appendChild(i);let r=0;return n?(r=i.offsetWidth-i.clientWidth,x=r):(r=i.offsetHeight-i.clientHeight,k=r),document.body.removeChild(i),r}function z(){const e=new o.a;return Promise.resolve().then(()=>e.next()),e.pipe(Object(l.a)(1))}function j(e){return Object(s.a)(e)?e:O(e)?Object(a.a)(Promise.resolve(e)):Object(c.a)(e)}},"/bpi":function(e,t,n){"use strict";n.d(t,"a",function(){return b});var i=n("7o/Q"),r=n("D0XW");n("zx2A");const o={leading:!0,trailing:!1};function s(e,t=r.a,n=o){return i=>i.lift(new a(e,t,n.leading,n.trailing))}class a{constructor(e,t,n,i){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=i}call(e,t){return t.subscribe(new c(e,this.duration,this.scheduler,this.leading,this.trailing))}}class c extends i.a{constructor(e,t,n,i,r){super(e),this.duration=t,this.scheduler=n,this.leading=i,this.trailing=r,this._hasTrailingValue=!1,this._trailingValue=null}_next(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(l,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)}}function l(e){const{subscriber:t}=e;t.clearThrottle()}var u=n("fXoL"),h=n("xgIS"),d=n("6EqW"),p=n("ofXK"),f=n("VfN6"),g=n("fpqv"),m=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};let b=(()=>{let e=class{constructor(e,t,n){this.el=e,this.document=t,this.zone=n,this.resizeDirection="left",this.resizeChange=new u.n,this.isRight=!1,this.draggingMode=!1,this.siblingGrowthFactor=2,this.throttleMs=100,this.documentMouseUp$=Object(h.a)(this.document,"mouseup"),this.documentMouseMove$=Object(h.a)(this.document,"mousemove").pipe(s(this.throttleMs)),this.elMouseMove$=Object(h.a)(this.el.nativeElement,"mousemove").pipe(s(this.throttleMs)),this.elMouseDown$=Object(h.a)(this.el.nativeElement,"mousedown"),this.resizeElement=this.el.nativeElement.parentElement,this.resizeContainer=this.getResizeContainer()}ngOnInit(){"right"===this.resizeDirection&&(this.isRight=!0),this.zone.runOutsideAngular(()=>{this.documentMouseUp$.subscribe(e=>this.onMouseUp()),this.documentMouseMove$.subscribe(e=>this.onResizerMove(e)),this.elMouseMove$.subscribe(e=>this.onResizerMove(e)),this.elMouseDown$.subscribe(e=>this.onResizerPress(e))})}onResizerPress(e){this.draggingMode=!0,this.originalWidth=this.resizeElement.clientWidth,this.originalX=e.clientX,this.resizeElement.parentElement&&(this.siblingGrowthFactor=Array.from(this.resizeElement.parentElement.children).filter(e=>this.resizeElement!==e).reduce((e,t)=>+getComputedStyle(t).getPropertyValue("flex-grow")+e,0))}onResizerMove(e){if(!this.draggingMode||!this.resizeContainer)return!0;e.stopPropagation(),e.preventDefault(),this.diffX=e.clientX-this.originalX;const t=this.isRight?this.originalWidth+this.diffX:this.originalWidth-this.diffX,n=t/this.resizeContainer.clientWidth,i=n*this.siblingGrowthFactor/(1-n);this.zone.run(()=>{this.resizeChange.next(i),d.a.log("mouse moved resizer",t,i)})}onMouseUp(){if(!this.draggingMode)return!0;this.draggingMode=!1,d.a.log("mouse up.",this.originalWidth,this.diffX)}getResizeContainer(){let e=this.resizeElement;for(;e&&!e.hasAttribute("data-resize-container");)e=e.parentElement;return e}};return e.\u0275fac=function(t){return new(t||e)(u.Qb(u.l),u.Qb(p.d),u.Qb(u.B))},e.\u0275cmp=u.Kb({type:e,selectors:[["app-flex-resizer"]],hostVars:2,hostBindings:function(e,t){2&e&&u.Ib("is-right",t.isRight)},inputs:{resizeDirection:"resizeDirection"},outputs:{resizeChange:"resizeChange"},decls:1,vars:0,consts:[["name","more-vertical"]],template:function(e,t){1&e&&u.Rb(0,"app-icon",0)},directives:[g.a],styles:[""]}),e=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}([Object(f.a)({checkProperties:!0}),m("design:paramtypes",[u.l,Document,u.B])],e),e})()},"/fzJ":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=Object.create(null);return t.definitions.forEach(t=>{if("OperationDefinition"===t.kind){const r=t.variableDefinitions;r&&r.forEach(({variable:t,type:r})=>{const o=(0,i.typeFromAST)(e,r);o&&(n[t.name.value]=o)})}}),n};var i=n("Tzvz")},"/jXB":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},"/kEc":function(e,t,n){"use strict";function i(e){return void 0===e||e!=e}n.d(t,"a",function(){return i})},"/uUt":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e,t){return n=>n.lift(new o(e,t))}class o{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))}}class s extends i.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},0:function(e,t,n){e.exports=n("zUnb")},"0MjU":function(e,t,n){"use strict";t.a=e=>[e.getQueryType(),e.getMutationType(),e.getSubscriptionType()].filter(Boolean)},"0ZyQ":function(e,t,n){"use strict";var i=n("TOvx"),r=/[\n\r\u2028\u2029]/g;e.exports=function(e){var t=i(e);return t.length>100&&(t=t.slice(0,99)+"\u2026"),t.replace(r,function(e){return JSON.stringify(e).slice(1,-1)})}},"0dpv":function(e,t,n){"use strict";var i=n("1TtK"),r=n("nC3q"),o=n("ZI+j");o.max=function(e,t,n){var s,a,c;(e=i(e))&&(a=r(e),t.on("set"+(s=n.async&&o.async||n.promise&&o.promise?"async":""),c=function(e){void 0!==(e=a.hit(e))&&t.delete(e)}),t.on("get"+s,c),t.on("delete"+s,a.delete),t.on("clear"+s,a.clear))}},"0t4y":function(e,t,n){!function(e){"use strict";e.registerHelper("lint","json",function(t){var n=[];if(!window.jsonlint)return window.console&&window.console.error("Error: window.jsonlint not defined, CodeMirror JSON linting cannot run."),n;var i=window.jsonlint.parser||window.jsonlint;i.parseError=function(t,i){var r=i.loc;n.push({from:e.Pos(r.first_line-1,r.first_column),to:e.Pos(r.last_line-1,r.last_column),message:t})};try{i.parse(t)}catch(r){}return n})}(n("VrN/"))},"0waZ":function(e,t,n){var i,r;void 0===(r="function"==typeof(i=function(e){"use strict";var t,n,i={template:"[%t] %l:",levelFormatter:function(e){return e.toUpperCase()},nameFormatter:function(e){return e||"root"},timestampFormatter:function(e){return e.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")},format:void 0},r={},o={reg:function(e){if(!e||!e.getLogger)throw new TypeError("Argument is not a root logger");t=e},apply:function(e,n){if(!e||!e.setLevel)throw new TypeError("Argument is not a logger");var o=e.methodFactory,s=e.name||"",a=r[s]||r[""]||i;return r[s]||(e.methodFactory=function(e,t,n){var i=o(e,t,n),a=r[n]||r[""],c=-1!==a.template.indexOf("%t"),l=-1!==a.template.indexOf("%l"),u=-1!==a.template.indexOf("%n");return function(){for(var t="",o=arguments.length,h=Array(o),d=0;d2147483647||t<-2147483648)throw new TypeError("Int cannot represent non 32-bit signed integer value: ".concat(Object(o.a)(e)));return t},parseValue:function(e){if(!r(e))throw new TypeError("Int cannot represent non-integer value: ".concat(Object(o.a)(e)));if(e>2147483647||e<-2147483648)throw new TypeError("Int cannot represent non 32-bit signed integer value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){if(e.kind===a.a.INT){var t=parseInt(e.value,10);if(t<=2147483647&&t>=-2147483648)return t}}}),u=new c.g({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e){if("boolean"==typeof e)return e?1:0;var t=e;if("string"==typeof e&&""!==e&&(t=Number(e)),!i(t))throw new TypeError("Float cannot represent non numeric value: ".concat(Object(o.a)(e)));return t},parseValue:function(e){if(!i(e))throw new TypeError("Float cannot represent non numeric value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){return e.kind===a.a.FLOAT||e.kind===a.a.INT?parseFloat(e.value):void 0}});function h(e){if(Object(s.a)(e)){if("function"==typeof e.valueOf){var t=e.valueOf();if(!Object(s.a)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}var d=new c.g({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var t=h(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if(i(t))return t.toString();throw new TypeError("String cannot represent value: ".concat(Object(o.a)(e)))},parseValue:function(e){if("string"!=typeof e)throw new TypeError("String cannot represent a non string value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){return e.kind===a.a.STRING?e.value:void 0}}),p=new c.g({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){if("boolean"==typeof e)return e;if(i(e))return 0!==e;throw new TypeError("Boolean cannot represent a non boolean value: ".concat(Object(o.a)(e)))},parseValue:function(e){if("boolean"!=typeof e)throw new TypeError("Boolean cannot represent a non boolean value: ".concat(Object(o.a)(e)));return e},parseLiteral:function(e){return e.kind===a.a.BOOLEAN?e.value:void 0}}),f=new c.g({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=h(e);if("string"==typeof t)return t;if(r(t))return String(t);throw new TypeError("ID cannot represent value: ".concat(Object(o.a)(e)))},parseValue:function(e){if("string"==typeof e)return e;if(r(e))return e.toString();throw new TypeError("ID cannot represent value: ".concat(Object(o.a)(e)))},parseLiteral:function(e){return e.kind===a.a.STRING||e.kind===a.a.INT?e.value:void 0}}),g=Object.freeze([d,l,u,p,f]);function m(e){return Object(c.R)(e)&&g.some(function(t){return e.name===t.name})}},"1G5W":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("zx2A");function r(e){return t=>t.lift(new o(e))}class o{constructor(e){this.notifier=e}call(e,t){const n=new s(e),r=Object(i.c)(this.notifier,new i.a(n));return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}class s extends i.b{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1QEH":function(e,t,n){"use strict";t.a=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})}},"1TtK":function(e,t,n){"use strict";var i=n("xfTp"),r=Math.max;e.exports=function(e){return r(0,i(e))}},"1tsg":function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return s});var i=n("HaE+"),r=n("fXoL");const o="websocket";let s=(()=>{class e{constructor(){var e,t,r,s;this.list=[],this.addProviderData({id:o,getProviderClass:(e=Object(i.a)(function*(){return(yield Promise.all([n.e(0),n.e(9)]).then(n.bind(null,"eiGN"))).WebsocketSubscriptionProvider}),function(){return e.apply(this,arguments)}),copyTag:"SUBSCRIPTION_PROVIDER_WEBSOCKET"}),this.addProviderData({id:"graphql-ws",getProviderClass:(t=Object(i.a)(function*(){return(yield Promise.all([n.e(0),n.e(10)]).then(n.bind(null,"1DrF"))).GraphQLWsSubscriptionProvider}),function(){return t.apply(this,arguments)}),copyTag:"SUBSCRIPTION_PROVIDER_GRAPHQL_WS"}),this.addProviderData({id:"app-sync",getProviderClass:(r=Object(i.a)(function*(){return(yield Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"KcVD"))).AppSyncSubscriptionProvider}),function(){return r.apply(this,arguments)}),copyTag:"SUBSCRIPTION_PROVIDER_APP_SYNC"}),this.addProviderData({id:"action-cable",getProviderClass:(s=Object(i.a)(function*(){return(yield Promise.all([n.e(0),n.e(11)]).then(n.bind(null,"+R79"))).ActionCableSubscriptionProvider}),function(){return s.apply(this,arguments)}),copyTag:"SUBSCRIPTION_PROVIDER_ACTION_CABLE"})}addProviderData(e){this.list.push(e)}getProviderData(e){const t=this.list.find(t=>t.id===e);if(!t)throw new Error(`No subscription provider found for "${e}"`);return t}getAllProviderData(){return this.list}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})()},"1uah":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("yCtX"),r=n("DH7j"),o=n("7o/Q"),s=n("Lhse"),a=n("zx2A");function c(...e){const t=e[e.length-1];return"function"==typeof t&&e.pop(),Object(i.a)(e,void 0).lift(new l(t))}class l{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new u(e,this.resultSelector))}}class u extends o.a{constructor(e,t,n=Object.create(null)){super(e),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(e){const t=this.iterators;Object(r.a)(e)?t.push(new d(e)):t.push("function"==typeof e[s.a]?new h(e[s.a]()):new p(this.destination,this,e))}_complete(){const e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(let n=0;nthis.index}hasCompleted(){return this.array.length===this.index}}class p extends a.b{constructor(e,t,n){super(e),this.parent=t,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[s.a](){return this}next(){const e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(e){this.buffer.push(e),this.parent.checkIterators()}subscribe(){return Object(a.c)(this.observable,new a.a(this))}}},"2/d+":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("rWdj"),r=n("dWS+"),o=n("axIb");function s(e){return{Field:function(t){var n=e.getType(),s=t.selectionSet;n&&(Object(o.I)(Object(o.A)(n))?s&&e.reportError(new r.a(function(e,t){return'Field "'.concat(e,'" must not have a selection since type "').concat(t,'" has no subfields.')}(t.name.value,Object(i.a)(n)),s)):s||e.reportError(new r.a(function(e,t){return'Field "'.concat(e,'" of type "').concat(t,'" must have a selection of subfields. Did you mean "').concat(e,' { ... }"?')}(t.name.value,Object(i.a)(n)),t)))}}}},"2C6G":function(e,t,n){"use strict";function i(e,t){if(!Boolean(e))throw new Error(t||"Unexpected invariant triggered")}n.d(t,"a",function(){return i})},"2QA8":function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Rkc":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("dWS+"),r=n("dQau"),o=n("axIb"),s=n("umOc");function a(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var a=Object(s.a)(e.getSchema(),n);a&&!Object(o.D)(a)&&e.reportError(new i.a(function(e){return'Fragment cannot condition on non composite type "'.concat(e,'".')}(Object(r.print)(n)),n))}},FragmentDefinition:function(t){var n=Object(s.a)(e.getSchema(),t.typeCondition);n&&!Object(o.D)(n)&&e.reportError(new i.a(function(e,t){return'Fragment "'.concat(e,'" cannot condition on non composite type "').concat(t,'".')}(t.name.value,Object(r.print)(t.typeCondition)),t.typeCondition))}}}},"2Suw":function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return u});var i=n("fXoL"),r=n("XNiG"),o=n("pLZG"),s=n("CqXF");const a=new i.s("nz-config"),c=function(e){return void 0!==e};let l=(()=>{class e{constructor(e){this.configUpdated$=new r.a,this.config=e||{}}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(Object(o.a)(t=>t===e),Object(s.a)(void 0))}set(e,t){this.config[e]=Object.assign(Object.assign({},this.config[e]),t),this.configUpdated$.next(e)}}return e.\u0275fac=function(t){return new(t||e)(i.ac(a,8))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.ac)(a,8))},token:e,providedIn:"root"}),e})();function u(){return function(e,t,n){const i=`$$__assignedValue__${t}`;return Object.defineProperty(e,i,{configurable:!0,writable:!0,enumerable:!1}),{get(){const e=(null==n?void 0:n.get)?n.get.bind(this)():this[i];if(((this.assignmentCount||{})[t]||0)>1&&c(e))return e;const r=(this.nzConfigService.getConfigForComponent(this._nzModuleName)||{})[t];return c(r)?r:e},set(e){this.assignmentCount=this.assignmentCount||{},this.assignmentCount[t]=(this.assignmentCount[t]||0)+1,(null==n?void 0:n.set)?n.set.bind(this)(e):this[i]=e},configurable:!0,enumerable:!0}}}},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("XNiG"),r=n("9ppp");class o extends i.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(e){super.next(this._value=e)}}},"2ZJU":function(e,t,n){"use strict";var i=n("1TtK"),r=n("+klR");e.exports=function(e){if((e=i(e))>r)throw new TypeError(e+" exceeds maximum possible timeout");return e}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",function(){return r});let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"306n":function(e,t,n){"use strict";e.exports=(e={})=>{let t;if(e.repoUrl)t=e.repoUrl;else{if(!e.user||!e.repo)throw new Error("You need to specify either the `repoUrl` option or both the `user` and `repo` options");t=`https://github.com/${e.user}/${e.repo}`}const n=new URL(`${t}/issues/new`),i=["body","title","labels","template","milestone","assignee","projects"];for(const r of i){let t=e[r];if(void 0!==t){if("labels"===r||"projects"===r){if(!Array.isArray(t))throw new TypeError(`The \`${r}\` option should be an array`);t=t.join(",")}n.searchParams.set(r,t)}}return n.toString()},e.exports.default=e.exports},"31Lz":function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return s});var i=n("fXoL");class r{get electron(){return this._electron?this._electron:window&&window.require?(this._electron=window.require("electron"),this._electron):null}get isElectronApp(){return!!window.navigator.userAgent.match(/Electron/)}get isMacOS(){return this.isElectronApp&&"darwin"===process.platform}get isWindows(){return this.isElectronApp&&"win32"===process.platform}get isLinux(){return this.isElectronApp&&"linux"===process.platform}get isX86(){return this.isElectronApp&&"ia32"===process.arch}get isX64(){return this.isElectronApp&&"x64"===process.arch}get isArm(){return this.isElectronApp&&"arm"===process.arch}get desktopCapturer(){return this.electron?this.electron.desktopCapturer:null}get ipcRenderer(){return this.electron?this.electron.ipcRenderer:null}get remote(){return this.electron?this.electron.remote:null}get webFrame(){return this.electron?this.electron.webFrame:null}get clipboard(){return this.electron?this.electron.clipboard:null}get crashReporter(){return this.electron?this.electron.crashReporter:null}get process(){return this.remote?this.remote.process:null}get nativeImage(){return this.electron?this.electron.nativeImage:null}get screen(){return this.electron?this.remote.screen:null}get shell(){return this.electron?this.electron.shell:null}}let o=(()=>{class e extends r{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),s=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[{provide:r,useClass:o}]}),e})()},"39k0":function(e,t,n){"use strict";n.d(t,"g",function(){return i}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"a",function(){return s}),n.d(t,"h",function(){return a}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return l}),n.d(t,"d",function(){return u});const i="TOGGLE_DOCS_VIEW",r="START_LOADING_DOCS",o="STOP_LOADING_DOCS",s="SET_DOC_VIEW";class a{constructor(e){this.windowId=e,this.type=i}}class c{constructor(e){this.windowId=e,this.type=r}}class l{constructor(e){this.windowId=e,this.type=o}}class u{constructor(e,t){this.windowId=e,this.payload=t,this.type=s}}},"3HNt":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var i=n("EkS5"),r=n("1QEH"),o=n("rWdj"),s=n("2C6G"),a=n("das/"),c=n("/kEc"),l=n("zpYP"),u=n("/jXB"),h=n("19Hc"),d=n("axIb");function p(e,t){if(Object(d.L)(t)){var n=p(e,t.ofType);return n&&n.kind===u.a.NULL?null:n}if(null===e)return{kind:u.a.NULL};if(Object(c.a)(e))return null;if(Object(d.J)(t)){var g=t.ofType;if(Object(i.e)(e)){var m=[];return Object(i.b)(e,function(e){var t=p(e,g);t&&m.push(t)}),{kind:u.a.LIST,values:m}}return p(e,g)}if(Object(d.F)(t)){if(!Object(l.a)(e))return null;for(var b=[],v=0,y=Object(r.a)(t.getFields());vu),multi:!0};let u=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&i.dc("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[i.Db([l])]}),e})();const h={provide:c,useExisting:Object(i.W)(()=>p),multi:!0},d=new i.s("CompositionEventMode");let p=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(r.F)()?Object(r.F)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",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)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l),i.Qb(d,8))},e.\u0275dir=i.Lb({type:e,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(e,t){1&e&&i.dc("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[i.Db([h])]}),e})();function f(e){return null==e||0===e.length}function g(e){return null!=e&&"number"==typeof e.length}const m=new i.s("NgValidators"),b=new i.s("NgAsyncValidators"),v=/^(?=.{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 y{static min(e){return t=>{if(f(t.value)||f(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n{if(f(t.value)||f(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return f(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return f(e.value)||v.test(e.value)?null:{email:!0}}static minLength(e){return t=>f(t.value)||!g(t.value)?null:t.value.lengthg(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return y.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(f(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(w);return 0==t.length?null:function(e){return O(C(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(w);return 0==t.length?null:function(e){const n=C(e,t).map(_);return Object(o.a)(n).pipe(Object(a.a)(O))}}}function w(e){return null!=e}function _(e){const t=Object(i.vb)(e)?Object(s.a)(e):e;return Object(i.ub)(t),t}function O(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function C(e,t){return t.map(t=>t(e))}function E(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function S(e){return null!=e?y.compose(E(e)):null}function T(e){return null!=e?y.composeAsync(E(e)):null}function x(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function k(e){return e._rawValidators}function I(e){return e._rawAsyncValidators}let D=(()=>{class e{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(e){this._rawValidators=e||[],this._composedValidatorFn=S(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=T(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e}),e})(),z=(()=>{class e extends D{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return j(t||e)},e.\u0275dir=i.Lb({type:e,features:[i.Bb]}),e})();const j=i.Yb(z);class A extends D{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class R{constructor(e){this._cd=e}is(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}let N=(()=>{class e extends R{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(A,2))},e.\u0275dir=i.Lb({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.Ib("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.Bb]}),e})(),L=(()=>{class e extends R{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(z,10))},e.\u0275dir=i.Lb({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.Ib("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.Bb]}),e})();const M={provide:c,useExisting:Object(i.W)(()=>F),multi:!0};let F=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.dc("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[i.Db([M])]}),e})();const P={provide:c,useExisting:Object(i.W)(()=>G),multi:!0};let V=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),G=(()=>{class e{constructor(e,t,n,i){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(A),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l),i.Qb(V),i.Qb(i.t))},e.\u0275dir=i.Lb({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&i.dc("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Db([P])]}),e})();const B={provide:c,useExisting:Object(i.W)(()=>W),multi:!0};let W=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&i.dc("change",function(e){return t.onChange(e.target.value)})("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[i.Db([B])]}),e})();const $={provide:c,useExisting:Object(i.W)(()=>U),multi:!0};let U=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&i.dc("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Db([$])]}),e})();const H={provide:c,useExisting:Object(i.W)(()=>q),multi:!0};let q=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ee(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ee(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function X(e,t,n=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Z(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Y(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function J(e,t,n){const i=k(e);null!==t.validator?e.setValidators(x(i,t.validator)):"function"==typeof i&&e.setValidators([i]);const r=I(e);if(null!==t.asyncValidator?e.setAsyncValidators(x(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]),n){const n=()=>e.updateValueAndValidity();Y(t._rawValidators,n),Y(t._rawAsyncValidators,n)}}function Z(e,t,n){let i=!1;if(null!==e){if(null!==t.validator){const n=k(e);if(Array.isArray(n)&&n.length>0){const r=n.filter(e=>e!==t.validator);r.length!==n.length&&(i=!0,e.setValidators(r))}}if(null!==t.asyncValidator){const n=I(e);if(Array.isArray(n)&&n.length>0){const r=n.filter(e=>e!==t.asyncValidator);r.length!==n.length&&(i=!0,e.setAsyncValidators(r))}}}if(n){const e=()=>{};Y(t._rawValidators,e),Y(t._rawAsyncValidators,e)}return i}function ee(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function te(e,t){J(e,t,!1)}function ne(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}const ie=[u,W,F,U,q,G];function re(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function oe(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(e=>{var t;e.constructor===p?n=e:(t=e,ie.some(e=>t.constructor===e)?i=e:r=e)}),r||i||n||null}function se(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function ae(e){return(he(e)?e.validators:e)||null}function ce(e){return Array.isArray(e)?S(e):e||null}function le(e,t){return(he(t)?t.asyncValidators:e)||null}function ue(e){return Array.isArray(e)?T(e):e||null}function he(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class de{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=ce(this._rawValidators),this._composedAsyncValidatorFn=ue(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=ce(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=ue(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const t=_(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let i=e;return t.forEach(e=>{i=i instanceof fe?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof ge&&i.at(e)||null}),i}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new i.n,this.statusChanges=new i.n}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){he(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class pe extends de{constructor(e=null,t,n){super(ae(t),le(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){se(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){se(this._onDisabledChange,e)}_forEachChild(e){}_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(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class fe extends de{constructor(e,t,n){super(ae(t),le(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof pe?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,i)=>{n=t(n,e,i)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ge extends de{constructor(e,t,n){super(ae(t),le(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof pe?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const me={provide:z,useExisting:Object(i.W)(()=>ve)},be=(()=>Promise.resolve(null))();let ve=(()=>{class e extends z{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.n,this.form=new fe({},S(e),T(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){be.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),K(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){be.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),se(this._directives,e)})}addFormGroup(e){be.then(()=>{const t=this._findContainer(e.path),n=new fe({});te(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){be.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){be.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,re(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){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}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(m,10),i.Qb(b,10))},e.\u0275dir=i.Lb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.dc("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Db([me]),i.Bb]}),e})(),ye=(()=>{class e extends z{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return e.\u0275fac=function(t){return we(t||e)},e.\u0275dir=i.Lb({type:e,features:[i.Bb]}),e})();const we=i.Yb(ye),_e={provide:A,useExisting:Object(i.W)(()=>Ce)},Oe=(()=>Promise.resolve(null))();let Ce=(()=>{class e extends A{constructor(e,t,n,r){super(),this.control=new pe,this._registered=!1,this.update=new i.n,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=oe(0,r)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),ne(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Q(this.name,this._parent):[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(){K(this.control,this),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){Oe.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Oe.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(z,9),i.Qb(m,10),i.Qb(b,10),i.Qb(c,10))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Db([_e]),i.Bb,i.Cb]}),e})(),Ee=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const Se=new i.s("NgModelWithFormControlWarning"),Te={provide:A,useExisting:Object(i.W)(()=>xe)};let xe=(()=>{class e extends A{constructor(e,t,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.n,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=oe(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&X(t,this,!1),K(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}ne(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&X(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")}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(m,10),i.Qb(b,10),i.Qb(c,10),i.Qb(Se,8))},e.\u0275dir=i.Lb({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.Db([Te]),i.Bb,i.Cb]}),e._ngModelWarningSentOnce=!1,e})();const ke={provide:z,useExisting:Object(i.W)(()=>Ie)};let Ie=(()=>{class e extends z{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.n,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Z(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return K(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){X(e.control||null,e,!1),se(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,re(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(X(e.control||null,e),t&&K(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);te(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function(e,t){return Z(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){J(this.form,this,!1),this._oldForm&&Z(this._oldForm,this,!1)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(m,10),i.Qb(b,10))},e.\u0275dir=i.Lb({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.dc("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Db([ke]),i.Bb,i.Cb]}),e})();const De={provide:z,useExisting:Object(i.W)(()=>ze)};let ze=(()=>{class e extends ye{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){Re(this._parent)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(z,13),i.Qb(m,10),i.Qb(b,10))},e.\u0275dir=i.Lb({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i.Db([De]),i.Bb]}),e})();const je={provide:z,useExisting:Object(i.W)(()=>Ae)};let Ae=(()=>{class e extends z{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}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 Q(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Re(this._parent)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(z,13),i.Qb(m,10),i.Qb(b,10))},e.\u0275dir=i.Lb({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i.Db([je]),i.Bb]}),e})();function Re(e){return!(e instanceof ze||e instanceof Ie||e instanceof Ae)}const Ne={provide:A,useExisting:Object(i.W)(()=>Le)};let Le=(()=>{class e extends A{constructor(e,t,n,r,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new i.n,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=oe(0,r)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),ne(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 Q(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(z,13),i.Qb(m,10),i.Qb(b,10),i.Qb(c,10),i.Qb(Se,8))},e.\u0275dir=i.Lb({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.Db([Ne]),i.Bb,i.Cb]}),e._ngModelWarningSentOnce=!1,e})(),Me=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})(),Fe=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[V],imports:[Me]}),e})()},"3UWI":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("D0XW"),r=n("zx2A");class o{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new s(e,this.durationSelector))}}class s extends r.b{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const i=Object(r.c)(n,new r.a(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("PqYM");function c(e,t=i.a){return n=()=>Object(a.a)(e,t),function(e){return e.lift(new o(n))};var n}},"4D8k":function(e,t,n){"use strict";var i=n("9Qh4"),r=n("fEpb").Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:i("",r&&r.hasInstance||e("hasInstance")),isConcatSpreadable:i("",r&&r.isConcatSpreadable||e("isConcatSpreadable")),iterator:i("",r&&r.iterator||e("iterator")),match:i("",r&&r.match||e("match")),replace:i("",r&&r.replace||e("replace")),search:i("",r&&r.search||e("search")),species:i("",r&&r.species||e("species")),split:i("",r&&r.split||e("split")),toPrimitive:i("",r&&r.toPrimitive||e("toPrimitive")),toStringTag:i("",r&&r.toStringTag||e("toStringTag")),unscopables:i("",r&&r.unscopables||e("unscopables"))})}},"4I5i":function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4MG8":function(e,t,n){const i=n("T9Ld"),r=n("66f7"),o=n("SbYC"),s=n("+/fp"),a=n("hyX7"),c=n("J7Ao"),{merge:l,checkSanitizeDeprecation:u,escape:h}=n("rUJ1"),{getDefaults:d,changeDefaults:p,defaults:f}=n("vbtb");function g(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),t=l({},g.defaults,t||{}),u(t);const s=t.highlight;let a,c,h=0;try{a=i.lex(e,t)}catch(o){return n(o)}c=a.length;const d=function(e){if(e)return t.highlight=s,n(e);let i;try{i=r.parse(a,t)}catch(o){e=o}return t.highlight=s,e?n(e):n(null,i)};if(!s||s.length<3)return d();if(delete t.highlight,!c)return d();for(;hAn error occurred:

    "+h(o.message+"",!0)+"
    ";throw o}}g.options=g.setOptions=function(e){return l(g.defaults,e),p(g.defaults),g},g.getDefaults=d,g.defaults=f,g.Parser=r,g.parser=r.parse,g.Renderer=o,g.TextRenderer=s,g.Lexer=i,g.lexer=i.lex,g.InlineLexer=a,g.inlineLexer=a.output,g.Slugger=c,g.parse=g,e.exports=g},"4RMZ":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("1/U3"),r=n("/jXB"),o=n("axIb"),s=n("LViu"),a=n("umOc"),c=function(){function e(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=t||l,n&&(Object(o.G)(n)&&this._inputTypeStack.push(n),Object(o.D)(n)&&this._parentTypeStack.push(n),Object(o.O)(n)&&this._typeStack.push(n))}var t=e.prototype;return t.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case r.a.SELECTION_SET:var n=Object(o.A)(this.getType());this._parentTypeStack.push(Object(o.D)(n)?n:void 0);break;case r.a.FIELD:var s,c,l=this.getParentType();l&&(s=this._getFieldDef(t,l,e))&&(c=s.type),this._fieldDefStack.push(s),this._typeStack.push(Object(o.O)(c)?c:void 0);break;case r.a.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case r.a.OPERATION_DEFINITION:var u;"query"===e.operation?u=t.getQueryType():"mutation"===e.operation?u=t.getMutationType():"subscription"===e.operation&&(u=t.getSubscriptionType()),this._typeStack.push(Object(o.N)(u)?u:void 0);break;case r.a.INLINE_FRAGMENT:case r.a.FRAGMENT_DEFINITION:var h=e.typeCondition,d=h?Object(a.a)(t,h):Object(o.A)(this.getType());this._typeStack.push(Object(o.O)(d)?d:void 0);break;case r.a.VARIABLE_DEFINITION:var p=Object(a.a)(t,e.type);this._inputTypeStack.push(Object(o.G)(p)?p:void 0);break;case r.a.ARGUMENT:var f,g,m=this.getDirective()||this.getFieldDef();m&&(f=Object(i.a)(m.args,function(t){return t.name===e.name.value}))&&(g=f.type),this._argument=f,this._defaultValueStack.push(f?f.defaultValue:void 0),this._inputTypeStack.push(Object(o.G)(g)?g:void 0);break;case r.a.LIST:var b=Object(o.B)(this.getInputType()),v=Object(o.J)(b)?b.ofType:b;this._defaultValueStack.push(void 0),this._inputTypeStack.push(Object(o.G)(v)?v:void 0);break;case r.a.OBJECT_FIELD:var y,w,_=Object(o.A)(this.getInputType());Object(o.F)(_)&&(w=_.getFields()[e.name.value])&&(y=w.type),this._defaultValueStack.push(w?w.defaultValue:void 0),this._inputTypeStack.push(Object(o.G)(y)?y:void 0);break;case r.a.ENUM:var O,C=Object(o.A)(this.getInputType());Object(o.E)(C)&&(O=C.getValue(e.value)),this._enumValue=O}},t.leave=function(e){switch(e.kind){case r.a.SELECTION_SET:this._parentTypeStack.pop();break;case r.a.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case r.a.DIRECTIVE:this._directive=null;break;case r.a.OPERATION_DEFINITION:case r.a.INLINE_FRAGMENT:case r.a.FRAGMENT_DEFINITION:this._typeStack.pop();break;case r.a.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case r.a.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case r.a.LIST:case r.a.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case r.a.ENUM:this._enumValue=null}},e}();function l(e,t,n){var i=n.name.value;return i===s.SchemaMetaFieldDef.name&&e.getQueryType()===t?s.SchemaMetaFieldDef:i===s.TypeMetaFieldDef.name&&e.getQueryType()===t?s.TypeMetaFieldDef:i===s.TypeNameMetaFieldDef.name&&Object(o.D)(t)?s.TypeNameMetaFieldDef:Object(o.N)(t)||Object(o.H)(t)?t.getFields()[i]:void 0}},"4fRq":function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var i=new Uint8Array(16);e.exports=function(){return n(i),i}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},"4suF":function(e,t,n){"use strict";n.d(t,"g",function(){return f}),n.d(t,"f",function(){return g}),n.d(t,"c",function(){return m}),n.d(t,"d",function(){return b}),n.d(t,"e",function(){return v}),n.d(t,"a",function(){return y}),n.d(t,"b",function(){return w}),n.d(t,"i",function(){return _}),n.d(t,"h",function(){return O});var i=n("Y/la"),r=n("rWdj"),o=n("E9SJ"),s=n("t3R0"),a=n("Mw0p"),c=n("vJkw"),l=n("zpYP"),u=n("ZZnB"),h=n("F8X2"),d=n("19Hc"),p=n("axIb");function f(e){return Object(a.a)(e,m)}function g(e){if(!f(e))throw new Error("Expected ".concat(Object(r.a)(e)," to be a GraphQL directive."));return e}var m=function(){function e(e){this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!=e.isRepeatable&&e.isRepeatable,this.extensions=e.extensions&&Object(o.a)(e.extensions),this.astNode=e.astNode,e.name||Object(s.a)(0,"Directive must be named."),Array.isArray(e.locations)||Object(s.a)(0,"@".concat(e.name," locations must be an Array."));var t=e.args||{};Object(l.a)(t)&&!Array.isArray(t)||Object(s.a)(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=Object(i.a)(t).map(function(e){var t=e[1];return{name:e[0],description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(o.a)(t.extensions),astNode:t.astNode}})}var t=e.prototype;return t.toString=function(){return"@"+this.name},t.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Object(p.i)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},e}();Object(u.a)(m),Object(c.a)(m);var b=new m({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[h.a.FIELD,h.a.FRAGMENT_SPREAD,h.a.INLINE_FRAGMENT],args:{if:{type:Object(p.e)(d.a),description:"Included when true."}}}),v=new m({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[h.a.FIELD,h.a.FRAGMENT_SPREAD,h.a.INLINE_FRAGMENT],args:{if:{type:Object(p.e)(d.a),description:"Skipped when true."}}}),y="No longer supported",w=new m({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[h.a.FIELD_DEFINITION,h.a.ENUM_VALUE],args:{reason:{type:d.e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).",defaultValue:y}}}),_=Object.freeze([b,v,w]);function O(e){return f(e)&&_.some(function(t){return t.name===e.name})}},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("lJxs"),r=n("Cfvw"),o=n("zx2A");function s(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?o=>o.pipe(s((n,o)=>Object(r.a)(e(n,o)).pipe(Object(i.a)((e,i)=>t(n,e,o,i))),n)):("number"==typeof t&&(n=t),t=>t.lift(new a(e,n)))}class a{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new c(e,this.project,this.concurrent))}}class c extends o.b{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51nL":function(e,t,n){"use strict";n.d(t,"c",function(){return f}),n.d(t,"b",function(){return g}),n.d(t,"a",function(){return m});var i=n("1/U3"),r=n("1QEH"),o=n("rWdj"),s=n("E9SJ"),a=n("t3R0"),c=n("Mw0p"),l=n("zpYP"),u=n("ZZnB"),h=n("LViu"),d=n("4suF"),p=n("axIb");function f(e){return Object(c.a)(e,m)}function g(e){if(!f(e))throw new Error("Expected ".concat(Object(o.a)(e)," to be a GraphQL schema."));return e}var m=function(){function e(e){e&&e.assumeValid?this.__validationErrors=[]:(this.__validationErrors=void 0,Object(l.a)(e)||Object(a.a)(0,"Must provide configuration object."),!e.types||Array.isArray(e.types)||Object(a.a)(0,'"types" must be Array if provided but got: '.concat(Object(o.a)(e.types),".")),!e.directives||Array.isArray(e.directives)||Object(a.a)(0,'"directives" must be Array if provided but got: '+"".concat(Object(o.a)(e.directives),".")),!e.allowedLegacyNames||Array.isArray(e.allowedLegacyNames)||Object(a.a)(0,'"allowedLegacyNames" must be Array if provided but got: '+"".concat(Object(o.a)(e.allowedLegacyNames),"."))),this.extensions=e.extensions&&Object(s.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this.__allowedLegacyNames=e.allowedLegacyNames||[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=e.directives||d.i;var t=[this._queryType,this._mutationType,this._subscriptionType,h.__Schema].concat(e.types),n=Object.create(null);n=t.reduce(b,n),n=this._directives.reduce(v,n),this._typeMap=n,this._possibleTypeMap=Object.create(null),this._implementations=Object.create(null);for(var i=0,c=Object(r.a)(this._typeMap);i1&&"_"===e[0]&&"_"===e[1]?new r.a('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.'),t):o.test(e)?void 0:new r.a('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'),t)}},"5XwX":function(e,t,n){"use strict";n.d(t,"c",function(){return f}),n.d(t,"a",function(){return g}),n.d(t,"b",function(){return m});var i=n("1/U3"),r=n("kBjl"),o=n("rWdj"),s=n("tzQD"),a=n("dWS+"),c=n("/jXB"),l=n("dQau"),u=n("axIb"),h=n("umOc"),d=n("Mbdf"),p=n("67eP");function f(e,t,n,i){var r=i&&i.maxErrors,c=[];try{var f=function(e,t,n,i){for(var r={},c=function(c){var f=t[c],g=f.variable.name.value,m=Object(h.a)(e,f.type);if(!Object(u.G)(m)){var v=Object(l.print)(f.type);return i(new a.a('Variable "$'.concat(g,'" expected value of type "').concat(v,'" which cannot be used as an input type.'),f.type)),"continue"}if(!b(n,g)){if(f.defaultValue)r[g]=Object(d.a)(f.defaultValue,m);else if(Object(u.L)(m)){var y=Object(o.a)(m);i(new a.a('Variable "$'.concat(g,'" of required type "').concat(y,'" was not provided.'),f))}return"continue"}var w=n[g];if(null===w&&Object(u.L)(m)){var _=Object(o.a)(m);return i(new a.a('Variable "$'.concat(g,'" of non-null type "').concat(_,'" must not be null.'),f)),"continue"}r[g]=Object(p.a)(w,m,function(e,t,n){var r='Variable "$'.concat(g,'" got invalid value ')+Object(o.a)(t);e.length>0&&(r+=' at "'.concat(g).concat(Object(s.a)(e),'"')),i(new a.a(r+"; "+n.message,f,void 0,void 0,void 0,n.originalError))})},f=0;f=r)throw new a.a("Too many errors processing variables, error limit reached. Execution aborted.");c.push(e)});if(0===c.length)return{coerced:f}}catch(g){c.push(g)}return{errors:c}}function g(e,t,n){for(var i={},s=Object(r.a)(t.arguments||[],function(e){return e.name.value}),h=0,p=e.args;h{if(n.timeRemaining()){try{return window.cancelIdleCallback(this.setItemHandles[e]),this.setItemHandles[e]=void 0,this.storage.setItem(e,t)}catch(i){["QuotaExceededError","NS_ERROR_DOM_QUOTA_REACHED"].includes(i.name)}return this.storage.setItem(e,t)}})}}const o={keys:["windows","windowsMeta","settings","environments"],rehydrate:!0,storage:new r,restoreDates:!1,storageKeySerializer:e=>`${Object(i.b)().initialData.instanceStorageNamespace||"altair_"}${e}`}},"66f7":function(e,t,n){const i=n("SbYC"),r=n("J7Ao"),o=n("hyX7"),s=n("+/fp"),{defaults:a}=n("vbtb"),{merge:c,unescape:l}=n("rUJ1");e.exports=class e{constructor(e){this.tokens=[],this.token=null,this.options=e||a,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new r}static parse(t,n){return new e(n).parse(t)}parse(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,c({},this.options,{renderer:new s})),this.tokens=e.reverse();let t="";for(;this.next();)t+=this.tok();return t}next(){return this.token=this.tokens.pop(),this.token}peek(){return this.tokens[this.tokens.length-1]||0}parseText(){let e=this.token.text;for(;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)}tok(){let e="";switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,l(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":{let t,n,i,r,o="";for(i="",t=0;t2&&void 0!==arguments[2]?arguments[2]:g;return m(e,t,n)}function g(e,t,n){var i="Invalid value "+Object(o.a)(t);throw e.length>0&&(i+=' at "value'.concat(Object(u.a)(e),'": ')),n.message=i+": "+n.message,n}function m(e,t,n,u){if(Object(p.L)(t))return null!=e?m(e,t.ofType,n,u):void n(Object(h.b)(u),e,new d.a("Expected non-nullable type ".concat(Object(o.a)(t)," not to be null.")));if(null==e)return null;if(Object(p.J)(t)){var f=t.ofType;if(Object(i.e)(e)){var g=[];return Object(i.b)(e,function(e,t){g.push(m(e,f,n,Object(h.a)(u,t)))}),g}return[m(e,f,n,u)]}if(Object(p.F)(t)){if(!Object(c.a)(e))return void n(Object(h.b)(u),e,new d.a("Expected type ".concat(t.name," to be an object.")));for(var b={},v=t.getFields(),y=0,w=Object(r.a)(v);ylocalStorage.getItem("altair__debug_current_version");c()&&c()!==a.a.version?(localStorage.setItem("altair__debug_previous_version",c()),localStorage.setItem("altair__debug_current_version",a.a.version)):localStorage.setItem("altair__debug_current_version",c()),Object.defineProperty(window,"__ENABLE_DEBUG_MODE__",{get:()=>window._ALTAIR__ENABLE_DEBUG_MODE__,set(e){e&&(console.group("\u2699\ufe0f\ud83d\udee0Altair Debug Information"),console.log("Previous version:",localStorage.getItem("altair__debug_previous_version")),console.log("Current version:",c()),console.groupEnd(),r.a.setLevel("TRACE")),window._ALTAIR__ENABLE_DEBUG_MODE__=e}}),Object.defineProperty({log:(...e)=>console.log(...e),error:(...e)=>console.error(...e),warn:(...e)=>console.warn(...e)},"log",{get:()=>!a.a.production||window.__ENABLE_DEBUG_MODE__?console.log.bind(console):()=>{}})},"6VjI":function(e,t,n){var i={"./Range.js":"VWUu","./file.js":"8O83","./getASTNodeAtPosition.js":"gI7C","./index.js":"HmyC","./validateWithCustomRules.js":"qvY7"};function r(e){return Promise.resolve().then(function(){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n(i[e])})}r.keys=function(){return Object.keys(i)},r.id="6VjI",e.exports=r},"6b34":function(e,t,n){"use strict";var i=Object.prototype.toString,r=i.call(function(){return arguments}());e.exports=function(e){return i.call(e)===r}},"6neD":function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return l});const i="\n# Welcome to Altair GraphQL Client.\n# You can send your request using CmdOrCtrl + Enter.\n\n# Enter your graphQL query here.\n".trimStart();var r=n("U7fl"),o=n("nTiS"),s=n("BGZm"),a=n("1tsg");const c=()=>{const e=Object(o.b)();return{url:Object(s.e)(e.initialData.url?""+e.initialData.url:""),subscriptionUrl:e.initialData.subscriptionsEndpoint?""+e.initialData.subscriptionsEndpoint:"",query:e.initialData.query?""+e.initialData.query:i,selectedOperation:null,operations:[],httpVerb:"POST",response:null,responseTime:0,responseStatus:0,responseStatusText:"",responseHeaders:{},showUrlAlert:!1,urlAlertMessage:"URL has been set",urlAlertSuccess:!0,showEditorAlert:!1,editorAlertMessage:"Query is set",editorAlertSuccess:!0,subscriptionClient:null,subscriptionConnectionParams:"{}",subscriptionProviderId:a.b,isSubscribed:!1,subscriptionResponseList:[],autoscrollSubscriptionResponse:!1,queryEditorState:{isFocused:!1}}};function l(e=c(),t){switch(t.type){case r.t:case r.v:return Object.assign({},e,{query:t.payload||""});case r.G:case r.H:return Object.assign({},e,{url:t.payload.url});case r.F:return Object.assign({},e,{subscriptionUrl:t.payload.subscriptionUrl});case r.x:return Object.assign({},e,{response:t.payload});case r.y:return{...e,responseHeaders:t.payload.headers};case r.A:return Object.assign({},e,{selectedOperation:t.payload.selectedOperation});case r.z:return Object.assign({},e,{responseTime:t.payload.responseTime,responseStatus:t.payload.responseStatus,responseStatusText:t.payload.responseStatusText});case r.I:return Object.assign({},e,{isSubscribed:!0});case r.J:return Object.assign({},e,{isSubscribed:!1});case r.C:return{...e,subscriptionConnectionParams:t.payload.connectionParams};case r.D:return{...e,subscriptionProviderId:t.payload.providerId};case r.B:return Object.assign({},e,{subscriptionClient:t.payload.subscriptionClient});case r.a:return Object.assign({},e,{subscriptionResponseList:[...e.subscriptionResponseList,{response:t.payload.response,responseTime:t.payload.responseTime,responseObj:t.payload.responseObj}]});case r.E:return Object.assign({},e,{subscriptionResponseList:t.payload.list});case r.cb:return{...e,autoscrollSubscriptionResponse:!e.autoscrollSubscriptionResponse};case r.s:return Object.assign({},e,{httpVerb:t.payload.httpVerb});case r.w:return Object.assign({},e,{operations:t.payload.operations});case r.u:return{...e,queryEditorState:t.payload};default:return e}}},"7+OI":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("HDdC");function r(e){return!!e&&(e instanceof i.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},"73r6":function(e,t,n){"use strict";e.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}},"79xS":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return l});var i=n("fXoL"),r=n("OySI");const o={},s="[NG-ZORRO]:";function a(e,...t){(r.a.isTestMode||Object(i.Y)()&&function(...e){const t=e.reduce((e,t)=>e+t.toString(),"");return!o[t]&&(o[t]=!0,!0)}(...t))&&e(...t)}const c=(...e)=>a((...e)=>console.warn(s,...e),...e),l=(...e)=>{if(r.a.isTestMode)return()=>{};{const t=(new Error).stack;return a((...e)=>console.warn(s,"deprecated:",...e,t),...e)}}},"7Hc7":function(e,t,n){"use strict";n.d(t,"a",function(){return d});let i=1;const r=(()=>Promise.resolve())(),o={};function s(e){return e in o&&(delete o[e],!0)}const a={setImmediate(e){const t=i++;return o[t]=!0,r.then(()=>s(t)&&e()),t},clearImmediate(e){s(e)}};var c=n("3N8a");class l extends c.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=a.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(a.clearImmediate(t),e.scheduled=void 0)}}var u=n("IjjT");class h extends u.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++ithis._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Object(c.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"86bp":function(e,t,n){"use strict";var i=n("YsTz"),r=Array.prototype.forEach,o=Object.create,s=function(e,t){var n;for(n in e)t[n]=e[n]};e.exports=function(e){var t=o(null);return r.call(arguments,function(e){i(e)&&s(Object(e),t)}),t}},"8LU1":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return r}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return o});var i=n("fXoL");function r(e){return null!=e&&"false"!=`${e}`}function o(e,t=0){return s(e)?Number(e):t}function s(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function a(e){return Array.isArray(e)?e:[e]}function c(e){return null==e?"":"string"==typeof e?e:`${e}px`}function l(e){return e instanceof i.l?e.nativeElement:e}},"8O83":function(e,t,n){"use strict";function i(e){const t=/^.+\.([^.]+)$/.exec(e);return t&&t.length>1?t[1]:null}function r(e,t){let n=e;return t&&(n=e.substr(0,e.length-(t.length+1))),n}function o(e){if(e)throw Error(`cannot import() module with extension '${e}'`)}n.r(t),n.d(t,"getFileExtension",function(){return i}),n.d(t,"getPathWithoutExtension",function(){return r}),n.d(t,"resolveFile",function(){return u}),n.d(t,"requireFile",function(){return h});const s=e=>n("Lxz9").resolve(e+".js"),a=e=>n("FBZJ").resolve(e+".json"),c=e=>n("6VjI")(e+".js"),l=e=>n("3PdN")(e+".json");function u(e){const t=i(e),n=r(e,t);switch(t){case"js":return s(n);case"json":return a(n);default:try{return s(e)}catch(o){return a(e)}}}function h(e){const t=i(e),n=r(e,t);switch(t){case"js":return u(n+".js")?c(n):null;case"json":return u(n+".json")?l(n):null;default:try{if(u(e+".js"))return c(e)}catch(s){o(t)}if(u(e+".json"))return l(e);o(t)}}},"8Ur0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldReference=function(e){return{kind:"Field",schema:e.schema,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getDirectiveReference=function(e){return{kind:"Directive",schema:e.schema,directive:e.directiveDef}},t.getArgumentReference=function(e){return e.directiveDef?{kind:"Argument",schema:e.schema,argument:e.argDef,directive:e.directiveDef}:{kind:"Argument",schema:e.schema,argument:e.argDef,field:e.fieldDef,type:r(e.fieldDef)?null:e.parentType}},t.getEnumValueReference=function(e){return{kind:"EnumValue",value:e.enumValue,type:(0,i.getNamedType)(e.inputType)}},t.getTypeReference=function(e,t){return{kind:"Type",schema:e.schema,type:t||e.type}};var i=n("Tzvz");function r(e){return"__"===e.name.slice(0,2)}},"8j7D":function(e,t,n){"use strict";var i=n("9Qh4"),r=n("ZI+j"),o=Object.create,s=Object.defineProperties;r.refCounter=function(e,t,n){var a,c;a=o(null),t.on("set"+(c=n.async&&r.async||n.promise&&r.promise?"async":""),function(e,t){a[e]=t||1}),t.on("get"+c,function(e){++a[e]}),t.on("delete"+c,function(e){delete a[e]}),t.on("clear"+c,function(){a={}}),s(t.memoized,{deleteRef:i(function(){var e=t.get(arguments);return null===e?null:a[e]?!--a[e]&&(t.delete(e),!0):null}),getRefCount:i(function(){var e=t.get(arguments);return null===e?0:a[e]?a[e]:0})})}},"8mtn":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return l});var i=n("mrSG"),r=n("fXoL");const o=["*"];class s{constructor(e){this.icons=e}}let a=(()=>{let e=class{constructor(e,t,n){this.elem=e,this.changeDetector=t,this.icons=n}ngOnChanges(e){const t=Object.assign({},...this.icons)[(n=e.name.currentValue,n.toLowerCase().replace(/(?:^\w|[A-Z]|\b\w)/g,e=>e.toUpperCase()).replace(/[-_]/g,""))]||"";var n;t||console.warn(`Icon not found: ${e.name.currentValue}\nRefer to documentation on https://github.com/michaelbazos/angular-feather`),this.elem.nativeElement.innerHTML=t,this.changeDetector.markForCheck()}};return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.h),r.Qb(s))},e.\u0275cmp=r.Kb({type:e,selectors:[["i-feather"],["feather-icon"]],inputs:{name:"name"},features:[r.Cb],ngContentSelectors:o,decls:2,vars:0,template:function(e,t){1&e&&(r.lc(),r.kc(0),r.Gc(1,"\n"))},styles:["[_nghost-%COMP%]{display:inline-block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}"]}),e=Object(i.b)([Object(i.d)(0,Object(r.q)(r.l)),Object(i.d)(1,Object(r.q)(r.h)),Object(i.d)(2,Object(r.q)(s))],e),e})();var c;let l=(()=>{let e=c=class{constructor(e){if(this.icons=e,!this.icons)throw new Error("No icon provided. Make sure to use 'FeatherModule.pick({ ... })' when importing the module\nRefer to documentation on https://github.com/michaelbazos/angular-feather")}static pick(e){return{ngModule:c,providers:[{provide:s,multi:!0,useValue:e}]}}};return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.ac(s,8))}}),e=c=Object(i.b)([Object(i.d)(0,Object(r.C)())],e),e})()},"93gR":function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"a",function(){return m});var i=n("1/U3"),r=n("PXbX"),o=n("1QEH"),s=n("Y/la"),a=n("rWdj"),c=n("dWS+"),l=n("5PMP"),u=n("sJV+"),h=n("4suF"),d=n("LViu"),p=n("51nL"),f=n("axIb");function g(e){if(Object(p.b)(e),e.__validationErrors)return e.__validationErrors;var t=new b(e);!function(e){var t=e.schema,n=t.getQueryType();n?Object(f.N)(n)||e.reportError("Query root type must be Object type, it cannot be ".concat(Object(a.a)(n),"."),v(t,n,"query")):e.reportError("Query root type must be provided.",t.astNode);var i=t.getMutationType();i&&!Object(f.N)(i)&&e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat(Object(a.a)(i),"."),v(t,i,"mutation"));var r=t.getSubscriptionType();r&&!Object(f.N)(r)&&e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat(Object(a.a)(r),"."),v(t,r,"subscription"))}(t),function(e){for(var t=0,n=e.schema.getDirectives();t{const n=e.getCursor(),a=e.getTokenAt(n),c=function(e,t,n){const i="Invalid"===t.state.kind?t.state.prevState:t.state,a=i.kind,c=i.step;if("Document"===a&&0===c)return(0,s.default)(e,t,[{text:"{"}]);const l=n.variableToType;if(!l)return;const u=function(e,t){const n={type:null,fields:null};return(0,o.default)(t,t=>{if("Variable"===t.kind)n.type=e[t.name];else if("ListValue"===t.kind){const e=(0,r.getNullableType)(n.type);n.type=e instanceof r.GraphQLList?e.ofType:null}else if("ObjectValue"===t.kind){const e=(0,r.getNamedType)(n.type);n.fields=e instanceof r.GraphQLInputObjectType?e.getFields():null}else if("ObjectField"===t.kind){const e=t.name&&n.fields?n.fields[t.name]:null;n.type=e&&e.type}}),n}(l,t.state);if("Document"===a||"Variable"===a&&0===c){const n=Object.keys(l);return(0,s.default)(e,t,n.map(e=>({text:`"${e}": `,type:l[e]})))}if(("ObjectValue"===a||"ObjectField"===a&&0===c)&&u.fields){const n=Object.keys(u.fields).map(e=>u.fields[e]);return(0,s.default)(e,t,n.map(e=>({text:`"${e.name}": `,type:e.type,description:e.description})))}if("StringValue"===a||"NumberValue"===a||"BooleanValue"===a||"NullValue"===a||"ListValue"===a&&1===c||"ObjectField"===a&&2===c||"Variable"===a&&2===c){const n=(0,r.getNamedType)(u.type);if(n instanceof r.GraphQLInputObjectType)return(0,s.default)(e,t,[{text:"{"}]);if(n instanceof r.GraphQLEnumType){const i=n.getValues(),r=Object.keys(i).map(e=>i[e]);return(0,s.default)(e,t,r.map(e=>({text:`"${e.name}"`,type:n,description:e.description})))}if(n===r.GraphQLBoolean)return(0,s.default)(e,t,[{text:"true",type:r.GraphQLBoolean,description:"Not false."},{text:"false",type:r.GraphQLBoolean,description:"Not true."}])}}(n,a,t);return c&&c.list&&c.list.length>0&&(c.from=i.default.Pos(c.from.line,c.from.column),c.to=i.default.Pos(c.to.line,c.to.column),i.default.signal(e,"hasCompletion",e,c,a)),c})},"9Oho":function(e,t,n){"use strict";n.d(t,"h",function(){return i}),n.d(t,"g",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"p",function(){return s}),n.d(t,"b",function(){return a}),n.d(t,"k",function(){return c}),n.d(t,"o",function(){return l}),n.d(t,"c",function(){return u}),n.d(t,"l",function(){return h}),n.d(t,"j",function(){return d}),n.d(t,"i",function(){return p}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return g}),n.d(t,"m",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"f",function(){return v}),n.d(t,"n",function(){return y});const i="PUSH_CLOSED_WINDOW_TO_LOCAL",r="POP_FROM_CLOSED_WINDOWS",o="ADD_INSTALLED_PLUGIN_ENTRY",s="SET_PLUGIN_ACTIVE",a="ADD_PANEL",c="REMOVE_PANEL",l="SET_PANEL_ACTIVE",u="ADD_UI_ACTION",h="REMOVE_UI_ACTION";class d{constructor(e){this.payload=e,this.type=i}}class p{constructor(){this.type=r}}class f{constructor(e){this.payload=e,this.type=o}}class g{constructor(e){this.payload=e,this.type=a}}class m{constructor(e){this.payload=e,this.type=c}}class b{constructor(e){this.payload=e,this.type=l}}class v{constructor(e){this.payload=e,this.type=u}}class y{constructor(e){this.payload=e,this.type=h}}},"9Qh4":function(e,t,n){"use strict";var i=n("k2qM"),r=n("F5Mc"),o=n("IDEf"),s=n("86bp"),a=n("+XMV");(e.exports=function(e,t){var n,r,c,l,u;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],i(e)?(n=a.call(e,"c"),r=a.call(e,"e"),c=a.call(e,"w")):(n=c=!0,r=!1),u={value:t,configurable:n,enumerable:r,writable:c},l?o(s(l),u):u}).gs=function(e,t,n){var c,l,u,h;return"string"!=typeof e?(u=n,n=t,t=e,e=null):u=arguments[3],i(t)?r(t)?i(n)?r(n)||(u=n,n=void 0):n=void 0:(u=t,t=n=void 0):t=void 0,i(e)?(c=a.call(e,"c"),l=a.call(e,"e")):(c=!0,l=!1),h={get:t,set:n,configurable:c,enumerable:l},u?o(s(u),h):h}},"9g66":function(e,t,n){"use strict";var i=n("e989"),r=n("lq5y"),o=Math.max;e.exports=function(e,t){var n,s,a,c=o(arguments.length,2);for(e=Object(r(e)),a=function(i){try{e[i]=t[i]}catch(r){n||(n=r)}},s=1;sr.lift(new v(e,t,n,i))}class v{constructor(e,t,n,i){this.keySelector=e,this.elementSelector=t,this.durationSelector=n,this.subjectSelector=i}call(e,t){return t.subscribe(new y(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class y extends c.a{constructor(e,t,n,i,r){super(e),this.keySelector=t,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=r,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(e){let t;try{t=this.keySelector(e)}catch(n){return void this.error(n)}this._group(e,t)}_group(e,t){let n=this.groups;n||(n=this.groups=new Map);let i,r=n.get(t);if(this.elementSelector)try{i=this.elementSelector(e)}catch(o){this.error(o)}else i=e;if(!r){r=this.subjectSelector?this.subjectSelector():new s.a,n.set(t,r);const e=new _(t,r,this);if(this.destination.next(e),this.durationSelector){let e;try{e=this.durationSelector(new _(t,r))}catch(o){return void this.error(o)}this.add(e.subscribe(new w(t,r,this)))}}r.closed||r.next(i)}_error(e){const t=this.groups;t&&(t.forEach((t,n)=>{t.error(e)}),t.clear()),this.destination.error(e)}_complete(){const e=this.groups;e&&(e.forEach((e,t)=>{e.complete()}),e.clear()),this.destination.complete()}removeGroup(e){this.groups.delete(e)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class w extends c.a{constructor(e,t,n){super(t),this.key=e,this.group=t,this.parent=n}_next(e){this.complete()}_unsubscribe(){const{parent:e,key:t}=this;this.key=this.parent=null,e&&e.removeGroup(t)}}class _ extends o.a{constructor(e,t,n){super(),this.key=e,this.groupSubject=t,this.refCountSubscription=n}_subscribe(e){const t=new m.a,{refCountSubscription:n,groupSubject:i}=this;return n&&!n.closed&&t.add(new O(n)),t.add(i.subscribe(e)),t}}class O extends m.a{constructor(e){super(),this.parent=e,e.count++}unsubscribe(){const e=this.parent;e.closed||this.closed||(super.unsubscribe(),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())}}var C=n("5+tZ"),E=n("Cfvw"),S=n("zx2A");function T(e,t){return t?n=>n.pipe(T((n,i)=>Object(E.a)(e(n,i)).pipe(Object(p.a)((e,r)=>t(n,e,i,r))))):t=>t.lift(new x(e))}class x{constructor(e){this.project=e}call(e,t){return t.subscribe(new k(e,this.project))}}class k extends S.b{constructor(e,t){super(e),this.project=t,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(e){this.hasSubscription||this.tryNext(e)}tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(t)}_innerSub(e){const t=new S.a(this),n=this.destination;n.add(t);const i=Object(S.c)(e,t);i!==t&&n.add(i)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}class I{call(e,t){return t.subscribe(new D(e))}}class D extends c.a{constructor(e){super(e)}_next(e){e.observe(this.destination)}}var z=n("IzEk"),j=(n("bOdf"),n("nYR2"),n("zp1y"),n("fXoL"));const A={dispatch:!0,useEffectsErrorHandler:!0};function R(e,t){const n=e(),i=Object.assign(Object.assign({},A),t);return Object.defineProperty(n,"__@ngrx/effects_create__",{value:i}),n}function N(e){return Object.getOwnPropertyNames(e).filter(t=>e[t]&&e[t].hasOwnProperty("__@ngrx/effects_create__")).map(t=>Object.assign({propertyName:t},e[t]["__@ngrx/effects_create__"]))}function L(e){return Object.getPrototypeOf(e)}function M(e){return Object(i.n)(F,L)(e)}function F(e){return function(e){return e.constructor.hasOwnProperty("__@ngrx/effects__")}(e)?e.constructor["__@ngrx/effects__"]:[]}function P(e,t,n=10){return e.pipe(Object(f.a)(i=>(t&&t.handleError(i),n<=1?e:P(e,t,n-1))))}let V=(()=>{class e extends o.a{constructor(e){super(),e&&(this.source=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}}return e.\u0275fac=function(t){return new(t||e)(j.ac(i.f))},e.\u0275prov=j.Mb({token:e,factory:e.\u0275fac}),e})();function G(...e){return Object(g.a)(t=>e.some(e=>"string"==typeof e?e===t.type:e.type===t.type))}function B(e){return W(e,"ngrxOnInitEffects")}function W(e,t){return e&&t in e&&"function"==typeof e[t]}const $=new j.s("@ngrx/effects Internal Root Guard"),U=new j.s("@ngrx/effects User Provided Effects"),H=new j.s("@ngrx/effects Internal Root Effects"),q=new j.s("@ngrx/effects Root Effects"),Q=new j.s("@ngrx/effects Internal Feature Effects"),K=new j.s("@ngrx/effects Feature Effects"),X=new j.s("@ngrx/effects Effects Error Handler");let Y=(()=>{class e extends s.a{constructor(e,t){super(),this.errorHandler=e,this.effectsErrorHandler=t}addEffects(e){this.next(e)}toActions(){return this.pipe(b(L),Object(C.a)(e=>e.pipe(b(J))),Object(C.a)(e=>{const t=e.pipe(T(e=>{return(t=this.errorHandler,n=this.effectsErrorHandler,e=>{const i=function(e,t,n){const i=L(e).constructor.name,o=(s=e,[M,N].reduce((e,t)=>e.concat(t(s)),[])).map(({propertyName:r,dispatch:o,useEffectsErrorHandler:s})=>{const a="function"==typeof e[r]?e[r]():e[r],c=s?n(a,t):a;return!1===o?c.pipe(function(e){return e.lift(new l)}):c.pipe(function(e){return e.lift(new h)}).pipe(Object(p.a)(t=>({effect:e[r],notification:t,propertyName:r,sourceName:i,sourceInstance:e})))});var s;return Object(r.a)(...o)}(e,t,n);return W(e,"ngrxOnRunEffects")?e.ngrxOnRunEffects(i):i})(e);var t,n}),Object(p.a)(e=>(function(e,t){if("N"===e.notification.kind){const n=e.notification.value;!function(e){return"function"!=typeof e&&e&&e.type&&"string"==typeof e.type}(n)&&t.handleError(new Error(`Effect ${function({propertyName:e,sourceInstance:t,sourceName:n}){const i="function"==typeof t[e];return`"${n}.${String(e)}${i?"()":""}"`}(e)} dispatched an invalid action: ${function(e){try{return JSON.stringify(e)}catch(t){return e}}(n)}`))}}(e,this.errorHandler),e.notification)),Object(g.a)(e=>"N"===e.kind&&null!=e.value),function(e){return e.lift(new I)}),n=e.pipe(Object(z.a)(1),Object(g.a)(B),Object(p.a)(e=>e.ngrxOnInitEffects()));return Object(r.a)(t,n)}))}}return e.\u0275fac=function(t){return new(t||e)(j.ac(j.m),j.ac(X))},e.\u0275prov=j.Mb({token:e,factory:e.\u0275fac}),e})();function J(e){return W(e,"ngrxOnIdentifyEffects")?e.ngrxOnIdentifyEffects():""}let Z=(()=>{class e{constructor(e,t){this.effectSources=e,this.store=t,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(j.ac(Y),j.ac(i.h))},e.\u0275prov=j.Mb({token:e,factory:e.\u0275fac}),e})();const ee="@ngrx/effects/init";Object(i.o)(ee);let te=(()=>{class e{constructor(e,t,n,i,r,o,s){this.sources=e,t.start(),i.forEach(t=>e.addEffects(t)),n.dispatch({type:ee})}addEffects(e){this.sources.addEffects(e)}}return e.\u0275mod=j.Ob({type:e}),e.\u0275inj=j.Nb({factory:function(t){return new(t||e)(j.ac(Y),j.ac(Z),j.ac(i.h),j.ac(q),j.ac(i.k,8),j.ac(i.i,8),j.ac($,8))}}),e})(),ne=(()=>{class e{constructor(e,t,n,i){t.forEach(t=>t.forEach(t=>e.addEffects(t)))}}return e.\u0275mod=j.Ob({type:e}),e.\u0275inj=j.Nb({factory:function(t){return new(t||e)(j.ac(te),j.ac(K),j.ac(i.k,8),j.ac(i.i,8))}}),e})(),ie=(()=>{class e{static forFeature(e=[]){return{ngModule:ne,providers:[e,{provide:Q,multi:!0,useValue:e},{provide:U,multi:!0,useValue:[]},{provide:K,multi:!0,useFactory:re,deps:[j.t,Q,U]}]}}static forRoot(e=[]){return{ngModule:te,providers:[{provide:X,useValue:P},Z,Y,V,e,{provide:H,useValue:[e]},{provide:$,useFactory:oe,deps:[[Z,new j.C,new j.M],[H,new j.L]]},{provide:U,multi:!0,useValue:[]},{provide:q,useFactory:re,deps:[j.t,H,U]}]}}}return e.\u0275mod=j.Ob({type:e}),e.\u0275inj=j.Nb({factory:function(t){return new(t||e)}}),e})();function re(e,t,n){const i=[];for(let r of t)i.push(...r);for(let r of n)i.push(...r);return function(e,t){return t.map(t=>e.get(t))}(e,i)}function oe(e,t){if((1!==t.length||0!==t[0].length)&&e)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},"9lTW":function(e,t,n){"use strict";var i=n("MgzW");function r(e,t){if(e===t)return 0;for(var n=e.length,i=t.length,r=0,o=Math.min(n,i);r=0;l--)if(u[l]!==h[l])return!1;for(l=u.length-1;l>=0;l--)if(!y(e[a=u[l]],t[a],n,i))return!1;return!0}(e,t,n,i))}return n?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function _(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function O(e,t,n,i){var r;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(i=n,n=null),r=function(e){var t;try{e()}catch(n){t=n}return t}(t),i=(n&&n.name?" ("+n.name+").":".")+(i?" "+i:"."),e&&!r&&b(r,n,"Missing expected exception"+i);var o="string"==typeof i,a=!e&&r&&!n;if((!e&&s.isError(r)&&o&&_(r,n)||a)&&b(r,n,"Got unwanted exception"+i),e&&r&&n&&!_(r,n)||!e&&r)throw r}d.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return g(m(e.actual),128)+" "+e.operator+" "+g(m(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var i=n.stack,r=f(t),o=i.indexOf("\n"+r);if(o>=0){var s=i.indexOf("\n",o+1);i=i.substring(s+1)}this.stack=i}}},s.inherits(d.AssertionError,Error),d.fail=b,d.ok=v,d.equal=function(e,t,n){e!=t&&b(e,t,n,"==",d.equal)},d.notEqual=function(e,t,n){e==t&&b(e,t,n,"!=",d.notEqual)},d.deepEqual=function(e,t,n){y(e,t,!1)||b(e,t,n,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(e,t,n){y(e,t,!0)||b(e,t,n,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(e,t,n){y(e,t,!1)&&b(e,t,n,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function e(t,n,i){y(t,n,!0)&&b(t,n,i,"notDeepStrictEqual",e)},d.strictEqual=function(e,t,n){e!==t&&b(e,t,n,"===",d.strictEqual)},d.notStrictEqual=function(e,t,n){e===t&&b(e,t,n,"!==",d.notStrictEqual)},d.throws=function(e,t,n){O(!0,e,t,n)},d.doesNotThrow=function(e,t,n){O(!1,e,t,n)},d.ifError=function(e){if(e)throw e},d.strict=i(function e(t,n){t||b(t,!0,n,"==",e)},d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var C=Object.keys||function(e){var t=[];for(var n in e)a.call(e,n)&&t.push(n);return t}},"9ppp":function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"9tIO":function(e,t,n){"use strict";n.d(t,"a",function(){return E});var i=n("SxV6"),r=n("lJxs"),o=n("vkgz"),s=n("xk4V"),a=n.n(s),c=n("6neD"),l=n("U7fl"),u=n("dtjE"),h=n("GNEV"),d=n("Gjh+"),p=n("oE/m"),f=n("bQ7u"),g=n("g9RT"),m=n("9Oho"),b=n("lgLN"),v=n("BGZm"),y=n("W2+O"),w=n("6EqW"),_=n("Yhw5"),O=n("fXoL"),C=n("l7P3");let E=(()=>{class e{constructor(e,t){this.store=e,this.gqlService=t}newWindow(e={}){return this.store.pipe(Object(i.a)(),Object(r.a)(t=>{var n;const i=e.url||c.a().url||t.windowsMeta.activeWindowId&&(null===(n=t.windows[t.windowsMeta.activeWindowId])||void 0===n?void 0:n.query.url),r={windowId:a()(),title:e.title||`Window ${Object.keys(t.windows).length+1}`,url:i,collectionId:e.collectionId,windowIdInCollection:e.windowIdInCollection,fixedTitle:e.fixedTitle};return this.store.dispatch(new d.b(r)),this.setupWindow(r.windowId),r}))}removeWindow(e){return this.cleanupWindow(e),this.store.pipe(Object(i.a)(),Object(o.a)(t=>{const n=t.windows[e];n&&this.store.dispatch(new m.j({window:n})),this.store.dispatch(new d.k({windowId:e}))}))}duplicateWindow(e){return this.store.pipe(Object(i.a)()).subscribe(t=>{const n={...t.windows[e]};if(n)return this.importWindowData({version:1,type:"window",query:n.query.query||"",apiUrl:n.query.url,variables:n.variables.variables,subscriptionUrl:n.query.subscriptionUrl,subscriptionConnectionParams:n.query.subscriptionConnectionParams,headers:n.headers,windowName:`${n.layout.title} (Copy)`,preRequestScript:n.preRequest.script,preRequestScriptEnabled:n.preRequest.enabled,gqlSchema:n.schema.schema})})}getWindowExportData(e){return this.store.pipe(Object(i.a)(),Object(r.a)(t=>{const n={...t.windows[e]};return{version:1,type:"window",query:n.query.query||"",apiUrl:n.query.url,variables:n.variables.variables,subscriptionUrl:n.query.subscriptionUrl,subscriptionConnectionParams:n.query.subscriptionConnectionParams,headers:n.headers,windowName:n.layout.title,preRequestScript:n.preRequest.script,preRequestScriptEnabled:n.preRequest.enabled}}))}importWindowDataFromJson(e){if(!e)throw new Error("String is empty.");try{return this.importWindowData(JSON.parse(e),{fixedTitle:!0})}catch(t){try{return w.a.log("(Second attempt) Trying to decode JSON data..."),this.importWindowData(JSON.parse(decodeURIComponent(e)),{fixedTitle:!0})}catch(t){}w.a.log("The file is invalid.",t)}}importWindowDataFromCurl(e){if(!e)throw new Error("String is empty.");try{const t=Object(y.b)(e),n={version:1,type:"window",query:t.body?JSON.parse(t.body).query:"",apiUrl:t.url,variables:t.body?JSON.stringify(JSON.parse(t.body).variables):"",subscriptionUrl:"",subscriptionConnectionParams:"",headers:t.headers?Object.keys(t.headers).map(e=>({key:e,value:t.headers[e]})):[],windowName:`cURL-${Date.now()}`,preRequestScript:"",preRequestScriptEnabled:!1};return this.importWindowData(n)}catch(t){w.a.log("The file is invalid.",t)}}importWindowData(e,t={}){try{if(!e)throw new Error("Object is empty.");if(!e.version||!e.type||"window"!==e.type)throw new Error("File is not a valid Altair query file.");this.newWindow({title:e.windowName,url:e.apiUrl,collectionId:e.collectionId,windowIdInCollection:e.windowIdInCollection,fixedTitle:t.fixedTitle}).subscribe(t=>{const n=t.windowId;e.apiUrl&&(this.store.dispatch(new l.Z({url:e.apiUrl},n)),this.store.dispatch(new l.K(n))),e.query&&this.store.dispatch(new l.N(e.query,n)),e.headers.length&&this.store.dispatch(new u.l({headers:e.headers},n)),e.variables&&this.store.dispatch(new h.l(e.variables,n)),e.subscriptionUrl&&this.store.dispatch(new l.Y({subscriptionUrl:e.subscriptionUrl},n)),e.subscriptionConnectionParams&&this.store.dispatch(new l.V(n,{connectionParams:e.subscriptionConnectionParams})),e.preRequestScriptEnabled&&this.store.dispatch(new f.c(n,{enabled:e.preRequestScriptEnabled})),e.preRequestScript&&this.store.dispatch(new f.d(n,{script:e.preRequestScript})),e.gqlSchema&&this.store.dispatch(new b.n(n,e.gqlSchema)),this.store.dispatch(new p.l({windowId:n}))})}catch(n){w.a.log("Something went wrong while importing the data.",n)}}importStringData(e){const t=new Error("Invalid Altair window file."),n={version:1,type:"window",apiUrl:"",headers:[],preRequestScript:"",preRequestScriptEnabled:!1,query:"",subscriptionUrl:"",subscriptionConnectionParams:"",variables:"{}",windowName:""};try{let n;try{n=JSON.parse(e)}catch(i){n=JSON.parse(decodeURIComponent(e))}if("window"===n.type&&1===n.version)return this.importWindowData(n,{fixedTitle:!0});throw t}catch(i){w.a.log("Invalid Altair window file.",i);try{const i=this.gqlService.sdlToSchema(e);if(i)return this.importWindowData({...n,version:1,type:"window",gqlSchema:i});throw t}catch(r){w.a.log("Invalid SDL file.",r);try{const i=this.gqlService.getOperations(e);if(w.a.log(i),i&&i.length)return this.importWindowData({...n,version:1,type:"window",query:e});throw t}catch(o){throw o}}}}handleImportedFile(e){return Object(v.d)(e).then(e=>{try{this.importStringData(e)}catch(t){w.a.log("There was an issue importing the file.",t)}})}setupWindow(e){this.store.dispatch(new l.X(e,{list:[]})),this.store.dispatch(new l.bb(e)),this.store.dispatch(new g.l(e)),this.store.dispatch(new g.k(e)),this.store.pipe(Object(i.a)(),Object(r.a)(e=>e.settings["schema.reloadOnStart"])).subscribe(t=>{t&&this.store.dispatch(new l.K(e))})}cleanupWindow(e){this.store.dispatch(new l.bb(e)),this.store.dispatch(new g.l(e))}}return e.\u0275fac=function(t){return new(t||e)(O.ac(C.h),O.ac(_.a))},e.\u0275prov=O.Mb({token:e,factory:e.\u0275fac}),e})()},A67W:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("dWS+");function r(e,t){return t?'Variable "$'.concat(e,'" is never used in operation "').concat(t,'".'):'Variable "$'.concat(e,'" is never used.')}function o(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var o=Object.create(null),s=e.getRecursiveVariableUsages(n),a=n.name?n.name.value:null,c=0;c0&&e.reportError(new i.a("Must provide only one schema definition.",t)),++r)}}}},"AW/X":function(e,t,n){"use strict";n.d(t,"a",function(){return f});var i=n("1QEH"),r=n("kBjl"),o=n("rWdj"),s=n("/kEc"),a=n("pv/G"),c=n("T95z"),l=n("dWS+"),u=n("dQau"),h=n("axIb");function d(e,t,n){return"Expected type ".concat(e,", found ").concat(t)+(n?"; ".concat(n):".")}function p(e,t,n){return"Expected type ".concat(e,", found ").concat(t,".")+Object(a.a)("the enum value",n)}function f(e){return{NullValue:function(t){var n=e.getInputType();Object(h.L)(n)&&e.reportError(new l.a(d(Object(o.a)(n),Object(u.print)(t)),t))},ListValue:function(t){var n=Object(h.B)(e.getParentInputType());if(!Object(h.J)(n))return g(e,t),!1},ObjectValue:function(t){var n=Object(h.A)(e.getInputType());if(!Object(h.F)(n))return g(e,t),!1;for(var s,a,c=Object(r.a)(t.fields,function(e){return e.name.value}),u=0,d=Object(i.a)(n.getFields());u{const s=`${l(t)}.${r}`,a=new Blob([e],{type:i});o.a.saveAs(a,s)},p=(e,t="response",n)=>{let i={mimeType:"text/json",dataUriAttr:"text/json;charset=utf-8",fileType:"json"};n&&(i={...i,...n});const r=JSON.stringify(e);d(r,t,i)},f=e=>new Promise((t,n)=>{const i=new FileReader;i.onload=function(e){t(e.target.result)},i.readAsText(e[0])}),g=function(){var e=Object(i.a)(function*(e={}){try{const t=yield c()(e);return f(t)}catch(t){s.a.log("There was an issue while opening the file: ",t)}});return function(){return e.apply(this,arguments)}}(),m=!!(window.chrome&&window.chrome.runtime&&window.chrome.runtime.id),b=(!window.chrome||window,e=>(e=(e=e.trim()).replace(u(),""))?JSON.parse(e):{}),v=e=>{const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);const n=document.getSelection(),i=!!(n&&n.rangeCount>0)&&n.getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),i&&n&&(n.removeAllRanges(),n.addRange(i))},y=e=>e?h.isUri(e)?e:"*"===e.trim()?location.href:("/"===e.substr(0,1)&&(e=e.substr(1)),location.origin+"/"+e):e;function w(e){const t=parseInt(e,10);return t.toString()===e?t:e}function _(e,t,n){if("number"==typeof t&&(t=[t]),!t||0===t.length)return;if("string"==typeof t)return _(e,t.split(".").map(w),n);const i=t[0],r=e[i];return 1===t.length?(e[i]=n,r):(void 0===r&&(e[i]="number"==typeof t[1]?[]:{}),_(e[i],t.slice(1),n))}function O(e,t=70){let n=!1;return e.length>t&&(n=!0),e.substring(0,t)+(n?"...":"")}},BLR7:function(e,t,n){"use strict";function i(e){var t=e.split(/\r\n|[\n\r]/g),n=r(t);if(0!==n)for(var i=1;i0&&s(t[0]);)t.shift();for(;t.length>0&&s(t[t.length-1]);)t.pop();return t.join("\n")}function r(e){for(var t=null,n=1;n1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=-1===e.indexOf("\n"),r=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],s=!i||o||n,a="";return!s||i&&r||(a+="\n"+t),a+=t?e.replace(/\n/g,"\n"+t):e,s&&(a+="\n"),'"""'+a.replace(/"""/g,'\\"""')+'"""'}n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return a})},BTCl:function(e,t,n){"use strict";n.d(t,"b",function(){return G}),n.d(t,"c",function(){return B}),n.d(t,"a",function(){return W});var i=n("HaE+"),r=n("l7P3"),o=n("9jGm"),s=n("PE4B"),a=n.n(s),c=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},l="object"==typeof global&&global&&global.Object===Object&&global,u="object"==typeof self&&self&&self.Object===Object&&self,h=l||u||Function("return this")(),d=function(){return h.Date.now()},p=/\s/,f=/^\s+/,g=h.Symbol,m=Object.prototype,b=m.hasOwnProperty,v=m.toString,y=g?g.toStringTag:void 0,w=Object.prototype.toString,_=g?g.toStringTag:void 0,O=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,E=/^0o[0-7]+$/i,S=parseInt,T=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":_&&_ in Object(e)?function(e){var t=b.call(e,y),n=e[y];try{e[y]=void 0;var i=!0}catch(o){}var r=v.call(e);return i&&(t?e[y]=n:delete e[y]),r}(e):function(e){return w.call(e)}(e)}(e)}(e))return NaN;if(c(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=c(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;var n;e=(n=e)?n.slice(0,function(e){for(var t=e.length;t--&&p.test(e.charAt(t)););return t}(n)+1).replace(f,""):n;var i=C.test(e);return i||E.test(e)?S(e.slice(2),i?2:8):O.test(e)?NaN:+e},x=Math.max,k=Math.min,I=n("U/X8"),D=n("D08x"),z=n("E6Fa"),j=n("6EqW"),A=n("65Dl"),R=n("nTiS");const N=(e,t,n)=>{const i={};return t.forEach(t=>{"windows"===t&&e[t]?Object.keys(e[t]).forEach(r=>{i[`[${n}]::${t}::${r}`]=e[t][r]}):i[`[${n}]::${t}`]=e[t]}),i};let L=null,M=[];const F=(e,t,n,i)=>{const r=((e,t,n,i)=>{const r=[],o=N(e,n,i),s=N(t,n,i);return Object.keys(o).filter(e=>!Object.keys(s).includes(e)).forEach(e=>{r.push({operation:"delete",key:e})}),Object.keys(s).map(e=>{s[e]!==o[e]&&r.push({operation:"put",key:e,value:JSON.stringify(s[e])})}),r})(e,t,n,i);M=M.filter(e=>!r.find(t=>t.key===e.key)).concat(r)},P=()=>{const e=new z.a;return L&&(L.abort(),L=null),j.a.log("updating state..."),e.transaction("rw",e.appState,function(){var t=Object(i.a)(function*(t){L=t;const n=[];return M.forEach(t=>{switch(t.operation){case"put":n.push(e.appState.put({key:t.key,value:t.value}));break;case"delete":n.push(e.appState.delete(t.key))}}),M=[],Promise.all(n)});return function(e){return t.apply(this,arguments)}}())},V=function(e,t,n){var i,r,o,s,a,l,u=0,h=!1,p=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=i,o=r;return i=r=void 0,u=t,s=e.apply(o,n)}function m(e){return u=e,a=setTimeout(v,t),h?g(e):s}function b(e){var n=e-l;return void 0===l||n>=t||n<0||p&&e-u>=o}function v(){var e=d();if(b(e))return y(e);a=setTimeout(v,function(e){var n=t-(e-l);return p?k(n,o-(e-u)):n}(e))}function y(e){return a=void 0,f&&i?g(e):(i=r=void 0,s)}function w(){var e=d(),n=b(e);if(i=arguments,r=this,l=e,n){if(void 0===a)return m(l);if(p)return clearTimeout(a),a=setTimeout(v,t),g(l)}return void 0===a&&(a=setTimeout(v,t)),s}return t=T(t)||0,c(undefined)&&(h=!!undefined.leading,o=(p="maxWait"in undefined)?x(T(undefined.maxWait)||0,t):o,f="trailing"in undefined?!!undefined.trailing:f),w.cancel=function(){void 0!==a&&clearTimeout(a),u=0,i=l=r=a=void 0},w.flush=function(){return void 0===a?s:y(d())},w}(P,1e3),G=function(){var e=Object(i.a)(function*({updateFromLocalStorage:e=!1,forceUpdateFromProvidedData:t=!1,storage:n}){const i=new z.a;let r=yield i.appState.toArray();const o=Object(R.b)().initialData.instanceStorageNamespace,s={windows:{}};if(t||!r.length){if(!e)return;const t=Object(I.rehydrateApplicationState)(A.a.keys,n||A.a.storage,A.a.storageKeySerializer,A.a.restoreDates);if(j.a.log("pulling state from localStorage since async storage is empty.."),F({},t,A.a.keys,o),yield P(),r=yield i.appState.toArray(),!r.length)return}return r.forEach(e=>{if(!e.key.startsWith(`[${o}]::`))return;const t=e.key.replace(`[${o}]::`,"");t.includes("windows::")?s.windows[t.replace("windows::","")]=JSON.parse(e.value):s[t]=JSON.parse(e.value)}),s});return function(t){return e.apply(this,arguments)}}(),B=e=>{const t=new z.a;return t.transaction("rw",t.appState,Object(i.a)(function*(){const n=[];return e.forEach(e=>{n.push(t.appState.put({key:e.key,value:e.value}))}),Promise.all(n)}))},W=e=>t=>{const n=Object(R.b)().initialData.instanceStorageNamespace;return function(i,s){var c;let l;return l=s.type!==r.b||i?{...i}:t(i,s),s.type===D.a&&(null===(c=s.payload)||void 0===c?void 0:c.initialState)&&(l=((e,t,n)=>{if(n.type===D.a&&t){const n={arrayMerge:(e,t)=>t};e=a()(e,t,n)}return e})(l,s.payload.initialState,s)),l=t(l,s),[r.b,o.c,D.a].includes(s.type)||(j.a.log("debouncing update.."),F(i,l,e.keys,n),V()),l}}},C2AL:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return s});var i=n("nLfN"),r=n("fXoL");let o=(()=>{class e{constructor(e,t){this.elementRef=e,this.renderer=t,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}setHiddenAttribute(){!0===this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",""):!1===this.hidden||null===this.hidden?this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden"):"string"==typeof this.hidden&&this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",this.hidden)}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[r.Cb]}),e})(),s=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.b]]}),e})()},C2zF:function(e,t,n){!function(e){"use strict";function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function n(e){return e.state.search||(e.state.search=new t)}function i(e){return"string"==typeof e&&e==e.toLowerCase()}function r(e,t,n){return e.getSearchCursor(t,n,{caseFold:i(t),multiline:!0})}function o(e,t,n,i,r){e.openDialog?e.openDialog(t,r,{value:i,selectValueOnOpen:!0}):r(prompt(n,i))}function s(e){return e.replace(/\\([nrt\\])/g,function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"==t?"\\":e})}function a(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(n){}else e=s(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function c(e,t,n){t.queryText=n,t.query=a(n),e.removeOverlay(t.overlay,i(t.query)),t.overlay=function(e,t){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,"searching";n?t.pos=n.index:t.skipToEnd()}}}(t.query,i(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,i(t.query)))}function l(t,i,r,s){var a=n(t);if(a.query)return u(t,i);var l=t.getSelection()||a.lastQuery;if(l instanceof RegExp&&"x^"==l.source&&(l=null),r&&t.openDialog){var p=null,f=function(n,i){e.e_stop(i),n&&(n!=a.queryText&&(c(t,a,n),a.posFrom=a.posTo=t.getCursor()),p&&(p.style.opacity=1),u(t,i.shiftKey,function(e,n){var i;n.line<3&&document.querySelector&&(i=t.display.wrapper.querySelector(".CodeMirror-dialog"))&&i.getBoundingClientRect().bottom-4>t.cursorCoords(n,"window").top&&((p=i).style.opacity=.4)}))};(function(e,t,n,i,r){e.openDialog(t,i,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){h(e)},onKeyDown:r})})(t,d(t),l,f,function(i,r){var o=e.keyName(i),s=t.getOption("extraKeys"),a=s&&s[o]||e.keyMap[t.getOption("keyMap")][o];"findNext"==a||"findPrev"==a||"findPersistentNext"==a||"findPersistentPrev"==a?(e.e_stop(i),c(t,n(t),r),t.execCommand(a)):"find"!=a&&"findPersistent"!=a||(e.e_stop(i),f(r,i))}),s&&l&&(c(t,a,l),u(t,i))}else o(t,d(t),"Search for:",l,function(e){e&&!a.query&&t.operation(function(){c(t,a,e),a.posFrom=a.posTo=t.getCursor(),u(t,i)})})}function u(t,i,o){t.operation(function(){var s=n(t),a=r(t,s.query,i?s.posFrom:s.posTo);(a.find(i)||(a=r(t,s.query,i?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(i))&&(t.setSelection(a.from(),a.to()),t.scrollIntoView({from:a.from(),to:a.to()},20),s.posFrom=a.from(),s.posTo=a.to(),o&&o(a.from(),a.to()))})}function h(e){e.operation(function(){var t=n(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function d(e){return''+e.phrase("Search:")+' '+e.phrase("(Use /re/ syntax for regexp search)")+""}function p(e,t,n){e.operation(function(){for(var i=r(e,t);i.findNext();)if("string"!=typeof t){var o=e.getRange(i.from(),i.to()).match(t);i.replace(n.replace(/\$(\d)/g,function(e,t){return o[t]}))}else i.replace(n)})}function f(e,t){if(!e.getOption("readOnly")){var i=e.getSelection()||n(e).lastQuery,c=''+e.phrase(t?"Replace all:":"Replace:")+"";o(e,c+function(e){return' '+e.phrase("(Use /re/ syntax for regexp search)")+""}(e),c,i,function(n){n&&(n=a(n),o(e,function(e){return''+e.phrase("With:")+' '}(e),e.phrase("Replace with:"),"",function(i){if(i=s(i),t)p(e,n,i);else{h(e);var o=r(e,n,e.getCursor("from")),a=function(){var t,s=o.from();!(t=o.findNext())&&(o=r(e,n),!(t=o.findNext())||s&&o.from().line==s.line&&o.from().ch==s.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function(e,t,n,i){e.openConfirm?e.openConfirm(t,i):confirm(n)&&i[0]()}(e,function(e){return''+e.phrase("Replace?")+" "}(e),e.phrase("Replace?"),[function(){c(t)},a,function(){p(e,n,i)}]))},c=function(e){o.replace("string"==typeof n?i:i.replace(/\$(\d)/g,function(t,n){return e[n]})),a()};a()}}))})}}e.commands.find=function(e){h(e),l(e)},e.commands.findPersistent=function(e){h(e),l(e,!1,!0)},e.commands.findPersistentNext=function(e){l(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){l(e,!0,!0,!0)},e.commands.findNext=l,e.commands.findPrev=function(e){l(e,!0)},e.commands.clearSearch=h,e.commands.replace=f,e.commands.replaceAll=function(e){f(e,!0)}}(n("VrN/"),n("uTOq"),n("Ku0u"))},CRiN:function(e,t,n){"use strict";var i,r=(i=n("VrN/"))&&i.__esModule?i:{default:i};function o(e,t){const n=e.state.info,i=t.target||t.srcElement;if("SPAN"!==i.nodeName||void 0!==n.hoverTimeout)return;const o=i.getBoundingClientRect(),s=function(){clearTimeout(n.hoverTimeout),n.hoverTimeout=setTimeout(c,l)},a=function(){r.default.off(document,"mousemove",s),r.default.off(e.getWrapperElement(),"mouseout",a),clearTimeout(n.hoverTimeout),n.hoverTimeout=void 0},c=function(){r.default.off(document,"mousemove",s),r.default.off(e.getWrapperElement(),"mouseout",a),n.hoverTimeout=void 0,function(e,t){const n=e.coordsChar({left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}),i=e.state.info.options,o=i.render||e.getHelper(n,"info");if(o){const s=e.getTokenAt(n,!0);if(s){const a=o(s,i,e,n);a&&function(e,t,n){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(n),document.body.appendChild(i);const o=i.getBoundingClientRect(),s=i.currentStyle||window.getComputedStyle(i),a=o.right-o.left+parseFloat(s.marginLeft)+parseFloat(s.marginRight),c=o.bottom-o.top+parseFloat(s.marginTop)+parseFloat(s.marginBottom);let l=t.bottom;c>window.innerHeight-t.bottom-15&&t.top>window.innerHeight-t.bottom&&(l=t.top-c),l<0&&(l=t.bottom);let u,h=Math.max(0,window.innerWidth-a-15);h>t.left&&(h=t.left),i.style.opacity=1,i.style.top=l+"px",i.style.left=h+"px";const d=function(){clearTimeout(u)},p=function(){clearTimeout(u),u=setTimeout(f,200)},f=function(){r.default.off(i,"mouseover",d),r.default.off(i,"mouseout",p),r.default.off(e.getWrapperElement(),"mouseout",p),i.style.opacity?(i.style.opacity=0,setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)};r.default.on(i,"mouseover",d),r.default.on(i,"mouseout",p),r.default.on(e.getWrapperElement(),"mouseout",p)}(e,t,a)}}}(e,o)},l=function(e){const t=e.state.info.options;return t&&t.hoverTime||500}(e);n.hoverTimeout=setTimeout(c,l),r.default.on(document,"mousemove",s),r.default.on(e.getWrapperElement(),"mouseout",a)}r.default.defineOption("info",!1,(e,t,n)=>{if(n&&n!==r.default.Init){const t=e.state.info.onMouseOver;r.default.off(e.getWrapperElement(),"mouseover",t),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(t){const n=e.state.info=function(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}(t);n.onMouseOver=o.bind(null,e),r.default.on(e.getWrapperElement(),"mouseover",n.onMouseOver)}})},CbW8:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u});var i=n("vJkw"),r=n("oycr"),o=n("BLR7"),s=n("JvOi");function a(e,t){var n=new h(s.a.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:n,token:n,line:1,lineStart:0,advance:c,lookahead:l}}function c(){return this.lastToken=this.token,this.token=this.lookahead()}function l(){var e=this.token;if(e.kind!==s.a.EOF)do{e=e.next||(e.next=p(this,e))}while(e.kind===s.a.COMMENT);return e}function u(e){var t=e.kind;return t===s.a.BANG||t===s.a.DOLLAR||t===s.a.AMP||t===s.a.PAREN_L||t===s.a.PAREN_R||t===s.a.SPREAD||t===s.a.COLON||t===s.a.EQUALS||t===s.a.AT||t===s.a.BRACKET_L||t===s.a.BRACKET_R||t===s.a.BRACE_L||t===s.a.PIPE||t===s.a.BRACE_R}function h(e,t,n,i,r,o,s){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,this.value=s,this.prev=o,this.next=null}function d(e){return isNaN(e)?s.a.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function p(e,t){var n=e.source,i=n.body,a=i.length,c=function(e,t,n){for(var i=e.length,r=t;r=a)return new h(s.a.EOF,a,a,l,u,t);var p=i.charCodeAt(c);switch(p){case 33:return new h(s.a.BANG,c,c+1,l,u,t);case 35:return function(e,t,n,i,r){var o,a=e.body,c=t;do{o=a.charCodeAt(++c)}while(!isNaN(o)&&(o>31||9===o));return new h(s.a.COMMENT,t,c,n,i,r,a.slice(t+1,c))}(n,c,l,u,t);case 36:return new h(s.a.DOLLAR,c,c+1,l,u,t);case 38:return new h(s.a.AMP,c,c+1,l,u,t);case 40:return new h(s.a.PAREN_L,c,c+1,l,u,t);case 41:return new h(s.a.PAREN_R,c,c+1,l,u,t);case 46:if(46===i.charCodeAt(c+1)&&46===i.charCodeAt(c+2))return new h(s.a.SPREAD,c,c+3,l,u,t);break;case 58:return new h(s.a.COLON,c,c+1,l,u,t);case 61:return new h(s.a.EQUALS,c,c+1,l,u,t);case 64:return new h(s.a.AT,c,c+1,l,u,t);case 91:return new h(s.a.BRACKET_L,c,c+1,l,u,t);case 93:return new h(s.a.BRACKET_R,c,c+1,l,u,t);case 123:return new h(s.a.BRACE_L,c,c+1,l,u,t);case 124:return new h(s.a.PIPE,c,c+1,l,u,t);case 125:return new h(s.a.BRACE_R,c,c+1,l,u,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,n,i,r){for(var o=e.body,a=o.length,c=t+1,l=0;c!==a&&!isNaN(l=o.charCodeAt(c))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++c;return new h(s.a.NAME,t,c,n,i,r,o.slice(t,c))}(n,c,l,u,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,n,i,o,a){var c=e.body,l=n,u=t,p=!1;if(45===l&&(l=c.charCodeAt(++u)),48===l){if((l=c.charCodeAt(++u))>=48&&l<=57)throw Object(r.a)(e,u,"Invalid number, unexpected digit after 0: ".concat(d(l),"."))}else u=f(e,u,l),l=c.charCodeAt(u);if(46===l&&(p=!0,l=c.charCodeAt(++u),u=f(e,u,l),l=c.charCodeAt(u)),69!==l&&101!==l||(p=!0,43!==(l=c.charCodeAt(++u))&&45!==l||(l=c.charCodeAt(++u)),u=f(e,u,l),l=c.charCodeAt(u)),46===l||69===l||101===l)throw Object(r.a)(e,u,"Invalid number, expected digit but got: ".concat(d(l),"."));return new h(p?s.a.FLOAT:s.a.INT,t,u,i,o,a,c.slice(t,u))}(n,c,p,l,u,t);case 34:return 34===i.charCodeAt(c+1)&&34===i.charCodeAt(c+2)?function(e,t,n,i,a,c){for(var l=e.body,u=t+3,p=u,f=0,g="";u=48&&s<=57){do{s=i.charCodeAt(++o)}while(s>=48&&s<=57);return o}throw Object(r.a)(e,o,"Invalid number, expected digit but got: ".concat(d(s),"."))}function g(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}Object(i.a)(h,function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}})},Cfvw:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var i=n("HDdC"),r=n("SeVD"),o=n("quSY"),s=n("kJWO"),a=n("jZKg"),c=n("Lhse"),l=n("c2HN"),u=n("I55L");function h(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[s.a]}(e))return function(e,t){return new i.a(n=>{const i=new o.a;return i.add(t.schedule(()=>{const r=e[s.a]();i.add(r.subscribe({next(e){i.add(t.schedule(()=>n.next(e)))},error(e){i.add(t.schedule(()=>n.error(e)))},complete(){i.add(t.schedule(()=>n.complete()))}}))})),i})}(e,t);if(Object(l.a)(e))return function(e,t){return new i.a(n=>{const i=new o.a;return i.add(t.schedule(()=>e.then(e=>{i.add(t.schedule(()=>{n.next(e),i.add(t.schedule(()=>n.complete()))}))},e=>{i.add(t.schedule(()=>n.error(e)))}))),i})}(e,t);if(Object(u.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new o.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=e[c.a](),i.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}},CqXF:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e){return t=>t.lift(new o(e))}class o{constructor(e){this.value=e}call(e,t){return t.subscribe(new s(e,this.value))}}class s extends i.a{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}},D08x:function(e,t,n){"use strict";n.d(t,"c",function(){return i}),n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});const i="___INIT_WINDOW___",r="APP_INIT_ACTION";class o{constructor(e){this.payload=e,this.type=r}}},D0XW:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},DAag:function(e,t,n){"use strict";var i=n("IDEf"),r=n("IWB/"),o=n("YsTz"),s=Error.captureStackTrace;e.exports=function(t){var n=new Error(t),a=arguments[1],c=arguments[2];return o(c)||r(a)&&(c=a,a=null),o(c)&&i(n,c),o(a)&&(n.code=a),s&&s(n,e.exports),n}},DH7j:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},DOSD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n=[];let i=e;for(;i&&i.kind;)n.push(i),i=i.prevState;for(let r=n.length-1;r>=0;r--)t(n[r])}},"E++1":function(e,t,n){"use strict";n.r(t),n.d(t,"unknownFragmentMessage",function(){return r}),n.d(t,"KnownFragmentNames",function(){return o});var i=n("dWS+");function r(e){return'Unknown fragment "'.concat(e,'".')}function o(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new i.a(r(n),t.name))}}}},E6Fa:function(e,t,n){"use strict";n.d(t,"a",function(){return Rn});var i=function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0)t=e;else for(var r in t=e.constructor?Object.create(e.constructor.prototype):{},e)h(e,r)&&(t[r]=A(e[r]));return t}var R={}.toString;function N(e){return R.call(e).slice(8,-1)}var L=function(e,t){return"Array"===t?""+e.map(function(e){return L(e,N(e))}):"ArrayBuffer"===t?""+new Uint8Array(e):"Date"===t?e.getTime():ArrayBuffer.isView(e)?""+new Uint8Array(e.buffer):e};function M(e,t,n,i){return n=n||{},i=i||"",o(e).forEach(function(r){if(h(t,r)){var o=e[r],s=t[r];if("object"==typeof o&&"object"==typeof s&&o&&s){var a=N(o),c=N(s);a===c?j[a]?L(o,a)!==L(s,c)&&(n[i+r]=t[r]):M(o,s,n,i+r+"."):n[i+r]=t[r]}else o!==s&&(n[i+r]=t[r])}else n[i+r]=void 0}),o(t).forEach(function(r){h(e,r)||(n[i+r]=t[r])}),n}var F="undefined"!=typeof Symbol&&Symbol.iterator,P=F?function(e){var t;return null!=e&&(t=e[F])&&t.apply(e)}:function(){return null},V={};function G(e){var t,n,i,r;if(1===arguments.length){if(s(e))return e.slice();if(this===V&&"string"==typeof e)return[e];if(r=P(e)){for(n=[];!(i=r.next()).done;)n.push(i.value);return n}if(null==e)return[e];if("number"==typeof(t=e.length)){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var B="undefined"!=typeof Symbol?function(e){return"AsyncFunction"===e[Symbol.toStringTag]}:function(){return!1},W="undefined"!=typeof location&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function $(e,t){W=e,U=t}var U=function(){return!0},H=!new Error("").stack;function q(){if(H)try{throw new Error}catch(e){return e}return new Error}function Q(e,t){var n=e.stack;return n?(t=t||0,0===n.indexOf(e.name)&&(t+=(e.name+e.message).split("\n").length),n.split("\n").slice(t).filter(U).map(function(e){return"\n"+e}).join("")):""}var K=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],X=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"].concat(K),Y={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed"};function J(e,t){this._e=q(),this.name=e,this.message=t}function Z(e,t){return e+". Errors: "+Object.keys(t).map(function(e){return t[e].toString()}).filter(function(e,t,n){return n.indexOf(e)===t}).join("\n")}function ee(e,t,n,i){this._e=q(),this.failures=t,this.failedKeys=i,this.successCount=n,this.message=Z(e,t)}function te(e,t){this._e=q(),this.name="BulkError",this.failures=t,this.message=Z(e,t)}g(J).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+Q(this._e,2))}},toString:function(){return this.name+": "+this.message}}),g(ee).from(J),g(te).from(J);var ne=X.reduce(function(e,t){return e[t]=t+"Error",e},{}),ie=J,re=X.reduce(function(e,t){var n=t+"Error";function i(e,i){this._e=q(),this.name=n,e?"string"==typeof e?(this.message=e+(i?"\n "+i:""),this.inner=i||null):"object"==typeof e&&(this.message=e.name+" "+e.message,this.inner=e):(this.message=Y[t]||n,this.inner=null)}return g(i).from(ie),e[t]=i,e},{});re.Syntax=SyntaxError,re.Type=TypeError,re.Range=RangeError;var oe=K.reduce(function(e,t){return e[t+"Error"]=re[t],e},{}),se=X.reduce(function(e,t){return-1===["Syntax","Type","Range"].indexOf(t)&&(e[t+"Error"]=re[t]),e},{});function ae(){}function ce(e){return e}function le(e,t){return null==e||e===ce?t:function(n){return t(e(n))}}function ue(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function he(e,t){return e===ae?t:function(){var n=e.apply(this,arguments);void 0!==n&&(arguments[0]=n);var i=this.onsuccess,r=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?ue(i,this.onsuccess):i),r&&(this.onerror=this.onerror?ue(r,this.onerror):r),void 0!==o?o:n}}function de(e,t){return e===ae?t:function(){e.apply(this,arguments);var n=this.onsuccess,i=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?ue(n,this.onsuccess):n),i&&(this.onerror=this.onerror?ue(i,this.onerror):i)}}function pe(e,t){return e===ae?t:function(n){var i=e.apply(this,arguments);c(n,i);var r=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var s=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?ue(r,this.onsuccess):r),o&&(this.onerror=this.onerror?ue(o,this.onerror):o),void 0===i?void 0===s?void 0:s:c(i,s)}}function fe(e,t){return e===ae?t:function(){return!1!==t.apply(this,arguments)&&e.apply(this,arguments)}}function ge(e,t){return e===ae?t:function(){var n=e.apply(this,arguments);if(n&&"function"==typeof n.then){for(var i=this,r=arguments.length,o=new Array(r);r--;)o[r]=arguments[r];return n.then(function(){return t.apply(i,o)})}return t.apply(this,arguments)}}se.ModifyError=ee,se.DexieError=J,se.BulkError=te;var me={},be="undefined"==typeof Promise?[]:function(){var e=Promise.resolve();if("undefined"==typeof crypto||!crypto.subtle)return[e,e.__proto__,e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,t.__proto__,e]}(),ve=be[0],ye=be[1],we=be[2],_e=ye&&ye.then,Oe=ve&&ve.constructor,Ce=!!we,Ee=!1,Se=we?function(){we.then(Qe)}:a.setImmediate?setImmediate.bind(null,Qe):a.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){Qe(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(Qe,0)},Te=function(e,t){Ne.push([e,t]),ke&&(Se(),ke=!1)},xe=!0,ke=!0,Ie=[],De=[],ze=null,je=ce,Ae={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:vt,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{vt(e[0],e[1])}catch(t){}})}},Re=Ae,Ne=[],Le=0,Me=[];function Fe(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=ae,this._lib=!1;var t=this._PSD=Re;if(W&&(this._stackHolder=q(),this._prev=null,this._numPrev=0),"function"!=typeof e){if(e!==me)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(!1===this._state&&Be(this,this._value))}this._state=null,this._value=null,++t.ref,Ge(this,e)}var Pe={get:function(){var e=Re,t=rt;function n(n,i){var r=this,o=!e.global&&(e!==Re||t!==rt),s=o&&!ct(),a=new Fe(function(t,a){$e(r,new Ve(mt(n,e,o,s),mt(i,e,o,s),t,a,e))});return W&&qe(a,this),a}return n.prototype=me,n},set:function(e){f(this,"then",e&&e.prototype===me?Pe:{get:function(){return e},set:Pe.set})}};function Ve(e,t,n,i,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=i,this.psd=r}function Ge(e,t){try{t(function(t){if(null===e._state){if(t===e)throw new TypeError("A promise cannot be resolved with itself.");var n=e._lib&&Ke();t&&"function"==typeof t.then?Ge(e,function(e,n){t instanceof Fe?t._then(e,n):t.then(e,n)}):(e._state=!0,e._value=t,We(e)),n&&Xe()}},Be.bind(null,e))}catch(n){Be(e,n)}}function Be(e,t){if(De.push(t),null===e._state){var n=e._lib&&Ke();t=je(t),e._state=!1,e._value=t,W&&null!==t&&"object"==typeof t&&!t._promise&&function(n,i,r){try{(function(){var n=b(t,"stack");t._promise=e,f(t,"stack",{get:function(){return Ee?n&&(n.get?n.get.apply(t):n.value):e.stack}})}).apply(null,void 0)}catch(o){}}(),function(e){Ie.some(function(t){return t._value===e._value})||Ie.push(e)}(e),We(e),n&&Xe()}}function We(e){var t=e._listeners;e._listeners=[];for(var n=0,i=t.length;n0;)for(e=Ne,Ne=[],n=e.length,t=0;t0);xe=!0,ke=!0}function Ye(){var e=Ie;Ie=[],e.forEach(function(e){e._PSD.onunhandled.call(null,e._value,e)});for(var t=Me.slice(0),n=t.length;n;)t[--n]()}function Je(e){return new Fe(me,!1,e)}function Ze(e,t){var n=Re;return function(){var i=Ke(),r=Re;try{return dt(n,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{dt(r,!1),i&&Xe()}}}d(Fe.prototype,{then:Pe,_then:function(e,t){$e(this,new Ve(null,null,e,t,Re))},catch:function(e){if(1===arguments.length)return this.then(null,e);var t=arguments[0],n=arguments[1];return this.then(null,"function"==typeof t?function(e){return e instanceof t?n(e):Je(e)}:function(e){return e&&e.name===t?n(e):Je(e)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),Je(t)})},stack:{get:function(){if(this._stack)return this._stack;try{Ee=!0;var e=He(this,[],20).join("\nFrom previous: ");return null!==this._state&&(this._stack=e),e}finally{Ee=!1}}},timeout:function(e,t){var n=this;return e<1/0?new Fe(function(i,r){var o=setTimeout(function(){return r(new re.Timeout(t))},e);n.then(i,r).finally(clearTimeout.bind(null,o))}):this}}),"undefined"!=typeof Symbol&&Symbol.toStringTag&&f(Fe.prototype,Symbol.toStringTag,"Dexie.Promise"),Ae.env=pt(),d(Fe,{all:function(){var e=G.apply(null,arguments).map(lt);return new Fe(function(t,n){0===e.length&&t([]);var i=e.length;e.forEach(function(r,o){return Fe.resolve(r).then(function(n){e[o]=n,--i||t(e)},n)})})},resolve:function(e){if(e instanceof Fe)return e;if(e&&"function"==typeof e.then)return new Fe(function(t,n){e.then(t,n)});var t=new Fe(me,!0,e);return qe(t,ze),t},reject:Je,race:function(){var e=G.apply(null,arguments).map(lt);return new Fe(function(t,n){e.map(function(e){return Fe.resolve(e).then(t,n)})})},PSD:{get:function(){return Re},set:function(e){return Re=e}},totalEchoes:{get:function(){return rt}},newPSD:st,usePSD:ft,scheduler:{get:function(){return Te},set:function(e){Te=e}},rejectionMapper:{get:function(){return je},set:function(e){je=e}},follow:function(e,t){return new Fe(function(n,i){return st(function(t,n){var i=Re;i.unhandleds=[],i.onunhandled=n,i.finalize=ue(function(){var e=this;Me.push(function i(){0===e.unhandleds.length?t():n(e.unhandleds[0]),Me.splice(Me.indexOf(i),1)}),++Le,Te(function(){0==--Le&&Ye()},[])},i.finalize),e()},t,n,i)})}}),Oe&&(Oe.allSettled&&f(Fe,"allSettled",function(){var e=G.apply(null,arguments).map(lt);return new Fe(function(t){0===e.length&&t([]);var n=e.length,i=new Array(n);e.forEach(function(e,r){return Fe.resolve(e).then(function(e){return i[r]={status:"fulfilled",value:e}},function(e){return i[r]={status:"rejected",reason:e}}).then(function(){return--n||t(i)})})})}),Oe.any&&"undefined"!=typeof AggregateError&&f(Fe,"any",function(){var e=G.apply(null,arguments).map(lt);return new Fe(function(t,n){0===e.length&&n(new AggregateError([]));var i=e.length,r=new Array(i);e.forEach(function(e,o){return Fe.resolve(e).then(function(e){return t(e)},function(e){r[o]=e,--i||n(new AggregateError(r))})})})}));var et={awaits:0,echoes:0,id:0},tt=0,nt=[],it=0,rt=0,ot=0;function st(e,t,n,i){var r=Re,o=Object.create(r);o.parent=r,o.ref=0,o.global=!1,o.id=++ot;var s=Ae.env;o.env=Ce?{Promise:Fe,PromiseProp:{value:Fe,configurable:!0,writable:!0},all:Fe.all,race:Fe.race,allSettled:Fe.allSettled,any:Fe.any,resolve:Fe.resolve,reject:Fe.reject,nthen:bt(s.nthen,o),gthen:bt(s.gthen,o)}:{},t&&c(o,t),++r.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var a=ft(o,e,n,i);return 0===o.ref&&o.finalize(),a}function at(){return et.id||(et.id=++tt),++et.awaits,et.echoes+=100,et.id}function ct(){return!!et.awaits&&(0==--et.awaits&&(et.id=0),et.echoes=100*et.awaits,!0)}function lt(e){return et.echoes&&e&&e.constructor===Oe?(at(),e.then(function(e){return ct(),e},function(e){return ct(),yt(e)})):e}function ut(e){++rt,et.echoes&&0!=--et.echoes||(et.echoes=et.id=0),nt.push(Re),dt(e,!0)}function ht(){var e=nt[nt.length-1];nt.pop(),dt(e,!1)}function dt(e,t){var n=Re;if((t?!et.echoes||it++&&e===Re:!it||--it&&e===Re)||gt(t?ut.bind(null,e):ht),e!==Re&&(Re=e,n===Ae&&(Ae.env=pt()),Ce)){var i=Ae.env.Promise,r=e.env;ye.then=r.nthen,i.prototype.then=r.gthen,(n.global||e.global)&&(Object.defineProperty(a,"Promise",r.PromiseProp),i.all=r.all,i.race=r.race,i.resolve=r.resolve,i.reject=r.reject,r.allSettled&&(i.allSettled=r.allSettled),r.any&&(i.any=r.any))}}function pt(){var e=a.Promise;return Ce?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(a,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:ye.then,gthen:e.prototype.then}:{}}function ft(e,t,n,i,r){var o=Re;try{return dt(e,!0),t(n,i,r)}finally{dt(o,!1)}}function gt(e){_e.call(ve,e)}function mt(e,t,n,i){return"function"!=typeof e?e:function(){var r=Re;n&&at(),dt(t,!0);try{return e.apply(this,arguments)}finally{dt(r,!1),i&>(ct)}}}function bt(e,t){return function(n,i){return e.call(this,mt(n,t),mt(i,t))}}function vt(e,t){var n;try{n=t.onuncatched(e)}catch(o){}if(!1!==n)try{var i,r={promise:t,reason:e};if(a.document&&document.createEvent?((i=document.createEvent("Event")).initEvent("unhandledrejection",!0,!0),c(i,r)):a.CustomEvent&&c(i=new CustomEvent("unhandledrejection",{detail:r}),r),i&&a.dispatchEvent&&(dispatchEvent(i),!a.PromiseRejectionEvent&&a.onunhandledrejection))try{a.onunhandledrejection(i)}catch(s){}W&&i&&!i.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch(o){}}-1===(""+_e).indexOf("[native code]")&&(at=ct=ae);var yt=Fe.reject;function wt(e,t,n,i){if(e._state.openComplete||Re.letThrough){var r=e._createTransaction(t,n,e._dbSchema);try{r.create()}catch(o){return yt(o)}return r._promise(t,function(e,t){return st(function(){return Re.trans=r,i(e,t,r)})}).then(function(e){return r._completion.then(function(){return e})})}if(!e._state.isBeingOpened){if(!e._options.autoOpen)return yt(new re.DatabaseClosed);e.open().catch(ae)}return e._state.dbReadyPromise.then(function(){return wt(e,t,n,i)})}var _t=String.fromCharCode(65535),Ot="Invalid key provided. Keys must be of type string, number, Date or Array.",Ct=[],Et="undefined"!=typeof navigator&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),St=Et,Tt=Et,xt=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)};function kt(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var It={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function Dt(e){return function(t){return void 0===E(t,e)&&T(t=A(t),e),t}}var zt=function(){function e(){}return e.prototype._trans=function(e,t,n){var i=this._tx||Re.trans,r=this.name;function o(e,n,i){if(!i.schema[r])throw new re.NotFound("Table "+r+" not part of transaction");return t(i.idbtrans,i)}var s=Ke();try{return i&&i.db===this.db?i===Re.trans?i._promise(e,o,n):st(function(){return i._promise(e,o,n)},{trans:i,transless:Re.transless||Re}):wt(this.db,e,[this.name],o)}finally{s&&Xe()}},e.prototype.get=function(e,t){var n=this;return e&&e.constructor===Object?this.where(e).first(t):this._trans("readonly",function(t){return n.core.get({trans:t,key:e}).then(function(e){return n.hook.reading.fire(e)})}).then(t)},e.prototype.where=function(e){if("string"==typeof e)return new this.db.WhereClause(this,e);if(s(e))return new this.db.WhereClause(this,"["+e.join("+")+"]");var t=o(e);if(1===t.length)return this.where(t[0]).equals(e[t[0]]);var n=this.schema.indexes.concat(this.schema.primKey).filter(function(e){return e.compound&&t.every(function(t){return e.keyPath.indexOf(t)>=0})&&e.keyPath.every(function(e){return t.indexOf(e)>=0})})[0];if(n&&this.db._maxKey!==_t)return this.where(n.name).equals(n.keyPath.map(function(t){return e[t]}));!n&&W&&console.warn("The query "+JSON.stringify(e)+" on "+this.name+" would benefit of a compound index ["+t.join("+")+"]");var i=this.schema.idxByName,r=this.db._deps.indexedDB;function a(e,t){try{return 0===r.cmp(e,t)}catch(n){return!1}}var c=t.reduce(function(t,n){var r=t[0],o=t[1],c=i[n],l=e[n];return[r||c,r||!c?kt(o,c&&c.multi?function(e){var t=E(e,n);return s(t)&&t.some(function(e){return a(l,e)})}:function(e){return a(l,E(e,n))}):o]},[null,null]),l=c[0],u=c[1];return l?this.where(l.name).equals(e[l.keyPath]).filter(u):n?this.filter(u):this.where(t).equals("")},e.prototype.filter=function(e){return this.toCollection().and(e)},e.prototype.count=function(e){return this.toCollection().count(e)},e.prototype.offset=function(e){return this.toCollection().offset(e)},e.prototype.limit=function(e){return this.toCollection().limit(e)},e.prototype.each=function(e){return this.toCollection().each(e)},e.prototype.toArray=function(e){return this.toCollection().toArray(e)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(e){return new this.db.Collection(new this.db.WhereClause(this,s(e)?"["+e.join("+")+"]":e))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(e){this.schema.mappedClass=e;var t=function(t){if(!t)return t;var n=Object.create(e.prototype);for(var i in t)if(h(t,i))try{n[i]=t[i]}catch(r){}return n};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=t,this.hook("reading",t),e},e.prototype.defineClass=function(){return this.mapToClass(function(e){c(this,e)})},e.prototype.add=function(e,t){var n=this,i=this.schema.primKey,r=i.keyPath,o=e;return r&&i.auto&&(o=Dt(r)(e)),this._trans("readwrite",function(e){return n.core.mutate({trans:e,type:"add",keys:null!=t?[t]:null,values:[o]})}).then(function(e){return e.numFailures?Fe.reject(e.failures[0]):e.lastResult}).then(function(t){if(r)try{S(e,r,t)}catch(n){}return t})},e.prototype.update=function(e,t){if("object"!=typeof t||s(t))throw new re.InvalidArgument("Modifications must be an object.");if("object"!=typeof e||s(e))return this.where(":id").equals(e).modify(t);o(t).forEach(function(n){S(e,n,t[n])});var n=E(e,this.schema.primKey.keyPath);return void 0===n?yt(new re.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(n).modify(t)},e.prototype.put=function(e,t){var n=this,i=this.schema.primKey,r=i.keyPath,o=e;return r&&i.auto&&(o=Dt(r)(e)),this._trans("readwrite",function(e){return n.core.mutate({trans:e,type:"put",values:[o],keys:null!=t?[t]:null})}).then(function(e){return e.numFailures?Fe.reject(e.failures[0]):e.lastResult}).then(function(t){if(r)try{S(e,r,t)}catch(n){}return t})},e.prototype.delete=function(e){var t=this;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"delete",keys:[e]})}).then(function(e){return e.numFailures?Fe.reject(e.failures[0]):void 0})},e.prototype.clear=function(){var e=this;return this._trans("readwrite",function(t){return e.core.mutate({trans:t,type:"deleteRange",range:It})}).then(function(e){return e.numFailures?Fe.reject(e.failures[0]):void 0})},e.prototype.bulkGet=function(e){var t=this;return this._trans("readonly",function(n){return t.core.getMany({keys:e,trans:n}).then(function(e){return e.map(function(e){return t.hook.reading.fire(e)})})})},e.prototype.bulkAdd=function(e,t,n){var i=this,r=Array.isArray(t)?t:void 0,o=(n=n||(r?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",function(t){var n=i.schema.primKey,s=n.auto,a=n.keyPath;if(a&&r)throw new re.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(r&&r.length!==e.length)throw new re.InvalidArgument("Arguments objects and keys must have the same length");var c=e.length,l=a&&s?e.map(Dt(a)):e;return i.core.mutate({trans:t,type:"add",keys:r,values:l,wantResults:o}).then(function(e){var t=e.numFailures,n=e.failures;if(0===t)return o?e.results:e.lastResult;throw new te(i.name+".bulkAdd(): "+t+" of "+c+" operations failed",Object.keys(n).map(function(e){return n[e]}))})})},e.prototype.bulkPut=function(e,t,n){var i=this,r=Array.isArray(t)?t:void 0,o=(n=n||(r?void 0:t))?n.allKeys:void 0;return this._trans("readwrite",function(t){var n=i.schema.primKey,s=n.auto,a=n.keyPath;if(a&&r)throw new re.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(r&&r.length!==e.length)throw new re.InvalidArgument("Arguments objects and keys must have the same length");var c=e.length,l=a&&s?e.map(Dt(a)):e;return i.core.mutate({trans:t,type:"put",keys:r,values:l,wantResults:o}).then(function(e){var t=e.numFailures,n=e.failures;if(0===t)return o?e.results:e.lastResult;throw new te(i.name+".bulkPut(): "+t+" of "+c+" operations failed",Object.keys(n).map(function(e){return n[e]}))})})},e.prototype.bulkDelete=function(e){var t=this,n=e.length;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"delete",keys:e})}).then(function(e){var i=e.numFailures;if(0===i)return e.lastResult;throw new te(t.name+".bulkDelete(): "+i+" of "+n+" operations failed",e.failures)})},e}();function jt(e){var t={},n=function(n,i){if(i){for(var r=arguments.length,o=new Array(r-1);--r;)o[r-1]=arguments[r];return t[n].subscribe.apply(null,o),e}if("string"==typeof n)return t[n]};n.addEventType=a;for(var i=1,r=arguments.length;ii?s:0}return this.toArray(function(e){return e.sort(a)}).then(t)},e.prototype.toArray=function(e){var t=this;return this._read(function(e){var n=t._ctx;if("next"===n.dir&&Rt(n,!0)&&n.limit>0){var i=n.valueMapper,r=Mt(n,n.table.core.schema);return n.table.core.query({trans:e,limit:n.limit,values:!0,query:{index:r,range:n.range}}).then(function(e){var t=e.result;return i?t.map(i):t})}var o=[];return Pt(n,function(e){return o.push(e)},e,n.table.core).then(function(){return o})},e)},e.prototype.offset=function(e){var t=this._ctx;return e<=0||(t.offset+=e,Rt(t)?Lt(t,function(){var t=e;return function(e,n){return 0===t||(1===t?(--t,!1):(n(function(){e.advance(t),t=0}),!1))}}):Lt(t,function(){var t=e;return function(){return--t<0}})),this},e.prototype.limit=function(e){return this._ctx.limit=Math.min(this._ctx.limit,e),Lt(this._ctx,function(){var t=e;return function(e,n,i){return--t<=0&&n(i),t>=0}},!0),this},e.prototype.until=function(e,t){return Nt(this._ctx,function(n,i,r){return!e(n.value)||(i(r),t)}),this},e.prototype.first=function(e){return this.limit(1).toArray(function(e){return e[0]}).then(e)},e.prototype.last=function(e){return this.reverse().first(e)},e.prototype.filter=function(e){var t;return Nt(this._ctx,function(t){return e(t.value)}),(t=this._ctx).isMatch=kt(t.isMatch,e),this},e.prototype.and=function(e){return this.filter(e)},e.prototype.or=function(e){return new this.db.WhereClause(this._ctx.table,e,this)},e.prototype.reverse=function(){return this._ctx.dir="prev"===this._ctx.dir?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.key,n)})},e.prototype.eachUniqueKey=function(e){return this._ctx.unique="unique",this.eachKey(e)},e.prototype.eachPrimaryKey=function(e){var t=this._ctx;return t.keysOnly=!t.isMatch,this.each(function(t,n){e(n.primaryKey,n)})},e.prototype.keys=function(e){var t=this._ctx;t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.key)}).then(function(){return n}).then(e)},e.prototype.primaryKeys=function(e){var t=this._ctx;if("next"===t.dir&&Rt(t,!0)&&t.limit>0)return this._read(function(e){var n=Mt(t,t.table.core.schema);return t.table.core.query({trans:e,values:!1,limit:t.limit,query:{index:n,range:t.range}})}).then(function(e){return e.result}).then(e);t.keysOnly=!t.isMatch;var n=[];return this.each(function(e,t){n.push(t.primaryKey)}).then(function(){return n}).then(e)},e.prototype.uniqueKeys=function(e){return this._ctx.unique="unique",this.keys(e)},e.prototype.firstKey=function(e){return this.limit(1).keys(function(e){return e[0]}).then(e)},e.prototype.lastKey=function(e){return this.reverse().firstKey(e)},e.prototype.distinct=function(){var e=this._ctx,t=e.index&&e.table.schema.idxByName[e.index];if(!t||!t.multi)return this;var n={};return Nt(this._ctx,function(e){var t=e.primaryKey.toString(),i=h(n,t);return n[t]=!0,!i}),this},e.prototype.modify=function(e){var t=this,n=this._ctx;return this._write(function(i){var r;if("function"==typeof e)r=e;else{var s=o(e),a=s.length;r=function(t){for(var n=!1,i=0;i0&&c.mutate({trans:i,type:"add",values:a}).then(function(e){for(var t in e.failures)g.splice(parseInt(t),1);b(a.length,e)})).then(function(e){return l.length>0&&c.mutate({trans:i,type:"put",keys:f,values:l}).then(function(e){return b(l.length,e)})}).then(function(){return g.length>0&&c.mutate({trans:i,type:"delete",keys:g}).then(function(e){return b(g.length,e)})}).then(function(){return e.length>n+o&&t(n+d)})})};return t(0).then(function(){if(f.length>0)throw new ee("Error modifying one or more objects",f,g,m);return e.length})})})},e.prototype.delete=function(){var e=this._ctx,t=e.range;return Rt(e)&&(e.isPrimKey&&!Tt||3===t.type)?this._write(function(n){var i=t;return e.table.core.count({trans:n,query:{index:e.table.core.schema.primaryKey,range:i}}).then(function(t){return e.table.core.mutate({trans:n,type:"deleteRange",range:i}).then(function(e){var n=e.failures,i=e.numFailures;if(i)throw new ee("Could not delete some values",Object.keys(n).map(function(e){return n[e]}),t-i);return t-i})})}):this.modify(function(e,t){return t.value=null})},e}();function Bt(e,t){return et?-1:e===t?0:1}function $t(e,t,n){var i=e instanceof Xt?new e.Collection(e):e;return i._ctx.error=n?new n(t):new TypeError(t),i}function Ut(e){return new e.Collection(e,function(){return Kt("")}).limit(0)}function Ht(e,t,n,i,r,o){for(var s=Math.min(e.length,i.length),a=-1,c=0;c=0?e.substr(0,a)+t[a]+n.substr(a+1):null;r(e[c],l)<0&&(a=c)}return s0)&&(p=m)}return n(null!==p?function(){e.continue(p+u)}:i),!1}),p}function Qt(e,t,n,i){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:i}}function Kt(e){return{type:1,lower:e,upper:e}}var Xt=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!0,configurable:!0}),e.prototype.between=function(e,t,n,i){n=!1!==n,i=!0===i;try{return this._cmp(e,t)>0||0===this._cmp(e,t)&&(n||i)&&(!n||!i)?Ut(this):new this.Collection(this,function(){return Qt(e,t,!n,!i)})}catch(r){return $t(this,Ot)}},e.prototype.equals=function(e){return null==e?$t(this,Ot):new this.Collection(this,function(){return Kt(e)})},e.prototype.above=function(e){return null==e?$t(this,Ot):new this.Collection(this,function(){return Qt(e,void 0,!0)})},e.prototype.aboveOrEqual=function(e){return null==e?$t(this,Ot):new this.Collection(this,function(){return Qt(e,void 0,!1)})},e.prototype.below=function(e){return null==e?$t(this,Ot):new this.Collection(this,function(){return Qt(void 0,e,!1,!0)})},e.prototype.belowOrEqual=function(e){return null==e?$t(this,Ot):new this.Collection(this,function(){return Qt(void 0,e)})},e.prototype.startsWith=function(e){return"string"!=typeof e?$t(this,"String expected."):this.between(e,e+_t,!0,!0)},e.prototype.startsWithIgnoreCase=function(e){return""===e?this.startsWith(e):qt(this,function(e,t){return 0===e.indexOf(t[0])},[e],_t)},e.prototype.equalsIgnoreCase=function(e){return qt(this,function(e,t){return e===t[0]},[e],"")},e.prototype.anyOfIgnoreCase=function(){var e=G.apply(V,arguments);return 0===e.length?Ut(this):qt(this,function(e,t){return-1!==t.indexOf(e)},e,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var e=G.apply(V,arguments);return 0===e.length?Ut(this):qt(this,function(e,t){return t.some(function(t){return 0===e.indexOf(t)})},e,_t)},e.prototype.anyOf=function(){var e=this,t=G.apply(V,arguments),n=this._cmp;try{t.sort(n)}catch(o){return $t(this,Ot)}if(0===t.length)return Ut(this);var i=new this.Collection(this,function(){return Qt(t[0],t[t.length-1])});i._ondirectionchange=function(i){t.sort(n="next"===i?e._ascending:e._descending)};var r=0;return i._addAlgorithm(function(e,i,o){for(var s=e.key;n(s,t[r])>0;)if(++r===t.length)return i(o),!1;return 0===n(s,t[r])||(i(function(){e.continue(t[r])}),!1)}),i},e.prototype.notEqual=function(e){return this.inAnyRange([[-1/0,e],[e,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var e=G.apply(V,arguments);if(0===e.length)return new this.Collection(this);try{e.sort(this._ascending)}catch(n){return $t(this,Ot)}var t=e.reduce(function(e,t){return e?e.concat([[e[e.length-1][1],t]]):[[-1/0,t]]},null);return t.push([e[e.length-1],this.db._maxKey]),this.inAnyRange(t,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(e,t){var n=this,i=this._cmp,r=this._ascending,o=this._descending,s=this._min,a=this._max;if(0===e.length)return Ut(this);if(!e.every(function(e){return void 0!==e[0]&&void 0!==e[1]&&r(e[0],e[1])<=0}))return $t(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",re.InvalidArgument);var c,l=!t||!1!==t.includeLowers,u=t&&!0===t.includeUppers,h=r;function d(e,t){return h(e[0],t[0])}try{(c=e.reduce(function(e,t){for(var n=0,r=e.length;n0){o[0]=s(o[0],t[0]),o[1]=a(o[1],t[1]);break}}return n===r&&e.push(t),e},[])).sort(d)}catch(v){return $t(this,Ot)}var p=0,f=u?function(e){return r(e,c[p][1])>0}:function(e){return r(e,c[p][1])>=0},g=l?function(e){return o(e,c[p][0])>0}:function(e){return o(e,c[p][0])>=0},m=f,b=new this.Collection(this,function(){return Qt(c[0][0],c[c.length-1][1],!l,!u)});return b._ondirectionchange=function(e){"next"===e?(m=f,h=r):(m=g,h=o),c.sort(d)},b._addAlgorithm(function(e,t,i){for(var o=e.key;m(o);)if(++p===c.length)return t(i),!1;return!!function(e){return!f(e)&&!g(e)}(o)||(0===n._cmp(o,c[p][1])||0===n._cmp(o,c[p][0])||t(function(){e.continue(h===r?c[p][0]:c[p][1])}),!1)}),b},e.prototype.startsWithAnyOf=function(){var e=G.apply(V,arguments);return e.every(function(e){return"string"==typeof e})?0===e.length?Ut(this):this.inAnyRange(e.map(function(e){return[e,e+_t]})):$t(this,"startsWithAnyOf() only works with strings")},e}();function Yt(e){return 1===e.length?e[0]:e}function Jt(e){try{return e.only([[]]),[[]]}catch(t){return _t}}function Zt(e){return Ze(function(t){return en(t),e(t.target.error),!1})}function en(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var tn=function(){function e(){}return e.prototype._lock=function(){return _(!Re.global),++this._reculock,1!==this._reculock||Re.global||(Re.lockOwnerFor=this),this},e.prototype._unlock=function(){if(_(!Re.global),0==--this._reculock)for(Re.global||(Re.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var e=this._blockedFuncs.shift();try{ft(e[1],e[0])}catch(t){}}return this},e.prototype._locked=function(){return this._reculock&&Re.lockOwnerFor!==this},e.prototype.create=function(e){var t=this;if(!this.mode)return this;var n=this.db.idbdb,i=this.db._state.dbOpenError;if(_(!this.idbtrans),!e&&!n)switch(i&&i.name){case"DatabaseClosedError":throw new re.DatabaseClosed(i);case"MissingAPIError":throw new re.MissingAPI(i.message,i);default:throw new re.OpenFailed(i)}if(!this.active)throw new re.TransactionInactive;return _(null===this._completion._state),(e=this.idbtrans=e||n.transaction(Yt(this.storeNames),this.mode)).onerror=Ze(function(n){en(n),t._reject(e.error)}),e.onabort=Ze(function(n){en(n),t.active&&t._reject(new re.Abort(e.error)),t.active=!1,t.on("abort").fire(n)}),e.oncomplete=Ze(function(){t.active=!1,t._resolve()}),this},e.prototype._promise=function(e,t,n){var i=this;if("readwrite"===e&&"readwrite"!==this.mode)return yt(new re.ReadOnly("Transaction is readonly"));if(!this.active)return yt(new re.TransactionInactive);if(this._locked())return new Fe(function(r,o){i._blockedFuncs.push([function(){i._promise(e,t,n).then(r,o)},Re])});if(n)return st(function(){var e=new Fe(function(e,n){i._lock();var r=t(e,n,i);r&&r.then&&r.then(e,n)});return e.finally(function(){return i._unlock()}),e._lib=!0,e});var r=new Fe(function(e,n){var r=t(e,n,i);r&&r.then&&r.then(e,n)});return r._lib=!0,r},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(e){var t=this._root(),n=Fe.resolve(e);if(t._waitingFor)t._waitingFor=t._waitingFor.then(function(){return n});else{t._waitingFor=n,t._waitingQueue=[];var i=t.idbtrans.objectStore(t.storeNames[0]);!function e(){for(++t._spinCount;t._waitingQueue.length;)t._waitingQueue.shift()();t._waitingFor&&(i.get(-1/0).onsuccess=e)}()}var r=t._waitingFor;return new Fe(function(e,i){n.then(function(n){return t._waitingQueue.push(Ze(e.bind(null,n)))},function(e){return t._waitingQueue.push(Ze(i.bind(null,e)))}).finally(function(){t._waitingFor===r&&(t._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new re.Abort),this.active=!1},e.prototype.table=function(e){var t=this._memoizedTables||(this._memoizedTables={});if(h(t,e))return t[e];var n=this.schema[e];if(!n)throw new re.NotFound("Table "+e+" not part of transaction");var i=new this.db.Table(e,n,this);return i.core=this.db.core.table(e),t[e]=i,i},e}();function nn(e,t,n,i,r,o,s){return{name:e,keyPath:t,unique:n,multi:i,auto:r,compound:o,src:(n&&!s?"&":"")+(i?"*":"")+(r?"++":"")+rn(t)}}function rn(e){return"string"==typeof e?e:e?"["+[].join.call(e,"+")+"]":""}function on(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:C(n,function(e){return[e.name,e]})}}function sn(e){return null==e?function(){}:"string"==typeof e?function(e){return 1===e.split(".").length?function(t){return t[e]}:function(t){return E(t,e)}}(e):function(t){return E(t,e)}}function an(e,t){return"delete"===t.type?t.keys:t.keys||t.values.map(e.extractKey)}function cn(e){return[].slice.call(e)}var ln=0;function un(e){return null==e?":id":"string"==typeof e?e:"["+e.join("+")+"]"}function hn(e,t,n,i){var o=t.cmp.bind(t);function a(e){if(3===e.type)return null;if(4===e.type)throw new Error("Cannot convert never type to IDBKeyRange");var t=e.lower,i=e.upper,r=e.lowerOpen,o=e.upperOpen;return void 0===t?void 0===i?null:n.upperBound(i,!!o):void 0===i?n.lowerBound(t,!!r):n.bound(t,i,!!r,!!o)}var c=function(e,t){var n=cn(e.objectStoreNames);return{schema:{name:e.name,tables:n.map(function(e){return t.objectStore(e)}).map(function(e){var t=e.keyPath,n=e.autoIncrement,i=s(t),r={},o={name:e.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:null==t,compound:i,keyPath:t,autoIncrement:n,unique:!0,extractKey:sn(t)},indexes:cn(e.indexNames).map(function(t){return e.index(t)}).map(function(e){var t=e.unique,n=e.multiEntry,i=e.keyPath,o={name:e.name,compound:s(i),keyPath:i,unique:t,multiEntry:n,extractKey:sn(i)};return r[un(i)]=o,o}),getIndexByKeyPath:function(e){return r[un(e)]}};return r[":id"]=o.primaryKey,null!=t&&(r[un(t)]=o.primaryKey),o})},hasGetAll:n.length>0&&"getAll"in t.objectStore(n[0])&&!("undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}(e,i),l=c.schema,u=c.hasGetAll,h=l.tables.map(function(e){return function(e){var t=e.name;return{name:t,schema:e,mutate:function(n){var i=n.trans,o=n.type,s=n.keys,c=n.values,l=n.range,u=n.wantResults;return new Promise(function(n,h){n=Ze(n);var d=i.objectStore(t),p=null==d.keyPath,f="put"===o||"add"===o;if(!f&&"delete"!==o&&"deleteRange"!==o)throw new Error("Invalid operation type: "+o);var g=(s||c||{length:1}).length;if(s&&c&&s.length!==c.length)throw new Error("Given keys array must have same length as given values array.");if(0===g)return n({numFailures:0,failures:{},results:[],lastResult:void 0});var m,b=u&&r(s||an(e.primaryKey,{type:o,keys:s,values:c})),v=[],y=0,w=function(e){++y,en(e),b&&(b[e.target._reqno]=void 0),v[e.target._reqno]=e.target.error},_=function(e){var t=e.target;b[t._reqno]=t.result};if("deleteRange"===o){if(4===l.type)return n({numFailures:y,failures:v,results:b,lastResult:void 0});m=3===l.type?d.clear():d.delete(a(l))}else{var O=f?p?[c,s]:[c,null]:[s,null],C=O[0],E=O[1];if(f)for(var S=0;S0||s.add.length>0||s.change.length>0)&&i.change.push(s)}}else i.add.push([n,o])}return i}function bn(e,t,n,i){var r=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return i.forEach(function(e){return vn(r,e)}),r}function vn(e,t){e.createIndex(t.name,t.keyPath,{unique:t.unique,multiEntry:t.multi})}function yn(e,t,n){var i={};return y(t.objectStoreNames,0).forEach(function(e){for(var t=n.objectStore(e),r=t.keyPath,o=nn(rn(r),r||"",!1,!1,!!t.autoIncrement,r&&"string"!=typeof r,!0),s=[],a=0;a0,h=i(i({},n),{isVirtual:u,isPrimaryKey:!u&&n.isPrimaryKey,keyTail:t,keyLength:l,extractKey:sn(e),unique:!u&&n.unique});return c.push(h),h.isPrimaryKey||s.push(h),l>1&&a(2===l?e[0]:e.slice(0,l-1),t+1,n),c.sort(function(e,t){return e.keyTail-t.keyTail}),h}var c=a(r.primaryKey.keyPath,0,r.primaryKey);o[":id"]=[c];for(var l=0,u=r.indexes;l0?Promise.reject(n.failures[0]):o.length0?e:t},this._min=function(e,t){return r.cmp(e,t)<0?e:t},this._IDBKeyRange=e._deps.IDBKeyRange})}(this),this.on("versionchange",function(e){e.newVersion>0?console.warn("Another connection wants to upgrade database '"+r.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+r.name+"'. Closing db now to resume the delete request."),r.close()}),this.on("blocked",function(e){!e.newVersion||e.newVersionMath.pow(2,62)?0:i.oldVersion;e.idbdb=c.result,function(e,t,n,i){var r=e._dbSchema,s=e._createTransaction("readwrite",e._storeNames,r);s.create(n),s._completion.catch(i);var a=s._reject.bind(s),c=Re.transless||Re;st(function(){Re.trans=s,Re.transless=c,0===t?(o(r).forEach(function(e){bn(n,e,r[e].primKey,r[e].indexes)}),dn(e,n),Fe.follow(function(){return e.on.populate.fire(s)}).catch(a)):function(e,t,n,i){var r=[],s=e._versions,a=e._dbSchema=yn(0,e.idbdb,i),c=!1;return s.filter(function(e){return e._cfg.version>=t}).forEach(function(s){r.push(function(){var r=a,l=s._cfg.dbschema;wn(e,r,i),wn(e,l,i),a=e._dbSchema=l;var u=mn(r,l);u.add.forEach(function(e){bn(i,e[0],e[1].primKey,e[1].indexes)}),u.change.forEach(function(e){if(e.recreate)throw new re.Upgrade("Not yet support for changing primary key");var t=i.objectStore(e.name);e.add.forEach(function(e){return vn(t,e)}),e.change.forEach(function(e){t.deleteIndex(e.name),vn(t,e)}),e.del.forEach(function(e){return t.deleteIndex(e)})});var h=s._cfg.contentUpgrade;if(h&&s._cfg.version>t){dn(e,i),n._memoizedTables={},c=!0;var d=x(l);u.del.forEach(function(e){d[e]=r[e]}),fn(e,[e.Transaction.prototype]),pn(e,[e.Transaction.prototype],o(d),d),n.schema=d;var p,f=B(h);f&&at();var g=Fe.follow(function(){if((p=h(n))&&f){var e=ct.bind(null,null);p.then(e,e)}});return p&&"function"==typeof p.then?Fe.resolve(p):g.then(function(){return p})}}),r.push(function(t){c&&St||function(e,t){for(var n=0;n0)try{var l=n.transaction(Yt(s),"readonly");t.autoSchema?function(e,t,n){e.verno=t.version/10;var i=e._dbSchema=yn(0,t,n);e._storeNames=y(t.objectStoreNames,0),pn(e,[e._allTables],o(i),i)}(e,n,l):(wn(e,e._dbSchema,l),function(e,t){var n=mn(yn(0,e.idbdb,t),e._dbSchema);return!(n.add.length||n.change.some(function(e){return e.add.length||e.change.length}))}(e,l)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),dn(e,l)}catch(u){}Ct.push(e),n.onversionchange=Ze(function(n){t.vcFired=!0,e.on("versionchange").fire(n)}),_n.add(a),i()},s)})]).then(function(){return t.onReadyBeingFired=[],Fe.resolve(Cn(e.on.ready.fire)).then(function e(){if(t.onReadyBeingFired.length>0){var n=t.onReadyBeingFired.reduce(ge,ae);return t.onReadyBeingFired=[],Fe.resolve(Cn(n)).then(e)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(n){try{r&&r.abort()}catch(i){}return t.isBeingOpened=!1,e.close(),t.dbOpenError=n,yt(t.dbOpenError)}).finally(function(){t.openComplete=!0,i()})}(this)},e.prototype.close=function(){var e=Ct.indexOf(this),t=this._state;if(e>=0&&Ct.splice(e,1),this.idbdb){try{this.idbdb.close()}catch(n){}this.idbdb=null}this._options.autoOpen=!1,t.dbOpenError=new re.DatabaseClosed,t.isBeingOpened&&t.cancelOpen(t.dbOpenError),t.dbReadyPromise=new Fe(function(e){t.dbReadyResolve=e}),t.openCanceller=new Fe(function(e,n){t.cancelOpen=n})},e.prototype.delete=function(){var e=this,t=arguments.length>0,n=this._state;return new Fe(function(i,r){var o=function(){e.close();var t=e._deps.indexedDB.deleteDatabase(e.name);t.onsuccess=Ze(function(){_n.remove(e.name),i()}),t.onerror=Zt(r),t.onblocked=e._fireOnBlocked};if(t)throw new re.InvalidArgument("Arguments not allowed in db.delete()");n.isBeingOpened?n.dbReadyPromise.then(o):o()})},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return null!==this.idbdb},e.prototype.hasBeenClosed=function(){var e=this._state.dbOpenError;return e&&"DatabaseClosed"===e.name},e.prototype.hasFailed=function(){return null!==this._state.dbOpenError},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var e=this;return o(this._allTables).map(function(t){return e._allTables[t]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var e=Sn.apply(this,arguments);return this._transaction.apply(this,e)},e.prototype._transaction=function(e,t,n){var i=this,r=Re.trans;r&&r.db===this&&-1===e.indexOf("!")||(r=null);var o,s,a=-1!==e.indexOf("?");e=e.replace("!","").replace("?","");try{if(s=t.map(function(e){var t=e instanceof i.Table?e.name:e;if("string"!=typeof t)throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return t}),"r"==e||"readonly"===e)o="readonly";else{if("rw"!=e&&"readwrite"!=e)throw new re.InvalidArgument("Invalid transaction mode: "+e);o="readwrite"}if(r){if("readonly"===r.mode&&"readwrite"===o){if(!a)throw new re.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");r=null}r&&s.forEach(function(e){if(r&&-1===r.storeNames.indexOf(e)){if(!a)throw new re.SubTransaction("Table "+e+" not included in parent transaction.");r=null}}),a&&r&&!r.active&&(r=null)}}catch(l){return r?r._promise(null,function(e,t){t(l)}):yt(l)}var c=Tn.bind(null,this,o,s,r,n);return r?r._promise(o,c,"lock"):Re.trans?ft(Re.transless,function(){return i._whenReady(c)}):this._whenReady(c)},e.prototype.table=function(e){if(!h(this._allTables,e))throw new re.InvalidTable("Table "+e+" does not exist");return this._allTables[e]},e}(),zn=Dn;d(zn,i(i({},se),{delete:function(e){return new zn(e).delete()},exists:function(e){return new zn(e,{addons:[]}).open().then(function(e){return e.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return _n?_n.getDatabaseNames().then(e):Fe.resolve([])},defineClass:function(){return function(e){c(this,e)}},ignoreTransaction:function(e){return Re.trans?ft(Re.transless,e):e()},vip:Cn,async:function(e){return function(){try{var t=En(e.apply(this,arguments));return t&&"function"==typeof t.then?t:Fe.resolve(t)}catch(n){return yt(n)}}},spawn:function(e,t,n){try{var i=En(e.apply(n,t||[]));return i&&"function"==typeof i.then?i:Fe.resolve(i)}catch(r){return yt(r)}},currentTransaction:{get:function(){return Re.trans||null}},waitFor:function(e,t){var n=Fe.resolve("function"==typeof e?zn.ignoreTransaction(e):e).timeout(t||6e4);return Re.trans?Re.trans.waitFor(n):n},Promise:Fe,debug:{get:function(){return W},set:function(e){$(e,"dexie"===e?function(){return!0}:xt)}},derive:g,extend:c,props:d,override:w,Events:jt,getByKeyPath:E,setByKeyPath:S,delByKeyPath:T,shallowClone:x,deepClone:A,getObjectDiff:M,asap:O,minKey:-1/0,addons:[],connections:Ct,errnames:ne,dependencies:function(){try{return{indexedDB:a.indexedDB||a.mozIndexedDB||a.webkitIndexedDB||a.msIndexedDB,IDBKeyRange:a.IDBKeyRange||a.webkitIDBKeyRange}}catch(e){return{indexedDB:null,IDBKeyRange:null}}}(),semVer:"3.0.3",version:"3.0.3".split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,2*n)}),default:zn,Dexie:zn})),zn.maxKey=Jt(zn.dependencies.IDBKeyRange),function(e){try{_n=function(e){var t,n=e&&"function"==typeof e.databases;if(!n){var i=new Dn("__dbnames",{addons:[]});i.version(1).stores({dbnames:"name"}),t=i.table("dbnames")}return{getDatabaseNames:function(){return n?Fe.resolve(e.databases()).then(function(e){return e.map(function(e){return e.name}).filter(function(e){return"__dbnames"!==e})}):t.toCollection().primaryKeys()},add:function(e){return!n&&"__dbnames"!==e&&t.put({name:e}).catch(ae)},remove:function(e){return!n&&"__dbnames"!==e&&t.delete(e).catch(ae)}}}(e)}catch(t){}}(Dn.dependencies.indexedDB),Fe.rejectionMapper=function(e,t){if(!e||e instanceof J||e instanceof TypeError||e instanceof SyntaxError||!e.name||!oe[e.name])return e;var n=new oe[e.name](t||e.message,e);return"stack"in e&&f(n,"stack",{get:function(){return this.inner.stack}}),n},$(W,xt);var jn=Dn,An=n("fXoL");let Rn=(()=>{class e extends jn{constructor(){super("AltairDB"),this.schema()}schema(){this.version(2).stores({queryCollections:"++id, title",appState:"key"})}now(){return+new Date}clearAllLocalData(){jn.getDatabaseNames().then(e=>{e.forEach(e=>{new jn(e).delete().catch(()=>{})})}),localStorage.clear()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=An.Mb({token:e,factory:e.\u0275fac}),e})()},E9SJ:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("Y/la");function r(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,r=Object(i.a)(e);n",triples:"",explode:"[]{}"},n=e.Pos;function i(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,function(t,n,s){s&&s!=e.Init&&(t.removeKeyMap(r),t.state.closeBrackets=null),n&&(o(i(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(r))});var r={Backspace:function(t){var r=a(t);if(!r||t.getOption("disableInput"))return e.Pass;for(var o=i(r,"pairs"),s=t.listSelections(),l=0;l=0;l--){var h=s[l].head;t.replaceRange("",n(h.line,h.ch-1),n(h.line,h.ch+1),"+delete")}},Enter:function(t){var n=a(t),r=n&&i(n,"explode");if(!r||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),s=0;s1&&d.indexOf(r)>=0&&t.getRange(n(y.line,y.ch-2),y)==r+r){if(y.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(y.line,y.ch-2))))return e.Pass;b="addFour"}else if(p){var _=0==y.ch?" ":t.getRange(n(y.line,y.ch-1),y);if(e.isWordChar(w)||_==r||e.isWordChar(_))return e.Pass;b="both"}else{if(!g||!(0===w.length||/\s/.test(w)||h.indexOf(w)>-1))return e.Pass;b="both"}else b=p&&l(t,y)?"both":d.indexOf(r)>=0&&t.getRange(y,n(y.line,y.ch+3))==r+r+r?"skipThree":"skip";if(u){if(u!=b)return e.Pass}else u=b}var O=c%2?s.charAt(c-1):r,C=c%2?r:s.charAt(c+1);t.operation(function(){if("skip"==u)t.execCommand("goCharRight");else if("skipThree"==u)for(var i=0;i<3;i++)t.execCommand("goCharRight");else if("surround"==u){var r=t.getSelections();for(i=0;i0,{anchor:new n(o.anchor.line,o.anchor.ch+(s?-1:1)),head:new n(o.head.line,o.head.ch+(s?1:-1))});t.setSelections(r)}else"both"==u?(t.replaceSelection(O+C,null),t.triggerElectric(O+C),t.execCommand("goCharLeft")):"addFour"==u&&(t.replaceSelection(O+O+O+O,"before"),t.execCommand("goCharRight"));var o,s})}(r,t)}}function a(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function c(e,t){var i=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==i.length?i:null}function l(e,t){var i=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(i.type)&&i.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+"`")}(n("VrN/"))},EMzn:function(e,t,n){"use strict";n.r(t),n.d(t,"parse",function(){return d}),n.d(t,"parseValue",function(){return p}),n.d(t,"parseType",function(){return f});var i=n("rWdj"),r=n("t3R0"),o=n("vJkw"),s=n("oycr"),a=n("/jXB"),c=n("neE4"),l=n("CbW8"),u=n("F8X2"),h=n("JvOi");function d(e,t){return new g(e,t).parseDocument()}function p(e,t){var n=new g(e,t);n.expectToken(h.a.SOF);var i=n.parseValueLiteral(!1);return n.expectToken(h.a.EOF),i}function f(e,t){var n=new g(e,t);n.expectToken(h.a.SOF);var i=n.parseTypeReference();return n.expectToken(h.a.EOF),i}var g=function(){function e(e,t){var n="string"==typeof e?new c.a(e):e;n instanceof c.a||Object(r.a)(0,"Must provide Source. Received: ".concat(Object(i.a)(n))),this._lexer=Object(l.a)(n),this._options=t||{}}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(h.a.NAME);return{kind:a.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:a.a.DOCUMENT,definitions:this.many(h.a.SOF,this.parseDefinition,h.a.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(h.a.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(h.a.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(h.a.BRACE_L))return{kind:a.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(h.a.NAME)&&(t=this.parseName()),{kind:a.a.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(h.a.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(h.a.PAREN_L,this.parseVariableDefinition,h.a.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:a.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(h.a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(h.a.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(h.a.DOLLAR),{kind:a.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:a.a.SELECTION_SET,selections:this.many(h.a.BRACE_L,this.parseSelection,h.a.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(h.a.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(h.a.COLON)?(e=i,t=this.parseName()):t=i,{kind:a.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(h.a.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){return this.optionalMany(h.a.PAREN_L,e?this.parseConstArgument:this.parseArgument,h.a.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(h.a.COLON),{kind:a.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:a.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(h.a.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(h.a.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(h.a.NAME)?{kind:a.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:a.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:a.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:a.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case h.a.BRACKET_L:return this.parseList(e);case h.a.BRACE_L:return this.parseObject(e);case h.a.INT:return this._lexer.advance(),{kind:a.a.INT,value:t.value,loc:this.loc(t)};case h.a.FLOAT:return this._lexer.advance(),{kind:a.a.FLOAT,value:t.value,loc:this.loc(t)};case h.a.STRING:case h.a.BLOCK_STRING:return this.parseStringLiteral();case h.a.NAME:return"true"===t.value||"false"===t.value?(this._lexer.advance(),{kind:a.a.BOOLEAN,value:"true"===t.value,loc:this.loc(t)}):"null"===t.value?(this._lexer.advance(),{kind:a.a.NULL,loc:this.loc(t)}):(this._lexer.advance(),{kind:a.a.ENUM,value:t.value,loc:this.loc(t)});case h.a.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:a.a.STRING,value:e.value,block:e.kind===h.a.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:a.a.LIST,values:this.any(h.a.BRACKET_L,function(){return t.parseValueLiteral(e)},h.a.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:a.a.OBJECT,fields:this.any(h.a.BRACE_L,function(){return t.parseObjectField(e)},h.a.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(h.a.COLON),{kind:a.a.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(h.a.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(h.a.AT),{kind:a.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(h.a.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(h.a.BRACKET_R),e={kind:a.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(h.a.BANG)?{kind:a.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:a.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===h.a.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(h.a.STRING)||this.peek(h.a.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.many(h.a.BRACE_L,this.parseOperationTypeDefinition,h.a.BRACE_R);return{kind:a.a.SCHEMA_DEFINITION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(h.a.COLON);var n=this.parseNamedType();return{kind:a.a.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),i=this.parseDirectives(!0);return{kind:a.a.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:a.a.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(h.a.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(h.a.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(h.a.NAME))}return e},t.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(h.a.BRACE_L)&&this._lexer.lookahead().kind===h.a.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(h.a.BRACE_L,this.parseFieldDefinition,h.a.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(h.a.COLON);var r=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:a.a.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(h.a.PAREN_L,this.parseInputValueDef,h.a.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(h.a.COLON);var i,r=this.parseTypeReference();this.expectOptionalToken(h.a.EQUALS)&&(i=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:a.a.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();return{kind:a.a.INTERFACE_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseUnionMemberTypes();return{kind:a.a.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(h.a.EQUALS)){this.expectOptionalToken(h.a.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(h.a.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();return{kind:a.a.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(h.a.BRACE_L,this.parseEnumValueDefinition,h.a.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseDirectives(!0);return{kind:a.a.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),i=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();return{kind:a.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(h.a.BRACE_L,this.parseInputValueDef,h.a.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===h.a.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(h.a.BRACE_L,this.parseOperationTypeDefinition,h.a.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:a.a.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:a.a.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return{kind:a.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:a.a.INTERFACE_TYPE_EXTENSION,name:t,directives:n,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:a.a.UNION_TYPE_EXTENSION,name:t,directives:n,types:i,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:a.a.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return{kind:a.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(h.a.AT);var n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:a.a.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(h.a.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(h.a.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==u.a[t.value])return t;throw this.unexpected(e)},t.loc=function(e){if(!this._options.noLocation)return new m(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw Object(s.a)(this._lexer.source,t.start,"Expected ".concat(e,", found ").concat(b(t)))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==h.a.NAME||t.value!==e)throw Object(s.a)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(b(t)));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===h.a.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=e||this._lexer.token;return Object(s.a)(this._lexer.source,t.start,"Unexpected ".concat(b(t)))},t.any=function(e,t,n){this.expectToken(e);for(var i=[];!this.expectOptionalToken(n);)i.push(t.call(this));return i},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i}return[]},t.many=function(e,t,n){this.expectToken(e);var i=[];do{i.push(t.call(this))}while(!this.expectOptionalToken(n));return i},e}();function m(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function b(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}Object(o.a)(m,function(){return{start:this.start,end:this.end}})},EQ5u:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return c});var i=n("XNiG"),r=n("HDdC"),o=(n("7o/Q"),n("quSY")),s=n("x+ZX");class a extends r.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new o.a,e.add(this.source.subscribe(new l(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}refCount(){return Object(s.a)()(this)}}const c=(()=>{const e=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class l extends i.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}},ESbf:function(e,t,n){"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}},EY2u:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var i=n("HDdC");const r=new i.a(e=>e.complete());function o(e){return e?function(e){return new i.a(t=>e.schedule(()=>t.complete()))}(e):r}},EkME:function(e,t,n){"use strict";n.d(t,"c",function(){return u}),n.d(t,"a",function(){return d}),n.d(t,"b",function(){return p});var i=n("t3R0"),r=n("dWS+"),o=n("L2ys"),s=n("93gR"),a=n("4RMZ"),c=n("FQ53"),l=n("jOXf");function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.a,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new a.a(e),h=arguments.length>4?arguments[4]:void 0;t||Object(i.a)(0,"Must provide document"),Object(s.a)(e);var d=Object.freeze({}),p=[],f=h&&h.maxErrors,g=new l.b(e,t,u,function(e){if(null!=f&&p.length>=f)throw p.push(new r.a("Too many validation errors, error limit reached. Validation aborted.")),d;p.push(e)}),m=Object(o.d)(n.map(function(e){return e(g)}));try{Object(o.c)(t,Object(o.e)(u,m))}catch(b){if(b!==d)throw b}return p}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.b,i=[],r=new l.a(e,t,function(e){i.push(e)}),s=n.map(function(e){return e(r)});return Object(o.c)(e,Object(o.d)(s)),i}function d(e){var t=h(e);if(0!==t.length)throw new Error(t.map(function(e){return e.message}).join("\n\n"))}function p(e,t){var n=h(e,t);if(0!==n.length)throw new Error(n.map(function(e){return e.message}).join("\n\n"))}Object.freeze({})},EkS5:function(e,t,n){"use strict";n.d(t,"e",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"a",function(){return h}),n.d(t,"d",function(){return d}),n.d(t,"c",function(){return p});var i="function"==typeof Symbol?Symbol:void 0,r=i&&i.iterator;function o(e){var t=null!=e&&e.length;return"number"==typeof t&&t>=0&&t%1==0}function s(e){return Object(e)===e&&(o(e)||function(e){return!!a(e)}(e))}function a(e){if(null!=e){var t=r&&e[r]||e["@@iterator"];if("function"==typeof t)return t}}function c(e){this._o=e,this._i=0}function l(e,t,n){if(null!=e){if("function"==typeof e.forEach)return e.forEach(t,n);var i=0,r=function(e){var t=a(e);if(t)return t.call(e)}(e);if(r){for(var s;!(s=r.next()).done;)if(t.call(n,s.value,i++,e),i>9999999)throw new TypeError("Near-infinite iteration.")}else if(o(e))for(;i=this._o.length?(this._o=void 0,{value:void 0,done:!0}):{value:this._o[this._i++],done:!1}};var u=i&&i.asyncIterator,h=u||"@@asyncIterator";function d(e){return!!f(e)}function p(e){var t=f(e);if(t)return t.call(e)}function f(e){if(null!=e){var t=u&&e[u]||e["@@asyncIterator"];if("function"==typeof t)return t}}function g(e){this._i=e}function m(e,t,n){var i;return new Promise(function(r){r((i=e[t](n)).value)}).then(function(e){return{value:e,done:i.done}})}g.prototype[h]=function(){return this},g.prototype.next=function(e){return m(this._i,"next",e)},g.prototype.return=function(e){return this._i.return?m(this._i,"return",e):Promise.resolve({value:e,done:!0})},g.prototype.throw=function(e){return this._i.throw?m(this._i,"throw",e):Promise.reject(e)}},EzuI:function(e,t,n){"use strict";n.d(t,"a",function(){return O}),n.d(t,"b",function(){return C});var i=n("mrSG"),r=n("fXoL"),o=n("tk/3"),s=n("lJxs"),a=n("3Pt+"),c=n("ofXK");const l=["autoCompleteInput"],u=["autoCompleteContainer"];function h(e,t){if(1&e){const e=r.Xb();r.Wb(0,"input",4,5),r.dc("focus",function(t){return r.wc(e),r.gc().showDropdownList(t)})("blur",function(t){return r.wc(e),r.gc().blurHandler(t)})("keydown",function(t){return r.wc(e),r.gc().inputElKeyHandler(t)})("input",function(t){return r.wc(e),r.gc().reloadListInDelay(t)})("ngModelChange",function(t){return r.wc(e),r.gc().keyword=t}),r.Vb()}if(2&e){const e=r.gc();r.nc("placeholder",e.placeholder),r.mc("ngModel",e.keyword),r.Fb("autocomplete",e.autocomplete?"null":"off")}}function d(e,t){if(1&e&&r.Rb(0,"li",12),2&e){const e=r.gc(2);r.mc("innerHTML",e.loadingTemplate,r.xc)}}function p(e,t){if(1&e&&(r.Wb(0,"li",13),r.Gc(1),r.Vb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.loadingText)}}function f(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",14),r.dc("mousedown",function(){return r.wc(e),r.gc(2).selectOne("")}),r.Gc(1),r.Vb()}if(2&e){const e=r.gc(2);r.Eb(1),r.Ic("",e.noMatchFoundText||"No Result Found","\n ")}}function g(e,t){if(1&e&&r.Rb(0,"li",15),2&e){const e=r.gc(2);r.mc("innerHTML",e.headerItemTemplate,r.xc)}}function m(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",16),r.dc("mousedown",function(){return r.wc(e),r.gc(2).selectOne("")}),r.Gc(1),r.Vb()}if(2&e){const e=r.gc(2);r.Eb(1),r.Ic("",e.blankOptionText,"\n ")}}const b=function(e){return{selected:e}};function v(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",17),r.dc("mousedown",function(){r.wc(e);const n=t.$implicit;return r.gc(2).selectOne(n)}),r.Gc(1,"\n "),r.Vb()}if(2&e){const e=t.$implicit,n=t.index,i=r.gc(2);r.mc("ngClass",r.pc(2,b,n===i.itemIndex))("innerHtml",i.autoComplete.getFormattedListItem(e),r.xc)}}function y(e,t){if(1&e&&(r.Wb(0,"ul"),r.Gc(1,"\n "),r.Ec(2,d,1,1,"li",6),r.Gc(3,"\n "),r.Ec(4,p,2,1,"li",7),r.Gc(5,"\n "),r.Ec(6,f,2,1,"li",8),r.Gc(7,"\n "),r.Ec(8,g,1,1,"li",9),r.Gc(9,"\n "),r.Ec(10,m,2,1,"li",10),r.Gc(11,"\n "),r.Ec(12,v,2,4,"li",11),r.Gc(13,"\n "),r.Vb()),2&e){const e=r.gc();r.Ib("empty",e.emptyList),r.Eb(2),r.mc("ngIf",e.isLoading&&e.loadingTemplate),r.Eb(2),r.mc("ngIf",e.isLoading&&!e.loadingTemplate),r.Eb(2),r.mc("ngIf",e.minCharsEntered&&!e.isLoading&&!e.filteredList.length),r.Eb(2),r.mc("ngIf",e.headerItemTemplate&&e.filteredList.length),r.Eb(2),r.mc("ngIf",e.blankOptionText&&e.filteredList.length),r.Eb(2),r.mc("ngForOf",e.filteredList)("ngForTrackBy",e.trackByIndex)}}let w=(()=>{let e=class{constructor(e){this.http=e}filter(e,t,n,i){return e.filter(i?e=>{const i=n?this.getFormattedListItem(e).toLowerCase():JSON.stringify(e).toLowerCase();return t=t.toLowerCase(),-1!==i.normalize("NFD").replace(/[\u0300-\u036f]/g,"").indexOf(t.normalize("NFD").replace(/[\u0300-\u036f]/g,""))}:e=>{const i=n?this.getFormattedListItem(e).toLowerCase():JSON.stringify(e).toLowerCase();return t=t.toLowerCase(),-1!==i.indexOf(t)})}getFormattedListItem(e){let t;const n=this.listFormatter||"(id) value";if("function"==typeof n)t=n.apply(this,[e]);else if("object"!=typeof e)t=e;else if("string"==typeof n){t=n;const i=n.match(/[a-zA-Z0-9_\$]+/g);i&&"string"!=typeof e&&i.forEach(n=>{t=t.replace(n,e[n])})}return t}getRemoteData(e){if("string"!=typeof this.source)throw new TypeError("Invalid type of source, must be a string. e.g. http://www.google.com?q=:my_keyword");if(!this.http)throw new Error("Http is required.");const t=this.source.match(/:[a-zA-Z_]+/);if(null===t)throw new Error("Replacement word is missing.");const n=this.source.replace(t[0],e);return this.http.get(n).pipe(Object(s.a)(e=>(this.pathToData&&this.pathToData.split(".").forEach(t=>e=e[t]),e)))}};return e.\u0275fac=function(t){return new(t||e)(r.ac(o.c,8))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(o.c,8))},token:e,providedIn:"root"}),e=Object(i.b)([Object(i.d)(0,Object(r.C)())],e),e})(),_=(()=>{let e=class{constructor(e,t){this.autoComplete=t,this.autocomplete=!1,this.minChars=0,this.acceptUserInput=!0,this.loadingText="Loading",this.loadingTemplate=null,this.showInputTag=!0,this.showDropdownOnInit=!1,this.tabToSelect=!0,this.matchFormatted=!1,this.autoSelectFirstItem=!1,this.selectOnBlur=!1,this.reFocusAfterSelect=!0,this.headerItemTemplate=null,this.ignoreAccents=!0,this.valueSelected=new r.n,this.customSelected=new r.n,this.textEntered=new r.n,this.dropdownVisible=!1,this.isLoading=!1,this.filteredList=[],this.minCharsEntered=!1,this.itemIndex=null,this.timer=0,this.delay=(()=>{let e=null;return(t,n)=>{clearTimeout(e),e=setTimeout(t,n)}})(),this.selectOnEnter=!1,this.reloadListInDelay=e=>{const t=this.isSrcArr()?10:500,n=e.target.value;this.delay(()=>this.reloadList(n),t)},this.inputElKeyHandler=e=>{const t=this.filteredList.length;switch(!this.selectOnEnter&&this.autoSelectFirstItem&&0!==t&&(this.selectOnEnter=!0),e.keyCode){case 27:this.selectOnEnter=!1,this.selectOne(void 0);break;case 38:if(0===t)return;this.selectOnEnter=!0,this.itemIndex=(t+this.itemIndex-1)%t,this.scrollToView(this.itemIndex);break;case 40:if(0===t)return;this.selectOnEnter=!0,this.dropdownVisible=!0;let n=this.itemIndex;n=null===this.itemIndex?0:n+1,this.itemIndex=(t+n)%t,this.scrollToView(this.itemIndex);break;case 13:this.selectOnEnter&&this.selectOne(this.filteredList[this.itemIndex]),e.preventDefault();break;case 9:this.tabToSelect&&this.selectOne(this.filteredList[this.itemIndex])}},this.el=e.nativeElement}ngOnInit(){this.autoComplete.source=this.source,this.autoComplete.pathToData=this.pathToData,this.autoComplete.listFormatter=this.listFormatter,this.autoSelectFirstItem&&(this.itemIndex=0),setTimeout(()=>{this.autoCompleteInput&&this.reFocusAfterSelect&&this.autoCompleteInput.nativeElement.focus(),this.showDropdownOnInit&&this.showDropdownList({target:{value:""}})})}isSrcArr(){return Array.isArray(this.source)}showDropdownList(e){this.dropdownVisible=!0,this.reloadList(e.target.value)}hideDropdownList(){this.selectOnEnter=!1,this.dropdownVisible=!1}findItemFromSelectValue(e){const t=this.filteredList.filter(t=>""+t===e);return t.length?t[0]:null}reloadList(e){this.filteredList=[],e.length<(this.minChars||0)?this.minCharsEntered=!1:(this.minCharsEntered=!0,this.isSrcArr()?(this.isLoading=!1,this.filteredList=this.autoComplete.filter(this.source,e,this.matchFormatted,this.ignoreAccents),this.maxNumList&&(this.filteredList=this.filteredList.slice(0,this.maxNumList))):(this.isLoading=!0,"function"==typeof this.source?this.source(e).subscribe(e=>{this.pathToData&&this.pathToData.split(".").forEach(t=>e=e[t]),this.filteredList=e,this.maxNumList&&(this.filteredList=this.filteredList.slice(0,this.maxNumList))},e=>null,()=>this.isLoading=!1):this.autoComplete.getRemoteData(e).subscribe(e=>{this.filteredList=e||[],this.maxNumList&&(this.filteredList=this.filteredList.slice(0,this.maxNumList))},e=>null,()=>this.isLoading=!1)))}selectOne(e){e||""===e?this.valueSelected.emit(e):this.customSelected.emit(this.keyword)}enterText(e){this.textEntered.emit(e)}blurHandler(e){this.selectOnBlur&&this.selectOne(this.filteredList[this.itemIndex]),this.hideDropdownList()}scrollToView(e){const t=this.autoCompleteContainer.nativeElement.querySelector("ul"),n=t.querySelector("li").offsetHeight,i=t.scrollTop,r=n*e;(ri+t.offsetHeight)&&(t.scrollTop=r)}trackByIndex(e,t){return e}get emptyList(){return!(this.isLoading||this.minCharsEntered&&!this.isLoading&&!this.filteredList.length||this.filteredList.length)}};return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(w))},e.\u0275cmp=r.Kb({type:e,selectors:[["ngui-auto-complete"]],viewQuery:function(e,t){if(1&e&&(r.Kc(l,1),r.Kc(u,1)),2&e){let e;r.sc(e=r.ec())&&(t.autoCompleteInput=e.first),r.sc(e=r.ec())&&(t.autoCompleteContainer=e.first)}},inputs:{autocomplete:"autocomplete",minChars:["min-chars","minChars"],acceptUserInput:["accept-user-input","acceptUserInput"],loadingText:["loading-text","loadingText"],loadingTemplate:["loading-template","loadingTemplate"],showInputTag:["show-input-tag","showInputTag"],showDropdownOnInit:["show-dropdown-on-init","showDropdownOnInit"],tabToSelect:["tab-to-select","tabToSelect"],matchFormatted:["match-formatted","matchFormatted"],autoSelectFirstItem:["auto-select-first-item","autoSelectFirstItem"],selectOnBlur:["select-on-blur","selectOnBlur"],reFocusAfterSelect:["re-focus-after-select","reFocusAfterSelect"],headerItemTemplate:["header-item-template","headerItemTemplate"],ignoreAccents:["ignore-accents","ignoreAccents"],listFormatter:["list-formatter","listFormatter"],source:"source",pathToData:["path-to-data","pathToData"],placeholder:"placeholder",blankOptionText:["blank-option-text","blankOptionText"],noMatchFoundText:["no-match-found-text","noMatchFoundText"],maxNumList:["max-num-list","maxNumList"]},outputs:{valueSelected:"valueSelected",customSelected:"customSelected",textEntered:"textEntered"},decls:11,vars:2,consts:[[1,"ngui-auto-complete"],["autoCompleteContainer",""],["class","keyword",3,"placeholder","ngModel","focus","blur","keydown","input","ngModelChange",4,"ngIf"],[3,"empty",4,"ngIf"],[1,"keyword",3,"placeholder","ngModel","focus","blur","keydown","input","ngModelChange"],["autoCompleteInput",""],["class","loading",3,"innerHTML",4,"ngIf"],["class","loading",4,"ngIf"],["class","no-match-found",3,"mousedown",4,"ngIf"],["class","header-item",3,"innerHTML",4,"ngIf"],["class","blank-item",3,"mousedown",4,"ngIf"],["class","item",3,"ngClass","innerHtml","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],[1,"loading",3,"innerHTML"],[1,"loading"],[1,"no-match-found",3,"mousedown"],[1,"header-item",3,"innerHTML"],[1,"blank-item",3,"mousedown"],[1,"item",3,"ngClass","innerHtml","mousedown"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",0,1),r.Gc(3,"\n "),r.Gc(4,"\n "),r.Ec(5,h,2,3,"input",2),r.Gc(6,"\n\n "),r.Gc(7,"\n "),r.Ec(8,y,14,9,"ul",3),r.Gc(9,"\n\n "),r.Vb(),r.Gc(10,"\n ")),2&e&&(r.Eb(5),r.mc("ngIf",t.showInputTag),r.Eb(3),r.mc("ngIf",t.dropdownVisible))},directives:[c.o,a.e,a.l,a.o,c.n,c.l],styles:["\n @keyframes slideDown {\n 0% {\n transform: translateY(-10px);\n }\n 100% {\n transform: translateY(0px);\n }\n }\n\n .ngui-auto-complete {\n background-color: transparent;\n }\n\n .ngui-auto-complete > input {\n outline: none;\n border: 0;\n padding: 2px;\n box-sizing: border-box;\n background-clip: content-box;\n }\n\n .ngui-auto-complete > ul {\n background-color: #fff;\n margin: 0;\n width: 100%;\n overflow-y: auto;\n list-style-type: none;\n padding: 0;\n border: 1px solid #ccc;\n box-sizing: border-box;\n animation: slideDown 0.1s;\n }\n\n .ngui-auto-complete > ul.empty {\n display: none;\n }\n\n .ngui-auto-complete > ul li {\n padding: 2px 5px;\n border-bottom: 1px solid #eee;\n }\n\n .ngui-auto-complete > ul li.selected {\n background-color: #ccc;\n }\n\n .ngui-auto-complete > ul li:last-child {\n border-bottom: none;\n }\n\n .ngui-auto-complete > ul li:not(.header-item):hover {\n background-color: #ccc;\n }"],encapsulation:2}),e})(),O=(()=>{let e=class{constructor(e,t,n){this.resolver=e,this.viewContainerRef=t,this.parentForm=n,this.autocomplete=!1,this.acceptUserInput=!0,this.loadingTemplate=null,this.loadingText="Loading",this.tabToSelect=!0,this.selectOnBlur=!1,this.matchFormatted=!1,this.autoSelectFirstItem=!1,this.openOnFocus=!0,this.closeOnFocusOut=!0,this.reFocusAfterSelect=!0,this.headerItemTemplate=null,this.ignoreAccents=!0,this.zIndex="1",this.isRtl=!1,this.ngModelChange=new r.n,this.valueChanged=new r.n,this.customSelected=new r.n,this.showAutoCompleteDropdown=e=>{if(this.dropdownJustHidden)return;this.hideAutoCompleteDropdown(),this.scheduledBlurHandler=null;const t=this.resolver.resolveComponentFactory(_);this.componentRef=this.viewContainerRef.createComponent(t);const n=this.componentRef.instance;n.keyword=this.inputEl.value,n.showInputTag=!1,n.pathToData=this.pathToData,n.minChars=this.minChars,n.source=this.source,n.placeholder=this.autoCompletePlaceholder,n.acceptUserInput=this.acceptUserInput,n.maxNumList=parseInt(this.maxNumList,10),n.loadingText=this.loadingText,n.loadingTemplate=this.loadingTemplate,n.listFormatter=this.listFormatter,n.blankOptionText=this.blankOptionText,n.noMatchFoundText=this.noMatchFoundText,n.tabToSelect=this.tabToSelect,n.selectOnBlur=this.selectOnBlur,n.matchFormatted=this.matchFormatted,n.autoSelectFirstItem=this.autoSelectFirstItem,n.headerItemTemplate=this.headerItemTemplate,n.ignoreAccents=this.ignoreAccents,n.valueSelected.subscribe(this.selectNewValue),n.textEntered.subscribe(this.enterNewText),n.customSelected.subscribe(this.selectCustomValue),this.acDropdownEl=this.componentRef.location.nativeElement,this.acDropdownEl.style.display="none",this.inputEl.parentElement.insertBefore(this.acDropdownEl,this.inputEl.nextSibling),this.revertValue=void 0!==this.ngModel?this.ngModel:this.inputEl.value,setTimeout(()=>{n.reloadList(this.inputEl.value),this.styleAutoCompleteDropdown(),n.dropdownVisible=!0})},this.hideAutoCompleteDropdown=e=>{if(this.componentRef){let t;const n=void 0!==this.revertValue;this.inputEl&&n&&!1===this.acceptUserInput&&(t=this.componentRef.instance.findItemFromSelectValue(this.inputEl.value)),this.componentRef.destroy(),this.componentRef=void 0,this.inputEl&&n&&!1===this.acceptUserInput&&null===t?this.selectNewValue(this.revertValue):this.inputEl&&!0===this.acceptUserInput&&void 0===t&&e&&e.target.value&&this.enterNewText(e.target.value)}this.dropdownJustHidden=!0,setTimeout(()=>this.dropdownJustHidden=!1,100)},this.styleAutoCompleteDropdown=()=>{if(this.componentRef){this.el.getBoundingClientRect();const e=this.inputEl.getBoundingClientRect(),t=e.bottom+100>window.innerHeight,n=this.isRtl?"right":"left";this.acDropdownEl.style.width=e.width+"px",this.acDropdownEl.style.position="absolute",this.acDropdownEl.style.zIndex=this.zIndex,this.acDropdownEl.style[n]="0",this.acDropdownEl.style.display="inline-block",t?this.acDropdownEl.style.bottom=`${e.height}px`:this.acDropdownEl.style.top=`${e.height}px`}},this.selectNewValue=e=>{e&&"object"==typeof e&&(e=this.setToStringFunction(e)),this.renderValue(e);let t=e;this.selectValueOf&&e[this.selectValueOf]&&(t=e[this.selectValueOf]),(this.parentForm&&this.formControlName||this.extFormControl)&&t&&this.formControl.patchValue(t),t!==this.ngModel&&this.ngModelChange.emit(t),this.valueChanged.emit(t),this.hideAutoCompleteDropdown(),setTimeout(()=>(this.reFocusAfterSelect&&this.inputEl.focus(),this.inputEl))},this.selectCustomValue=e=>{this.customSelected.emit(e),this.hideAutoCompleteDropdown(),setTimeout(()=>(this.reFocusAfterSelect&&this.inputEl.focus(),this.inputEl))},this.enterNewText=e=>{this.renderValue(e),this.ngModelChange.emit(e),this.valueChanged.emit(e),this.hideAutoCompleteDropdown()},this.keydownEventHandler=e=>{this.componentRef&&this.componentRef.instance.inputElKeyHandler(e)},this.inputEventHandler=e=>{if(this.componentRef){const t=this.componentRef.instance;t.dropdownVisible=!0,t.keyword=e.target.value,t.reloadListInDelay(e)}else this.showAutoCompleteDropdown()},this.el=this.viewContainerRef.element.nativeElement}ngOnInit(){this.documentClickListener=e=>{this.scheduledBlurHandler&&(this.scheduledBlurHandler(),this.scheduledBlurHandler=null)},document.addEventListener("click",this.documentClickListener),this.wrapperEl=document.createElement("div"),this.wrapperEl.className="ngui-auto-complete-wrapper",this.wrapperEl.style.position="relative",this.el.parentElement.insertBefore(this.wrapperEl,this.el.nextSibling),this.wrapperEl.appendChild(this.el),this.parentForm&&this.formControlName?this.parentForm.form?this.formControl=this.parentForm.form.get(this.formControlName):this.parentForm instanceof a.h&&(this.formControl=this.parentForm.control.controls[this.formControlName]):this.extFormControl&&(this.formControl=this.extFormControl),this.ngModel?this.selectNewValue(this.ngModel):this.formControl&&this.formControl.value&&this.selectNewValue(this.formControl.value)}ngAfterViewInit(){this.inputEl="INPUT"===this.el.tagName?this.el:this.el.querySelector("input"),this.openOnFocus&&this.inputEl.addEventListener("focus",e=>this.showAutoCompleteDropdown(e)),this.closeOnFocusOut&&this.inputEl.addEventListener("focusout",e=>this.hideAutoCompleteDropdown(e)),this.autocomplete||this.inputEl.setAttribute("autocomplete","off"),this.inputEl.addEventListener("blur",e=>{this.scheduledBlurHandler=()=>this.blurHandler(e)}),this.inputEl.addEventListener("keydown",e=>this.keydownEventHandler(e)),this.inputEl.addEventListener("input",e=>this.inputEventHandler(e))}ngOnDestroy(){this.componentRef&&(this.componentRef.instance.valueSelected.unsubscribe(),this.componentRef.instance.textEntered.unsubscribe()),this.documentClickListener&&document.removeEventListener("click",this.documentClickListener)}ngOnChanges(e){e.ngModel&&(this.ngModel=this.setToStringFunction(e.ngModel.currentValue),this.renderValue(this.ngModel))}blurHandler(e){if(this.componentRef){const t=this.componentRef.instance;this.selectOnBlur&&t.selectOne(t.filteredList[t.itemIndex]),this.closeOnFocusOut&&this.hideAutoCompleteDropdown(e)}}setToStringFunction(e){if(e&&"object"==typeof e){let t;if("string"==typeof this.valueFormatter){const n=this.valueFormatter.match(/[a-zA-Z0-9_\$]+/g);let i=this.valueFormatter;n&&"string"!=typeof e&&n.forEach(t=>{i=i.replace(t,e[t])}),t=i}else t="function"==typeof this.valueFormatter?this.valueFormatter(e):this.displayPropertyName?e[this.displayPropertyName]:"string"==typeof this.listFormatter&&this.listFormatter.match(/^\w+$/)?e[this.listFormatter]:e.value;e.toString=()=>t}return e}renderValue(e){this.inputEl&&(this.inputEl.value=""+e)}};return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.j),r.Qb(r.S),r.Qb(a.d,13))},e.\u0275dir=r.Lb({type:e,selectors:[["","auto-complete",""],["","ngui-auto-complete",""]],inputs:{autocomplete:"autocomplete",acceptUserInput:["accept-user-input","acceptUserInput"],loadingTemplate:["loading-template","loadingTemplate"],loadingText:["loading-text","loadingText"],tabToSelect:["tab-to-select","tabToSelect"],selectOnBlur:["select-on-blur","selectOnBlur"],matchFormatted:["match-formatted","matchFormatted"],autoSelectFirstItem:["auto-select-first-item","autoSelectFirstItem"],openOnFocus:["open-on-focus","openOnFocus"],closeOnFocusOut:["close-on-focusout","closeOnFocusOut"],reFocusAfterSelect:["re-focus-after-select","reFocusAfterSelect"],headerItemTemplate:["header-item-template","headerItemTemplate"],ignoreAccents:["ignore-accents","ignoreAccents"],zIndex:["z-index","zIndex"],isRtl:["is-rtl","isRtl"],ngModel:"ngModel",autoCompletePlaceholder:["auto-complete-placeholder","autoCompletePlaceholder"],source:"source",pathToData:["path-to-data","pathToData"],minChars:["min-chars","minChars"],displayPropertyName:["display-property-name","displayPropertyName"],maxNumList:["max-num-list","maxNumList"],selectValueOf:["select-value-of","selectValueOf"],listFormatter:["list-formatter","listFormatter"],blankOptionText:["blank-option-text","blankOptionText"],noMatchFoundText:["no-match-found-text","noMatchFoundText"],valueFormatter:["value-formatter","valueFormatter"],formControlName:"formControlName",extFormControl:["formControl","extFormControl"]},outputs:{ngModelChange:"ngModelChange",valueChanged:"valueChanged",customSelected:"customSelected"},features:[r.Cb]}),e=Object(i.b)([Object(i.d)(2,Object(r.C)()),Object(i.d)(2,Object(r.o)()),Object(i.d)(2,Object(r.M)())],e),e})(),C=(()=>{let e=class{};return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[c.c,a.i]]}),e})()},F5Mc:function(e,t,n){"use strict";var i=n("YyF0"),r=/^\s*class[\s{/}]/,o=Function.prototype.toString;e.exports=function(e){return!!i(e)&&!r.test(o.call(e))}},F8X2:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"})},FBZJ:function(e,t){function n(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="FBZJ"},FKvE:function(e,t,n){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},"FM/B":function(e,t,n){"use strict";e.exports=function(){var e,t,n=Array.from;return"function"==typeof n&&(t=n(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}},FQ53:function(e,t,n){"use strict";n.d(t,"a",function(){return L}),n.d(t,"b",function(){return M});var i=n("ZfCc"),r=n("v96Q"),o=n("g4S7"),s=n("gggk"),a=n("10sW"),c=n("2Rkc"),l=n("0xor"),u=n("2/d+"),h=n("sdW/"),d=n("lORA"),p=n("E++1"),f=n("ZBm+"),g=n("FduV"),m=n("AeAO"),b=n("U4FY"),v=n("PmNC"),y=n("A67W"),w=n("VlWk"),_=n("sA7U"),O=n("y8IY"),C=n("/C/i"),E=n("AW/X"),S=n("Vuqn"),T=n("cfc+"),x=n("r60r"),k=n("dwPZ"),I=n("AF4T"),D=n("+zUi"),z=n("pLY/"),j=n("wpgB"),A=n("iyJ7"),R=n("herJ"),N=n("OO9G"),L=Object.freeze([i.ExecutableDefinitions,r.a,o.a,s.a,a.a,c.a,l.a,u.a,h.a,d.a,p.KnownFragmentNames,f.NoUnusedFragments,g.a,m.a,b.a,v.a,y.a,w.a,_.a,O.a,C.a,E.a,S.a,T.a,x.a,k.a]),M=Object.freeze([I.a,D.a,z.a,j.a,A.a,R.a,a.a,w.a,_.a,N.a,O.b,C.a,k.a,S.b])},FXUI:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return $});var i=n("HaE+"),r=n("fXoL"),o=n("Cfvw"),s=n("nTiS"),a=n("6EqW"),c=n("jhN1"),l=n("VfN6"),u=n("Nzc1"),h=n("PRU4"),d=n("S1AF"),p=n("0MjU"),f=n("ofXK"),g=n("/bpi"),m=n("Nqz0"),b=n("fpqv"),v=n("Q8cG"),y=n("C2AL"),w=n("3Pt+"),_=n("EzuI"),O=n("ssiq"),C=n("wp29"),E=n("x859"),S=n("sYmb"),T=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};const x=["docViewer"],k=function(e){return{"anim-rotate":e}};function I(e,t){if(1&e&&(r.Wb(0,"div",25),r.Gc(1,"\n "),r.Wb(2,"div",26),r.Gc(3,"\n "),r.Rb(4,"img",27),r.Gc(5),r.hc(6,"translate"),r.Vb(),r.Gc(7,"\n "),r.Vb()),2&e){const e=r.gc(2);r.mc("@fadeInOutAnimation",void 0),r.Eb(4),r.mc("ngClass",r.pc(5,k,e.isLoading)),r.Eb(1),r.Ic("\n ",r.ic(6,3,"LOADING_INDICATOR_TEXT"),"\n ")}}function D(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",28),r.dc("click",function(){return r.wc(e),r.gc(2).goBack()}),r.Gc(1,"\n "),r.Rb(2,"app-icon",29),r.Gc(3,"\n "),r.Wb(4,"span"),r.Gc(5),r.hc(6,"translate"),r.Vb(),r.Gc(7,"\n "),r.Vb()}2&e&&(r.Eb(5),r.Hc(r.ic(6,1,"DOCS_GO_BACK_TEXT")))}function z(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",19),r.dc("click",function(){return r.wc(e),r.gc(2).goHome()}),r.Gc(1,"\n "),r.Rb(2,"app-icon",30),r.Gc(3,"\n "),r.Vb()}}function j(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",18),r.dc("click",function(){return r.wc(e),r.gc(2).exportSDL()}),r.Gc(1),r.hc(2,"translate"),r.Vb()}2&e&&(r.Eb(1),r.Ic("\n ",r.ic(2,1,"DOCS_EXPORT_SDL"),"\n "))}function A(e,t){if(1&e){const e=r.Xb();r.Wb(0,"span",36),r.dc("click",function(){r.wc(e);const t=r.gc().$implicit;return r.gc(4).goToType(t.name)}),r.Gc(1),r.Vb()}if(2&e){const e=r.gc().$implicit;r.Eb(1),r.Hc(e.name)}}function R(e,t){if(1&e&&(r.Wb(0,"div",34),r.Gc(1,"\n "),r.Ec(2,A,2,1,"span",35),r.Gc(3,"\n "),r.Vb()),2&e){const e=t.$implicit;r.Eb(2),r.mc("ngIf",e)}}function N(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,R,4,1,"div",33),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc(3);r.Eb(2),r.mc("ngForOf",e.rootTypes)("ngForTrackBy",e.rootTypeTrackBy)}}function L(e,t){if(1&e){const e=r.Xb();r.Wb(0,"app-doc-viewer-type",38),r.dc("goToFieldChange",function(t){return r.wc(e),r.gc(4).goToField(t.name,t.parentType)})("goToTypeChange",function(t){return r.wc(e),r.gc(4).goToType(t.name)})("addToEditorChange",function(t){return r.wc(e),r.gc(4).addToEditor(t.name,t.parentType)}),r.Vb()}if(2&e){const e=r.gc(4);r.mc("data",e.gqlSchema.getType(e.docView.name))("gqlSchema",e.gqlSchema)}}function M(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,L,1,2,"app-doc-viewer-type",37),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc(3);r.Eb(2),r.mc("ngIf",e.gqlSchema.getType(e.docView.name))}}function F(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Gc(1,"\n "),r.Wb(2,"app-doc-viewer-field",39),r.dc("goToFieldChange",function(t){return r.wc(e),r.gc(3).goToField(t.name,t.parentType)})("goToTypeChange",function(t){return r.wc(e),r.gc(3).goToType(t.name)})("addToEditorChange",function(t){return r.wc(e),r.gc(3).addToEditor(t.name,t.parentType)}),r.Vb(),r.Gc(3,"\n "),r.Tb()}if(2&e){const e=r.gc(3);r.Eb(2),r.mc("data",e.gqlSchema.getType(e.docView.parentType)&&e.gqlSchema.getType(e.docView.parentType).getFields()[e.docView.name])("gqlSchema",e.gqlSchema)("parentType",e.docView.parentType)}}function P(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Gc(1,"\n "),r.Wb(2,"app-doc-viewer-search-results",40),r.dc("goToFieldChange",function(t){return r.wc(e),r.gc(3).goToField(t.name,t.parentType)})("goToTypeChange",function(t){return r.wc(e),r.gc(3).goToType(t.name)}),r.Vb(),r.Gc(3,"\n "),r.Tb()}if(2&e){const e=r.gc(3);r.Eb(2),r.mc("results",e.searchResult)}}function V(e,t){if(1&e&&(r.Wb(0,"div",31),r.Gc(1,"\n "),r.Ec(2,N,4,2,"ng-container",32),r.Gc(3,"\n "),r.Ec(4,M,4,1,"ng-container",32),r.Gc(5,"\n "),r.Ec(6,F,4,3,"ng-container",32),r.Gc(7,"\n "),r.Ec(8,P,4,1,"ng-container",32),r.Gc(9,"\n "),r.Vb()),2&e){const e=r.gc(2);r.mc("ngSwitch",e.docView.view),r.Eb(2),r.mc("ngSwitchCase","root"),r.Eb(2),r.mc("ngSwitchCase","type"),r.Eb(2),r.mc("ngSwitchCase","field"),r.Eb(2),r.mc("ngSwitchCase","search")}}function G(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",4,5),r.Gc(2,"\n "),r.Ec(3,I,8,7,"div",6),r.Gc(4,"\n "),r.Wb(5,"div",7),r.Gc(6,"\n "),r.Wb(7,"div",8),r.Gc(8,"\n "),r.Wb(9,"div",9),r.Gc(10,"\n "),r.Ec(11,D,8,3,"div",10),r.Gc(12,"\n "),r.Ec(13,z,4,0,"div",11),r.Gc(14,"\n "),r.Vb(),r.Gc(15,"\n "),r.Wb(16,"div",12),r.Gc(17,"\n "),r.Wb(18,"div",13),r.Gc(19,"\n "),r.Rb(20,"app-icon",14),r.Gc(21,"\n "),r.Vb(),r.Gc(22,"\n "),r.Wb(23,"nz-dropdown-menu",null,15),r.Gc(25,"\n "),r.Wb(26,"ul",16),r.Gc(27,"\n "),r.Ec(28,j,3,3,"li",17),r.Gc(29,"\n "),r.Wb(30,"li",18),r.dc("click",function(){return r.wc(e),r.gc().loadSchemaChange.next()}),r.Gc(31),r.hc(32,"translate"),r.Vb(),r.Gc(33,"\n "),r.Vb(),r.Gc(34,"\n "),r.Vb(),r.Gc(35,"\n "),r.Wb(36,"div",19),r.dc("click",function(){return r.wc(e),r.gc().toggleDocsChange.next()}),r.Gc(37,"\n "),r.Rb(38,"app-icon",20),r.Gc(39,"\n "),r.Vb(),r.Gc(40,"\n "),r.Vb(),r.Gc(41,"\n "),r.Vb(),r.Gc(42,"\n "),r.Vb(),r.Gc(43,"\n "),r.Wb(44,"div",21),r.Gc(45,"\n "),r.Wb(46,"input",22),r.dc("ngModelChange",function(t){return r.wc(e),r.gc().searchTerm=t})("keyup",function(t){r.wc(e);const n=r.gc();return n.searchInputKeyUp(n.searchTerm,t)})("valueChanged",function(t){r.wc(e);const n=r.gc();return t&&n.searchDocs(t)}),r.hc(47,"translate"),r.Vb(),r.Gc(48,"\n "),r.Vb(),r.Gc(49,"\n "),r.Wb(50,"div",23),r.Gc(51,"\n "),r.Ec(52,V,10,5,"div",24),r.Gc(53,"\n "),r.Vb(),r.Gc(54,"\n"),r.Vb()}if(2&e){const e=r.tc(24),t=r.gc();r.Eb(3),r.mc("ngIf",t.isLoading),r.Eb(8),r.mc("ngIf","root"!==t.docView.view&&t.docHistory.length),r.Eb(2),r.mc("ngIf","root"!==t.docView.view),r.Eb(5),r.mc("nzDropdownMenu",e),r.Eb(10),r.mc("ngIf",t.gqlSchema),r.Eb(3),r.Ic("\n ",r.ic(32,12,"DOCS_LOAD_SCHEMA"),"...\n "),r.Eb(15),r.mc("ngModel",t.searchTerm)("source",t.autocompleteSource)("min-chars",2)("list-formatter",t.autocompleteListFormatter)("placeholder",r.ic(47,14,"DOCS_SEARCH_INPUT_PLACEHOLDER_TEXT")),r.Eb(6),r.mc("ngIf",t.gqlSchema)}}function B(e,t){if(1&e&&(r.Wb(0,"div",41),r.Gc(1),r.hc(2,"translate"),r.hc(3,"date"),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.Jc("",r.ic(2,2,"DOCS_LAST_UPDATED"),": ",r.jc(3,4,e.lastUpdatedAt,"medium"),"")}}function W(e,t){1&e&&(r.Wb(0,"div",42),r.Gc(1),r.hc(2,"translate"),r.Vb()),2&e&&(r.Eb(1),r.Ic("\n ",r.ic(2,1,"SERVER_NO_INTROSPECTION_SUPPORT"),"\n"))}let $=(()=>{let t=class{constructor(e,t,n){this.gqlService=e,this._sanitizer=t,this.altairConfig=n,this.allowIntrospection=!0,this.isLoading=!1,this.addQueryDepthLimit=this.altairConfig.add_query_depth_limit,this.tabSize=this.altairConfig.tab_size,this.docView={view:"root",parentType:"Query",name:"FieldName"},this.toggleDocsChange=new r.n,this.setDocViewChange=new r.n,this.addQueryToEditorChange=new r.n,this.exportSDLChange=new r.n,this.loadSchemaChange=new r.n,this.rootTypes=[],this.index=[],this.searchInputPlaceholder="Search docs...",this.hasSearchIndex=!1,this.docHistory=[],this.searchResult=[],this.searchTerm="",this.autocompleteSource=e=>Object(o.a)(this.getDocUtilsWorker().then(t=>t.searchDocs(e))),this.autocompleteListFormatter=e=>this._sanitizer.bypassSecurityTrustHtml(`\n
    \n ${e.search}\n ${e.cat}\n ${e.description}\n
    `)}ngOnChanges(e){e.gqlSchema&&e.gqlSchema.currentValue&&(this.gqlSchema=e.gqlSchema.currentValue,this.updateDocs(e.gqlSchema.currentValue))}updateDocs(e){var t=this;return Object(i.a)(function*(){a.a.log(e),t.rootTypes=Object(p.a)(e);try{const n=yield t.getDocUtilsWorker(),i=yield t.gqlService.getSDL(e);yield n.updateSchema(i),t.index=yield t.docUtilWorker.generateSearchIndex(),a.a.log("Worker index:",t.index),t.hasSearchIndex=!0}catch(n){a.a.log("Error while generating index.",n),t.hasSearchIndex=!1}})()}searchInputKeyUp(e,t){t&&13!==t.keyCode||this.searchDocs(e)}setDocView(e){this.setDocViewChange.next(e),this.docViewerRef.nativeElement.scrollTop=0}searchDocs(e){var t=this;return Object(i.a)(function*(){if("string"!=typeof e&&(e=e.name),!t.hasSearchIndex)return!1;t.updateDocHistory(),t.setDocView({view:"search"});const n=yield t.getDocUtilsWorker();t.searchResult=yield n.searchDocs(e),a.a.log(t.searchResult)})()}cleanName(e){return e.replace(/[\[\]!]/g,"")}goBack(){this.docHistory.length&&this.setDocView(this.docHistory.pop())}goHome(){this.setDocView({view:"root"}),this.docHistory=[]}updateDocHistory(){this.docView&&"search"!==this.docView.view&&this.docHistory.push({...this.docView})}goToType(e){this.updateDocHistory(),this.setDocView({view:"type",name:e.replace(/[\[\]!]/g,"")})}goToField(e,t){this.updateDocHistory(),this.setDocView({view:"field",name:e.replace(/[\[\]!]/g,""),parentType:t.replace(/[\[\]!]/g,"")})}addToEditor(e,t){var n=this;return Object(i.a)(function*(){if(!n.hasSearchIndex)return!1;const i=yield n.getDocUtilsWorker(),r=yield i.generateQuery(e,t,{tabSize:n.tabSize,addQueryDepthLimit:n.addQueryDepthLimit});r&&n.addQueryToEditorChange.next(r)})()}exportSDL(){this.exportSDLChange.next()}getDocUtilsWorker(){var t=this;return Object(i.a)(function*(){if(!t.docUtilWorker)try{const n=h.a(new Worker(e,void 0));t.docUtilWorker=yield new n}catch(i){a.a.error("Could not load doc utilsweb worker"),a.a.error(i);const{DocUtils:e}=yield n.e(13).then(n.bind(null,"zeOt"));t.docUtilWorker=new e}return t.docUtilWorker})()}onResize(e){this.resizeFactor=e}rootTypeTrackBy(e,t){return t.name}};return t.\u0275fac=function(e){return new(e||t)(r.Qb(d.GqlService),r.Qb(c.b),r.Qb(s.a))},t.\u0275cmp=r.Kb({type:t,selectors:[["app-doc-viewer"]],viewQuery:function(e,t){if(1&e&&r.Kc(x,1),2&e){let e;r.sc(e=r.ec())&&(t.docViewerRef=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&r.Bc("flex-grow",t.resizeFactor)},inputs:{gqlSchema:"gqlSchema",allowIntrospection:"allowIntrospection",isLoading:"isLoading",addQueryDepthLimit:"addQueryDepthLimit",tabSize:"tabSize",docView:"docView",lastUpdatedAt:"lastUpdatedAt"},outputs:{toggleDocsChange:"toggleDocsChange",setDocViewChange:"setDocViewChange",addQueryToEditorChange:"addQueryToEditorChange",exportSDLChange:"exportSDLChange",loadSchemaChange:"loadSchemaChange"},features:[r.Cb],decls:8,vars:3,consts:[["class","app-doc-viewer",4,"ngIf"],["class","doc-viewer__last-updated",4,"ngIf"],["class","app-doc-notice",4,"ngIf"],[3,"resizeChange"],[1,"app-doc-viewer"],["docViewer",""],["class","app-doc-loader",4,"ngIf"],[1,"doc-viewer-header"],[1,"doc-viewer-navigation"],[1,"doc-viewer-navigation--left"],["class","doc-viewer-navigation__option","track-id","go_back_docs",3,"click",4,"ngIf"],["class","doc-viewer-navigation__option",3,"click",4,"ngIf"],[1,"doc-viewer-navigation--right"],["nz-dropdown","","nzTrigger","click",1,"doc-viewer-navigation__option",3,"nzDropdownMenu"],["name","more-horizontal"],["docViewerMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"click",4,"ngIf"],["nz-menu-item","",3,"click"],[1,"doc-viewer-navigation__option",3,"click"],["name","x"],[1,"doc-viewer-search-wrapper"],["ngui-auto-complete","","value-property-name","search","display-property-name","search",1,"doc-viewer-search-input",3,"ngModel","source","min-chars","list-formatter","placeholder","ngModelChange","keyup","valueChanged"],[1,"doc-viewer-items"],[3,"ngSwitch",4,"ngIf"],[1,"app-doc-loader"],[1,"app-doc-loader-content"],["src","assets/img/logo.svg","alt","",1,"anim",3,"ngClass"],["track-id","go_back_docs",1,"doc-viewer-navigation__option",3,"click"],["name","arrow-left"],["name","home"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","doc-viewer-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"doc-viewer-item"],["class","no-link-link",3,"click",4,"ngIf"],[1,"no-link-link",3,"click"],[3,"data","gqlSchema","goToFieldChange","goToTypeChange","addToEditorChange",4,"ngIf"],[3,"data","gqlSchema","goToFieldChange","goToTypeChange","addToEditorChange"],[3,"data","gqlSchema","parentType","goToFieldChange","goToTypeChange","addToEditorChange"],[3,"results","goToFieldChange","goToTypeChange"],[1,"doc-viewer__last-updated"],[1,"app-doc-notice"]],template:function(e,t){1&e&&(r.Ec(0,G,55,16,"div",0),r.Gc(1,"\n"),r.Ec(2,B,4,7,"div",1),r.Gc(3,"\n"),r.Ec(4,W,3,3,"div",2),r.Gc(5,"\n"),r.Wb(6,"app-flex-resizer",3),r.dc("resizeChange",function(e){return t.onResize(e)}),r.Vb(),r.Gc(7,"\n")),2&e&&(r.mc("ngIf",t.allowIntrospection),r.Eb(2),r.mc("ngIf",t.gqlSchema&&t.lastUpdatedAt),r.Eb(2),r.mc("ngIf",!t.allowIntrospection))},directives:[f.o,g.a,m.a,b.a,m.c,v.c,y.a,v.e,w.e,_.a,w.l,w.o,f.l,f.q,f.r,f.n,O.a,C.a,E.a],pipes:[S.c,f.e],encapsulation:2,data:{animation:[u.a]},changeDetection:0}),t=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}([Object(l.a)(),T("design:paramtypes",[d.GqlService,c.b,s.a])],t),t})()}).call(this,n("R9jo"))},FduV:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("rWdj"),r=n("dWS+"),o=n("axIb"),s=n("umOc"),a=n("sJV+");function c(e){return{InlineFragment:function(t){var n=e.getType(),s=e.getParentType();Object(o.D)(n)&&Object(o.D)(s)&&!Object(a.a)(e.getSchema(),n,s)&&e.reportError(new r.a(function(e,t){return'Fragment cannot be spread here as objects of type "'.concat(e,'" can never be of type "').concat(t,'".')}(Object(i.a)(s),Object(i.a)(n)),t))},FragmentSpread:function(t){var n=t.name.value,c=function(e,t){var n=e.getFragment(t);if(n){var i=Object(s.a)(e.getSchema(),n.typeCondition);if(Object(o.D)(i))return i}}(e,n),l=e.getParentType();c&&l&&!Object(a.a)(e.getSchema(),c,l)&&e.reportError(new r.a(function(e,t,n){return'Fragment "'.concat(e,'" cannot be spread here as objects of type "').concat(t,'" can never be of type "').concat(n,'".')}(n,Object(i.a)(l),Object(i.a)(c)),t))}}}},FtGj:function(e,t,n){"use strict";n.d(t,"a",function(){return m}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return s}),n.d(t,"g",function(){return l}),n.d(t,"h",function(){return u}),n.d(t,"i",function(){return g}),n.d(t,"j",function(){return d}),n.d(t,"k",function(){return a}),n.d(t,"l",function(){return r}),n.d(t,"m",function(){return h}),n.d(t,"n",function(){return b}),n.d(t,"o",function(){return f}),n.d(t,"p",function(){return v});const i=8,r=9,o=13,s=27,a=32,c=35,l=36,u=37,h=38,d=39,p=40,f=48,g=57,m=65,b=90;function v(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},FwiY:function(e,t,n){"use strict";n.d(t,"a",function(){return ce}),n.d(t,"b",function(){return le});var i=n("nLfN"),r=n("fXoL"),o=n("mrSG"),s=n("ofXK");function a(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function c(e){return Math.min(1,Math.max(0,e))}function l(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function u(e){return e<=1?100*Number(e)+"%":e}function h(e){return 1===e.length?"0"+e:String(e)}function d(e,t,n){e=a(e,255),t=a(t,255),n=a(n,255);var i=Math.max(e,t,n),r=Math.min(e,t,n),o=0,s=0,c=(i+r)/2;if(i===r)s=0,o=0;else{var l=i-r;switch(s=c>.5?l/(2-i-r):l/(i+r),i){case e:o=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function f(e,t,n){e=a(e,255),t=a(t,255),n=a(n,255);var i=Math.max(e,t,n),r=Math.min(e,t,n),o=0,s=i,c=i-r,l=0===i?0:c/i;if(i===r)o=0;else{switch(i){case e:o=(t-n)/c+(t>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var r=function(e){var t,n,i={r:0,g:0,b:0},r=1,o=null,s=null,c=null,h=!1,d=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(v[e])e=v[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=O.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=O.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=O.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=O.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=O.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=O.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=O.hex8.exec(e))?{r:b(n[1]),g:b(n[2]),b:b(n[3]),a:m(n[4]),format:t?"name":"hex8"}:(n=O.hex6.exec(e))?{r:b(n[1]),g:b(n[2]),b:b(n[3]),format:t?"name":"hex"}:(n=O.hex4.exec(e))?{r:b(n[1]+n[1]),g:b(n[2]+n[2]),b:b(n[3]+n[3]),a:m(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=O.hex3.exec(e))&&{r:b(n[1]+n[1]),g:b(n[2]+n[2]),b:b(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(C(e.r)&&C(e.g)&&C(e.b)?(t=e.g,n=e.b,i={r:255*a(e.r,255),g:255*a(t,255),b:255*a(n,255)},h=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):C(e.h)&&C(e.s)&&C(e.v)?(o=u(e.s),s=u(e.v),i=function(e,t,n){e=6*a(e,360),t=a(t,100),n=a(n,100);var i=Math.floor(e),r=e-i,o=n*(1-t),s=n*(1-r*t),c=n*(1-(1-r)*t),l=i%6;return{r:255*[n,s,o,o,c,n][l],g:255*[c,n,n,s,o,o][l],b:255*[o,o,c,n,n,s][l]}}(e.h,o,s),h=!0,d="hsv"):C(e.h)&&C(e.s)&&C(e.l)&&(o=u(e.s),c=u(e.l),i=function(e,t,n){var i,r,o;if(e=a(e,360),t=a(t,100),n=a(n,100),0===t)r=n,o=n,i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;i=p(c,s,e+1/3),r=p(c,s,e),o=p(c,s,e-1/3)}return{r:255*i,g:255*r,b:255*o}}(e.h,o,c),h=!0,d="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=l(r),{ok:h,format:e.format||d,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:r}}(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=n.format)&&void 0!==i?i:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,i=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=l(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=f(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=f(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.v);return 1===this.a?"hsv("+t+", "+n+"%, "+i+"%)":"hsva("+t+", "+n+"%, "+i+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var e=d(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=d(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.l);return 1===this.a?"hsl("+t+", "+n+"%, "+i+"%)":"hsla("+t+", "+n+"%, "+i+"%, "+this.roundA+")"},e.prototype.toHex=function(e){return void 0===e&&(e=!1),g(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,i,r){var o,s=[h(Math.round(e).toString(16)),h(Math.round(t).toString(16)),h(Math.round(n).toString(16)),h((o=i,Math.round(255*parseFloat(o)).toString(16)))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb("+e+", "+t+", "+n+")":"rgba("+e+", "+t+", "+n+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var e=function(e){return Math.round(100*a(e,255))+"%"};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*a(e,255))};return 1===this.a?"rgb("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%)":"rgba("+e(this.r)+"%, "+e(this.g)+"%, "+e(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+g(this.r,this.g,this.b,!1),t=0,n=Object.entries(v);t=0)||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=c(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=c(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=c(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=c(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),i=(n.h+t)%360;return n.h=i<0?360+i:i,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var i=this.toRgb(),r=new e(t).toRgb(),o=n/100;return new e({r:(r.r-i.r)*o+i.r,g:(r.g-i.g)*o+i.g,b:(r.b-i.b)*o+i.b,a:(r.a-i.a)*o+i.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var i=this.toHsl(),r=360/n,o=[this];for(i.h=(i.h-(r*t>>1)+720)%360;--t;)i.h=(i.h+r)%360,o.push(new e(i));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),i=n.h,r=n.s,o=n.v,s=[],a=1/t;t--;)s.push(new e({h:i,s:r,v:o})),o=(o+a)%1;return s},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),i=new e(t).toRgb();return new e({r:i.r+(n.r-i.r)*n.a,g:i.g+(n.g-i.g)*n.a,b:i.b+(n.b-i.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),i=n.h,r=[this],o=360/t,s=1;s=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?i+=360:i>=360&&(i-=360),i}function x(e,t,n){return 0===e.h&&0===e.s?e.s:((i=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(i=1),n&&5===t&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2)));var i}function k(e,t,n){var i;return(i=n?e.v+.05*t:e.v-.15*t)>1&&(i=1),Number(i.toFixed(2))}function I(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],i=new E(e),r=5;r>0;r-=1){var o=i.toHsv(),s=new E({h:T(o,r,!0),s:x(o,r,!0),v:k(o,r,!0)}).toHexString();n.push(s)}n.push(i.toHexString());for(var a=1;a<=4;a+=1){var c=i.toHsv(),l=new E({h:T(c,a),s:x(c,a),v:k(c,a)}).toHexString();n.push(l)}return"dark"===t.theme?S.map(function(e){var i=e.index,r=e.opacity;return new E(t.backgroundColor||"#141414").mix(n[i],100*r).toHexString()}):n}var D={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},z={},j={};Object.keys(D).forEach(function(e){z[e]=I(D[e]),z[e].primary=z[e][5],j[e]=I(D[e],{theme:"dark",backgroundColor:"#141414"}),j[e].primary=j[e][5]});var A=n("tk/3"),R=n("XNiG"),N=n("LRne"),L=n("HDdC"),M=n("lJxs"),F=n("vkgz"),P=n("nYR2"),V=n("JIr8"),G=n("w1tV"),B=n("pLZG"),W=n("IzEk"),$=n("jhN1");function U(e){Object(r.Y)()&&console.warn(`[@ant-design/icons-angular]: ${e}.`)}function H(e){return I(e)[0]}function q(e,t){switch(t){case"fill":return`${e}-fill`;case"outline":return`${e}-o`;case"twotone":return`${e}-twotone`;case void 0:return e;default:throw new Error(`[@ant-design/icons-angular]:Theme "${t}" is not a recognized theme!`)}}function Q(e){return"object"==typeof e&&"string"==typeof e.name&&("string"==typeof e.theme||void 0===e.theme)&&"string"==typeof e.icon}function K(e){const t=e.split(":");switch(t.length){case 1:return[e,""];case 2:return[t[1],t[0]];default:throw new Error(`[@ant-design/icons-angular]:The icon type ${e} is not valid!`)}}function X(){return new Error("[@ant-design/icons-angular]: tag not found.")}let Y=(()=>{class e{constructor(e,t,n,i){this._rendererFactory=e,this._handler=t,this._document=n,this.sanitizer=i,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new R.a,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new A.c(this._handler))}set twoToneColor({primaryColor:e,secondaryColor:t}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=t||H(e)}get twoToneColor(){return Object.assign({},this._twoToneColorPalette)}useJsonpLoading(){this._enableJsonpLoading?U("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=e=>{this._jsonpIconLoad$.next(e)})}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/"}addIcon(...e){e.forEach(e=>{this._svgDefinitions.set(q(e.name,e.theme),e)})}addIconLiteral(e,t){const[n,i]=K(e);if(!i)throw new Error(`[@ant-design/icons-angular]:Type should have a namespace. Try "namespace:${name}".`);this.addIcon({name:e,icon:t})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(e,t){const n=Q(e)?e:this._svgDefinitions.get(e)||null;return(n?Object(N.a)(n):this._loadIconDynamically(e)).pipe(Object(M.a)(n=>{if(!n)throw function(e){return new Error(`[@ant-design/icons-angular]:the icon ${e} does not exist or is not registered.`)}(e);return this._loadSVGFromCacheOrCreateNew(n,t)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return Object(N.a)((console.error('[@ant-design/icons-angular]: you need to import "HttpClientModule" to use dynamic importing..'),null));let t=this._inProgressFetches.get(e);if(!t){const[n,i]=K(e),o=i?{name:e,icon:""}:function(e){const t=e.split("-"),n="o"===(i=t.splice(t.length-1,1)[0])?"outline":i;var i;return{name:t.join("-"),theme:n,icon:""}}(n),s=(i?`${this._assetsUrlRoot}assets/${i}/${n}`:`${this._assetsUrlRoot}assets/${o.theme}/${o.name}`)+(this._enableJsonpLoading?".js":".svg"),a=this.sanitizer.sanitize(r.K.URL,s);if(!a)throw function(e){return new Error(`[@ant-design/icons-angular]:The url "${e}" is unsafe.`)}(s);t=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(o,a):this._http.get(a,{responseType:"text"}).pipe(Object(M.a)(e=>Object.assign(Object.assign({},o),{icon:e})))).pipe(Object(F.a)(e=>this.addIcon(e)),Object(P.a)(()=>this._inProgressFetches.delete(e)),Object(V.a)(()=>Object(N.a)(null)),Object(G.a)()),this._inProgressFetches.set(e,t)}return t}_loadIconDynamicallyWithJsonp(e,t){return new L.a(n=>{const i=this._document.createElement("script"),r=setTimeout(()=>{o(),n.error(new Error("[@ant-design/icons-angular]:Importing timeout error."))},6e3);function o(){i.parentNode.removeChild(i),clearTimeout(r)}i.src=t,this._document.body.appendChild(i),this._jsonpIconLoad$.pipe(Object(B.a)(t=>t.name===e.name&&t.theme===e.theme),Object(W.a)(1)).subscribe(e=>{n.next(e),o()})})}_loadSVGFromCacheOrCreateNew(e,t){let n;const i=t||this._twoToneColorPalette.primaryColor,r=H(i)||this._twoToneColorPalette.secondaryColor,o="twotone"===e.theme?function(e,t,n,i){return`${q(e,t)}-${n}-${i}`}(e.name,e.theme,i,r):void 0===e.theme?e.name:q(e.name,e.theme),s=this._svgRenderedDefinitions.get(o);return s?n=s.icon:(n=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(""!==K(e.name)[1]?e.icon:e.icon.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')),"twotone"===e.theme,i,r)),this._svgRenderedDefinitions.set(o,Object.assign(Object.assign({},e),{icon:n}))),function(e){return e.cloneNode(!0)}(n)}_createSVGElementFromString(e){const t=this._document.createElement("div");t.innerHTML=e;const n=t.querySelector("svg");if(!n)throw X;return n}_setSVGAttribute(e){return this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,t,n,i){if(t){const t=e.childNodes,r=t.length;for(let e=0;e{class e{constructor(e,t,n){this._iconService=e,this._elementRef=t,this._renderer=n}ngOnChanges(e){(e.type||e.theme||e.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(e=>{if(this.type){const t=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(n=>{var i,r;i=t,r=this._getSelfRenderMeta(),i.type===r.type&&i.theme===r.theme&&i.twoToneColor===r.twoToneColor?(this._setSVGElement(n),e(n)):e(null)})}else this._clearSVGElement(),e(null)})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(e,t){if(Q(e))return e;{const[n,i]=K(e);return i?e:function(e){return e.endsWith("-fill")||e.endsWith("-o")||e.endsWith("-twotone")}(n)?(t&&U(`'type' ${n} already gets a theme inside so 'theme' ${t} would be ignored`),n):q(n,t||this._iconService.defaultTheme)}}_setSVGElement(e){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,e)}_clearSVGElement(){var e;const t=this._elementRef.nativeElement,n=t.childNodes;for(let i=n.length-1;i>=0;i--){const r=n[i];"svg"===(null===(e=r.tagName)||void 0===e?void 0:e.toLowerCase())&&this._renderer.removeChild(t,r)}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Y),r.Qb(r.l),r.Qb(r.G))},e.\u0275dir=r.Lb({type:e,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[r.Cb]}),e})();var Z=n("/KA4"),ee=n("2Suw"),te=n("79xS");const ne={name:"star",theme:"fill",icon:''},ie=[{name:"bars",theme:"outline",icon:''},{name:"calendar",theme:"outline",icon:''},{name:"caret-up",theme:"fill",icon:''},{name:"caret-up",theme:"outline",icon:''},{name:"caret-down",theme:"fill",icon:''},{name:"caret-down",theme:"outline",icon:''},{name:"check-circle",theme:"fill",icon:''},{name:"check-circle",theme:"outline",icon:''},{name:"check",theme:"outline",icon:''},{name:"clock-circle",theme:"outline",icon:''},{name:"close-circle",theme:"outline",icon:''},{name:"close-circle",theme:"fill",icon:''},{name:"close",theme:"outline",icon:''},{name:"copy",theme:"outline",icon:''},{name:"double-left",theme:"outline",icon:''},{name:"double-right",theme:"outline",icon:''},{name:"down",theme:"outline",icon:''},{name:"edit",theme:"outline",icon:''},{name:"ellipsis",theme:"outline",icon:''},{name:"exclamation-circle",theme:"fill",icon:''},{name:"exclamation-circle",theme:"outline",icon:''},{name:"eye",theme:"outline",icon:''},{name:"file",theme:"fill",icon:''},{name:"file",theme:"outline",icon:''},{name:"filter",theme:"fill",icon:''},{name:"info-circle",theme:"fill",icon:''},{name:"info-circle",theme:"outline",icon:''},{name:"left",theme:"outline",icon:''},{name:"loading",theme:"outline",icon:''},{name:"paper-clip",theme:"outline",icon:''},{name:"question-circle",theme:"outline",icon:''},{name:"right",theme:"outline",icon:''},{name:"rotate-right",theme:"outline",icon:''},{name:"rotate-left",theme:"outline",icon:''},ne,{name:"search",theme:"outline",icon:''},ne,{name:"upload",theme:"outline",icon:''},{name:"vertical-align-top",theme:"outline",icon:''},{name:"up",theme:"outline",icon:''},{name:"swap-right",theme:"outline",icon:''},{name:"zoom-in",theme:"outline",icon:''},{name:"zoom-out",theme:"outline",icon:''}],re=new r.s("nz_icons");new r.s("nz_icon_default_twotone_color");let oe=(()=>{class e extends Y{constructor(e,t,n,i,r,o){super(e,i,r,t),this.nzConfigService=n,this.configUpdated$=new R.a,this.iconfontCache=new Set,this.onConfigChange(),this.addIcon(...ie,...o||[]),this.configDefaultTwotoneColor(),this.configDefaultTheme()}normalizeSvgElement(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),e.getAttribute("width")&&e.getAttribute("height")||(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")}fetchFromIconfont(e){const{scriptUrl:t}=e;if(this._document&&!this.iconfontCache.has(t)){const e=this._renderer.createElement("script");this._renderer.setAttribute(e,"src",t),this._renderer.setAttribute(e,"data-namespace",t.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,e),this.iconfontCache.add(t)}}createIconfontIcon(e){return this._createSVGElementFromString(``)}onConfigChange(){this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"}configDefaultTwotoneColor(){const e=this.getConfig().nzTwotoneColor||"#1890ff";let t="#1890ff";e&&(e.startsWith("#")?t=e:Object(te.b)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:t}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}return e.\u0275fac=function(t){return new(t||e)(r.ac(r.H),r.ac($.b),r.ac(ee.a),r.ac(A.b,8),r.ac(s.d,8),r.ac(re,8))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(r.H),Object(r.ac)($.b),Object(r.ac)(ee.a),Object(r.ac)(A.b,8),Object(r.ac)(s.d,8),Object(r.ac)(re,8))},token:e,providedIn:"root"}),e})();const se=new r.s("nz_icons_patch");let ae=(()=>{class e{constructor(e,t){this.extraIcons=e,this.rootIconService=t,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=!0)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(se,2),r.ac(oe))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),ce=(()=>{class e extends J{constructor(e,t,n,i){super(t,e,n),this.iconService=t,this.renderer=n,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,i&&i.doPatch(),this.el=e.nativeElement}set nzSpin(e){this.spin=e}set nzType(e){this.type=e}set nzTheme(e){this.theme=e}set nzTwotoneColor(e){this.twoToneColor=e}set nzIconfont(e){this.iconfont=e}ngOnChanges(e){const{nzType:t,nzTwotoneColor:n,nzSpin:i,nzTheme:r,nzRotate:o}=e;t||n||i||r?this.changeIcon2():o?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const e=this.el.children;let t=e.length;if(!this.type&&e.length)for(;t--;){const n=e[t];"svg"===n.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(n)}}}changeIcon2(){this.setClassName(),this._changeIcon().then(e=>{e&&(this.setSVGData(e),this.handleSpin(e),this.handleRotate(e))})}handleSpin(e){this.spin||"loading"===this.type?this.renderer.addClass(e,"anticon-spin"):this.renderer.removeClass(e,"anticon-spin")}handleRotate(e){this.nzRotate?this.renderer.setAttribute(e,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(e,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(oe),r.Qb(r.G),r.Qb(ae,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("anticon",!0)},inputs:{nzRotate:"nzRotate",nzSpin:"nzSpin",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[r.Bb,r.Cb]}),Object(o.b)([Object(Z.a)(),Object(o.c)("design:type",Boolean),Object(o.c)("design:paramtypes",[Boolean])],e.prototype,"nzSpin",null),e})(),le=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:re,useValue:t}]}}static forChild(t){return{ngModule:e,providers:[ae,{provide:se,useValue:t}]}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.b]]}),e})()},GNEV:function(e,t,n){"use strict";n.d(t,"h",function(){return i}),n.d(t,"a",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"g",function(){return s}),n.d(t,"f",function(){return a}),n.d(t,"e",function(){return c}),n.d(t,"l",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"d",function(){return h}),n.d(t,"k",function(){return d}),n.d(t,"j",function(){return p}),n.d(t,"i",function(){return f});const i="UPDATE_VARIABLES",r="ADD_FILE_VARIABLE",o="DELETE_FILE_VARIABLE",s="UPDATE_FILE_VARIABLE_NAME",a="UPDATE_FILE_VARIABLE_IS_MULTIPLE",c="UPDATE_FILE_VARIABLE_DATA";class l{constructor(e,t){this.payload=e,this.windowId=t,this.type=i}}class u{constructor(e,t){this.windowId=e,this.payload=t,this.type=r}}class h{constructor(e,t){this.windowId=e,this.payload=t,this.type=o}}class d{constructor(e,t){this.windowId=e,this.payload=t,this.type=s}}class p{constructor(e,t){this.windowId=e,this.payload=t,this.type=a}}class f{constructor(e,t){this.windowId=e,this.payload=t,this.type=c}}},GOzd:function(e,t,n){"use strict";var i="razdwatrzy";e.exports=function(){return"function"==typeof i.contains&&!0===i.contains("dwa")&&!1===i.contains("foo")}},GP5n:function(e,t,n){!function(e){"use strict";function t(e,t){var n=Number(t);return/^[-+]/.test(t)?e.getCursor().line+n:n-1}e.commands.jumpToLine=function(e){var n=e.getCursor();!function(e,t,n,i,r){e.openDialog?e.openDialog(t,r,{value:i,selectValueOnOpen:!0}):r(prompt(n,i))}(e,function(e){return e.phrase("Jump to line:")+' '+e.phrase("(Use line:column or scroll% syntax)")+""}(e),e.phrase("Jump to line:"),n.line+1+":"+n.ch,function(i){var r;if(i)if(r=/^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(i))e.setCursor(t(e,r[1]),Number(r[2]));else if(r=/^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(i)){var o=Math.round(e.lineCount()*Number(r[1])/100);/^[-+]/.test(r[1])&&(o=n.line+o+1),e.setCursor(o-1,n.ch)}else(r=/^\s*\:?\s*([\+\-]?\d+)\s*/.exec(i))&&e.setCursor(t(e,r[1]),n.ch)})},e.keyMap.default["Alt-G"]="jumpToLine"}(n("VrN/"),n("Ku0u"))},GR68:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return h}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return d});var i=n("R0Ic");let r=(()=>{class e{}return e.SLOW="0.3s",e.BASE="0.2s",e.FAST="0.1s",e})(),o=(()=>{class e{}return e.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",e.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",e.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",e.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",e.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",e.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",e.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",e.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",e.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",e.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",e.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",e.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",e.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",e.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",e})();const s=Object(i.l)("collapseMotion",[Object(i.i)("expanded",Object(i.j)({height:"*"})),Object(i.i)("collapsed",Object(i.j)({height:0,overflow:"hidden"})),Object(i.i)("hidden",Object(i.j)({height:0,overflow:"hidden",borderTopWidth:"0"})),Object(i.k)("expanded => collapsed",Object(i.e)(`150ms ${o.EASE_IN_OUT}`)),Object(i.k)("expanded => hidden",Object(i.e)(`150ms ${o.EASE_IN_OUT}`)),Object(i.k)("collapsed => expanded",Object(i.e)(`150ms ${o.EASE_IN_OUT}`)),Object(i.k)("hidden => expanded",Object(i.e)(`150ms ${o.EASE_IN_OUT}`))]),a=(Object(i.l)("treeCollapseMotion",[Object(i.k)("* => *",[Object(i.f)("nz-tree-node:leave,nz-tree-builtin-node:leave",[Object(i.j)({overflow:"hidden"}),Object(i.h)(0,[Object(i.e)(`150ms ${o.EASE_IN_OUT}`,Object(i.j)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),Object(i.f)("nz-tree-node:enter,nz-tree-builtin-node:enter",[Object(i.j)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),Object(i.h)(0,[Object(i.e)(`150ms ${o.EASE_IN_OUT}`,Object(i.j)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),Object(i.l)("fadeMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0}),Object(i.e)(`${r.BASE}`,Object(i.j)({opacity:1}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1}),Object(i.e)(`${r.BASE}`,Object(i.j)({opacity:0}))])]),Object(i.l)("helpMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0,transform:"translateY(-5px)"}),Object(i.e)(`${r.SLOW} ${o.EASE_IN_OUT}`,Object(i.j)({opacity:1,transform:"translateY(0)"}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"translateY(0)"}),Object(i.e)(`${r.SLOW} ${o.EASE_IN_OUT}`,Object(i.j)({opacity:0,transform:"translateY(-5px)"}))])])),c=(Object(i.l)("moveUpMotion",[Object(i.k)("* => enter",[Object(i.j)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),Object(i.e)(`${r.BASE}`,Object(i.j)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Object(i.k)("* => leave",[Object(i.j)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),Object(i.e)(`${r.BASE}`,Object(i.j)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),Object(i.l)("notificationMotion",[Object(i.i)("enterRight",Object(i.j)({opacity:1,transform:"translateX(0)"})),Object(i.k)("* => enterRight",[Object(i.j)({opacity:0,transform:"translateX(5%)"}),Object(i.e)("100ms linear")]),Object(i.i)("enterLeft",Object(i.j)({opacity:1,transform:"translateX(0)"})),Object(i.k)("* => enterLeft",[Object(i.j)({opacity:0,transform:"translateX(-5%)"}),Object(i.e)("100ms linear")]),Object(i.i)("leave",Object(i.j)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Object(i.k)("* => leave",[Object(i.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Object(i.e)("100ms linear")])]),`${r.BASE} ${o.EASE_OUT_QUINT}`),l=`${r.BASE} ${o.EASE_IN_QUINT}`,u=Object(i.l)("slideMotion",[Object(i.i)("void",Object(i.j)({opacity:0,transform:"scaleY(0.8)"})),Object(i.i)("enter",Object(i.j)({opacity:1,transform:"scaleY(1)"})),Object(i.k)("void => *",[Object(i.e)(c)]),Object(i.k)("* => void",[Object(i.e)(l)])]),h=Object(i.l)("slideAlertMotion",[Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Object(i.e)(`${r.SLOW} ${o.EASE_IN_OUT_CIRC}`,Object(i.j)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),d=Object(i.l)("zoomBigMotion",[Object(i.k)("void => active",[Object(i.j)({opacity:0,transform:"scale(0.8)"}),Object(i.e)(`${r.BASE} ${o.EASE_OUT_CIRC}`,Object(i.j)({opacity:1,transform:"scale(1)"}))]),Object(i.k)("active => void",[Object(i.j)({opacity:1,transform:"scale(1)"}),Object(i.e)(`${r.BASE} ${o.EASE_IN_OUT_CIRC}`,Object(i.j)({opacity:0,transform:"scale(0.8)"}))])]);Object(i.l)("zoomBadgeMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),Object(i.e)(`${r.SLOW} ${o.EASE_OUT_BACK}`,Object(i.j)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),Object(i.e)(`${r.SLOW} ${o.EASE_IN_BACK}`,Object(i.j)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])])},"Gjh+":function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"m",function(){return r}),n.d(t,"i",function(){return o}),n.d(t,"c",function(){return s}),n.d(t,"e",function(){return a}),n.d(t,"f",function(){return c}),n.d(t,"j",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"n",function(){return h}),n.d(t,"k",function(){return d}),n.d(t,"d",function(){return p}),n.d(t,"g",function(){return f}),n.d(t,"h",function(){return g}),n.d(t,"l",function(){return m});const i="ADD_WINDOW",r="SET_WINDOWS",o="REMOVE_WINDOW",s="EXPORT_WINDOW",a="IMPORT_WINDOW",c="IMPORT_WINDOW_FROM_CURL",l="REOPEN_CLOSED_WINDOW";class u{constructor(e){this.payload=e,this.type=i}}class h{constructor(e){this.payload=e,this.type=r}}class d{constructor(e){this.payload=e,this.type=o}}class p{constructor(e){this.payload=e,this.type=s}}class f{constructor(e){this.payload=e,this.type=a}}class g{constructor(e){this.payload=e,this.type=c}}class m{constructor(){this.type=l}}},GpRL:function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}},Gxun:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return c}),n.d(t,"a",function(){return l});var i=n("PE4B"),r=n.n(i);const o={easing:"ease",colors:{black:"#33363b",darkGray:"#a6a6a6",gray:"#eaeaea",lightGray:"#f0f0f0",white:"#ffffff",green:"#7ebc59",blue:"#368cbf",cerise:"#f00faa",red:"#ed6a5a",orange:"#edae49",yellow:"#e4ce44",lightRed:"#cc998d",darkPurple:"#303965"},type:{fontSize:{base:24,remBase:24,body:14},fontFamily:{default:'-apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'}}},s=r()(o,{isSystem:!1,colors:{primary:o.colors.green,secondary:o.colors.blue,bg:o.colors.white,offBg:o.colors.lightGray,font:o.colors.black,offFont:o.colors.darkGray,border:o.colors.gray,offBorder:o.colors.lightGray,headerBg:o.colors.white},shadow:{color:o.colors.black,opacity:.1},editor:{fontFamily:{default:"JetBrains Mono"},fontSize:o.type.fontSize.body,colors:{comment:o.colors.darkGray,string:o.colors.orange,number:o.colors.orange,variable:o.colors.black,keyword:o.colors.blue,atom:o.colors.black,attribute:o.colors.green,property:o.colors.blue,punctuation:o.colors.blue,definition:o.colors.orange,builtin:o.colors.orange,cursor:o.colors.blue}}}),a=e=>{if(!e)return"";const t=(e=>{const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:void 0})(e);if(!t)return"";const{r:n,g:i,b:r}=t;return`${n}, ${i}, ${r}`},c=(...e)=>r.a.all(e),l=(e,t={})=>r.a.all([s,e,t])},GyhO:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("LRne"),r=n("bHdf");function o(...e){return Object(r.a)(1)(Object(i.a)(...e))}},H6OF:function(e,t,n){"use strict";var i=n("GpRL"),r=n("aFjk"),o=n("ZI+j"),s=n("e0LD"),a=n("Zq5j");e.exports=function e(t){var n,c,l;if(i(t),(n=Object(arguments[1])).async&&n.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!n.force?t:(c=a(n.length,t.length,n.async&&o.async),l=s(t,c,n),r(o,function(e,t){n[t]&&e(n[t],l,n)}),e.__profiler__&&e.__profiler__(l),l.updateEnv(),l.memoized)}},HBFN:function(e,t,n){"use strict";var i=n("Tzvz"),r=a(n("VrN/")),o=a(n("i1zs")),s=n("8Ur0");function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t,n){const i=t.fieldDef.name;"__"!==i.slice(0,2)&&(h(e,t,n,t.parentType),p(e,".")),p(e,i,"field-name",n,(0,s.getFieldReference)(t))}function l(e,t,n){p(e,"@"+t.directiveDef.name,"directive-name",n,(0,s.getDirectiveReference)(t))}function u(e,t,n,i){p(e,": "),h(e,t,n,i)}function h(e,t,n,r){r instanceof i.GraphQLNonNull?(h(e,t,n,r.ofType),p(e,"!")):r instanceof i.GraphQLList?(p(e,"["),h(e,t,n,r.ofType),p(e,"]")):p(e,r.name,"type-name",n,(0,s.getTypeReference)(t,r))}function d(e,t,n){const i=n.description;if(i){const n=document.createElement("div");n.className="info-description",t.renderDescription?n.innerHTML=t.renderDescription(i):n.appendChild(document.createTextNode(i)),e.appendChild(n)}!function(e,t,n){const i=n.deprecationReason;if(i){const n=document.createElement("div");n.className="info-deprecation",t.renderDescription?n.innerHTML=t.renderDescription(i):n.appendChild(document.createTextNode(i));const r=document.createElement("span");r.className="info-deprecation-label",r.appendChild(document.createTextNode("Deprecated: ")),n.insertBefore(r,n.firstChild),e.appendChild(n)}}(e,t,n)}function p(e,t,n,i={onClick:null},r){if(n){const o=i.onClick;let s;o?(s=document.createElement("a"),s.href="javascript:void 0",s.addEventListener("click",e=>{o(r,e)})):s=document.createElement("span"),s.className=n,s.appendChild(document.createTextNode(t)),e.appendChild(s)}else e.appendChild(document.createTextNode(t))}n("CRiN"),r.default.registerHelper("info","graphql",(e,t)=>{if(!t.schema||!e.state)return;const n=e.state,i=n.kind,r=n.step,a=(0,o.default)(t.schema,e.state);if("Field"===i&&0===r&&a.fieldDef||"AliasedField"===i&&2===r&&a.fieldDef){const e=document.createElement("div");return function(e,t,n){c(e,t,n),u(e,t,n,t.type)}(e,a,t),d(e,t,a.fieldDef),e}if("Directive"===i&&1===r&&a.directiveDef){const e=document.createElement("div");return l(e,a,t),d(e,t,a.directiveDef),e}if("Argument"===i&&0===r&&a.argDef){const e=document.createElement("div");return function(e,t,n){t.directiveDef?l(e,t,n):t.fieldDef&&c(e,t,n);const i=t.argDef.name;p(e,"("),p(e,i,"arg-name",n,(0,s.getArgumentReference)(t)),u(e,t,n,t.inputType),p(e,")")}(e,a,t),d(e,t,a.argDef),e}if("EnumValue"===i&&a.enumValue&&a.enumValue.description){const e=document.createElement("div");return function(e,t,n){const i=t.enumValue.name;h(e,t,n,t.inputType),p(e,"."),p(e,i,"enum-value",n,(0,s.getEnumValueReference)(t))}(e,a,t),d(e,t,a.enumValue),e}if("NamedType"===i&&a.type&&a.type.description){const e=document.createElement("div");return h(e,a,t,a.type),d(e,t,a.type),e}})},HDdC:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("7o/Q"),r=n("2QA8"),o=n("gRHU"),s=n("kJWO"),a=n("mCNh"),c=n("2fFW");let l=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:s}=this,a=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[r.a])return e[r.a]()}return e||t||n?new i.a(e,t,n):new i.a(o.a)}(e,t,n);if(a.add(s?s.call(a,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof i.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=u(t))((t,n)=>{let i;i=this.subscribe(t=>{try{e(t)}catch(r){n(r),i&&i.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[s.a](){return this}pipe(...e){return 0===e.length?this:Object(a.b)(e)(this)}toPromise(e){return new(e=u(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function u(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HEXU:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("XNiG"),r=n("pLZG"),o=n("fXoL");let s=(()=>{class e{constructor(e){this.errorHandler=e,this.eventStream=new i.a}group(){return new a(this)}emit(e,t){return this.eventStream.next({event:e,payload:t})}on(e,t){return this.eventStream.pipe(Object(r.a)(t=>t.event===e)).subscribe(e=>{try{t(e.payload)}catch(n){this.errorHandler.handleError(n)}})}}return e.\u0275fac=function(t){return new(t||e)(o.ac(o.m))},e.\u0275prov=o.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class a{constructor(e){this.pluginEventService=e,this.subscriptions=[]}emit(e,t){return this.pluginEventService.emit(e,t)}on(e,t){const n=this.pluginEventService.on(e,t);return this.subscriptions.push(n),{unsubscribe:()=>(this.subscriptions=this.subscriptions.filter(e=>e!==n),n.unsubscribe())}}unsubscribe(){for(const e of this.subscriptions)e.unsubscribe();this.subscriptions=[]}}},HEoz:function(e,t,n){"use strict";e.exports=n("umFS")()?n("fEpb").Symbol:n("lO5s")},"HaE+":function(e,t,n){"use strict";function i(e,t,n,i,r,o,s){try{var a=e[o](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(i,r)}function r(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var s=e.apply(t,n);function a(e){i(s,r,o,a,c,"next",e)}function c(e){i(s,r,o,a,c,"throw",e)}a(void 0)})}}n.d(t,"a",function(){return r})},HkoP:function(e,t,n){"use strict";var i,r=(i=n("VrN/"))&&i.__esModule?i:{default:i},o=n("JCIs");function s(e,t){const n=e.levels;return(n&&0!==n.length?n[n.length-1]-(this.electricInput.test(t)?1:0):e.indentLevel)*this.config.indentUnit}r.default.defineMode("graphql",e=>{const t=(0,o.onlineParser)({eatWhitespace:e=>e.eatWhile(o.isIgnored),lexRules:o.LexRules,parseRules:o.ParseRules,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:s,electricInput:/^\s*[})\]]/,fold:"brace",lineComment:"#",closeBrackets:{pairs:'()[]{}""',explode:"()[]{}"}}})},HmyC:function(e,t,n){"use strict";n.r(t);var i=n("gI7C");n.d(t,"getASTNodeAtPosition",function(){return i.getASTNodeAtPosition}),n.d(t,"pointToOffset",function(){return i.pointToOffset});var r=n("VWUu");n.d(t,"Position",function(){return r.Position}),n.d(t,"Range",function(){return r.Range}),n.d(t,"locToRange",function(){return r.locToRange}),n.d(t,"offsetToPosition",function(){return r.offsetToPosition});var o=n("qvY7");n.d(t,"validateWithCustomRules",function(){return o.validateWithCustomRules});var s=n("8O83");n.d(t,"requireFile",function(){return s.requireFile}),n.d(t,"resolveFile",function(){return s.resolveFile})},I2ZF:function(e,t){for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);e.exports=function(e,t){var i=t||0;return[n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]]].join("")}},I55L:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=e=>e&&"number"==typeof e.length&&"function"!=typeof e},IDEf:function(e,t,n){"use strict";e.exports=n("FKvE")()?Object.assign:n("9g66")},IQOa:function(e,t,n){"use strict";n.r(t),n.d(t,"getDefinitionState",function(){return o}),n.d(t,"getFieldDef",function(){return s}),n.d(t,"forEachState",function(){return a}),n.d(t,"objectValues",function(){return c}),n.d(t,"hintList",function(){return l}),n.d(t,"getAutocompleteSuggestions",function(){return m}),n.d(t,"LANGUAGE",function(){return E}),n.d(t,"getDefinitionQueryResultForFragmentSpread",function(){return k}),n.d(t,"getDefinitionQueryResultForDefinitionNode",function(){return D}),n.d(t,"getDiagnostics",function(){return N}),n.d(t,"validateQuery",function(){return L}),n.d(t,"getOutline",function(){return $}),n.d(t,"getHoverInformation",function(){return H}),n.d(t,"GraphQLLanguageService",function(){return be});var i=n("axIb"),r=n("LViu");function o(e){let t;return a(e,e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}}),t}function s(e,t,n){return n===r.SchemaMetaFieldDef.name&&e.getQueryType()===t?r.SchemaMetaFieldDef:n===r.TypeMetaFieldDef.name&&e.getQueryType()===t?r.TypeMetaFieldDef:n===r.TypeNameMetaFieldDef.name&&Object(i.D)(t)?r.TypeNameMetaFieldDef:"getFields"in t?t.getFields()[n]:null}function a(e,t){const n=[];let i=e;for(;i&&i.kind;)n.push(i),i=i.prevState;for(let r=n.length-1;r>=0;r--)t(n[r])}function c(e){const t=Object.keys(e),n=t.length,i=new Array(n);for(let r=0;r({proximity:d(h(e.label),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length).map(e=>e.entry):u(e,e=>!e.isDeprecated)}(t,h(e.string))}function u(e,t){const n=e.filter(t);return 0===n.length?e:n}function h(e){return e.toLowerCase().replace(/\W/g,"")}function d(e,t){let n=function(e,t){let n,i;const r=[],o=e.length,s=t.length;for(n=0;n<=o;n++)r[n]=[n];for(i=1;i<=s;i++)r[0][i]=i;for(n=1;n<=o;n++)for(i=1;i<=s;i++){const o=e[n-1]===t[i-1]?0:1;r[n][i]=Math.min(r[n-1][i]+1,r[n][i-1]+1,r[n-1][i-1]+o),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(r[n][i]=Math.min(r[n][i],r[n-2][i-2]+o))}return r[o][s]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}var p=n("19Hc"),f=n("sJV+"),g=n("JCIs");function m(e,t,n,s){const a=s||b(t,n),u="Invalid"===a.state.kind?a.state.prevState:a.state;if(!u)return[];const h=u.kind,d=u.step,g=y(e,a.state);if("Document"===h)return l(a,[{label:"query"},{label:"mutation"},{label:"subscription"},{label:"fragment"},{label:"{"}]);if("SelectionSet"===h||"Field"===h||"AliasedField"===h)return function(e,t,n){if(t.parentType){const o=t.parentType,s="getFields"in o?c(o.getFields()):[];return Object(i.D)(o)&&s.push(r.TypeNameMetaFieldDef),o===n.getQueryType()&&s.push(r.SchemaMetaFieldDef,r.TypeMetaFieldDef),l(e,s.map((e,t)=>({sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:e.description,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason})))}return[]}(a,g,e);if("Arguments"===h||"Argument"===h&&0===d){const e=g.argDefs;if(e)return l(a,e.map(e=>({label:e.name,detail:String(e.type),documentation:e.description})))}return("ObjectValue"===h||"ObjectField"===h&&0===d)&&g.objectFieldDefs?l(a,c(g.objectFieldDefs).map(e=>({label:e.name,detail:String(e.type),documentation:e.description}))):"EnumValue"===h||"ListValue"===h&&1===d||"ObjectField"===h&&2===d||"Argument"===h&&2===d?function(e,t){const n=Object(i.A)(t.inputType);return n instanceof i.a?l(e,n.getValues().map(e=>({label:e.name,detail:String(n),documentation:e.description,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason}))):n===p.a?l(e,[{label:"true",detail:String(p.a),documentation:"Not false."},{label:"false",detail:String(p.a),documentation:"Not true."}]):[]}(a,g):"TypeCondition"===h&&1===d||"NamedType"===h&&null!=u.prevState&&"TypeCondition"===u.prevState.kind?function(e,t,n){let r;if(t.parentType)if(Object(i.C)(t.parentType)){const e=Object(i.j)(t.parentType),o=n.getPossibleTypes(e),s=Object.create(null);o.forEach(e=>{e.getInterfaces().forEach(e=>{s[e.name]=e})}),r=o.concat(c(s))}else r=[t.parentType];else r=c(n.getTypeMap()).filter(i.D);return l(e,r.map(e=>{const t=Object(i.A)(e);return{label:String(e),documentation:t&&t.description||""}}))}(a,g,e):"FragmentSpread"===h&&1===d?function(e,t,n,r){const s=n.getTypeMap(),a=o(e.state);return l(e,function(e){const t=[];return v(e,(e,n)=>{"FragmentDefinition"===n.kind&&n.name&&n.type&&t.push({kind:"FragmentDefinition",name:{kind:"Name",value:n.name},selectionSet:{kind:"SelectionSet",selections:[]},typeCondition:{kind:"NamedType",name:{kind:"Name",value:n.type}}})}),t}(r).filter(e=>s[e.typeCondition.name.value]&&!(a&&"FragmentDefinition"===a.kind&&a.name===e.name.value)&&Object(i.D)(t.parentType)&&Object(i.D)(s[e.typeCondition.name.value])&&Object(f.a)(n,t.parentType,s[e.typeCondition.name.value])).map(e=>({label:e.name.value,detail:String(s[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`})))}(a,g,e,t):"VariableDefinition"===h&&2===d||"ListType"===h&&1===d||"NamedType"===h&&u.prevState&&("VariableDefinition"===u.prevState.kind||"ListType"===u.prevState.kind)?function(e,t){return l(e,c(t.getTypeMap()).filter(i.G).map(e=>({label:e.name,documentation:e.description})))}(a,e):"Directive"===h?function(e,t,n){return t.prevState&&t.prevState.kind?l(e,n.getDirectives().filter(e=>function(e,t){if(!e||!e.kind)return!1;const n=t.locations;switch(e.kind){case"Query":return-1!==n.indexOf("QUERY");case"Mutation":return-1!==n.indexOf("MUTATION");case"Subscription":return-1!==n.indexOf("SUBSCRIPTION");case"Field":case"AliasedField":return-1!==n.indexOf("FIELD");case"FragmentDefinition":return-1!==n.indexOf("FRAGMENT_DEFINITION");case"FragmentSpread":return-1!==n.indexOf("FRAGMENT_SPREAD");case"InlineFragment":return-1!==n.indexOf("INLINE_FRAGMENT");case"SchemaDef":return-1!==n.indexOf("SCHEMA");case"ScalarDef":return-1!==n.indexOf("SCALAR");case"ObjectTypeDef":return-1!==n.indexOf("OBJECT");case"FieldDef":return-1!==n.indexOf("FIELD_DEFINITION");case"InterfaceDef":return-1!==n.indexOf("INTERFACE");case"UnionDef":return-1!==n.indexOf("UNION");case"EnumDef":return-1!==n.indexOf("ENUM");case"EnumValue":return-1!==n.indexOf("ENUM_VALUE");case"InputDef":return-1!==n.indexOf("INPUT_OBJECT");case"InputValueDef":switch(e.prevState&&e.prevState.kind){case"ArgumentsDef":return-1!==n.indexOf("ARGUMENT_DEFINITION");case"InputDef":return-1!==n.indexOf("INPUT_FIELD_DEFINITION")}}return!1}(t.prevState,e)).map(e=>({label:e.name,documentation:e.description||""}))):[]}(a,u,e):[]}function b(e,t){let n=null,i=null,r=null;const o=v(e,(e,o,s,a)=>{if(a===t.line&&e.getCurrentPosition()>=t.character)return n=s,i={...o},r=e.current(),"BREAK"});return{start:o.start,end:o.end,string:r||o.string,state:i||o.state,style:n||o.style}}function v(e,t){const n=e.split("\n"),i=Object(g.onlineParser)();let r=i.startState(),o="",s=new g.CharacterStream("");for(let a=0;a{switch(t.kind){case"Query":case"ShortQuery":p=e.getQueryType();break;case"Mutation":p=e.getMutationType();break;case"Subscription":p=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(p=e.getType(t.type));break;case"Field":case"AliasedField":p&&t.name?(l=d?s(e,d,t.name):null,p=l?l.type:null):l=null;break;case"SelectionSet":d=Object(i.A)(p);break;case"Directive":o=t.name?e.getDirective(t.name):null;break;case"Arguments":if(t.prevState)switch(t.prevState.kind){case"Field":r=l&&l.args;break;case"Directive":r=o&&o.args;break;case"AliasedField":const n=t.prevState&&t.prevState.name;if(!n){r=null;break}const i=d?s(e,d,n):null;if(!i){r=null;break}r=i.args;break;default:r=null}else r=null;break;case"Argument":if(r)for(let e=0;ee.name&&e.name.value===i);if(0===r.length)return process.stderr.write(`Definition not found for GraphQL type ${i}`),{queryRange:[],definitions:[]};const o=r.map(({filePath:e,content:t,definition:n})=>j(e||"",t,n));return{definitions:o,queryRange:o.map(n=>S(e,t))}})).apply(this,arguments)}function k(e,t,n){return I.apply(this,arguments)}function I(){return(I=Object(w.a)(function*(e,t,n){const i=t.name.value,r=n.filter(({definition:e})=>e.name.value===i);if(0===r.length)return process.stderr.write(`Definition not found for GraphQL fragment ${i}`),{queryRange:[],definitions:[]};const o=r.map(({filePath:e,content:t,definition:n})=>z(e||"",t,n));return{definitions:o,queryRange:o.map(n=>S(e,t))}})).apply(this,arguments)}function D(e,t,n){return{definitions:[z(e,t,n)],queryRange:n.name?[S(t,n.name)]:[]}}function z(e,t,n){const i=n.name;return C()(i,"Expected ASTNode to have a Name."),{path:e,position:T(t,n),range:S(t,n),name:i.value||"",language:E,projectRoot:e}}function j(e,t,n){const i=n.name;return C()(i,"Expected ASTNode to have a Name."),{path:e,position:T(t,n),range:S(t,n),name:i.value||"",language:E,projectRoot:e}}var A=n("EMzn"),R=n("hliF");function N(e,t=null,n,i){let r=null;try{r=Object(A.parse)(e)}catch(o){const t=P(o.locations[0],e);return[{severity:1,message:o.message,source:"GraphQL: Syntax",range:t}]}return L(r,t,n,i)}function L(e,t=null,n,i){if(!t)return[];const r=M(Object(_.validateWithCustomRules)(t,e,n,i),e=>F(e,1,"Validation")),o=R.a?M(Object(R.a)(t,e),e=>F(e,2,"Deprecation")):[];return r.concat(o)}function M(e,t){return Array.prototype.concat.apply([],e.map(t))}function F(e,t,n){return e.nodes?e.nodes.map(i=>{const r="Variable"!==i.kind&&"name"in i?i.name:"variable"in i?i.variable:i;C()(e.locations,"GraphQL validation error requires locations.");const o=e.locations[0],s=function(e){const t=e.loc;return C()(t,"Expected ASTNode to have a location."),t}(r),a=o.column+(s.end-s.start);return{source:`GraphQL: ${n}`,message:e.message,severity:t,range:new _.Range(new _.Position(o.line-1,o.column-1),new _.Position(o.line-1,a))}}):[]}function P(e,t){const n=Object(g.onlineParser)(),i=n.startState(),r=t.split("\n");C()(r.length>=e.line,"Query text must have more lines than where the error happened");let o=null;for(let l=0;l({representativeName:t.name,startPosition:Object(_.offsetToPosition)(e,t.loc.start),endPosition:Object(_.offsetToPosition)(e,t.loc.end),children:t.selectionSet||[]});return{Field:e=>{const n=e.alias?[U("plain",e.alias),U("plain",": ")]:[];return n.push(U("plain",e.name)),{tokenizedText:n,...t(e)}},OperationDefinition:e=>({tokenizedText:[U("keyword",e.operation),U("whitespace"," "),U("class-name",e.name)],...t(e)}),Document:e=>e.definitions,SelectionSet:e=>function(e,t){const n=[];for(let r=0;re.value,FragmentDefinition:e=>({tokenizedText:[U("keyword","fragment"),U("whitespace"," "),U("class-name",e.name)],...t(e)}),FragmentSpread:e=>({tokenizedText:[U("plain","..."),U("class-name",e.name)],...t(e)}),InlineFragment:e=>e.selectionSet}}(e);return{outlineTrees:Object(G.c)(t,{leave:e=>W.hasOwnProperty(e.kind)&&n[e.kind]?n[e.kind](e):null})}}function U(e,t){return{kind:e,value:t}}function H(e,t,n,i){const r=i||b(t,n);if(!e||!r||!r.state)return"";const o=r.state,s=o.kind,a=o.step,c=y(e,r.state),l={schema:e};if("Field"===s&&0===a&&c.fieldDef||"AliasedField"===s&&2===a&&c.fieldDef){const e=[];return function(e,t,n){q(e,t,n),K(e,t,n,t.type)}(e,c,l),Y(e,0,c.fieldDef),e.join("").trim()}if("Directive"===s&&1===a&&c.directiveDef){const e=[];return Q(e,c),Y(e,0,c.directiveDef),e.join("").trim()}if("Argument"===s&&0===a&&c.argDef){const e=[];return function(e,t,n){if(t.directiveDef?Q(e,t):t.fieldDef&&q(e,t,n),!t.argDef)return;const i=t.argDef.name;J(e,"("),J(e,i),K(e,t,n,t.inputType),J(e,")")}(e,c,l),Y(e,0,c.argDef),e.join("").trim()}if("EnumValue"===s&&c.enumValue&&"description"in c.enumValue){const e=[];return function(e,t,n){if(!t.enumValue)return;const i=t.enumValue.name;X(e,t,n,t.inputType),J(e,"."),J(e,i)}(e,c,l),Y(e,0,c.enumValue),e.join("").trim()}if("NamedType"===s&&c.type&&"description"in c.type){const e=[];return X(e,c,l,c.type),Y(e,0,c.type),e.join("").trim()}return""}function q(e,t,n){if(!t.fieldDef)return;const i=t.fieldDef.name;"__"!==i.slice(0,2)&&(X(e,t,n,t.parentType),J(e,".")),J(e,i)}function Q(e,t,n){t.directiveDef&&J(e,"@"+t.directiveDef.name)}function K(e,t,n,i){J(e,": "),X(e,t,n,i)}function X(e,t,n,r){r&&(r instanceof i.e?(X(e,t,n,r.ofType),J(e,"!")):r instanceof i.d?(J(e,"["),X(e,t,n,r.ofType),J(e,"]")):J(e,r.name))}function Y(e,t,n){if(!n)return;const i="string"==typeof n.description?n.description:null;i&&(J(e,"\n\n"),J(e,i)),function(e,t,n){if(!n)return;const i=n.deprecationReason?n.deprecationReason:null;i&&(J(e,"\n\n"),J(e,"Deprecated: "),J(e,i))}(e,0,n)}function J(e,t){e.push(t)}var Z=n("dQau");const{FRAGMENT_DEFINITION:ee,OBJECT_TYPE_DEFINITION:te,INTERFACE_TYPE_DEFINITION:ne,ENUM_TYPE_DEFINITION:ie,UNION_TYPE_DEFINITION:re,SCALAR_TYPE_DEFINITION:oe,INPUT_OBJECT_TYPE_DEFINITION:se,SCALAR_TYPE_EXTENSION:ae,OBJECT_TYPE_EXTENSION:ce,INTERFACE_TYPE_EXTENSION:le,UNION_TYPE_EXTENSION:ue,ENUM_TYPE_EXTENSION:he,INPUT_OBJECT_TYPE_EXTENSION:de,DIRECTIVE_DEFINITION:pe,FRAGMENT_SPREAD:fe,OPERATION_DEFINITION:ge,NAMED_TYPE:me}=V.a;class be{constructor(e){this._graphQLCache=e,this._graphQLConfig=e.getGraphQLConfig()}getConfigForURI(e){const t=this._graphQLConfig.getConfigForFile(e);if(t)return t;throw Error(`No config found for uri: ${e}`)}getDiagnostics(e,t,n){var i=this;return Object(w.a)(function*(){let r=!1;const o=i.getConfigForURI(t),{schemaPath:s,projectName:a,extensions:c}=o;try{const n=Object(A.parse)(e);s&&t===s||(r=n.definitions.some(e=>{switch(e.kind){case te:case ne:case ie:case re:case oe:case se:case ae:case ce:case le:case ue:case he:case de:case pe:return!0}return!1}))}catch(g){const t=P(g.locations[0],e);return[{severity:1,message:g.message,source:"GraphQL: Syntax",range:t}]}let l=e;const u=yield i._graphQLCache.getFragmentDefinitions(o);l=`${l} ${(yield i._graphQLCache.getFragmentDependencies(e,u)).reduce((e,t)=>`${e} ${Object(Z.print)(t.definition)}`,"")}`;let h,d=null;try{d=Object(A.parse)(l)}catch(g){return[]}const p=c.customValidationRules;if(p){const e=Object(_.resolveFile)(p);if(e){const t=yield Object(_.requireFile)(e);t&&(h=t(i._graphQLConfig))}}const f=yield i._graphQLCache.getSchema(a,r).catch(()=>null);return f?L(d,f,h,n):[]})()}getAutocompleteSuggestions(e,t,n){var i=this;return Object(w.a)(function*(){const r=i.getConfigForURI(n),o=yield i._graphQLCache.getSchema(r.projectName).catch(()=>null);return o?m(o,e,t):[]})()}getHoverInformation(e,t,n){var i=this;return Object(w.a)(function*(){const r=i.getConfigForURI(n),o=yield i._graphQLCache.getSchema(r.projectName).catch(()=>null);return o?H(o,e,t):""})()}getDefinition(e,t,n){var i=this;return Object(w.a)(function*(){const r=i.getConfigForURI(n);let o;try{o=Object(A.parse)(e)}catch(a){return null}const s=Object(_.getASTNodeAtPosition)(e,o,t);if(s)switch(s.kind){case fe:return i._getDefinitionForFragmentSpread(e,o,s,n,r);case ee:case ge:return D(n,e,s);case me:return i._getDefinitionForNamedType(e,o,s,n,r)}return null})()}_getDefinitionForNamedType(e,t,n,i,r){var o=this;return Object(w.a)(function*(){const s=yield o._graphQLCache.getObjectTypeDefinitions(r),a=yield o._graphQLCache.getObjectTypeDependenciesForAST(t,s),c=t.definitions.filter(e=>e.kind===te||e.kind===se||e.kind===ie).map(t=>({filePath:i,content:e,definition:t}));return yield function(e,t,n){return x.apply(this,arguments)}(e,n,a.concat(c))})()}_getDefinitionForFragmentSpread(e,t,n,i,r){var o=this;return Object(w.a)(function*(){const s=yield o._graphQLCache.getFragmentDefinitions(r),a=yield o._graphQLCache.getFragmentDependenciesForAST(t,s),c=t.definitions.filter(e=>e.kind===ee).map(t=>({filePath:i,content:e,definition:t}));return yield k(e,n,a.concat(c))})()}}},"IWB/":function(e,t,n){"use strict";var i=n("YsTz"),r={function:!0,object:!0};e.exports=function(e){return i(e)&&r[typeof e]||!1}},Iab2:function(e,t,n){var i,r;void 0===(r="function"==typeof(i=function(){"use strict";function t(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){o(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}var r="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,o=r.saveAs||("object"!=typeof window||window!==r?function(){}:"download"in HTMLAnchorElement.prototype?function(e,o,s){var a=r.URL||r.webkitURL,c=document.createElement("a");c.download=o=o||e.name||"download",c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?i(c):n(c.href)?t(e,o,s):i(c,c.target="_blank")):(c.href=a.createObjectURL(e),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){i(c)},0))}:"msSaveOrOpenBlob"in navigator?function(e,r,o){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,o),r);else if(n(e))t(e,r,o);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout(function(){i(s)})}}:function(e,n,i,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,i);var s="application/octet-stream"===e.type,a=/constructor/i.test(r.HTMLElement)||r.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&a)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var u=r.URL||r.webkitURL,h=u.createObjectURL(e);o?o.location=h:location.href=h,o=null,setTimeout(function(){u.revokeObjectURL(h)},4e4)}});r.saveAs=o.saveAs=o,e.exports=o})?i.apply(t,[]):i)||(e.exports=r)},IjjT:function(e,t,n){"use strict";n.d(t,"a",function(){return r});let i=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class r extends i{constructor(e,t=i.now){super(e,()=>r.delegate&&r.delegate!==this?r.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},IzEk:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("7o/Q"),r=n("4I5i"),o=n("EY2u");function s(e){return t=>0===e?Object(o.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new r.a}call(e,t){return t.subscribe(new c(e,this.total))}}class c extends i.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},J7Ao:function(e,t){e.exports=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}},JCIs:function(e,t,n){"use strict";n.r(t),n.d(t,"CharacterStream",function(){return i}),n.d(t,"LexRules",function(){return u}),n.d(t,"ParseRules",function(){return h}),n.d(t,"isIgnored",function(){return l}),n.d(t,"butNot",function(){return s}),n.d(t,"list",function(){return o}),n.d(t,"opt",function(){return r}),n.d(t,"p",function(){return c}),n.d(t,"t",function(){return a}),n.d(t,"onlineParser",function(){return f});class i{constructor(e){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=(e,t=!0,n=!1)=>{let i=null,r=null;return"string"==typeof e?(r=new RegExp(e,n?"i":"g").test(this._sourceText.substr(this._pos,e.length)),i=e):e instanceof RegExp&&(r=this._sourceText.slice(this._pos).match(e),i=r&&r[0]),!(null==r||!("string"==typeof e||r instanceof Array&&this._sourceText.startsWith(r[0],this._pos)))&&(t&&(this._start=this._pos,i&&i.length&&(this._pos+=i.length)),r)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0===e.length){const n=e[0];let i=0;for(;n.length>i;)9===n.charCodeAt(i)?t+=2:t++,i++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"==typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}function r(e){return{ofRule:e}}function o(e,t){return{ofRule:e,isList:!0,separator:t}}function s(e,t){const n=e.match;return e.match=e=>{let i=!1;return n&&(i=n(e)),i&&t.every(t=>t.match&&!t.match(e))},e}function a(e,t){return{style:t,match:t=>t.kind===e}}function c(e,t){return{style:t||"punctuation",match:t=>"Punctuation"===t.kind&&t.value===e}}const l=e=>" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e,u={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},h={Document:[o("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return"FragmentDefinition";case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[d("query"),r(p("def")),r("VariableDefinitions"),o("Directive"),"SelectionSet"],Mutation:[d("mutation"),r(p("def")),r("VariableDefinitions"),o("Directive"),"SelectionSet"],Subscription:[d("subscription"),r(p("def")),r("VariableDefinitions"),o("Directive"),"SelectionSet"],VariableDefinitions:[c("("),o("VariableDefinition"),c(")")],VariableDefinition:["Variable",c(":"),"Type",r("DefaultValue")],Variable:[c("$","variable"),p("variable")],DefaultValue:[c("="),"Value"],SelectionSet:[c("{"),o("Selection"),c("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[p("property"),c(":"),p("qualifier"),r("Arguments"),o("Directive"),r("SelectionSet")],Field:[p("property"),r("Arguments"),o("Directive"),r("SelectionSet")],Arguments:[c("("),o("Argument"),c(")")],Argument:[p("attribute"),c(":"),"Value"],FragmentSpread:[c("..."),p("def"),o("Directive")],InlineFragment:[c("..."),r("TypeCondition"),o("Directive"),"SelectionSet"],FragmentDefinition:[d("fragment"),r(s(p("def"),[d("on")])),"TypeCondition",o("Directive"),"SelectionSet"],TypeCondition:[d("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return"null"===e.value?"NullValue":"EnumValue"}},NumberValue:[a("Number","number")],StringValue:[a("String","string")],BooleanValue:[a("Name","builtin")],NullValue:[a("Name","keyword")],EnumValue:[p("string-2")],ListValue:[c("["),o("Value"),c("]")],ObjectValue:[c("{"),o("ObjectField"),c("}")],ObjectField:[p("attribute"),c(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[c("["),"Type",c("]"),r(c("!"))],NonNullType:["NamedType",r(c("!"))],NamedType:[{style:"atom",match:e=>"Name"===e.kind,update(e,t){e.prevState&&e.prevState.prevState&&(e.name=t.value,e.prevState.prevState.type=t.value)}}],Directive:[c("@","meta"),p("meta"),r("Arguments")],SchemaDef:[d("schema"),o("Directive"),c("{"),o("OperationTypeDef"),c("}")],OperationTypeDef:[p("keyword"),c(":"),p("atom")],ScalarDef:[d("scalar"),p("atom"),o("Directive")],ObjectTypeDef:[d("type"),p("atom"),r("Implements"),o("Directive"),c("{"),o("FieldDef"),c("}")],Implements:[d("implements"),o("NamedType")],FieldDef:[p("property"),r("ArgumentsDef"),c(":"),"Type",o("Directive")],ArgumentsDef:[c("("),o("InputValueDef"),c(")")],InputValueDef:[p("attribute"),c(":"),"Type",r("DefaultValue"),o("Directive")],InterfaceDef:[d("interface"),p("atom"),o("Directive"),c("{"),o("FieldDef"),c("}")],UnionDef:[d("union"),p("atom"),o("Directive"),c("="),o("UnionMember",c("|"))],UnionMember:["NamedType"],EnumDef:[d("enum"),p("atom"),o("Directive"),c("{"),o("EnumValueDef"),c("}")],EnumValueDef:[p("string-2"),o("Directive")],InputDef:[d("input"),p("atom"),o("Directive"),c("{"),o("InputValueDef"),c("}")],ExtendDef:[d("extend"),"ObjectTypeDef"],DirectiveDef:[d("directive"),c("@","meta"),p("meta"),r("ArgumentsDef"),d("on"),o("DirectiveLocation",c("|"))],DirectiveLocation:[p("string-2")]};function d(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function p(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}function f(e={eatWhitespace:e=>e.eatWhile(l),lexRules:u,parseRules:h,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return b(e.parseRules,t,"Document"),t},token:(t,n)=>function(e,t,n){const{lexRules:i,parseRules:r,eatWhitespace:o,editorConfig:s}=n;if(t.rule&&0===t.rule.length?v(t):t.needsAdvance&&(t.needsAdvance=!1,y(t,!0)),e.sol()){const n=s&&s.tabSize||2;t.indentLevel=Math.floor(e.indentation()/n)}if(o(e))return"ws";const a=function(e,t){const n=Object.keys(e);for(let i=0;i0&&e[e.length-1]Object(i.a)(e,n,t)):t=>Object(i.a)(e,t)}},Jb7g:function(e,t,n){"use strict";var i=n("9Qh4"),r=n("s4AO"),o=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:i(function(t){return o[t]?o[t]:o[t]=e(String(t))}),keyFor:i(function(e){var t;for(t in r(e),o)if(o[t]===e)return t})})}},JgHy:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return a}),n.d(t,"e",function(){return l});var i=n("rDax"),r=n("fXoL");let o=(()=>{class e{constructor(e){this.cdkConnectedOverlay=e,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop"}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(i.a))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],exportAs:["nzConnectedOverlay"]}),e})(),s=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})();const a={top:new i.c({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new i.c({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new i.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new i.c({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new i.c({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new i.c({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new i.c({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new i.c({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new i.c({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new i.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new i.c({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new i.c({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new i.c({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new i.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},c=[a.top,a.right,a.bottom,a.left];function l(e){for(const t in a)if(e.connectionPair.originX===a[t].originX&&e.connectionPair.originY===a[t].originY&&e.connectionPair.overlayX===a[t].overlayX&&e.connectionPair.overlayY===a[t].overlayY)return t}new i.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new i.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new i.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})},JlUD:function(e,t){function n(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}e.exports=n,e.exports.default=n},JvOi:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=Object.freeze({SOF:"",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"})},KbBO:function(e,t,n){"use strict";e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}},Kj3r:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("7o/Q"),r=n("D0XW");function o(e,t=r.a){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}class a extends i.a{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function c(e){e.debouncedNext()}},Kqap:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new o(e,t,n))}}class o{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new s(e,this.accumulator,this.seed,this.hasSeed))}}class s extends i.a{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}},Ku0u:function(e,t,n){!function(e){function t(t,n,i){var r,o=t.getWrapperElement();return(r=o.appendChild(document.createElement("div"))).className=i?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof n?r.innerHTML=n:r.appendChild(n),e.addClass(o,"dialog-opened"),r}function n(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension("openDialog",function(i,r,o){o||(o={}),n(this,null);var s=t(this,i,o.bottom),a=!1,c=this;function l(t){if("string"==typeof t)h.value=t;else{if(a)return;a=!0,e.rmClass(s.parentNode,"dialog-opened"),s.parentNode.removeChild(s),c.focus(),o.onClose&&o.onClose(s)}}var u,h=s.getElementsByTagName("input")[0];return h?(h.focus(),o.value&&(h.value=o.value,!1!==o.selectValueOnOpen&&h.select()),o.onInput&&e.on(h,"input",function(e){o.onInput(e,h.value,l)}),o.onKeyUp&&e.on(h,"keyup",function(e){o.onKeyUp(e,h.value,l)}),e.on(h,"keydown",function(t){o&&o.onKeyDown&&o.onKeyDown(t,h.value,l)||((27==t.keyCode||!1!==o.closeOnEnter&&13==t.keyCode)&&(h.blur(),e.e_stop(t),l()),13==t.keyCode&&r(h.value,t))}),!1!==o.closeOnBlur&&e.on(s,"focusout",function(e){null!==e.relatedTarget&&l()})):(u=s.getElementsByTagName("button")[0])&&(e.on(u,"click",function(){l(),c.focus()}),!1!==o.closeOnBlur&&e.on(u,"blur",l),u.focus()),l}),e.defineExtension("openConfirm",function(i,r,o){n(this,null);var s=t(this,i,o&&o.bottom),a=s.getElementsByTagName("button"),c=!1,l=this,u=1;function h(){c||(c=!0,e.rmClass(s.parentNode,"dialog-opened"),s.parentNode.removeChild(s),l.focus())}a[0].focus();for(var d=0;d2&&void 0!==arguments[2]?arguments[2]:r,s=void 0,c=Array.isArray(e),l=[e],h=-1,d=[],p=void 0,f=void 0,g=void 0,m=[],b=[],v=e;do{var y=++h===l.length,w=y&&0!==d.length;if(y){if(f=0===b.length?void 0:m[m.length-1],p=g,g=b.pop(),w){if(c)p=p.slice();else{for(var _={},O=0,C=Object.keys(p);O{const e=Object(r.b)();return{variables:e.initialData.variables?""+e.initialData.variables:"{}",files:[]}};function a(e=s(),t){switch(t.type){case i.h:return{...e,variables:t.payload};case i.a:return e.files=e.files||[],{...e,files:[...e.files,{...o}]};case i.c:return{...e,files:e.files.filter((e,n)=>n!==t.payload.index)};case i.g:return{...e,files:e.files.map((e,n)=>n===t.payload.index?{...e,name:t.payload.name}:e)};case i.e:return{...e,files:e.files.map((e,n)=>n===t.payload.index?{...e,data:t.payload.fileData}:e)};case i.f:return{...e,files:e.files.map((e,n)=>n===t.payload.index?{...e,isMultiple:t.payload.isMultiple}:e)};default:return e}}},LRne:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("z+Ro"),r=n("yCtX"),o=n("jZKg");function s(...e){let t=e[e.length-1];return Object(i.a)(t)?(e.pop(),Object(o.a)(e,t)):Object(r.a)(e)}},LViu:function(e,t,n){"use strict";n.r(t),n.d(t,"__Schema",function(){return h}),n.d(t,"__Directive",function(){return d}),n.d(t,"__DirectiveLocation",function(){return p}),n.d(t,"__Type",function(){return f}),n.d(t,"__Field",function(){return g}),n.d(t,"__InputValue",function(){return m}),n.d(t,"__EnumValue",function(){return b}),n.d(t,"TypeKind",function(){return v}),n.d(t,"__TypeKind",function(){return y}),n.d(t,"SchemaMetaFieldDef",function(){return w}),n.d(t,"TypeMetaFieldDef",function(){return _}),n.d(t,"TypeNameMetaFieldDef",function(){return O}),n.d(t,"introspectionTypes",function(){return C}),n.d(t,"isIntrospectionType",function(){return E});var i=n("1QEH"),r=n("rWdj"),o=n("2C6G"),s=n("dQau"),a=n("F8X2"),c=n("3HNt"),l=n("19Hc"),u=n("axIb"),h=new u.f({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{types:{description:"A list of all types supported by this server.",type:Object(u.e)(Object(u.d)(Object(u.e)(f))),resolve:function(e){return Object(i.a)(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:Object(u.e)(f),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:f,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:f,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:Object(u.e)(Object(u.d)(Object(u.e)(d))),resolve:function(e){return e.getDirectives()}}}}}),d=new u.f({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:Object(u.e)(l.e),resolve:function(e){return e.name}},description:{type:l.e,resolve:function(e){return e.description}},locations:{type:Object(u.e)(Object(u.d)(Object(u.e)(p))),resolve:function(e){return e.locations}},args:{type:Object(u.e)(Object(u.d)(Object(u.e)(m))),resolve:function(e){return e.args}}}}}),p=new u.a({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:a.a.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:a.a.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:a.a.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:a.a.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:a.a.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:a.a.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:a.a.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:a.a.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:a.a.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:a.a.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:a.a.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:a.a.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:a.a.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:a.a.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:a.a.UNION,description:"Location adjacent to a union definition."},ENUM:{value:a.a.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:a.a.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:a.a.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:a.a.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),f=new u.f({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:Object(u.e)(y),resolve:function(e){return Object(u.R)(e)?v.SCALAR:Object(u.N)(e)?v.OBJECT:Object(u.H)(e)?v.INTERFACE:Object(u.T)(e)?v.UNION:Object(u.E)(e)?v.ENUM:Object(u.F)(e)?v.INPUT_OBJECT:Object(u.J)(e)?v.LIST:Object(u.L)(e)?v.NON_NULL:void Object(o.a)(!1,'Unexpected type: "'.concat(Object(r.a)(e),'".'))}},name:{type:l.e,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:l.e,resolve:function(e){return void 0!==e.description?e.description:void 0}},fields:{type:Object(u.d)(Object(u.e)(g)),args:{includeDeprecated:{type:l.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.N)(e)||Object(u.H)(e)){var r=Object(i.a)(e.getFields());return n||(r=r.filter(function(e){return!e.deprecationReason})),r}return null}},interfaces:{type:Object(u.d)(Object(u.e)(f)),resolve:function(e){if(Object(u.N)(e))return e.getInterfaces()}},possibleTypes:{type:Object(u.d)(Object(u.e)(f)),resolve:function(e,t,n,i){var r=i.schema;if(Object(u.C)(e))return r.getPossibleTypes(e)}},enumValues:{type:Object(u.d)(Object(u.e)(b)),args:{includeDeprecated:{type:l.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.E)(e)){var i=e.getValues();return n||(i=i.filter(function(e){return!e.deprecationReason})),i}}},inputFields:{type:Object(u.d)(Object(u.e)(m)),resolve:function(e){if(Object(u.F)(e))return Object(i.a)(e.getFields())}},ofType:{type:f,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),g=new u.f({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:Object(u.e)(l.e),resolve:function(e){return e.name}},description:{type:l.e,resolve:function(e){return e.description}},args:{type:Object(u.e)(Object(u.d)(Object(u.e)(m))),resolve:function(e){return e.args}},type:{type:Object(u.e)(f),resolve:function(e){return e.type}},isDeprecated:{type:Object(u.e)(l.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:l.e,resolve:function(e){return e.deprecationReason}}}}}),m=new u.f({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:Object(u.e)(l.e),resolve:function(e){return e.name}},description:{type:l.e,resolve:function(e){return e.description}},type:{type:Object(u.e)(f),resolve:function(e){return e.type}},defaultValue:{type:l.e,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=Object(c.a)(e.defaultValue,e.type);return t?Object(s.print)(t):null}}}}}),b=new u.f({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:Object(u.e)(l.e),resolve:function(e){return e.name}},description:{type:l.e,resolve:function(e){return e.description}},isDeprecated:{type:Object(u.e)(l.a),resolve:function(e){return e.isDeprecated}},deprecationReason:{type:l.e,resolve:function(e){return e.deprecationReason}}}}}),v=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),y=new u.a({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:v.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:v.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:v.INTERFACE,description:"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields."},UNION:{value:v.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:v.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:v.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:v.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:v.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),w={name:"__schema",type:Object(u.e)(h),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,i){return i.schema},deprecationReason:void 0,extensions:void 0,astNode:void 0},_={name:"__type",type:f,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:Object(u.e)(l.e),defaultValue:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,i){return i.schema.getType(t.name)},deprecationReason:void 0,extensions:void 0,astNode:void 0},O={name:"__typename",type:Object(u.e)(l.e),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,i){return i.parentType.name},deprecationReason:void 0,extensions:void 0,astNode:void 0},C=Object.freeze([h,d,p,f,g,m,b,y]);function E(e){return Object(u.K)(e)&&C.some(function(t){return e.name===t.name})}},Lhse:function(e,t,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",function(){return r});const r=i()},Lxz9:function(e,t,n){var i={"./Range.js":"VWUu","./file.js":"8O83","./getASTNodeAtPosition.js":"gI7C","./index.js":"HmyC","./validateWithCustomRules.js":"qvY7"};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id="Lxz9"},MFua:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("/D3x"),r=n("nTiS"),o=n("BGZm");Object(r.b)();const s=()=>{const e=Object(r.b)();return{theme:e.defaultTheme,language:e.default_language,addQueryDepthLimit:e.add_query_depth_limit,tabSize:e.tab_size,...e.initialData.settings||{}}};function a(e=s(),t){switch(t.type){case i.a:return{...s(),...Object(o.g)(t.payload.value)};default:return e}}},Mbdf:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("1QEH"),r=n("kBjl"),o=n("rWdj"),s=n("2C6G"),a=n("/kEc"),c=n("/jXB"),l=n("axIb");function u(e,t,n){if(e){if(Object(l.L)(t)){if(e.kind===c.a.NULL)return;return u(e,t.ofType,n)}if(e.kind===c.a.NULL)return null;if(e.kind===c.a.VARIABLE){var d=e.name.value;if(!n||Object(a.a)(n[d]))return;var p=n[d];if(null===p&&Object(l.L)(t))return;return p}if(Object(l.J)(t)){var f=t.ofType;if(e.kind===c.a.LIST){for(var g=[],m=0,b=e.values;m{throw e},0)}n.d(t,"a",function(){return i})},NSes:function(e,t,n){"use strict";var i=n("ck6w"),r=n("1TtK"),o=n("lq5y"),s=Array.prototype.indexOf,a=Object.prototype.hasOwnProperty,c=Math.abs,l=Math.floor;e.exports=function(e){var t,n,u;if(!i(e))return s.apply(this,arguments);for(n=r(o(this).length),u=arguments[1],t=u=isNaN(u)?0:u>=0?l(u):r(this.length)-l(c(u));t{let n;try{n=e()}catch(i){return void t.error(i)}return(n?Object(r.a)(n):Object(o.b)()).subscribe(t)})}},Nqz0:function(e,t,n){"use strict";n.d(t,"a",function(){return M}),n.d(t,"b",function(){return V}),n.d(t,"c",function(){return P});var i=n("mrSG"),r=n("FtGj"),o=n("rDax"),s=n("nLfN"),a=n("+rOU"),c=n("fXoL"),l=n("79xS"),u=n("JgHy"),h=n("/KA4"),d=n("XNiG"),p=n("2Vo4"),f=n("VRyK"),g=n("xgIS"),m=n("EY2u"),b=n("itXk"),v=(n("quSY"),n("CqXF")),y=n("lJxs"),w=n("eIep"),_=n("pLZG"),O=n("3UWI"),C=n("/uUt"),E=n("1G5W"),S=(n("IzEk"),n("cH1L")),T=n("ofXK"),x=n("3Pt+"),k=n("OzZK"),I=n("YF2q"),D=n("pdGh"),z=n("FwiY"),j=n("Q8cG"),A=n("GR68");function R(e,t){if(1&e){const e=c.Xb();c.Wb(0,"div",0),c.dc("mouseenter",function(){return c.wc(e),c.gc().setMouseState(!0)})("mouseleave",function(){return c.wc(e),c.gc().setMouseState(!1)}),c.kc(1),c.Vb()}if(2&e){const e=c.gc();c.Ib("ant-dropdown-rtl","rtl"===e.dir),c.mc("ngClass",e.nzOverlayClassName)("ngStyle",e.nzOverlayStyle)("@slideMotion","enter")("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)}}const N=["*"],L=[u.d.bottomLeft,u.d.bottomRight,u.d.topRight,u.d.topLeft];let M=(()=>{class e{constructor(e,t,n,i,r){this.elementRef=e,this.overlay=t,this.renderer=n,this.viewContainerRef=i,this.platform=r,this.overlayRef=null,this.destroy$=new d.a,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new p.a(!1),this.nzTrigger$=new p.a("hover"),this.overlayClose$=new d.a,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzHasBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new c.n,this.elementRef.nativeElement.classList.add("ant-dropdown-trigger")}setDropdownMenuValue(e,t){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(e,t)}ngOnInit(){}ngAfterViewInit(){if(this.nzDropdownMenu){const e=this.elementRef.nativeElement,t=Object(f.a)(Object(g.a)(e,"mouseenter").pipe(Object(v.a)(!0)),Object(g.a)(e,"mouseleave").pipe(Object(v.a)(!1))),n=this.nzDropdownMenu.mouseState$,i=Object(f.a)(n,t),o=Object(g.a)(e,"click").pipe(Object(y.a)(()=>!this.nzVisible)),s=this.nzTrigger$.pipe(Object(w.a)(e=>"hover"===e?i:"click"===e?o:m.a)),c=this.nzDropdownMenu.descendantMenuItemClick$.pipe(Object(_.a)(()=>this.nzClickHide),Object(v.a)(!1)),l=Object(f.a)(s,c,this.overlayClose$).pipe(Object(_.a)(()=>!this.nzDisabled)),h=Object(f.a)(this.inputVisible$,l);Object(b.a)([h,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe(Object(y.a)(([e,t])=>e||t),Object(O.a)(150),Object(C.a)(),Object(_.a)(()=>this.platform.isBrowser),Object(E.a)(this.destroy$)).subscribe(t=>{const n=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:e).getBoundingClientRect().width;this.nzVisible!==t&&this.nzVisibleChange.emit(t),this.nzVisible=t,t?(this.overlayRef?this.overlayRef.getConfig().minWidth=n:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:n,disposeOnNavigation:!0,hasBackdrop:(this.nzHasBackdrop||this.nzBackdrop)&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),Object(f.a)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe(Object(_.a)(e=>!this.elementRef.nativeElement.contains(e.target))),this.overlayRef.keydownEvents().pipe(Object(_.a)(e=>e.keyCode===r.f&&!Object(r.p)(e)))).pipe(Object(v.a)(!1),Object(E.a)(this.destroy$)).subscribe(this.overlayClose$)),this.positionStrategy.withPositions([u.d[this.nzPlacement],...L]),this.portal&&this.portal.templateRef===this.nzDropdownMenu.templateRef||(this.portal=new a.f(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(e){const{nzVisible:t,nzDisabled:n,nzOverlayClassName:i,nzOverlayStyle:r,nzTrigger:o,nzBackdrop:s}=e;if(o&&this.nzTrigger$.next(this.nzTrigger),t&&this.inputVisible$.next(this.nzVisible),n){const e=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(e,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(e,"disabled")}i&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),r&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle),s&&Object(l.c)("`nzBackdrop` in dropdown component will be removed in 12.0.0, please use `nzHasBackdrop` instead.")}}return e.\u0275fac=function(t){return new(t||e)(c.Qb(c.l),c.Qb(o.e),c.Qb(c.G),c.Qb(c.S),c.Qb(s.a))},e.\u0275dir=c.Lb({type:e,selectors:[["","nz-dropdown",""]],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:"nzBackdrop",nzHasBackdrop:"nzHasBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[c.Cb]}),Object(i.b)([Object(h.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzBackdrop",void 0),Object(i.b)([Object(h.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzHasBackdrop",void 0),Object(i.b)([Object(h.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzClickHide",void 0),Object(i.b)([Object(h.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(i.b)([Object(h.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzVisible",void 0),e})(),F=(()=>{class e{}return e.\u0275mod=c.Ob({type:e}),e.\u0275inj=c.Nb({factory:function(t){return new(t||e)}}),e})(),P=(()=>{class e{constructor(e,t,n,i,r,o,s){this.cdr=e,this.elementRef=t,this.renderer=n,this.viewContainerRef=i,this.nzMenuService=r,this.directionality=o,this.noAnimation=s,this.mouseState$=new p.a(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new d.a}setMouseState(e){this.mouseState$.next(e)}setValue(e,t){this[e]=t,this.cdr.markForCheck()}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(E.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(c.Qb(c.h),c.Qb(c.l),c.Qb(c.G),c.Qb(c.S),c.Qb(j.a),c.Qb(S.b,8),c.Qb(I.a,9))},e.\u0275cmp=c.Kb({type:e,selectors:[["nz-dropdown-menu"]],viewQuery:function(e,t){if(1&e&&c.Kc(c.O,3),2&e){let e;c.sc(e=c.ec())&&(t.templateRef=e.first)}},exportAs:["nzDropdownMenu"],features:[c.Db([j.a,{provide:j.b,useValue:!0}])],ngContentSelectors:N,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(e,t){1&e&&(c.lc(),c.Ec(0,R,2,7,"ng-template"))},directives:[T.l,T.p,I.a],encapsulation:2,data:{animation:[A.d]},changeDetection:0}),e})(),V=(()=>{class e{}return e.\u0275mod=c.Ob({type:e}),e.\u0275inj=c.Nb({factory:function(t){return new(t||e)},imports:[[S.a,T.c,o.h,x.i,k.c,j.f,z.b,I.b,s.b,u.c,F,D.a],j.f]}),e})();new o.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new o.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new o.c({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new o.c({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})},NtLt:function(e,t,n){var i=n("3IO0");e.exports=function(e){return i(e).replace(/[\W_]+(.|$)/g,function(e,t){return t?" "+t:""}).trim()}},NtW8:function(e,t,n){"use strict";var i,r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r=function(){for(var e=arguments.length,t=Array(e),n=0;n(0,o.getDiagnostics)(e,t.schema).map(e=>({message:e.message,severity:s[e.severity-1],type:a[e.source],from:r.default.Pos(e.range.start.line,e.range.start.character),to:r.default.Pos(e.range.end.line,e.range.end.character)})))},OO9G:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i,r=n("pv/G"),o=n("T95z"),s=n("dWS+"),a=n("/jXB"),c=n("Xizt"),l=n("axIb");function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return"Cannot extend non-".concat(t,' type "').concat(e,'".')}function d(e){for(var t=e.getSchema(),n=Object.create(null),i=0,u=e.getDocument().definitions;ie.length)&&(t=e.length);for(var n=0,i=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=e[Symbol.iterator]()).next.bind(i)}var i=function(e){var t={exports:{}};return function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}}(t),t.exports}(),r=/[&<>"']/,o=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(e){return c[e]},u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(e){return e.replace(u,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var d=/(^|[^\[])\^/g,p=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,g={},m=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,v=/^([^:]+:\/*[^/]*)[\s\S]*$/;function y(e,t,n){var i=e.length;if(0===i)return"";for(var r=0;r=0&&"\\"===n[r];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.length1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:E(n,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],i=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var i=n[1];return t.split("\n").map(function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e}).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:i}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var i=E(n,"#");this.options.pedantic?n=i.trim():i&&!/ $/.test(i)||(n=i.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:S(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var i,r=n.align.length;for(i=0;i ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,i,r,o,s,a,c,l,u,h=t[0],d=t[2],p=d.length>1,f={type:"list",raw:h,ordered:p,start:p?+d.slice(0,-1):"",loose:!1,items:[]},g=t[0].match(this.rules.block.item),m=!1,b=g.length;r=this.rules.block.listItemStart.exec(g[0]);for(var v=0;vr[1].length:o[1].length>=r[0].length||o[1].length>3){g.splice(v,2,g[v]+(!this.options.pedantic&&o[1].length/i.test(i[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):T(i[0]):i[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var i=E(n.slice(0,-1),"\\");if((n.length-i.length)%2==0)return}else{var r=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,i=0,r=0;r-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var s=t[2],a="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);c&&(s=c[1],a=c[3])}else a=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s.slice(1):s.slice(1,-1)),x(t,{href:s?s.replace(this.rules.inline._escapes,"$1"):s,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return x(n,i,n[0])}},t.emStrong=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.emStrong.lDelim.exec(e);if(i&&(!i[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var r=i[1]||i[2]||"";if(!r||r&&(""===n||this.rules.inline.punctuation.exec(n))){var o,s,a=i[0].length-1,c=a,l=0,u="*"===i[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+a);null!=(i=u.exec(t));)if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6])if(s=o.length,i[3]||i[4])c+=s;else if(!((i[5]||i[6])&&a%3)||(a+s)%3){if(!((c-=s)>0)){if(c+l-s<=0&&!t.slice(u.lastIndex).match(u)&&(s=Math.min(s,s+c+l)),Math.min(a,s)%2)return{type:"em",raw:e.slice(0,a+i.index+s+1),text:e.slice(1,a+i.index+s)};if(Math.min(a,s)%2==0)return{type:"strong",raw:e.slice(0,a+i.index+s+1),text:e.slice(2,a+i.index+s-1)}}}else l+=s}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return i&&r&&(n=n.substring(1,n.length-1)),n=T(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var n,i,r=this.rules.inline.autolink.exec(e);if(r)return i="@"===r[2]?"mailto:"+(n=T(this.options.mangle?t(r[1]):r[1])):n=T(r[1]),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var i,r;if("@"===n[2])r="mailto:"+(i=T(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);i=T(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},t.inlineText=function(e,t,n){var i,r=this.rules.inline.text.exec(e);if(r)return i=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):T(r[0]):r[0]:T(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:i}},e}(),I={exec:function(){}},D=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,i){return i=(i=i.source||i).replace(d,"$1"),e=e.replace(t,i),n},getRegex:function(){return new RegExp(e,t)}};return n},z=O,j={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:I,table:I,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};j.def=D(j.def).replace("label",j._label).replace("title",j._title).getRegex(),j.bullet=/(?:[*+-]|\d{1,9}[.)])/,j.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,j.item=D(j.item,"gm").replace(/bull/g,j.bullet).getRegex(),j.listItemStart=D(/^( *)(bull) */).replace("bull",j.bullet).getRegex(),j.list=D(j.list).replace(/bull/g,j.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+j.def.source+")").getRegex(),j._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",j._comment=/|$)/,j.html=D(j.html,"i").replace("comment",j._comment).replace("tag",j._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),j.paragraph=D(j._paragraph).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.blockquote=D(j.blockquote).replace("paragraph",j.paragraph).getRegex(),j.normal=z({},j),j.gfm=z({},j.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),j.gfm.nptable=D(j.gfm.nptable).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.gfm.table=D(j.gfm.table).replace("hr",j.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",j._tag).getRegex(),j.pedantic=z({},j.normal,{html:D("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",j._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:I,paragraph:D(j.normal._paragraph).replace("hr",j.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",j.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var A={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:I,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_]*?\*[^_]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^*]*?\_[^*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:I,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};A.punctuation=D(A.punctuation).replace(/punctuation/g,A._punctuation).getRegex(),A.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,A.escapedEmSt=/\\\*|\\_/g,A._comment=D(j._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),A.emStrong.lDelim=D(A.emStrong.lDelim).replace(/punct/g,A._punctuation).getRegex(),A.emStrong.rDelimAst=D(A.emStrong.rDelimAst,"g").replace(/punct/g,A._punctuation).getRegex(),A.emStrong.rDelimUnd=D(A.emStrong.rDelimUnd,"g").replace(/punct/g,A._punctuation).getRegex(),A._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,A._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,A._email=/[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])?)+(?![-_])/,A.autolink=D(A.autolink).replace("scheme",A._scheme).replace("email",A._email).getRegex(),A._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,A.tag=D(A.tag).replace("comment",A._comment).replace("attribute",A._attribute).getRegex(),A._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,A._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,A._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,A.link=D(A.link).replace("label",A._label).replace("href",A._href).replace("title",A._title).getRegex(),A.reflink=D(A.reflink).replace("label",A._label).getRegex(),A.reflinkSearch=D(A.reflinkSearch,"g").replace("reflink",A.reflink).replace("nolink",A.nolink).getRegex(),A.normal=z({},A),A.pedantic=z({},A.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:D(/^!?\[(label)\]\((.*?)\)/).replace("label",A._label).getRegex(),reflink:D(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",A._label).getRegex()}),A.gfm=z({},A.normal,{escape:D(A.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\1;)1&t&&(n+=e),t>>=1,e+=e;return n+e};function P(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function V(e){var t,n,i="",r=e.length;for(t=0;t.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var G=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||N,this.options.tokenizer=this.options.tokenizer||new k,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:L.normal,inline:M.normal};this.options.pedantic?(t.block=L.pedantic,t.inline=M.pedantic):this.options.gfm&&(t.block=L.gfm,t.inline=this.options.breaks?M.breaks:M.gfm),this.tokenizer.rules=t}t.lex=function(e,n){return new t(n).lex(e)},t.lexInline=function(e,n){return new t(n).inlineTokens(e)};var n,i,r=t.prototype;return r.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},r.blockTokens=function(e,t,n){var i,r,o,s;for(void 0===t&&(t=[]),void 0===n&&(n=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(i=this.tokenizer.space(e))e=e.substring(i.raw.length),i.type&&t.push(i);else if(i=this.tokenizer.code(e))e=e.substring(i.raw.length),(s=t[t.length-1])&&"paragraph"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):t.push(i);else if(i=this.tokenizer.fences(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.heading(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.nptable(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.hr(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.blockquote(e))e=e.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),t.push(i);else if(i=this.tokenizer.list(e)){for(e=e.substring(i.raw.length),o=i.items.length,r=0;r0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(l));)u.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,s.index)+"["+F("a",s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,s.index)+"["+F("a",s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.escapedEmSt.exec(l));)l=l.slice(0,s.index)+"++"+l.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(a||(c=""),a=!1,r=this.tokenizer.escape(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.tag(e,n,i)){e=e.substring(r.raw.length),n=r.inLink,i=r.inRawBlock;var h=t[t.length-1];h&&"text"===r.type&&"text"===h.type?(h.raw+=r.raw,h.text+=r.text):t.push(r)}else if(r=this.tokenizer.link(e))e=e.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),t.push(r);else if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);var d=t[t.length-1];"link"===r.type?(r.tokens=this.inlineTokens(r.text,[],!0,i),t.push(r)):d&&"text"===r.type&&"text"===d.type?(d.raw+=r.raw,d.text+=r.text):t.push(r)}else if(r=this.tokenizer.emStrong(e,l,c))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.codespan(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.br(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.del(e))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.autolink(e,V))e=e.substring(r.raw.length),t.push(r);else if(n||!(r=this.tokenizer.url(e,V))){if(r=this.tokenizer.inlineText(e,i,P))e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(c=r.raw.slice(-1)),a=!0,(o=t[t.length-1])&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):t.push(r);else if(e){var p="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(p);break}throw new Error(p)}}else e=e.substring(r.raw.length),t.push(r);return t},n=t,i=[{key:"rules",get:function(){return{block:L,inline:M}}}],null&&e(n.prototype,null),i&&e(n,i),t}(),B=i.defaults,W=function(e,t,n){if(e){var i;try{i=decodeURIComponent(h(n)).replace(p,"").toLowerCase()}catch(r){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!f.test(n)&&(n=function(e,t){g[" "+e]||(g[" "+e]=m.test(e)?e+"/":y(e,"/",!0));var n=-1===(e=g[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(b,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(v,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(r){return null}return n},$=w,U=function(){function e(e){this.options=e||B}var t=e.prototype;return t.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(e,i);null!=r&&r!==e&&(n=!0,e=r)}return e=e.replace(/\n$/,"")+"\n",i?'
    '+(n?e:$(e,!0))+"
    \n":"
    "+(n?e:$(e,!0))+"
    \n"},t.blockquote=function(e){return"
    \n"+e+"
    \n"},t.html=function(e){return e},t.heading=function(e,t,n,i){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},t.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(null===(e=W(this.options.sanitize,this.options.baseUrl,e)))return n;var i='"+n+""},t.image=function(e,t,n){if(null===(e=W(this.options.sanitize,this.options.baseUrl,e)))return n;var i=''+n+'":">")},t.text=function(e){return e},e}(),H=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),q=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do{n=e+"-"+ ++i}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=i,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),Q=i.defaults,K=_,X=function(){function e(e){this.options=e||Q,this.options.renderer=this.options.renderer||new U,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new H,this.slugger=new q}e.parse=function(t,n){return new e(n).parse(t)},e.parseInline=function(t,n){return new e(n).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,i,r,o,s,a,c,l,u,h,d,p,f,g,m,b,v,y,w="",_=e.length;for(n=0;n<_;n++)switch((h=e[n]).type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(h.tokens),h.depth,K(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(h.text,h.lang,h.escaped);continue;case"table":for(l="",c="",o=h.header.length,i=0;i0&&"text"===m.tokens[0].type?(m.tokens[0].text=y+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=y+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:y}):g+=y),g+=this.parse(m.tokens,f),u+=this.renderer.listitem(g,v,b);w+=this.renderer.list(u,d,p);continue;case"html":w+=this.renderer.html(h.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(u=h.tokens?this.parseInline(h.tokens):h.text;n+1<_&&"text"===e[n+1].type;)u+="\n"+((h=e[++n]).tokens?this.parseInline(h.tokens):h.text);w+=t?this.renderer.paragraph(u):u;continue;default:var O='Token with "'+h.type+'" type was not found.';if(this.options.silent)return void console.error(O);throw new Error(O)}return w},t.parseInline=function(e,t){t=t||this.renderer;var n,i,r="",o=e.length;for(n=0;nAn error occurred:

    "+Z(c.message+"",!0)+"
    ";throw c}}return ie.options=ie.setOptions=function(e){return Y(ie.defaults,e),te(ie.defaults),ie},ie.getDefaults=ee,ie.defaults=ne,ie.use=function(e){var t=Y({},e);if(e.renderer&&function(){var n=ie.defaults.renderer||new U,i=function(t){var i=n[t];n[t]=function(){for(var r=arguments.length,o=new Array(r),s=0;sAn error occurred:

    "+Z(i.message+"",!0)+"
    ";throw i}},ie.Parser=X,ie.parser=X.parse,ie.Renderer=U,ie.TextRenderer=H,ie.Lexer=G,ie.lexer=G.lex,ie.Tokenizer=k,ie.Slugger=q,ie.parse=ie,ie}()},OufF:function(e,t,n){"use strict";let i,r,o,s,a,c,l;function u(){const e=o,t=[];if(f("{"),!m("}")){do{t.push(h())}while(m(","));f("}")}return{kind:"Object",start:e,end:a,members:t}}function h(){const e=o,t="String"===l?p():null;f("String"),f(":");const n=d();return{kind:"Member",start:e,end:a,key:t,value:n}}function d(){switch(l){case"[":return function(){const e=o,t=[];if(f("["),!m("]")){do{t.push(d())}while(m(","));f("]")}return{kind:"Array",start:e,end:a,values:t}}();case"{":return u();case"String":case"Number":case"Boolean":case"Null":const e=p();return v(),e}return f("Value")}function p(){return{kind:l,start:o,end:s,value:JSON.parse(i.slice(o,s))}}function f(e){if(l===e)return void v();let t;if("EOF"===l)t="[end of file]";else if(s-o>1)t="`"+i.slice(o,s)+"`";else{const e=i.slice(o).match(/^.+?\b/);t="`"+(e?e[0]:i[o])+"`"}throw g(`Expected ${e} but found ${t}.`)}function g(e){return{message:e,start:o,end:s}}function m(e){if(l===e)return v(),!0}function b(){s31;)if(92===c)switch(b(),c){case 34:case 47:case 92:case 98:case 102:case 110:case 114:case 116:b();break;case 117:b(),y(),y(),y(),y();break;default:throw g("Bad character escape sequence.")}else{if(s===r)throw g("Unterminated string.");b()}if(34!==c)throw g("Unterminated string.");b()}();case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return l="Number",45===c&&b(),48===c?b():w(),46===c&&(b(),w()),void(69!==c&&101!==c||(b(),43!==c&&45!==c||b(),w()));case 102:if("false"!==i.slice(o,o+5))break;return s+=4,b(),void(l="Boolean");case 110:if("null"!==i.slice(o,o+4))break;return s+=3,b(),void(l="Null");case 116:if("true"!==i.slice(o,o+4))break;return s+=3,b(),void(l="Boolean")}l=i[o],b()}else l="EOF"}function y(){if(c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102)return b();throw g("Expected hexadecimal digit.")}function w(){if(c<48||c>57)throw g("Expected decimal digit.");do{b()}while(c>=48&&c<=57)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){i=e,r=e.length,o=s=a=-1,b(),v();const t=u();return f("EOF"),t}},OySI:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i={isTestMode:!1}},OzZK:function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return _}),n.d(t,"c",function(){return O});var i=n("mrSG"),r=n("cH1L"),o=n("fXoL"),s=n("2Suw"),a=n("79xS"),c=n("/KA4"),l=n("FwiY"),u=n("XNiG"),h=n("1G5W"),d=n("JX91"),p=n("pLZG"),f=n("ofXK"),g=n("C2AL"),m=n("RwU8");const b=["nz-button",""];function v(e,t){1&e&&o.Rb(0,"i",1)}const y=["*"];let w=(()=>{class e{constructor(e,t,n,i,r){this.elementRef=e,this.cdr=t,this.renderer=n,this.nzConfigService=i,this.directionality=r,this._nzModuleName="button",this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new u.a,this.loading$=new u.a,this.elementRef.nativeElement.classList.add("ant-btn"),this.nzConfigService.getConfigChangeEventForComponent("button").pipe(Object(h.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}insertSpan(e,t){e.forEach(e=>{if("#text"===e.nodeName){const n=t.createElement("span"),i=t.parentNode(e);t.insertBefore(i,n,e),t.appendChild(n,e)}})}assertIconOnly(e,t){const n=Array.from(e.childNodes),i=n.filter(e=>"I"===e.nodeName).length,r=n.every(e=>"#text"!==e.nodeName);n.every(e=>"SPAN"!==e.nodeName)&&r&&i>=1&&t.addClass(e,"ant-btn-icon-only")}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(h.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){const{nzLoading:t,nzType:n}=e;t&&this.loading$.next(this.nzLoading),"danger"===(null==n?void 0:n.currentValue)&&Object(a.c)("'danger' value of 'nzType' in Button is going to be removed in 12.0.0. Please use 'nzDanger' instead.")}ngAfterViewInit(){this.assertIconOnly(this.elementRef.nativeElement,this.renderer),this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe(Object(d.a)(this.nzLoading),Object(p.a)(()=>!!this.nzIconDirectiveElement),Object(h.a)(this.destroy$)).subscribe(e=>{const t=this.nzIconDirectiveElement.nativeElement;e?this.renderer.setStyle(t,"display","none"):this.renderer.removeStyle(t,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.h),o.Qb(o.G),o.Qb(s.a),o.Qb(r.b,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(e,t,n){if(1&e&&o.Jb(n,l.a,1,o.l),2&e){let e;o.sc(e=o.ec())&&(t.nzIconDirectiveElement=e.first)}},hostVars:32,hostBindings:function(e,t){2&e&&(o.Fb("tabindex",t.disabled?-1:null===t.tabIndex?null:t.tabIndex)("disabled",t.disabled||null),o.Ib("ant-btn-primary","primary"===t.nzType)("ant-btn-dashed","dashed"===t.nzType)("ant-btn-link","link"===t.nzType)("ant-btn-text","text"===t.nzType)("ant-btn-danger","danger"===t.nzType)("ant-btn-circle","circle"===t.nzShape)("ant-btn-round","round"===t.nzShape)("ant-btn-lg","large"===t.nzSize)("ant-btn-sm","small"===t.nzSize)("ant-btn-dangerous",t.nzDanger)("ant-btn-loading",t.nzLoading)("ant-btn-background-ghost",t.nzGhost)("ant-btn-block",t.nzBlock)("ant-input-search-button",t.nzSearch)("ant-btn-rtl","rtl"===t.dir))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[o.Cb],attrs:b,ngContentSelectors:y,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(e,t){1&e&&(o.lc(),o.Ec(0,v,1,0,"i",0),o.kc(1)),2&e&&o.mc("ngIf",t.nzLoading)},directives:[f.o,l.a,g.a],encapsulation:2,changeDetection:0}),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzBlock",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzGhost",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzSearch",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzLoading",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzDanger",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"disabled",void 0),Object(i.b)([Object(s.b)(),Object(i.c)("design:type",String)],e.prototype,"nzSize",void 0),e})(),_=(()=>{class e{constructor(e,t){this.elementRef=e,this.directionality=t,this.nzSize="default",this.dir="ltr",this.destroy$=new u.a,this.elementRef.nativeElement.classList.add("ant-btn-group")}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(h.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(r.b,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-button-group"]],hostVars:6,hostBindings:function(e,t){2&e&&o.Ib("ant-btn-group-lg","large"===t.nzSize)("ant-btn-group-sm","small"===t.nzSize)("ant-btn-group-rtl","rtl"===t.dir)},inputs:{nzSize:"nzSize"},exportAs:["nzButtonGroup"],ngContentSelectors:y,decls:1,vars:0,template:function(e,t){1&e&&(o.lc(),o.kc(0))},encapsulation:2,changeDetection:0}),e})(),O=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.a,f.c,m.b,l.b,g.b],g.b,m.b]}),e})()},P57A:function(e,t,n){"use strict";var i,r=(i=n("VrN/"))&&i.__esModule?i:{default:i};function o(e,t){const n=t.target||t.srcElement;if("SPAN"!==n.nodeName)return;const i=n.getBoundingClientRect();e.state.jump.cursor={left:(i.left+i.right)/2,top:(i.top+i.bottom)/2},e.state.jump.isHoldingModifier&&l(e)}function s(e){e.state.jump.isHoldingModifier||!e.state.jump.cursor?e.state.jump.isHoldingModifier&&e.state.jump.marker&&u(e):e.state.jump.cursor=null}function a(e,t){if(e.state.jump.isHoldingModifier||t.key!==(c?"Meta":"Control"))return;e.state.jump.isHoldingModifier=!0,e.state.jump.cursor&&l(e);const n=s=>{s.code===t.code&&(e.state.jump.isHoldingModifier=!1,e.state.jump.marker&&u(e),r.default.off(document,"keyup",n),r.default.off(document,"click",i),e.off("mousedown",o))},i=t=>{const n=e.state.jump.destination;n&&e.state.jump.options.onClick(n,t)},o=(t,n)=>{e.state.jump.destination&&(n.codemirrorIgnore=!0)};r.default.on(document,"keyup",n),r.default.on(document,"click",i),e.on("mousedown",o)}r.default.defineOption("jump",!1,(e,t,n)=>{if(n&&n!==r.default.Init){const t=e.state.jump.onMouseOver;r.default.off(e.getWrapperElement(),"mouseover",t);const n=e.state.jump.onMouseOut;r.default.off(e.getWrapperElement(),"mouseout",n),r.default.off(document,"keydown",e.state.jump.onKeyDown),delete e.state.jump}if(t){const n=e.state.jump={options:t,onMouseOver:o.bind(null,e),onMouseOut:s.bind(null,e),onKeyDown:a.bind(null,e)};r.default.on(e.getWrapperElement(),"mouseover",n.onMouseOver),r.default.on(e.getWrapperElement(),"mouseout",n.onMouseOut),r.default.on(document,"keydown",n.onKeyDown)}});const c="undefined"!=typeof navigator&&navigator&&-1!==navigator.appVersion.indexOf("Mac");function l(e){if(e.state.jump.marker)return;const t=e.coordsChar(e.state.jump.cursor),n=e.getTokenAt(t,!0),i=e.state.jump.options,r=i.getDestination||e.getHelper(t,"jump");if(r){const o=r(n,i,e);if(o){const i=e.markText({line:t.line,ch:n.start},{line:t.line,ch:n.end},{className:"CodeMirror-jump-token"});e.state.jump.marker=i,e.state.jump.destination=o}}}function u(e){const t=e.state.jump.marker;e.state.jump.marker=null,e.state.jump.destination=null,t.clear()}},P9dZ:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"c",function(){return r}),n.d(t,"i",function(){return o}),n.d(t,"j",function(){return s}),n.d(t,"k",function(){return a}),n.d(t,"g",function(){return c}),n.d(t,"e",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"d",function(){return h}),n.d(t,"l",function(){return d}),n.d(t,"m",function(){return p}),n.d(t,"n",function(){return f}),n.d(t,"h",function(){return g}),n.d(t,"f",function(){return m});const i="ADD_SUB_ENVIRONMENT",r="DELETE_SUB_ENVIRONMENT",o="UPDATE_BASE_ENVIRONMENT_JSON",s="UPDATE_SUB_ENVIRONMENT_JSON",a="UPDATE_SUB_ENVIRONMENT_TITLE",c="SELECT_ACTIVE_SUB_ENVIRONMENT",l="REPOSITION_SUB_ENVIRONMENT";class u{constructor(e){this.payload=e,this.type=i}}class h{constructor(e){this.payload=e,this.type=r}}class d{constructor(e){this.payload=e,this.type=o}}class p{constructor(e){this.payload=e,this.type=s}}class f{constructor(e){this.payload=e,this.type=a}}class g{constructor(e){this.payload=e,this.type=c}}class m{constructor(e){this.payload=e,this.type=l}}},PDj5:function(e,t,n){"use strict";function i(e){var t=!(e&&!1===e.descriptions);return"\n query IntrospectionQuery {\n __schema {\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ".concat(t?"description":"","\n locations\n args {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ").concat(t?"description":"","\n fields(includeDeprecated: true) {\n name\n ").concat(t?"description":"","\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ").concat(t?"description":"","\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ").concat(t?"description":"","\n type { ...TypeRef }\n defaultValue\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n ")}n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r});var r=i()},PE4B:function(e,t,n){"use strict";var i=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l(Array.isArray(e)?[]:{},e,t):e}function s(e,t,n){return e.concat(t).map(function(e){return o(e,n)})}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}(e))}function c(e,t){try{return t in e}catch(n){return!1}}function l(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||s,n.isMergeableObject=n.isMergeableObject||i,n.cloneUnlessOtherwiseSpecified=o;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var i={};return n.isMergeableObject(e)&&a(e).forEach(function(t){i[t]=o(e[t],n)}),a(t).forEach(function(r){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,r)||(i[r]=c(e,r)&&n.isMergeableObject(t[r])?function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(r,n)(e[r],t[r],n):o(t[r],n))}),i}(e,t,n):o(t,n)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return l(e,n,t)},{})},e.exports=l},PJhV:function(e,t,n){!function(e){var t=e.Pos;function n(e,t){for(var n=0,i=e.length;ns.ch&&(a.end=s.ch,a.string=a.string.slice(0,s.ch-a.start)):a={start:s.ch,end:s.ch,string:"",state:a.state,type:"."==a.string?"property":null};for(var l=a;"property"==l.type;){if("."!=(l=r(n,t(s.line,l.start))).string)return;if(l=r(n,t(s.line,l.start)),!h)var h=[];h.push(l)}return{list:u(a,h,i,o),from:t(s.line,a.start),to:t(s.line,a.end)}}}}function r(e,t){var n=e.getTokenAt(t);return t.ch==n.start+1&&"."==n.string.charAt(0)?(n.end=n.start,n.string=".",n.type="property"):/^\.[\w$_]*$/.test(n.string)&&(n.type="property",n.start++,n.string=n.string.replace(/\./,"")),n}e.registerHelper("hint","javascript",function(e,t){return i(e,c,function(e,t){return e.getTokenAt(t)},t)}),e.registerHelper("hint","coffeescript",function(e,t){return i(e,l,r,t)});var o="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),s="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),a="prototype apply call bind".split(" "),c="break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),l="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ");function u(e,t,i,r){var c=[],l=e.string,u=r&&r.globalScope||window;function h(e){0!=e.lastIndexOf(l,0)||function(e,t){if(!Array.prototype.indexOf){for(var n=e.length;n--;)if(e[n]===t)return!0;return!1}return-1!=e.indexOf(t)}(c,e)||c.push(e)}function d(e){"string"==typeof e?n(o,h):e instanceof Array?n(s,h):e instanceof Function&&n(a,h),function(e,t){if(Object.getOwnPropertyNames&&Object.getPrototypeOf)for(var n=e;n;n=Object.getPrototypeOf(n))Object.getOwnPropertyNames(n).forEach(t);else for(var i in e)t(i)}(e,h)}if(t&&t.length){var p,f=t.pop();for(f.type&&0===f.type.indexOf("variable")?(r&&r.additionalContext&&(p=r.additionalContext[f.string]),r&&!1===r.useGlobalScope||(p=p||u[f.string])):"string"==f.type?p="":"atom"==f.type?p=1:"function"==f.type&&(null==u.jQuery||"$"!=f.string&&"jQuery"!=f.string||"function"!=typeof u.jQuery?null!=u._&&"_"==f.string&&"function"==typeof u._&&(p=u._()):p=u.jQuery());null!=p&&t.length;)p=p[t.pop().string];null!=p&&d(p)}else{for(var g=e.state.localVars;g;g=g.next)h(g.name);for(var m=e.state.context;m;m=m.prev)for(g=m.vars;g;g=g.next)h(g.name);for(g=e.state.globalVars;g;g=g.next)h(g.name);if(r&&null!=r.additionalContext)for(var b in r.additionalContext)h(b);r&&!1===r.useGlobalScope||d(u),n(i,h)}return c}}(n("VrN/"))},PRU4:function(e,t,n){"use strict";n.d(t,"a",function(){return h});const i=Symbol("Comlink.proxy"),r=Symbol("Comlink.endpoint"),o=Symbol("Comlink.releaseProxy"),s=Symbol("Comlink.thrown"),a=e=>"object"==typeof e&&null!==e||"function"==typeof e,c=new Map([["proxy",{canHandle:e=>a(e)&&e[i],serialize(e){const{port1:t,port2:n}=new MessageChannel;return l(e,t),[n,[n]]},deserialize:e=>(e.start(),h(e))}],["throw",{canHandle:e=>a(e)&&s in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function l(e,t=self){t.addEventListener("message",function n(r){if(!r||!r.data)return;const{id:o,type:a,path:c}=Object.assign({path:[]},r.data),h=(r.data.argumentList||[]).map(b);let d;try{const t=c.slice(0,-1).reduce((e,t)=>e[t],e),n=c.reduce((e,t)=>e[t],e);switch(a){case 0:d=n;break;case 1:t[c.slice(-1)[0]]=b(r.data.value),d=!0;break;case 2:d=n.apply(t,h);break;case 3:d=function(e){return Object.assign(e,{[i]:!0})}(new n(...h));break;case 4:{const{port1:t,port2:n}=new MessageChannel;l(e,n),d=function(e,t){return g.set(e,t),e}(t,[t])}break;case 5:d=void 0}}catch(p){d={value:p,[s]:0}}Promise.resolve(d).catch(e=>({value:e,[s]:0})).then(e=>{const[i,r]=m(e);t.postMessage(Object.assign(Object.assign({},i),{id:o}),r),5===a&&(t.removeEventListener("message",n),u(t))})}),t.start&&t.start()}function u(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function h(e,t){return p(e,[],t)}function d(e){if(e)throw new Error("Proxy has been released and is not useable")}function p(e,t=[],n=function(){}){let i=!1;const s=new Proxy(n,{get(n,r){if(d(i),r===o)return()=>v(e,{type:5,path:t.map(e=>e.toString())}).then(()=>{u(e),i=!0});if("then"===r){if(0===t.length)return{then:()=>s};const n=v(e,{type:0,path:t.map(e=>e.toString())}).then(b);return n.then.bind(n)}return p(e,[...t,r])},set(n,r,o){d(i);const[s,a]=m(o);return v(e,{type:1,path:[...t,r].map(e=>e.toString()),value:s},a).then(b)},apply(n,o,s){d(i);const a=t[t.length-1];if(a===r)return v(e,{type:4}).then(b);if("bind"===a)return p(e,t.slice(0,-1));const[c,l]=f(s);return v(e,{type:2,path:t.map(e=>e.toString()),argumentList:c},l).then(b)},construct(n,r){d(i);const[o,s]=f(r);return v(e,{type:3,path:t.map(e=>e.toString()),argumentList:o},s).then(b)}});return s}function f(e){const t=e.map(m);return[t.map(e=>e[0]),(n=t.map(e=>e[1]),Array.prototype.concat.apply([],n))];var n}const g=new WeakMap;function m(e){for(const[t,n]of c)if(n.canHandle(e)){const[i,r]=n.serialize(e);return[{type:3,name:t,value:i},r]}return[{type:0,value:e},g.get(e)||[]]}function b(e){switch(e.type){case 3:return c.get(e.name).deserialize(e.value);case 0:return e.value}}function v(e,t,n){return new Promise(i=>{const r=new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");e.addEventListener("message",function t(n){n.data&&n.data.id&&n.data.id===r&&(e.removeEventListener("message",t),i(n.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:r},t),n)})}},PXbX:function(e,t,n){"use strict";var i=Array.prototype.flatMap;t.a=i?function(e,t){return i.call(e,t)}:function(e,t){for(var n=[],i=0;i=0}var a=n("z+Ro");function c(e=0,t,n){let o=-1;return s(t)?o=Number(t)<1?1:Number(t):Object(a.a)(t)&&(n=t),Object(a.a)(n)||(n=r.a),new i.a(t=>{const i=s(e)?e:+e-n.now();return n.schedule(l,i,{index:0,period:o,subscriber:t})})}function l(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}},Q41Y:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"f",function(){return r}),n.d(t,"e",function(){return o}),n.d(t,"c",function(){return s}),n.d(t,"a",function(){return a}),n.d(t,"d",function(){return c}),n.d(t,"h",function(){return l}),n.d(t,"l",function(){return u}),n.d(t,"k",function(){return h}),n.d(t,"i",function(){return d}),n.d(t,"g",function(){return p}),n.d(t,"j",function(){return f});const i="TOGGLE_HEADER_DIALOG",r="TOGGLE_VARIABLE_DIALOG",o="TOGGLE_SUBSCRIPTION_URL_DIALOG",s="TOGGLE_HISTORY_DIALOG",a="TOGGLE_ADD_TO_COLLECTION_DIALOG",c="TOGGLE_PRE_REQUEST_DIALOG";class l{constructor(e){this.windowId=e,this.type=i}}class u{constructor(e){this.windowId=e,this.type=r}}class h{constructor(e){this.windowId=e,this.type=o}}class d{constructor(e){this.windowId=e,this.type=s}}class p{constructor(e){this.windowId=e,this.type=a}}class f{constructor(e){this.windowId=e,this.type=c}}},Q5MM:function(e,t,n){"use strict";var i=n("NSes");e.exports=function(){var e=0,t=[],n=[];return{get:function(e){var r=i.call(t,e[0]);return-1===r?null:n[r]},set:function(i){return t.push(i[0]),n.push(++e),e},delete:function(e){var r=i.call(n,e);-1!==r&&(t.splice(r,1),n.splice(r,1))},clear:function(){t=[],n=[]}}}},Q8cG:function(e,t,n){"use strict";n.d(t,"a",function(){return K}),n.d(t,"b",function(){return X}),n.d(t,"c",function(){return oe}),n.d(t,"d",function(){return se}),n.d(t,"e",function(){return Z}),n.d(t,"f",function(){return ue}),n.d(t,"g",function(){return ne});var i=n("mrSG"),r=n("cH1L"),o=n("fXoL"),s=n("/KA4"),a=n("XNiG"),c=n("2Vo4"),l=n("VRyK"),u=n("itXk"),h=n("lJxs"),d=n("5+tZ"),p=n("pLZG"),f=n("CqXF"),g=n("3UWI"),m=n("/uUt"),b=n("1G5W"),v=n("JX91"),y=n("eIep"),w=n("tyNb"),_=n("rDax"),O=n("nLfN"),C=n("YF2q"),E=n("JgHy"),S=n("GR68"),T=n("ofXK"),x=n("pdGh"),k=n("FwiY");const I=["nz-submenu",""];function D(e,t){1&e&&o.kc(0,0,["*ngIf","!nzTitle"])}function z(e,t){if(1&e&&o.Rb(0,"div",6),2&e){const e=o.gc(),t=o.tc(7);o.mc("mode",e.mode)("nzOpen",e.nzOpen)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("menuClass",e.nzMenuClassName)("templateOutlet",t)}}function j(e,t){if(1&e){const e=o.Xb();o.Wb(0,"div",8),o.dc("subMenuMouseState",function(t){return o.wc(e),o.gc(2).setMouseEnterState(t)}),o.Vb()}if(2&e){const e=o.gc(2),t=o.tc(7);o.mc("theme",e.theme)("mode",e.mode)("nzOpen",e.nzOpen)("position",e.position)("nzDisabled",e.nzDisabled)("isMenuInsideDropDown",e.isMenuInsideDropDown)("templateOutlet",t)("menuClass",e.nzMenuClassName)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)}}function A(e,t){if(1&e){const e=o.Xb();o.Ec(0,j,1,10,"ng-template",7),o.dc("positionChange",function(t){return o.wc(e),o.gc().onPositionChange(t)})}if(2&e){const e=o.gc(),t=o.tc(1);o.mc("cdkConnectedOverlayPositions",e.overlayPositions)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayWidth",e.triggerWidth)("cdkConnectedOverlayOpen",e.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function R(e,t){1&e&&o.kc(0,1)}const N=[[["","title",""]],"*"],L=["[title]","*"],M=["nz-submenu-title",""];function F(e,t){if(1&e&&o.Rb(0,"i",4),2&e){const e=o.gc();o.mc("nzType",e.nzIcon)}}function P(e,t){if(1&e&&(o.Ub(0),o.Gc(1,"\n "),o.Wb(2,"span"),o.Gc(3),o.Vb(),o.Gc(4,"\n "),o.Tb()),2&e){const e=o.gc();o.Eb(3),o.Hc(e.nzTitle)}}function V(e,t){1&e&&o.Rb(0,"i",8)}function G(e,t){1&e&&o.Rb(0,"i",9)}function B(e,t){if(1&e&&(o.Wb(0,"span",5),o.Gc(1,"\n "),o.Ec(2,V,1,0,"i",6),o.Gc(3,"\n "),o.Ec(4,G,1,0,"i",7),o.Gc(5,"\n "),o.Vb()),2&e){const e=o.gc();o.mc("ngSwitch",e.dir),o.Eb(2),o.mc("ngSwitchCase","rtl")}}function W(e,t){1&e&&(o.Gc(0,"\n "),o.Rb(1,"i",10),o.Gc(2,"\n "))}const $=["*"],U=["nz-submenu-inline-child",""];function H(e,t){}const q=["nz-submenu-none-inline-child",""];function Q(e,t){}let K=(()=>{class e{constructor(){this.descendantMenuItemClick$=new a.a,this.childMenuItemClick$=new a.a,this.theme$=new c.a("light"),this.mode$=new c.a("vertical"),this.inlineIndent$=new c.a(24),this.isChildSubMenuOpen$=new c.a(!1)}onDescendantMenuItemClick(e){this.descendantMenuItemClick$.next(e)}onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setMode(e){this.mode$.next(e)}setTheme(e){this.theme$.next(e)}setInlineIndent(e){this.inlineIndent$.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Mb({token:e,factory:e.\u0275fac}),e})();const X=new o.s("NzIsInDropDownMenuToken"),Y=new o.s("NzMenuServiceLocalToken");let J=(()=>{class e{constructor(e,t,n){this.nzHostSubmenuService=e,this.nzMenuService=t,this.isMenuInsideDropDown=n,this.mode$=this.nzMenuService.mode$.pipe(Object(h.a)(e=>"inline"===e?"inline":"vertical"===e||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new c.a(!1),this.isChildSubMenuOpen$=new c.a(!1),this.isMouseEnterTitleOrOverlay$=new a.a,this.childMenuItemClick$=new a.a,this.destroy$=new a.a,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const i=this.childMenuItemClick$.pipe(Object(d.a)(()=>this.mode$),Object(p.a)(e=>"inline"!==e||this.isMenuInsideDropDown),Object(f.a)(!1)),r=Object(l.a)(this.isMouseEnterTitleOrOverlay$,i);Object(u.a)([this.isChildSubMenuOpen$,r]).pipe(Object(h.a)(([e,t])=>e||t),Object(g.a)(150),Object(m.a)(),Object(b.a)(this.destroy$)).pipe(Object(m.a)()).subscribe(e=>{this.setOpenStateWithoutDebounce(e),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(e):this.nzMenuService.isChildSubMenuOpen$.next(e)})}onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setOpenStateWithoutDebounce(e){this.isCurrentSubMenuOpen$.next(e)}setMouseEnterTitleOrOverlayState(e){this.isMouseEnterTitleOrOverlay$.next(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.ac(e,12),o.ac(K),o.ac(X))},e.\u0275prov=o.Mb({token:e,factory:e.\u0275fac}),e})(),Z=(()=>{class e{constructor(e,t,n,i,r,o,s,c){this.nzMenuService=e,this.cdr=t,this.nzSubmenuService=n,this.isMenuInsideDropDown=i,this.directionality=r,this.routerLink=o,this.routerLinkWithHref=s,this.router=c,this.destroy$=new a.a,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new a.a,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,c&&this.router.events.pipe(Object(b.a)(this.destroy$),Object(p.a)(e=>e instanceof w.a)).subscribe(()=>{this.updateRouterActive()})}clickMenuItem(e){this.nzDisabled?(e.preventDefault(),e.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(e){this.nzSelected=e,this.selected$.next(e)}updateRouterActive(){this.listOfRouterLink&&this.listOfRouterLinkWithHref&&this.router&&this.router.navigated&&this.nzMatchRouter&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.nzSelected!==e&&(this.nzSelected=e,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.routerLink&&e(this.routerLink)||this.routerLinkWithHref&&e(this.routerLinkWithHref)||this.listOfRouterLink.some(e)||this.listOfRouterLinkWithHref.some(e)}isLinkActive(e){return t=>e.isActive(t.urlTree,this.nzMatchRouterExact)}ngOnInit(){var e;Object(u.a)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(Object(b.a)(this.destroy$)).subscribe(([e,t])=>{this.inlinePaddingLeft="inline"===e?this.level*t:null}),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe(Object(b.a)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.listOfRouterLinkWithHref.changes.pipe(Object(b.a)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(e){e.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(K),o.Qb(o.h),o.Qb(J,8),o.Qb(X),o.Qb(r.b,8),o.Qb(w.c,8),o.Qb(w.d,8),o.Qb(w.b,8))},e.\u0275dir=o.Lb({type:e,selectors:[["","nz-menu-item",""]],contentQueries:function(e,t,n){if(1&e&&(o.Jb(n,w.c,1),o.Jb(n,w.d,1)),2&e){let e;o.sc(e=o.ec())&&(t.listOfRouterLink=e),o.sc(e=o.ec())&&(t.listOfRouterLinkWithHref=e)}},hostVars:20,hostBindings:function(e,t){1&e&&o.dc("click",function(e){return t.clickMenuItem(e)}),2&e&&(o.Bc("padding-left","rtl"===t.dir?null:t.nzPaddingLeft||t.inlinePaddingLeft,"px")("padding-right","rtl"===t.dir?t.nzPaddingLeft||t.inlinePaddingLeft:null,"px"),o.Ib("ant-dropdown-menu-item",t.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",t.isMenuInsideDropDown&&t.nzSelected)("ant-dropdown-menu-item-danger",t.isMenuInsideDropDown&&t.nzDanger)("ant-dropdown-menu-item-disabled",t.isMenuInsideDropDown&&t.nzDisabled)("ant-menu-item",!t.isMenuInsideDropDown)("ant-menu-item-selected",!t.isMenuInsideDropDown&&t.nzSelected)("ant-menu-item-danger",!t.isMenuInsideDropDown&&t.nzDanger)("ant-menu-item-disabled",!t.isMenuInsideDropDown&&t.nzDisabled))},inputs:{nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter",nzPaddingLeft:"nzPaddingLeft"},exportAs:["nzMenuItem"],features:[o.Cb]}),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzSelected",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDanger",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzMatchRouterExact",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzMatchRouter",void 0),e})();const ee=[E.d.rightTop,E.d.right,E.d.rightBottom,E.d.leftTop,E.d.left,E.d.leftBottom],te=[E.d.bottomLeft];let ne=(()=>{class e{constructor(e,t,n,i,r,s,c){this.nzMenuService=e,this.cdr=t,this.nzSubmenuService=n,this.platform=i,this.isMenuInsideDropDown=r,this.directionality=s,this.noAnimation=c,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzOpenChange=new o.n,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new a.a,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=ee,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(e){this.nzSubmenuService.setOpenStateWithoutDebounce(e)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(e){this.isActive=e,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(e)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(e){const t=Object(E.e)(e);"rightTop"===t||"rightBottom"===t||"right"===t?this.position="right":"leftTop"!==t&&"leftBottom"!==t&&"left"!==t||(this.position="left"),this.cdr.markForCheck()}ngOnInit(){var e;this.nzMenuService.theme$.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.theme=e,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.mode=e,"horizontal"===e?this.overlayPositions=te:"vertical"===e&&(this.overlayPositions=ee),this.cdr.markForCheck()}),Object(u.a)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(Object(b.a)(this.destroy$)).subscribe(([e,t])=>{this.inlinePaddingLeft="inline"===e?this.level*t:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.isActive=e,e!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=e,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const e=this.listOfNzMenuItemDirective,t=e.changes,n=Object(l.a)(t,...e.map(e=>e.selected$));t.pipe(Object(v.a)(e),Object(y.a)(()=>n),Object(v.a)(!0),Object(h.a)(()=>e.some(e=>e.nzSelected)),Object(b.a)(this.destroy$)).subscribe(e=>{this.isSelected=e,this.cdr.markForCheck()})}ngOnChanges(e){const{nzOpen:t}=e;t&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(K),o.Qb(o.h),o.Qb(J),o.Qb(O.a),o.Qb(X),o.Qb(r.b,8),o.Qb(C.a,9))},e.\u0275cmp=o.Kb({type:e,selectors:[["","nz-submenu",""]],contentQueries:function(t,n,i){if(1&t&&(o.Jb(i,e,1),o.Jb(i,Z,1)),2&t){let e;o.sc(e=o.ec())&&(n.listOfNzSubMenuComponent=e),o.sc(e=o.ec())&&(n.listOfNzMenuItemDirective=e)}},viewQuery:function(e,t){if(1&e&&o.Kc(_.b,3,o.l),2&e){let e;o.sc(e=o.ec())&&(t.cdkOverlayOrigin=e.first)}},hostVars:34,hostBindings:function(e,t){2&e&&o.Ib("ant-dropdown-menu-submenu",t.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",t.isMenuInsideDropDown&&t.nzDisabled)("ant-dropdown-menu-submenu-open",t.isMenuInsideDropDown&&t.nzOpen)("ant-dropdown-menu-submenu-selected",t.isMenuInsideDropDown&&t.isSelected)("ant-dropdown-menu-submenu-vertical",t.isMenuInsideDropDown&&"vertical"===t.mode)("ant-dropdown-menu-submenu-horizontal",t.isMenuInsideDropDown&&"horizontal"===t.mode)("ant-dropdown-menu-submenu-inline",t.isMenuInsideDropDown&&"inline"===t.mode)("ant-dropdown-menu-submenu-active",t.isMenuInsideDropDown&&t.isActive)("ant-menu-submenu",!t.isMenuInsideDropDown)("ant-menu-submenu-disabled",!t.isMenuInsideDropDown&&t.nzDisabled)("ant-menu-submenu-open",!t.isMenuInsideDropDown&&t.nzOpen)("ant-menu-submenu-selected",!t.isMenuInsideDropDown&&t.isSelected)("ant-menu-submenu-vertical",!t.isMenuInsideDropDown&&"vertical"===t.mode)("ant-menu-submenu-horizontal",!t.isMenuInsideDropDown&&"horizontal"===t.mode)("ant-menu-submenu-inline",!t.isMenuInsideDropDown&&"inline"===t.mode)("ant-menu-submenu-active",!t.isMenuInsideDropDown&&t.isActive)("ant-menu-submenu-rtl","rtl"===t.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[o.Db([J]),o.Cb],attrs:I,ngContentSelectors:L,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(e,t){if(1&e&&(o.lc(N),o.Wb(0,"div",0,1),o.dc("subMenuMouseState",function(e){return t.setMouseEnterState(e)})("toggleSubMenu",function(){return t.toggleSubMenu()}),o.Ec(2,D,1,0,"ng-content",2),o.Vb(),o.Ec(3,z,1,6,"div",3),o.Ec(4,A,1,5,"ng-template",null,4,o.Fc),o.Ec(6,R,1,0,"ng-template",null,5,o.Fc)),2&e){const e=o.tc(5);o.mc("nzIcon",t.nzIcon)("nzTitle",t.nzTitle)("mode",t.mode)("nzDisabled",t.nzDisabled)("isMenuInsideDropDown",t.isMenuInsideDropDown)("paddingLeft",t.nzPaddingLeft||t.inlinePaddingLeft),o.Eb(2),o.mc("ngIf",!t.nzTitle),o.Eb(1),o.mc("ngIf","inline"===t.mode)("ngIfElse",e)}},directives:function(){return[ae,_.b,T.o,ce,C.a,_.a,le]},encapsulation:2,changeDetection:0}),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzOpen",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),e})();function ie(e,t){return e||t}function re(e){return e||!1}let oe=(()=>{class e{constructor(e,t,n,i){this.nzMenuService=e,this.isMenuInsideDropDown=t,this.cdr=n,this.directionality=i,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new o.n,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new c.a(this.nzInlineCollapsed),this.mode$=new c.a(this.nzMode),this.destroy$=new a.a,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(e){this.nzInlineCollapsed=e,this.inlineCollapsed$.next(e)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(e=>e.nzOpen),this.listOfNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){var e;Object(u.a)([this.inlineCollapsed$,this.mode$]).pipe(Object(b.a)(this.destroy$)).subscribe(([e,t])=>{this.actualMode=e?"vertical":t,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.nzClick.emit(e),this.nzSelectable&&!e.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(t=>t.setSelectedState(t===e))}),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe(Object(b.a)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(e){const{nzInlineCollapsed:t,nzInlineIndent:n,nzTheme:i,nzMode:r}=e;t&&this.inlineCollapsed$.next(this.nzInlineCollapsed),n&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),i&&this.nzMenuService.setTheme(this.nzTheme),r&&(this.mode$.next(this.nzMode),!e.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(K),o.Qb(X),o.Qb(o.h),o.Qb(r.b,8))},e.\u0275dir=o.Lb({type:e,selectors:[["","nz-menu",""]],contentQueries:function(e,t,n){if(1&e&&(o.Jb(n,Z,1),o.Jb(n,ne,1)),2&e){let e;o.sc(e=o.ec())&&(t.listOfNzMenuItemDirective=e),o.sc(e=o.ec())&&(t.listOfNzSubMenuComponent=e)}},hostVars:34,hostBindings:function(e,t){2&e&&o.Ib("ant-dropdown-menu",t.isMenuInsideDropDown)("ant-dropdown-menu-root",t.isMenuInsideDropDown)("ant-dropdown-menu-light",t.isMenuInsideDropDown&&"light"===t.nzTheme)("ant-dropdown-menu-dark",t.isMenuInsideDropDown&&"dark"===t.nzTheme)("ant-dropdown-menu-vertical",t.isMenuInsideDropDown&&"vertical"===t.actualMode)("ant-dropdown-menu-horizontal",t.isMenuInsideDropDown&&"horizontal"===t.actualMode)("ant-dropdown-menu-inline",t.isMenuInsideDropDown&&"inline"===t.actualMode)("ant-dropdown-menu-inline-collapsed",t.isMenuInsideDropDown&&t.nzInlineCollapsed)("ant-menu",!t.isMenuInsideDropDown)("ant-menu-root",!t.isMenuInsideDropDown)("ant-menu-light",!t.isMenuInsideDropDown&&"light"===t.nzTheme)("ant-menu-dark",!t.isMenuInsideDropDown&&"dark"===t.nzTheme)("ant-menu-vertical",!t.isMenuInsideDropDown&&"vertical"===t.actualMode)("ant-menu-horizontal",!t.isMenuInsideDropDown&&"horizontal"===t.actualMode)("ant-menu-inline",!t.isMenuInsideDropDown&&"inline"===t.actualMode)("ant-menu-inline-collapsed",!t.isMenuInsideDropDown&&t.nzInlineCollapsed)("ant-menu-rtl","rtl"===t.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[o.Db([{provide:Y,useClass:K},{provide:K,useFactory:ie,deps:[[new o.M,new o.C,K],Y]},{provide:X,useFactory:re,deps:[[new o.M,new o.C,X]]}]),o.Cb]}),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzInlineCollapsed",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzSelectable",void 0),e})(),se=(()=>{class e{constructor(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(e.nativeElement,"ant-dropdown-menu-item-divider")}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.G))},e.\u0275dir=o.Lb({type:e,selectors:[["","nz-menu-divider",""]],exportAs:["nzMenuDivider"]}),e})(),ae=(()=>{class e{constructor(e,t){this.cdr=e,this.directionality=t,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new o.n,this.subMenuMouseState=new o.n,this.dir="ltr",this.destroy$=new a.a}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(e){this.nzDisabled||this.subMenuMouseState.next(e)}clickTitle(){"inline"!==this.mode||this.nzDisabled||this.toggleSubMenu.emit()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.h),o.Qb(r.b,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(e,t){1&e&&o.dc("click",function(){return t.clickTitle()})("mouseenter",function(){return t.setMouseState(!0)})("mouseleave",function(){return t.setMouseState(!1)}),2&e&&(o.Bc("padding-left","rtl"===t.dir?null:t.paddingLeft,"px")("padding-right","rtl"===t.dir?t.paddingLeft:null,"px"),o.Ib("ant-dropdown-menu-submenu-title",t.isMenuInsideDropDown)("ant-menu-submenu-title",!t.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:M,ngContentSelectors:$,decls:12,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(e,t){if(1&e&&(o.lc(),o.Gc(0,"\n "),o.Ec(1,F,1,1,"i",0),o.Gc(2,"\n "),o.Ec(3,P,5,1,"ng-container",1),o.Gc(4,"\n "),o.kc(5),o.Gc(6,"\n "),o.Ec(7,B,6,2,"span",2),o.Gc(8,"\n "),o.Ec(9,W,3,0,"ng-template",null,3,o.Fc),o.Gc(11,"\n ")),2&e){const e=o.tc(10);o.Eb(1),o.mc("ngIf",t.nzIcon),o.Eb(2),o.mc("nzStringTemplateOutlet",t.nzTitle),o.Eb(4),o.mc("ngIf",t.isMenuInsideDropDown)("ngIfElse",e)}},directives:[T.o,x.b,k.a,T.q,T.r,T.s],encapsulation:2,changeDetection:0}),e})(),ce=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.renderer=t,this.directionality=n,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new a.a,this.elementRef.nativeElement.classList.add("ant-menu","ant-menu-inline","ant-menu-sub")}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){var e;this.calcMotionState(),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:t,nzOpen:n,menuClass:i}=e;(t||n)&&this.calcMotionState(),i&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(e=>!!e).forEach(e=>{this.renderer.removeClass(this.elementRef.nativeElement,e)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(e=>!!e).forEach(e=>{this.renderer.addClass(this.elementRef.nativeElement,e)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.G),o.Qb(r.b,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["","nz-submenu-inline-child",""]],hostVars:3,hostBindings:function(e,t){2&e&&(o.Dc("@collapseMotion",t.expandState),o.Ib("ant-menu-rtl","rtl"===t.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[o.Cb],attrs:U,decls:3,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(o.Gc(0,"\n "),o.Ec(1,H,0,0,"ng-template",0),o.Gc(2,"\n ")),2&e&&(o.Eb(1),o.mc("ngTemplateOutlet",t.templateOutlet))},directives:[T.t],encapsulation:2,data:{animation:[S.a]},changeDetection:0}),e})(),le=(()=>{class e{constructor(e,t){this.elementRef=e,this.directionality=t,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new o.n,this.expandState="collapsed",this.dir="ltr",this.destroy$=new a.a,this.elementRef.nativeElement.classList.add("ant-menu-submenu","ant-menu-submenu-popup")}setMouseState(e){this.nzDisabled||this.subMenuMouseState.next(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){var e;this.calcMotionState(),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:t,nzOpen:n}=e;(t||n)&&this.calcMotionState()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(r.b,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["","nz-submenu-none-inline-child",""]],hostVars:14,hostBindings:function(e,t){1&e&&o.dc("mouseenter",function(){return t.setMouseState(!0)})("mouseleave",function(){return t.setMouseState(!1)}),2&e&&(o.Dc("@slideMotion",t.expandState)("@zoomBigMotion",t.expandState),o.Ib("ant-menu-light","light"===t.theme)("ant-menu-dark","dark"===t.theme)("ant-menu-submenu-placement-bottom","horizontal"===t.mode)("ant-menu-submenu-placement-right","vertical"===t.mode&&"right"===t.position)("ant-menu-submenu-placement-left","vertical"===t.mode&&"left"===t.position)("ant-menu-submenu-rtl","rtl"===t.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[o.Cb],attrs:q,decls:6,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(o.Gc(0,"\n "),o.Wb(1,"div",0),o.Gc(2,"\n "),o.Ec(3,Q,0,0,"ng-template",1),o.Gc(4,"\n "),o.Vb(),o.Gc(5,"\n ")),2&e&&(o.Eb(1),o.Ib("ant-dropdown-menu",t.isMenuInsideDropDown)("ant-menu",!t.isMenuInsideDropDown)("ant-dropdown-menu-vertical",t.isMenuInsideDropDown)("ant-menu-vertical",!t.isMenuInsideDropDown)("ant-dropdown-menu-sub",t.isMenuInsideDropDown)("ant-menu-sub",!t.isMenuInsideDropDown)("ant-menu-rtl","rtl"===t.dir),o.mc("ngClass",t.menuClass),o.Eb(2),o.mc("ngTemplateOutlet",t.templateOutlet))},directives:[T.l,T.t],encapsulation:2,data:{animation:[S.e,S.d]},changeDetection:0}),e})(),ue=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.a,T.c,O.b,_.h,k.b,C.b,x.a]]}),e})()},QaEO:function(e,t,n){"use strict";var i=n("nA++");e.exports=function(e){try{return e&&i(e.toString)?e.toString():String(e)}catch(t){throw new TypeError("Passed argument cannot be stringifed")}}},QlJJ:function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u});var i=n("xk4V"),r=n.n(i),o=n("nTiS"),s=n("P9dZ");const a=()=>{const{initialData:{environments:e}}=Object(o.b)();return{title:e.base&&e.base.title||"Environment",variablesJson:JSON.stringify(e.base&&e.base.variables||{})}},c=()=>{const{initialData:{environments:e}}=Object(o.b)();return(e.subEnvironments||[]).map((e,t)=>({id:e.id||r()(),title:e.title||`Environment ${t+1}`,variablesJson:JSON.stringify(e.variables||{})}))},l=()=>({base:a(),subEnvironments:c()});function u(e=l(),t){switch(t.type){case s.a:return{...e,subEnvironments:[...e.subEnvironments,{...a(),id:t.payload.id,title:`Environment ${e.subEnvironments.length+1}`}]};case s.c:return{...e,subEnvironments:e.subEnvironments.filter(e=>e.id!==t.payload.id)};case s.i:const n=e.base;return n.variablesJson=t.payload.value,{...e,base:n};case s.j:{const n=e.subEnvironments.map(e=>(e.id===t.payload.id&&(e.variablesJson=t.payload.value),e));return{...e,subEnvironments:n}}case s.k:{const n=e.subEnvironments.map(e=>(e.id===t.payload.id&&(e.title=t.payload.value),e));return{...e,subEnvironments:n}}case s.g:return{...e,activeSubEnvironment:t.payload.id};case s.e:{const n=t.payload.currentPosition,i=t.payload.newPosition;if(n>-1&&n-1&&ie()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){f(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class m{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,i=0;const r=this.players.length;0==r?f(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++n==r&&this._onDestroy()}),e.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const b="!"},R1ws:function(e,t,n){"use strict";n.d(t,"a",function(){return mt}),n.d(t,"b",function(){return vt});var i=n("fXoL"),r=n("jhN1"),o=n("R0Ic");function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(e){switch(e.length){case 0:return new o.d;case 1:return e[0];default:return new o.m(e)}}function c(e,t,n,i,r={},s={}){const a=[],c=[];let l=-1,u=null;if(i.forEach(e=>{const n=e.offset,i=n==l,h=i&&u||{};Object.keys(e).forEach(n=>{let i=n,c=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),c){case o.n:c=r[n];break;case o.a:c=s[n];break;default:c=t.normalizeStyleValue(n,i,c,a)}h[i]=c}),i||c.push(h),u=h,l=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return c}function l(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&u(n,"start",e)));break;case"done":e.onDone(()=>i(n&&u(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&u(n,"destroy",e)))}}function u(e,t,n){const i=n.totalTime,r=h(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function h(e,t,n,i,r="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function d(e,t,n){let i;return e instanceof Map?(i=e.get(t),i||e.set(t,i=n)):(i=e[t],i||(i=e[t]=n)),i}function p(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let f=(e,t)=>!1,g=(e,t)=>!1,m=(e,t,n)=>[];const b=s();(b||"undefined"!=typeof Element)&&(f=(e,t)=>e.contains(t),g=(()=>{if(b||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):g}})(),m=(e,t,n)=>{let i=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}let S=(()=>{class e{validateStyleProperty(e){return w(e)}matchesElement(e,t){return _(e,t)}containsElement(e,t){return O(e,t)}query(e,t,n){return C(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,i,r,s=[],a){return new o.d(n,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),T=(()=>{class e{}return e.NOOP=new S,e})();function x(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:k(parseFloat(t[1]),t[2])}function k(e,t){switch(t){case"s":return 1e3*e;default:return e}}function I(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let i,r=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=k(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(r=k(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else i=e;if(!n){let n=!1,o=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:r,easing:o}}(e,t,n)}function D(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function z(e,t,n={}){if(t)for(let i in e)n[i]=e[i];else D(e,n);return n}function j(e,t,n){return n?t+":"+n+";":""}function A(e){let t="";for(let n=0;n{const r=B(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),s()&&A(e))}function N(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=B(t);e.style[n]=""}),s()&&A(e))}function L(e){return Array.isArray(e)?1==e.length?e[0]:Object(o.g)(e):e}const M=new RegExp("{{\\s*(.+?)\\s*}}","g");function F(e){let t=[];if("string"==typeof e){let n;for(;n=M.exec(e);)t.push(n[1]);M.lastIndex=0}return t}function P(e,t,n){const i=e.toString(),r=i.replace(M,(e,i)=>{let r=t[i];return t.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?e:r}function V(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const G=/-+([a-z0-9])/g;function B(e){return e.replace(G,(...e)=>e[1].toUpperCase())}function W(e,t){return 0===e||0===t}function $(e,t,n){const i=Object.keys(n);if(i.length&&t.length){let o=t[0],s=[];if(i.forEach(e=>{o.hasOwnProperty(e)||s.push(e),o[e]=n[e]}),s.length)for(var r=1;rfunction(e,t,n){if(":"==e[0]){const i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}const i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const r=i[1],o=i[2],s=i[3];t.push(X(r,s)),"<"!=o[0]||"*"==r&&"*"==s||t.push(X(s,r))}(e,n,t)):n.push(e),n}const Q=new Set(["true","1"]),K=new Set(["false","0"]);function X(e,t){const n=Q.has(e)||K.has(e),i=Q.has(t)||K.has(t);return(r,o)=>{let s="*"==e||e==r,a="*"==t||t==o;return!s&&n&&"boolean"==typeof r&&(s=r?Q.has(e):K.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?Q.has(t):K.has(t)),s&&a}}const Y=new RegExp("s*:selfs*,?","g");function J(e,t,n){return new Z(e).build(t,n)}class Z{constructor(e){this._driver=e}build(e,t){const n=new ee(t);return this._resetContextStyleTimingState(n),U(this,L(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0;const r=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,i=n.name;i.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,r.push(this.visitState(n,t))}),n.name=i}else if(1==e.type){const r=this.visitTransition(e,t);n+=r.queryCount,i+=r.depCount,o.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:o,queryCount:n,depCount:i,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const r=new Set,o=i||{};if(n.styles.forEach(e=>{if(te(e)){const t=e;Object.keys(t).forEach(e=>{F(t[e]).forEach(e=>{o.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=V(r.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=U(this,L(e.animation),t);return{type:1,matchers:q(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ne(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>U(this,e,t)),options:ne(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const r=e.steps.map(e=>{t.currentTime=n;const r=U(this,e,t);return i=Math.max(i,t.currentTime),r});return t.currentTime=i,{type:3,steps:r,options:ne(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return ie(I(e,t).duration,0,"");const i=e;if(i.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=ie(0,0,"");return e.dynamic=!0,e.strValue=i,e}return n=n||I(i,t),ie(n.duration,n.delay,n.easing)}(e.timings,t.errors);let i;t.currentAnimateTimings=n;let r=e.styles?e.styles:Object(o.j)({});if(5==r.type)i=this.visitKeyframes(r,t);else{let r=e.styles,s=!1;if(!r){s=!0;const e={};n.easing&&(e.easing=n.easing),r=Object(o.j)(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,t);a.isEmptyStep=s,i=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==o.a?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let i=!1,r=null;return n.forEach(e=>{if(te(e)){const t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(let e in t)if(t[e].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let i=t.currentTime,r=t.currentTime;n&&r>0&&(r-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],s=o[n];let a=!0;s&&(r!=i&&r>=s.startTime&&i<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=s.startTime),a&&(o[n]={startTime:r,endTime:i}),t.options&&function(e,t,n){const i=t.params||{},r=F(e);r.length&&r.forEach(e=>{i.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let o=!1,s=!1,a=0;const c=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let c=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(te(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(te(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),l=0;return null!=c&&(i++,l=n.offset=c),s=s||l<0||l>1,o=o||l0&&i{const o=u>0?i==h?1:u*i:r[i],s=o*f;t.currentTime=d+p.delay+s,p.duration=s,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:U(this,L(e.animation),t),options:ne(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ne(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ne(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[r,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(Y,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,d(t.collectedStyles,t.currentQuerySelector,{});const s=U(this,L(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:ne(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:I(e.timings,t.errors,!0);return{type:12,animation:U(this,L(e.animation),t),timings:n,options:null}}}class ee{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function te(e){return!Array.isArray(e)&&"object"==typeof e}function ne(e){var t;return e?(e=D(e)).params&&(e.params=(t=e.params)?D(t):null):e={},e}function ie(e,t,n){return{duration:e,delay:t,easing:n}}function re(e,t,n,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class oe{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const se=new RegExp(":enter","g"),ae=new RegExp(":leave","g");function ce(e,t,n,i,r,o={},s={},a,c,l=[]){return(new le).buildKeyframes(e,t,n,i,r,o,s,a,c,l)}class le{buildKeyframes(e,t,n,i,r,o,s,a,c,l=[]){c=c||new oe;const u=new he(e,t,c,i,r,l,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),U(this,n,u);const h=u.timelines.filter(e=>e.containsAnimation());if(h.length&&Object.keys(s).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,u.errors,a)}return h.length?h.map(e=>e.buildKeyframes()):[re(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime;const r=null!=n.duration?x(n.duration):null,o=null!=n.delay?x(n.delay):null;return 0!==r&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),U(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let i=t;const r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ue);const e=x(r.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>U(this,e,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let i=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?x(e.options.delay):0;e.steps.forEach(o=>{const s=t.createSubContext(e.options);r&&s.delayNextStep(r),U(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return I(t.params?P(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?x(i.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ue);let o=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;let a=null;s.forEach((n,i)=>{t.currentQueryIndex=i;const s=t.createSubContext(e.options,n);r&&s.delayNextStep(r),n===t.element&&(a=s.currentTimeline),U(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),s=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const c=t.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;U(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}const ue={};class he{constructor(e,t,n,i,r,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ue,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new de(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let i=this.options;null!=n.duration&&(i.duration=x(n.duration)),null!=n.delay&&(i.delay=x(n.delay));const r=n.params;if(r){let e=i.params;e||(e=this.options.params={}),Object.keys(r).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=P(r[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const i=t||this.element,r=new he(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=ue,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new pe(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,i,r,o){let s=[];if(i&&s.push(this.element),e.length>0){e=(e=e.replace(se,"."+this._enterClassName)).replace(ae,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return r||0!=s.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class de{constructor(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new de(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||o.a,this._currentKeyframe[e]=o.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,i){t&&(this._previousKeyframe.easing=t);const r=i&&i.params||{},s=function(e,t){const n={};let i;return e.forEach(e=>{"*"===e?(i=i||Object.keys(t),i.forEach(e=>{n[e]=o.a})):z(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(s).forEach(e=>{const t=P(s[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:o.a),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],i=e._styleSummary[t];(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,s)=>{const a=z(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==o.n?e.add(n):i==o.a&&t.add(n)}),n||(a.offset=s/this.duration),i.push(a)});const r=e.size?V(e.values()):[],s=t.size?V(t.values()):[];if(n){const e=i[0],t=D(e);e.offset=0,t.offset=1,i=[e,t]}return re(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}}class pe extends de{constructor(e,t,n,i,r,o,s=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],o=n+t,s=t/o,a=z(e[0],!1);a.offset=0,r.push(a);const c=z(e[0],!1);c.offset=fe(s),r.push(c);const l=e.length-1;for(let i=1;i<=l;i++){let s=z(e[i],!1);s.offset=fe((t+s.offset*n)/o),r.push(s)}n=o,t=0,i="",e=r}return re(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}}function fe(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class ge{}class me extends ge{normalizePropertyName(e,t){return B(e)}normalizeStyleValue(e,t,n,i){let r="";const o=n.toString().trim();if(be[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+r}}const be=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("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".split(",")))();function ve(e,t,n,i,r,o,s,a,c,l,u,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:h,errors:d}}const ye={};class we{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return function(e,t,n,i,r){return e.some(e=>e(t,n,i,r))}(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){const i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}build(e,t,n,i,r,o,s,a,c,l){const u=[],h=this.ast.options&&this.ast.options.params||ye,p=this.buildStyles(n,s&&s.params||ye,u),f=a&&a.params||ye,g=this.buildStyles(i,f,u),m=new Set,b=new Map,v=new Map,y="void"===i,w={params:Object.assign(Object.assign({},h),f)},_=l?[]:ce(e,t,this.ast.animation,r,o,p,g,w,c,u);let O=0;if(_.forEach(e=>{O=Math.max(e.duration+e.delay,O)}),u.length)return ve(t,this._triggerName,n,i,y,p,g,[],[],b,v,O,u);_.forEach(e=>{const n=e.element,i=d(b,n,{});e.preStyleProps.forEach(e=>i[e]=!0);const r=d(v,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&m.add(n)});const C=V(m.values());return ve(t,this._triggerName,n,i,y,p,g,_,C,b,v,O)}}class _e{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},i=D(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let o=r[e];o.length>1&&(o=P(o,i,t)),n[e]=o})}}),n}}class Oe{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new _e(e.style,e.options&&e.options.params||{})}),Ce(this.states,"true","1"),Ce(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new we(e,t,this.states))}),this.fallbackTransition=new we(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(r=>r.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Ce(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Ee=new oe;class Se{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],i=J(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=i}_buildPlayer(e,t,n){const i=e.element,r=c(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const i=[],r=this._animations[e];let s;const c=new Map;if(r?(s=ce(this._driver,t,r,"ng-enter","ng-leave",{},{},n,Ee,i),s.forEach(e=>{const t=d(c,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),s=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);c.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,o.a)})});const l=a(s.map(e=>{const t=c.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,i){const r=h(t,"","","");return l(this._getPlayer(e),n,r,i),()=>{}}command(e,t,n,i){if("register"==n)return void this.register(e,i[0]);if("create"==n)return void this.create(e,t,i[0]||{});const r=this._getPlayer(e);switch(n){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(i[0]));break;case"destroy":this.destroy(e)}}}const Te=[],xe={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ke={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Ie{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(i=n?e.value:e)?i:null,n){const t=D(e);delete t.value,this.options=t}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const De=new Ie("void");class ze{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Fe(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var r;const o=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);const a=d(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Fe(e,"ng-trigger"),Fe(e,"ng-trigger-"+t),a[t]=De),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(s);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,i=!0){const r=this._getTrigger(t),o=new Ae(this.id,t,e);let s=this._engine.statesByElement.get(e);s||(Fe(e,"ng-trigger"),Fe(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let a=s[t];const c=new Ie(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),s[t]=c,a||(a=De),"void"!==c.value&&a.value===c.value){if(!function(e,t){const n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let r=0;r{N(e,n),R(e,i)})}return}const l=d(this._engine.playersByElement,e,[]);l.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=r.matchTransition(a.value,c.value,e,c.params),h=!1;if(!u){if(!i)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:c,player:o,isFallbackTransition:h}),h||(Fe(e,"ng-animate-queued"),o.onStart(()=>{Pe(e,"ng-animate-queued")})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),l.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,".ng-trigger",!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,i){const r=this._engine.statesByElement.get(e);if(r){const o=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,"void",i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&a(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const i=new Set;t.forEach(t=>{const r=t.name;if(i.has(r))return;i.add(r);const o=this._triggers[r].fallbackTransition,s=n[r]||De,a=new Ie("void"),c=new Ae(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:o,fromState:s,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)i=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{const i=e.__ng_removed;i&&i!==xe||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Fe(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach(t=>{if(t.name==n.triggerName){const i=h(r,n.triggerName,n.fromState.value,n.toState.value);i._data=e,l(n.player,t.phase,i,t.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,i=t.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class je{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,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=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new ze(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(e,1)}if(e){const i=this._fetchNamespace(e);i&&i.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Fe(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Pe(e,"ng-animate-disabled"))}removeNode(e,t,n,i){if(Re(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,i,r){return Re(t)?this._fetchNamespace(e).listen(t,n,i,r):()=>{}}_buildInstruction(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return a(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=xe,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;ne()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?a(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new oe,i=[],r=new Map,s=[],c=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(e=>{h.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n{const n="ng-enter"+b++;m.set(t,n),e.forEach(e=>Fe(e,n))});const v=[],y=new Set,w=new Set;for(let o=0;oy.add(e)):w.add(e))}const _=new Map,O=Me(f,Array.from(y));O.forEach((e,t)=>{const n="ng-leave"+b++;_.set(t,n),e.forEach(e=>Fe(e,n))}),e.push(()=>{g.forEach((e,t)=>{const n=m.get(t);e.forEach(e=>Pe(e,n))}),O.forEach((e,t)=>{const n=_.get(t);e.forEach(e=>Pe(e,n))}),v.forEach(e=>{this.processLeaveNode(e)})});const C=[],E=[];for(let o=this._namespaceList.length-1;o>=0;o--)this._namespaceList[o].drainQueuedTransitions(t).forEach(e=>{const t=e.player,r=e.element;if(C.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const o=!p||!this.driver.containsElement(p,r),a=_.get(r),h=m.get(r),f=this._buildInstruction(e,n,h,a,o);if(f.errors&&f.errors.length)E.push(f);else{if(o)return t.onStart(()=>N(r,f.fromStyles)),t.onDestroy(()=>R(r,f.toStyles)),void i.push(t);if(e.isFallbackTransition)return t.onStart(()=>N(r,f.fromStyles)),t.onDestroy(()=>R(r,f.toStyles)),void i.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(r,f.timelines),s.push({instruction:f,player:t,element:r}),f.queriedElements.forEach(e=>d(c,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=l.get(t);e||l.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let i=u.get(t);i||u.set(t,i=new Set),n.forEach(e=>i.add(e))})}});if(E.length){const e=[];E.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),C.forEach(e=>e.destroy()),this.reportError(e)}const S=new Map,T=new Map;s.forEach(e=>{const t=e.element;n.has(t)&&(T.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,S))}),i.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{d(S,t,[]).push(e),e.destroy()})});const x=v.filter(e=>Be(e,l,u)),k=new Map;Le(k,this.driver,w,u,o.a).forEach(e=>{Be(e,l,u)&&x.push(e)});const I=new Map;g.forEach((e,t)=>{Le(I,this.driver,new Set(e),l,o.n)}),x.forEach(e=>{const t=k.get(e),n=I.get(e);k.set(e,Object.assign(Object.assign({},t),n))});const D=[],z=[],j={};s.forEach(e=>{const{element:t,player:o,instruction:s}=e;if(n.has(t)){if(h.has(t))return o.onDestroy(()=>R(t,s.toStyles)),o.disabled=!0,o.overrideTotalTime(s.totalTime),void i.push(o);let e=j;if(T.size>1){let n=t;const i=[];for(;n=n.parentNode;){const t=T.get(n);if(t){e=t;break}i.push(n)}i.forEach(t=>T.set(t,e))}const n=this._buildAnimation(o.namespaceId,s,S,r,I,k);if(o.setRealPlayer(n),e===j)D.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=a(t)),i.push(o)}}else N(t,s.fromStyles),o.onDestroy(()=>R(t,s.toStyles)),z.push(o),h.has(t)&&i.push(o)}),z.forEach(e=>{const t=r.get(e.element);if(t&&t.length){const n=a(t);e.setRealPlayer(n)}}),i.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let o=0;o!e.destroyed);i.length?Ve(this,e,i):this.processLeaveNode(e)}return v.length=0,D.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),D}elementContainsData(e,t){let n=!1;const i=t.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,r){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||"void"==r;t.forEach(t=>{t.queued||(e||t.triggerName==i)&&o.push(t)})}}return(n||i)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||i&&i!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const i=t.element,r=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,a=e!==i,c=d(n,e,[]);this._getPreviousPlayers(e,a,r,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})}N(i,t.fromStyles)}_buildAnimation(e,t,n,i,r,s){const l=t.triggerName,u=t.element,h=[],p=new Set,f=new Set,g=t.timelines.map(t=>{const a=t.element;p.add(a);const d=a.__ng_removed;if(d&&d.removedBeforeQueried)return new o.d(t.duration,t.delay);const g=a!==u,m=function(e){const t=[];return Ge(e,t),t}((n.get(a)||Te).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===a),b=r.get(a),v=s.get(a),y=c(0,this._normalizer,0,t.keyframes,b,v),w=this._buildPlayer(t,y,m);if(t.subTimeline&&i&&f.add(a),g){const t=new Ae(e,l,a);t.setRealPlayer(w),h.push(t)}return w});h.forEach(e=>{d(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let i;if(e instanceof Map){if(i=e.get(t),i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&e.delete(t)}}else if(i=e[t],i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&delete e[t]}return i}(this.playersByQueriedElement,e.element,e))}),p.forEach(e=>Fe(e,"ng-animating"));const m=a(g);return m.onDestroy(()=>{p.forEach(e=>Pe(e,"ng-animating")),R(u,t.toStyles)}),f.forEach(e=>{d(i,e,[]).push(m)}),m}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new o.d(e.duration,e.delay)}}class Ae{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new o.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>l(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){d(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Re(e){return e&&1===e.nodeType}function Ne(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Le(e,t,n,i,r){const o=[];n.forEach(e=>o.push(Ne(e)));const s=[];i.forEach((n,i)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=ke,s.push(i))}),e.set(i,o)});let a=0;return n.forEach(e=>Ne(e,o[a++])),s}function Me(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const i=new Set(t),r=new Map;function o(e){if(!e)return 1;let t=r.get(e);if(t)return t;const s=e.parentNode;return t=n.has(s)?s:i.has(s)?1:o(s),r.set(e,t),t}return t.forEach(e=>{const t=o(e);1!==t&&n.get(t).push(e)}),n}function Fe(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Pe(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Ve(e,t,n){a(n).onDone(()=>e.processLeaveNode(t))}function Ge(e,t){for(let n=0;nr.add(e)):t.set(e,i),n.delete(e),!0}class We{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new je(e,t,n),this._timelineEngine=new Se(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,i,r){const o=e+"-"+i;let s=this._triggerCache[o];if(!s){const e=[],t=J(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Oe(e,t)}(i,t),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,i,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if("@"==n.charAt(0)){const[e,r]=p(n);this._timelineEngine.command(e,t,r,i)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,r){if("@"==n.charAt(0)){const[e,i]=p(n);return this._timelineEngine.listen(e,t,i,r)}return this._transitionEngine.listen(e,t,n,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function $e(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=He(t[0]),t.length>1&&(i=He(t[t.length-1]))):t&&(n=He(t)),n||i?new Ue(e,n,i):null}let Ue=(()=>{class e{constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&R(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(R(this._element,this._initialStyles),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),R(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function He(e){let t=null;const n=Object.keys(e);for(let i=0;ithis._handleCallback(e)}apply(){!function(e,t){const n=et(e,"").trim();n.length&&(function(e,t){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Je(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=et(e,"").split(","),i=Ye(n,t);i>=0&&(n.splice(i,1),Ze(e,"",n.join(",")))}(this._element,this._name))}}function Ke(e,t,n){Ze(e,"PlayState",n,Xe(e,t))}function Xe(e,t){const n=et(e,"");return n.indexOf(",")>0?Ye(n.split(","),t):Ye([n],t)}function Ye(e,t){for(let n=0;n=0)return n;return-1}function Je(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Ze(e,t,n,i){const r="animation"+t;if(null!=i){const t=e.style[r];if(t.length){const e=t.split(",");e[i]=n,n=e.join(",")}}e.style[r]=n}function et(e,t){return e.style["animation"+t]||""}class tt{constructor(e,t,n,i,r,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+r,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Qe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:H(this.element,n))})}this.currentSnapshot=e}}class nt extends o.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=E(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class it{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return w(e)}matchesElement(e,t){return _(e,t)}containsElement(e,t){return O(e,t)}query(e,t,n){return C(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>E(e));let i=`@keyframes ${t} {\n`,r="";n.forEach(e=>{r=" ";const t=parseFloat(e.offset);i+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${t}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const o=document.createElement("style");return o.textContent=i,o}animate(e,t,n,i,r,o=[],s){const a=o.filter(e=>e instanceof tt),c={};W(n,i)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const l=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=$(e,t,c));if(0==n)return new nt(e,l);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);const d=$e(e,t),p=new tt(e,t,u,n,i,r,l,d);return p.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),p}}class rt{constructor(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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}_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(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:H(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class ot{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(st().toString()),this._cssKeyframesDriver=new it}validateStyleProperty(e){return w(e)}matchesElement(e,t){return _(e,t)}containsElement(e,t){return O(e,t)}query(e,t,n){return C(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,i,r,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const c={},l=o.filter(e=>e instanceof rt);W(n,i)&&l.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const u=$e(e,t=$(e,t=t.map(e=>z(e,!1)),c));return new rt(e,t,a,u)}}function st(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var at=n("ofXK");let ct=(()=>{class e extends o.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.T.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?Object(o.g)(e):e;return ht(this._renderer,null,t,"register",[n]),new lt(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(i.ac(i.H),i.ac(at.d))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();class lt extends o.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new ut(this._id,e,t||{},this._renderer)}}class ut{constructor(e,t,n,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return ht(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}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")}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function ht(e,t,n,i,r){return e.setProperty(t,`@@${n}:${i}`,r)}let dt=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new pt("",n,this.engine),this._rendererCache.set(n,e)),e}const i=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(i,r,e,t.name,t)};return t.data.animation.forEach(o),new ft(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&et(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}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()}}return e.\u0275fac=function(t){return new(t||e)(i.ac(i.H),i.ac(We),i.ac(i.B))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();class pt{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class ft extends pt{constructor(e,t,n,i){super(t,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if("@"==t.charAt(0)){const i=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),o="";return"@"!=r.charAt(0)&&([r,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let gt=(()=>{class e extends We{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(i.ac(at.d),i.ac(T),i.ac(ge))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const mt=new i.s("AnimationModuleType"),bt=[{provide:T,useFactory:function(){return"function"==typeof st()?new ot:new it}},{provide:mt,useValue:"BrowserAnimations"},{provide:o.b,useClass:ct},{provide:ge,useFactory:function(){return new me}},{provide:We,useClass:gt},{provide:i.H,useFactory:function(e,t,n){return new dt(e,t,n)},deps:[r.e,We,i.B]}];let vt=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:bt,imports:[r.a]}),e})()},R9jo:function(e,t,n){e.exports=n.p+"0-es2018.worker.js"},RKIb:function(e,t,n){"use strict";var i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=i},ReVU:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL"),r=n("ofXK");let o=(()=>{class e{constructor(e,t){this.document=e,this.platformId=t,this.documentIsAccessible=Object(r.A)(this.platformId)}check(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))}get(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);const t=this.getCookieRegExp(e).exec(this.document.cookie);return decodeURIComponent(t[1])}return""}getAll(){if(!this.documentIsAccessible)return{};const e={},t=this.document;if(t.cookie&&""!==t.cookie){const n=t.cookie.split(";");for(let t=0;t{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===e.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new i.a(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const e=this.triggerElement,t=this.getWaveColor(e);e.setAttribute(this.waveAttributeName,"true"),Date.now(){e.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(e){return!!e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&this.isNotGrey(e)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(e)&&"transparent"!==e}isNotGrey(e){const t=e.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}getWaveColor(e){const t=getComputedStyle(e);return t.getPropertyValue("border-top-color")||t.getPropertyValue("border-color")||t.getPropertyValue("background-color")}runTimeoutOutsideZone(e,t){this.ngZone.runOutsideAngular(()=>setTimeout(e,t))}}const a={disabled:!1},c=new r.s("nz-wave-global-options",{providedIn:"root",factory:function(){return a}});let l=(()=>{class e{constructor(e,t,n,i,r){this.ngZone=e,this.elementRef=t,this.config=n,this.animationType=i,this.platformId=r,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}isConfigDisabled(){let e=!1;return this.config&&"boolean"==typeof this.config.disabled&&(e=this.config.disabled),"NoopAnimations"===this.animationType&&(e=!0),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new s(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.B),r.Qb(r.l),r.Qb(c,8),r.Qb(o.a,8),r.Qb(r.D))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]}),e})(),u=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.b]]}),e})()},S1AF:function(e,t,n){"use strict";n.r(t),n.d(t,"ApiService",function(){return l}),n.d(t,"GqlService",function(){return u.a}),n.d(t,"DbService",function(){return p}),n.d(t,"WindowService",function(){return f.a}),n.d(t,"NotifyService",function(){return g.a}),n.d(t,"DonationService",function(){return y}),n.d(t,"ElectronAppService",function(){return A}),n.d(t,"KeybinderService",function(){return L}),n.d(t,"StorageService",function(){return I.a}),n.d(t,"QueryCollectionService",function(){return V}),n.d(t,"EnvironmentService",function(){return G.a}),n.d(t,"PluginRegistryService",function(){return te}),n.d(t,"PluginEventService",function(){return Q.a}),n.d(t,"PreRequestService",function(){return ne.a}),n.d(t,"ThemeRegistryService",function(){return Z}),n.d(t,"SubscriptionProviderRegistryService",function(){return ie.a}),n.d(t,"PluginContextService",function(){return ee}),n.d(t,"BackupService",function(){return D});var i=n("z6cu"),r=n("lJxs"),o=n("JIr8"),s=n("tk/3"),a=n("6EqW"),c=n("fXoL");let l=(()=>{class e{constructor(e){this.http=e,this.headers=new s.f({"Content-Type":"application/json",Accept:"application/json"}),this.api_url=""}get(e){return this.http.get(`${this.api_url}${e}`,{headers:this.headers}).pipe(Object(r.a)(this.checkForError),Object(o.a)(e=>Object(i.a)(e)))}post(e,t){return this.http.post(`${this.api_url}${e}`,JSON.stringify(t),{headers:this.headers}).pipe(Object(r.a)(this.checkForError),Object(o.a)(e=>Object(i.a)(e)))}delete(e){return this.http.delete(`${this.api_url}${e}`,{headers:this.headers}).pipe(Object(r.a)(this.checkForError),Object(o.a)(e=>Object(i.a)(e)))}setHeaders(e){Object.keys(e).forEach(t=>this.headers.set(t,e[t]))}setUrl(e){this.api_url=e}checkForError(e){if(e.status>=200&&e.status<300)return e;{const t=new Error(e.statusText);throw t.response=e,a.a.error(t),t}}}return e.\u0275fac=function(t){return new(t||e)(c.ac(s.c))},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac}),e})();var u=n("Yhw5"),h=n("HDdC"),d=n("LRne");let p=(()=>{class e{constructor(){this.storagePrefix="altair:",this.servicePrefix="db:"}getItemByExactKey(e){const t=localStorage.getItem(e);return h.a.create(e=>{if(t)try{const n=JSON.parse(t);e.next(n.value)}catch(n){e.next(t)}else e.next(null)})}getItem(e){return this.getItemByExactKey(this.getItemName(e))}setItem(e,t){const n={value:null};return e&&t&&(n.value=t),localStorage.setItem(this.getItemName(e),JSON.stringify(n)),new h.a(e=>e.next(null))}removeItemByExactKey(e){return localStorage.removeItem(e),new h.a(e=>e.next(null))}removeItem(e){return this.removeItemByExactKey(this.getItemName(e))}getAllKeys(){const e=Object.keys(localStorage).filter(e=>e.includes(this.storagePrefix));return Object(d.a)(e)}getItemName(e){return`${this.storagePrefix}${this.servicePrefix}${e}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac}),e})();var f=n("9tIO"),g=n("V5dU"),m=n("1uah"),b=n("nTiS");function v(e){return(e=>{let t,n,i=1,r=0;if(e)for(i=0,t=e.length-1;t>=0;t--)n=e.charCodeAt(t),i=(i<<6&268435455)+n+(n<<14),r=266338304&i,i=0!==r?i^r>>21:i;return String(i)})(`${navigator.userAgent}:${e}`)}let y=(()=>{class e{constructor(e,t){this.dbService=e,this.altairConfig=t,this.actionCountKey="dac",this.seedKey="ds",this.hashKey="dh",this.seedBuff=1e5}donated(){const e=Math.random()*this.seedBuff;this.dbService.setItem(this.seedKey,e),this.dbService.setItem(this.hashKey,v(e.toString())),this.dbService.setItem(this.actionCountKey,0)}trackAndCheckIfEligible(){const e=this.dbService.getItem(this.actionCountKey),t=this.dbService.getItem(this.seedKey),n=this.dbService.getItem(this.hashKey);return Object(m.a)(e,t,n).pipe(Object(r.a)(([e,t,n])=>e&&e>=this.altairConfig.donation.action_count_threshold?(this.dbService.setItem(this.actionCountKey,0),!t||v(t)!==n):(this.dbService.setItem(this.actionCountKey,e+1),!1)))}}return e.\u0275fac=function(t){return new(t||e)(c.ac(p),c.ac(b.a))},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac}),e})();var w=n("SxV6"),_=n("U7fl"),O=n("39k0"),C=n("oE/m"),E=n("Gjh+"),S=n("HaE+"),T=n("BTCl"),x=n("BGZm");class k{constructor(e){this.data=e}get length(){return Object.keys(this.data).length}clear(){return this.data={}}getItem(e){return this.data[e]}key(e){return Object.keys(this.data)[e]}removeItem(e){Reflect.deleteProperty(this.data,e)}setItem(e,t){this.data[e]=t}*[Symbol.iterator](){for(const[e,t]of Object.entries(this.data))yield[e,t]}}var I=n("E6Fa");let D=(()=>{class e{constructor(e){this.notifyService=e}importBackupData(){var e=this;return Object(S.a)(function*(){console.log("TEST: opening file..");const t=yield Object(x.h)({accept:".agbkp"});if(console.log("TEST: opened."),!t)return e.notifyService.error("Invalid file");const n=JSON.parse(t);if(1===n.version&&n.localstore){const e=new k(n.localstore);return yield Object(T.b)({updateFromLocalStorage:!0,forceUpdateFromProvidedData:!0,storage:e}),location.reload()}return 2===n.version&&n.indexedrecords?(yield Object(T.c)(n.indexedrecords),location.reload()):e.notifyService.error("Invalid file content.")})()}exportBackupData(){return Object(S.a)(function*(){const e=new I.a,t={version:2,indexedrecords:yield e.appState.toArray()};Object(x.b)(JSON.stringify(t),"altair_backup",{fileType:"agbkp"})})()}}return e.\u0275fac=function(t){return new(t||e)(c.ac(g.a))},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var z=n("31Lz"),j=n("l7P3");let A=(()=>{class e{constructor(e,t,n,i,r,o){this.electron=e,this.store=t,this.windowService=n,this.notifyService=i,this.backupService=r,this.zone=o,this.activeWindowId="",this.ipc=window.ipc,this.store.subscribe(e=>{this.windowIds=Object.keys(e.windows),this.activeWindowId=e.windowsMeta.activeWindowId})}connect(){this.electron.isElectronApp&&(this.ipc.on("file-opened",(e,t)=>{this.zone.run(()=>this.windowService.importStringData(t))}),this.ipc.on("certificate-error",(e,t)=>{this.zone.run(()=>this.notifyService.warning("\n Your request has an invalid certificate.\n You should check that your request is coming from a trusted source.\n "))}),this.ipc.on("import-app-data",()=>{this.zone.run(()=>this.backupService.importBackupData())}),this.ipc.on("export-app-data",()=>{this.zone.run(()=>this.backupService.exportBackupData())}),this.ipc.on("create-tab",()=>{this.zone.run(()=>this.windowService.newWindow().pipe(Object(w.a)()).subscribe())}),this.ipc.on("close-tab",()=>{this.zone.run(()=>{this.windowIds.length>1&&this.windowService.removeWindow(this.activeWindowId).subscribe()})}),this.ipc.on("next-tab",()=>{this.zone.run(()=>this.store.dispatch(new C.m))}),this.ipc.on("previous-tab",()=>{this.zone.run(()=>this.store.dispatch(new C.n))}),this.ipc.on("reopen-closed-tab",()=>{this.zone.run(()=>this.store.dispatch(new E.l))}),this.ipc.on("send-request",()=>{this.zone.run(()=>this.store.dispatch(new _.L(this.activeWindowId)))}),this.ipc.on("reload-docs",()=>{this.zone.run(()=>this.store.dispatch(new _.K(this.activeWindowId)))}),this.ipc.on("show-docs",()=>{this.zone.run(()=>this.store.dispatch(new O.h(this.activeWindowId)))}),this.ipc.on("show-settings",()=>{this.zone.run(()=>this.store.dispatch(new C.t({value:!0})))}),a.a.log("Electron app connected."),this.ipc.send("get-file-opened"))}setHeaders(e){this.electron.isElectronApp&&this.ipc.sendSync("set-headers-sync",e)}isElectronApp(){return this.electron.isElectronApp}}return e.\u0275fac=function(t){return new(t||e)(c.ac(z.a),c.ac(j.h),c.ac(f.a),c.ac(g.a),c.ac(D),c.ac(c.B))},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac}),e})();var R=n("imBb"),N=(n("XcA1"),n("Q41Y"));let L=(()=>{class e{constructor(e,t,n,i){this.store=e,this.windowService=t,this.electronService=n,this.zone=i,this.activeWindowId="",this.shortcuts=[],this.store.subscribe(e=>{this.windowIds=Object.keys(e.windows),this.activeWindowId=e.windowsMeta.activeWindowId})}connect(){this.bindShortcut(["Ctrl+Shift+V"],()=>this.store.dispatch(new N.l(this.activeWindowId)),"Toggle Variable Pane"),this.bindShortcut(["Ctrl+Shift+H"],()=>this.store.dispatch(new N.h(this.activeWindowId)),"Toggle Header Pane"),this.bindShortcut(["Ctrl+Shift+R"],()=>this.store.dispatch(new _.K(this.activeWindowId)),"Reload Docs"),this.bindShortcut(["Ctrl+Shift+D"],()=>this.store.dispatch(new O.h(this.activeWindowId)),"Toggle Docs"),this.bindShortcut(["Ctrl+Shift+P"],()=>this.store.dispatch(new _.n(this.activeWindowId)),"Prettify Query"),this.bindShortcut(["Command+Enter","Ctrl+Enter"],()=>this.store.dispatch(new _.L(this.activeWindowId)),"Send Request")}bindShortcut(e,t,n=""){return this.shortcuts.push({keys:e,description:n}),R.bindGlobal(e.map(e=>e.toLowerCase()),()=>this.zone.run(t))}getShortcuts(){const e=[{title:"General",shortcuts:this.shortcuts},{title:"Editor",shortcuts:[{keys:["Ctrl+D"],description:"Jump to docs"},{keys:["Ctrl+F","Alt+F"],description:"Search in context"},{keys:["Ctrl+/","Command+/"],description:"Toggle comment"},{keys:["Ctrl+Shift+Enter"],description:"Fill all fields"}]}];return this.electronService.isElectronApp()&&e.push({title:"Electron Shortcuts",shortcuts:[]}),e}}return e.\u0275fac=function(t){return new(t||e)(c.ac(j.h),c.ac(f.a),c.ac(A),c.ac(c.B))},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac}),e})();var M=n("Cfvw"),F=n("xk4V"),P=n.n(F);let V=(()=>{class e{constructor(e){this.storage=e}create(e){const t=this.storage.now();return e.queries=e.queries.map(e=>({...e,id:P()(),created_at:t,updated_at:t})),Object(M.a)(this.storage.queryCollections.add({...e,created_at:t,updated_at:t}))}addQuery(e,t){const n=this.storage.now();return Object(M.a)(this.storage.queryCollections.where("id").equals(e).modify(e=>{const i={...t,id:P()(),created_at:n,updated_at:n};e.queries.push(i),e.updated_at=n}))}updateQuery(e,t,n){const i=this.storage.now();return Object(M.a)(this.storage.queryCollections.where("id").equals(e).modify(e=>{const r={...n,id:t,updated_at:i};e.queries=e.queries.map(e=>(e.id===t&&(e=r),e)),e.updated_at=i}))}deleteQuery(e,t){return Object(M.a)(this.storage.queryCollections.where("id").equals(e).modify(e=>{e.queries=e.queries.filter(e=>{if(t.id){if(t.id===e.id)return!1}else if(t.windowName===e.windowName)return!1;return!0}),e.updated_at=this.storage.now()}))}deleteCollection(e){return Object(M.a)(this.storage.queryCollections.delete(e))}updateCollection(e,t){return Object(M.a)(this.storage.queryCollections.where("id").equals(e).modify((e,n)=>{a.a.log("We update."),n.value=t,n.value.updated_at=this.storage.now()}))}getExportCollectionData(e){return Object(M.a)(this.storage.queryCollections.get({id:e}).then(e=>({version:1,type:"collection",...e})))}importCollectionDataFromJson(e){if(!e)return Object(i.a)(new Error("String is empty."));try{return this.importCollectionData(JSON.parse(e))}catch(t){return a.a.log("The file is invalid.",t),Object(i.a)(t)}}importCollectionData(e){try{return e?e.version&&e.type&&"collection"===e.type?this.create({title:e.title,collections:e.collections,description:e.description,queries:e.queries}):Object(i.a)(new Error("File is not a valid Altair collection file.")):Object(i.a)(new Error("Object is empty."))}catch(t){return a.a.log("Something went wrong while importing the data.",t),Object(i.a)(t)}}handleImportedFile(e){return Object(x.d)(e).then(e=>{try{this.importCollectionDataFromJson(e)}catch(t){a.a.log("There was an issue importing the file.",t)}})}getAll(){return Object(M.a)(this.storage.queryCollections.toArray())}}return e.\u0275fac=function(t){return new(t||e)(c.ac(I.a))},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac}),e})();var G=n("XhxL"),B=n("kvTO"),W=n("9Oho"),$=n("e9W3"),U=n("GNEV"),H=n("/D3x"),q=n("w7D7"),Q=n("HEXU"),K=n("Gxun"),X={},Y={colors:{bg:K.b.colors.black,offBg:"#3f4349",font:K.b.colors.white,offFont:K.b.colors.lightGray,border:"#565c64",offBorder:"#565656",headerBg:"#3f4349"},shadow:{opacity:.3},editor:{colors:{comment:K.b.colors.darkGray,string:K.b.colors.orange,number:K.b.colors.orange,variable:K.b.colors.white,attribute:K.b.colors.green,keyword:K.b.colors.blue,atom:K.b.colors.white,property:K.b.colors.blue,definition:K.b.colors.orange,punctuation:K.b.colors.blue,cursor:K.b.colors.blue}}},J={colors:{bg:"#282a36",offBg:"#303240",font:"#f8f8f2",offFont:"#f8f8f2",border:"#40414d",offBorder:"#383942",headerBg:"#303240"},editor:{colors:{comment:"#6272a4",string:"#f1fa8c",number:"#bd93f9",variable:"#50fa7b",attribute:"#ff79c6",keyword:"#ff79c6",atom:"#bd93f9",property:"#bd93f9",punctuation:"#f8f8f2",cursor:"#f8f8f2"}}};let Z=(()=>{class e{constructor(){this.registry=new Map,this.addDefaults()}addDefaults(){this.registry.set("light",X),this.registry.set("dark",Y),this.registry.set("dracula",J)}getTheme(e){return this.registry.get(e)}addTheme(e,t){if(this.registry.has(e))throw new Error(`"${e}" theme already exists`);this.registry.set(e,t)}mergeThemes(...e){return Object(K.d)(...e)}getAllThemes(){return Array.from(this.registry.keys())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ee=(()=>{class e{constructor(e,t,n,i,r){this.store=e,this.windowService=t,this.pluginEventService=n,this.themeRegistryService=i,this.notifyService=r}createContext(e,t){const n=this,i=t=>a.a.log(`PLUGIN[${e}]: ${t}`),r=this.pluginEventService.group();return i("creating context.."),{app:{getWindowState:e=>Object(S.a)(function*(){return n.getWindowState(e)})(),getCurrentWindowState:()=>Object(S.a)(function*(){return n.getCurrentWindowState()})(),createPanel(e,{location:r=B.b.SIDEBAR,title:o=t.display_name}={}){i(`Creating panel<${o}>`);const s=new B.a(o,e,r);return n.store.dispatch(new W.e(s)),s},destroyPanel(e){i(`Destroying panel<${e.title}:[${e.id}]>`),e instanceof B.a&&(e.destroy(),n.store.dispatch(new W.m({panelId:e.id})))},createAction({title:e,location:t=B.d.RESULT_PANE,execute:r}){i(`Creating ui action<${e}>`);const o=new B.c(e,t,Object(S.a)(function*(){const e=yield n.getCurrentWindowState();r(e)}));return n.store.dispatch(new W.f(o)),o},destroyAction(e){i(`Destroying ui action<${e.title}:[${e.id}]>`),e instanceof B.c&&n.store.dispatch(new W.n({actionId:e.id}))},isElectron:()=>q.a,createWindow:e=>(i("creating window"),n.windowService.importWindowData(e)),setQuery(e,t){i("setting query"),n.store.dispatch(new _.N(t,e))},setVariables(e,t){i("setting variables"),n.store.dispatch(new U.l(t,e))},setEndpoint(e,t){i("setting endpoint"),n.store.dispatch(new _.Z({url:t},e)),n.store.dispatch(new _.K(e))},executeCommand(){}},events:{on:(e,t)=>r.on(e,t),off:()=>(i("unsubscribing from all events"),r.unsubscribe())},theme:{add:(e,t)=>n.themeRegistryService.addTheme(`plugin:${e}`,t),enable:t=>Object(S.a)(function*(){const i={...yield n.store.select("settings").pipe(Object(w.a)()).toPromise()};i.theme=`plugin:${t}`,n.store.dispatch(new H.b({value:JSON.stringify(i)})),n.notifyService.info(`Plugin "${e}" has enabled the "${t}" theme`)})()}}}getWindowState(e){var t=this;return Object(S.a)(function*(){const n=yield t.store.select($.E(e)).pipe(Object(w.a)()).toPromise();return{version:1,type:"window",windowId:e,query:n.query.query||"",apiUrl:n.query.url,variables:n.variables.variables,subscriptionUrl:n.query.subscriptionUrl,headers:n.headers,windowName:n.layout.title,preRequestScript:n.preRequest.script,preRequestScriptEnabled:n.preRequest.enabled,sdl:n.schema.sdl,queryResult:n.query.response}})()}getCurrentWindowState(){var e=this;return Object(S.a)(function*(){const t=yield e.store.select("windowsMeta").pipe(Object(w.a)()).toPromise();return e.getWindowState(t.activeWindowId)})()}}return e.\u0275fac=function(t){return new(t||e)(c.ac(j.h),c.ac(f.a),c.ac(Q.a),c.ac(Z),c.ac(g.a))},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),te=(()=>{class e{constructor(e,t,n){this.http=e,this.pluginContextService=t,this.store=n,this.fetchedPlugins=[]}add(e,t){var n=this;return Object(S.a)(function*(){const i=n.pluginContextService.createContext(e,t),r=n.getPluginClass(t),o={name:e,context:i,instance:r?new r:void 0,plugin:t};o.instance&&o.instance.initialize(i),n.store.dispatch(new W.d(o))})()}getRemotePluginList(){return this.http.get("https://altair-plugin-server.sirmuel.workers.dev/list?v=2")}fetchPlugin(e,t={}){e&&this.fetchedPlugins.push(this.fetchPluginAssets(e,t))}installedPlugins(){return this.store.select(e=>e.local.installedPlugins)}getPluginInfoFromString(e){const t=e.match(/(([A-Za-z_]*)\:)?(.[A-Za-z0-9\-]*)(@([^#\:\[\]]*))?(\:\:\[(.*)\]->\[(.*)\])?/);if(t&&t.length){const[,,e=B.e.NPM,n,,i="latest",,r,o]=t;if(n&&i){if(!n.startsWith("altair-graphql-plugin-"))throw new Error("Plugin name must start with altair-graphql-plugin-");return{name:n,version:i,pluginSource:e,...r&&o&&{[r]:o}}}}return null}pluginsReady(){return Promise.all(this.fetchedPlugins)}fetchPluginAssets(e,{pluginSource:t=B.e.NPM,version:n="latest",...i}={}){var r=this;return Object(S.a)(function*(){a.a.log("PLUGIN: ",e,t,n);let o="";switch(t){case B.e.NPM:o=r.getNPMPluginBaseURL(e,{version:n});break;case B.e.URL:o=r.getURLPluginBaseURL(e,{version:n,...i})}const s=r.resolveURL(o,"manifest.json");try{const t=yield r.http.get(s).toPromise();if(a.a.log("PLUGIN",t),t){t.styles&&t.styles.length&&(a.a.log("PLUGIN styles",t.styles),yield Promise.all(t.styles.map(e=>r.injectPluginStylesheet(r.resolveURL(o,e))))),t.scripts&&t.scripts.length&&(a.a.log("PLUGIN scripts",t.scripts),yield Promise.all(t.scripts.map(e=>r.injectPluginScript(r.resolveURL(o,e)))));const n=Object(B.f)(e,t);return yield r.add(e,n),a.a.log("PLUGIN","plugin scripts and styles injected and loaded."),n}}catch(c){a.a.error("Error fetching plugin assets",c)}})()}injectPluginScript(e){return new Promise((t,n)=>{const i=document.getElementsByTagName("head")[0],r=document.createElement("script");r.type="text/javascript",r.src=e,r.onload=()=>t(),r.onerror=e=>n(e),i.appendChild(r)})}injectPluginStylesheet(e){return new Promise((t,n)=>{const i=document.getElementsByTagName("head")[0],r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,r.onload=()=>t(),r.onerror=e=>n(e),i.appendChild(r)})}getNPMPluginBaseURL(e,{version:t="latest"}){return`https://cdn.jsdelivr.net/npm/${e}@${t}/`}getURLPluginBaseURL(e,t){return t.url}resolveURL(e,t){return e.replace(/\/$/,"")+"/"+t.replace(/^\//,"")}getPluginClass(e){if(e.plugin_class)return window.AltairGraphQL.plugins[e.plugin_class]}}return e.\u0275fac=function(t){return new(t||e)(c.ac(s.c),c.ac(ee),c.ac(j.h))},e.\u0275prov=c.Mb({token:e,factory:e.\u0275fac}),e})();var ne=n("nQNJ"),ie=n("1tsg")},SJVZ:function(e,t,n){!function(e){"use strict";function t(t,n,r,o){if(r&&r.call){var s=r;r=null}else s=i(t,r,"rangeFinder");"number"==typeof n&&(n=e.Pos(n,0));var a=i(t,r,"minFoldSize");function c(e){var i=s(t,n);if(!i||i.to.line-i.from.linet.firstLine();)n=e.Pos(n.line-1,0),l=c(!1);if(l&&!l.cleared&&"unfold"!==o){var u=function(e,t,n){var r=i(e,t,"widget");if("function"==typeof r&&(r=r(n.from,n.to)),"string"==typeof r){var o=document.createTextNode(r);(r=document.createElement("span")).appendChild(o),r.className="CodeMirror-foldmarker"}else r&&(r=r.cloneNode(!0));return r}(t,r,l);e.on(u,"mousedown",function(t){h.clear(),e.e_preventDefault(t)});var h=t.markText(l.from,l.to,{replacedWith:u,clearOnEnter:i(t,r,"clearOnEnter"),__isFold:!0});h.on("clear",function(n,i){e.signal(t,"unfold",t,n,i)}),e.signal(t,"fold",t,l.from,l.to)}}e.newFoldFunction=function(e,n){return function(i,r){t(i,r,{rangeFinder:e,widget:n})}},e.defineExtension("foldCode",function(e,n,i){t(this,e,n,i)}),e.defineExtension("isFolded",function(e){for(var t=this.findMarksAt(e),n=0;n'+(n?e:o(e,!0))+"\n":"
    "+(n?e:o(e,!0))+"
    "}blockquote(e){return"
    \n"+e+"
    \n"}html(e){return e}heading(e,t,n,i){return this.options.headerIds?"'+e+"\n":""+e+"\n"}hr(){return this.options.xhtml?"
    \n":"
    \n"}list(e,t,n){const i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"}listitem(e){return"
  • "+e+"
  • \n"}checkbox(e){return" "}paragraph(e){return"

    "+e+"

    \n"}table(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"}tablerow(e){return"\n"+e+"\n"}tablecell(e,t){const n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"}strong(e){return""+e+""}em(e){return""+e+""}codespan(e){return""+e+""}br(){return this.options.xhtml?"
    ":"
    "}del(e){return""+e+""}link(e,t,n){if(null===(e=r(this.options.sanitize,this.options.baseUrl,e)))return n;let i='",i}image(e,t,n){if(null===(e=r(this.options.sanitize,this.options.baseUrl,e)))return n;let i=''+n+'":">",i}text(e){return e}}},SeVD:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("ngJS"),r=n("NJ4a"),o=n("Lhse"),s=n("kJWO"),a=n("I55L"),c=n("c2HN"),l=n("XoHu");const u=e=>{if(e&&"function"==typeof e[s.a])return u=e,e=>{const t=u[s.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(i.a)(e);if(Object(c.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e);if(e&&"function"==typeof e[o.a])return t=e,e=>{const n=t[o.a]();for(;;){let t;try{t=n.next()}catch(i){return e.error(i),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(l.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,u}},SpAZ:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",function(){return i})},SxV6:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("sVev"),r=n("pLZG"),o=n("IzEk"),s=n("xbPD"),a=n("XDbj"),c=n("SpAZ");function l(e,t){const n=arguments.length>=2;return l=>l.pipe(e?Object(r.a)((t,n)=>e(t,n,l)):c.a,Object(o.a)(1),n?Object(s.a)(t):Object(a.a)(()=>new i.a))}},T95z:function(e,t,n){"use strict";function i(e,t){for(var n=Object.create(null),i=e.length/2,o=0;o1&&u>1&&i[l-1]===r[u-2]&&i[l-2]===r[u-1]&&(n[l][u]=Math.min(n[l][u],n[l-2][u-2]+h))}return n[o][s]}n.d(t,"a",function(){return i})},T9Ld:function(e,t,n){const{defaults:i}=n("vbtb"),{block:r}=n("e56X"),{rtrim:o,splitCells:s,escape:a}=n("rUJ1");e.exports=class e{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||i,this.rules=r.normal,this.options.pedantic?this.rules=r.pedantic:this.options.gfm&&(this.rules=r.gfm)}static get rules(){return r}static lex(t,n){return new e(n).lex(t)}lex(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.token(e,!0)}token(e,t){let n,i,c,l,u,h,d,p,f,g,m,b,v,y,w,_;for(e=e.replace(/^ +$/gm,"");e;)if((c=this.rules.newline.exec(e))&&(e=e.substring(c[0].length),c[0].length>1&&this.tokens.push({type:"space"})),c=this.rules.code.exec(e)){const t=this.tokens[this.tokens.length-1];e=e.substring(c[0].length),t&&"paragraph"===t.type?t.text+="\n"+c[0].trimRight():(c=c[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?c:o(c,"\n")}))}else if(c=this.rules.fences.exec(e))e=e.substring(c[0].length),this.tokens.push({type:"code",lang:c[2]?c[2].trim():c[2],text:c[3]||""});else if(c=this.rules.heading.exec(e))e=e.substring(c[0].length),this.tokens.push({type:"heading",depth:c[1].length,text:c[2]});else if((c=this.rules.nptable.exec(e))&&(h={type:"table",header:s(c[1].replace(/^ *| *\| *$/g,"")),align:c[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:c[3]?c[3].replace(/\n$/,"").split("\n"):[]},h.header.length===h.align.length)){for(e=e.substring(c[0].length),m=0;m ?/gm,""),this.token(c,t),this.tokens.push({type:"blockquote_end"});else if(c=this.rules.list.exec(e)){for(e=e.substring(c[0].length),l=c[2],y=l.length>1,d={type:"list_start",ordered:y,start:y?+l:"",loose:!1},this.tokens.push(d),c=c[0].match(this.rules.item),p=[],n=!1,v=c.length,m=0;m1?1===u.length:u.length>1||this.options.smartLists&&u!==l)&&(e=c.slice(m+1).join("\n")+e,m=v-1)),i=n||/\n\n(?!\s*$)/.test(h),m!==v-1&&(n="\n"===h.charAt(h.length-1),i||(i=n)),i&&(d.loose=!0),w=/^\[[ xX]\] /.test(h),_=void 0,w&&(_=" "!==h[1],h=h.replace(/^\[[ xX]\] +/,"")),f={type:"list_item_start",task:w,checked:_,loose:i},p.push(f),this.tokens.push(f),this.token(h,!1),this.tokens.push({type:"list_item_end"});if(d.loose)for(v=p.length,m=0;m"}}},TirB:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n("1QEH"),r=n("rWdj"),o=n("t3R0"),s=n("WXJZ"),a=n("zpYP"),c=n("EMzn"),l=n("4suF"),u=n("19Hc"),h=n("LViu"),d=n("51nL"),p=n("axIb"),f=n("Mbdf");function g(e,t){Object(a.a)(e)&&Object(a.a)(e.__schema)||Object(o.a)(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '+Object(r.a)(e));for(var n=e.__schema,g=Object(s.a)(n.types,function(e){return e.name},function(e){return function(e){if(e&&e.name&&e.kind)switch(e.kind){case h.TypeKind.SCALAR:return new p.g({name:(n=e).name,description:n.description});case h.TypeKind.OBJECT:return function(e){if(!e.interfaces)throw new Error("Introspection result missing interfaces: "+Object(r.a)(e));return new p.f({name:e.name,description:e.description,interfaces:function(){return e.interfaces.map(T)},fields:function(){return x(e)}})}(e);case h.TypeKind.INTERFACE:return new p.c({name:(t=e).name,description:t.description,fields:function(){return x(t)}});case h.TypeKind.UNION:return function(e){if(!e.possibleTypes)throw new Error("Introspection result missing possibleTypes: "+Object(r.a)(e));return new p.h({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(S)}})}(e);case h.TypeKind.ENUM:return function(e){if(!e.enumValues)throw new Error("Introspection result missing enumValues: "+Object(r.a)(e));return new p.a({name:e.name,description:e.description,values:Object(s.a)(e.enumValues,function(e){return e.name},function(e){return{description:e.description,deprecationReason:e.deprecationReason}})})}(e);case h.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields)throw new Error("Introspection result missing inputFields: "+Object(r.a)(e));return new p.b({name:e.name,description:e.description,fields:function(){return k(e.inputFields)}})}(e)}var t,n;throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema:"+Object(r.a)(e))}(e)}),m=0,b=[].concat(u.g,h.introspectionTypes);m0)return{errors:p};try{t=Object(s.parse)(i)}catch(Ze){return{errors:[Ze]}}var f=Object(a.c)(n,t);return f.length>0?{errors:f}:T({schema:n,document:t,rootValue:r,contextValue:o,variableValues:l,operationName:u,fieldResolver:h,typeResolver:d})}var te=n("51nL"),ne=n("19Hc"),ie=n("neE4"),re=n("y4cC"),oe=n("zsKT"),se=n("CbW8"),ae=n("JvOi"),ce=n("dQau"),le=n("L2ys"),ue=n("F8X2"),he=n("Xizt");function de(e,t){return new Promise(function(n){return n(t(e))})}function pe(e){return{value:e,done:!1}}function fe(e,t,n,i,r,o,s,a){return me(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:i,variableValues:r,operationName:o,fieldResolver:s,subscribeFieldResolver:a})}function ge(e){if(e instanceof b.a)return{errors:[e]};throw e}function me(e){var t=e.schema,n=e.document,i=e.contextValue,r=e.variableValues,o=e.operationName,s=e.fieldResolver,a=be(t,n,e.rootValue,i,r,o,e.subscribeFieldResolver),c=function(e){return T(t,n,e,i,r,o,s)};return a.then(function(e){return Object(l.d)(e)?function(e,t,n){var i,r,o,s,a,c,u=Object(l.c)(e);function h(e){return e.done?e:de(e.value,t).then(pe,r)}if("function"==typeof u.return&&(i=u.return,r=function(e){var t=function(){return Promise.reject(e)};return i.call(u).then(t,t)}),n){var d=n;o=function(e){return de(e,d).then(pe,r)}}return c=function(){return this},(a=l.a)in(s={next:function(){return u.next().then(h,o)},return:function(){return i?i.call(u).then(h,o):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"==typeof u.throw?u.throw(e).then(h,o):Promise.reject(e).catch(r)}})?Object.defineProperty(s,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):s[a]=c,s}(e,c,ge):e})}function be(e,t,n,i,r,o,s){I(e,t,r);try{var a=D(e,t,n,i,r,o,s);if(Array.isArray(a))return Promise.resolve({errors:a});var c=E(e,a.operation),h=j(a,c,a.operation.selectionSet,Object.create(null),Object.create(null)),d=Object.keys(h)[0],p=h[d],f=p[0].name.value,g=Y(e,c,f);if(!g)throw new b.a('The subscription field "'.concat(f,'" is not defined.'),p);var y=g.subscribe||a.fieldResolver,w=Object(m.a)(void 0,d),_=L(a,g,p,c,w),O=M(a,g,p,y,n,_);return Promise.resolve(O).then(function(e){if(e instanceof Error)return{errors:[v(e,p,Object(m.b)(w))]};if(Object(l.d)(e))return e;throw new Error("Subscription field must return Async Iterable. Received: "+Object(u.a)(e))})}catch(C){return C instanceof b.a?Promise.resolve({errors:[C]}):Promise.reject(C)}}var ve=n("jOXf"),ye=n("FQ53"),we=n("ZfCc"),_e=n("sdW/"),Oe=n("2Rkc"),Ce=n("y8IY"),Ee=n("VlWk"),Se=n("E++1"),Te=n("10sW"),xe=n("g4S7"),ke=n("AeAO"),Ie=n("PmNC"),De=n("ZBm+"),ze=n("A67W"),je=n("r60r"),Ae=n("FduV"),Re=n("Vuqn"),Ne=n("2/d+"),Le=n("gggk"),Me=n("/C/i"),Fe=n("sA7U"),Pe=n("lORA"),Ve=n("dwPZ"),Ge=n("v96Q"),Be=n("U4FY"),We=n("AW/X"),$e=n("0xor"),Ue=n("cfc+"),He=n("AF4T"),qe=n("+zUi"),Qe=n("pLY/"),Ke=n("wpgB"),Xe=n("iyJ7"),Ye=n("herJ"),Je=n("OO9G"),Ze=n("oycr");function et(e){e||Object(d.a)(0,"Received null or undefined error.");var t=e.message||"An unknown error occurred.",n=e.locations,i=e.path,r=e.extensions;return r?{message:t,locations:n,path:i,extensions:r}:{message:t,locations:n,path:i}}var tt=n("PDj5"),nt=n("SYjR");function it(e,t){var n=T(e,Object(s.parse)(Object(tt.a)(t)));return!o(n)&&!n.errors&&n.data||Object(h.a)(0),n.data}var rt=n("TirB"),ot=n("Yen0"),st=n("PXbX"),at=n("1QEH"),ct=n("Wzjs"),lt=n("WXJZ");function ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function ht(e){for(var t=1;t0&&(s+=' at "value'.concat(Object(xt.a)(a),'"')),r.push(new b.a(s+": "+o.message,n,void 0,void 0,void 0,o.originalError))});return r.length>0?{errors:r,value:void 0}:{errors:void 0,value:o}}function It(e,t){var n=kt(e,t).errors;return n?n.map(function(e){return e.message}):[]}function Dt(e,t){var n=new te.a({}),i={kind:y.a.DOCUMENT,definitions:[]},r=new St.a(n,void 0,e),o=new ve.b(n,i,r),s=Object(We.a)(o);return Object(le.c)(t,Object(le.e)(r,s)),o.getErrors()}function zt(e){return{kind:"Document",definitions:Object(st.a)(e,function(e){return e.definitions})}}function jt(e){var t,n=[],i=Object.create(null),r=new Map,o=Object.create(null),s=0;Object(le.c)(e,{OperationDefinition:function(e){t=At(e),n.push(e),r.set(e,s++)},FragmentDefinition:function(e){i[t=e.name.value]=e,r.set(e,s++)},FragmentSpread:function(e){var n=e.name.value;(o[t]||(o[t]=Object.create(null)))[n]=!0}});for(var a=Object.create(null),c=0;c0&&(n="\n"+n);var r=n[n.length-1];return('"'===r&&'\\"""'!==n.slice(-4)||"\\"===r)&&(n+="\n"),'"""'+n+'"""'}var Ft=n("sJV+"),Pt=n("5PMP"),Vt=n("kBjl");function Gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wt=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",INTERFACE_REMOVED_FROM_OBJECT:"INTERFACE_REMOVED_FROM_OBJECT",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),$t=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",INTERFACE_ADDED_TO_OBJECT:"INTERFACE_ADDED_TO_OBJECT",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function Ut(e,t){return qt(e,t).filter(function(e){return e.type in Wt})}function Ht(e,t){return qt(e,t).filter(function(e){return e.type in $t})}function qt(e,t){return[].concat(function(e,t){for(var n=[],i=on(Object(at.a)(e.getTypeMap()),Object(at.a)(t.getTypeMap())),r=0,o=i.removed;re.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let o,s,a=0,c=!1,l=!1;return function(u){let h;a++,!o||c?(c=!1,o=new i.a(e,t,r),h=o.subscribe(this),s=u.subscribe({next(e){o.next(e)},error(e){c=!0,o.error(e)},complete(){l=!0,s=void 0,o.complete()}}),l&&(s=void 0)):h=o.subscribe(this),this.add(()=>{a--,h.unsubscribe(),h=void 0,s&&!l&&n&&0===a&&(s.unsubscribe(),s=void 0,o=void 0)})}}(r))}},V5dU:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("BGZm"),r=n("SxV6"),o=n("fXoL"),s=n("dPL8"),a=n("l7P3");let c=(()=>{class e{constructor(e,t){this.toast=e,this.store=t,this.extensionNotifications={},this.manageExtensionNotifications()}success(e,t="Altair",n={}){this.exec("success",e,t,n)}error(e,t="",n={}){this.exec("error",e,t,n)}warning(e,t="",n={}){this.store.select(e=>e.settings["alert.disableWarnings"]).pipe(Object(r.a)()).subscribe(i=>{if(!i)return this.exec("warning",e,t,n)})}info(e,t="",n={}){this.exec("show",e,t,n)}exec(e,t,n,i={}){var r;let o=t;return n&&(o=`
    ${n}
    ${o}`),(null===(r=i.data)||void 0===r?void 0:r.url)&&(o=`${o}
    Link`),this.toast[e](t,{id:t,autoClose:!i.disableTimeOut})}pushNotify(e,t="Altair",n={}){return i.f?this.extensionPushNotify(e,t,n):this.electronPushNotify(e,t,n)}electronPushNotify(e,t="Altair",n={}){this.store.select(e=>e.settings.disablePushNotification).pipe(Object(r.a)()).toPromise().then(i=>{if(i)return;const r=new Notification(t,{body:e});return n&&(r.onclick=n.onclick),r})}extensionPushNotify(e,t="Altair",n={}){this.store.select(e=>e.settings.disablePushNotification).pipe(Object(r.a)()).toPromise().then(i=>{i||window.chrome.notifications.create({type:"basic",iconUrl:"assets/img/logo.png",title:t,message:e},e=>{n&&(this.extensionNotifications[e]={},n.onclick&&(this.extensionNotifications[e].onclick=n.onclick))})})}manageExtensionNotifications(){i.f&&(window.chrome.notifications.onClicked.addListener(e=>{this.extensionNotifications[e]&&this.extensionNotifications[e].onclick&&this.extensionNotifications[e].onclick()}),window.chrome.notifications.onClosed.addListener(e=>{this.extensionNotifications[e]&&delete this.extensionNotifications[e]}))}}return e.\u0275fac=function(t){return new(t||e)(o.ac(s.b),o.ac(a.h))},e.\u0275prov=o.Mb({token:e,factory:e.\u0275fac}),e})()},VNB6:function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},VRyK:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("HDdC"),r=n("z+Ro"),o=n("bHdf"),s=n("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return Object(r.a)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof i.a?e[0]:Object(o.a)(t)(Object(s.a)(e,n))}},VUBy:function(e,t,n){"use strict";var i=n("lq5y"),r=n("QaEO");e.exports=function(e){return r(i(e))}},VWUu:function(e,t,n){"use strict";n.r(t),n.d(t,"Range",function(){return i}),n.d(t,"Position",function(){return r}),n.d(t,"offsetToPosition",function(){return o}),n.d(t,"locToRange",function(){return s});class i{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new r(e,t)}setEnd(e,t){this.end=new r(e,t)}}class r{constructor(e,t){this.lessThanOrEqualTo=e=>this.line{t[s]?function(e,t){const n=e.\u0275pipe;n.onDestroy=f(n.onDestroy,t)}(t,e):function(e,t){e.prototype.ngOnDestroy=f(e.prototype.ngOnDestroy,t)}(t,e),function(e){e.prototype[l]=!0}(t)}}function m(e,t){return n=>{const i=u(t);return"string"==typeof t?function(e,t,n){const i=e[t];if(!1===a(i))throw new Error(`${e.constructor.name} is using untilDestroyed but doesn't implement ${t}`);h(e,n),e[t]=function(){a(i)&&i.apply(this,arguments),d(this,n),e[t]=i}}(e,t,i):(function(e){if(!(l in e.constructor.prototype))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}(e),h(e,i)),n.pipe(Object(o.a)(e[i]))}}},VlWk:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("dWS+"),r=n("/jXB"),o=n("F8X2"),s=n("4suF");function a(e){for(var t=Object.create(null),n=e.getSchema(),a=n?n.getDirectives():s.i,c=0;c=15&&(h=!1,c=!0);var O=v&&(l||h&&(null==_||_<12.11)),C=n||s&&a>=9;function E(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var S,T=function(e,t){var n=e.className,i=E(t).exec(n);if(i){var r=n.slice(i.index+i[0].length);e.className=n.slice(0,i.index)+(r?i[1]+r:"")}};function x(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function k(e,t){return x(e).appendChild(t)}function I(e,t,n,i){var r=document.createElement(e);if(n&&(r.className=n),i&&(r.style.cssText=i),"string"==typeof t)r.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return s+(t-o);s+=a-o,s+=n-s%n,o=a+1}}g?N=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:s&&(N=function(e){try{e.select()}catch(t){}});var P=function(){this.id=null,this.f=null,this.time=0,this.handler=L(this.onTimeout,this)};function V(e,t){for(var n=0;n=t)return i+Math.min(s,t-r);if(r+=o-i,i=o+1,(r+=n-r%n)>=t)return i}}var H=[""];function q(e){for(;H.length<=e;)H.push(Q(H)+" ");return H[e]}function Q(e){return e[e.length-1]}function K(e,t){for(var n=[],i=0;i"\x80"&&(e.toUpperCase()!=e.toLowerCase()||J.test(e))}function ee(e,t){return t?!!(t.source.indexOf("\\w")>-1&&Z(e))||t.test(e):Z(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ie(e){return e.charCodeAt(0)>=768&&ne.test(e)}function re(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var r=(t+n)/2,o=i<0?Math.ceil(r):Math.floor(r);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+i}}var se=null;function ae(e,t,n){var i;se=null;for(var r=0;rt)return r;o.to==t&&(o.from!=o.to&&"before"==n?i=r:se=r),o.from==t&&(o.from!=o.to&&"before"!=n?i=r:se=r)}return null!=i?i:se}var ce=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,n=/[LRr]/,i=/[Lb1n]/,r=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(s,a){var c,l="ltr"==a?"L":"R";if(0==s.length||"ltr"==a&&!e.test(s))return!1;for(var u=s.length,h=[],d=0;d-1&&(i[t]=r.slice(0,o).concat(r.slice(o+1)))}}}function fe(e,t){var n=de(e,t);if(n.length)for(var i=Array.prototype.slice.call(arguments,2),r=0;r0}function ve(e){e.prototype.on=function(e,t){he(this,e,t)},e.prototype.off=function(e,t){pe(this,e,t)}}function ye(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function we(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function _e(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Oe(e){ye(e),we(e)}function Ce(e){return e.target||e.srcElement}function Ee(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),v&&e.ctrlKey&&1==t&&(t=3),t}var Se,Te,xe=function(){if(s&&a<9)return!1;var e=I("div");return"draggable"in e||"dragDrop"in e}();function ke(e){if(null==Se){var t=I("span","\u200b");k(e,I("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Se=t.offsetWidth<=1&&t.offsetHeight>2&&!(s&&a<8))}var n=Se?I("span","\u200b"):I("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Ie(e){if(null!=Te)return Te;var t=k(e,document.createTextNode("A\u062eA")),n=S(t,0,1).getBoundingClientRect(),i=S(t,1,2).getBoundingClientRect();return x(e),!(!n||n.left==n.right)&&(Te=i.right-n.right<3)}var De,ze=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],i=e.length;t<=i;){var r=e.indexOf("\n",t);-1==r&&(r=e.length);var o=e.slice(t,"\r"==e.charAt(r-1)?r-1:r),s=o.indexOf("\r");-1!=s?(n.push(o.slice(0,s)),t+=s+1):(n.push(o),t=r+1)}return n}:function(e){return e.split(/\r\n?|\n/)},je=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(De){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(De){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Ae="oncopy"in(De=I("div"))||(De.setAttribute("oncopy","return;"),"function"==typeof De.oncopy),Re=null,Ne={},Le={};function Me(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ne[e]=t}function Fe(e){if("string"==typeof e&&Le.hasOwnProperty(e))e=Le[e];else if(e&&"string"==typeof e.name&&Le.hasOwnProperty(e.name)){var t=Le[e.name];"string"==typeof t&&(t={name:t}),(e=Y(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Fe("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Fe("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Pe(e,t){t=Fe(t);var n=Ne[t.name];if(!n)return Pe(e,"text/plain");var i=n(e,t);if(Ve.hasOwnProperty(t.name)){var r=Ve[t.name];for(var o in r)r.hasOwnProperty(o)&&(i.hasOwnProperty(o)&&(i["_"+o]=i[o]),i[o]=r[o])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var s in t.modeProps)i[s]=t.modeProps[s];return i}var Ve={};function Ge(e,t){M(t,Ve.hasOwnProperty(e)?Ve[e]:Ve[e]={})}function Be(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var i in t){var r=t[i];r instanceof Array&&(r=r.concat([])),n[i]=r}return n}function We(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function $e(e,t,n){return!e.startState||e.startState(t,n)}var Ue=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function He(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var i=0;;++i){var r=n.children[i],o=r.chunkSize();if(t=e.first&&tn?et(n,He(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?et(e.line,t):n<0?et(e.line,0):e}(t,He(e,t.line).text.length)}function ct(e,t){for(var n=[],i=0;i=this.string.length},Ue.prototype.sol=function(){return this.pos==this.lineStart},Ue.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ue.prototype.next=function(){if(this.post},Ue.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ue.prototype.skipToEnd=function(){this.pos=this.string.length},Ue.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ue.prototype.backUp=function(e){this.pos-=e},Ue.prototype.column=function(){return this.lastColumnPos0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}var r=function(e){return n?e.toLowerCase():e};if(r(this.string.substr(this.pos,e.length))==r(e))return!1!==t&&(this.pos+=e.length),!0},Ue.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ue.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ue.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ue.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var lt=function(e,t){this.state=e,this.lookAhead=t},ut=function(e,t,n,i){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};function ht(e,t,n,i){var r=[e.state.modeGen],o={};wt(e,t.text,e.doc.mode,n,function(e,t){return r.push(e,t)},o,i);for(var s=n.state,a=function(i){n.baseTokens=r;var a=e.state.overlays[i],c=1,l=0;n.state=!0,wt(e,t.text,a.mode,n,function(e,t){for(var n=c;le&&r.splice(c,1,e,r[c+1],i),c+=2,l=Math.min(e,i)}if(t)if(a.opaque)r.splice(n,c-n,e,"overlay "+t),c=n+2;else for(;ne.options.maxHighlightLength&&Be(e.doc.mode,i.state),o=ht(e,t,i);r&&(i.state=r),t.stateAfter=i.save(!r),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function pt(e,t,n){var i=e.doc,r=e.display;if(!i.mode.startState)return new ut(i,!0,t);var o=function(e,t,n){for(var i,r,o=e.doc,s=n?-1:t-(e.doc.mode.innerMode?1e3:100),a=t;a>s;--a){if(a<=o.first)return o.first;var c=He(o,a-1),l=c.stateAfter;if(l&&(!n||a+(l instanceof lt?l.lookAhead:0)<=o.modeFrontier))return a;var u=F(c.text,null,e.options.tabSize);(null==r||i>u)&&(r=a-1,i=u)}return r}(e,t,n),s=o>i.first&&He(i,o-1).stateAfter,a=s?ut.fromSaved(i,s,o):new ut(i,$e(i.mode),o);return i.iter(o,t,function(n){ft(e,n.text,a);var i=a.line;n.stateAfter=i==t-1||i%5==0||i>=r.viewFrom&&it.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}ut.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ut.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ut.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ut.fromSaved=function(e,t,n){return t instanceof lt?new ut(e,Be(e.mode,t.state),n,t.lookAhead):new ut(e,Be(e.mode,t),n)},ut.prototype.save=function(e){var t=!1!==e?Be(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new lt(t,this.maxLookAhead):t};var bt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function vt(e,t,n,i){var r,o,s=e.doc,a=s.mode,c=He(s,(t=at(s,t)).line),l=pt(e,t.line,n),u=new Ue(c.text,e.options.tabSize,l);for(i&&(o=[]);(i||u.pose.options.maxHighlightLength?(a=!1,s&&ft(e,t,i,h.pos),h.pos=t.length,c=null):c=yt(mt(n,h,i.state,d),o),d){var p=d[0].name;p&&(c="m-"+(c?p+" "+c:p))}if(!a||u!=c){for(;l=t:o.to>t)?null:o.to))}return i}(n,r,s),c=function(e,t,n){var i;if(e)for(var r=0;r=t:o.to>t)||o.from==t&&"bookmark"==s.type&&(!n||o.marker.insertLeft))&&(i||(i=[])).push(new Ct(s,null==o.from||(s.inclusiveLeft?o.from<=t:o.from0&&a)for(var y=0;yt)&&(!n||jt(n,o.marker)<0)&&(n=o.marker)}return n}function Mt(e,t,n,i,r){var o=He(e,t),s=Ot&&o.markedSpans;if(s)for(var a=0;a=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(c.marker.inclusiveRight&&r.inclusiveLeft?tt(l.to,n)>=0:tt(l.to,n)>0)||u>=0&&(c.marker.inclusiveRight&&r.inclusiveLeft?tt(l.from,i)<=0:tt(l.from,i)<0)))return!0}}}function Ft(e){for(var t;t=Rt(e);)e=t.find(-1,!0).line;return e}function Pt(e,t){var n=He(e,t),i=Ft(n);return n==i?t:Xe(i)}function Vt(e,t){if(t>e.lastLine())return t;var n,i=He(e,t);if(!Gt(e,i))return t;for(;n=Nt(i);)i=n.find(1,!0).line;return Xe(i)+1}function Gt(e,t){var n=Ot&&t.markedSpans;if(n)for(var i=void 0,r=0;rt.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}var Ht=function(e,t,n){this.text=e,It(this,t),this.height=n?n(this):1};function qt(e){e.parent=null,kt(e)}Ht.prototype.lineNo=function(){return Xe(this)},ve(Ht);var Qt={},Kt={};function Xt(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Kt:Qt;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Yt(e,t){var n=D("span",null,null,c?"padding-right: .1px":null),i={pre:D("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var r=0;r<=(t.rest?t.rest.length:0);r++){var o=r?t.rest[r-1]:t.line,s=void 0;i.pos=0,i.addToken=Zt,Ie(e.display.measure)&&(s=le(o,e.doc.direction))&&(i.addToken=en(i.addToken,s)),i.map=[],nn(o,i,dt(e,o,t!=e.display.externalMeasured&&Xe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(i.bgClass=R(o.styleClasses.bgClass,i.bgClass||"")),o.styleClasses.textClass&&(i.textClass=R(o.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(ke(e.display.measure))),0==r?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(c){var a=i.content.lastChild;(/\bcm-tab\b/.test(a.className)||a.querySelector&&a.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return fe(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=R(i.pre.className,i.textClass||"")),i}function Jt(e){var t=I("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Zt(e,t,n,i,r,o,c){if(t){var l,u=e.splitSpaces?function(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,i="",r=0;rl&&h.from<=l);d++);if(h.to>=u)return e(n,i,r,o,s,a,c);e(n,i.slice(0,h.to-l),r,o,null,a,c),o=null,i=i.slice(h.to-l),l=h.to}}}function tn(e,t,n,i){var r=!i&&n.widgetNode;r&&e.map.push(e.pos,e.pos+t,r),!i&&e.cm.display.input.needsContentAttribute&&(r||(r=e.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",n.id)),r&&(e.cm.display.input.setUneditable(r),e.content.appendChild(r)),e.pos+=t,e.trailingSpace=!1}function nn(e,t,n){var i=e.markedSpans,r=e.text,o=0;if(i)for(var s,a,c,l,u,h,d,p=r.length,f=0,g=1,m="",b=0;;){if(b==f){c=l=u=a="",d=null,h=null,b=1/0;for(var v=[],y=void 0,w=0;wf||O.collapsed&&_.to==f&&_.from==f)){if(null!=_.to&&_.to!=f&&b>_.to&&(b=_.to,l=""),O.className&&(c+=" "+O.className),O.css&&(a=(a?a+";":"")+O.css),O.startStyle&&_.from==f&&(u+=" "+O.startStyle),O.endStyle&&_.to==b&&(y||(y=[])).push(O.endStyle,_.to),O.title&&((d||(d={})).title=O.title),O.attributes)for(var C in O.attributes)(d||(d={}))[C]=O.attributes[C];O.collapsed&&(!h||jt(h.marker,O)<0)&&(h=_)}else _.from>f&&b>_.from&&(b=_.from)}if(y)for(var E=0;E=p)break;for(var T=Math.min(p,b);;){if(m){var x=f+m.length;if(!h){var k=x>T?m.slice(0,T-f):m;t.addToken(t,k,s?s+c:c,u,f+k.length==b?l:"",a,d)}if(x>=T){m=m.slice(T-f),f=T;break}f=x,u=""}m=r.slice(o,o=n[g++]),s=Xt(n[g++],t.cm.options)}}else for(var I=1;In)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function Dn(e,t,n,i){return An(e,jn(e,t),n,i)}function zn(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&o.push((c.bottom+l.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,i){var r,o=Ln(t.map,n,i),c=o.node,l=o.start,u=o.end,h=o.collapse;if(3==c.nodeType){for(var d=0;d<4;d++){for(;l&&ie(t.line.text.charAt(o.coverStart+l));)--l;for(;o.coverStart+u1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*i,bottom:t.bottom*i}}(e.display.measure,r))}else{var p;l>0&&(h=i="right"),r=e.options.lineWrapping&&(p=c.getClientRects()).length>1?p["right"==i?p.length-1:0]:c.getBoundingClientRect()}if(s&&a<9&&!l&&(!r||!r.left&&!r.right)){var f=c.parentNode.getClientRects()[0];r=f?{left:f.left,right:f.left+ri(e.display),top:f.top,bottom:f.bottom}:Nn}for(var g=r.top-t.rect.top,m=r.bottom-t.rect.top,b=(g+m)/2,v=t.view.measure.heights,y=0;yt)&&(r=(o=c-a)-1,t>=c&&(s="right")),null!=r){if(i=e[l+2],a==c&&n==(i.insertLeft?"left":"right")&&(s=n),"left"==n&&0==r)for(;l&&e[l-2]==e[l-3]&&e[l-1].insertLeft;)i=e[2+(l-=3)],s="left";if("right"==n&&r==c-a)for(;l=0&&(n=e[r]).left==n.right;r--);return n}function Fn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=i.text.length?(c=i.text.length,l="before"):c<=0&&(c=0,l="after"),!a)return s("before"==l?c-1:c,"before"==l);function u(e,t,n){return s(n?e-1:e,1==a[t].level!=n)}var h=ae(a,c,l),d=se,p=u(c,h,"before"==l);return null!=d&&(p.other=u(c,d,"before"!=l)),p}function Qn(e,t){var n=0;t=at(e.doc,t),e.options.lineWrapping||(n=ri(e.display)*t.ch);var i=He(e.doc,t.line),r=Wt(i)+Cn(e.display);return{left:n,right:n,top:r,bottom:r+i.height}}function Kn(e,t,n,i,r){var o=et(e,t,n);return o.xRel=r,i&&(o.outside=i),o}function Xn(e,t,n){var i=e.doc;if((n+=e.display.viewOffset)<0)return Kn(i.first,0,null,-1,-1);var r=Ye(i,n),o=i.first+i.size-1;if(r>o)return Kn(i.first+i.size-1,He(i,o).text.length,null,1,1);t<0&&(t=0);for(var s=He(i,r);;){var a=ei(e,s,r,t,n),c=Lt(s,a.ch+(a.xRel>0||a.outside>0?1:0));if(!c)return a;var l=c.find(1);if(l.line==r)return l;s=He(i,r=l.line)}}function Yn(e,t,n,i){i-=Wn(t);var r=t.text.length,o=oe(function(t){return An(e,n,t-1).bottom<=i},r,0);return{begin:o,end:r=oe(function(t){return An(e,n,t).top>i},o,r)}}function Jn(e,t,n,i){return n||(n=jn(e,t)),Yn(e,t,n,$n(e,t,An(e,n,i),"line").top)}function Zn(e,t,n,i){return!(e.bottom<=n)&&(e.top>n||(i?e.left:e.right)>t)}function ei(e,t,n,i,r){r-=Wt(t);var o=jn(e,t),s=Wn(t),a=0,c=t.text.length,l=!0,u=le(t,e.doc.direction);if(u){var h=(e.options.lineWrapping?ni:ti)(e,t,n,o,u,i,r);a=(l=1!=h.level)?h.from:h.to-1,c=l?h.to:h.from-1}var d,p,f=null,g=null,m=oe(function(t){var n=An(e,o,t);return n.top+=s,n.bottom+=s,!!Zn(n,i,r,!1)&&(n.top<=r&&n.left<=i&&(f=t,g=n),!0)},a,c),b=!1;if(g){var v=i-g.left=w.bottom?1:0}return Kn(n,m=re(t.text,m,1),p,b,i-d)}function ti(e,t,n,i,r,o,s){var a=oe(function(a){var c=r[a],l=1!=c.level;return Zn(qn(e,et(n,l?c.to:c.from,l?"before":"after"),"line",t,i),o,s,!0)},0,r.length-1),c=r[a];if(a>0){var l=1!=c.level,u=qn(e,et(n,l?c.from:c.to,l?"after":"before"),"line",t,i);Zn(u,o,s,!0)&&u.top>s&&(c=r[a-1])}return c}function ni(e,t,n,i,r,o,s){var a=Yn(e,t,i,s),c=a.begin,l=a.end;/\s/.test(t.text.charAt(l-1))&&l--;for(var u=null,h=null,d=0;d=l||p.to<=c)){var f=An(e,i,1!=p.level?Math.min(l,p.to)-1:Math.max(c,p.from)).right,g=fg)&&(u=p,h=g)}}return u||(u=r[r.length-1]),u.froml&&(u={from:u.from,to:l,level:u.level}),u}function ii(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Rn){Rn=I("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Rn.appendChild(document.createTextNode("x")),Rn.appendChild(I("br"));Rn.appendChild(document.createTextNode("x"))}k(e.measure,Rn);var n=Rn.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),x(e.measure),n||1}function ri(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=I("span","xxxxxxxxxx"),n=I("pre",[t],"CodeMirror-line-like");k(e.measure,n);var i=t.getBoundingClientRect(),r=(i.right-i.left)/10;return r>2&&(e.cachedCharWidth=r),r||10}function oi(e){for(var t=e.display,n={},i={},r=t.gutters.clientLeft,o=t.gutters.firstChild,s=0;o;o=o.nextSibling,++s){var a=e.display.gutterSpecs[s].className;n[a]=o.offsetLeft+o.clientLeft+r,i[a]=o.clientWidth}return{fixedPos:si(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function si(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function ai(e){var t=ii(e.display),n=e.options.lineWrapping,i=n&&Math.max(5,e.display.scroller.clientWidth/ri(e.display)-3);return function(r){if(Gt(e.doc,r))return 0;var o=0;if(r.widgets)for(var s=0;s0&&(c=He(e.doc,l.line).text).length==l.ch){var u=F(c,c.length,e.options.tabSize)-c.length;l=et(l.line,Math.max(0,Math.round((o-Sn(e.display).left)/ri(e.display))-u))}return l}function ui(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,i=0;it)&&(r.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=r.viewTo)Ot&&Pt(e.doc,t)r.viewFrom?pi(e):(r.viewFrom+=i,r.viewTo+=i);else if(t<=r.viewFrom&&n>=r.viewTo)pi(e);else if(t<=r.viewFrom){var o=fi(e,n,n+i,1);o?(r.view=r.view.slice(o.index),r.viewFrom=o.lineN,r.viewTo+=i):pi(e)}else if(n>=r.viewTo){var s=fi(e,t,t,-1);s?(r.view=r.view.slice(0,s.index),r.viewTo=s.lineN):pi(e)}else{var a=fi(e,t,t,-1),c=fi(e,n,n+i,1);a&&c?(r.view=r.view.slice(0,a.index).concat(on(e,a.lineN,c.lineN)).concat(r.view.slice(c.index)),r.viewTo+=i):pi(e)}var l=r.externalMeasured;l&&(n=r.lineN&&t=i.viewTo)){var o=i.view[ui(e,t)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==V(s,n)&&s.push(n)}}}function pi(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function fi(e,t,n,i){var r,o=ui(e,t),s=e.display.view;if(!Ot||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var a=e.display.viewFrom,c=0;c0){if(o==s.length-1)return null;r=a+s[o].size-t,o++}else r=a-t;t+=r,n+=r}for(;Pt(e.doc,n)!=n;){if(o==(i<0?0:s.length-1))return null;n+=i*s[o-(i<0?1:0)].size,o+=i}return{index:o,lineN:n}}function gi(e){for(var t=e.display.view,n=0,i=0;i=e.display.viewTo||a.to().linet||t==n&&s.to==t)&&(i(Math.max(s.from,t),Math.min(s.to,n),1==s.level?"rtl":"ltr",o),r=!0)}r||i(t,n,"ltr")}(g,n||0,null==i?d:i,function(e,t,r,h){var m="ltr"==r,b=p(e,m?"left":"right"),v=p(t-1,m?"right":"left"),y=null==n&&0==e,w=null==i&&t==d,_=0==h,O=!g||h==g.length-1;if(v.top-b.top<=3){var C=(l?y:w)&&_?a:(m?b:v).left;u(C,b.top,((l?w:y)&&O?c:(m?v:b).right)-C,b.bottom)}else{var E,S,T,x;m?(E=l&&y&&_?a:b.left,S=l?c:f(e,r,"before"),T=l?a:f(t,r,"after"),x=l&&w&&O?c:v.right):(E=l?f(e,r,"before"):a,S=!l&&y&&_?c:b.right,T=!l&&w&&O?a:v.left,x=l?f(t,r,"after"):c),u(E,b.top,S-E,b.bottom),b.bottom0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Oi(e){e.state.focused||(e.display.input.focus(),Ei(e))}function Ci(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Si(e))},100)}function Ei(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(fe(e,"focus",e,t),e.state.focused=!0,A(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),c&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),_i(e))}function Si(e,t){e.state.delayingBlurEvent||(e.state.focused&&(fe(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Ti(e){for(var t=e.display,n=t.lineDiv.offsetTop,i=0;i.005||d<-.005)&&(Ke(r.line,c),xi(r.line),r.rest))for(var p=0;pe.display.sizerWidth){var f=Math.ceil(l/ri(e.display));f>e.display.maxLineLength&&(e.display.maxLineLength=f,e.display.maxLine=r.line,e.display.maxLineChanged=!0)}}}}function xi(e){if(e.widgets)for(var t=0;t=s&&(o=Ye(t,Wt(He(t,c))-e.wrapper.clientHeight),s=c)}return{from:o,to:Math.max(s,o+1)}}function Ii(e,t){var n=e.display,i=ii(e.display);t.top<0&&(t.top=0);var r=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=kn(e),s={};t.bottom-t.top>o&&(t.bottom=t.top+o);var a=e.doc.height+En(n),c=t.bottom>a-i;if(t.topr+o){var l=Math.min(t.top,(c?a:t.bottom)-o);l!=r&&(s.scrollTop=l)}var u=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,h=xn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),d=t.right-t.left>h;return d&&(t.right=t.left+h),t.left<10?s.scrollLeft=0:t.lefth+u-3&&(s.scrollLeft=t.right+(d?0:10)-h),s}function Di(e,t){null!=t&&(Ai(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function zi(e){Ai(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function ji(e,t,n){null==t&&null==n||Ai(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Ai(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Ri(e,Qn(e,t.from),Qn(e,t.to),t.margin))}function Ri(e,t,n,i){var r=Ii(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-i,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+i});ji(e,r.scrollLeft,r.scrollTop)}function Ni(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||cr(e,{top:t}),Li(e,t,!0),n&&cr(e),ir(e,100))}function Li(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Mi(e,t,n,i){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i||(e.doc.scrollLeft=t,hr(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Fi(e){var t=e.display,n=t.gutters.offsetWidth,i=Math.round(e.doc.height+En(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:i,scrollHeight:i+Tn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Pi=function(e,t,n){this.cm=n;var i=this.vert=I("div",[I("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),r=this.horiz=I("div",[I("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=r.tabIndex=-1,e(i),e(r),he(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),he(r,"scroll",function(){r.clientWidth&&t(r.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,s&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Pi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;return n?(this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0",this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+(e.viewHeight-(t?i:0)))+"px"):(this.vert.style.display="",this.vert.firstChild.style.height="0"),t?(this.horiz.style.display="block",this.horiz.style.right=n?i+"px":"0",this.horiz.style.left=e.barLeft+"px",this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+(e.viewWidth-e.barLeft-(n?i:0)))+"px"):(this.horiz.style.display="",this.horiz.firstChild.style.width="0"),!this.checkedZeroWidth&&e.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?i:0,bottom:t?i:0}},Pi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Pi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Pi.prototype.zeroWidthHack=function(){this.horiz.style.height=this.vert.style.width=v&&!p?"12px":"18px",this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new P,this.disableVert=new P},Pi.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,function i(){var r=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,i)})},Pi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Vi=function(){};function Gi(e,t){t||(t=Fi(e));var n=e.display.barWidth,i=e.display.barHeight;Bi(e,t);for(var r=0;r<4&&n!=e.display.barWidth||i!=e.display.barHeight;r++)n!=e.display.barWidth&&e.options.lineWrapping&&Ti(e),Bi(e,Fi(e)),n=e.display.barWidth,i=e.display.barHeight}function Bi(e,t){var n=e.display,i=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=i.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=i.bottom)+"px",n.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=i.bottom+"px",n.scrollbarFiller.style.width=i.right+"px"):n.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=i.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Vi.prototype.update=function(){return{bottom:0,right:0}},Vi.prototype.setScrollLeft=function(){},Vi.prototype.setScrollTop=function(){},Vi.prototype.clear=function(){};var Wi={native:Pi,null:Vi};function $i(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Wi[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),he(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?Mi(e,t):Ni(e,t)},e),e.display.scrollbars.addClass&&A(e.display.wrapper,e.display.scrollbars.addClass)}var Ui=0;function Hi(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Ui},t=e.curOp,sn?sn.ops.push(t):t.ownsGroup=sn={ops:[t],delayedCallbacks:[]}}function qi(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new or(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Ki(e){e.updatedDisplay=e.mustUpdate&&sr(e.cm,e.update)}function Xi(e){var t=e.cm,n=t.display;e.updatedDisplay&&Ti(t),e.barMeasure=Fi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Dn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Tn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-xn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Yi(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(r=!1),null!=r&&!f){var o=I("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Cn(e.display))+"px;\n height: "+(t.bottom-t.top+Tn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(r),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,i){var r;null==i&&(i=0),e.options.lineWrapping||t!=n||(n="before"==(t=t.ch?et(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?et(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var s=!1,a=qn(e,t),c=n&&n!=t?qn(e,n):a,l=Ii(e,r={left:Math.min(a.left,c.left),top:Math.min(a.top,c.top)-i,right:Math.max(a.left,c.left),bottom:Math.max(a.bottom,c.bottom)+i}),u=e.doc.scrollTop,h=e.doc.scrollLeft;if(null!=l.scrollTop&&(Ni(e,l.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(s=!0)),null!=l.scrollLeft&&(Mi(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(s=!0)),!s)break}return r}(t,at(i,e.scrollToPos.from),at(i,e.scrollToPos.to),e.scrollToPos.margin));var r=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(r)for(var s=0;s=e.display.viewTo)){var n=+new Date+e.options.workTime,i=pt(e,t.highlightFrontier),r=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(i.line>=e.display.viewFrom){var s=o.styles,a=o.text.length>e.options.maxHighlightLength?Be(t.mode,i.state):null,c=ht(e,o,i,!0);a&&(i.state=a),o.styles=c.styles;var l=o.styleClasses,u=c.classes;u?o.styleClasses=u:l&&(o.styleClasses=null);for(var h=!s||s.length!=o.styles.length||l!=u&&(!l||!u||l.bgClass!=u.bgClass||l.textClass!=u.textClass),d=0;!h&&dn)return ir(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),r.length&&Zi(e,function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==gi(e))return!1;dr(e)&&(pi(e),t.dims=oi(e));var r=i.first+i.size,o=Math.max(t.visible.from-e.options.viewportMargin,i.first),s=Math.min(r,t.visible.to+e.options.viewportMargin);n.viewFroms&&n.viewTo-s<20&&(s=Math.min(r,n.viewTo)),Ot&&(o=Pt(e.doc,o),s=Vt(e.doc,s));var a=o!=n.viewFrom||s!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;(function(e,t,n){var i=e.display;0==i.view.length||t>=i.viewTo||n<=i.viewFrom?(i.view=on(e,t,n),i.viewFrom=t):(i.viewFrom>t?i.view=on(e,t,i.viewFrom).concat(i.view):i.viewFromn&&(i.view=i.view.slice(0,ui(e,n)))),i.viewTo=n})(e,o,s),n.viewOffset=Wt(He(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=gi(e);if(!a&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function(e){if(e.hasFocus())return null;var t=j();if(!t||!z(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&z(e.display.lineDiv,i.anchorNode)&&(n.anchorNode=i.anchorNode,n.anchorOffset=i.anchorOffset,n.focusNode=i.focusNode,n.focusOffset=i.focusOffset)}return n}(e);return l>4&&(n.lineDiv.style.display="none"),function(e,t,n){var i=e.display,r=e.options.lineNumbers,o=i.lineDiv,s=o.firstChild;function a(t){var n=t.nextSibling;return c&&v&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var l=i.view,u=i.viewFrom,h=0;h-1&&(p=!1),un(e,d,u,n)),p&&(x(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(Ze(e.options,u)))),s=d.node.nextSibling}else{var f=bn(e,d,u,n);o.insertBefore(f,s)}u+=d.size}for(;s;)s=a(s)}(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=j()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&z(document.body,e.anchorNode)&&z(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),x(n.cursorDiv),x(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,a&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ir(e,400)),n.updateLineNumbers=null,!0}function ar(e,t){for(var n=t.viewport,i=!0;;i=!1){if(i&&e.options.lineWrapping&&t.oldDisplayWidth!=xn(e))i&&(t.visible=ki(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+En(e.display)-kn(e),n.top)}),t.visible=ki(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!sr(e,t))break;Ti(e);var r=Fi(e);mi(e),Gi(e,r),ur(e,r),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function cr(e,t){var n=new or(e,t);if(sr(e,n)){Ti(e),ar(e,n);var i=Fi(e);mi(e),Gi(e,i),ur(e,i),n.finish()}}function lr(e){e.sizer.style.marginLeft=e.gutters.offsetWidth+"px"}function ur(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Tn(e)+"px"}function hr(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var i=si(t)-t.scroller.scrollLeft+e.doc.scrollLeft,r=t.gutters.offsetWidth,o=i+"px",s=0;sa.clientHeight;if(r&&a.scrollWidth>a.clientWidth||o&&l){if(o&&v&&c)e:for(var u=t.target,d=s.view;u!=a;u=u.parentNode)for(var p=0;p=0&&tt(e,i.to())<=0)return n}return-1};var Cr=function(e,t){this.anchor=e,this.head=t};function Er(e,t,n){var i=e&&e.options.selectionsMayTouch,r=t[n];t.sort(function(e,t){return tt(e.from(),t.from())}),n=V(t,r);for(var o=1;o0:c>=0){var l=ot(a.from(),s.from()),u=rt(a.to(),s.to()),h=a.empty()?s.from()==s.head:a.from()==a.head;o<=n&&--n,t.splice(--o,2,new Cr(h?u:l,h?l:u))}}return new Or(t,n)}function Sr(e,t){return new Or([new Cr(e,t||e)],0)}function Tr(e){return e.text?et(e.from.line+e.text.length-1,Q(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function xr(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return Tr(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=Tr(t).ch-t.to.ch),et(n,i)}function kr(e,t){for(var n=[],i=0;i1&&e.remove(a.line+1,f-1),e.insert(a.line+1,b)}cn(e,"change",e,t)}function Rr(e,t,n){!function e(i,r,o){if(i.linked)for(var s=0;sa-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Pr(e.done),Q(e.done)):e.done.length&&!Q(e.done).ranges?Q(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Q(e.done)):void 0}(r,r.lastOp==i)))s=Q(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,s.to)?s.to=Tr(t):o.changes.push(Fr(e,t));else{var c=Q(r.done);for(c&&c.ranges||Gr(e.sel,r.done),o={changes:[Fr(e,t)],generation:r.generation},r.done.push(o);r.done.length>r.undoDepth;)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(n),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=a,r.lastOp=r.lastSelOp=i,r.lastOrigin=r.lastSelOrigin=t.origin,s||fe(e,"historyAdded")}function Gr(e,t){var n=Q(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Br(e,t,n,i){var r=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,i),function(n){n.markedSpans&&((r||(r=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function Wr(e){if(!e)return null;for(var t,n=0;n-1&&(Q(a)[h]=l[h],delete l[h])}}}return i}function Hr(e,t,n,i){if(i){var r=e.anchor;if(n){var o=tt(t,r)<0;o!=tt(n,r)<0?(r=t,t=n):o!=tt(t,n)<0&&(t=n)}return new Cr(r,t)}return new Cr(n||t,t)}function qr(e,t,n,i,r){null==r&&(r=e.cm&&(e.cm.display.shift||e.extend)),Jr(e,new Or([Hr(e.sel.primary(),t,n,r)],0),i)}function Qr(e,t,n){for(var i=[],r=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:a.to>t.ch))){if(r&&(fe(c,"beforeCursorEnter"),c.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!c.atomic)continue;if(n){var h=c.find(i<0?1:-1),d=void 0;if((i<0?u:l)&&(h=oo(e,h,-i,h&&h.line==t.line?o:null)),h&&h.line==t.line&&(d=tt(h,n))&&(i<0?d<0:d>0))return io(e,h,t,i,r)}var p=c.find(i<0?-1:1);return(i<0?l:u)&&(p=oo(e,p,i,p.line==t.line?o:null)),p?io(e,p,t,i,r):null}}return t}function ro(e,t,n,i,r){var o=i||1;return io(e,t,n,o,r)||!r&&io(e,t,n,o,!0)||io(e,t,n,-o,r)||!r&&io(e,t,n,-o,!0)||(e.cantEdit=!0,et(e.first,0))}function oo(e,t,n,i){return n<0&&0==t.ch?t.line>e.first?at(e,et(t.line-1)):null:n>0&&t.ch==(i||He(e,t.line)).text.length?t.line0)){var u=[c,1],h=tt(l.from,a.from),d=tt(l.to,a.to);(h<0||!s.inclusiveLeft&&!h)&&u.push({from:l.from,to:a.from}),(d>0||!s.inclusiveRight&&!d)&&u.push({from:a.to,to:l.to}),r.splice.apply(r,u),c+=u.length-3}}return r}(e,t.from,t.to);if(i)for(var r=i.length-1;r>=0;--r)lo(e,{from:i[r].from,to:i[r].to,text:r?[""]:t.text,origin:t.origin});else lo(e,t)}}function lo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=tt(t.from,t.to)){var n=kr(e,t);Vr(e,t,n,e.cm?e.cm.curOp.id:NaN),po(e,t,n,Tt(e,t));var i=[];Rr(e,function(e,n){n||-1!=V(i,e.history)||(bo(e.history,t),i.push(e.history)),po(e,t,null,Tt(e,t))})}}function uo(e,t,n){var i=e.cm&&e.cm.state.suppressEdits;if(!i||n){for(var r,o=e.history,s=e.sel,a="undo"==t?o.done:o.undone,c="undo"==t?o.undone:o.done,l=0;l=0;--p){var f=d(p);if(f)return f.v}}}}function ho(e,t){if(0!=t&&(e.first+=t,e.sel=new Or(K(e.sel.ranges,function(e){return new Cr(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){hi(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,i=n.viewFrom;ie.lastLine())){if(t.from.lineo&&(t={from:t.from,to:et(o,He(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=qe(e,t.from,t.to),n||(n=kr(e,t)),e.cm?function(e,t,n){var i=e.doc,r=e.display,o=t.from,s=t.to,a=!1,c=o.line;e.options.lineWrapping||(c=Xe(Ft(He(i,o.line))),i.iter(c,s.line+1,function(e){if(e==r.maxLine)return a=!0,!0})),i.sel.contains(t.from,t.to)>-1&&me(e),Ar(i,t,n,ai(e)),e.options.lineWrapping||(i.iter(c,o.line+t.text.length,function(e){var t=$t(e);t>r.maxLineLength&&(r.maxLine=e,r.maxLineLength=t,r.maxLineChanged=!0,a=!1)}),a&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;i--){var r=He(e,i).stateAfter;if(r&&(!(r instanceof lt)||i+r.lookAhead1||!(this.children[0]instanceof yo))){var a=[];this.collapse(a),this.children=[new yo(a)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var s=r.lines.length%25+25,a=s;a10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var i=0;i0||0==s&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=D("span",[o.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Mt(e,t.line,t,n,o)||t.line!=n.line&&Mt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ot=!0}o.addToHistory&&Vr(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var a,c=t.line,l=e.cm;if(e.iter(c,n.line+1,function(e){l&&o.collapsed&&!l.options.lineWrapping&&Ft(e)==l.display.maxLine&&(a=!0),o.collapsed&&c!=t.line&&Ke(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new Ct(o,c==t.line?t.ch:null,c==n.line?n.ch:null)),++c}),o.collapsed&&e.iter(t.line,n.line+1,function(t){Gt(e,t)&&Ke(t,0)}),o.clearOnEnter&&he(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(_t=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++Co,o.atomic=!0),l){if(a&&(l.curOp.updateMaxLine=!0),o.collapsed)hi(l,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=n.line;u++)di(l,u,"text");o.atomic&&to(l.doc),cn(l,"markerAdded",l,o)}return o}Eo.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Hi(e),be(this,"clear")){var n=this.find();n&&cn(this,"clear",n.from,n.to)}for(var i=null,r=null,o=0;oe.display.maxLineLength&&(e.display.maxLine=l,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=i&&e&&this.collapsed&&hi(e,i,r+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&to(e.doc)),e&&cn(e,"markerCleared",e,this,i,r),t&&qi(e),this.parent&&this.parent.clear()}},Eo.prototype.find=function(e,t){var n,i;null==e&&"bookmark"==this.type&&(e=1);for(var r=0;r=0;c--)co(this,i[c]);a?Yr(this,a):this.cm&&zi(this.cm)}),undo:nr(function(){uo(this,"undo")}),redo:nr(function(){uo(this,"redo")}),undoSelection:nr(function(){uo(this,"undo",!0)}),redoSelection:nr(function(){uo(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,i=0;i=e.ch)&&t.push(r.marker.parent||r.marker)}return t},findMarks:function(e,t,n){e=at(this,e),t=at(this,t);var i=[],r=e.line;return this.iter(e.line,t.line+1,function(o){var s=o.markedSpans;if(s)for(var a=0;a=c.to||null==c.from&&r!=e.line||null!=c.from&&r==t.line&&c.from>=t.ch||n&&!n(c.marker)||i.push(c.marker.parent||c.marker)}++r}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var i=0;ie)return t=e,!0;e-=o,++n}),at(this,et(n,t))},indexFromPos:function(e){var t=(e=at(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var h=e.dataTransfer.getData("Text");if(h){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),Zr(t.doc,Sr(n,n)),d)for(var p=0;p=0;t--)fo(e.doc,"",i[t].from,i[t].to,"+delete");zi(e)})}function Xo(e,t,n){var i=re(e.text,t+n,n);return i<0||i>e.text.length?null:i}function Yo(e,t,n){var i=Xo(e,t.ch,n);return null==i?null:new et(t.line,i,n<0?"after":"before")}function Jo(e,t,n,i,r){if(e){"rtl"==t.doc.direction&&(r=-r);var o=le(n,t.doc.direction);if(o){var s,a=r<0?Q(o):o[0],c=r<0==(1==a.level)?"after":"before";if(a.level>0||"rtl"==t.doc.direction){var l=jn(t,n),u=An(t,l,s=r<0?n.text.length-1:0).top;s=oe(function(e){return An(t,l,e).top==u},r<0==(1==a.level)?a.from:a.to-1,s),"before"==c&&(s=Xo(n,s,1))}else s=r<0?a.to:a.from;return new et(i,s,c)}}return new et(i,r<0?n.text.length:0,r<0?"before":"after")}Go.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Go.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Go.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Go.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Go.default=v?Go.macDefault:Go.pcDefault;var Zo={selectAll:so,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),B)},killLine:function(e){return Ko(e,function(t){if(t.empty()){var n=He(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)r=new et(r.line,r.ch+1),e.replaceRange(o.charAt(r.ch-1)+o.charAt(r.ch-2),et(r.line,r.ch-2),r,"+transpose");else if(r.line>e.doc.first){var s=He(e.doc,r.line-1).text;s&&(r=new et(r.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+s.charAt(s.length-1),et(r.line-1,s.length-1),r,"+transpose"))}n.push(new Cr(r,r))}e.setSelections(n)})},newlineAndIndent:function(e){return Zi(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var i=0;i-1&&(tt((r=l.ranges[r]).from(),t)<0||t.xRel>0)&&(tt(r.to(),t)>0||t.xRel<0)?function(e,t,n,i){var r=e.display,o=!1,l=er(e,function(t){c&&(r.scroller.draggable=!1),e.state.draggingText=!1,pe(r.wrapper.ownerDocument,"mouseup",l),pe(r.wrapper.ownerDocument,"mousemove",u),pe(r.scroller,"dragstart",h),pe(r.scroller,"drop",l),o||(ye(t),i.addNew||qr(e.doc,n,null,null,i.extend),c&&!d||s&&9==a?setTimeout(function(){r.wrapper.ownerDocument.body.focus({preventScroll:!0}),r.input.focus()},20):r.input.focus())}),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},h=function(){return o=!0};c&&(r.scroller.draggable=!0),e.state.draggingText=l,l.copy=!i.moveOnDrag,r.scroller.dragDrop&&r.scroller.dragDrop(),he(r.wrapper.ownerDocument,"mouseup",l),he(r.wrapper.ownerDocument,"mousemove",u),he(r.scroller,"dragstart",h),he(r.scroller,"drop",l),Ci(e),setTimeout(function(){return r.input.focus()},20)}(e,i,t,o):function(e,t,n,i){var r=e.display,o=e.doc;ye(t);var s,a,c=o.sel,l=c.ranges;if(i.addNew&&!i.extend?(a=o.sel.contains(n),s=a>-1?l[a]:new Cr(n,n)):(s=o.sel.primary(),a=o.sel.primIndex),"rectangle"==i.unit)i.addNew||(s=new Cr(n,n)),n=li(e,t,!0,!0),a=-1;else{var u=gs(e,n,i.unit);s=i.extend?Hr(s,u.anchor,u.head,i.extend):u}i.addNew?-1==a?(a=l.length,Jr(o,Er(e,l.concat([s]),a),{scroll:!1,origin:"*mouse"})):l.length>1&&l[a].empty()&&"char"==i.unit&&!i.extend?(Jr(o,Er(e,l.slice(0,a).concat(l.slice(a+1)),0),{scroll:!1,origin:"*mouse"}),c=o.sel):Kr(o,a,s,W):(a=0,Jr(o,new Or([s],0),W),c=o.sel);var h=n;var d=r.wrapper.getBoundingClientRect(),p=0;function f(t){var l=++p,u=li(e,t,!0,"rectangle"==i.unit);if(u)if(0!=tt(u,h)){e.curOp.focus=j(),function(t){if(0!=tt(h,t))if(h=t,"rectangle"==i.unit){for(var r=[],l=e.options.tabSize,u=F(He(o,n.line).text,n.ch,l),d=F(He(o,t.line).text,t.ch,l),p=Math.min(u,d),f=Math.max(u,d),g=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=m;g++){var b=He(o,g).text,v=U(b,p,l);p==f?r.push(new Cr(et(g,v),et(g,v))):b.length>v&&r.push(new Cr(et(g,v),et(g,U(b,f,l))))}r.length||r.push(new Cr(n,n)),Jr(o,Er(e,c.ranges.slice(0,a).concat(r),a),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,w=s,_=gs(e,t,i.unit),O=w.anchor;tt(_.anchor,O)>0?(y=_.head,O=ot(w.from(),_.anchor)):(y=_.anchor,O=rt(w.to(),_.head));var C=c.ranges.slice(0);C[a]=function(e,t){var n=t.anchor,i=t.head,r=He(e.doc,n.line);if(0==tt(n,i)&&n.sticky==i.sticky)return t;var o=le(r);if(!o)return t;var s=ae(o,n.ch,n.sticky),a=o[s];if(a.from!=n.ch&&a.to!=n.ch)return t;var c,l=s+(a.from==n.ch==(1!=a.level)?0:1);if(0==l||l==o.length)return t;if(i.line!=n.line)c=(i.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ae(o,i.ch,i.sticky),h=u-s||(i.ch-n.ch)*(1==a.level?-1:1);c=u==l-1||u==l?h<0:h>0}var d=o[l+(c?-1:0)],p=c==(1==d.level),f=p?d.from:d.to,g=p?"after":"before";return n.ch==f&&n.sticky==g?t:new Cr(new et(n.line,f,g),i)}(e,new Cr(at(o,O),y)),Jr(o,Er(e,C,a),W)}}(u);var g=ki(r,o);(u.line>=g.to||u.lined.bottom?20:0;m&&setTimeout(er(e,function(){p==l&&(r.scroller.scrollTop+=m,f(t))}),50)}}function g(t){e.state.selectingText=!1,p=1/0,t&&(ye(t),r.input.focus()),pe(r.wrapper.ownerDocument,"mousemove",m),pe(r.wrapper.ownerDocument,"mouseup",b),o.history.lastSelOrigin=null}var m=er(e,function(e){0!==e.buttons&&Ee(e)?f(e):g(e)}),b=er(e,g);e.state.selectingText=b,he(r.wrapper.ownerDocument,"mousemove",m),he(r.wrapper.ownerDocument,"mouseup",b)}(e,i,t,o)}(t,i,o,e):Ce(e)==n.scroller&&ye(e):2==r?(i&&qr(t.doc,i),setTimeout(function(){return n.input.focus()},20)):3==r&&(C?t.display.input.onContextMenu(e):Ci(t)))}}function gs(e,t,n){if("char"==n)return new Cr(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new Cr(et(t.line,0),at(e.doc,et(t.line+1,0)));var i=n(e,t);return new Cr(i.from,i.to)}function ms(e,t,n,i){var r,o;if(t.touches)r=t.touches[0].clientX,o=t.touches[0].clientY;else try{r=t.clientX,o=t.clientY}catch(t){return!1}if(r>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&ye(t);var s=e.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!be(e,n))return _e(t);o-=a.top-s.viewOffset;for(var c=0;c=r)return fe(e,n,e,Ye(e.doc,o),e.display.gutterSpecs[c].className,t),_e(t)}}function bs(e,t){return ms(e,t,"gutterClick",!0)}function vs(e,t){On(e.display,t)||function(e,t){return!!be(e,"gutterContextMenu")&&ms(e,t,"gutterContextMenu",!1)}(e,t)||ge(e,t,"contextmenu")||C||e.display.input.onContextMenu(t)}function ys(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Vn(e)}ps.prototype.compare=function(e,t,n){return this.time+400>e&&0==tt(t,this.pos)&&n==this.button};var ws={toString:function(){return"CodeMirror.Init"}},_s={},Os={};function Cs(e,t,n){if(!t!=!(n&&n!=ws)){var i=e.display.dragFunctions,r=t?he:pe;r(e.display.scroller,"dragstart",i.start),r(e.display.scroller,"dragenter",i.enter),r(e.display.scroller,"dragover",i.over),r(e.display.scroller,"dragleave",i.leave),r(e.display.scroller,"drop",i.drop)}}function Es(e){e.options.lineWrapping?(A(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),Ut(e)),ci(e),hi(e),Vn(e),setTimeout(function(){return Gi(e)},100)}function Ss(e,t){var n=this;if(!(this instanceof Ss))return new Ss(e,t);this.options=t=t?M(t):{},M(_s,t,!1);var i=t.value;"string"==typeof i?i=new Do(i,t.mode,null,t.lineSeparator,t.direction):t.mode&&(i.modeOption=t.mode),this.doc=i;var r=new Ss.inputStyles[t.inputStyle](this),o=this.display=new mr(e,i,r,t);for(var l in o.wrapper.CodeMirror=this,ys(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),$i(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new P,keySeq:null,specialChars:null},t.autofocus&&!b&&o.input.focus(),s&&a<11&&setTimeout(function(){return n.display.input.reset(!0)},20),function(e){var t=e.display;he(t.scroller,"mousedown",er(e,fs)),he(t.scroller,"dblclick",s&&a<11?er(e,function(t){if(!ge(e,t)){var n=li(e,t);if(n&&!bs(e,t)&&!On(e.display,t)){ye(t);var i=e.findWordAt(n);qr(e.doc,i.anchor,i.head)}}}):function(t){return ge(e,t)||ye(t)}),he(t.scroller,"contextmenu",function(t){return vs(e,t)}),he(t.input.getField(),"contextmenu",function(n){t.scroller.contains(n.target)||vs(e,n)});var n,i={end:0};function r(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),(i=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,i=t.top-e.top;return n*n+i*i>400}he(t.scroller,"touchstart",function(r){if(!ge(e,r)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(r)&&!bs(e,r)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-i.end<=300?i:null},1==r.touches.length&&(t.activeTouch.left=r.touches[0].pageX,t.activeTouch.top=r.touches[0].pageY)}}),he(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),he(t.scroller,"touchend",function(n){var i=t.activeTouch;if(i&&!On(t,n)&&null!=i.left&&!i.moved&&new Date-i.start<300){var s,a=e.coordsChar(t.activeTouch,"page");s=!i.prev||o(i,i.prev)?new Cr(a,a):!i.prev.prev||o(i,i.prev.prev)?e.findWordAt(a):new Cr(et(a.line,0),at(e.doc,et(a.line+1,0))),e.setSelection(s.anchor,s.head),e.focus(),ye(n)}r()}),he(t.scroller,"touchcancel",r),he(t.scroller,"scroll",function(){t.scroller.clientHeight&&(Ni(e,t.scroller.scrollTop),Mi(e,t.scroller.scrollLeft,!0),fe(e,"scroll",e))}),he(t.scroller,"mousewheel",function(t){return _r(e,t)}),he(t.scroller,"DOMMouseScroll",function(t){return _r(e,t)}),he(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){ge(e,t)||Oe(t)},over:function(t){ge(e,t)||(function(e,t){var n=li(e,t);if(n){var i=document.createDocumentFragment();vi(e,n,i),e.display.dragCursor||(e.display.dragCursor=I("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),k(e.display.dragCursor,i)}}(e,t),Oe(t))},start:function(t){return function(e,t){if(s&&(!e.state.draggingText||+new Date-zo<100))Oe(t);else if(!ge(e,t)&&!On(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!d)){var n=I("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),h&&n.parentNode.removeChild(n)}}(e,t)},drop:er(e,jo),leave:function(t){ge(e,t)||Ao(e)}};var c=t.input.getField();he(c,"keyup",function(t){return ls.call(e,t)}),he(c,"keydown",er(e,cs)),he(c,"keypress",er(e,us)),he(c,"focus",function(t){return Ei(e,t)}),he(c,"blur",function(t){return Si(e,t)})}(this),function(){var e;No||(he(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,Ro(Lo)},100))}),he(window,"blur",function(){return Ro(Si)}),No=!0)}(),Hi(this),this.curOp.forceUpdate=!0,Nr(this,i),t.autofocus&&!b||this.hasFocus()?setTimeout(L(Ei,this),20):Si(this),Os)Os.hasOwnProperty(l)&&Os[l](this,t[l],ws);dr(this),t.finishInit&&t.finishInit(this);for(var u=0;u150)){if(!i)return;n="prev"}}else l=0,n="not";"prev"==n?l=t>o.first?F(He(o,t-1).text,null,s):0:"add"==n?l=c+e.options.indentUnit:"subtract"==n?l=c-e.options.indentUnit:"number"==typeof n&&(l=c+n),l=Math.max(0,l);var h="",d=0;if(e.options.indentWithTabs)for(var p=Math.floor(l/s);p;--p)d+=s,h+="\t";if(ds,c=ze(t),l=null;if(a&&i.ranges.length>1)if(ks&&ks.text.join("\n")==t){if(i.ranges.length%ks.text.length==0){l=[];for(var u=0;u=0;d--){var p=i.ranges[d],f=p.from(),g=p.to();p.empty()&&(n&&n>0?f=et(f.line,f.ch-n):e.state.overwrite&&!a?g=et(g.line,Math.min(He(o,g.line).text.length,g.ch+Q(c).length)):a&&ks&&ks.lineWise&&ks.text.join("\n")==t&&(f=g=et(f.line,0)));var m={from:f,to:g,text:l?l[d%l.length]:c,origin:r||(a?"paste":e.state.cutIncoming>s?"cut":"+input")};co(e.doc,m),cn(e,"inputRead",e,m)}t&&!a&&js(e,t),zi(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function zs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Zi(t,function(){return Ds(t,n,0,null,"paste")}),!0}function js(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,i=n.ranges.length-1;i>=0;i--){var r=n.ranges[i];if(!(r.head.ch>100||i&&n.ranges[i-1].head.line==r.head.line)){var o=e.getModeAt(r.head),s=!1;if(o.electricChars){for(var a=0;a-1){s=xs(e,r.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(He(e.doc,r.head.line).text.slice(0,r.head.ch))&&(s=xs(e,r.head.line,"smart"));s&&cn(e,"electricInput",e,r.head.line)}}}function As(e){for(var t=[],n=[],i=0;i=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=ae(r,n.ch,n.sticky),s=r[o];if("ltr"==e.doc.direction&&s.level%2==0&&(i>0?s.to>n.ch:s.from=s.from&&d>=u.begin))return new et(n.line,d,h?"before":"after")}var p=function(e,t,i){for(var o=function(e,t){return t?new et(n.line,c(e,1),"before"):new et(n.line,e,"after")};e>=0&&e0==(1!=s.level),l=a?i.begin:c(i.end,-1);if(s.from<=l&&l0?u.end:c(u.begin,-1);return null==g||i>0&&g==t.text.length||!(f=p(i>0?0:r.length-1,i,l(g)))?null:f}(e.cm,a,t,n):Yo(a,t,n))){if(i||(s=t.line+c)=e.first+e.size||(t=new et(s,t.ch,t.sticky),!(a=He(e,s))))return!1;t=Jo(r,e.cm,a,t.line,c)}else t=o;return!0}if("char"==i)l();else if("column"==i)l(!0);else if("word"==i||"group"==i)for(var u=null,h="group"==i,d=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(n<0)||l(!p);p=!1){var f=a.text.charAt(t.ch)||"\n",g=ee(f,d)?"w":h&&"\n"==f?"n":!h||/\s/.test(f)?null:"p";if(!h||p||g||(g="s"),u&&u!=g){n<0&&(n=1,l(),t.sticky="after");break}if(g&&(u=g),n>0&&!l(!p))break}var m=ro(e,t,o,s,!0);return nt(o,m)&&(m.hitSide=!0),m}function Ms(e,t,n,i){var r,o,s=e.doc,a=t.left;if("page"==i){var c=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(c-.5*ii(e.display),3);r=(n>0?t.bottom:t.top)+n*l}else"line"==i&&(r=n>0?t.bottom+3:t.top-3);for(;(o=Xn(e,a,r)).outside;){if(n<0?r<=0:r>=s.height){o.hitSide=!0;break}r+=5*n}return o}var Fs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new P,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ps(e,t){var n=zn(e,t.line);if(!n||n.hidden)return null;var i=He(e.doc,t.line),r=In(n,i,t.line),o=le(i,e.doc.direction),s="left";o&&(s=ae(o,t.ch)%2?"right":"left");var a=Ln(r.map,t.ch,s);return a.offset="right"==a.collapse?a.end:a.start,a}function Vs(e,t){return t&&(e.bad=!0),e}function Gs(e,t,n){var i;if(t==e.display.lineDiv){if(!(i=e.display.lineDiv.childNodes[n]))return Vs(e.clipPos(et(e.display.viewTo-1)),!0);t=null,n=0}else for(i=t;;i=i.parentNode){if(!i||i==e.display.lineDiv)return null;if(i.parentNode&&i.parentNode==e.display.lineDiv)break}for(var r=0;r=t.display.viewTo||o.line=t.display.viewFrom&&Ps(t,r)||{node:c[0].measure.map[2],offset:0},u=o.linei.firstLine()&&(s=et(s.line-1,He(i.doc,s.line-1).length)),a.ch==He(i.doc,a.line).text.length&&a.liner.viewTo-1)return!1;s.line==r.viewFrom||0==(e=ui(i,s.line))?(t=Xe(r.view[0].line),n=r.view[0].node):(t=Xe(r.view[e].line),n=r.view[e-1].node.nextSibling);var c,l,u=ui(i,a.line);if(u==r.view.length-1?(c=r.viewTo-1,l=r.lineDiv.lastChild):(c=Xe(r.view[u+1].line)-1,l=r.view[u+1].node.previousSibling),!n)return!1;for(var h=i.doc.splitLines(function(e,t,n,i,r){var o="",s=!1,a=e.doc.lineSeparator(),c=!1;function l(){s&&(o+=a,c&&(o+=a),s=c=!1)}function u(e){e&&(l(),o+=e)}function h(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void u(n);var o,d=t.getAttribute("cm-marker");if(d){var p=e.findMarks(et(i,0),et(r+1,0),(m=+d,function(e){return e.id==m}));return void(p.length&&(o=p[0].find(0))&&u(qe(e.doc,o.from,o.to).join(a)))}if("false"==t.getAttribute("contenteditable"))return;var f=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;f&&l();for(var g=0;g1&&d.length>1;)if(Q(h)==Q(d))h.pop(),d.pop(),c--;else{if(h[0]!=d[0])break;h.shift(),d.shift(),t++}for(var p=0,f=0,g=h[0],m=d[0],b=Math.min(g.length,m.length);ps.ch&&v.charCodeAt(v.length-f-1)==y.charCodeAt(y.length-f-1);)p--,f++;h[h.length-1]=v.slice(0,v.length-f).replace(/^\u200b+/,""),h[0]=h[0].slice(p).replace(/\u200b+$/,"");var _=et(t,p),O=et(c,d.length?Q(d).length-f:0);return h.length>1||h[0]||tt(_,O)?(fo(i.doc,h,_,O,"+input"),!0):void 0},Fs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Fs.prototype.reset=function(){this.forceCompositionEnd()},Fs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Fs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Fs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Zi(this.cm,function(){return hi(e.cm)})},Fs.prototype.setUneditable=function(e){e.contentEditable="false"},Fs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||er(this.cm,Ds)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Fs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Fs.prototype.onContextMenu=function(){},Fs.prototype.resetPosition=function(){},Fs.prototype.needsContentAttribute=!0;var Ws=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new P,this.hasSelection=!1,this.composing=null};Ws.prototype.init=function(e){var t=this,n=this,i=this.cm;this.createField(e);var r=this.textarea;function o(e){if(!ge(i,e)){if(i.somethingSelected())Is({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=As(i);Is({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,B):(n.prevInput="",r.value=t.text.join("\n"),N(r))}"cut"==e.type&&(i.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(r.style.width="0px"),he(r,"input",function(){s&&a>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),he(r,"paste",function(e){ge(i,e)||zs(e,i)||(i.state.pasteIncoming=+new Date,n.fastPoll())}),he(r,"cut",o),he(r,"copy",o),he(e.scroller,"paste",function(t){if(!On(e,t)&&!ge(i,t)){if(!r.dispatchEvent)return i.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,r.dispatchEvent(o)}}),he(e.lineSpace,"selectstart",function(t){On(e,t)||ye(t)}),he(r,"compositionstart",function(){var e=i.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),he(r,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},Ws.prototype.createField=function(e){this.wrapper=Ns(),this.textarea=this.wrapper.firstChild},Ws.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ws.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,i=bi(e);if(e.options.moveInputWithCursor){var r=qn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),s=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,r.top+s.top-o.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,r.left+s.left-o.left))}return i},Ws.prototype.showSelection=function(e){var t=this.cm.display;k(t.cursorDiv,e.cursors),k(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ws.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&N(this.textarea),s&&a>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",s&&a>=9&&(this.hasSelection=null))}},Ws.prototype.getField=function(){return this.textarea},Ws.prototype.supportsTouch=function(){return!1},Ws.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!b||j()!=this.textarea))try{this.textarea.focus()}catch(De){}},Ws.prototype.blur=function(){this.textarea.blur()},Ws.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ws.prototype.receivedFocus=function(){this.slowPoll()},Ws.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ws.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))})},Ws.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||je(n)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var r=n.value;if(r==i&&!t.somethingSelected())return!1;if(s&&a>=9&&this.hasSelection===r||v&&/[\uf700-\uf7ff]/.test(r))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=r.charCodeAt(0);if(8203!=o||i||(i="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var c=0,l=Math.min(i.length,r.length);c1e3||r.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=r,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ws.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ws.prototype.onKeyPress=function(){s&&a>=9&&(this.hasSelection=null),this.fastPoll()},Ws.prototype.onContextMenu=function(e){var t=this,n=t.cm,i=n.display,r=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=li(n,e),l=i.scroller.scrollTop;if(o&&!h){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&er(n,Jr)(n.doc,Sr(o),B);var u,d=r.style.cssText,p=t.wrapper.style.cssText,f=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",r.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px;\n z-index: 1000; background: "+(s?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",c&&(u=window.scrollY),i.input.focus(),c&&window.scrollTo(null,u),i.input.reset(),n.somethingSelected()||(r.value=t.prevInput=" "),t.contextMenuPending=b,i.selForContextMenu=n.doc.sel,clearTimeout(i.detectingSelectAll),s&&a>=9&&m(),C){Oe(e);var g=function(){pe(window,"mouseup",g),setTimeout(b,20)};he(window,"mouseup",g)}else setTimeout(b,50)}function m(){if(null!=r.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?r.value:"");r.value="\u21da",r.value=o,t.prevInput=e?"":"\u200b",r.selectionStart=1,r.selectionEnd=o.length,i.selForContextMenu=n.doc.sel}}function b(){if(t.contextMenuPending==b&&(t.contextMenuPending=!1,t.wrapper.style.cssText=p,r.style.cssText=d,s&&a<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=l),null!=r.selectionStart)){(!s||s&&a<9)&&m();var e=0,o=function(){i.selForContextMenu==n.doc.sel&&0==r.selectionStart&&r.selectionEnd>0&&"\u200b"==t.prevInput?er(n,so)(n):e++<10?i.detectingSelectAll=setTimeout(o,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(o,200)}}},Ws.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},Ws.prototype.setUneditable=function(){},Ws.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,i,r,o){e.defaults[n]=i,r&&(t[n]=o?function(e,t,n){n!=ws&&r(e,t,n)}:r)}e.defineOption=n,e.Init=ws,n("value","",function(e,t){return e.setValue(t)},!0),n("mode",null,function(e,t){e.doc.modeOption=t,Dr(e)},!0),n("indentUnit",2,Dr,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(e){zr(e),Vn(e),hi(e)},!0),n("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],i=e.doc.first;e.doc.iter(function(e){for(var r=0;;){var o=e.text.indexOf(t,r);if(-1==o)break;r=o+t.length,n.push(et(i,o))}i++});for(var r=n.length-1;r>=0;r--)fo(e.doc,t,n[r],et(n[r].line,n[r].ch+t.length))}}),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=ws&&e.refresh()}),n("specialCharPlaceholder",Jt,function(e){return e.refresh()},!0),n("electricChars",!0),n("inputStyle",b?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),n("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),n("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),n("rtlMoveVisually",!w),n("wholeLineUpdateBefore",!0),n("theme","default",function(e){ys(e),gr(e)},!0),n("keyMap","default",function(e,t,n){var i=Qo(t),r=n!=ws&&Qo(n);r&&r.detach&&r.detach(e,i),i.attach&&i.attach(e,r||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Es,!0),n("gutters",[],function(e,t){e.display.gutterSpecs=pr(t,e.options.lineNumbers),gr(e)},!0),n("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?si(e.display)+"px":"0",e.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(e){return Gi(e)},!0),n("scrollbarStyle","native",function(e){$i(e),Gi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),n("lineNumbers",!1,function(e,t){e.display.gutterSpecs=pr(e.options.gutters,t),gr(e)},!0),n("firstLineNumber",1,gr,!0),n("lineNumberFormatter",function(e){return e},gr,!0),n("showCursorWhenSelecting",!1,mi,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,function(e,t){"nocursor"==t&&(Si(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),n("screenReaderLabel",null,function(e,t){e.display.input.screenReaderLabelChanged(t=""===t?null:t)}),n("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),n("dragDrop",!0,Cs),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,mi,!0),n("singleCursorHeightPerLine",!0,mi,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,zr,!0),n("addModeClass",!1,zr,!0),n("pollInterval",100),n("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),n("historyEventDelay",1250),n("viewportMargin",10,function(e){return e.refresh()},!0),n("maxHighlightLength",1e4,zr,!0),n("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),n("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),n("autofocus",null),n("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),n("phrases",null)}(Ss),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var i=this.options,r=i[e];i[e]==n&&"mode"!=e||(i[e]=n,t.hasOwnProperty(e)&&er(this,t[e])(this,n,r),fe(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Qo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(xs(this,r.head.line,e,!0),n=r.head.line,i==this.doc.sel.primIndex&&zi(this));else{var o=r.from(),s=r.to(),a=Math.max(n,o.line);n=Math.min(this.lastLine(),s.line-(s.ch?0:1))+1;for(var c=a;c0&&Kr(this.doc,i,new Cr(o,l[i].to()),B)}}}),getTokenAt:function(e,t){return vt(this,e,t)},getLineTokens:function(e,t){return vt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=at(this.doc,e);var t,n=dt(this,He(this.doc,e.line)),i=0,r=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var s=i+r>>1;if((s?n[2*s-1]:0)>=o)r=s;else{if(!(n[2*s+1]o&&(e=o,r=!0),i=He(this.doc,e)}else i=e;return $n(this,i,{top:0,left:0},t||"page",n||r).top+(r?this.doc.height-Wt(i):0)},defaultTextHeight:function(){return ii(this.display)},defaultCharWidth:function(){return ri(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,i,r){var o,s=this.display,a=(e=qn(this,at(this.doc,e))).bottom,c=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),s.sizer.appendChild(t),"over"==i)a=e.top;else if("above"==i||"near"==i){var l=Math.max(s.wrapper.clientHeight,this.doc.height),u=Math.max(s.sizer.clientWidth,s.lineSpace.clientWidth);("above"==i||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),c+t.offsetWidth>u&&(c=u-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==r?(c=s.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==r?c=0:"middle"==r&&(c=(s.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),n&&(null!=(o=Ii(this,{left:c,top:a,right:c+t.offsetWidth,bottom:a+t.offsetHeight})).scrollTop&&Ni(this,o.scrollTop),null!=o.scrollLeft&&Mi(this,o.scrollLeft))},triggerOnKeyDown:tr(cs),triggerOnKeyPress:tr(us),triggerOnKeyUp:ls,triggerOnMouseDown:tr(fs),execCommand:function(e){if(Zo.hasOwnProperty(e))return Zo[e].call(null,this)},triggerElectric:tr(function(e){js(this,e)}),findPosH:function(e,t,n,i){var r=1;t<0&&(r=-1,t=-t);for(var o=at(this.doc,e),s=0;s0&&s(t.charAt(n-1));)--n;for(;i.5||this.options.lineWrapping)&&ci(this),fe(this,"refresh",this)}),swapDoc:tr(function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Nr(this,e),Vn(this),this.display.input.reset(),ji(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,cn(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ve(e),e.registerHelper=function(t,i,r){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][i]=r},e.registerGlobalHelper=function(t,i,r,o){e.registerHelper(t,i,o),n[t]._global.push({pred:r,val:o})}}(Ss);var $s="iter insert remove copy getEditor constructor".split(" ");for(var Us in Do.prototype)Do.prototype.hasOwnProperty(Us)&&V($s,Us)<0&&(Ss.prototype[Us]=function(e){return function(){return e.apply(this.doc,arguments)}}(Do.prototype[Us]));return ve(Do),Ss.inputStyles={textarea:Ws,contenteditable:Fs},Ss.defineMode=function(e){Ss.defaults.mode||"null"==e||(Ss.defaults.mode=e),Me.apply(this,arguments)},Ss.defineMIME=function(e,t){Le[e]=t},Ss.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),Ss.defineMIME("text/plain","null"),Ss.defineExtension=function(e,t){Ss.prototype[e]=t},Ss.defineDocExtension=function(e,t){Do.prototype[e]=t},Ss.fromTextArea=function(e,t){if((t=t?M(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=j();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function i(){e.value=a.getValue()}var r;if(e.form&&(he(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var o=e.form;r=o.submit;try{var s=o.submit=function(){i(),o.submit=r,o.submit(),o.submit=s}}catch(De){}}t.finishInit=function(n){n.save=i,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,i(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(pe(e.form,"submit",i),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=r))}},e.style.display="none";var a=Ss(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return a},function(e){e.off=pe,e.on=he,e.wheelEventPixels=wr,e.Doc=Do,e.splitLines=ze,e.countColumn=F,e.findColumn=U,e.isWordChar=Z,e.Pass=G,e.signal=fe,e.Line=Ht,e.changeEnd=Tr,e.scrollbarModel=Wi,e.Pos=et,e.cmpPos=tt,e.modes=Ne,e.mimeModes=Le,e.resolveMode=Fe,e.getMode=Pe,e.modeExtensions=Ve,e.extendMode=Ge,e.copyState=Be,e.startState=$e,e.innerMode=We,e.commands=Zo,e.keyMap=Go,e.keyName=qo,e.isModifierKey=Uo,e.lookupKey=$o,e.normalizeKeyMap=Wo,e.StringStream=Ue,e.SharedTextMarker=To,e.TextMarker=Eo,e.LineWidget=_o,e.e_preventDefault=ye,e.e_stopPropagation=we,e.e_stop=Oe,e.addClass=A,e.contains=z,e.rmClass=T,e.keyNames=Mo}(Ss),Ss.version="5.54.0",Ss}()},VsQa:function(e,t,n){"use strict";e.exports=function(e){return e!=e}},Vuqn:function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return f});var i=n("rWdj"),r=n("kBjl"),o=n("dWS+"),s=n("/jXB"),a=n("dQau"),c=n("4suF"),l=n("axIb");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t,n){return'Directive "@'.concat(e,'" argument "').concat(t,'" of type "').concat(n,'" is required, but it was not provided.')}function p(e){return function(e){for(var t=1;ti.parseCurl(...e),o=e=>`-H '${e.key}: ${e.value}'`,s=e=>{const t={"Accept-Encoding":"gzip, deflate, br","Content-Type":"application/json",Accept:"application/json",Connection:"keep-alive",Origin:location.origin},n=e.method||"POST",i={...t,...e.headers},r=Object.keys(i).filter(e=>!!e).map(e=>({key:e,value:i[e]})).map(o).join(" "),s=[`'${"GET"===n?((e,t)=>{const n=encodeURIComponent;if(t){const i=Object.keys(t).map(e=>n(e)+"="+n("string"==typeof t[e]?t[e]:JSON.stringify(t[e]))).join("&");return e.includes("?")?`${e}&${i}`:`${e}?${i}`}return e})(e.url,e.data):e.url}'`];if(["GET","POST"].includes(n)||s.push(`-X ${n}`),s.push(`${r}`),"GET"!==n){const t=`--data-binary '${JSON.stringify(e.data)}'`;s.push(t)}return`curl ${s.join(" ")} --compressed`}},WMd4:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("EY2u"),r=n("LRne"),o=n("z6cu");let s=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})()},WXJZ:function(e,t,n){"use strict";function i(e,t,n){return e.reduce(function(e,i){return e[t(i)]=n(i),e},Object.create(null))}n.d(t,"a",function(){return i})},Wbsq:function(e,t,n){"use strict";var i=n("86bp"),r=n("Zq5j"),o=n("H6OF");e.exports=function(e){var t,s=i(arguments[1]);return s.normalizer||0!==(t=s.length=r(s.length,e.length,s.async))&&(s.primitive?!1===t?s.normalizer=n("xeyX"):t>1&&(s.normalizer=n("YTm4")(t)):s.normalizer=!1===t?n("zdgv")():1===t?n("Q5MM")():n("ftEH")(t)),s.async&&n("SbUo"),s.promise&&n("96uS"),s.dispose&&n("Rk3w"),s.maxAge&&n("qhZs"),s.max&&n("0dpv"),s.refCounter&&n("8j7D"),o(e,s)}},Wlyd:function(e,t,n){"use strict";var i=Array.prototype.forEach,r=Object.create;e.exports=function(e){var t=r(null);return i.call(arguments,function(e){t[e]=!0}),t}},Wzjs:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("Y/la");function r(e,t){for(var n=Object.create(null),r=0,o=Object(i.a)(e);rt.lift(new s(e))}class s{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new a(e,this.errorFactory))}}class a extends r.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function c(){return new i.a}},XH0y:function(e,t,n){var i,r;!function(o,s){"use strict";void 0===(r="function"==typeof(i=function(){var e=function(){},t="undefined"!=typeof window&&void 0!==window.navigator&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"];function i(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(i){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function r(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function o(n){return"debug"===n&&(n="log"),"undefined"!=typeof console&&("trace"===n&&t?r:void 0!==console[n]?i(console,n):void 0!==console.log?i(console,"log"):e)}function s(t,i){for(var r=0;r=0&&t<=o.levels.SILENT))throw"log.setLevel() called with invalid level: "+t;if(r=t,!1!==i&&function(e){var t=(n[e]||"silent").toUpperCase();if("undefined"!=typeof window&&a){try{return void(window.localStorage[a]=t)}catch(i){}try{window.document.cookie=encodeURIComponent(a)+"="+t+";"}catch(i){}}}(t),s.call(o,t,e),"undefined"==typeof console&&t{class e extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(e){const t=new h(this,this);return t.operator=e,t}next(e){if(this.closed)throw new s.a;if(!this.isStopped){const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;rnew h(e,t),e})();class h extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):o.a.EMPTY}}},XYXw:function(e,t,n){"use strict";n.d(t,"b",function(){return f}),n.d(t,"a",function(){return g}),n.d(t,"c",function(){return y});var i=n("PXbX"),r=n("1QEH"),o=n("rWdj"),s=n("2C6G"),a=n("dQau"),c=n("BLR7"),l=n("LViu"),u=n("19Hc"),h=n("4suF"),d=n("axIb"),p=n("3HNt");function f(e,t){return b(e,function(e){return!Object(h.h)(e)},m,t)}function g(e,t){return b(e,h.h,l.isIntrospectionType,t)}function m(e){return!Object(u.f)(e)&&!Object(l.isIntrospectionType)(e)}function b(e,t,n,i){var o=e.getDirectives().filter(t),s=e.getTypeMap(),a=Object(r.a)(s).sort(function(e,t){return e.name.localeCompare(t.name)}).filter(n);return[v(e)].concat(o.map(function(e){return function(e,t){return S(t,e)+"directive @"+e.name+O(t,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e,i)}),a.map(function(e){return y(e,i)})).filter(Boolean).join("\n\n")+"\n"}function v(e){if(!function(e){var t=e.getQueryType();if(t&&"Query"!==t.name)return!1;var n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;var i=e.getSubscriptionType();return!i||"Subscription"===i.name}(e)){var t=[],n=e.getQueryType();n&&t.push(" query: ".concat(n.name));var i=e.getMutationType();i&&t.push(" mutation: ".concat(i.name));var r=e.getSubscriptionType();return r&&t.push(" subscription: ".concat(r.name)),"schema {\n".concat(t.join("\n"),"\n}")}}function y(e,t){return Object(d.R)(e)?function(e,t){return S(t,e)+"scalar ".concat(e.name)}(e,t):Object(d.N)(e)?function(e,t){var n=e.getInterfaces(),i=n.length?" implements "+n.map(function(e){return e.name}).join(" & "):"";return S(t,e)+"type ".concat(e.name).concat(i)+w(t,e)}(e,t):Object(d.H)(e)?function(e,t){return S(t,e)+"interface ".concat(e.name)+w(t,e)}(e,t):Object(d.T)(e)?function(e,t){var n=e.getTypes(),i=n.length?" = "+n.join(" | "):"";return S(t,e)+"union "+e.name+i}(e,t):Object(d.E)(e)?function(e,t){var n=e.getValues().map(function(e,n){return S(t,e," ",!n)+" "+e.name+E(e)});return S(t,e)+"enum ".concat(e.name)+_(n)}(e,t):Object(d.F)(e)?function(e,t){var n=Object(r.a)(e.getFields()).map(function(e,n){return S(t,e," ",!n)+" "+C(e)});return S(t,e)+"input ".concat(e.name)+_(n)}(e,t):void Object(s.a)(!1,"Unexpected type: "+Object(o.a)(e))}function w(e,t){return _(Object(r.a)(t.getFields()).map(function(t,n){return S(e,t," ",!n)+" "+t.name+O(e,t.args," ")+": "+String(t.type)+E(t)}))}function _(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every(function(e){return!e.description})?"("+t.map(C).join(", ")+")":"(\n"+t.map(function(t,i){return S(e,t," "+n,!i)+" "+n+C(t)}).join("\n")+"\n"+n+")"}function C(e){var t=Object(p.a)(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=" = ".concat(Object(a.print)(t))),n}function E(e){if(!e.isDeprecated)return"";var t=e.deprecationReason,n=Object(p.a)(t,u.e);return n&&""!==t&&t!==h.a?" @deprecated(reason: "+Object(a.print)(n)+")":" @deprecated"}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t.description)return"";var r=x(t.description,120-n.length);if(e&&e.commentDescriptions)return T(r,n,i);var o=r.join("\n"),s=o.length>70,a=Object(c.c)(o,"",s),l=n&&!i?"\n"+n:n;return l+a.replace(/\n/g,"\n"+n)+"\n"}function T(e,t,n){for(var i=t&&!n?"\n":"",r=0;r{class e{constructor(e){this.store=e,this.store.subscribe({next:e=>{this.environmentsState=e.environments}})}getActiveEnvironment(){let e={},t={};try{e=JSON.parse(this.environmentsState.base.variablesJson)}catch(n){}if(this.environmentsState.activeSubEnvironment){const e=this.environmentsState.subEnvironments.find(e=>e.id===this.environmentsState.activeSubEnvironment);if(e)try{t=JSON.parse(e.variablesJson)}catch(n){}}return{...e,...t}}hydrate(e,t={}){if(!e)return e;const n=t.activeEnvironment?t.activeEnvironment:this.getActiveEnvironment(),i={};return e=(e=e.replace(/\\{{\s*[\w\.]+\s*}}/g,e=>{const t=r()();return i[t]=e.replace(/^\\/,""),`[[${t}]]`})).replace(/{{\s*[\w\.]+\s*}}/g,e=>{const t=e.match(/[\w\.]+/);return t?n[t[0]]||"":e}),Object.keys(i).forEach(t=>{e=e.split(`[[${t}]]`).join(i[t])}),e}hydrateHeaders(e,t={}){const n=e.map(e=>({key:this.hydrate(e.key,t),value:this.hydrate(e.value,t),enabled:e.enabled})),i=(t.activeEnvironment?t.activeEnvironment:this.getActiveEnvironment()).headers;return i?[...Object.keys(i).map(e=>({key:this.hydrate(e,t),value:this.hydrate(i[e],t),enabled:!0})),...n]:n}}return e.\u0275fac=function(t){return new(t||e)(o.ac(s.h))},e.\u0275prov=o.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},Xizt:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return s}),n.d(t,"i",function(){return a}),n.d(t,"f",function(){return c}),n.d(t,"g",function(){return l}),n.d(t,"d",function(){return u}),n.d(t,"h",function(){return h}),n.d(t,"e",function(){return d});var i=n("/jXB");function r(e){return o(e)||l(e)||h(e)}function o(e){return e.kind===i.a.OPERATION_DEFINITION||e.kind===i.a.FRAGMENT_DEFINITION}function s(e){return e.kind===i.a.FIELD||e.kind===i.a.FRAGMENT_SPREAD||e.kind===i.a.INLINE_FRAGMENT}function a(e){return e.kind===i.a.VARIABLE||e.kind===i.a.INT||e.kind===i.a.FLOAT||e.kind===i.a.STRING||e.kind===i.a.BOOLEAN||e.kind===i.a.NULL||e.kind===i.a.ENUM||e.kind===i.a.LIST||e.kind===i.a.OBJECT}function c(e){return e.kind===i.a.NAMED_TYPE||e.kind===i.a.LIST_TYPE||e.kind===i.a.NON_NULL_TYPE}function l(e){return e.kind===i.a.SCHEMA_DEFINITION||u(e)||e.kind===i.a.DIRECTIVE_DEFINITION}function u(e){return e.kind===i.a.SCALAR_TYPE_DEFINITION||e.kind===i.a.OBJECT_TYPE_DEFINITION||e.kind===i.a.INTERFACE_TYPE_DEFINITION||e.kind===i.a.UNION_TYPE_DEFINITION||e.kind===i.a.ENUM_TYPE_DEFINITION||e.kind===i.a.INPUT_OBJECT_TYPE_DEFINITION}function h(e){return e.kind===i.a.SCHEMA_EXTENSION||d(e)}function d(e){return e.kind===i.a.SCALAR_TYPE_EXTENSION||e.kind===i.a.OBJECT_TYPE_EXTENSION||e.kind===i.a.INTERFACE_TYPE_EXTENSION||e.kind===i.a.UNION_TYPE_EXTENSION||e.kind===i.a.ENUM_TYPE_EXTENSION||e.kind===i.a.INPUT_OBJECT_TYPE_EXTENSION}},Xkdu:function(e,t,n){"use strict";var i=s(n("VrN/")),r=s(n("i1zs")),o=n("8Ur0");function s(e){return e&&e.__esModule?e:{default:e}}n("P57A"),i.default.registerHelper("jump","graphql",(e,t)=>{if(!t.schema||!t.onClick||!e.state)return;const n=e.state,i=n.kind,s=n.step,a=(0,r.default)(t.schema,n);return"Field"===i&&0===s&&a.fieldDef||"AliasedField"===i&&2===s&&a.fieldDef?(0,o.getFieldReference)(a):"Directive"===i&&1===s&&a.directiveDef?(0,o.getDirectiveReference)(a):"Argument"===i&&0===s&&a.argDef?(0,o.getArgumentReference)(a):"EnumValue"===i&&a.enumValue?(0,o.getEnumValueReference)(a):"NamedType"===i&&a.type?(0,o.getTypeReference)(a):void 0})},XoHu:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,"a",function(){return i})},Xt1Y:function(e,t,n){"use strict";var i=n("k2qM"),r={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!i(e)&&hasOwnProperty.call(r,typeof e)}},"Y/la":function(e,t,n){"use strict";t.a=Object.entries||function(e){return Object.keys(e).map(function(t){return[t,e[t]]})}},YF2q:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return u});var i=n("ofXK"),r=n("mrSG"),o=n("8LU1"),s=n("R1ws"),a=n("/KA4"),c=n("fXoL");let l=(()=>{class e{constructor(e,t,n){this.element=e,this.renderer=t,this.animationType=n,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const e=Object(o.e)(this.element);e&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(e,"nz-animate-disabled"):this.renderer.removeClass(e,"nz-animate-disabled"))}}return e.\u0275fac=function(t){return new(t||e)(c.Qb(c.l),c.Qb(c.G),c.Qb(s.a,8))},e.\u0275dir=c.Lb({type:e,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[c.Cb]}),Object(r.b)([Object(a.a)(),Object(r.c)("design:type",Boolean)],e.prototype,"nzNoAnimation",void 0),e})(),u=(()=>{class e{}return e.\u0275mod=c.Ob({type:e}),e.\u0275inj=c.Nb({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})()},YTm4:function(e,t,n){"use strict";e.exports=function(e){return e?function(t){for(var n=String(t[0]),i=0,r=e;--r;)n+="\x01"+t[++i];return n}:function(){return""}}},Yen0:function(e,t,n){"use strict";n.d(t,"b",function(){return O}),n.d(t,"a",function(){return E}),n.d(t,"d",function(){return x}),n.d(t,"c",function(){return k});var i=n("1QEH"),r=n("kBjl"),o=n("rWdj"),s=n("2C6G"),a=n("t3R0"),c=n("WXJZ"),l=n("/jXB"),u=n("JvOi"),h=n("EMzn"),d=n("Xizt"),p=n("BLR7"),f=n("EkME"),g=n("5XwX"),m=n("19Hc"),b=n("LViu"),v=n("51nL"),y=n("4suF"),w=n("axIb"),_=n("Mbdf");function O(e,t){var n;e&&e.kind===l.a.DOCUMENT||Object(a.a)(0,"Must provide valid Document AST"),t&&(t.assumeValid||t.assumeValidSDL)||Object(f.a)(e);for(var r=[],o=[],s=0,c=e.definitions;s0?function(){return n.map(function(e){return t.getNamedType(e)})}:[],o=i&&i.length>0?function(){return S(i,function(e){return t.buildField(e)})}:Object.create(null);return new w.f({name:e.name.value,description:x(e,this._options),interfaces:r,fields:o,astNode:e})},t._makeInterfaceDef=function(e){var t=this,n=e.fields,i=n&&n.length>0?function(){return S(n,function(e){return t.buildField(e)})}:Object.create(null);return new w.c({name:e.name.value,description:x(e,this._options),fields:i,astNode:e})},t._makeEnumDef=function(e){var t=this,n=e.values||[];return new w.a({name:e.name.value,description:x(e,this._options),values:S(n,function(e){return t.buildEnumValue(e)}),astNode:e})},t._makeUnionDef=function(e){var t=this,n=e.types,i=n&&n.length>0?function(){return n.map(function(e){return t.getNamedType(e)})}:[];return new w.h({name:e.name.value,description:x(e,this._options),types:i,astNode:e})},t._makeScalarDef=function(e){return new w.g({name:e.name.value,description:x(e,this._options),astNode:e})},t._makeInputObjectDef=function(e){var t=this,n=e.fields;return new w.b({name:e.name.value,description:x(e,this._options),fields:n?function(){return S(n,function(e){return t.buildInputField(e)})}:Object.create(null),astNode:e})},e}();function S(e,t){return Object(c.a)(e,function(e){return e.name.value},t)}function T(e){var t=Object(g.b)(y.b,e);return t&&t.reason}function x(e,t){if(e.description)return e.description.value;if(t&&t.commentDescriptions){var n=function(e){var t=e.loc;if(t){for(var n=[],i=t.startToken.prev;i&&i.kind===u.a.COMMENT&&i.next&&i.prev&&i.line+1===i.next.line&&i.line!==i.prev.line;){var r=String(i.value);n.push(r),i=i.prev}return n.reverse().join("\n")}}(e);if(void 0!==n)return Object(p.a)("\n"+n)}}function k(e,t){return O(Object(h.parse)(e,t),t)}},Yhw5:function(e,t,n){"use strict";n.d(t,"a",function(){return U});var i=n("HaE+"),r=n("z6cu"),o=n("LRne"),s=n("lJxs"),a=n("JIr8"),c=n("tk/3"),l=n("PDj5"),u=n("TirB"),h=n("EMzn"),d=n("51nL"),p=n("L2ys"),f=n("dQau"),g=n("XYXw"),m=n("Yen0"),b=n("93gR"),v=n("yu+w"),y=n.n(v),w=n("V5dU"),_=n("2C6G"),O=n("kBjl"),C=n("WXJZ"),E=n("Mbdf"),S=n("F8X2"),T=n("axIb"),x=n("4suF"),k=n("LViu"),I=n("19Hc"),D=n("6EqW"),z=n("4RMZ"),j=n("i1zs"),A=n.n(j);const R=(e,{maxDepth:t=1,currentDepth:n=0}={})=>{if(!e)return;const i=Object(T.A)(e);if(Object(T.I)(e)||!i||!i.getFields)return;if(n>=t)return;const r=i&&i.getFields();return{kind:"SelectionSet",selections:Object.keys(r).map(e=>{const i=r[e];return{kind:"Field",name:{kind:"Name",value:e},selectionSet:R(i?i.type:null,{maxDepth:t,currentDepth:n+1})}})}},N=(e,t)=>{if(0===t.length)return e;let n="",i=0;return t.forEach(({index:t,string:r})=>{n+=e.slice(i,t)+r,i=t}),n+=e.slice(i),n};var L=n("BGZm"),M=n("/jXB"),F=n("ADFt");const P=e=>e.trim().replace(/[^A-Za-z0-9]/g,"_").replace(/_+/g,"_").substr(0,20)+(1e3*Math.random()).toFixed(0),V=e=>`${e}Fields`,G=e=>({kind:M.a.FRAGMENT_SPREAD,name:{kind:M.a.NAME,value:e}}),B=(e,t)=>Object.keys(e).map(n=>{const i=t.getType(n),r=i&&i.getFields();return{kind:M.a.FRAGMENT_DEFINITION,name:{kind:M.a.NAME,value:V(n)},typeCondition:{kind:M.a.NAMED_TYPE,name:{kind:M.a.NAME,value:n}},selectionSet:{kind:M.a.SELECTION_SET,selections:e[n].map(e=>{const t=r&&r[e];return{kind:M.a.FIELD,name:{kind:M.a.NAME,value:e},type:t?t.type.inspect():""}})}}}),W=(e,t)=>((e,t)=>Object(F.a)(e,t))(e.value,t);var $=n("fXoL");let U=(()=>{class e{constructor(e,t){this.http=e,this.notifyService=t,this.defaultHeaders={"Content-Type":"application/json",Accept:"application/json"},this.introspectionData={},this.api_url=localStorage.getItem("altair:url"),this.method="POST",this.setHeaders()}sendRequest(e,t){const{resolvedFiles:n}=this.normalizeFiles(t.files);this.setUrl(e).setHTTPMethod(t.method).setHeaders(t.headers,{skipDefaults:this.isGETRequest(t.method)||!!n.length});const i=(new Date).getTime();return this._send({query:t.query,variables:t.variables,selectedOperation:t.selectedOperation,files:t.files,withCredentials:t.withCredentials}).pipe(Object(s.a)(e=>{const t=(new Date).getTime();return{response:e,meta:{responseTime:t-i,headers:e.headers.keys().reduce((t,n)=>({...t,[n]:e.headers.get(n)}),{})}}}))}isGETRequest(e=this.method){return"get"===e.toLowerCase()}setHeaders(e=[],t={skipDefaults:!1}){let n=new c.f;t.skipDefaults||(n=new c.f(this.defaultHeaders));const i=["Origin"];return e&&e.length&&e.forEach(e=>{!i.includes(e.key)&&e.enabled&&e.key&&e.value&&(n=n.set(e.key,e.value))}),this.headers=n,this}getParamsFromData(e){return Object.keys(e).reduce((t,n)=>e[n]?t.set(n,"object"==typeof e[n]?JSON.stringify(e[n]):e[n]):t,new c.g)}setUrl(e){return this.api_url=e,this}setHTTPMethod(e){return this.method=e,this}getIntrospectionRequest(e,t){const n={query:Object(l.a)(),headers:t.headers,method:t.method,withCredentials:t.withCredentials,variables:"{}",selectedOperation:"IntrospectionQuery"};return this.sendRequest(e,n).pipe(Object(s.a)(e=>{if(D.a.log("introspection",e.response),!e.response.ok)throw new Error(`Introspection request failed with: ${e.response.status}`);return e}),Object(a.a)(t=>(D.a.log("Error from first introspection query.",t),this.sendRequest(e,{...n,query:"\n\n query IntrospectionQuery {\n __schema {\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n description\n args {\n ...InputValue\n }\n onOperation\n onFragment\n onField\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n description\n fields(includeDeprecated: true) {\n name\n description\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n description\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n description\n type { ...TypeRef }\n defaultValue\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n"}).pipe(Object(s.a)(e=>{if(D.a.log("old introspection",e),!e.response.ok)throw new Error(`Introspection request failed with: ${e.response.status}`);return e})))))}getIntrospectionSchema(e){if(!e||!e.__schema)return null;try{return Object(u.a)(e)}catch(t){D.a.log("Trying old buildClientSchema.",t);try{const t=function(e,t){const n=e.__schema,i=Object(O.a)(n.types,e=>e.name),r=Object(O.a)(I.g.concat(k.introspectionTypes),e=>e.name);function o(e){if(e.kind===k.TypeKind.LIST){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return Object(T.d)(o(t))}if(e.kind===k.TypeKind.NON_NULL){const t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");const n=o(t);return Object(T.e)(Object(T.t)(n))}if(!e.name)throw new Error("Unknown type reference: "+JSON.stringify(e));return s(e.name)}function s(e){if(r[e])return r[e];const t=i[e];if(!t)throw new Error(`Invalid or incomplete schema, unknown type: ${e}. Ensure that a full introspection query is used in order to build a client schema.`);const n=function(e){if(e&&e.name&&e.kind)switch(e.kind){case k.TypeKind.SCALAR:return new T.g({name:(n=e).name,description:n.description,serialize:e=>e});case k.TypeKind.OBJECT:return function(e){if(!e.interfaces)throw new Error("Introspection result missing interfaces: "+JSON.stringify(e));return new T.f({name:e.name,description:e.description,interfaces:e.interfaces.map(l),fields:()=>u(e)})}(e);case k.TypeKind.INTERFACE:return new T.c({name:(t=e).name,description:t.description,fields:()=>u(t)});case k.TypeKind.UNION:return function(e){if(!e.possibleTypes)throw new Error("Introspection result missing possibleTypes: "+JSON.stringify(e));return new T.h({name:e.name,description:e.description,types:e.possibleTypes.map(c)})}(e);case k.TypeKind.ENUM:return function(e){if(!e.enumValues)throw new Error("Introspection result missing enumValues: "+JSON.stringify(e));return new T.a({name:e.name,description:e.description,values:Object(C.a)(e.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))})}(e);case k.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields)throw new Error("Introspection result missing inputFields: "+JSON.stringify(e));return new T.b({name:e.name,description:e.description,fields:()=>p(e.inputFields)})}(e)}var t,n;throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema:"+JSON.stringify(e))}(t);return r[e]=n,n}function a(e){const t=o(e);return Object(_.a)(Object(T.O)(t),"Introspection must provide output type for fields."),t}function c(e){const t=o(e);return Object(T.u)(t)}function l(e){const t=o(e);return Object(T.o)(t)}function u(e){if(!e.fields)throw new Error("Introspection result missing fields: "+JSON.stringify(e));return Object(C.a)(e.fields,e=>e.name,e=>{if(!e.args)throw new Error("Introspection result missing field args: "+JSON.stringify(e));return{description:e.description,deprecationReason:e.deprecationReason,type:a(e.type),args:p(e.args)}})}function p(e){return Object(C.a)(e,e=>e.name,f)}function f(e){const t=function(e){const t=o(e);return Object(_.a)(Object(T.G)(t),"Introspection must provide input type for arguments."),t}(e.type),n=e.defaultValue?Object(E.a)(Object(h.parseValue)(e.defaultValue),t):void 0;return{name:e.name,description:e.description,type:t,defaultValue:n}}const g=n.types.map(e=>s(e.name)),m=n.queryType?c(n.queryType):null,b=n.mutationType?c(n.mutationType):null,v=n.subscriptionType?c(n.subscriptionType):null,y=n.directives?n.directives.map(function(e){const t=e.locations?e.locations.slice():[].concat(e.onField?[S.a.FIELD]:[],e.onOperation?[S.a.QUERY,S.a.MUTATION,S.a.SUBSCRIPTION]:[],e.onFragment?[S.a.FRAGMENT_DEFINITION,S.a.FRAGMENT_SPREAD,S.a.INLINE_FRAGMENT]:[]);if(!e.args)throw new Error("Introspection result missing directive args: "+JSON.stringify(e));return new x.c({name:e.name,description:e.description,locations:t,args:p(e.args)})}):[];return new d.a({query:m,mutation:b,subscription:v,types:g,directives:y,assumeValid:undefined,allowedLegacyNames:undefined})}(e);return this.notifyService.info("\n Looks like your server is still using an old version of GraphQL (older than v0.5.0).\n You should upgrade to avoid broken implementations.\n "),t}catch(t){D.a.log("Bad introspection data.",t);const e=t.message?t.message:t.toString();this.notifyService.error(`\n Looks like the GraphQL schema is invalid.\n Please check that your schema in your GraphQL server conforms to the latest GraphQL spec.\n Error message: ${e}.\n `)}return null}}hasInvalidFileVariable(e){const{erroneousFiles:t}=this.normalizeFiles(e);return Boolean(t.length)}fillAllFields(e,t,n,i,r){return((e,t,n,i,{maxDepth:r=1}={})=>{const o=[];if(!e)return{insertions:o,result:t};let s=i.state;"SelectionSet"===s.kind&&(s.wasSelectionSet=!0,s={...s,...s.prevState});const a=A()(e,i.state).type,c=(e=>{if(!e)return null;try{return Object(h.parse)(e)}catch(t){return D.a.error("Something wrong with your query",t),null}})(t=t.replace(/{\s*}/g,""));if(!a||!c)return{insertions:o,result:t};const l=new z.a(e);return Object(p.c)(c,{leave(e){D.a.log(e)},enter(e){if(l.enter(e),"Field"===e.kind&&e.name.value===s.name&&e.loc&&(s.wasSelectionSet||e.loc.startToken.line-1===n.line)){D.a.log(e,l,l.getType(),n,i,r);const s=R(a,{maxDepth:r}),c=((e,t)=>{let n=t,i=t;for(;n;){const t=e.charCodeAt(n-1);if(10===t||13===t||8232===t||8233===t)break;n--,9!==t&&11!==t&&12!==t&&32!==t&&160!==t&&(i=n)}return e.substring(n,i)})(t,e.loc.start);return s&&o.push({index:e.loc.end,string:" "+Object(f.print)(s).replace(/\n/g,"\n"+c)}),{...e,selectionSet:s}}}}),{insertions:o,result:N(t,o)}})(e,t,n,i,r)}parseQuery(e){const t={definitions:[],kind:"Document"};if(!e)return t;try{return Object(h.parse)(e)}catch(n){return D.a.error("Something wrong with your query",n),t}}isSchema(e){return e instanceof d.a}isSubscriptionQuery(e){const t=this.parseQuery(e);return!!t.definitions&&t.definitions.reduce((e,t)=>e||"OperationDefinition"===t.kind&&"subscription"===t.operation,!1)}getOperations(e){const t=this.parseQuery(e);return t.definitions?t.definitions.filter(e=>!("OperationDefinition"!==e.kind||!e.name||!e.name.value)):[]}getOperationAtIndex(e,t){return this.getOperations(e).find(e=>Boolean(e.loc&&e.loc.start<=t&&e.loc.end>=t))}getOperationNameAtIndex(e,t){const n=this.getOperationAtIndex(e,t);return n&&n.name&&n.name.value?n.name.value:""}getSelectedOperationData({query:e="",queryCursorIndex:t,selectedOperation:n="",selectIfOneOperation:i=!1}){let r=null;const o=this.getOperations(e);let s=!1;if(o){const a=o.map(e=>e.name&&"Name"===e.name.kind&&e.name.value).filter(Boolean);if(a.length>1){let i="";void 0!==t&&(i=this.getOperationNameAtIndex(e,t)),n&&!a.includes(n)||!n?i?r=i:(r=null,s=!0):r=n}else r=i&&a[0]||null}else r=null;return{selectedOperation:r,operations:o,requestSelectedOperationFromUser:s}}prettify(e,t=2){return Object(i.a)(function*(){const i=yield n.e(15).then(n.t.bind(null,"MlsZ",7)),r=yield n.e(14).then(n.t.bind(null,"azY9",7));return i.format(e,{parser:"graphql",plugins:[r],tabWidth:t})})()}compress(e){var t=this;return Object(i.a)(function*(){return y()(yield t.prettify(e))})()}nameQuery(e){if(!e)return;const t=this.parseQuery(e),n=Object(p.c)(t,{OperationDefinition(t){D.a.log(t);const n=t.name||{kind:"Name",value:P(e)};return{...t,name:n}}});return Object(f.print)(n)}refactorQuery(e,t){if(!e||!t)return;const n=this.parseQuery(e),i=(e=>{const t={};return Object.values(e.map).forEach(e=>{e.count>=2&&e.fields.length&&e.fields[0].forEach(n=>{e.fields.slice(1).every(e=>e.includes(n))&&(t[e.name]=t[e.name]||[],t[e.name].push(n))})}),t})(((e,t)=>{const n=new z.a(t),i={name:"root",count:0,fields:[],children:{}},r={root:i};function o(e){const t=Object(T.A)(e),n=t.toString();return r[n]=r[n]||{name:n,count:0,type:t,fields:[],children:{}},r[n]}const s={enter(e){n.enter(e);const t=n.getType();if(e.type=t,t&&!Object(T.I)(Object(T.A)(t))){const r=o(t);if(r.count++,e.selectionSet&&e.selectionSet.selections){const t=e.selectionSet.selections.filter(e=>!e.selectionSet||!e.selectionSet.selections).filter(e=>e.kind===M.a.FIELD).filter(e=>e.name&&e.name.value).map(e=>e.name&&e.name.value).filter(Boolean);r.fields.push(t)}const s=n.getParentType();s?o(s).children[r.name]=r:i.children[r.name]=r}return e},leave(e){n.leave(e)}},a={OperationDefinition:s,Field:s};return Object(p.c)(e,Object(p.e)(n,a)),{map:r,tree:i}})(n,t)),r=((e,t,n)=>{const i={};let r=[];const o=new z.a(t);return{document:Object(p.c)(e,{enter(e){switch(o.enter(e),e.kind){case M.a.ARGUMENT:{const t=o.getFieldDef();if(e.value.kind!==M.a.VARIABLE&&t&&t.args){const n=t.args.find(t=>t.name===e.name.value);if(n){const t=P(n.name),o={name:t,value:W(e,void 0),type:n.type.inspect()};return i[t]=o,r.push(o),{...e,value:{kind:M.a.VARIABLE,name:{kind:M.a.NAME,value:t}}}}}}}},leave(e){switch(o.leave(e),e.kind){case M.a.OPERATION_DEFINITION:{const t={...e,variableDefinitions:(e.variableDefinitions||[]).concat(r.map(e=>({kind:M.a.VARIABLE_DEFINITION,variable:{kind:M.a.VARIABLE,name:{kind:M.a.NAME,value:e.name}},type:{kind:M.a.NAMED_TYPE,name:{kind:M.a.NAME,value:e.type}}})))},n=e.name||{kind:M.a.NAME,value:P("refactored")};return t.name=n,r=[],t}}}}),variables:Object.keys(i).reduce((e,t)=>(e[t]=i[t].value,e),{})}})(((e,t,n)=>Object(p.c)(e,{Document:e=>({...e,definitions:e.definitions.concat(B(t,n))})}))(((e,t,n)=>{const i=new z.a(n);return Object(p.c)(e,Object(p.e)(i,{Field:{enter(e){i.enter(e);const n=i.getType();if(n){const i=(e=>Object(T.A)(e).toString())(n),r=t[i];if(r&&e.selectionSet&&r.every(t=>!!e.selectionSet.selections.find(e=>e.name.value===t)))return{...e,selectionSet:{...e.selectionSet,selections:[...e.selectionSet.selections.filter(e=>!r.includes(e.name.value)),G(V(i))]}}}},leave(e){i.leave(e)}}}))})(n,i,t),i,t),t);return{query:Object(f.print)(r.document),variables:r.variables}}getSDLSync(e){return this.isSchema(e)?Object(g.b)(e):""}getSDL(e){var t=this;return Object(i.a)(function*(){return t.isSchema(e)?t.prettify(Object(g.b)(e)):""})()}sdlToSchema(e){return Object(m.c)(e)}validateSchema(e){return Object(b.b)(e)}createStreamClient(e){return new EventSource(e)}closeStreamClient(e){e&&e.close&&e.close()}normalizeFiles(e){if(!e||!e.length)return{resolvedFiles:[],erroneousFiles:e||[]};let t=[],n=[];return e.forEach(e=>{if(e.name)if(e.data){if(e.isMultiple)return Array.isArray(e.data)?void e.data.forEach((i,r)=>{const o=this.normalizeFiles([{name:`${e.name}.${r}`,data:i}]);t=t.concat(o.resolvedFiles),n=n.concat(o.erroneousFiles)}):void n.push(e);if(Array.isArray(e.data)){const i=this.normalizeFiles([{name:e.name,data:e.data[0]}]);return t=t.concat(i.resolvedFiles),void(n=n.concat(i.erroneousFiles))}e.data instanceof File?t.push(e):n.push(e)}else n.push(e);else n.push(e)}),{resolvedFiles:t,erroneousFiles:n}}_send({query:e,variables:t,selectedOperation:n,files:i,withCredentials:s}){const l={query:e,variables:{},operationName:null};let u,h;const d=this.headers;if(n&&(l.operationName=n),t)try{l.variables=JSON.parse(t)}catch(p){return D.a.error(p),Object(r.a)(p)}if(this.isGETRequest())h=this.getParamsFromData(l);else{const{resolvedFiles:e}=this.normalizeFiles(i);if(e&&e.length){const t={};l.variables=l.variables||{},e.forEach((e,n)=>{Object(L.i)(l.variables,e.name,null),t[n]=[`variables.${e.name}`]});const n=new FormData;n.append("operations",JSON.stringify(l)),n.append("map",JSON.stringify(t)),e.forEach((e,t)=>{n.append(`${t}`,e.data||"")}),u=n}else u=JSON.stringify(l)}if(!this.api_url)throw new Error("You need to have a URL for the request!");return this.http.request(this.method,this.api_url,{...!this.isGETRequest()&&{body:u},params:h,headers:d,observe:"response",withCredentials:s}).pipe(Object(a.a)(e=>{if(D.a.error(e),e.error instanceof ErrorEvent)D.a.error("An error occurred:",e.error.message);else{if(!(e.error instanceof ProgressEvent))return D.a.error(e.error),D.a.error(`Backend returned code ${e.status}, body was: ${e.error}`),Object(o.a)(new c.h({body:e.error||e.message,headers:e.headers,status:e.status,statusText:e.statusText,url:e.url||void 0}));D.a.error("Progress event error",e.error)}return Object(r.a)(e)}))}}return e.\u0275fac=function(t){return new(t||e)($.ac(c.c),$.ac(w.a))},e.\u0275prov=$.Mb({token:e,factory:e.\u0275fac}),e})()},Ylt2:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("quSY");class r extends i.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},YsTz:function(e,t,n){"use strict";var i=n("52x2")();e.exports=function(e){return e!==i&&null!==e}},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},YyF0:function(e,t,n){"use strict";var i=n("kBPl");e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(t){return!1}return!i(e)}},"ZBm+":function(e,t,n){"use strict";n.r(t),n.d(t,"unusedFragMessage",function(){return r}),n.d(t,"NoUnusedFragments",function(){return o});var i=n("dWS+");function r(e){return'Fragment "'.concat(e,'" is never used.')}function o(e){var t=[],n=[];return{OperationDefinition:function(e){return t.push(e),!1},FragmentDefinition:function(e){return n.push(e),!1},Document:{leave:function(){for(var o=Object.create(null),s=0;s=0?n&&r?r-1:r:1:!1!==e&&i(e)}},a88y:function(e,t,n){"use strict";var i=n("lq5y"),r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols;e.exports=function(e,t){var n,c=Object(i(t));if(e=Object(i(e)),s(c).forEach(function(i){try{r(e,i,o(t,i))}catch(s){n=s}}),"function"==typeof a&&a(c).forEach(function(i){try{r(e,i,o(t,i))}catch(s){n=s}}),void 0!==n)throw n;return e}},aEDk:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return p}),n.d(t,"c",function(){return a});var i=n("fXoL");function r(e){return null!==e&&"object"==typeof e}let o=(()=>{let e=class{};return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[]]}),e})(),s=(()=>{let e=class{transform(e){return Array.isArray(e)||!r(e)?e:Object.keys(e)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Pb({name:"keys",type:e,pure:!0}),e})(),a=(()=>{let e=class{transform(e){return Array.isArray(e)||!r(e)?e:Object.keys(e).map(t=>e[t])}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Pb({name:"values",type:e,pure:!0}),e})(),c=(()=>{let e=class{};return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[]]}),e})(),l=(()=>{let e=class{};return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[]]}),e})(),u=(()=>{let e=class{};return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[]]}),e})(),h=(()=>{let e=class{};return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[]]}),e})(),d=(()=>{let e=class{};return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[]]}),e})(),p=(()=>{let e=class{};return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[o,l,u,h,c,d]}),e})()},aFjk:function(e,t,n){"use strict";e.exports=n("zs8F")("forEach")},aSse:function(e,t,n){"use strict";var i=Object.prototype.toString,r=i.call("");e.exports=function(e){return"string"==typeof e||e&&"object"==typeof e&&(e instanceof String||i.call(e)===r)||!1}},agSv:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("fXoL"),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("l7P3"),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("EY2u"),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("HDdC"),rxjs__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("LRne"),rxjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("VRyK"),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("qgXg"),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("jtHE"),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("w1tV"),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("pLZG"),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("lJxs"),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("bOdf"),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("tS1D"),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("Kj3r"),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("JIr8"),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("IzEk"),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("1G5W"),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("eIep"),rxjs_operators__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("zP0r"),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("pxpQ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("zp1y"),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("Kqap");function DevToolsFeatureOptions(){}class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.s("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.s("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(e){const t={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}};let n="function"==typeof e?e():e;const i=Object.assign({},t,{features:n.features||!!n.logOnly&&{pause:!0,export:!0,test:!0}||t.features},n);if(i.maxAge&&i.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${i.maxAge}`);return i}const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(e,t){if(this.action=e,this.timestamp=t,this.type=PERFORM_ACTION,void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(e){this.timestamp=e,this.type=RESET}}class Rollback{constructor(e){this.timestamp=e,this.type=ROLLBACK}}class Commit{constructor(e){this.timestamp=e,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(e){this.id=e,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(e,t,n=!0){this.start=e,this.end=t,this.active=n,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(e){this.index=e,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(e){this.actionId=e,this.type=JUMP_TO_ACTION}}class ImportState{constructor(e){this.nextLiftedState=e,this.type=IMPORT_STATE}}class LockChanges{constructor(e){this.status=e,this.type=LOCK_CHANGES}}class PauseRecording{constructor(e){this.status=e,this.type=PAUSE_RECORDING}}let DevtoolsDispatcher=(()=>{class e extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.a{}return e.\u0275fac=function(t){return \u0275DevtoolsDispatcher_BaseFactory(t||e)},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Mb({token:e,factory:e.\u0275fac}),e})();const \u0275DevtoolsDispatcher_BaseFactory=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yb(DevtoolsDispatcher);function difference(e,t){return e.filter(e=>t.indexOf(e)<0)}function unliftState(e){const{computedStates:t,currentStateIndex:n}=e;if(n>=t.length){const{state:e}=t[t.length-1];return e}const{state:i}=t[n];return i}function unliftAction(e){return e.actionsById[e.nextActionId-1]}function liftAction(e){return new PerformAction(e,+Date.now())}function sanitizeActions(e,t){return Object.keys(t).reduce((n,i)=>{const r=Number(i);return n[r]=sanitizeAction(e,t[r],r),n},{})}function sanitizeAction(e,t,n){return Object.assign(Object.assign({},t),{action:e(t.action,n)})}function sanitizeStates(e,t){return t.map((t,n)=>({state:sanitizeState(e,t.state,n),error:t.error}))}function sanitizeState(e,t,n){return e(t,n)}function shouldFilterActions(e){return e.predicate||e.actionsSafelist||e.actionsBlocklist}function filterLiftedState(e,t,n,i){const r=[],o={},s=[];return e.stagedActionIds.forEach((a,c)=>{const l=e.actionsById[a];l&&(c&&isActionFiltered(e.computedStates[c],l,t,n,i)||(o[a]=l,r.push(a),s.push(e.computedStates[c])))}),Object.assign(Object.assign({},e),{stagedActionIds:r,actionsById:o,computedStates:s})}function isActionFiltered(e,t,n,i,r){const o=n&&!n(e,t.action),s=i&&!t.action.type.match(i.map(e=>escapeRegExp(e)).join("|")),a=r&&t.action.type.match(r.map(e=>escapeRegExp(e)).join("|"));return o||s||a}function escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.s("@ngrx/store-devtools Redux Devtools Extension");function ReduxDevtoolsExtensionConnection(){}function ReduxDevtoolsExtensionConfig(){}function ReduxDevtoolsExtension(){}let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(e,t,n){this.config=t,this.dispatcher=n,this.devtoolsExtension=e,this.createActionStreams()}notify(e,t){if(this.devtoolsExtension)if(e.type===PERFORM_ACTION){if(t.isLocked||t.isPaused)return;const n=unliftState(t);if(shouldFilterActions(this.config)&&isActionFiltered(n,e,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const i=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,n,t.currentStateIndex):n,r=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,e,t.nextActionId):e;this.sendToReduxDevtools(()=>this.extensionConnection.send(r,i))}else{const e=Object.assign(Object.assign({},t),{stagedActionIds:t.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,t.actionsById):t.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,t.computedStates):t.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,e,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.a(e=>{const t=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=t,t.init(),t.subscribe(t=>e.next(t)),t.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.a}createActionStreams(){const e=this.createChangesObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.a)()),t=e.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(e=>e.type===ExtensionActionTypes.START)),n=e.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(e=>e.type===ExtensionActionTypes.STOP)),i=e.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(e=>e.type===ExtensionActionTypes.DISPATCH),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(e=>this.unwrapAction(e.payload)),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(e=>e.type===IMPORT_STATE?this.dispatcher.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(e=>e.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.l),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(()=>e),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.a)(()=>Object(rxjs__WEBPACK_IMPORTED_MODULE_4__.a)(e)),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.a)(1)):Object(rxjs__WEBPACK_IMPORTED_MODULE_4__.a)(e))),r=e.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)(e=>e.type===ExtensionActionTypes.ACTION),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(e=>this.unwrapAction(e.payload))).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(n)),o=i.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(n));this.start$=t.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(n)),this.actions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(()=>r)),this.liftedActions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(()=>o))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(e){const t={name:e.name,features:e.features,serialize:e.serialize};return!1!==e.maxAge&&(t.maxAge=e.maxAge),t}sendToReduxDevtools(e){try{e()}catch(t){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",t)}}}return DevtoolsExtension.\u0275fac=function(e){return new(e||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Mb({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.b},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function ComputedState(){}function LiftedAction(){}function LiftedActions(){}function LiftedState(){}function computeNextEntry(e,t,n,i,r){if(i)return{state:n,error:"Interrupted by an error up the chain"};let o,s=n;try{s=e(n,t)}catch(a){o=a.toString(),r.handleError(a)}return{state:s,error:o}}function recomputeStates(e,t,n,i,r,o,s,a,c){if(t>=e.length&&e.length===o.length)return e;const l=e.slice(0,t),u=o.length-(c?1:0);for(let h=t;h-1?c:computeNextEntry(n,t,u,d,a);l.push(p)}return c&&l.push(e[e.length-1]),l}function liftInitialState(e,t){return{monitorState:t(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:e,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(e,t,n,i,r={}){return o=>(s,a)=>{let{monitorState:c,actionsById:l,nextActionId:u,stagedActionIds:h,skippedActionIds:d,committedState:p,currentStateIndex:f,computedStates:g,isLocked:m,isPaused:b}=s||t;function v(e){let t=e,n=h.slice(1,t+1);for(let i=0;i-1===n.indexOf(e)),h=[0,...h.slice(t+1)],p=g[t].state,g=g.slice(t),f=f>t?f-t:0}function y(){l={0:liftAction(INIT_ACTION)},u=1,h=[0],d=[],p=g[f].state,f=0,g=[]}s||(l=Object.create(l));let w=0;switch(a.type){case LOCK_CHANGES:m=a.status,w=1/0;break;case PAUSE_RECORDING:b=a.status,b?(h=[...h,u],l[u]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),u++,w=h.length-1,g=g.concat(g[g.length-1]),f===h.length-2&&f++,w=1/0):y();break;case RESET:l={0:liftAction(INIT_ACTION)},u=1,h=[0],d=[],p=e,f=0,g=[];break;case COMMIT:y();break;case ROLLBACK:l={0:liftAction(INIT_ACTION)},u=1,h=[0],d=[],f=0,g=[];break;case TOGGLE_ACTION:{const{id:e}=a,t=d.indexOf(e);d=-1===t?[e,...d]:d.filter(t=>t!==e),w=h.indexOf(e);break}case SET_ACTIONS_ACTIVE:{const{start:e,end:t,active:n}=a,i=[];for(let r=e;rr.maxAge&&(g=recomputeStates(g,w,o,p,l,h,d,n,b),v(h.length-r.maxAge),w=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.l:if(g.filter(e=>e.error).length>0)w=0,r.maxAge&&h.length>r.maxAge&&(g=recomputeStates(g,w,o,p,l,h,d,n,b),v(h.length-r.maxAge),w=1/0);else{if(!b&&!m){f===h.length-1&&f++;const e=u++;l[e]=new PerformAction(a,+Date.now()),h=[...h,e],w=h.length-1,g=recomputeStates(g,w,o,p,l,h,d,n,b)}g=g.map(e=>Object.assign(Object.assign({},e),{state:o(e.state,RECOMPUTE_ACTION)})),f=h.length-1,r.maxAge&&h.length>r.maxAge&&v(h.length-r.maxAge),w=1/0}break;default:w=1/0}return g=recomputeStates(g,w,o,p,l,h,d,n,b),c=i(c,a),{monitorState:c,actionsById:l,nextActionId:u,stagedActionIds:h,skippedActionIds:d,committedState:p,currentStateIndex:f,computedStates:g,isLocked:m,isPaused:b}}}let StoreDevtools=(()=>{class e{constructor(e,t,n,i,r,o,s,a){const c=liftInitialState(s,a.monitor),l=liftReducerWith(s,c,o,a.monitor,a),u=Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(t.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(1)),i.actions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(liftAction)),e,i.liftedActions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.b)(rxjs__WEBPACK_IMPORTED_MODULE_6__.b)),h=n.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(l)),d=new rxjs__WEBPACK_IMPORTED_MODULE_7__.a(1),p=u.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.a)(h),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.a)(({state:e},[t,n])=>{let r=n(e,t);return t.type!==PERFORM_ACTION&&shouldFilterActions(a)&&(r=filterLiftedState(r,a.predicate,a.actionsSafelist,a.actionsBlocklist)),i.notify(t,r),{state:r,action:t}},{state:c,action:null})).subscribe(({state:e,action:t})=>{d.next(e),t.type===PERFORM_ACTION&&r.next(t.action)}),f=i.start$.subscribe(()=>{this.refresh()}),g=d.asObservable(),m=g.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(unliftState));this.extensionStartSubscription=f,this.stateSubscription=p,this.dispatcher=e,this.liftedState=g,this.state=m}dispatch(e){this.dispatcher.next(e)}next(e){this.dispatcher.next(e)}error(e){}complete(){}performAction(e){this.dispatch(new PerformAction(e,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(e){this.dispatch(new ToggleAction(e))}jumpToAction(e){this.dispatch(new JumpToAction(e))}jumpToState(e){this.dispatch(new JumpToState(e))}importState(e){this.dispatch(new ImportState(e))}lockChanges(e){this.dispatch(new LockChanges(e))}pauseRecording(e){this.dispatch(new PauseRecording(e))}}return e.\u0275fac=function(t){return new(t||e)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.a),_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.e),_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.f),_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(_angular_core__WEBPACK_IMPORTED_MODULE_0__.m),_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.c),_angular_core__WEBPACK_IMPORTED_MODULE_0__.ac(STORE_DEVTOOLS_CONFIG))},e.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Mb({token:e,factory:e.\u0275fac}),e})();const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.s("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(e,t){return Boolean(e)||t.monitor!==noMonitor}function createReduxDevtoolsExtension(){return"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:null}function createStateObservable(e){return e.state}let StoreDevtoolsModule=(()=>{class e{static instrument(t={}){return{ngModule:e,providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:t},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.g,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.d,useExisting:DevtoolsDispatcher}]}}}return e.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Ob({type:e}),e.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Nb({factory:function(t){return new(t||e)}}),e})()},axIb:function(e,t,n){"use strict";n.d(t,"S",function(){return w}),n.d(t,"x",function(){return _}),n.d(t,"R",function(){return O}),n.d(t,"w",function(){return C}),n.d(t,"N",function(){return E}),n.d(t,"u",function(){return S}),n.d(t,"H",function(){return T}),n.d(t,"o",function(){return x}),n.d(t,"T",function(){return k}),n.d(t,"y",function(){return I}),n.d(t,"E",function(){return D}),n.d(t,"l",function(){return z}),n.d(t,"F",function(){return j}),n.d(t,"m",function(){return A}),n.d(t,"J",function(){return R}),n.d(t,"q",function(){return N}),n.d(t,"L",function(){return L}),n.d(t,"s",function(){return M}),n.d(t,"G",function(){return F}),n.d(t,"n",function(){return P}),n.d(t,"O",function(){return V}),n.d(t,"v",function(){return G}),n.d(t,"I",function(){return B}),n.d(t,"p",function(){return W}),n.d(t,"D",function(){return $}),n.d(t,"k",function(){return U}),n.d(t,"C",function(){return H}),n.d(t,"j",function(){return q}),n.d(t,"d",function(){return Q}),n.d(t,"e",function(){return K}),n.d(t,"U",function(){return X}),n.d(t,"z",function(){return Y}),n.d(t,"M",function(){return J}),n.d(t,"t",function(){return Z}),n.d(t,"B",function(){return ee}),n.d(t,"K",function(){return te}),n.d(t,"r",function(){return ne}),n.d(t,"A",function(){return ie}),n.d(t,"g",function(){return se}),n.d(t,"f",function(){return ae}),n.d(t,"i",function(){return de}),n.d(t,"P",function(){return pe}),n.d(t,"c",function(){return fe}),n.d(t,"h",function(){return ge}),n.d(t,"a",function(){return be}),n.d(t,"b",function(){return ve}),n.d(t,"Q",function(){return we});var i=n("Y/la"),r=n("rWdj"),o=n("kBjl"),s=n("Wzjs"),a=n("E9SJ"),c=n("t3R0"),l=n("WXJZ"),u=n("Mw0p"),h=n("zpYP");function d(e){return e}var p=n("vJkw"),f=n("ZZnB"),g=n("/jXB"),m=n("ADFt");function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function v(e){for(var t=1;t0?e:void 0}Q.prototype.toString=function(){return"["+String(this.ofType)+"]"},Object(f.a)(Q),Object(p.a)(Q),K.prototype.toString=function(){return String(this.ofType)+"!"},Object(f.a)(K),Object(p.a)(K);var se=function(){function e(e){var t=e.parseValue||d;this.name=e.name,this.description=e.description,this.serialize=e.serialize||d,this.parseValue=t,this.parseLiteral=e.parseLiteral||function(e){return t(Object(m.a)(e))},this.extensions=e.extensions&&Object(a.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),"string"==typeof e.name||Object(c.a)(0,"Must provide name."),null==e.serialize||"function"==typeof e.serialize||Object(c.a)(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||Object(c.a)(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t=e.prototype;return t.toConfig=function(){return{name:this.name,description:this.description,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(f.a)(se),Object(p.a)(se);var ae=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&Object(a.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._fields=le.bind(void 0,e),this._interfaces=ce.bind(void 0,e),"string"==typeof e.name||Object(c.a)(0,"Must provide name."),null==e.isTypeOf||"function"==typeof e.isTypeOf||Object(c.a)(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(Object(r.a)(e.isTypeOf),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function ce(e){var t=re(e.interfaces)||[];return Array.isArray(t)||Object(c.a)(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),t}function le(e){var t=re(e.fields)||{};return ue(t)||Object(c.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(s.a)(t,function(t,n){ue(t)||Object(c.a)(0,"".concat(e.name,".").concat(n," field config must be an object")),!("isDeprecated"in t)||Object(c.a)(0,"".concat(e.name,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"==typeof t.resolve||Object(c.a)(0,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat(Object(r.a)(t.resolve),"."));var o=t.args||{};ue(o)||Object(c.a)(0,"".concat(e.name,".").concat(n," args must be an object with argument names as keys."));var s=Object(i.a)(o).map(function(e){var t=e[1];return{name:e[0],description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(a.a)(t.extensions),astNode:t.astNode}});return v({},t,{name:n,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:Boolean(t.deprecationReason),deprecationReason:t.deprecationReason,extensions:t.extensions&&Object(a.a)(t.extensions),astNode:t.astNode})})}function ue(e){return Object(h.a)(e)&&!Array.isArray(e)}function he(e){return Object(s.a)(e,function(e){return{description:e.description,type:e.type,args:de(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}})}function de(e){return Object(l.a)(e,function(e){return e.name},function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}})}function pe(e){return L(e.type)&&void 0===e.defaultValue}Object(f.a)(ae),Object(p.a)(ae);var fe=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(a.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._fields=le.bind(void 0,e),"string"==typeof e.name||Object(c.a)(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||Object(c.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(r.a)(e.resolveType),"."))}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){return{name:this.name,description:this.description,fields:he(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(f.a)(fe),Object(p.a)(fe);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&Object(a.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._types=me.bind(void 0,e),"string"==typeof e.name||Object(c.a)(0,"Must provide name."),null==e.resolveType||"function"==typeof e.resolveType||Object(c.a)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(Object(r.a)(e.resolveType),"."))}var t=e.prototype;return t.getTypes=function(){return"function"==typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function me(e){var t=re(e.types)||[];return Array.isArray(t)||Object(c.a)(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}Object(f.a)(ge),Object(p.a)(ge);var be=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(a.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._values=(t=this.name,ue(n=e.values)||Object(c.a)(0,"".concat(t," values must be an object with value names as keys.")),Object(i.a)(n).map(function(e){var n=e[0],i=e[1];return ue(i)||Object(c.a)(0,"".concat(t,".").concat(n,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(Object(r.a)(i),".")),!("isDeprecated"in i)||Object(c.a)(0,"".concat(t,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),{name:n,description:i.description,value:"value"in i?i.value:n,isDeprecated:Boolean(i.deprecationReason),deprecationReason:i.deprecationReason,extensions:i.extensions&&Object(a.a)(i.extensions),astNode:i.astNode}})),this._valueLookup=new Map(this._values.map(function(e){return[e.value,e]})),this._nameLookup=Object(o.a)(this._values,function(e){return e.name}),"string"==typeof e.name||Object(c.a)(0,"Must provide name.")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(t)return t.name},t.parseValue=function(e){if("string"==typeof e){var t=this.getValue(e);if(t)return t.value}},t.parseLiteral=function(e,t){if(e.kind===g.a.ENUM){var n=this.getValue(e.value);if(n)return n.value}},t.toConfig=function(){var e=Object(l.a)(this.getValues(),function(e){return e.name},function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}});return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();Object(f.a)(be),Object(p.a)(be);var ve=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&Object(a.a)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=oe(e.extensionASTNodes),this._fields=ye.bind(void 0,e),"string"==typeof e.name||Object(c.a)(0,"Must provide name.")}var t=e.prototype;return t.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e=Object(s.a)(this.getFields(),function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,extensions:e.extensions,astNode:e.astNode}});return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},e}();function ye(e){var t=re(e.fields)||{};return ue(t)||Object(c.a)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),Object(s.a)(t,function(t,n){return!("resolve"in t)||Object(c.a)(0,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),v({},t,{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,extensions:t.extensions&&Object(a.a)(t.extensions),astNode:t.astNode})})}function we(e){return L(e.type)&&void 0===e.defaultValue}Object(f.a)(ve),Object(p.a)(ve)},bHdf:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("5+tZ"),r=n("SpAZ");function o(e=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("5+tZ");function r(e,t){return Object(i.a)(e,t,1)}},bQ7u:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r}),n.d(t,"d",function(){return o}),n.d(t,"c",function(){return s});const i="SET_PREREQUEST_SCRIPT",r="SET_PREREQUEST_ENABLED";class o{constructor(e,t){this.windowId=e,this.payload=t,this.type=i}}class s{constructor(e,t){this.windowId=e,this.payload=t,this.type=r}}},c2HN:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return i})},c3ME:function(e,t,n){"use strict";var i=n("YsTz"),r=Object.keys;e.exports=function(e){return r(i(e)?Object(e):e)}},cEWz:function(e,t,n){"use strict";var i=Object.prototype.toString,r=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(e){return"function"==typeof e&&r(i.call(e))}},cH1L:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var i=n("fXoL"),r=n("ofXK");const o=new i.s("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.X)(r.d)}});let s=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new i.n,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.ac(o,8))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.ac)(o,8))},token:e,providedIn:"root"}),e})(),a=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})()},cV09:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){this.cm=e,this.options=i;var r={listenForChanges:!1};for(var o in i)r[o]=i[o];r.className||(r.className="CodeMirror-search-match"),this.annotation=e.annotateScrollbar(r),this.query=t,this.caseFold=n,this.gap={from:e.firstLine(),to:e.lastLine()+1},this.matches=[],this.update=null,this.findMatches(),this.annotation.update(this.matches);var s=this;e.on("change",this.changeHandler=function(e,t){s.onChange(t)})}function n(e,t,n){return e<=t?e:Math.max(t,e+n)}e.defineExtension("showMatchesOnScrollbar",function(e,n,i){return"string"==typeof i&&(i={className:i}),i||(i={}),new t(this,e,n,i)}),t.prototype.findMatches=function(){if(this.gap){for(var t=0;t=this.gap.to);t++)r.to.line>=this.gap.from&&this.matches.splice(t--,1);for(var n=this.cm.getSearchCursor(this.query,e.Pos(this.gap.from,0),{caseFold:this.caseFold,multiline:this.options.multiline}),i=this.options&&this.options.maxMatches||1e3;n.findNext();){var r;if((r={from:n.from(),to:n.to()}).from.line>=this.gap.to)break;if(this.matches.splice(t++,0,r),this.matches.length>i)break}this.gap=null}},t.prototype.onChange=function(t){var i=t.from.line,r=e.changeEnd(t).line,o=r-t.to.line;if(this.gap?(this.gap.from=Math.min(n(this.gap.from,i,o),t.from.line),this.gap.to=Math.max(n(this.gap.to,i,o),t.from.line)):this.gap={from:t.from.line,to:r+1},o)for(var s=0;s=0;s--){var a=r[s].from(),c=r[s].to();a.line>=n||(c.line>=n&&(c=i(n,0)),n=a.line,null==o?this.uncomment(a,c,e)?o="un":(this.lineComment(a,c,e),o="line"):"un"==o?this.uncomment(a,c,e):this.lineComment(a,c,e))}}),e.defineExtension("lineComment",function(e,s,a){a||(a=t);var c,l=this,u=o(l,e),h=l.getLine(e.line);if(null!=h&&(c=h,!/\bstring\b/.test(l.getTokenTypeAt(i(e.line,0)))||/^[\'\"\`]/.test(c))){var d=a.lineComment||u.lineComment;if(d){var p=Math.min(0!=s.ch||s.line==e.line?s.line+1:s.line,l.lastLine()+1),f=null==a.padding?" ":a.padding,g=a.commentBlankLines||e.line==s.line;l.operation(function(){if(a.indent){for(var t=null,o=e.line;os.length)&&(t=s)}for(o=e.line;oh||a.operation(function(){if(0!=s.fullLines){var t=n.test(a.getLine(h));a.replaceRange(d+u,i(h)),a.replaceRange(l+d,i(e.line,0));var o=s.blockCommentLead||c.blockCommentLead;if(null!=o)for(var p=e.line+1;p<=h;++p)(p!=h||t)&&a.replaceRange(o+d,i(p,0))}else a.replaceRange(u,r),a.replaceRange(l,e)})}}else(s.lineComment||c.lineComment)&&0!=s.fullLines&&a.lineComment(e,r,s)}),e.defineExtension("uncomment",function(e,r,s){s||(s=t);var a,c=this,l=o(c,e),u=Math.min(0!=r.ch||r.line==e.line?r.line:r.line-1,c.lastLine()),h=Math.min(e.line,u),d=s.lineComment||l.lineComment,p=[],f=null==s.padding?" ":s.padding;e:if(d){for(var g=h;g<=u;++g){var m=c.getLine(g),b=m.indexOf(d);if(b>-1&&!/comment/.test(c.getTokenTypeAt(i(g,b+1)))&&(b=-1),-1==b&&n.test(m))break e;if(b>-1&&n.test(m.slice(0,b)))break e;p.push(m)}if(c.operation(function(){for(var e=h;e<=u;++e){var t=p[e-h],n=t.indexOf(d),r=n+d.length;n<0||(t.slice(r,r+f.length)==f&&(r+=f.length),a=!0,c.replaceRange("",i(e,n),i(e,r)))}}),a)return!0}var v=s.blockCommentStart||l.blockCommentStart,y=s.blockCommentEnd||l.blockCommentEnd;if(!v||!y)return!1;var w=s.blockCommentLead||l.blockCommentLead,_=c.getLine(h),O=_.indexOf(v);if(-1==O)return!1;var C=u==h?_:c.getLine(u),E=C.indexOf(y,u==h?O+v.length:0),S=i(h,O+1),T=i(u,E+1);if(-1==E||!/comment/.test(c.getTokenTypeAt(S))||!/comment/.test(c.getTokenTypeAt(T))||c.getRange(S,T,"\n").indexOf(y)>-1)return!1;var x=_.lastIndexOf(v,e.ch),k=-1==x?-1:_.slice(0,e.ch).indexOf(y,x+v.length);if(-1!=x&&-1!=k&&k+y.length!=e.ch)return!1;k=C.indexOf(y,r.ch);var I=C.slice(r.ch).lastIndexOf(v,k-r.ch);return x=-1==k||-1==I?-1:r.ch+I,(-1==k||-1==x||x==r.ch)&&(c.operation(function(){c.replaceRange("",i(u,E-(f&&C.slice(E-f.length,E)==f?f.length:0)),i(u,E+y.length));var e=O+v.length;if(f&&_.slice(e,e+f.length)==f&&(e+=f.length),c.replaceRange("",i(h,O),i(h,e)),w)for(var t=h+1;t<=u;++t){var r=c.getLine(t),o=r.indexOf(w);if(-1!=o&&!n.test(r.slice(0,o))){var s=o+w.length;f&&r.slice(s,s+f.length)==f&&(s+=f.length),c.replaceRange("",i(t,o),i(t,s))}}}),!0)})}(n("VrN/"))},cp0P:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("HDdC"),r=n("DH7j"),o=n("lJxs"),s=n("XoHu"),a=n("Cfvw");function c(...e){if(1===e.length){const t=e[0];if(Object(r.a)(t))return l(t,null);if(Object(s.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return l(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return l(e=1===e.length&&Object(r.a)(e[0])?e[0]:e,null).pipe(Object(o.a)(e=>t(...e)))}return l(e,null)}function l(e,t){return new i.a(n=>{const i=e.length;if(0===i)return void n.complete();const r=new Array(i);let o=0,s=0;for(let c=0;c{u||(u=!0,s++),r[c]=e},error:e=>n.error(e),complete:()=>{o++,o!==i&&u||(s===i&&n.next(t?t.reduce((e,t,n)=>(e[t]=r[n],e),{}):r),n.complete())}}))}})}},dPL8:function(e,t,n){"use strict";n.d(t,"a",function(){return ne}),n.d(t,"b",function(){return K});var i=n("mrSG"),r=n("ofXK"),o=n("fXoL"),s=(n("2Vo4"),n("pLZG"));function a(e,t){if(1&e&&o.Rb(0,"div",3),2&e){const e=o.gc();o.mc("innerHTML",e.content,o.xc)}}function c(e,t){1&e&&o.Sb(0)}function l(e,t){if(1&e&&(o.Ub(0),o.Gc(1,"\n "),o.Ec(2,c,1,0,"ng-container",4),o.Gc(3,"\n "),o.Tb()),2&e){const e=o.gc();o.Eb(2),o.mc("ngTemplateOutlet",e.content)("ngTemplateOutletContext",e.context)}}function u(e,t){1&e&&o.Sb(0)}function h(e,t){if(1&e&&(o.Ub(0),o.Gc(1,"\n "),o.Ec(2,u,1,0,"ng-container",5),o.Gc(3,"\n "),o.Tb()),2&e){const e=o.gc();o.Eb(2),o.mc("ngComponentOutlet",e.content)("ngComponentOutletInjector",e.injector)}}n("lJxs");var d=function(e){return e[e.String=0]="String",e[e.Template=1]="Template",e[e.Component=2]="Component",e}({});let p=(()=>{class e{constructor(){this.ContentType=d,this.contentType=d.String}set content(e){this._content=e,this.resolveContentType()}get content(){return this._content}resolveContentType(){this.contentType="string"==typeof this.content?d.String:this.content instanceof o.O?d.Template:d.Component}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["dynamic-content"]],inputs:{content:"content",context:"context",injector:"injector"},decls:10,vars:4,consts:[[3,"ngSwitch"],[3,"innerHTML",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(e,t){1&e&&(o.Gc(0,"\n "),o.Ub(1,0),o.Gc(2,"\n "),o.Ec(3,a,1,1,"div",1),o.Gc(4,"\n\n "),o.Ec(5,l,4,2,"ng-container",2),o.Gc(6,"\n\n "),o.Ec(7,h,4,2,"ng-container",2),o.Gc(8,"\n "),o.Tb(),o.Gc(9,"\n ")),2&e&&(o.Eb(1),o.mc("ngSwitch",t.contentType),o.Eb(2),o.mc("ngSwitchCase",t.ContentType.String),o.Eb(2),o.mc("ngSwitchCase",t.ContentType.Template),o.Eb(2),o.mc("ngSwitchCase",t.ContentType.Component))},directives:[r.q,r.r,r.t,r.m],styles:["[_nghost-%COMP%] {\n display: block;\n }"],changeDetection:0}),e})(),f=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})();class g{constructor(e){this.value=e}getElement(){return this.value}detectChanges(){}destroy(){}}class m{constructor(e){this.args=e;const t=this.args.resolver.resolveComponentFactory(this.args.component);this.args.vcr?this.compRef=this.args.vcr.createComponent(t,this.args.vcr.length,e.injector||this.args.vcr.injector):(this.compRef=t.create(this.args.injector),this.args.appRef.attachView(this.compRef.hostView))}get ref(){return this.compRef}setInput(e,t){return this.compRef.instance[e]=t,this}setInputs(e){return Object.keys(e).forEach(t=>{this.compRef.instance[t]=e[t]}),this}detectChanges(){return this.compRef.hostView.detectChanges(),this}appendTo(e){return e.appendChild(this.getElement()),this}removeFrom(e){return e.removeChild(this.getElement()),this}getRawContent(){return this.getElement().outerHTML}getElement(){return this.compRef.location.nativeElement}destroy(){this.compRef.destroy(),!this.args.vcr&&this.args.appRef.detachView(this.compRef.hostView),this.compRef=null}}class b{constructor(e){this.args=e,this.wrapper=null,this.args.vcr?(this.viewRef=this.args.vcr.createEmbeddedView(this.args.tpl,this.args.context||{}),this.viewRef.detectChanges()):(this.viewRef=this.args.tpl.createEmbeddedView(this.args.context||{}),this.viewRef.detectChanges(),this.args.appRef.attachView(this.viewRef))}detectChanges(){this.viewRef.detectChanges()}getElement(){const e=this.viewRef.rootNodes;return 1===e.length&&e[0]===Node.ELEMENT_NODE?this.element=e[0]:(this.element=document.createElement("div"),this.element.append(...e)),this.element}destroy(){1!==this.viewRef.rootNodes[0]&&(this.element.parentNode.removeChild(this.element),this.element=null),this.args.vcr||this.args.appRef.detachView(this.viewRef),this.viewRef.destroy(),this.viewRef=null}}function v(e){return e instanceof o.O}function y(e){return"function"==typeof e}let w=(()=>{class e{constructor(e,t,n){this.resolver=e,this.injector=t,this.appRef=n}createComponent(e,t={}){return new m({component:e,vcr:t.vcr,injector:t.injector||this.injector,appRef:this.appRef,resolver:this.resolver})}createTemplate(e,t={}){return new b({vcr:t.vcr,appRef:this.appRef,tpl:e,context:t.context})}createView(e,t={}){if(v(e))return this.createTemplate(e,t);if(y(e))return this.createComponent(e,t);if("string"==typeof e)return new g(e);throw"Type of content is not supported"}}return e.\u0275fac=function(t){return new(t||e)(o.ac(o.j),o.ac(o.t),o.ac(o.g))},e.\u0275prov=Object(o.Mb)({factory:function(){return new e(Object(o.ac)(o.j),Object(o.ac)(o.p),Object(o.ac)(o.g))},token:e,providedIn:"root"}),e})();var _=n("vkgz"),O=n("XNiG"),C=n("DH7j"),E=n("yCtX"),S=n("l7GE"),T=n("ZUHj");class x{call(e,t){return t.subscribe(new k(e))}}class k extends S.a{constructor(e){super(e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(e){this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(let n=0;n{class e{constructor(e){this.injector=e,this.offset=0,this.height=new o.n,this.beforeClosed=new o.n,this.afterClosed=new o.n,this.isManualClose=!1}ngOnInit(){v(this.toast.message)&&(this.context={$implicit:this.toastRef}),y(this.toast.message)&&(this.toastComponentInjector=o.t.create({providers:[{provide:$,useValue:this.toastRef}],parent:this.toast.injector||this.injector}))}ngAfterViewInit(){const e=this.toastBarBase.nativeElement;this.height.emit(e.offsetHeight),e.addEventListener("animationstart",e=>{this.isExitAnimation(e)&&this.beforeClosed.emit()}),e.addEventListener("animationend",e=>{this.isExitAnimation(e)&&this.afterClosed.emit({dismissedByAction:this.isManualClose,id:this.toast.id})})}get containerPositionStyle(){const e=this.toast.position.includes("top"),t=e?{top:0}:{bottom:0},n=this.toast.position.includes("left")?{left:0}:this.toast.position.includes("right")?{right:0}:{left:0,right:0,justifyContent:"center"};return Object.assign(Object.assign({transform:`translateY(${this.offset*(e?1:-1)}px)`},t),n)}get toastBarBaseStyles(){const e=this.toast.position.includes("top"),t=`hotToastEnterAnimation${e?"Negative":"Positive"} 350ms cubic-bezier(0.21, 1.02, 0.73, 1) forwards`,n=this.toast.autoClose?`${t}, hotToastExitAnimation${e?"Negative":"Positive"} 800ms forwards cubic-bezier(0.06, 0.71, 0.55, 1) ${this.toast.duration}ms`:t;return Object.assign(Object.assign({},this.toast.style),{animation:n})}get isIconString(){return"string"==typeof this.toast.icon}close(){this.isManualClose=!0;const e=`hotToastExitAnimation${this.toast.position.includes("top")?"Negative":"Positive"} 800ms forwards cubic-bezier(0.06, 0.71, 0.55, 1)`;this.toastBarBase.nativeElement.style.animation=e}ngOnDestroy(){this.close()}isExitAnimation(e){return e.animationName.includes("hotToastExitAnimation")}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.t))},e.\u0275cmp=o.Kb({type:e,selectors:[["hot-toast"]],viewQuery:function(e,t){if(1&e&&o.Kc(I,1),2&e){let e;o.sc(e=o.ec())&&(t.toastBarBase=e.first)}},inputs:{offset:"offset",toast:"toast",defaultConfig:"defaultConfig",toastRef:"toastRef"},outputs:{height:"height",beforeClosed:"beforeClosed",afterClosed:"afterClosed"},decls:22,vars:14,consts:[[1,"hot-toast-bar-base-container",3,"ngStyle","ngClass"],[1,"hot-toast-bar-base",3,"ngStyle","ngClass"],["hotToastBarBase",""],["aria-hidden","true",1,"hot-toast-icon"],[4,"ngIf","ngIfElse"],["indicator",""],[1,"hot-toast-message"],[3,"content","context","injector"],["type","button","class","hot-toast-close-btn","aria-label","Close",3,"ngStyle","click",4,"ngIf"],["iconTemplateOrComponent",""],[3,"iconTheme"],[3,"content"],[3,"theme","type"],["type","button","aria-label","Close",1,"hot-toast-close-btn",3,"ngStyle","click"]],template:function(e,t){if(1&e&&(o.Wb(0,"div",0),o.Gc(1,"\n "),o.Wb(2,"div",1,2),o.Gc(4,"\n "),o.Wb(5,"div",3),o.Gc(6,"\n "),o.Ec(7,j,7,2,"ng-container",4),o.Gc(8,"\n\n "),o.Ec(9,A,3,2,"ng-template",null,5,o.Fc),o.Gc(11,"\n "),o.Vb(),o.Gc(12,"\n\n "),o.Wb(13,"div",6),o.Gc(14,"\n "),o.Rb(15,"dynamic-content",7),o.Gc(16,"\n "),o.Vb(),o.Gc(17,"\n\n "),o.Ec(18,R,1,1,"button",8),o.Gc(19,"\n "),o.Vb(),o.Gc(20,"\n"),o.Vb(),o.Gc(21,"\n")),2&e){const e=o.tc(10);o.mc("ngStyle",t.containerPositionStyle)("ngClass","hot-toast-theme-"+t.toast.theme),o.Eb(2),o.Bc("--hot-toast-animation-state",t.isManualClose?"running":"paused"),o.mc("ngStyle",t.toastBarBaseStyles)("ngClass",t.toast.className),o.Fb("aria-live",t.toast.ariaLive)("role",t.toast.role),o.Eb(5),o.mc("ngIf",void 0!==t.toast.icon)("ngIfElse",e),o.Eb(8),o.mc("content",t.toast.message)("context",t.context)("injector",t.toastComponentInjector),o.Eb(3),o.mc("ngIf",t.toast.dismissible)}},directives:function(){return[r.p,r.l,r.o,p,X,ee]},styles:[".hot-toast-bar-base[_ngcontent-%COMP%]{align-items:center;background:var(--hot-toast-bg,#fff);border-radius:var(--hot-toast-border-radius,4px);box-shadow:var(--hot-toast-shadow,0 3px 10px rgba(0,0,0,.1),0 3px 3px rgba(0,0,0,.05));color:var(--hot-toast-color,#363636);display:flex;line-height:var(--hot-toast-line,1.3);margin:16px;max-width:var(--hot-toast-max-width,350px);padding:8px 10px;pointer-events:auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;will-change:transform}.hot-toast-bar-base[_ngcontent-%COMP%]:focus, .hot-toast-bar-base[_ngcontent-%COMP%]:hover{animation-play-state:var(--hot-toast-animation-state,paused)!important}@media (prefers-reduced-motion:reduce){.hot-toast-bar-base[_ngcontent-%COMP%]{animation-duration:10ms!important}}.hot-toast-message[_ngcontent-%COMP%]{color:inherit;display:flex;flex:1;justify-content:center;margin:4px 10px}.hot-toast-bar-base-container[_ngcontent-%COMP%]{display:flex;pointer-events:none;position:absolute;transition:transform .23s cubic-bezier(.21,1.02,.73,1)}@media (prefers-reduced-motion:reduce){.hot-toast-bar-base-container[_ngcontent-%COMP%]{transition-duration:10ms!important}}.hot-toast-bar-base-container.hot-toast-theme-snackbar[_ngcontent-%COMP%] .hot-toast-bar-base[_ngcontent-%COMP%]{background:var(--hot-toast-snackbar-bg,#323232);box-shadow:var(--hot-toast-snackbar-shadow,0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12));color:var(--hot-toast-snackbar-color,#fff)}.hot-toast-bar-base-container.hot-toast-theme-snackbar[_ngcontent-%COMP%] .hot-toast-close-btn[_ngcontent-%COMP%]{filter:invert(1) grayscale(100%) brightness(200%)}@keyframes hotToastEnterAnimationNegative{0%{opacity:.5;transform:translate3d(0,-80px,0) scale(.6)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes hotToastEnterAnimationPositive{0%{opacity:.5;transform:translate3d(0,80px,0) scale(.6)}to{opacity:1;transform:translateZ(0) scale(1)}}@keyframes hotToastExitAnimationPositive{0%{opacity:1;transform:translateZ(-1px) scale(1)}to{opacity:0;transform:translate3d(0,130px,-1px) scale(.5)}}@keyframes hotToastExitAnimationNegative{0%{opacity:1;transform:translateZ(-1px) scale(1)}to{opacity:0;transform:translate3d(0,-130px,-1px) scale(.5)}}.hot-toast-close-btn[_ngcontent-%COMP%]{align-self:flex-start;background-color:initial;background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e\");background-position:50%;background-repeat:no-repeat;background-size:.75em;border:0;border-radius:.25rem;box-sizing:initial;display:flex;height:.8em;margin-top:.25em;opacity:.5;padding:.25em;width:.8em}.hot-toast-close-btn[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .125rem rgba(13,110,253,.25);outline:none}.hot-toast-close-btn[_ngcontent-%COMP%]:focus, .hot-toast-close-btn[_ngcontent-%COMP%]:hover{opacity:.75}.hot-toast-icon[_ngcontent-%COMP%]{align-self:flex-start;padding-top:.25em}"],changeDetection:0}),e})(),H=(()=>{class e{constructor(e){this.cdr=e,this.toasts=[],this.toastRefs=[],this._onClosed=new O.a,this.onClosed$=this._onClosed.asObservable()}trackById(e,t){return t.id}calculateOffset(e,t){const n=this.toasts.filter(e=>e.visible&&e.position===t),i=n.findIndex(t=>t.id===e);return-1!==i?n.slice(...this.defaultConfig.reverseOrder?[i+1]:[0,i]).reduce((e,t)=>e+(t.height||0)+8,0):0}updateHeight(e,t){t.height=e,this.cdr.detectChanges()}addToast(e){this.toastRefs.push(e);const t=e.getToast();return this.toasts.push(e.getToast()),this.cdr.detectChanges(),{dispose:()=>{this.closeToast(t.id)},updateMessage:e=>{t.message=e,this.cdr.detectChanges()},updateToast:e=>{this.updateToasts(t,e),this.cdr.detectChanges()},afterClosed:this.getAfterClosed(t)}}closeToast(e){const t=this.hotToastComponentList.find(t=>t.toast.id===e);t&&t.close()}beforeClosed(e){e.visible=!1}afterClosed(e){this.toasts.findIndex(t=>t.id===e.id)>-1&&(this._onClosed.next(e),this.toasts=this.toasts.filter(t=>t.id!==e.id),this.toastRefs=this.toastRefs.filter(t=>t.getToast().id!==e.id),this.cdr.detectChanges())}hasToast(e){return this.toasts.findIndex(t=>t.id===e)>-1}getAfterClosed(e){return this.onClosed$.pipe(Object(s.a)(t=>t.id===e.id))}updateToasts(e,t){this.toasts=this.toasts.map(n=>Object.assign(Object.assign({},n),n.id===e.id&&Object.assign(Object.assign({},e),t)))}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.h))},e.\u0275cmp=o.Kb({type:e,selectors:[["hot-toast-container"]],viewQuery:function(e,t){if(1&e&&o.Kc(U,1),2&e){let e;o.sc(e=o.ec())&&(t.hotToastComponentList=e)}},inputs:{defaultConfig:"defaultConfig"},decls:8,vars:2,consts:[[2,"position","fixed","z-index","9999","top","0","right","0","bottom","0","left","0","pointer-events","none"],[2,"position","relative","height","100%"],[3,"toast","offset","toastRef","height","beforeClosed","afterClosed",4,"ngFor","ngForOf","ngForTrackBy"],[3,"toast","offset","toastRef","height","beforeClosed","afterClosed"]],template:function(e,t){1&e&&(o.Wb(0,"div",0),o.Gc(1,"\n "),o.Wb(2,"div",1),o.Gc(3,"\n "),o.Ec(4,N,1,3,"hot-toast",2),o.Gc(5,"\n "),o.Vb(),o.Gc(6,"\n"),o.Vb(),o.Gc(7,"\n")),2&e&&(o.Eb(4),o.mc("ngForOf",t.toasts)("ngForTrackBy",t.trackById))},directives:[r.n,U],encapsulation:2,changeDetection:0}),e})();class q{constructor(){this.reverseOrder=!1,this.ariaLive="polite",this.role="status",this.position="top-center",this.autoClose=!0,this.theme="toast",this.success={content:""},this.error={content:""},this.loading={content:""},this.blank={content:""},this.warning={content:""}}}class Q{constructor(){this.storage="local",this.key="ngneat/hototast-${id}",this.count=1,this.enabled=!1}}let K=(()=>{class e{constructor(e,t,n){this._viewService=e,this.platformId=t,this._isInitialized=!1,this._defaultConfig=new q,this._defaultPersistConfig=new Q,n&&(this._defaultConfig=Object.assign(Object.assign({},this._defaultConfig),n))}get defaultConfig(){return this._defaultConfig}set defaultConfig(e){this._defaultConfig=Object.assign(Object.assign({},this._defaultConfig),e),this._componentRef.setInput("defaultConfig",this._defaultConfig)}show(e,t){return this.createToast(e||this._defaultConfig.blank.content,"blank",Object.assign(Object.assign({},this._defaultConfig),t))}error(e,t){var n;return this.createToast(e||this._defaultConfig.error.content,"error",Object.assign(Object.assign(Object.assign({},this._defaultConfig),null===(n=this._defaultConfig)||void 0===n?void 0:n.error),t))}success(e,t){var n;return this.createToast(e||this._defaultConfig.success.content,"success",Object.assign(Object.assign(Object.assign({},this._defaultConfig),null===(n=this._defaultConfig)||void 0===n?void 0:n.success),t))}loading(e,t){var n;return this.createToast(e||this._defaultConfig.loading.content,"loading",Object.assign(Object.assign(Object.assign({},this._defaultConfig),null===(n=this._defaultConfig)||void 0===n?void 0:n.loading),t))}warning(e,t){var n;return this.createToast(e||this._defaultConfig.warning.content,"warning",Object.assign(Object.assign(Object.assign({},this._defaultConfig),null===(n=this._defaultConfig)||void 0===n?void 0:n.warning),t))}observe(e){return t=>{var n,i;let r,o=0;const s=e.loading||(null===(n=this._defaultConfig.loading)||void 0===n?void 0:n.content),a=e.error||(null===(i=this._defaultConfig.error)||void 0===i?void 0:i.content);return s&&(r=this.createLoadingToast(s),o=Date.now()),t.pipe(Object(_.a)(Object.assign({next:t=>{r=this.createOrUpdateToast(e,t,r,"success",0===o?o:Date.now()-o)}},a&&{error:t=>{r=this.createOrUpdateToast(e,t,r,"error",0===o?o:Date.now()-o)}})))}}close(e){this._componentRef&&this._componentRef.ref.instance.closeToast(e)}init(){Object(r.B)(this.platformId)||(this._componentRef=this._viewService.createComponent(H).setInput("defaultConfig",this._defaultConfig).appendTo(document.body))}createOrUpdateToast(e,t,n,i,r){let o=null,s={};var a,c;if(({content:o,options:s}=this.getContentAndOptions(i,e[i]||(this._defaultConfig[i]?this._defaultConfig[i].content:""))),c=t,o=(e=>"function"==typeof e)(a=o)?a(c):a,n){n.updateMessage(o);const e=Object.assign(Object.assign({type:i,duration:r+W[i]},s),s.duration&&{duration:r+s.duration});n.updateToast(e)}else this.createToast(o,i,s);return n}createToast(e,t,n,i){var r,o,s,a,c,l;this._isInitialized||(this._isInitialized=!0,this.init());const u=Date.now(),h=null!==(r=null==n?void 0:n.id)&&void 0!==r?r:u.toString();if(!this.isDuplicate(h)&&(!(null===(o=n.persist)||void 0===o?void 0:o.enabled)||(null===(s=n.persist)||void 0===s?void 0:s.enabled)&&this.handleStorageValue(h,n))){const r=Object.assign({ariaLive:null!==(a=null==n?void 0:n.ariaLive)&&void 0!==a?a:"polite",createdAt:u,duration:null!==(c=null==n?void 0:n.duration)&&void 0!==c?c:W[t],id:h,message:e,role:null!==(l=null==n?void 0:n.role)&&void 0!==l?l:"status",type:t,visible:!0,observableMessages:null!=i?i:void 0},n);return new $(r).appendTo(this._componentRef.ref.instance)}}isDuplicate(e){return this._componentRef.ref.instance.hasToast(e)}handleStorageValue(e,t){let n=1;const i=Object.assign(Object.assign({},this._defaultPersistConfig),t.persist),r="local"===i.storage?localStorage:sessionStorage,o=i.key.replace(/\${id}/g,e);let s=r.getItem(o);return s?(s=parseInt(s,10),n=s>0?s-1:s):n=i.count,r.setItem(o,n.toString()),n}getContentAndOptions(e,t){var n;let r,o=Object.assign(Object.assign({},this._defaultConfig),this._defaultConfig[e]);if("string"==typeof t||v(t)||y(t))r=t;else{let e;n=t,({content:r}=n),e=Object(i.e)(n,["content"]),o=Object.assign(Object.assign({},o),e)}return{content:r,options:o}}createLoadingToast(e){let t=null,n={};return({content:t,options:n}=this.getContentAndOptions("loading",e)),this.loading(t,n)}}return e.\u0275fac=function(t){return new(t||e)(o.ac(w),o.ac(o.D),o.ac(q,8))},e.\u0275prov=Object(o.Mb)({factory:function(){return new e(Object(o.ac)(w),Object(o.ac)(o.D),Object(o.ac)(q,8))},token:e,providedIn:"root"}),e})(),X=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["hot-toast-animated-icon"]],inputs:{iconTheme:"iconTheme"},ngContentSelectors:L,decls:5,vars:2,consts:[[1,"hot-toast-animated-icon"]],template:function(e,t){1&e&&(o.lc(),o.Wb(0,"div",0),o.Gc(1,"\n "),o.kc(2),o.Gc(3,"\n"),o.Vb(),o.Gc(4,"\n")),2&e&&o.Bc("color",null==t.iconTheme?null:t.iconTheme.primary)},styles:["@keyframes hotToastEnter{0%{transform:scale(0)}to{transform:scale(1)}}.hot-toast-animated-icon[_ngcontent-%COMP%]{animation:hotToastEnter .3s ease-in-out forwards;position:relative;transform:scale(0)}@media (prefers-reduced-motion:reduce){.hot-toast-animated-icon[_ngcontent-%COMP%]{animation-duration:none;opacity:1;transform:scale(1)}}"],changeDetection:0}),e})(),Y=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["hot-toast-checkmark"]],inputs:{theme:"theme"},decls:2,vars:4,consts:[[1,"hot-toast-checkmark-icon"]],template:function(e,t){1&e&&(o.Rb(0,"div",0),o.Gc(1,"\n")),2&e&&o.Bc("--check-primary",(null==t.theme?null:t.theme.primary)||"#61d345")("--check-secondary",(null==t.theme?null:t.theme.secondary)||"#fff")},styles:['@keyframes hotToastCircleAnimation{0%{opacity:0;transform:scale(0) rotate(45deg)}to{opacity:1;transform:scale(1) rotate(45deg)}}@keyframes hotToastCheckmarkAnimation{0%{height:0;opacity:0;width:0}40%{height:0;opacity:1;width:6px}to{height:10px;opacity:1}}.hot-toast-checkmark-icon[_ngcontent-%COMP%]{animation:hotToastCircleAnimation .3s cubic-bezier(.175,.885,.32,1.275) forwards;animation-delay:.1s;background:var(--check-primary,#61d345);border-radius:10px;height:20px;opacity:0;position:relative;transform:rotate(45deg);width:20px}@media (prefers-reduced-motion:reduce){.hot-toast-checkmark-icon[_ngcontent-%COMP%]{animation-duration:0ms}}.hot-toast-checkmark-icon[_ngcontent-%COMP%]:after{animation:hotToastCheckmarkAnimation .2s ease-out forwards;animation-delay:.2s;border-bottom:2px solid;border-bottom-color:var(--check-secondary,#fff);border-left-color:var(--check-secondary,#fff);border-right:2px solid;border-right-color:var(--check-secondary,#fff);border-top-color:var(--check-secondary,#fff);bottom:6px;box-sizing:border-box;content:"";height:10px;left:6px;opacity:0;position:absolute;width:6px}@media (prefers-reduced-motion:reduce){.hot-toast-checkmark-icon[_ngcontent-%COMP%]:after{animation-duration:0ms}}'],changeDetection:0}),e})(),J=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["hot-toast-error"]],inputs:{theme:"theme"},decls:2,vars:4,consts:[[1,"hot-toast-error-icon"]],template:function(e,t){1&e&&(o.Rb(0,"div",0),o.Gc(1,"\n")),2&e&&o.Bc("--error-primary",(null==t.theme?null:t.theme.primary)||"#ff4b4b")("--error-secondary",(null==t.theme?null:t.theme.secondary)||"#fff")},styles:['@keyframes hotToastErrorCircleAnimation{0%{opacity:0;transform:scale(0) rotate(45deg)}to{opacity:1;transform:scale(1) rotate(45deg)}}@keyframes hotToastFirstLineAnimation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes hotToastSecondLineAnimation{0%{opacity:0;transform:scale(0) rotate(90deg)}to{opacity:1;transform:scale(1) rotate(90deg)}}.hot-toast-error-icon[_ngcontent-%COMP%]{animation:hotToastErrorCircleAnimation .3s cubic-bezier(.175,.885,.32,1.275) forwards;animation-delay:.1s;background:var(--error-primary,#ff4b4b);border-radius:10px;height:20px;opacity:0;position:relative;transform:rotate(45deg);width:20px}@media (prefers-reduced-motion:reduce){.hot-toast-error-icon[_ngcontent-%COMP%]{animation-duration:0ms}}.hot-toast-error-icon[_ngcontent-%COMP%]:after, .hot-toast-error-icon[_ngcontent-%COMP%]:before{animation:hotToastFirstLineAnimation .15s ease-out forwards;animation-delay:.15s;background:var(--error-secondary,#fff);border-radius:3px;bottom:9px;content:"";height:2px;left:4px;opacity:0;position:absolute;width:12px}@media (prefers-reduced-motion:reduce){.hot-toast-error-icon[_ngcontent-%COMP%]:after, .hot-toast-error-icon[_ngcontent-%COMP%]:before{animation-duration:0ms}}.hot-toast-error-icon[_ngcontent-%COMP%]:before{animation:hotToastSecondLineAnimation .15s ease-out forwards;animation-delay:.18s;transform:rotate(90deg)}@media (prefers-reduced-motion:reduce){.hot-toast-error-icon[_ngcontent-%COMP%]:before{animation-duration:0ms}}'],changeDetection:0}),e})(),Z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["hot-toast-loader"]],inputs:{theme:"theme"},decls:2,vars:4,consts:[[1,"hot-toast-loader-icon",3,"ngStyle"]],template:function(e,t){1&e&&(o.Rb(0,"div",0),o.Gc(1,"\n")),2&e&&o.mc("ngStyle",o.qc(1,M,(null==t.theme?null:t.theme.primary)||"#e0e0e0",(null==t.theme?null:t.theme.secondary)||"#616161"))},directives:[r.p],styles:["@keyframes hotToastRotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.hot-toast-loader-icon[_ngcontent-%COMP%]{animation:hotToastRotate 1s linear infinite;border:2px solid #e0e0e0;border-radius:100%;border-right-color:#616161;box-sizing:border-box;height:18px;padding-top:2px;width:18px}@media (prefers-reduced-motion:reduce){.hot-toast-loader-icon[_ngcontent-%COMP%]{animation-duration:5s}}"],changeDetection:0}),e})(),ee=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["hot-toast-indicator"]],inputs:{theme:"theme",type:"type"},decls:2,vars:1,consts:[[4,"ngIf"],[1,"hot-toast-indicator-wrapper"],[3,"theme"],[1,"hot-toast-status-wrapper"],[3,"ngSwitch"],[4,"ngSwitchCase"]],template:function(e,t){1&e&&(o.Ec(0,B,9,2,"ng-container",0),o.Gc(1,"\n")),2&e&&o.mc("ngIf","blank"!==t.type)},directives:function(){return[r.o,Z,r.q,r.r,J,Y,te]},styles:[".hot-toast-indicator-wrapper[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:center;min-height:20px;min-width:20px;position:relative}.hot-toast-status-wrapper[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0}),e})(),te=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["hot-toast-warning"]],inputs:{theme:"theme"},decls:2,vars:4,consts:[[1,"hot-toast-warning-icon"]],template:function(e,t){1&e&&(o.Rb(0,"div",0),o.Gc(1,"\n")),2&e&&o.Bc("--warn-primary",(null==t.theme?null:t.theme.primary)||"#FFAB00")("--warn-secondary",(null==t.theme?null:t.theme.secondary)||"#fff")},styles:['@keyframes animate-warn-background{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes animate-warn-line{0%{height:0;opacity:0}40%{height:4.8px;opacity:1}to{height:8px;opacity:1}}.hot-toast-warning-icon[_ngcontent-%COMP%]{animation:animate-warn-background .3s cubic-bezier(.175,.885,.32,1.275) forwards;animation-delay:.1s;background-color:var(--warn-primary,#ffab00);border-radius:50%;display:block;height:20px;opacity:0;position:relative;transform:scale(0);width:20px}.hot-toast-warning-icon[_ngcontent-%COMP%]:after, .hot-toast-warning-icon[_ngcontent-%COMP%]:before{background-color:var(--warn-secondary,#fff);border-radius:3px;box-sizing:border-box;content:"";display:block;left:8.5px;position:absolute;width:2.5px}.hot-toast-warning-icon[_ngcontent-%COMP%]:after{animation:animate-warn-line .2s ease-out forwards;animation-delay:.2s;height:0;opacity:0;top:4px}.hot-toast-warning-icon[_ngcontent-%COMP%]:before{bottom:4px;height:2px}'],changeDetection:0}),e})(),ne=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:q,useValue:t}]}}}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.c,f]]}),e})()},dQau:function(e,t,n){"use strict";n.r(t),n.d(t,"print",function(){return o});var i=n("L2ys"),r=n("BLR7");function o(e){return Object(i.c)(e,{leave:s})}var s={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return c(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,i=u("(",c(e.variableDefinitions,", "),")"),r=c(e.directives," "),o=e.selectionSet;return n||r||i||"query"!==t?c([t,c([n,i]),r,o]," "):o},VariableDefinition:function(e){var t=e.directives;return e.variable+": "+e.type+u(" = ",e.defaultValue)+u(" ",c(t," "))},SelectionSet:function(e){return l(e.selections)},Field:function(e){var t=e.name,n=e.arguments,i=e.directives,r=e.selectionSet;return c([u("",e.alias,": ")+t+u("(",c(n,", "),")"),c(i," "),r]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+u(" ",c(e.directives," "))},InlineFragment:function(e){var t=e.directives,n=e.selectionSet;return c(["...",u("on ",e.typeCondition),c(t," "),n]," ")},FragmentDefinition:function(e){var t=e.typeCondition,n=e.variableDefinitions,i=e.directives,r=e.selectionSet;return"fragment ".concat(e.name).concat(u("(",c(n,", "),")")," ")+"on ".concat(t," ").concat(u("",c(i," ")," "))+r},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?Object(r.c)(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+c(e.values,", ")+"]"},ObjectValue:function(e){return"{"+c(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",c(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.operationTypes;return c(["schema",c(e.directives," "),l(t)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:a(function(e){return c(["scalar",e.name,c(e.directives," ")]," ")}),ObjectTypeDefinition:a(function(e){var t=e.directives,n=e.fields;return c(["type",e.name,u("implements ",c(e.interfaces," & ")),c(t," "),l(n)]," ")}),FieldDefinition:a(function(e){var t=e.arguments,n=e.type,i=e.directives;return e.name+(p(t)?u("(\n",h(c(t,"\n")),"\n)"):u("(",c(t,", "),")"))+": "+n+u(" ",c(i," "))}),InputValueDefinition:a(function(e){var t=e.directives;return c([e.name+": "+e.type,u("= ",e.defaultValue),c(t," ")]," ")}),InterfaceTypeDefinition:a(function(e){var t=e.fields;return c(["interface",e.name,c(e.directives," "),l(t)]," ")}),UnionTypeDefinition:a(function(e){var t=e.types;return c(["union",e.name,c(e.directives," "),t&&0!==t.length?"= "+c(t," | "):""]," ")}),EnumTypeDefinition:a(function(e){var t=e.values;return c(["enum",e.name,c(e.directives," "),l(t)]," ")}),EnumValueDefinition:a(function(e){return c([e.name,c(e.directives," ")]," ")}),InputObjectTypeDefinition:a(function(e){var t=e.fields;return c(["input",e.name,c(e.directives," "),l(t)]," ")}),DirectiveDefinition:a(function(e){var t=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+e.name+(p(t)?u("(\n",h(c(t,"\n")),"\n)"):u("(",c(t,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")}),SchemaExtension:function(e){var t=e.operationTypes;return c(["extend schema",c(e.directives," "),l(t)]," ")},ScalarTypeExtension:function(e){return c(["extend scalar",e.name,c(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.directives,n=e.fields;return c(["extend type",e.name,u("implements ",c(e.interfaces," & ")),c(t," "),l(n)]," ")},InterfaceTypeExtension:function(e){var t=e.fields;return c(["extend interface",e.name,c(e.directives," "),l(t)]," ")},UnionTypeExtension:function(e){var t=e.types;return c(["extend union",e.name,c(e.directives," "),t&&0!==t.length?"= "+c(t," | "):""]," ")},EnumTypeExtension:function(e){var t=e.values;return c(["extend enum",e.name,c(e.directives," "),l(t)]," ")},InputObjectTypeExtension:function(e){var t=e.fields;return c(["extend input",e.name,c(e.directives," "),l(t)]," ")}};function a(e){return function(t){return c([t.description,e(t)],"\n")}}function c(e,t){return e?e.filter(function(e){return e}).join(t||""):""}function l(e){return e&&0!==e.length?"{\n"+h(c(e,"\n"))+"\n}":""}function u(e,t,n){return t?e+t+(n||""):""}function h(e){return e&&" "+e.replace(/\n/g,"\n ")}function d(e){return-1!==e.indexOf("\n")}function p(e){return e&&e.some(d)}},"dWS+":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return a});var i=n("zpYP"),r=n("y4cC"),o=n("zsKT");function s(e,t,n,o,a,c,l){var u=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,h=n;if(!h&&u){var d=u[0];h=d&&d.loc&&d.loc.source}var p,f=o;!f&&u&&(f=u.reduce(function(e,t){return t.loc&&e.push(t.loc.start),e},[])),f&&0===f.length&&(f=void 0),o&&n?p=o.map(function(e){return Object(r.a)(n,e)}):u&&(p=u.reduce(function(e,t){return t.loc&&e.push(Object(r.a)(t.loc.source,t.loc.start)),e},[]));var g=l;if(null==g&&null!=c){var m=c.extensions;Object(i.a)(m)&&(g=m)}Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:p||void 0,enumerable:Boolean(p)},path:{value:a||void 0,enumerable:Boolean(a)},nodes:{value:u||void 0},source:{value:h||void 0},positions:{value:f||void 0},originalError:{value:c},extensions:{value:g||void 0,enumerable:Boolean(g)}}),c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,s):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}function a(e){var t=e.message;if(e.nodes)for(var n=0,i=e.nodes;n=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}}),c=r[n];n=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),p(n)?i.showHidden=n:n&&t._extend(i,n),b(i.showHidden)&&(i.showHidden=!1),b(i.depth)&&(i.depth=2),b(i.colors)&&(i.colors=!1),b(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=a),l(i,e,i.depth)}function a(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function c(e,t){return e}function l(e,n,i){if(e.customInspect&&n&&O(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(i,e);return m(r)||(r=l(e,r,i)),r}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(m(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return g(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):f(t)?e.stylize("null","null"):void 0}(e,n);if(o)return o;var s=Object.keys(n),a=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),_(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return u(n);if(0===s.length){if(O(n))return e.stylize("[Function"+(n.name?": "+n.name:"")+"]","special");if(v(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(_(n))return u(n)}var c,y="",C=!1,E=["{","}"];return d(n)&&(C=!0,E=["[","]"]),O(n)&&(y=" [Function"+(n.name?": "+n.name:"")+"]"),v(n)&&(y=" "+RegExp.prototype.toString.call(n)),w(n)&&(y=" "+Date.prototype.toUTCString.call(n)),_(n)&&(y=" "+u(n)),0!==s.length||C&&0!=n.length?i<0?v(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=C?function(e,t,n,i,r){for(var o=[],s=0,a=t.length;s60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(c,y,E)):E[0]+y+E[1]}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,i,r,o){var s,a,c;if((c=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?a=e.stylize(c.set?"[Getter/Setter]":"[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),x(i,r)||(s="["+r+"]"),a||(e.seen.indexOf(c.value)<0?(a=f(n)?l(e,c.value,null):l(e,c.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n")):a=e.stylize("[Circular]","special")),b(s)){if(o&&r.match(/^\d+$/))return a;(s=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function d(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function f(e){return null===e}function g(e){return"number"==typeof e}function m(e){return"string"==typeof e}function b(e){return void 0===e}function v(e){return y(e)&&"[object RegExp]"===C(e)}function y(e){return"object"==typeof e&&null!==e}function w(e){return y(e)&&"[object Date]"===C(e)}function _(e){return y(e)&&("[object Error]"===C(e)||e instanceof Error)}function O(e){return"function"==typeof e}function C(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(b(r)&&(r=process.env.NODE_DEBUG||""),e=e.toUpperCase(),!o[e])if(new RegExp("\\b"+e+"\\b","i").test(r)){var n=process.pid;o[e]=function(){var i=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,i)}}else o[e]=function(){};return o[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=p,t.isNull=f,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=m,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=v,t.isObject=y,t.isDate=w,t.isError=_,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n("VNB6");var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),S[e.getMonth()],t].join(" ")}function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",T(),t.format.apply(t,arguments))},t.inherits=n("5wz/"),t._extend=function(e,t){if(!t||!y(t))return e;for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e}},"das/":function(e,t,n){"use strict";function i(e){return null==e||e!=e}n.d(t,"a",function(){return i})},dtjE:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"i",function(){return r}),n.d(t,"d",function(){return o}),n.d(t,"e",function(){return s}),n.d(t,"c",function(){return a}),n.d(t,"k",function(){return c}),n.d(t,"b",function(){return l}),n.d(t,"j",function(){return u}),n.d(t,"g",function(){return h}),n.d(t,"h",function(){return d}),n.d(t,"f",function(){return p}),n.d(t,"l",function(){return f});const i="ADD_HEADER",r="REMOVE_HEADER",o="EDIT_HEADER_KEY",s="EDIT_HEADER_VALUE",a="EDIT_HEADER_ENABLED",c="SET_HEADERS";class l{constructor(e){this.windowId=e,this.type=i}}class u{constructor(e,t){this.payload=e,this.windowId=t,this.type=r}}class h{constructor(e,t){this.payload=e,this.windowId=t,this.type=o}}class d{constructor(e,t){this.payload=e,this.windowId=t,this.type=s}}class p{constructor(e,t){this.payload=e,this.windowId=t,this.type=a}}class f{constructor(e,t){this.payload=e,this.windowId=t,this.type=c}}},dwPZ:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("dWS+");function r(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var r=t.name.value;n[r]?e.reportError(new i.a(function(e){return'There can be only one input field named "'.concat(e,'".')}(r),[n[r],t.name])):n[r]=t.name}}}},e0LD:function(e,t,n){"use strict";var i=n("DAag"),r=n("eSPN"),o=n("9Qh4"),s=n("yfwS").methods,a=n("w6bI"),c=n("lLG3"),l=Function.prototype.apply,u=Function.prototype.call,h=Object.create,d=Object.defineProperties,p=s.on,f=s.emit;e.exports=function(e,t,n){var s,g,m,b,v,y,w,_,O,C,E,S,T,x,k,I=h(null);return g=!1!==t?t:isNaN(e.length)?1:e.length,n.normalizer&&(C=c(n.normalizer),m=C.get,b=C.set,v=C.delete,y=C.clear),null!=n.resolvers&&(k=a(n.resolvers)),x=m?r(function(t){var n,r,o=arguments;if(k&&(o=k(o)),null!==(n=m(o))&&hasOwnProperty.call(I,n))return E&&s.emit("get",n,o,this),I[n];if(r=1===o.length?u.call(e,this,o[0]):l.call(e,this,o),null===n){if(null!==(n=m(o)))throw i("Circular invocation","CIRCULAR_INVOCATION");n=b(o)}else if(hasOwnProperty.call(I,n))throw i("Circular invocation","CIRCULAR_INVOCATION");return I[n]=r,S&&s.emit("set",n,null,r),r},g):0===t?function(){var t;if(hasOwnProperty.call(I,"data"))return E&&s.emit("get","data",arguments,this),I.data;if(t=arguments.length?l.call(e,this,arguments):u.call(e,this),hasOwnProperty.call(I,"data"))throw i("Circular invocation","CIRCULAR_INVOCATION");return I.data=t,S&&s.emit("set","data",null,t),t}:function(t){var n,r,o=arguments;if(k&&(o=k(arguments)),r=String(o[0]),hasOwnProperty.call(I,r))return E&&s.emit("get",r,o,this),I[r];if(n=1===o.length?u.call(e,this,o[0]):l.call(e,this,o),hasOwnProperty.call(I,r))throw i("Circular invocation","CIRCULAR_INVOCATION");return I[r]=n,S&&s.emit("set",r,null,n),n},s={original:e,memoized:x,profileName:n.profileName,get:function(e){return k&&(e=k(e)),m?m(e):String(e[0])},has:function(e){return hasOwnProperty.call(I,e)},delete:function(e){var t;hasOwnProperty.call(I,e)&&(v&&v(e),t=I[e],delete I[e],T&&s.emit("delete",e,t))},clear:function(){var e=I;y&&y(),I=h(null),s.emit("clear",e)},on:function(e,t){return"get"===e?E=!0:"set"===e?S=!0:"delete"===e&&(T=!0),p.call(this,e,t)},emit:f,updateEnv:function(){e=s.original}},w=m?r(function(e){var t,n=arguments;k&&(n=k(n)),null!==(t=m(n))&&s.delete(t)},g):0===t?function(){return s.delete("data")}:function(e){return k&&(e=k(arguments)[0]),s.delete(e)},_=r(function(){var e,n=arguments;return 0===t?I.data:(k&&(n=k(n)),e=m?m(n):String(n[0]),I[e])}),O=r(function(){var e,n=arguments;return 0===t?s.has("data"):(k&&(n=k(n)),null!==(e=m?m(n):String(n[0]))&&s.has(e))}),d(x,{__memoized__:o(!0),delete:o(w),clear:o(s.clear),_get:o(_),_has:o(O)}),s}},e56X:function(e,t,n){const{noopTest:i,edit:r,merge:o}=n("rUJ1"),s={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:i,table:i,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};s.def=r(s.def).replace("label",s._label).replace("title",s._title).getRegex(),s.bullet=/(?:[*+-]|\d{1,9}\.)/,s.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,s.item=r(s.item,"gm").replace(/bull/g,s.bullet).getRegex(),s.list=r(s.list).replace(/bull/g,s.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+s.def.source+")").getRegex(),s._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",s._comment=//,s.html=r(s.html,"i").replace("comment",s._comment).replace("tag",s._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),s.paragraph=r(s._paragraph).replace("hr",s.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",s._tag).getRegex(),s.blockquote=r(s.blockquote).replace("paragraph",s.paragraph).getRegex(),s.normal=o({},s),s.gfm=o({},s.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),s.gfm.nptable=r(s.gfm.nptable).replace("hr",s.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",s._tag).getRegex(),s.gfm.table=r(s.gfm.table).replace("hr",s.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",s._tag).getRegex(),s.pedantic=o({},s.normal,{html:r("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",s._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:i,paragraph:r(s.normal._paragraph).replace("hr",s.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",s.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const a={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:i,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:i,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~"};a.em=r(a.em).replace(/punctuation/g,a._punctuation).getRegex(),a._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,a._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,a._email=/[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])?)+(?![-_])/,a.autolink=r(a.autolink).replace("scheme",a._scheme).replace("email",a._email).getRegex(),a._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,a.tag=r(a.tag).replace("comment",s._comment).replace("attribute",a._attribute).getRegex(),a._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,a._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,a._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,a.link=r(a.link).replace("label",a._label).replace("href",a._href).replace("title",a._title).getRegex(),a.reflink=r(a.reflink).replace("label",a._label).getRegex(),a.normal=o({},a),a.pedantic=o({},a.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:r(/^!?\[(label)\]\((.*?)\)/).replace("label",a._label).getRegex(),reflink:r(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",a._label).getRegex()}),a.gfm=o({},a.normal,{escape:r(a.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\{const e=Object(u.b)();let t=[];return e.initialData.headers&&(t=Object.keys(e.initialData.headers).map(t=>({key:t,value:e.initialData.headers[t]?""+e.initialData.headers[t]:"",enabled:!0}))),t=[...t,{key:"",value:"",enabled:!0}],t};function d(e=h(),t){switch(t.type){case l.a:return[...e,{key:"",value:"",enabled:!0}];case l.k:return[...t.payload.headers];case l.d:return e.map((e,n)=>n===t.payload.i?{...e,key:t.payload.val}:e);case l.e:return e.map((e,n)=>n===t.payload.i?{...e,value:t.payload.val}:e);case l.c:return e.map((e,n)=>n===t.payload.i?{...e,enabled:t.payload.val}:e);case l.i:return e.filter((e,n)=>n!==t.payload);default:return e}}var p=n("L8IC"),f=n("Q41Y");function g(e={showHeaderDialog:!1,showVariableDialog:!1,showSubscriptionUrlDialog:!1,showHistoryDialog:!1,showAddToCollectionDialog:!1,showPreRequestDialog:!1},t){switch(t.type){case f.b:return Object.assign({},e,{showHeaderDialog:!e.showHeaderDialog});case f.f:return Object.assign({},e,{showVariableDialog:!e.showVariableDialog});case f.e:return Object.assign({},e,{showSubscriptionUrlDialog:!e.showSubscriptionUrlDialog});case f.c:return{...e,showHistoryDialog:!e.showHistoryDialog};case f.a:return{...e,showAddToCollectionDialog:!e.showAddToCollectionDialog};case f.d:return{...e,showPreRequestDialog:!e.showPreRequestDialog};default:return e}}var m=n("lgLN");function b(e={sdl:"",allowIntrospection:!0},t){switch(t.type){case m.f:case m.g:return{...e,introspection:t.payload};case m.i:return{...e,schema:t.payload};case m.e:return{...e,allowIntrospection:t.payload};case m.j:return{...e,sdl:t.payload.sdl};case m.h:return{...e,lastUpdatedAt:t.payload.epoch};default:return e}}var v=n("39k0");function y(e={showDocs:!1,isLoading:!1,docView:{view:"root",parentType:"Query",name:""}},t){switch(t.type){case v.g:return Object.assign({},e,{showDocs:!e.showDocs});case v.b:return Object.assign({},e,{isLoading:!0});case v.c:return Object.assign({},e,{isLoading:!1});case v.a:return{...e,docView:t.payload.docView};default:return e}}var w=n("Gjh+"),_=n("D08x");function O(e){const t={};return function(n=t,i){const o=Object.assign({},n);switch(i.type){case w.a:const{windowId:t,title:n,url:s,collectionId:a,windowIdInCollection:c,fixedTitle:l}=i.payload;return o[t]=JSON.parse(JSON.stringify(e(void 0,{type:_.c}))),o[t].layout.title=n,o[t].layout.hasDynamicTitle=!l,o[t].windowId=t,s&&(o[t].query.url=s),a&&(o[t].layout.collectionId=a),c&&(o[t].layout.windowIdInCollection=c),o;case w.m:const u={};return i.payload.forEach(e=>{u[e.windowId]={...e}}),u;case w.i:const h=i.payload.windowId;return o[h]&&delete o[h],Object.assign({},o);default:const d=i,p=o[d.windowId];if(!p)return d.type===r.b?function(e){return Object.keys(e).map(t=>{const n=e[t];return n.headers&&(n.headers=n.headers.map(e=>({...e,enabled:void 0===e.enabled||e.enabled}))),n}).reduce((e,t)=>(e[t.windowId]=t,e),{})}(o):o;const f=e(p,i);return o[d.windowId]={...f,windowId:d.windowId},o}}}var C=n("N7TE");function E(e={list:[]},t){switch(t.type){case C.a:const n={...e},i=void 0!==t.payload.limit?t.payload.limit:Object(u.b)().query_history_depth;return e.list.length>=i&&n.list.pop(),{...n,list:[{query:t.payload.query},...n.list]};case C.c:return{list:[]};default:return e}}var S=n("oE/m");function T(e={activeWindowId:"",windowIds:[],showImportCurlDialog:!1,showEditCollectionDialog:!1,showSettingsDialog:!1,showEnvironmentManager:!1,showPluginManager:!1},t){switch(t.type){case S.c:return{...e,activeWindowId:t.payload.windowId};case S.d:{const t=e.windowIds.findIndex(t=>t===e.activeWindowId);let n="";return n=t>=e.windowIds.length-1?e.windowIds[0]:e.windowIds[t+1],{...e,activeWindowId:n}}case S.e:{const t=e.windowIds.findIndex(t=>t===e.activeWindowId);let n="";return n=t<=0?e.windowIds[e.windowIds.length-1]:e.windowIds[t-1],{...e,activeWindowId:n}}case S.c:return{...e,activeWindowId:t.payload.windowId};case S.f:return{...e,windowIds:t.payload.ids};case S.a:const n=t.payload.currentPosition,i=t.payload.newPosition;if(n>-1&&n-1&&i{const e=Object(u.b)();return{enabled:!!e.initialData.preRequestScript,script:e.initialData.preRequestScript?""+e.initialData.preRequestScript:""}};function M(e=L(),t){switch(t.type){case N.b:return{...e,script:t.payload.script};case N.a:return{...e,enabled:t.payload.enabled};default:return e}}var F=n("qY48");const P=()=>{const e=Object(u.b)();return{enabled:!!e.initialData.postRequestScript,script:e.initialData.postRequestScript?""+e.initialData.postRequestScript:""}};function V(e=P(),t){switch(t.type){case F.b:return{...e,script:t.payload.script};case F.a:return{...e,enabled:t.payload.enabled};default:return e}}var G=n("9Oho");function B(e={closedWindows:[],installedPlugins:{},panels:[],uiActions:[]},t){const n=e.closedWindows.length;switch(t.type){case G.h:return{...e,closedWindows:50===n?[...e.closedWindows.slice(1),t.payload.window]:[...e.closedWindows,t.payload.window]};case G.g:return{...e,closedWindows:e.closedWindows.filter((e,t)=>te.id!==t.payload.panelId)};case G.o:return{...e,panels:e.panels.map(e=>(e.isActive=e.id===t.payload.panelId&&t.payload.isActive,e))};case G.c:return{...e,uiActions:[...e.uiActions,t.payload]};case G.l:return{...e,uiActions:e.uiActions.filter(e=>e.id!==t.payload.actionId)};default:return e}}var W=n("6EqW"),$=n("BTCl"),U=n("65Dl");const H=e=>e?e.query:{...Object(c.a)()},q=Object(r.p)(H,e=>e.response),Q=Object(r.p)(H,e=>e.responseStatus),K=Object(r.p)(H,e=>e.responseTime),X=Object(r.p)(H,e=>e.responseStatusText),Y=Object(r.p)(H,e=>e.responseHeaders),J=Object(r.p)(H,e=>e.isSubscribed),Z=Object(r.p)(H,e=>e.subscriptionResponseList),ee=Object(r.p)(H,e=>e.autoscrollSubscriptionResponse),te=Object(r.p)(H,e=>e.selectedOperation||null),ne=Object(r.p)(H,e=>e.operations||[]),ie=e=>e?e.docs:{showDocs:!1,isLoading:!1,docView:{view:"root",parentType:"Query",name:""}},re=Object(r.p)(ie,e=>e.showDocs),oe=Object(r.p)(ie,e=>e.docView||{view:"root",parentType:"Query",name:""}),se=Object(r.p)(ie,e=>e.isLoading),ae=e=>e?e.headers:{...h()},ce=e=>e?e.variables:Object(p.a)(),le=e=>e?e.layout:{isLoading:!1,title:"New window",hasDynamicTitle:!0},ue=(Object(r.p)(le,e=>e.isLoading),Object(r.p)(le,e=>e.title),e=>e?e.schema:{sdl:"",allowIntrospection:!0}),he=(Object(r.p)(ue,e=>e.schema),Object(r.p)(ue,e=>e.introspection)),de=Object(r.p)(ue,e=>e.allowIntrospection),pe=Object(r.p)(ue,e=>e.lastUpdatedAt),fe=(Object(r.p)(ue,e=>e.sdl),e=>e.collection),ge=Object(r.p)(fe,e=>e.list||[]),me=Object(r.p)(fe,e=>e.sortBy),be=Object(r.p)(ge,me,(e,t)=>{switch(t){case"a-z":return e.sort((e,t)=>{const n=e.title.toLowerCase()||e.updated_at,i=t.title.toLowerCase()||t.updated_at;if(n&&i){if(n>i)return 1;if(n{const n=e.title.toLowerCase()||e.updated_at,i=t.title.toLowerCase()||t.updated_at;if(n&&i){if(n>i)return-1;if(n{const n=e.updated_at,i=t.updated_at;if(n&&i){if(n>i)return-1;if(n{const n=e.updated_at,i=t.updated_at;if(n&&i){if(n>i)return 1;if(ne?e.preRequest:{...L()},ye=e=>e?e.postRequest:{...P()},we=Object(r.p)(e=>e?e.stream:{url:"",type:"",isConnected:!1,failed:null},e=>e.url?e.isConnected&&e.client instanceof EventSource?"connected":"uncertain":"");var _e=n("kvTO");const Oe=e=>e.local,Ce=Object(r.p)(Oe,e=>e.panels),Ee=Object(r.p)(Ce,e=>e.filter(e=>e.location===_e.b.SIDEBAR)),Se=Object(r.p)(Ce,e=>e.filter(e=>e.location===_e.b.HEADER)),Te=Object(r.p)(Oe,e=>e.uiActions),xe=Object(r.p)(Te,e=>e.filter(e=>e.location===_e.d.RESULT_PANE)),ke=[function(e){return Object($.a)(U.a)(e)},function(e){return(t,n)=>(o.a.production&&!window.__ENABLE_DEBUG_MODE__||W.a.log(n.type,n),window.__LAST_ACTION__=window.__LAST_ACTION__||[],window.__LAST_ACTION__.push(n.type),o.a.production&&window.__LAST_ACTION__.length>10&&window.__LAST_ACTION__.shift(),e(t,n))}],Ie=()=>({windows:O(Object(r.m)({layout:a,query:c.b,headers:d,variables:p.b,dialogs:g,schema:b,docs:y,history:E,stream:R,preRequest:M,postRequest:V})),windowsMeta:T,settings:x.a,donation:I,collection:z,environments:j.a,local:B}),De=new i.s("Registered Reducers"),ze=(Ie(),e=>t=>t.windows[e])},eIep:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("lJxs"),r=n("Cfvw"),o=n("zx2A");function s(e,t){return"function"==typeof t?n=>n.pipe(s((n,o)=>Object(r.a)(e(n,o)).pipe(Object(i.a)((e,i)=>t(n,e,o,i))))):t=>t.lift(new a(e))}class a{constructor(e){this.project=e}call(e,t){return t.subscribe(new c(e,this.project))}}class c extends o.b{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new o.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(o.c)(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}},eNwd:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("3N8a");class r extends i.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}var o=n("IjjT");class s extends o.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===R.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||B,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||N.Emulated,id:"c",styles:e.styles||B,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,o=e.pipes;return n.id+=X++,n.inputs=re(e.inputs,t),n.outputs=re(e.outputs),r&&r.forEach(e=>e(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(Z):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(ee):null,n})}function J(e,t,n){const i=e.\u0275cmp;i.directiveDefs=()=>t.map(Z),i.pipeDefs=()=>n.map(ee)}function Z(e){return ae(e)||function(e){return e[$]||null}(e)}function ee(e){return function(e){return e[U]||null}(e)}const te={};function ne(e){const t={type:e.type,bootstrap:e.bootstrap||B,declarations:e.declarations||B,imports:e.imports||B,exports:e.exports||B,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&A(()=>{te[e.id]=e.type}),t}function ie(e,t){return A(()=>{const n=ce(e,!0);n.declarations=t.declarations||B,n.imports=t.imports||B,n.exports=t.exports||B})}function re(e,t){if(null==e)return G;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}const oe=Y;function se(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ae(e){return e[W]||null}function ce(e,t){const n=e[H]||null;if(!n&&!0===t)throw new Error(`Type ${u(e)} does not have '\u0275mod' property.`);return n}function le(e){return Array.isArray(e)&&"object"==typeof e[1]}function ue(e){return Array.isArray(e)&&!0===e[1]}function he(e){return 0!=(8&e.flags)}function de(e){return 2==(2&e.flags)}function pe(e){return 1==(1&e.flags)}function fe(e){return null!==e.template}function ge(e,t){return e.hasOwnProperty(Q)?e[Q]:null}class me{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function be(){return ve}function ve(e){return e.type.prototype.ngOnChanges&&(e.setInput=we),ye}function ye(){const e=_e(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===G)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function we(e,t,n,i){const r=_e(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:G,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],c=s[a];o[a]=new me(c&&c.currentValue,t,s===G),e[i]=t}function _e(e){return e.__ngSimpleChanges__||null}let Oe;function Ce(e){Oe=e}function Ee(){return void 0!==Oe?Oe:"undefined"!=typeof document?document:void 0}function Se(e){return!!e.listen}be.ngInherit=!0;const Te={createRenderer:(e,t)=>Ee()};function xe(e){for(;Array.isArray(e);)e=e[0];return e}function ke(e,t){return xe(t[e])}function Ie(e,t){return xe(t[e.index])}function De(e,t){return e.data[t]}function ze(e,t){return e[t]}function je(e,t){const n=t[e];return le(n)?n:n[0]}function Ae(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Re(e){return 4==(4&e[2])}function Ne(e){return 128==(128&e[2])}function Le(e,t){return null==t?null:e[t]}function Me(e){e[18]=0}function Fe(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const Pe={lFrame:ut(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ve(){return Pe.bindingsEnabled}function Ge(){return Pe.lFrame.lView}function Be(){return Pe.lFrame.tView}function We(e){Pe.lFrame.contextLView=e}function $e(){let e=Ue();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ue(){return Pe.lFrame.currentTNode}function He(e,t){const n=Pe.lFrame;n.currentTNode=e,n.isParent=t}function qe(){return Pe.lFrame.isParent}function Qe(){Pe.lFrame.isParent=!1}function Ke(){return Pe.isInCheckNoChangesMode}function Xe(e){Pe.isInCheckNoChangesMode=e}function Ye(){const e=Pe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Je(){return Pe.lFrame.bindingIndex}function Ze(){return Pe.lFrame.bindingIndex++}function et(e){const t=Pe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function tt(e,t){const n=Pe.lFrame;n.bindingIndex=n.bindingRootIndex=e,nt(t)}function nt(e){Pe.lFrame.currentDirectiveIndex=e}function it(e){const t=Pe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function rt(){return Pe.lFrame.currentQueryIndex}function ot(e){Pe.lFrame.currentQueryIndex=e}function st(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function at(e,t,n){if(n&I.SkipSelf){let i=t,r=e;for(;i=i.parent,!(null!==i||n&I.Host||(i=st(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}const i=Pe.lFrame=lt();return i.currentTNode=t,i.lView=e,!0}function ct(e){const t=lt(),n=e[1];Pe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function lt(){const e=Pe.lFrame,t=null===e?null:e.child;return null===t?ut(e):t}function ut(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ht(){const e=Pe.lFrame;return Pe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const dt=ht;function pt(){const e=ht();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ft(){return Pe.lFrame.selectedIndex}function gt(e){Pe.lFrame.selectedIndex=e}function mt(){const e=Pe.lFrame;return De(e.tView,e.selectedIndex)}function bt(){Pe.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function vt(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[a]<0&&(e[18]+=65536),(s>11>16&&(3&e[2])===t&&(e[2]+=2048,o.call(s)):o.call(s)}class Et{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function St(e,t,n){const i=Se(e);let r=0;for(;rt){s=o-1;break}}}for(;o>16,i=t;for(;n>0;)i=i[15],n--;return i}let At=!0;function Rt(e){const t=At;return At=e,t}let Nt=0;function Lt(e,t){const n=Ft(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Mt(i.data,e),Mt(t,null),Mt(i.blueprint,null));const r=Pt(e,t),o=e.injectorIndex;if(Dt(r)){const e=zt(r),n=jt(r,t),i=n[1].data;for(let r=0;r<8;r++)t[o+r]=n[e+r]|i[e+r]}return t[o+8]=r,o}function Mt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ft(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Pt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){const e=r[1],t=e.type;if(i=2===t?e.declTNode:1===t?r[6]:null,null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Vt(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(K)&&(i=n[K]),null==i&&(i=n[K]=Nt++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:Ut:t}(n);if("function"==typeof o){if(!at(t,e,i))return i&I.Host?Gt(r,n,i):Bt(t,n,i,r);try{const e=o();if(null!=e||i&I.Optional)return e;y(n)}finally{dt()}}else if("number"==typeof o){let r=null,s=Ft(e,t),a=-1,c=i&I.Host?t[16][6]:null;for((-1===s||i&I.SkipSelf)&&(a=-1===s?Pt(e,t):t[s+8],-1!==a&&Xt(i,!1)?(r=t[1],s=zt(a),t=jt(a,t)):s=-1);-1!==s;){const e=t[1];if(Kt(o,s,e.data)){const e=Ht(s,t,n,r,i,c);if(e!==$t)return e}a=t[s+8],-1!==a&&Xt(i,t[1].data[s+8]===c)&&Kt(o,s,t)?(r=e,s=zt(a),t=jt(a,t)):s=-1}}}return Bt(t,n,i,r)}const $t={};function Ut(){return new Yt($e(),Ge())}function Ht(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],c=qt(a,s,n,null==i?de(a)&&At:i!=s&&0!=(3&a.type),r&I.Host&&o===a);return null!==c?Qt(t,s,c,a):$t}function qt(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,c=e.directiveStart,l=o>>20,u=r?a+l:e.directiveEnd;for(let h=i?a:a+l;h=c&&e.type===n)return h}if(r){const e=s[c];if(e&&fe(e)&&e.type===n)return c}return null}function Qt(e,t,n,i){let r=e[n];const o=t.data;if(r instanceof Et){const s=r;s.resolving&&function(e,t){throw new m("200",`Circular dependency in DI detected for ${e}`)}(v(o[n]));const a=Rt(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?z(s.injectImpl):null;at(e,i,I.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const i=ve(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==c&&z(c),Rt(a),s.resolving=!1,dt()}}return r}function Kt(e,t,n){return!!(n[t+(e>>5)]&1<{const e=Jt(f(t));return e?e():null};let n=ge(t);if(null===n){const e=E(t);n=e&&e.factory}return n||null}function Zt(e){return A(()=>{const t=e.prototype.constructor,n=t[Q]||Jt(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const e=r[Q]||Jt(r);if(e&&e!==n)return e;r=Object.getPrototypeOf(r)}return e=>new e})}function en(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i{const i=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,i){const r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class nn{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=w({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const rn=new nn("AnalyzeForEntryComponents"),on=Function;function sn(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(e)?an(e,t):t(e))}function cn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ln(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function un(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function dn(e,t){const n=pn(e,t);if(n>=0)return e[1|n]}function pn(e,t){return function(e,t,n){let i=0,r=e.length>>1;for(;r!==i;){const n=i+(r-i>>1),o=e[n<<1];if(t===o)return n<<1;o>t?r=n:i=n+1}return~(r<<1)}(e,t)}const fn={},gn=/\n/gm,mn=c({provide:String,useValue:c});let bn;function vn(e){const t=bn;return bn=e,t}function yn(e,t=I.Default){if(void 0===bn)throw new Error("inject() must be called from an injection context");return null===bn?j(e,void 0,t):bn.get(e,t&I.Optional?null:void 0,t)}function wn(e,t=I.Default){return(D||yn)(f(e),t)}const _n=wn;function On(e){const t=[];for(let n=0;n({token:e})),-1),Sn=Cn(tn("Optional"),8),Tn=Cn(tn("Self"),2),xn=Cn(tn("SkipSelf"),4),kn=Cn(tn("Host"),1);let In,Dn;function zn(e){var t;return(null===(t=function(){if(void 0===In&&(In=null,V.trustedTypes))try{In=V.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return In}())||void 0===t?void 0:t.createHTML(e))||e}function jn(e){var t;return(null===(t=function(){if(void 0===Dn&&(Dn=null,V.trustedTypes))try{Dn=V.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return Dn}())||void 0===t?void 0:t.createHTML(e))||e}class An{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Rn extends An{getTypeName(){return"HTML"}}class Nn extends An{getTypeName(){return"Style"}}class Ln extends An{getTypeName(){return"Script"}}class Mn extends An{getTypeName(){return"URL"}}class Fn extends An{getTypeName(){return"ResourceURL"}}function Pn(e){return e instanceof An?e.changingThisBreaksApplicationSecurity:e}function Vn(e,t){const n=Gn(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Gn(e){return e instanceof An&&e.getTypeName()||null}function Bn(e){return new Rn(e)}function Wn(e){return new Nn(e)}function $n(e){return new Ln(e)}function Un(e){return new Mn(e)}function Hn(e){return new Fn(e)}class qn{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(zn(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class Qn{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=zn(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=zn(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0Yn(e.trim())).join(", ")),this.buf.push(" ",t,'="',di(s),'"')}var i;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();ri.hasOwnProperty(t)&&!ei.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(di(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const ui=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hi=/([^\#-~ |!])/g;function di(e){return e.replace(/&/g,"&").replace(ui,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(hi,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let pi;function fi(e,t){let n=null;try{pi=pi||function(e){const t=new Qn(e);return function(){try{return!!(new window.DOMParser).parseFromString(zn(""),"text/html")}catch(e){return!1}}()?new qn(t):t}(e);let i=t?String(t):"";n=pi.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=pi.getInertBodyElement(i)}while(i!==o);return zn((new li).sanitizeChildren(gi(n)||n))}finally{if(n){const e=gi(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function gi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var mi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function bi(e){const t=yi();return t?jn(t.sanitize(mi.HTML,e)||""):Vn(e,"HTML")?jn(Pn(e)):fi(Ee(),b(e))}function vi(e){const t=yi();return t?t.sanitize(mi.URL,e)||"":Vn(e,"URL")?Pn(e):Yn(b(e))}function yi(){const e=Ge();return e&&e[12]}function wi(e){return e.ngDebugContext}function _i(e){return e.ngOriginalError}function Oi(e,...t){e.error(...t)}class Ci{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||Oi}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?wi(e)?wi(e):this._findContext(_i(e)):null}_findOriginalError(e){let t=_i(e);for(;t&&_i(t);)t=_i(t);return t}}function Ei(e,t){e.__ngContext__=t}const Si=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(V))();function Ti(e){return{name:"window",target:e.ownerDocument.defaultView}}function xi(e){return{name:"document",target:e.ownerDocument}}function ki(e){return e instanceof Function?e():e}var Ii=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function Di(e,t){return(void 0)(e,t)}function zi(e){const t=e[3];return ue(t)?t[3]:t}function ji(e){return Ri(e[13])}function Ai(e){return Ri(e[4])}function Ri(e){for(;null!==e&&!ue(e);)e=e[4];return e}function Ni(e,t,n,i,r){if(null!=i){let o,s=!1;ue(i)?o=i:le(i)&&(s=!0,i=i[0]);const a=xe(i);0===e&&null!==n?null==r?Wi(t,n,a):Bi(t,n,a,r||null,!0):1===e&&null!==n?Bi(t,n,a,r||null,!0):2===e?function(e,t,n){const i=Ui(e,t);i&&function(e,t,n,i){Se(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,i,r){const o=n[7];o!==xe(n)&&Ni(t,e,i,o,r);for(let s=10;s0&&(e[n-1][4]=i[4]);const s=ln(e,10+t);Zi(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=s[19];null!==a&&a.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function Pi(e,t){if(!(256&t[2])){const n=t[11];Se(n)&&n.destroyNode&&Zi(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Vi(e[1],e);for(;t;){let n=null;if(le(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)le(t)&&Vi(t[1],t),t=t[3];null===t&&(t=e),le(t)&&Vi(t[1],t),n=t&&t[4]}t=n}}(t)}}function Vi(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const e=i[r=n[o+1]];n[o].call(e)}if(null!==i){for(let e=r+1;eo?"":r[u+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==ir(t,l,0)||2&i&&l!==e){if(cr(i))return!1;s=!0}}}}else{if(!s&&!cr(i)&&!cr(c))return!1;if(s&&cr(c))continue;s=!1,i=c|1&i}}return cr(i)||s}function cr(e){return 0==(1&e)}function lr(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""===r||cr(s)||(t+=dr(o,r),r=""),i=s,o=o||!cr(i);n++}return""!==r&&(t+=dr(o,r)),t}const fr={};function gr(e){mr(Be(),Ge(),ft()+e,Ke())}function mr(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&yt(t,i,n)}else{const i=e.preOrderHooks;null!==i&&wt(t,i,0,n)}gt(n)}function br(e,t){return e<<17|t<<2}function vr(e){return e>>17&32767}function yr(e){return 2|e}function wr(e){return(131068&e)>>2}function _r(e,t){return-131069&e|t<<2}function Or(e){return 1|e}function Cr(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i20&&mr(e,t,20,Ke()),n(i,r)}finally{gt(o)}}function zr(e,t,n){if(he(t)){const i=t.directiveEnd;for(let r=t.directiveStart;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=o&&n.push(o),n.push(i,r,s)}}function Gr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Br(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Wr(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&Yr(n)}}function Yr(e){for(let n=ji(e);null!==n;n=Ai(n))for(let e=10;e0&&Yr(t)}const t=e[1].components;if(null!==t)for(let n=0;n0&&Yr(i)}}function Jr(e,t){const n=je(t,e),i=n[1];!function(e,t){for(let n=t.length;nPromise.resolve(null))();function oo(e){return e[7]||(e[7]=[])}function so(e){return e.cleanup||(e.cleanup=[])}function ao(e,t,n){return(null===e||fe(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function co(e,t){const n=e[9],i=n?n.get(Ci,null):null;i&&i.handleError(t)}function lo(e,t,n,i,r){for(let o=0;othis.processProvider(n,e,t)),an([e],e=>this.processInjectorType(e,[],r)),this.records.set(po,So(void 0,this));const o=this.records.get(go);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:u(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=fn,n=I.Default){this.assertNotDestroyed();const i=vn(this);try{if(!(n&I.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof nn)&&O(e);t=n&&this.injectableDefInScope(n)?So(Co(e),mo):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&I.Self?wo():this.parent).get(e,t=n&I.Optional&&t===fn?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(u(e)),i)throw o;return function(e,t,n,i){const r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=u(t);if(Array.isArray(t))r=t.map(u).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):u(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(gn,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{vn(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(u(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=f(e)))return!1;let i=E(e);const r=null==i&&e.ngModule||void 0,o=void 0===r?e:r,s=-1!==n.indexOf(o);if(void 0!==r&&(i=E(r)),null==i)return!1;if(null!=i.imports&&!s){let e;n.push(o);try{an(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,i||vo))}}this.injectorDefTypes.add(o),this.records.set(o,So(i.factory,mo));const a=i.providers;if(null!=a&&!s){const t=e;an(a,e=>this.processProvider(e,t,a))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=xo(e=f(e))?e:f(e&&e.provide);const r=function(e,t,n){return To(e)?So(void 0,e.useValue):So(Eo(e),mo)}(e);if(xo(e)||!0!==e.multi)this.records.get(i);else{let t=this.records.get(i);t||(t=So(void 0,mo,!0),t.factory=()=>On(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,r)}hydrate(e,t){var n;return t.value===mo&&(t.value=bo,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Co(e){const t=O(e),n=null!==t?t.factory:ge(e);if(null!==n)return n;const i=E(e);if(null!==i)return i.factory;if(e instanceof nn)throw new Error(`Token ${u(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=un(t,"?");throw new Error(`Can't resolve all parameters for ${u(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[S]||e[x]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Eo(e,t,n){let i;if(xo(e)){const t=f(e);return ge(t)||Co(t)}if(To(e))i=()=>f(e.useValue);else if((r=e)&&r.useFactory)i=()=>e.useFactory(...On(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>wn(f(e.useExisting));else{const t=f(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ge(t)||Co(t);i=()=>new t(...On(e.deps))}var r;return i}function So(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function To(e){return null!==e&&"object"==typeof e&&mn in e}function xo(e){return"function"==typeof e}const ko=function(e,t,n){return function(e,t=null,n=null,i){const r=_o(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let Io=(()=>{class e{static create(e,t){return Array.isArray(e)?ko(e,t,""):ko(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=fn,e.NULL=new fo,e.\u0275prov=w({token:e,providedIn:"any",factory:()=>wn(po)}),e.__NG_ELEMENT_ID__=-1,e})();function Do(e,t){vt(Ae(e)[1],$e())}function zo(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const i=[e];for(;t;){let r;if(fe(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);const t=e;t.inputs=jo(e.inputs),t.declaredInputs=jo(e.declaredInputs),t.outputs=jo(e.outputs);const n=r.hostBindings;n&&No(e,n);const o=r.viewQuery,s=r.contentQueries;if(o&&Ao(e,o),s&&Ro(e,s),l(e.inputs,r.inputs),l(e.declaredInputs,r.declaredInputs),l(e.outputs,r.outputs),fe(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}}const t=r.features;if(t)for(let i=0;i=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=kt(r.hostAttrs,n=kt(n,r.hostAttrs))}}(i)}function jo(e){return e===G?{}:e===B?[]:e}function Ao(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function Ro(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function No(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}let Lo=null;function Mo(){if(!Lo){const e=V.Symbol;if(e&&e.iterator)Lo=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;ta(xe(e[i.index])).target:i.index;if(Se(n)){let s=null;if(!a&&c&&(s=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;on?e[n]:null}"string"==typeof e&&(o+=2)}return null}(e,t,r,i.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,h=!1;else{o=hs(i,t,o,!1);const e=n.listen(p.name||f,r,o);u.push(o,e),l&&l.push(r,m,g,g+1)}}else o=hs(i,t,o,!0),f.addEventListener(r,o,s),u.push(o),l&&l.push(r,m,g,s)}else o=hs(i,t,o,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[r])){const e=p.length;if(e)for(let n=0;n0;)t=t[15],e--;return t}(e,Pe.lFrame.contextLView))[8]}(e)}function ps(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r=0}const _s={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Os(e){return e.substring(_s.key,_s.keyEnd)}function Cs(e,t){const n=_s.textEnd;return n===t?-1:(t=_s.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,_s.key=t,n),Es(e,t,n))}function Es(e,t,n){for(;t=0;n=Cs(t,n))hn(e,Os(t),!0)}function Is(e,t,n,i){const r=Ge(),o=Be(),s=et(2);o.firstUpdatePass&&js(o,e,s,i),t!==fr&&Bo(r,s,t)&&Ns(o,o.data[ft()],r,r[11],e,r[s+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=u(Pn(e)))),e}(t,n),i,s)}function Ds(e,t,n,i){const r=Be(),o=et(2);r.firstUpdatePass&&js(r,null,o,i);const s=Ge();if(n!==fr&&Bo(s,o,n)){const a=r.data[ft()];if(Fs(a,i)&&!zs(r,o)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=h(e,n||"")),Xo(r,a,s,n,i)}else!function(e,t,n,i,r,o,s,a){r===fr&&(r=vs);let c=0,l=0,u=0=e.expandoStartIndex}function js(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[ft()],s=zs(e,n);Fs(o,i)&&null===t&&!s&&(t=!1),t=function(e,t,n,i){const r=it(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Rs(n=As(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=As(r,e,t,n,i),null===o){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==wr(i))return e[vr(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=As(null,e,t,n[1],i),n=Rs(n,t.attrs,i),function(e,t,n,i){e[vr(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else o=function(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(u=!0)}else l=n;if(r)if(0!==c){const t=vr(e[a+1]);e[i+1]=br(t,a),0!==t&&(e[t+1]=_r(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=br(a,0),0!==a&&(e[a+1]=_r(e[a+1],i)),a=i;else e[i+1]=br(c,0),0===a?a=i:e[c+1]=_r(e[c+1],i),c=i;u&&(e[i+1]=yr(e[i+1])),ys(e,l,i,!0),ys(e,l,i,!1),function(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&pn(o,t)>=0&&(n[i+1]=Or(n[i+1]))}(t,l,e,i,o),s=br(a,c),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function As(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const t=e[r],o=Array.isArray(t),c=o?t[1]:t,l=null===c;let u=n[r+1];u===fr&&(u=l?vs:void 0);let h=l?dn(u,i):c===i?u:void 0;if(o&&!Ms(h)&&(h=dn(t,i)),Ms(h)&&(a=h,s))return a;const d=e[r+1];r=s?vr(d):wr(d)}if(null!==t){let e=o?t.residualClasses:t.residualStyles;null!=e&&(a=dn(e,i))}return a}function Ms(e){return void 0!==e}function Fs(e,t){return 0!=(e.flags&(t?16:32))}function Ps(e,t=""){const n=Ge(),i=Be(),r=e+20,o=i.firstCreatePass?Sr(i,r,1,t,null):i.data[r],s=n[r]=function(e,t){return Se(e)?e.createText(t):e.createTextNode(t)}(n[11],t);Qi(i,n,s,o),He(o,!1)}function Vs(e){return Gs("",e,""),Vs}function Gs(e,t,n){const i=Ge(),r=Uo(i,e,t,n);return r!==fr&&uo(i,ft(),r),Gs}function Bs(e,t,n,i,r){const o=Ge(),s=function(e,t,n,i,r,o){const s=Wo(e,Je(),n,r);return et(2),s?t+b(n)+i+b(r)+o:fr}(o,e,t,n,i,r);return s!==fr&&uo(o,ft(),s),Bs}function Ws(e,t,n){Ds(hn,ks,Uo(Ge(),e,t,n),!0)}function $s(e,t,n){const i=Ge();return Bo(i,Ze(),t)&&Fr(Be(),mt(),i,e,t,i[11],n,!0),$s}function Us(e,t,n){const i=Ge();if(Bo(i,Ze(),t)){const r=Be(),o=mt();Fr(r,o,i,e,t,ao(it(r.data),o,i),n,!0)}return Us}const Hs=void 0;var qs=["en",[["a","p"],["AM","PM"],Hs],[["AM","PM"],Hs,Hs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Hs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Hs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Hs,"{1} 'at' {0}",Hs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Qs={};function Ks(e,t,n){"string"!=typeof t&&(n=t,t=e[ea.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Qs[t]=e,n&&(Qs[t][ea.ExtraData]=n)}function Xs(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Zs(t);if(n)return n;const i=t.split("-")[0];if(n=Zs(i),n)return n;if("en"===i)return qs;throw new Error(`Missing locale data for the locale "${e}".`)}function Ys(e){return Xs(e)[ea.CurrencyCode]||null}function Js(e){return Xs(e)[ea.PluralCase]}function Zs(e){return e in Qs||(Qs[e]=V.ng&&V.ng.common&&V.ng.common.locales&&V.ng.common.locales[e]),Qs[e]}var ea=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});let ta="en-US";function na(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e} [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(ta=e.toLowerCase().replace(/_/g,"-"))}function ia(e,t,n,i,r){if(e=f(e),Array.isArray(e))for(let o=0;o>20;if(xo(e)||!e.multi){const i=new Et(c,r,Qo),p=sa(a,t,r?u:u+d,h);-1===p?(Vt(Lt(l,s),o,a),ra(o,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=sa(a,t,u+d,h),f=sa(a,t,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(r&&!m||!r&&!g){Vt(Lt(l,s),o,a);const u=function(e,t,n,i,r){const o=new Et(e,n,Qo);return o.multi=[],o.index=t,o.componentProviders=0,oa(o,r,i&&!n),o}(r?ca:aa,n.length,r,i,c);!r&&m&&(n[f].providerFactory=u),ra(o,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(u),s.push(u)}else ra(o,e,p>-1?p:f,oa(n[r?f:p],c,!r&&i));!r&&i&&m&&n[f].componentProviders++}}}function ra(e,t,n,i){const r=xo(t);if(r||t.useClass){const o=(t.useClass||t).prototype.ngOnDestroy;if(o){const s=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=s.indexOf(n);-1===e?s.push(n,[i,o]):s[e+1].push(i,o)}else s.push(n,o)}}}function oa(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function sa(e,t,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(e,t,n){const i=Be();if(i.firstCreatePass){const r=fe(e);ia(n,i.data,i.blueprint,r,!0),ia(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}class ha{}class da{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${u(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let pa=(()=>{class e{}return e.NULL=new da,e})();function fa(...e){}function ga(e,t){return new ba(Ie(e,t))}const ma=function(){return ga($e(),Ge())};let ba=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=ma,e})();function va(e){return e instanceof ba?e.nativeElement:e}class ya{}let wa=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>_a(),e})();const _a=function(){const e=Ge(),t=je($e().index,e);return function(e){return e[11]}(le(t)?t:e)};let Oa=(()=>{class e{}return e.\u0275prov=w({token:e,providedIn:"root",factory:()=>null}),e})();class Ca{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Ea=new Ca("11.2.4");class Sa{constructor(){}supports(e){return Po(e)}create(e){return new xa(e)}}const Ta=(e,t)=>t;class xa{constructor(e){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=e||Ta}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const o=!n||t&&t.currentIndex{i=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,e,i,t)),Object.is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),o=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):e=this._addAfter(new ka(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Da),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Da),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class ka{constructor(e,t){this.item=e,this.trackById=t,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 Ia{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Da{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Ia,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function za(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Ra(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Ra{constructor(e){this.key=e,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 Na(){return new La([new Sa])}let La=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Na()),deps:[[e,new xn,new Sn]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=w({token:e,providedIn:"root",factory:Na}),e})();function Ma(){return new Fa([new ja])}let Fa=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Ma()),deps:[[e,new xn,new Sn]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=w({token:e,providedIn:"root",factory:Ma}),e})();function Pa(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(xe(o)),ue(o))for(let e=10;e-1&&(Fi(e,n),ln(t,n))}this._attachedToViewContainer=!1}Pi(this._lView[1],this._lView)}onDestroy(e){Lr(this._lView[1],this._lView,null,e)}markForCheck(){eo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){to(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Xe(!0);try{to(e,t,n)}finally{Xe(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,Zi(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Ga extends Va{constructor(e){super(e),this._view=e}detectChanges(){no(this._view)}checkNoChanges(){!function(e){Xe(!0);try{no(e)}finally{Xe(!1)}}(this._view)}get context(){return null}}const Ba=$a;let Wa=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ba,e.__ChangeDetectorRef__=!0,e})();function $a(e=!1){return function(e,t,n){if(!n&&de(e)){const n=je(e.index,t);return new Va(n,n)}return 47&e.type?new Va(t[16],t):null}($e(),Ge(),e)}const Ua=[new ja],Ha=new La([new Sa]),qa=new Fa(Ua),Qa=function(){return Ja($e(),Ge())};let Ka=(()=>{class e{}return e.__NG_ELEMENT_ID__=Qa,e})();const Xa=Ka,Ya=class extends Xa{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Er(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),xr(t,n,e),new Va(n)}};function Ja(e,t){return 4&e.type?new Ya(t,e,ga(e,t)):null}class Za{}class ec{}const tc=function(){return ac($e(),Ge())};let nc=(()=>{class e{}return e.__NG_ELEMENT_ID__=tc,e})();const ic=nc,rc=class extends ic{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return ga(this._hostTNode,this._hostLView)}get injector(){return new Yt(this._hostTNode,this._hostLView)}get parentInjector(){const e=Pt(this._hostTNode,this._hostLView);if(Dt(e)){const t=jt(e,this._hostLView),n=zt(e);return new Yt(t[1].data[n+8],t)}return new Yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=oc(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){const e=o.get(Za,null);e&&(r=e)}const s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,i=n[1];if(ue(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new rc(t,t[6],t[3]);i.detach(i.indexOf(e))}}const r=this._adjustIndex(t),o=this._lContainer;!function(e,t,n,i){const r=10+i,o=n.length;i>0&&(n[r-1][4]=t),iSi});class dc extends ha{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(pr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return uc(this.componentDef.inputs)}get outputs(){return uc(this.componentDef.outputs)}create(e,t,n,i){const r=(i=i||this.ngModule)?function(e,t){return{get:(n,i,r)=>{const o=e.get(n,cc,r);return o!==cc||i===cc?o:t.get(n,i,r)}}}(e,i.injector):e,o=r.get(ya,Te),s=r.get(Oa,null),a=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(e,t,n){if(Se(e))return e.selectRootElement(t,n===N.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Li(o.createRenderer(null,this.componentDef),c,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:Si,clean:ro,playerHandler:null,flags:0},d=Nr(0,null,null,1,0,null,null,null,null,null),p=Er(null,d,h,u,null,null,o,a,s,r);let f,g;ct(p);try{const e=function(e,t,n,i,r,o){const s=n[1];n[20]=e;const a=Sr(s,20,2,"#host",null),c=a.mergedAttrs=t.hostAttrs;null!==c&&(ho(a,c,!0),null!==e&&(St(r,e,c),null!==a.classes&&nr(r,e,a.classes),null!==a.styles&&tr(r,e,a.styles)));const l=i.createRenderer(e,t),u=Er(n,Rr(t),null,t.onPush?64:16,n[20],a,i,l,null,null);return s.firstCreatePass&&(Vt(Lt(a,n),s,t.type),Br(s,a),$r(a,n.length,1)),Zr(n,u),n[20]=u}(l,this.componentDef,p,o,a);if(l)if(n)St(a,l,["ng-version",Ea.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,r=2;for(;i0&&nr(a,l,t.join(" "))}if(g=De(d,20),void 0!==t){const e=g.projection=[];for(let n=0;ne(s,t)),t.contentQueries){const e=$e();t.contentQueries(1,s,e.directiveStart)}const a=$e();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(gt(a.index),Vr(n[1],a,0,a.directiveStart,a.directiveEnd,t),Gr(t,s)),s}(e,this.componentDef,p,h,[Do]),xr(d,p,null)}finally{pt()}return new pc(this.componentType,f,ga(g,p),p,g)}}class pc extends class{}{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=t,this.hostView=this.changeDetectorRef=new Ga(i),this.componentType=e}get injector(){return new Yt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const fc=new Map;class gc extends Za{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new lc(this);const n=ce(e),i=e[q]||null;i&&na(i),this._bootstrapComponents=ki(n.bootstrap),this._r3Injector=_o(e,t,[{provide:Za,useValue:this},{provide:pa,useValue:this.componentFactoryResolver}],u(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Io.THROW_IF_NOT_FOUND,n=I.Default){return e===Io||e===Za||e===po?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class mc extends ec{constructor(e){super(),this.moduleType=e,null!==ce(e)&&function(e){const t=new Set;!function e(n){const i=ce(n,!0),r=i.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${u(t)} vs ${u(t.name)}`)}(r,fc.get(r),n),fc.set(r,n));const o=ki(i.imports);for(const s of o)t.has(s)||(t.add(s),e(s))}(e)}(e)}create(e){return new gc(this.moduleType,e)}}function bc(e,t,n){const i=Ye()+e,r=Ge();return r[i]===fr?Go(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function vc(e,t,n,i){return Oc(Ge(),Ye(),e,t,n,i)}function yc(e,t,n,i,r){return Cc(Ge(),Ye(),e,t,n,i,r)}function wc(e,t,n,i,r,o){return function(e,t,n,i,r,o,s,a){const c=t+n;return function(e,t,n,i,r){const o=Wo(e,t,n,i);return Bo(e,t+2,r)||o}(e,c,r,o,s)?Go(e,c+3,a?i.call(a,r,o,s):i(r,o,s)):_c(e,c+3)}(Ge(),Ye(),e,t,n,i,r,o)}function _c(e,t){const n=e[t];return n===fr?void 0:n}function Oc(e,t,n,i,r,o){const s=t+n;return Bo(e,s,r)?Go(e,s+1,o?i.call(o,r):i(r)):_c(e,s+1)}function Cc(e,t,n,i,r,o,s){const a=t+n;return Wo(e,a,r,o)?Go(e,a+2,s?i.call(s,r,o):i(r,o)):_c(e,a+2)}function Ec(e,t){const n=Be();let i;const r=e+20;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}throw new m("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=ge(i.type)),s=z(Qo);try{const e=Rt(!1),t=o();return Rt(e),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Ge(),r,t),t}finally{z(s)}}function Sc(e,t,n){const i=e+20,r=Ge(),o=ze(r,i);return kc(r,xc(r,i)?Oc(r,Ye(),t,o.transform,n,o):o.transform(n))}function Tc(e,t,n,i){const r=e+20,o=Ge(),s=ze(o,r);return kc(o,xc(o,r)?Cc(o,Ye(),t,s.transform,n,i,s):s.transform(n,i))}function xc(e,t){return e[1].data[t].pure}function kc(e,t){return Fo.isWrapped(t)&&(t=Fo.unwrap(t),e[Je()]=fr),t}const Ic=class extends i.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,o=e=>null,s=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(i,o,s);return e instanceof r.a&&e.add(a),a}};function Dc(){return this._results[Mo()]()}class zc{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Mo(),n=zc.prototype;n[t]||(n[t]=Dc)}get changes(){return this._changes||(this._changes=new Ic)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;const n=sn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i0)i.push(s[e/2]);else{const r=o[e+1],s=t[-n];for(let e=10;e{class e{constructor(e){this.appInits=e,this.resolve=fa,this.reject=fa,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(wn(Xc,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();const Jc=new nn("AppId"),Zc={provide:Jc,useFactory:function(){return`${el()}${el()}${el()}`},deps:[]};function el(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tl=new nn("Platform Initializer"),nl=new nn("Platform ID"),il=new nn("appBootstrapListener");let rl=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();const ol=new nn("LocaleId"),sl=new nn("DefaultCurrencyCode");class al{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const cl=function(e){return new mc(e)},ll=cl,ul=function(e){return Promise.resolve(cl(e))},hl=function(e){const t=cl(e),n=ki(ce(e).declarations).reduce((e,t)=>{const n=ae(t);return n&&e.push(new dc(n)),e},[]);return new al(t,n)},dl=hl,pl=function(e){return Promise.resolve(hl(e))};let fl=(()=>{class e{constructor(){this.compileModuleSync=ll,this.compileModuleAsync=ul,this.compileModuleAndAllComponentsSync=dl,this.compileModuleAndAllComponentsAsync=pl}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();const gl=(()=>Promise.resolve(0))();function ml(e){"undefined"==typeof Zone?gl.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class bl{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ic(!1),this.onMicrotaskEmpty=new Ic(!1),this.onStable=new Ic(!1),this.onError=new Ic(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&t,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=V.requestAnimationFrame,t=V.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(V,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,wl(e),yl(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),wl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{try{return _l(e),n.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Ol(e)}},onInvoke:(n,i,r,o,s,a,c)=>{try{return _l(e),n.invoke(r,o,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ol(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,wl(e),yl(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!bl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(bl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,e,vl,fa,fa);try{return r.runTask(o,t,n)}finally{r.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const vl={};function yl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function _l(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ol(e){e._nesting--,yl(e)}class Cl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ic,this.onMicrotaskEmpty=new Ic,this.onStable=new Ic,this.onError=new Ic}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}let El=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{bl.assertNotInAngularZone(),ml(()=>{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())ml(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(wn(bl))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})(),Sl=(()=>{class e{constructor(){this._applications=new Map,Il.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Il.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();class Tl{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function xl(e){Il=e}let kl,Il=new Tl,Dl=!0,zl=!1;function jl(){return zl=!0,Dl}function Al(){if(zl)throw new Error("Cannot enable prod mode after platform setup.");Dl=!1}const Rl=new nn("AllowMultipleToken");class Nl{constructor(e,t){this.name=e,this.token=t}}function Ll(e,t,n=[]){const i=`Platform: ${t}`,r=new nn(i);return(t=[])=>{let o=Ml();if(!o||o.injector.get(Rl,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:go,useValue:"platform"});!function(e){if(kl&&!kl.destroyed&&!kl.injector.get(Rl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");kl=e.get(Fl);const t=e.get(tl,null);t&&t.forEach(e=>e())}(Io.create({providers:e,name:i}))}return function(e){const t=Ml();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function Ml(){return kl&&!kl.destroyed?kl:null}let Fl=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Cl:("zone.js"===e?void 0:e)||new bl({enableLongStackTrace:jl(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),i=[{provide:bl,useValue:n}];return n.run(()=>{const t=Io.create({providers:i,parent:this.injector,name:e.moduleType.name}),r=e.create(t),o=r.injector.get(Ci,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{o.handleError(e)}});r.onDestroy(()=>{Gl(this._modules,r),e.unsubscribe()})}),function(e,t,n){try{const i=n();return rs(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(o,n,()=>{const e=r.injector.get(Yc);return e.runInitializers(),e.donePromise.then(()=>(na(r.injector.get(ol,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=Pl({},t);return function(e,t,n){const i=new mc(n);return Promise.resolve(i)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Vl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${u(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(wn(Io))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();function Pl(e,t){return Array.isArray(t)?t.reduce(Pl,e):Object.assign(Object.assign({},e),t)}let Vl=(()=>{class e{constructor(e,t,n,i,r){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new o.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new o.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{bl.assertNotInAngularZone(),ml(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{bl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(c,l.pipe(Object(a.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof ha?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Za),r=n.create(Io.NULL,[],t||n.selector,i),o=r.location.nativeElement,s=r.injector.get(El,null),a=s&&r.injector.get(Sl);return s&&a&&a.registerApplication(o,s),r.onDestroy(()=>{this.detachView(r.hostView),Gl(this.components,r),a&&a.unregisterApplication(o)}),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Gl(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(il,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(wn(bl),wn(Io),wn(Ci),wn(pa),wn(Yc))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();function Gl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Bl{}class Wl{}const $l={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ul=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||$l}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n("zn8P")(t).then(e=>e[i]).then(e=>Hl(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+r]).then(e=>Hl(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(wn(fl),wn(Wl,8))},e.\u0275prov=w({token:e,factory:e.\u0275fac}),e})();function Hl(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const ql=function(e){return null},Ql=Ll(null,"core",[{provide:nl,useValue:"unknown"},{provide:Fl,deps:[Io]},{provide:Sl,deps:[]},{provide:rl,deps:[]}]),Kl=[{provide:Vl,useClass:Vl,deps:[bl,Io,Ci,pa,Yc]},{provide:hc,deps:[bl],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Yc,useClass:Yc,deps:[[new Sn,Xc]]},{provide:fl,useClass:fl,deps:[]},Zc,{provide:La,useFactory:function(){return Ha},deps:[]},{provide:Fa,useFactory:function(){return qa},deps:[]},{provide:ol,useFactory:function(e){return na(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new En(ol),new Sn,new xn]]},{provide:sl,useValue:"USD"}];let Xl=(()=>{class e{constructor(e){}}return e.\u0275mod=ne({type:e}),e.\u0275inj=_({factory:function(t){return new(t||e)(wn(Vl))},providers:Kl}),e})()},fpqv:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("fXoL"),r=n("8mtn"),o=n("ofXK");let s=(()=>{class e{constructor(){this.name="",this.size="",this.styles={}}ngOnInit(){this.size&&(this.styles={width:this.size,height:this.size})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["app-icon"]],inputs:{name:"name",size:"size"},decls:2,vars:2,consts:[[1,"app-icon",3,"name","ngStyle"]],template:function(e,t){1&e&&(i.Rb(0,"i-feather",0),i.Gc(1,"\n")),2&e&&i.mc("name",t.name)("ngStyle",t.styles)},directives:[r.a,o.p],encapsulation:2}),e})()},ftEH:function(e,t,n){"use strict";var i=n("NSes"),r=Object.create;e.exports=function(e){var t=0,n=[[],[]],o=r(null);return{get:function(t){for(var r,o=0,s=n;o1&&e.reportError(new i.a("This anonymous operation must be the only defined operation.",n))}}}},g9RT:function(e,t,n){"use strict";n.d(t,"d",function(){return i}),n.d(t,"a",function(){return r}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return s}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return c}),n.d(t,"j",function(){return l}),n.d(t,"g",function(){return u}),n.d(t,"k",function(){return h}),n.d(t,"l",function(){return d}),n.d(t,"i",function(){return p}),n.d(t,"h",function(){return f});const i="SET_STREAM_SETTING",r="SET_STREAM_CLIENT",o="START_STREAM_CLIENT",s="STOP_STREAM_CLIENT",a="SET_STREAM_FAILED",c="SET_STREAM_CONNECTED";class l{constructor(e,t){this.windowId=e,this.payload=t,this.type=i}}class u{constructor(e,t){this.windowId=e,this.payload=t,this.type=r}}class h{constructor(e,t={backoff:200}){this.windowId=e,this.payload=t,this.type=o}}class d{constructor(e,t){this.windowId=e,this.payload=t,this.type=s}}class p{constructor(e,t){this.windowId=e,this.payload=t,this.type=a}}class f{constructor(e,t){this.windowId=e,this.payload=t,this.type=c}}},gI7C:function(e,t,n){"use strict";n.r(t),n.d(t,"getASTNodeAtPosition",function(){return r}),n.d(t,"pointToOffset",function(){return o});var i=n("L2ys");function r(e,t,n){const r=o(e,n);let s;return Object(i.c)(t,{enter(e){if(!("Name"!==e.kind&&e.loc&&e.loc.start<=r&&r<=e.loc.end))return!1;s=e},leave(e){if(e.loc&&e.loc.start<=r&&r<=e.loc.end)return!1}}),s}function o(e,t){const n=e.split("\n").slice(0,t.line);return t.character+n.map(e=>e.length+1).reduce((e,t)=>e+t,0)}},gMQV:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"m",function(){return r}),n.d(t,"v",function(){return o}),n.d(t,"d",function(){return s}),n.d(t,"c",function(){return a}),n.d(t,"o",function(){return c}),n.d(t,"k",function(){return l}),n.d(t,"n",function(){return u}),n.d(t,"u",function(){return h}),n.d(t,"i",function(){return d}),n.d(t,"g",function(){return p}),n.d(t,"p",function(){return f}),n.d(t,"b",function(){return g}),n.d(t,"q",function(){return m}),n.d(t,"x",function(){return b}),n.d(t,"f",function(){return v}),n.d(t,"e",function(){return y}),n.d(t,"s",function(){return w}),n.d(t,"r",function(){return _}),n.d(t,"w",function(){return O}),n.d(t,"l",function(){return C}),n.d(t,"h",function(){return E}),n.d(t,"j",function(){return S}),n.d(t,"t",function(){return T});const i="CREATE_COLLECTION_AND_SAVE_QUERY_TO_COLLECTION",r="SAVE_QUERY_TO_COLLECTION",o="UPDATE_QUERY_IN_COLLECTION",s="DELETE_QUERY_FROM_COLLECTION",a="DELETE_COLLECTION",c="SET_COLLECTIONS",l="LOAD_COLLECTIONS",u="SET_ACTIVE_COLLECTION",h="UPDATE_COLLECTION",d="IMPORT_COLLECTION",p="EXPORT_COLLECTION",f="SORT_COLLECTIONS";class g{constructor(e){this.payload=e,this.type=i}}class m{constructor(e){this.payload=e,this.type=r}}class b{constructor(e){this.payload=e,this.type=o}}class v{constructor(e){this.payload=e,this.type=s}}class y{constructor(e){this.payload=e,this.type=a}}class w{constructor(e){this.payload=e,this.type=c}}class _{constructor(e){this.payload=e,this.type=u}}class O{constructor(e){this.payload=e,this.type=h}}class C{constructor(){this.type=l}}class E{constructor(e){this.payload=e,this.type=p}}class S{constructor(){this.type=d}}class T{constructor(e){this.payload=e,this.type=f}}},gQ7D:function(e,t,n){"use strict";e.exports=n("tgdo")},gRHU:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("2fFW"),r=n("NJ4a");const o={closed:!0,next(e){},error(e){if(i.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete(){}}},gWfR:function(e,t,n){"use strict";n.d(t,"c",function(){return i}),n.d(t,"d",function(){return r}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return s}),n.d(t,"f",function(){return a}),n.d(t,"g",function(){return c}),n.d(t,"e",function(){return l});const i="START_LOADING",r="STOP_LOADING",o="SET_WINDOW_NAME",s="NOTIFY_EXPERIMENTAL";class a{constructor(e){this.windowId=e,this.type=i}}class c{constructor(e){this.windowId=e,this.type=r}}class l{constructor(e,t){this.windowId=e,this.payload=t,this.type=o}}},gggk:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("dWS+");function r(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new i.a(function(e){return e?'Subscription "'.concat(e,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field."}(t.name&&t.name.value),t.selectionSet.selections.slice(1)))}}}},herJ:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("dWS+");function r(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(r){var o=r.name.value;if(!n||!n.getDirective(o))return t[o]?e.reportError(new i.a(function(e){return'There can be only one directive named "'.concat(e,'".')}(o),[t[o],r.name])):t[o]=r.name,!1;e.reportError(new i.a(function(e){return'Directive "'.concat(e,'" already exists in the schema. It cannot be redefined.')}(o),r.name))}}}},hliF:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("dWS+"),r=n("L2ys"),o=n("axIb"),s=n("4RMZ");function a(e,t){var n=[],a=new s.a(e);return Object(r.c)(t,Object(r.e)(a,{Field:function(e){var t=a.getFieldDef();if(t&&t.isDeprecated){var r=a.getParentType();if(r){var o=t.deprecationReason;n.push(new i.a("The field ".concat(r.name,".").concat(t.name," is deprecated.")+(o?" "+o:""),e))}}},EnumValue:function(e){var t=a.getEnumValue();if(t&&t.isDeprecated){var r=Object(o.A)(a.getInputType());if(r){var s=t.deprecationReason;n.push(new i.a("The enum value ".concat(r.name,".").concat(t.name," is deprecated.")+(s?" "+s:""),e))}}}})),n}},hyX7:function(e,t,n){const i=n("SbYC"),{defaults:r}=n("vbtb"),{inline:o}=n("e56X"),{findClosingBracket:s,escape:a}=n("rUJ1");e.exports=class e{constructor(e,t){if(this.options=t||r,this.links=e,this.rules=o.normal,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=o.pedantic:this.options.gfm&&(this.rules=this.options.breaks?o.breaks:o.gfm)}static get rules(){return o}static output(t,n,i){return new e(n,i).output(t)}output(t){let n,i,r,o,c,l,u="";for(;t;)if(c=this.rules.escape.exec(t))t=t.substring(c[0].length),u+=a(c[1]);else if(c=this.rules.tag.exec(t))!this.inLink&&/^/i.test(c[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(c[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(c[0])&&(this.inRawBlock=!1),t=t.substring(c[0].length),u+=this.renderer.html(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(c[0]):a(c[0]):c[0]);else if(c=this.rules.link.exec(t)){const i=s(c[2],"()");if(i>-1){const e=(0===c[0].indexOf("!")?5:4)+c[1].length+i;c[2]=c[2].substring(0,i),c[0]=c[0].substring(0,e).trim(),c[3]=""}t=t.substring(c[0].length),this.inLink=!0,r=c[2],this.options.pedantic?(n=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r),n?(r=n[1],o=n[3]):o=""):o=c[3]?c[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),u+=this.outputLink(c,{href:e.escapes(r),title:e.escapes(o)}),this.inLink=!1}else if((c=this.rules.reflink.exec(t))||(c=this.rules.nolink.exec(t))){if(t=t.substring(c[0].length),n=(c[2]||c[1]).replace(/\s+/g," "),n=this.links[n.toLowerCase()],!n||!n.href){u+=c[0].charAt(0),t=c[0].substring(1)+t;continue}this.inLink=!0,u+=this.outputLink(c,n),this.inLink=!1}else if(c=this.rules.strong.exec(t))t=t.substring(c[0].length),u+=this.renderer.strong(this.output(c[4]||c[3]||c[2]||c[1]));else if(c=this.rules.em.exec(t))t=t.substring(c[0].length),u+=this.renderer.em(this.output(c[6]||c[5]||c[4]||c[3]||c[2]||c[1]));else if(c=this.rules.code.exec(t))t=t.substring(c[0].length),u+=this.renderer.codespan(a(c[2].trim(),!0));else if(c=this.rules.br.exec(t))t=t.substring(c[0].length),u+=this.renderer.br();else if(c=this.rules.del.exec(t))t=t.substring(c[0].length),u+=this.renderer.del(this.output(c[1]));else if(c=this.rules.autolink.exec(t))t=t.substring(c[0].length),"@"===c[2]?(i=a(this.mangle(c[1])),r="mailto:"+i):(i=a(c[1]),r=i),u+=this.renderer.link(r,null,i);else if(this.inLink||!(c=this.rules.url.exec(t))){if(c=this.rules.text.exec(t))t=t.substring(c[0].length),u+=this.renderer.text(this.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(c[0]):a(c[0]):c[0]:a(this.smartypants(c[0])));else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0))}else{if("@"===c[2])i=a(c[0]),r="mailto:"+i;else{do{l=c[0],c[0]=this.rules._backpedal.exec(c[0])[0]}while(l!==c[0]);i=a(c[0]),r="www."===c[1]?"http://"+i:i}t=t.substring(c[0].length),u+=this.renderer.link(r,null,i)}return u}static escapes(t){return t?t.replace(e.rules._escapes,"$1"):t}outputLink(e,t){const n=t.href,i=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,i,this.output(e[1])):this.renderer.image(n,i,a(e[1]))}smartypants(e){return this.options.smartypants?e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026"):e}mangle(e){if(!this.options.mangle)return e;const t=e.length;let n,i="",r=0;for(;r.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}}},i1zs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const n={schema:e,type:null,parentType:null,inputType:null,directiveDef:null,fieldDef:null,argDef:null,argDefs:null,objectFieldDefs:null};return(0,s.default)(t,t=>{switch(t.kind){case"Query":case"ShortQuery":n.type=e.getQueryType();break;case"Mutation":n.type=e.getMutationType();break;case"Subscription":n.type=e.getSubscriptionType();break;case"InlineFragment":case"FragmentDefinition":t.type&&(n.type=e.getType(t.type));break;case"Field":case"AliasedField":n.fieldDef=n.type&&t.name?a(e,n.parentType,t.name):null,n.type=n.fieldDef&&n.fieldDef.type;break;case"SelectionSet":n.parentType=(0,r.getNamedType)(n.type);break;case"Directive":n.directiveDef=t.name&&e.getDirective(t.name);break;case"Arguments":const i="Field"===t.prevState.kind?n.fieldDef:"Directive"===t.prevState.kind?n.directiveDef:"AliasedField"===t.prevState.kind?t.prevState.name&&a(e,n.parentType,t.prevState.name):null;n.argDefs=i&&i.args;break;case"Argument":if(n.argDef=null,n.argDefs)for(let e=0;e1,i.options.tooltips))}}var m;r.onUpdateLinting&&r.onUpdateLinting(n,c,e)}function u(e){var t=e.state.lint;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(function(){c(e)},t.options.delay||500))}e.defineOption("lint",!1,function(n,i,s){if(s&&s!=e.Init&&(o(n),!1!==n.state.lint.options.lintOnChange&&n.off("change",u),e.off(n.getWrapperElement(),"mouseover",n.state.lint.onMouseOver),clearTimeout(n.state.lint.timeout),delete n.state.lint),i){for(var a=n.getOption("gutters"),l=!1,h=0;h{const t=(0,o.onlineParser)({eatWhitespace:e=>e.eatSpace(),lexRules:a,parseRules:c,editorConfig:{tabSize:e.tabSize}});return{config:e,startState:t.startState,token:t.token,indent:s,electricInput:/^\s*[}\]]/,fold:"brace",closeBrackets:{pairs:'[]{}""',explode:"[]{}"}}});const a={Punctuation:/^\[|]|\{|\}|:|,/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?/,Keyword:/^true|false|null/},c={Document:[(0,o.p)("{"),(0,o.list)("Entry",(0,o.p)(",")),(0,o.p)("}")],Entry:[(0,o.t)("String","def"),(0,o.p)(":"),"Value"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue"}return null;case"Keyword":switch(e.value){case"true":case"false":return"BooleanValue";case"null":return"NullValue"}return null}},NumberValue:[(0,o.t)("Number","number")],StringValue:[(0,o.t)("String","string")],BooleanValue:[(0,o.t)("Keyword","builtin")],NullValue:[(0,o.t)("Keyword","keyword")],ListValue:[(0,o.p)("["),(0,o.list)("Value",(0,o.p)(",")),(0,o.p)("]")],ObjectValue:[(0,o.p)("{"),(0,o.list)("ObjectField",(0,o.p)(",")),(0,o.p)("}")],ObjectField:[(0,o.t)("String","property"),(0,o.p)(":"),"Value"]}},imBb:function(e,t,n){var i;!function(r,o,s){if(r){for(var a,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},l={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},h={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},d=1;d<20;++d)c[111+d]="f"+d;for(d=0;d<=9;++d)c[d+96]=d.toString();y.prototype.bind=function(e,t,n){return this._bindMultiple.call(this,e=e instanceof Array?e:[e],t,n),this},y.prototype.unbind=function(e,t){return this.bind.call(this,e,function(){},t)},y.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},y.prototype.reset=function(){return this._callbacks={},this._directMap={},this},y.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(v(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},y.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},y.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t]);a=null},y.init=function(){var e=y(o);for(var t in e)"_"!==t.charAt(0)&&(y[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},y.init(),r.Mousetrap=y,e.exports&&(e.exports=y),void 0===(i=(function(){return y}).call(t,n,t,e))||(e.exports=i)}function p(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function f(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function g(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!a)for(var e in a={},c)e>95&&e<112||c.hasOwnProperty(e)&&(a[c[e]]=e);return a}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function b(e,t){var n,i,r,o=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),r=0;r1?function(e,t,o,s){function l(t){return function(){a=t,++i[e],clearTimeout(n),n=setTimeout(c,1e3)}}function h(t){u(o,t,e),"keyup"!==s&&(r=f(t)),setTimeout(c,10)}i[e]=0;for(var p=0;p=55296&&v<=56319&&(O+=e[++n]),O=C?d.call(C,E,O,g):O,t?(p.value=O,f(m,g,p)):m[g]=O,++g;b=g}if(void 0===b)for(b=s(e.length),t&&(m=new t(b)),n=0;n",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function r(e){return e&&e.bracketRegex||/[(){}[\]]/}function o(e,t,o){var a=e.getLineHandle(t.line),c=t.ch-1,l=o&&o.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var u=r(o),h=!l&&c>=0&&u.test(a.text.charAt(c))&&i[a.text.charAt(c)]||u.test(a.text.charAt(c+1))&&i[a.text.charAt(++c)];if(!h)return null;var d=">"==h.charAt(1)?1:-1;if(o&&o.strict&&d>0!=(c==t.ch))return null;var p=e.getTokenTypeAt(n(t.line,c+1)),f=s(e,n(t.line,c+(d>0?1:0)),d,p||null,o);return null==f?null:{from:n(t.line,c),to:f&&f.pos,match:f&&f.ch==h.charAt(0),forward:d>0}}function s(e,t,o,s,a){for(var c=a&&a.maxScanLineLength||1e4,l=a&&a.maxScanLines||1e3,u=[],h=r(a),d=o>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),p=t.line;p!=d;p+=o){var f=e.getLine(p);if(f){var g=o>0?0:f.length-1,m=o>0?f.length:-1;if(!(f.length>c))for(p==t.line&&(g=t.ch-(o<0?1:0));g!=m;g+=o){var b=f.charAt(g);if(h.test(b)&&(void 0===s||e.getTokenTypeAt(n(p,g+1))==s)){var v=i[b];if(v&&">"==v.charAt(1)==o>0)u.push(b);else{if(!u.length)return{pos:n(p,g),ch:b};u.pop()}}}}}return p-o!=(o>0?e.lastLine():e.firstLine())&&null}function a(e,i,r){for(var s=e.state.matchBrackets.maxHighlightLineLength||1e3,a=[],c=e.listSelections(),l=0;lr))break;o=s}}return o?{from:e.Pos(i.line,n.getLine(i.line).length),to:e.Pos(o,n.getLine(o).length)}:void 0}})}(n("VrN/"))},jYNx:function(e,t,n){var i;void 0===(i=(function(){return function(){var e=n;e.Integer={type:"integer"};var t={String,Boolean,Number,Object,Array,Date};function n(e,t){return n(e,t,{changing:!1})}e.validate=n,e.checkPropertyChange=function(e,t,i){return n(e,t,{changing:i||"property"})};var n=e._validate=function(e,n,i){i||(i={});var r=i.changing;function o(e){return e.type||t[e.name]==e&&e.name.toLowerCase()}var s=[];function a(e,t,n,c){var l;function u(e){s.push({property:n,message:e})}if(n+=n?"number"==typeof c?"["+c+"]":void 0===c?"":"."+c:c,("object"!=typeof t||t instanceof Array)&&(n||"function"!=typeof t)&&(!t||!o(t)))return"function"==typeof t?e instanceof t||u("is not an instance of the class/constructor "+t.name):t&&u("Invalid schema/property definition "+t),null;function h(e,t){if(e){if(!("string"!=typeof e||"any"==e||("null"==e?null===t:typeof t==e)||t instanceof Array&&"array"==e||t instanceof Date&&"date"==e||"integer"==e&&t%1==0))return[{property:n,message:typeof t+" value found, but a "+e+" is required"}];if(e instanceof Array){for(var i=[],r=0;rt.maxItems&&u("There must be a maximum of "+t.maxItems+" in the array")}else(t.properties||t.additionalProperties)&&s.concat(function(e,t,n,o){if("object"==typeof t)for(var c in("object"!=typeof e||e instanceof Array)&&s.push({property:n,message:"an object is required"}),t)if(t.hasOwnProperty(c)){var l=e[c];if(void 0===l&&i.existingOnly)continue;var u=t[c];void 0===l&&u.default&&(l=e[c]=u.default),i.coerce&&c in e&&(l=e[c]=i.coerce(l,u)),a(l,u,n,c)}for(c in e){if(e.hasOwnProperty(c)&&("_"!=c.charAt(0)||"_"!=c.charAt(1))&&t&&!t[c]&&!1===o){if(i.filter){delete e[c];continue}s.push({property:n,message:typeof l+"The property "+c+" is not defined in the schema and the schema does not allow additional properties"})}var h=t&&t[c]&&t[c].requires;h&&!(h in e)&&s.push({property:n,message:"the presence of the property "+c+" requires that "+h+" also be present"}),l=e[c],!o||t&&"object"==typeof t&&c in t||(i.coerce&&(l=e[c]=i.coerce(l,o)),a(l,o,n,c)),!r&&l&&l.$schema&&(s=s.concat(a(l,l.$schema,n,c)))}return s}(e,t.properties,n,t.additionalProperties));if(t.pattern&&"string"==typeof e&&!e.match(t.pattern)&&u("does not match the regex pattern "+t.pattern),t.maxLength&&"string"==typeof e&&e.length>t.maxLength&&u("may only be "+t.maxLength+" characters long"),t.minLength&&"string"==typeof e&&e.lengthe&&u("must have a minimum value of "+t.minimum),void 0!==typeof t.maximum&&typeof e==typeof t.maximum&&t.maximum{const i=new r.a;let o=0;return i.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jhN1:function(e,t,n){"use strict";n.d(t,"a",function(){return M}),n.d(t,"b",function(){return z}),n.d(t,"c",function(){return G}),n.d(t,"d",function(){return N}),n.d(t,"e",function(){return _});var i=n("ofXK"),r=n("fXoL");class o extends i.D{constructor(){super()}supportsDOMEvents(){return!0}}class s extends o{static makeCurrent(){Object(i.H)(new s)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=c||(c=document.querySelector("base"),c)?c.getAttribute("href"):null;return null==t?null:(n=t,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(i.G)(document.cookie,e)}}let a,c=null;const l=new r.s("TRANSITION_ID"),u=[{provide:r.d,useFactory:function(e,t,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(i.F)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[l,i.d,r.t],multi:!0}];class h{static init(){Object(r.ab)(new h)}addToWindow(e){r.sb.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.sb.getAllAngularTestabilities=()=>e.getAllTestabilities(),r.sb.getAllAngularRootElements=()=>e.getAllRootElements(),r.sb.frameworkStabilizers||(r.sb.frameworkStabilizers=[]),r.sb.frameworkStabilizers.push(e=>{const t=r.sb.getAllAngularTestabilities();let n=t.length,i=!1;const o=function(t){i=i||t,n--,0==n&&e(i)};t.forEach(function(e){e.whenStable(o)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Object(i.F)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const d=new r.s("EventManagerPlugins");let p=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),m=(()=>{class e extends g{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Object(i.F)().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(r.ac(i.d))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();const b={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/"},v=/%COMP%/g;function y(e,t,n){for(let i=0;i{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let _=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new O(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case r.T.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new C(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case r.T.ShadowDom:return new E(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=y(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(r.ac(p),r.ac(m),r.ac(r.c))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();class O{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(b[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const r=b[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=b[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(r.I.DashCase|r.I.Important)?e.style.setProperty(t,n,i&r.I.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&r.I.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,w(n)):this.eventManager.addEventListener(e,t,w(n))}}class C extends O{constructor(e,t,n,i){super(e),this.component=n;const r=y(i+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(v,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(v,i+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class E extends O{constructor(e,t,n,i){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=y(i.id,i.styles,[]);for(let o=0;o{class e extends f{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(i.d))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();const T=["alt","control","meta","shift"],x={"\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"},k={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},I={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let D=(()=>{class e extends f{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.F)().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let o="";if(T.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=r,0!=n.length||0===r.length)return null;const s={};return s.domEventName=i,s.fullKey=o,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&k.hasOwnProperty(t)&&(t=k[t]))}return x[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),T.forEach(i=>{i!=n&&(0,I[i])(e)&&(t+=i+".")}),t+=n,t}static eventCallback(t,n,i){return r=>{e.getEventFullKey(r)===t&&i.runGuarded(()=>n(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(r.ac(i.d))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),z=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Mb)({factory:function(){return Object(r.ac)(A)},token:e,providedIn:"root"}),e})();function j(e){return new A(e.get(i.d))}let A=(()=>{class e extends z{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case r.K.NONE:return t;case r.K.HTML:return Object(r.hb)(t,"HTML")?Object(r.Ab)(t):Object(r.fb)(this._doc,String(t)).toString();case r.K.STYLE:return Object(r.hb)(t,"Style")?Object(r.Ab)(t):t;case r.K.SCRIPT:if(Object(r.hb)(t,"Script"))return Object(r.Ab)(t);throw new Error("unsafe value used in a script context");case r.K.URL:return Object(r.rb)(t),Object(r.hb)(t,"URL")?Object(r.Ab)(t):Object(r.gb)(String(t));case r.K.RESOURCE_URL:if(Object(r.hb)(t,"ResourceURL"))return Object(r.Ab)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(r.ib)(e)}bypassSecurityTrustStyle(e){return Object(r.lb)(e)}bypassSecurityTrustScript(e){return Object(r.kb)(e)}bypassSecurityTrustUrl(e){return Object(r.mb)(e)}bypassSecurityTrustResourceUrl(e){return Object(r.jb)(e)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(i.d))},e.\u0275prov=Object(r.Mb)({factory:function(){return j(Object(r.ac)(r.p))},token:e,providedIn:"root"}),e})();const R=[{provide:r.D,useValue:i.E},{provide:r.E,useValue:function(){s.makeCurrent(),h.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(r.yb)(document),document},deps:[]}],N=Object(r.U)(r.Z,"browser",R),L=[[],{provide:r.cb,useValue:"root"},{provide:r.m,useFactory:function(){return new r.m},deps:[]},{provide:d,useClass:S,multi:!0,deps:[i.d,r.B,r.D]},{provide:d,useClass:D,multi:!0,deps:[i.d]},[],{provide:_,useClass:_,deps:[p,m,r.c]},{provide:r.H,useExisting:_},{provide:g,useExisting:m},{provide:m,useClass:m,deps:[i.d]},{provide:r.P,useClass:r.P,deps:[r.B]},{provide:p,useClass:p,deps:[d,r.B]},[]];let M=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:r.c,useValue:t.appId},{provide:l,useExisting:r.c},u]}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.ac(e,12))},providers:L,imports:[i.c,r.f]}),e})();const F="undefined"!=typeof window&&window||{};class P{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class V{constructor(e){this.appRef=e.injector.get(r.g)}timeChangeDetection(e){const t=e&&e.record,n=null!=F.console.profile;t&&n&&F.console.profile("Change Detection");const r=Object(i.F)().performanceNow();let o=0;for(;o<5||Object(i.F)().performanceNow()-r<500;)this.appRef.tick(),o++;const s=Object(i.F)().performanceNow();t&&n&&F.console.profileEnd("Change Detection");const a=(s-r)/o;return F.console.log(`ran ${o} change detection cycles`),F.console.log(`${a.toFixed(2)} ms per check`),new P(a,o)}}function G(e){return t=new V(e),"undefined"!=typeof COMPILED&&COMPILED||((r.sb.ng=r.sb.ng||{}).profiler=t),e;var t}},jtHE:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("XNiG"),r=n("qgXg"),o=n("quSY"),s=n("pxpQ"),a=n("9ppp"),c=n("Ylt2");class l extends i.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new u(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let l;if(this.closed)throw new a.a;if(this.isStopped||this.hasError?l=o.a.EMPTY:(this.observers.push(e),l=new c.a(this,e)),i&&e.add(e=new s.a(e,i)),t)for(let o=0;ot&&(o=Math.max(o,r-t)),o>0&&i.splice(0,o),i}}class u{constructor(e,t){this.time=e,this.value=t}}},jvAf:function(e,t,n){e.exports=function(){"use strict";var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?o(Array.isArray(e)?[]:{},e,t):e}function i(e,t,i){return e.concat(t).map(function(e){return n(e,i)})}function r(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}(e))}function o(t,s,a){(a=a||{}).arrayMerge=a.arrayMerge||i,a.isMergeableObject=a.isMergeableObject||e;var c=Array.isArray(s);return c===Array.isArray(t)?c?a.arrayMerge(t,s,a):function(e,t,i){var s={};return i.isMergeableObject(e)&&r(e).forEach(function(t){s[t]=n(e[t],i)}),r(t).forEach(function(r){s[r]=i.isMergeableObject(t[r])&&e[r]?function(e,t){if(!t.customMerge)return o;var n=t.customMerge(e);return"function"==typeof n?n:o}(r,i)(e[r],t[r],i):n(t[r],i)}),s}(t,s,a):n(s,a)}return o.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return o(e,n,t)},{})},o}()},k2qM:function(e,t,n){"use strict";e.exports=function(e){return null!=e}},kBPl:function(e,t,n){"use strict";var i=n("Xt1Y");e.exports=function(e){if(!i(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}},kBjl:function(e,t,n){"use strict";function i(e,t){return e.reduce(function(e,n){return e[t(n)]=n,e},Object.create(null))}n.d(t,"a",function(){return i})},kJWO:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kiQV:function(e){e.exports=JSON.parse('{"name":"altair-app","version":"4.0.2","description":"Contains the altair app","main":"dist/main.js","license":"MIT","author":"Samuel Imolorhe (https://sirmuel.design/)","homepage":"https://imolorhe.github.io/altair/","scripts":{"ng":"ng","start":"ng serve","build":"yarn generate-settings-schema-validator && node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --prod --aot --stats-json","test-single-run":"ng test --watch=false --code-coverage","test":"jest && ng lint","test:watch":"jest --watch","prepare":"yarn generate-settings-schema-validator && node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --outputHashing=none --prod --aot --stats-json","test-build":"ng lint && yarn build && yarn test-single-run","postinstall":"yarn generate-settings-schema-validator","lint":"ng lint","e2e":"ng e2e","e2e:ci":"ng e2e --webdriver-update=false","generate-settings-schema":"typescript-json-schema --ignoreErrors src/app/modules/altair/store/settings/settings.reducer.ts State > src/app/modules/altair/utils/settings.schema.json","compile-settings-schema-validator":"ajv compile -s src/app/modules/altair/utils/settings.schema.json -o src/app/modules/altair/utils/validate_settings_schema.js","generate-settings-schema-validator":"yarn generate-settings-schema && yarn compile-settings-schema-validator","analyze":"ng build --stats-json && npx webpack-bundle-analyzer dist/stats.json","analyze:prod":"ng build --prod --aot --stats-json && npx webpack-bundle-analyzer dist/stats.json","webdriver-update-ci":"webdriver-manager update --standalone false --gecko false --versions.chrome=89.0.4389.72"},"dependencies":{"@angular/animations":"^11.2.4","@angular/cdk":"^11.2.3","@angular/cli":"^11.2.3","@angular/common":"^11.2.4","@angular/core":"^11.2.4","@angular/forms":"^11.2.4","@angular/platform-browser":"^11.2.4","@angular/platform-browser-dynamic":"^11.2.4","@angular/platform-server":"^11.2.4","@angular/router":"^11.2.4","@apollo/client":"^3.2.5","@ctrl/ngx-codemirror":"^3.1.3","@fontsource/jetbrains-mono":"^4.2.2","@ngneat/hot-toast":"2.0.1","@ngneat/overview":"^1.0.0","@ngneat/until-destroy":"^8.0.1","@ngrx/effects":"^11.0.1","@ngrx/store":"^11.0.1","@ngrx/store-devtools":"^11.0.1","@ngui/auto-complete":"^3.0.0","@ngx-translate/core":"^12.1.2","@ngx-translate/http-loader":"^4.0.0","@types/actioncable":"^5.2.3","@webcomponents/custom-elements":"^1.4.1","abab":"^2.0.5","actioncable":"^5.2.4-4","angular-feather":"^6.0.10","apollo-cache-inmemory":"^1.6.6","apollo-link":"^1.2.14","apollo-link-http":"^1.5.17","aws-appsync-auth-link":"^3.0.2","aws-appsync-subscription-link":"^3.0.3","codemirror":"^5.48.0","codemirror-graphql":"^0.11.1","comlink":"^4.2.0","comment-regex":"^1.0.1","cookie-parser":"^1.4.4","core-js":"^3.1.4","crypto-js":"3.3.0","curlup":"^1.0.0","deepmerge":"^4.2.2","dexie":"^3.0.3","emotion":"^10.0.27","express":"^4.17.1","file-dialog":"^0.0.8","file-saver":"^2.0.2","fuse.js":"^6.4.6","graphql":"^14.4.2","graphql-query-compress":"^1.2.2","graphql-ws":"^4.4.1","lodash-es":"^4.17.21","loglevel":"^1.7.0","loglevel-plugin-prefix":"^0.8.4","marked":"^0.8.0","memoizee":"^0.4.14","mousetrap":"^1.6.3","mousetrap-global-bind":"^1.1.0","new-github-issue-url":"^0.2.1","ng-zorro-antd":"11.2.0","ngrx-store-localstorage":"^9.0.0","ngx-contextmenu":"^5.4.0","ngx-cookie-service":"^2.2.0","ngx-electron":"^2.1.1","ngx-markdown":"^11.1.1","ngx-pipes":"^2.7.3","ngx-popper":"^7.0.0","ngx-sortablejs":"^11.1.0","ngx-take-until-destroy":"^5.4.0","popper.js":"^1.15.0","prettier":"^1.18.2","rxjs":"^6.6.6","sortablejs":"^1.10.2","subscriptions-transport-ws":"^0.9.16","sval":"^0.4.8","to-snake-case":"^1.0.0","tslib":"^2.0.0","uuid":"^3.3.2","valid-url":"^1.0.9","zone.js":"~0.10.2"},"devDependencies":{"@angular-devkit/build-angular":"~0.1102.3","@angular/compiler":"^11.2.4","@angular/compiler-cli":"^11.2.4","@briebug/jest-schematic":"^2.1.1","@jest/globals":"^26.0.1","@ngrx/schematics":"^11.0.1","@types/chrome":"^0.0.90","@types/crypto-js":"^4.0.1","@types/electron":"^1.6.10","@types/file-saver":"^2.0.1","@types/graphql":"^14.5.0","@types/jasmine":"~3.6.0","@types/jest":"26.0.0","@types/json-schema":"^7.0.6","@types/lodash-es":"^4.17.4","@types/memoizee":"^0.4.3","@types/mousetrap":"^1.6.3","@types/node":"^12.11.1","@types/prettier":"^1.19.0","@types/to-snake-case":"^1.0.0","@types/uuid":"^3.4.6","@types/zen-observable":"^0.8.1","ajv":"^6.10.2","ajv-cli":"^3.0.0","babel-plugin-transform-async-to-generator":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","chai":"^4.2.0","chai-as-promised":"^7.1.1","codelyzer":"^6.0.0","jasmine-core":"~3.6.0","jasmine-spec-reporter":"~5.0.0","jest":"26.0.1","jest-preset-angular":"^8.4.0","karma-cli":"^2.0.0","ncp":"^2.0.0","ng-mocks":"^11.9.0","ngrx-store-freeze":"^0.2.0","protractor":"~7.0.0","react":"^17.0.1","rxjs-tslint-rules":"^4.32.0","start-server-and-test":"^1.10.6","ts-jest":"^26.5.4","ts-mocks":"^2.6.1","ts-node":"^8.3.0","tslint":"~6.1.0","typescript":"4.0.7","typescript-json-schema":"^0.42.0"},"private":true}')},kvTO:function(e,t,n){"use strict";n.d(t,"e",function(){return o}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return a}),n.d(t,"d",function(){return c}),n.d(t,"a",function(){return l}),n.d(t,"c",function(){return u});var i=n("xk4V"),r=n.n(i),o=function(e){return e.NPM="npm",e.GITHUB="github",e.URL="url",e}({});const s=(e,t)=>({name:e,manifest:t,type:t.type,display_name:t.display_name||e,plugin_class:t.plugin_class,capabilities:Array.from(new Set([...t.capabilities||[],"query:read","query:write"]))});var a=function(e){return e.HEADER="header",e.SIDEBAR="sidebar",e}({}),c=function(e){return e.RESULT_PANE="result_pane",e}({});class l{constructor(e,t,n){this.title=e,this.element=t,this.location=n,this.id=r()(),this.isActive=!1}destroy(){this.element=null}}class u{constructor(e,t,n){this.title=e,this.location=t,this.callback=n,this.id=r()()}execute(){this.callback()}}},l7GE:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");class r extends i.a{notifyNext(e,t,n,i,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},l7P3:function(e,t,n){"use strict";n.d(t,"a",function(){return b}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return _}),n.d(t,"d",function(){return $}),n.d(t,"e",function(){return W}),n.d(t,"f",function(){return Q}),n.d(t,"g",function(){return Y}),n.d(t,"h",function(){return te}),n.d(t,"i",function(){return xe}),n.d(t,"j",function(){return ke}),n.d(t,"k",function(){return Te}),n.d(t,"l",function(){return U}),n.d(t,"m",function(){return V}),n.d(t,"n",function(){return G}),n.d(t,"o",function(){return f}),n.d(t,"p",function(){return ae}),n.d(t,"q",function(){return ie});var i=n("fXoL"),r=n("2Vo4"),o=n("HDdC"),s=n("XNiG"),a=n("qgXg"),c=n("pxpQ"),l=n("zp1y"),u=n("Kqap"),h=n("lJxs"),d=n("/uUt");const p={};function f(e,t){if(p[e]=(p[e]||0)+1,"function"==typeof t)return g(e,(...n)=>Object.assign(Object.assign({},t(...n)),{type:e}));switch(t?t._as:"empty"){case"empty":return g(e,()=>({type:e}));case"props":return g(e,t=>Object.assign(Object.assign({},t),{type:e}));default:throw new Error("Unexpected config.")}}function g(e,t){return Object.defineProperty(t,"type",{value:e,writable:!1})}const m="@ngrx/store/init";let b=(()=>{class e extends r.a{constructor(){super({type:m})}next(e){if("function"==typeof e)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(void 0===e)throw new TypeError("Actions must be objects");if(void 0===e.type)throw new TypeError("Actions must have a type property");super.next(e)}complete(){}ngOnDestroy(){super.complete()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const v=[b],y=new i.s("@ngrx/store Internal Root Guard"),w=new i.s("@ngrx/store Internal Initial State"),_=new i.s("@ngrx/store Initial State"),O=new i.s("@ngrx/store Reducer Factory"),C=new i.s("@ngrx/store Internal Reducer Factory Provider"),E=new i.s("@ngrx/store Initial Reducers"),S=new i.s("@ngrx/store Internal Initial Reducers"),T=new i.s("@ngrx/store Store Features"),x=new i.s("@ngrx/store Internal Store Reducers"),k=new i.s("@ngrx/store Internal Feature Reducers"),I=new i.s("@ngrx/store Internal Feature Configs"),D=new i.s("@ngrx/store Internal Store Features"),z=new i.s("@ngrx/store Internal Feature Reducers Token"),j=new i.s("@ngrx/store Feature Reducers"),A=new i.s("@ngrx/store User Provided Meta Reducers"),R=new i.s("@ngrx/store Meta Reducers"),N=new i.s("@ngrx/store Internal Resolved Meta Reducers"),L=new i.s("@ngrx/store User Runtime Checks Config"),M=new i.s("@ngrx/store Internal User Runtime Checks Config"),F=new i.s("@ngrx/store Internal Runtime Checks"),P=new i.s("@ngrx/store Check if Action types are unique");function V(e,t={}){const n=Object.keys(e),i={};for(let o=0;ot(e),n(t))}}function B(e,t){return Array.isArray(t)&&t.length>0&&(e=G.apply(null,[...t,e])),(t,n)=>{const i=e(t);return(e,t)=>i(e=void 0===e?n:e,t)}}class W extends o.a{}class $ extends b{}const U="@ngrx/store/update-reducers";let H=(()=>{class e extends r.a{constructor(e,t,n,i){super(i(n,t)),this.dispatcher=e,this.initialState=t,this.reducers=n,this.reducerFactory=i}addFeature(e){this.addFeatures([e])}addFeatures(e){const t=e.reduce((e,{reducers:t,reducerFactory:n,metaReducers:i,initialState:r,key:o})=>{const s="function"==typeof t?function(e){const t=Array.isArray(e)&&e.length>0?G(...e):e=>e;return(e,n)=>(e=t(e),(t,i)=>e(t=void 0===t?n:t,i))}(i)(t,r):B(n,i)(t,r);return e[o]=s,e},{});this.addReducers(t)}removeFeature(e){this.removeFeatures([e])}removeFeatures(e){this.removeReducers(e.map(e=>e.key))}addReducer(e,t){this.addReducers({[e]:t})}addReducers(e){this.reducers=Object.assign(Object.assign({},this.reducers),e),this.updateReducers(Object.keys(e))}removeReducer(e){this.removeReducers([e])}removeReducers(e){e.forEach(e=>{var t,n;this.reducers=(t=this.reducers,n=e,Object.keys(t).filter(e=>e!==n).reduce((e,n)=>Object.assign(e,{[n]:t[n]}),{}))}),this.updateReducers(e)}updateReducers(e){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:U,features:e})}ngOnDestroy(){this.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.ac($),i.ac(_),i.ac(E),i.ac(O))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const q=[H,{provide:W,useExisting:H},{provide:$,useExisting:b}];let Q=(()=>{class e extends s.a{ngOnDestroy(){this.complete()}}return e.\u0275fac=function(t){return K(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const K=i.Yb(Q),X=[Q];class Y extends o.a{}let J=(()=>{class e extends r.a{constructor(e,t,n,i){super(i);const r={state:i},o=e.pipe(Object(c.b)(a.b)).pipe(Object(l.a)(t)).pipe(Object(u.a)(Z,r));this.stateSubscription=o.subscribe(({state:e,action:t})=>{this.next(e),n.next(t)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.ac(b),i.ac(W),i.ac(Q),i.ac(_))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e.INIT=m,e})();function Z(e={state:void 0},[t,n]){const{state:i}=e;return{state:n(i,t),action:t}}const ee=[J,{provide:Y,useExisting:J}];let te=(()=>{class e extends o.a{constructor(e,t,n){super(),this.actionsObserver=t,this.reducerManager=n,this.source=e}select(e,...t){return ie.call(null,e,...t)(this)}lift(t){const n=new e(this,this.actionsObserver,this.reducerManager);return n.operator=t,n}dispatch(e){this.actionsObserver.next(e)}next(e){this.actionsObserver.next(e)}error(e){this.actionsObserver.error(e)}complete(){this.actionsObserver.complete()}addReducer(e,t){this.reducerManager.addReducer(e,t)}removeReducer(e){this.reducerManager.removeReducer(e)}}return e.\u0275fac=function(t){return new(t||e)(i.ac(Y),i.ac(b),i.ac(H))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const ne=[te];function ie(e,t,...n){return function(i){let r;if("string"==typeof e){const o=[t,...n].filter(Boolean);r=i.pipe(function(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return n=>Object(h.a)(function(e,t){return n=>{let i=n;for(let r=0;re(n,t)))}return r.pipe(Object(d.a)())}}function re(e,t){return e===t}function oe(e,t,n){for(let i=0;ie.release&&"function"==typeof e.release),a=e(function(...e){return o.apply(null,e)}),c=se(function(e,n){return t.stateFn.apply(null,[e,r,n,a])});return Object.assign(c.memoized,{release:function(){c.reset(),a.reset(),s.forEach(e=>e.release())},projector:a.memoized,setResult:c.setResult,clearResult:c.clearResult})}}(se)(...e)}function ce(e,t,n,i){if(void 0===n){const n=t.map(t=>t(e));return i.memoized.apply(null,n)}const r=t.map(t=>t(e,n));return i.memoized.apply(null,[...r,n])}const le="https://ngrx.io/guide/store/configuration/runtime-checks";function ue(e){return void 0===e}function he(e){return null===e}function de(e){return Array.isArray(e)}function pe(e){return"object"==typeof e&&null!==e}function fe(e){return"function"==typeof e}function ge(e){Object.freeze(e);const t=fe(e);return Object.getOwnPropertyNames(e).forEach(n=>{if(!n.startsWith("\u0275")&&function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(e,n)&&(!t||"caller"!==n&&"callee"!==n&&"arguments"!==n)){const t=e[n];!pe(t)&&!fe(t)||Object.isFrozen(t)||ge(t)}}),e}function me(e,t=[]){return(ue(e)||he(e))&&0===t.length?{path:["root"],value:e}:Object.keys(e).reduce((n,i)=>{if(n)return n;const r=e[i];return function(e){return fe(e)&&e.hasOwnProperty("\u0275cmp")}(r)?n:!(ue(r)||he(r)||function(e){return"number"==typeof e}(r)||function(e){return"boolean"==typeof e}(r)||function(e){return"string"==typeof e}(r)||de(r))&&(function(e){if(!function(e){return pe(e)&&!de(e)}(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}(r)?me(r,[...t,i]):{path:[...t,i],value:r})},!1)}function be(e,t){if(!1===e)return;const n=e.path.join("."),i=new Error(`Detected unserializable ${t} at "${n}". ${le}#strict${t}serializability`);throw i.value=e.value,i.unserializablePath=n,i}function ve(e){return Object(i.Y)()?Object.assign({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},e):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function ye({strictActionSerializability:e,strictStateSerializability:t}){return n=>e||t?function(e,t){return function(n,i){t.action(i)&&be(me(i),"action");const r=e(n,i);return t.state()&&be(me(r),"state"),r}}(n,{action:t=>e&&!_e(t),state:()=>t}):n}function we({strictActionImmutability:e,strictStateImmutability:t}){return n=>e||t?function(e,t){return function(n,i){const r=t.action(i)?ge(i):i,o=e(n,r);return t.state()?ge(o):o}}(n,{action:t=>e&&!_e(t),state:()=>t}):n}function _e(e){return e.type.startsWith("@ngrx")}function Oe({strictActionWithinNgZone:e}){return t=>e?function(e,t){return function(n,r){if(t.action(r)&&!i.B.isInAngularZone())throw new Error(`Action '${r.type}' running outside NgZone. ${le}#strictactionwithinngzone`);return e(n,r)}}(t,{action:t=>e&&!_e(t)}):t}function Ce(){return[{provide:P,multi:!0,deps:[F],useFactory:Se}]}function Ee(e){return e}function Se(e){if(!e.strictActionTypeUniqueness)return;const t=Object.entries(p).filter(([,e])=>e>1).map(([e])=>e);if(t.length)throw new Error(`Action types are registered more than once, ${t.map(e=>`"${e}"`).join(", ")}. ${le}#strictactiontypeuniqueness`)}let Te=(()=>{class e{constructor(e,t,n,i,r,o){}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)(i.ac(b),i.ac(W),i.ac(Q),i.ac(te),i.ac(y,8),i.ac(P,8))}}),e})(),xe=(()=>{class e{constructor(e,t,n,i,r){this.features=e,this.featureReducers=t,this.reducerManager=n;const o=e.map((e,n)=>{const i=t.shift()[n];return Object.assign(Object.assign({},e),{reducers:i,initialState:je(e.initialState)})});n.addFeatures(o)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)(i.ac(D),i.ac(j),i.ac(H),i.ac(Te),i.ac(P,8))}}),e})(),ke=(()=>{class e{static forRoot(e,t={}){return{ngModule:Te,providers:[{provide:y,useFactory:Re,deps:[[te,new i.C,new i.M]]},{provide:w,useValue:t.initialState},{provide:_,useFactory:je,deps:[w]},{provide:S,useValue:e},{provide:x,useExisting:e instanceof i.s?e:S},{provide:E,deps:[i.t,S,[new i.q(x)]],useFactory:Ie},{provide:A,useValue:t.metaReducers?t.metaReducers:[]},{provide:N,deps:[R,A],useFactory:Ae},{provide:C,useValue:t.reducerFactory?t.reducerFactory:V},{provide:O,deps:[C,N],useFactory:B},v,q,X,ee,ne,(n=t.runtimeChecks,[{provide:M,useValue:n},{provide:L,useFactory:Ee,deps:[M]},{provide:F,deps:[L],useFactory:ve},{provide:R,multi:!0,deps:[F],useFactory:we},{provide:R,multi:!0,deps:[F],useFactory:ye},{provide:R,multi:!0,deps:[F],useFactory:Oe}]),Ce()]};var n}static forFeature(e,t,n={}){return{ngModule:xe,providers:[{provide:I,multi:!0,useValue:e instanceof Object?{}:n},{provide:T,multi:!0,useValue:{key:e instanceof Object?e.name:e,reducerFactory:n instanceof i.s||!n.reducerFactory?V:n.reducerFactory,metaReducers:n instanceof i.s||!n.metaReducers?[]:n.metaReducers,initialState:n instanceof i.s||!n.initialState?void 0:n.initialState}},{provide:D,deps:[i.t,I,T],useFactory:De},{provide:k,multi:!0,useValue:e instanceof Object?e.reducer:t},{provide:z,multi:!0,useExisting:t instanceof i.s?t:k},{provide:j,multi:!0,deps:[i.t,k,[new i.q(z)]],useFactory:ze},Ce()]}}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})();function Ie(e,t){return t instanceof i.s?e.get(t):t}function De(e,t,n){return n.map((n,r)=>{if(t[r]instanceof i.s){const i=e.get(t[r]);return{key:n.key,reducerFactory:i.reducerFactory?i.reducerFactory:V,metaReducers:i.metaReducers?i.metaReducers:[],initialState:i.initialState}}return n})}function ze(e,t){return t.map(t=>t instanceof i.s?e.get(t):t)}function je(e){return"function"==typeof e?e():e}function Ae(e,t){return e.concat(t)}function Re(e){if(e)throw new TypeError("StoreModule.forRoot() called twice. Feature modules should use StoreModule.forFeature() instead.");return"guarded"}},lJxs:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}class o{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.project,this.thisArg))}}class s extends i.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lLG3:function(e,t,n){"use strict";var i=n("GpRL");e.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:i(e.get)},void 0!==e.set?(t.set=i(e.set),e.delete&&(t.delete=i(e.delete)),e.clear&&(t.clear=i(e.clear)),t):(t.set=t.get,t))}},lO5s:function(e,t,n){"use strict";var i,r,o,s=n("9Qh4"),a=n("s4AO"),c=n("fEpb").Symbol,l=n("lk0t"),u=n("4D8k"),h=n("Jb7g"),d=Object.create,p=Object.defineProperties,f=Object.defineProperty;if("function"==typeof c)try{String(c()),o=!0}catch(g){}else c=null;r=function(e){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return i(e)},e.exports=i=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?c(t):(n=d(r.prototype),t=void 0===t?"":String(t),p(n,{__description__:s("",t),__name__:s("",l(t))}))},u(i),h(i),p(r.prototype,{constructor:s(i),toString:s("",function(){return this.__name__})}),p(i.prototype,{toString:s(function(){return"Symbol ("+a(this).__description__+")"}),valueOf:s(function(){return a(this)})}),f(i.prototype,i.toPrimitive,s("",function(){var e=a(this);return"symbol"==typeof e?e:e.toString()})),f(i.prototype,i.toStringTag,s("c","Symbol")),f(r.prototype,i.toStringTag,s("c",i.prototype[i.toStringTag])),f(r.prototype,i.toPrimitive,s("c",i.prototype[i.toPrimitive]))},lORA:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("dWS+");function r(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var r=n.name.value;return t[r]?e.reportError(new i.a('There can be only one fragment named "'.concat(r,'".'),[t[r],n.name])):t[r]=n.name,!1}}}},lR5k:function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return g});var i=n("fXoL"),r=n("ofXK"),o=n("OnMO"),s=n("tk/3"),a=n("jhN1"),c=n("lJxs");n("SxV6");const l=["*"];class u{}const h=new i.s("SECURITY_CONTEXT");let d=(()=>{class e{constructor(e,t,n,i,r){this.platform=e,this.securityContext=t,this.http=n,this.sanitizer=r,this.initialMarkedOptions={renderer:new o.Renderer},this.options=i}get options(){return this._options}set options(e){this._options=Object.assign(Object.assign({},this.initialMarkedOptions),e)}get renderer(){return this.options.renderer}set renderer(e){this.options.renderer=e}compile(e,t=!1,n=!1,i=this.options){const r=this.trimIndentation(e),s=t?this.decodeHtml(r):r,a=n?this.renderEmoji(s):s,c=Object(o.parse)(a,i);return this.sanitizer.sanitize(this.securityContext,c)||""}getSource(e){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(e,{responseType:"text"}).pipe(Object(c.a)(t=>this.handleExtension(e,t)))}highlight(e){if(Object(r.A)(this.platform)&&"undefined"!=typeof Prism){e||(e=document);const t=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(t,e=>e.classList.add("language-none")),Prism.highlightAllUnder(e)}}renderKatex(e,t){if(!Object(r.A)(this.platform))return e;if("undefined"==typeof katex||void 0===katex.renderToString)throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");return e.replace(/\$([^\s][^$]*?[^\s])\$/gm,(e,n)=>katex.renderToString(n,t))}decodeHtml(e){if(!Object(r.A)(this.platform))return e;const t=document.createElement("textarea");return t.innerHTML=e,t.value}handleExtension(e,t){const n=e?e.split("?")[0].split(".").splice(-1).join():null;return"md"!==n?"```"+n+"\n"+t+"\n```":t}renderEmoji(e){if(!Object(r.A)(this.platform))return e;if("undefined"==typeof joypixels||void 0===joypixels.shortnameToUnicode)throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(e)}trimIndentation(e){if(!e)return"";let t;return e.split("\n").map(e=>{let n=t;return e.length>0&&(n=isNaN(n)?e.search(/\S|$/):Math.min(e.search(/\S|$/),n)),isNaN(t)&&(t=n),n?e.substring(n):e}).join("\n")}}return e.\u0275fac=function(t){return new(t||e)(i.ac(i.D),i.ac(h),i.ac(s.c,8),i.ac(u,8),i.ac(a.b))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();var p=function(e){return e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}({});let f=(()=>{class e{constructor(e,t){this.element=e,this.markdownService=t,this.error=new i.n,this.load=new i.n,this.ready=new i.n,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e)}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e)}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e)}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e)}ngOnChanges(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){this.data||this.src||this.handleTransclusion()}render(e,t=!1){let n=this.markdownService.compile(e,t,this.emoji);n=this.katex?this.markdownService.renderKatex(n,this.katexOptions):n,this.element.nativeElement.innerHTML=n,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()}coerceBooleanProperty(e){return null!=e&&"false"!=`${e}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe(e=>{this.render(e),this.load.emit(e)},e=>this.error.emit(e))}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.lineHighlight&&(this.setPluginClass(this.element.nativeElement,p.LineHighlight),this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset})),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,p.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(e,t){const n=e.querySelectorAll("pre");for(let i=0;i{const r=t[e];if(r){const t=this.toLispCase(e);n.item(i).setAttribute(t,r.toString())}})}toLispCase(e){const t=e.match(/([A-Z])/g);if(!t)return e;let n=e.toString();for(let i=0,r=t.length;i{class e{static forRoot(t){return{ngModule:e,providers:[d,t&&t.loader||[],t&&t.markedOptions||[],{provide:h,useValue:t&&null!=t.sanitize?t.sanitize:i.K.HTML}]}}static forChild(){return{ngModule:e}}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})()},lWBa:function(e,t,n){"use strict";var i=n("sYVv"),r=Array.isArray;e.exports=function(e){return r(e)?e:i(e)}},lgLN:function(e,t,n){"use strict";n.d(t,"f",function(){return i}),n.d(t,"g",function(){return r}),n.d(t,"i",function(){return o}),n.d(t,"j",function(){return s}),n.d(t,"e",function(){return a}),n.d(t,"h",function(){return c}),n.d(t,"a",function(){return l}),n.d(t,"c",function(){return u}),n.d(t,"l",function(){return h}),n.d(t,"n",function(){return d}),n.d(t,"o",function(){return p}),n.d(t,"k",function(){return f}),n.d(t,"m",function(){return g}),n.d(t,"b",function(){return m}),n.d(t,"d",function(){return b});const i="SET_INTROSPECTION",r="SET_INTROSPECTION_FROM_DB",o="SET_SCHEMA",s="SET_SCHEMA_SDL",a="SET_ALLOW_INTROSPECTION",c="SET_INTROSPECTION_LAST_UPDATED_AT",l="EXPORT_SDL",u="LOAD_SDL_SCHEMA";class h{constructor(e,t){this.payload=e,this.windowId=t,this.type=i}}class d{constructor(e,t){this.windowId=e,this.payload=t,this.type=o}}class p{constructor(e,t){this.windowId=e,this.payload=t,this.type=s}}class f{constructor(e,t){this.payload=e,this.windowId=t,this.type=a}}class g{constructor(e,t){this.windowId=e,this.payload=t,this.type=c}}class m{constructor(e){this.windowId=e,this.type=l}}class b{constructor(e){this.windowId=e,this.type=u}}},lk0t:function(e,t,n){"use strict";var i=n("9Qh4"),r=Object.defineProperty,o=Object.prototype,s=(0,Object.create)(null);e.exports=function(e){for(var t,n,a=0;s[e+(a||"")];)++a;return s[e+=a||""]=!0,r(o,t="@@"+e,i.gs(null,function(e){n||(n=!0,r(this,t,i(e)),n=!1)})),t}},lq5y:function(e,t,n){"use strict";var i=n("YsTz");e.exports=function(e){if(!i(e))throw new TypeError("Cannot use null or undefined");return e}},"m3Q/":function(e,t,n){!function(e){"use strict";function t(e,t){this.cm=e,this.options=t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var n=this;e.on("cursorActivity",this.activityFunc=function(){n.cursorActivity()})}e.showHint=function(e,t,n){if(!t)return e.showHint(n);n&&n.async&&(t.async=!0);var i={hint:t};if(n)for(var r in n)i[r]=n[r];return e.showHint(i)},e.defineExtension("showHint",function(n){n=function(e,t,n){var i=e.options.hintOptions,r={};for(var o in c)r[o]=c[o];if(i)for(var o in i)void 0!==i[o]&&(r[o]=i[o]);if(n)for(var o in n)void 0!==n[o]&&(r[o]=n[o]);return r.hint.resolve&&(r.hint=r.hint.resolve(e,t)),r}(this,this.getCursor("start"),n);var i=this.listSelections();if(!(i.length>1)){if(this.somethingSelected()){if(!n.hint.supportsSelection)return;for(var r=0;rl.clientHeight+1,D=s.getScrollInfo();if(k>0){var z=x.bottom-x.top;if(m.top-(m.bottom-x.top)-z>0)l.style.top=(v=m.top-z-_)+"px",y=!1;else if(z>T){l.style.height=T-5+"px",l.style.top=(v=m.bottom-x.top-_)+"px";var j=s.getCursor();n.from.ch!=j.ch&&(m=s.cursorCoords(j),l.style.left=(b=m.left-w)+"px",x=l.getBoundingClientRect())}}var A,R=x.right-S;if(R>0&&(x.right-x.left>S&&(l.style.width=S-5+"px",R-=x.right-x.left-S),l.style.left=(b=m.left-R-w)+"px"),I)for(var N=l.firstChild;N;N=N.nextSibling)N.style.paddingRight=s.display.nativeBarWidth+"px";return s.addKeyMap(this.keyMap=function(e,t){var n={Up:function(){t.moveFocus(-1)},Down:function(){t.moveFocus(1)},PageUp:function(){t.moveFocus(1-t.menuSize(),!0)},PageDown:function(){t.moveFocus(t.menuSize()-1,!0)},Home:function(){t.setFocus(0)},End:function(){t.setFocus(t.length-1)},Enter:t.pick,Tab:t.pick,Esc:t.close};/Mac/.test(navigator.platform)&&(n["Ctrl-P"]=function(){t.moveFocus(-1)},n["Ctrl-N"]=function(){t.moveFocus(1)});var i=e.options.customKeys,r=i?{}:n;function o(e,i){var o;o="string"!=typeof i?function(e){return i(e,t)}:n.hasOwnProperty(i)?n[i]:i,r[e]=o}if(i)for(var s in i)i.hasOwnProperty(s)&&o(s,i[s]);var a=e.options.extraKeys;if(a)for(var s in a)a.hasOwnProperty(s)&&o(s,a[s]);return r}(t,{moveFocus:function(e,t){i.changeActive(i.selectedHint+e,t)},setFocus:function(e){i.changeActive(e)},menuSize:function(){return i.screenAmount()},length:u.length,close:function(){t.close()},pick:function(){i.pick()},data:n})),t.options.closeOnUnfocus&&(s.on("blur",this.onBlur=function(){A=setTimeout(function(){t.close()},100)}),s.on("focus",this.onFocus=function(){clearTimeout(A)})),s.on("scroll",this.onScroll=function(){var e=s.getScrollInfo(),n=s.getWrapperElement().getBoundingClientRect(),i=v+D.top-e.top,r=i-(c.pageYOffset||(a.documentElement||a.body).scrollTop);if(y||(r+=l.offsetHeight),r<=n.top||r>=n.bottom)return t.close();l.style.top=i+"px",l.style.left=b+D.left-e.left+"px"}),e.on(l,"dblclick",function(e){var t=o(l,e.target||e.srcElement);t&&null!=t.hintId&&(i.changeActive(t.hintId),i.pick())}),e.on(l,"click",function(e){var n=o(l,e.target||e.srcElement);n&&null!=n.hintId&&(i.changeActive(n.hintId),t.options.completeOnSingleClick&&i.pick())}),e.on(l,"mousedown",function(){setTimeout(function(){s.focus()},20)}),this.scrollToActive(),e.signal(n,"select",u[this.selectedHint],l.childNodes[this.selectedHint]),!0}function a(e,t,n,i){if(e.async)e(t,i,n);else{var r=e(t,n);r&&r.then?r.then(i):i(r)}}t.prototype={close:function(){this.active()&&(this.cm.state.completionActive=null,this.tick=null,this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&e.signal(this.data,"close"),this.widget&&this.widget.close(),e.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(t,n){var i=t.list[n],o=this;this.cm.operation(function(){i.hint?i.hint(o.cm,t,i):o.cm.replaceRange(r(i),i.from||t.from,i.to||t.to,"complete"),e.signal(t,"pick",i),o.cm.scrollIntoView()}),this.close()},cursorActivity:function(){this.debounce&&(i(this.debounce),this.debounce=0);var e=this.startPos;this.data&&(e=this.data.from);var t=this.cm.getCursor(),r=this.cm.getLine(t.line);if(t.line!=this.startPos.line||r.length-t.ch!=this.startLen-this.startPos.ch||t.ch=this.data.list.length?t=n?this.data.list.length-1:0:t<0&&(t=n?0:this.data.list.length-1),this.selectedHint!=t){var i=this.hints.childNodes[this.selectedHint];i&&(i.className=i.className.replace(" CodeMirror-hint-active","")),(i=this.hints.childNodes[this.selectedHint=t]).className+=" CodeMirror-hint-active",this.scrollToActive(),e.signal(this.data,"select",this.data.list[this.selectedHint],i)}},scrollToActive:function(){var e=this.hints.childNodes[this.selectedHint],t=this.hints.firstChild;e.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=e.offsetTop+e.offsetHeight-this.hints.clientHeight+t.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1}},e.registerHelper("hint","auto",{resolve:function(t,n){var i,r=t.getHelpers(n,"hint");if(r.length){var o=function(e,t,n){var i=function(e,t){if(!e.somethingSelected())return t;for(var n=[],i=0;i0?t(e):r(o+1)})}(0)};return o.async=!0,o.supportsSelection=!0,o}return(i=t.getHelper(t.getCursor(),"hintWords"))?function(t){return e.hint.fromList(t,{words:i})}:e.hint.anyword?function(t,n){return e.hint.anyword(t,n)}:function(){}}}),e.registerHelper("hint","fromList",function(t,n){var i,r=t.getCursor(),o=t.getTokenAt(r),s=e.Pos(r.line,o.start),a=r;o.start,]/,closeOnUnfocus:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null};e.defineOption("hintOptions",null)}(n("VrN/"))},m8Fq:function(e,t,n){(function(e){!function(e){"use strict";e.exports.is_uri=n,e.exports.is_http_uri=i,e.exports.is_https_uri=r,e.exports.is_web_uri=o,e.exports.isUri=n,e.exports.isHttpUri=i,e.exports.isHttpsUri=r,e.exports.isWebUri=o;var t=function(e){return e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function n(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var n,i,r,o,s,a="",c="";if(i=(n=t(e))[2],r=n[3],o=n[4],s=n[5],(a=n[1])&&a.length&&r.length>=0){if(i&&i.length){if(0!==r.length&&!/^\//.test(r))return}else if(/^\/\//.test(r))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(a.toLowerCase()))return c+=a+":",i&&i.length&&(c+="//"+i),c+=r,o&&o.length&&(c+="?"+o),s&&s.length&&(c+="#"+s),c}}}function i(e,i){if(n(e)){var r,o,s,a,c="",l="",u="",h="";if(l=(r=t(e))[2],o=r[3],s=r[4],a=r[5],c=r[1]){if(i){if("https"!=c.toLowerCase())return}else if("http"!=c.toLowerCase())return;if(l)return/:(\d+)$/.test(l)&&(u=l.match(/:(\d+)$/)[0],l=l.replace(/:\d+$/,"")),h+=c+":",h+="//"+l,u&&(h+=u),h+=o,s&&s.length&&(h+="?"+s),a&&a.length&&(h+="#"+a),h}}}function r(e){return i(e,!0)}function o(e){return i(e)||r(e)}}(e)}).call(this,n("YuTi")(e))},mCNh:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var i=n("SpAZ");function r(...e){return o(e)}function o(e){return 0===e.length?i.a:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},mIS6:function(e,t,n){"use strict";n.d(t,"c",function(){return i}),n.d(t,"a",function(){return r}),n.d(t,"d",function(){return o}),n.d(t,"b",function(){return s});const i="SHOW_DONATION_ALERT",r="HIDE_DONATION_ALERT";class o{constructor(){this.type=i}}class s{constructor(){this.type=r}}},mki7:function(e,t,n){!function(e){"use strict";var t=e.commands,n=e.Pos;function i(t,i){t.extendSelectionsBy(function(r){return t.display.shift||t.doc.extend||r.empty()?function(t,i,r){if(r<0&&0==i.ch)return t.clipPos(n(i.line-1));var o=t.getLine(i.line);if(r>0&&i.ch>=o.length)return t.clipPos(n(i.line+1,0));for(var s,a="start",c=i.ch,l=c,u=r<0?0:o.length,h=0;l!=u;l+=r,h++){var d=o.charAt(r<0?l-1:l),p="_"!=d&&e.isWordChar(d)?"w":"o";if("w"==p&&d.toUpperCase()==d&&(p="W"),"start"==a)"o"!=p?(a="in",s=p):c=l+r;else if("in"==a&&s!=p){if("w"==s&&"W"==p&&r<0&&l--,"W"==s&&"w"==p&&r>0){if(l==c+1){s="w";continue}l--}break}}return n(i.line,l)}(t.doc,r.head,i):i<0?r.from():r.to()})}function r(t,i){if(t.isReadOnly())return e.Pass;t.operation(function(){for(var e=t.listSelections().length,r=[],o=-1,s=0;s=0;a--){var l=i[r[a]];if(!(c&&e.cmpPos(l.head,c)>0)){var u=o(t,l.head);c=u.from,t.replaceRange(n(u.word),u.from,u.to)}}})}function h(t){var n=t.getCursor("from"),i=t.getCursor("to");if(0==e.cmpPos(n,i)){var r=o(t,n);if(!r.word)return;n=r.from,i=r.to}return{from:n,to:i,query:t.getRange(n,i),word:r}}function d(e,t){var i=h(e);if(i){var r=i.query,o=e.getSearchCursor(r,t?i.to:i.from);(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):(o=e.getSearchCursor(r,t?n(e.firstLine(),0):e.clipPos(n(e.lastLine()))),(t?o.findNext():o.findPrevious())?e.setSelection(o.from(),o.to()):i.word&&e.setSelection(i.from,i.to))}}t.goSubwordLeft=function(e){i(e,-1)},t.goSubwordRight=function(e){i(e,1)},t.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},t.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},t.splitSelectionByLine=function(e){for(var t=e.listSelections(),i=[],r=0;ro.line&&a==s.line&&0==s.ch||i.push({anchor:a==o.line?o:n(a,0),head:a==s.line?s:n(a)});e.setSelections(i,0)},t.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},t.selectLine=function(e){for(var t=e.listSelections(),i=[],r=0;ro?r.push(l,u):r.length&&(r[r.length-1]=u),o=u}t.operation(function(){for(var e=0;et.lastLine()?t.replaceRange("\n"+a,n(t.lastLine()),null,"+swapLine"):t.replaceRange(a+"\n",n(o,0),null,"+swapLine")}t.setSelections(s),t.scrollIntoView()})},t.swapLineDown=function(t){if(t.isReadOnly())return e.Pass;for(var i=t.listSelections(),r=[],o=t.lastLine()+1,s=i.length-1;s>=0;s--){var a=i[s],c=a.to().line+1,l=a.from().line;0!=a.to().ch||a.empty()||c--,c=0;e-=2){var i=r[e],o=r[e+1],s=t.getLine(i);i==t.lastLine()?t.replaceRange("",n(i-1),n(i),"+swapLine"):t.replaceRange("",n(i,0),n(i+1,0),"+swapLine"),t.replaceRange(s+"\n",n(o,0),null,"+swapLine")}t.scrollIntoView()})},t.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},t.joinLines=function(e){for(var t=e.listSelections(),i=[],r=0;r=0;o--){var s=i[o].head,a=t.getRange({line:s.line,ch:0},s),c=e.countColumn(a,null,t.getOption("tabSize")),l=t.findPosH(s,-1,"char",!1);if(a&&!/\S/.test(a)&&c%r==0){var u=new n(s.line,e.findColumn(a,c-r,r));u.ch!=s.ch&&(l=u)}t.replaceRange("",l,s,"+delete")}})},t.delLineRight=function(e){e.operation(function(){for(var t=e.listSelections(),i=t.length-1;i>=0;i--)e.replaceRange("",t[i].anchor,n(t[i].to().line),"+delete");e.scrollIntoView()})},t.upcaseAtCursor=function(e){u(e,function(e){return e.toUpperCase()})},t.downcaseAtCursor=function(e){u(e,function(e){return e.toLowerCase()})},t.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},t.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},t.deleteToSublimeMark=function(t){var n=t.state.sublimeMark&&t.state.sublimeMark.find();if(n){var i=t.getCursor(),r=n;if(e.cmpPos(i,r)>0){var o=r;r=i,i=o}t.state.sublimeKilled=t.getRange(i,r),t.replaceRange("",i,r)}},t.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},t.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},t.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},t.findUnder=function(e){d(e,!0)},t.findUnderPrevious=function(e){d(e,!1)},t.findAllUnder=function(e){var t=h(e);if(t){for(var n=e.getSearchCursor(t.query),i=[],r=-1;n.findNext();)i.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&r++;e.setSelections(i,r)}};var p=e.keyMap;p.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Cmd-F5":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},e.normalizeKeyMap(p.macSublime),p.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Ctrl-F9":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},e.normalizeKeyMap(p.pcSublime),p.sublime=p.default==p.macDefault?p.macSublime:p.pcSublime}(n("VrN/"),n("uTOq"),n("jDMi"))},mlxB:function(e,t,n){"use strict";function i(e){return e instanceof Date&&!isNaN(+e)}n.d(t,"a",function(){return i})},mrSG:function(e,t,n){"use strict";function i(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function o(e,t){return function(n,i){t(n,i,e)}}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function a(e,t,n,i){return new(n||(n=Promise))(function(r,o){function s(e){try{c(i.next(e))}catch(t){o(t)}}function a(e){try{c(i.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}c((i=i.apply(e,t||[])).next())})}n.d(t,"e",function(){return i}),n.d(t,"b",function(){return r}),n.d(t,"d",function(){return o}),n.d(t,"c",function(){return s}),n.d(t,"a",function(){return a})},"n/l8":function(e,t,n){"use strict";var i=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},r=function(e){var t,n,r=document.createTextNode(""),o=0;return new e(function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)return e=n,n=null,void e();for(r.data=o=++o%2;n;)e=n.shift(),n.length||(n=null),e()}).observe(r,{characterData:!0}),function(e){i(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,r.data=o=++o%2)}};e.exports=function(){if("object"==typeof process&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(i(e))};if("object"==typeof document&&document){if("function"==typeof MutationObserver)return r(MutationObserver);if("function"==typeof WebKitMutationObserver)return r(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(i(e))}:"function"==typeof setTimeout||"object"==typeof setTimeout?function(e){setTimeout(i(e),0)}:null}()},n6bG:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",function(){return i})},"nA++":function(e,t,n){"use strict";e.exports=function(e){return"function"==typeof e}},nC3q:function(e,t,n){"use strict";var i=n("1TtK"),r=Object.create,o=Object.prototype.hasOwnProperty;e.exports=function(e){var t,n=0,s=1,a=r(null),c=r(null),l=0;return e=i(e),{hit:function(i){var r=c[i],u=++l;if(a[u]=i,c[i]=u,!r){if(++n<=e)return;return t(i=a[s]),i}if(delete a[r],s===r)for(;!o.call(a,++s);)continue},delete:t=function(e){var t=c[e];if(t&&(delete a[t],delete c[e],--n,s===t)){if(!n)return l=0,void(s=1);for(;!o.call(a,++s);)continue}},clear:function(){n=0,s=1,a=r(null),c=r(null),l=0}}}},nHt3:function(e,t,n){!function(e){"use strict";function t(e,t){function n(e){clearTimeout(i.doRedraw),i.doRedraw=setTimeout(function(){i.redraw()},e)}this.cm=e,this.options=t,this.buttonHeight=t.scrollButtonHeight||e.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=e.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();var i=this;e.on("refresh",this.resizeHandler=function(){clearTimeout(i.doUpdate),i.doUpdate=setTimeout(function(){i.computeScale()&&n(20)},100)}),e.on("markerAdded",this.resizeHandler),e.on("markerCleared",this.resizeHandler),!1!==t.listenForChanges&&e.on("changes",this.changeHandler=function(){n(250)})}e.defineExtension("annotateScrollbar",function(e){return"string"==typeof e&&(e={className:e}),new t(this,e)}),e.defineOption("scrollButtonHeight",0),t.prototype.computeScale=function(){var e=this.cm,t=(e.getWrapperElement().clientHeight-e.display.barHeight-2*this.buttonHeight)/e.getScrollerElement().scrollHeight;if(t!=this.hScale)return this.hScale=t,!0},t.prototype.update=function(e){this.annotations=e,this.redraw()},t.prototype.redraw=function(e){!1!==e&&this.computeScale();var t=this.cm,n=this.hScale,i=document.createDocumentFragment(),r=this.annotations,o=t.getOption("lineWrapping"),s=o&&1.5*t.defaultTextHeight(),a=null,c=null;function l(e,n){return a!=e.line&&(c=t.getLineHandle(a=e.line)),c.widgets&&c.widgets.length||o&&c.height>s?t.charCoords(e,"local")[n?"top":"bottom"]:t.heightAtLine(c,"local")+(n?0:c.height)}var u=t.lastLine();if(t.display.barWidth)for(var h,d=0;du)){for(var f=h||l(p.from,!0)*n,g=l(p.to,!1)*n;du)&&!((h=l(r[d+1].from,!0)*n)>g+.9);)g=l((p=r[++d]).to,!1)*n;if(g!=f){var m=Math.max(g-f,3),b=i.appendChild(document.createElement("div"));b.style.cssText="position: absolute; right: 0px; width: "+Math.max(t.display.barWidth-1,2)+"px; top: "+(f+this.buttonHeight)+"px; height: "+m+"px",b.className=this.options.className,p.id&&b.setAttribute("annotation-id",p.id)}}}this.div.textContent="",this.div.appendChild(i)},t.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("changes",this.changeHandler),this.div.parentNode.removeChild(this.div)}}(n("VrN/"))},nLfN:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return g}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return d}),n.d(t,"f",function(){return p});var i=n("fXoL"),r=n("ofXK");let o;try{o="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(m){o=!1}let s,a,c,l,u=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Object(r.A)(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&&!o)&&"undefined"!=typeof CSS&&!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}}return e.\u0275fac=function(t){return new(t||e)(i.ac(i.D))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.ac)(i.D))},token:e,providedIn:"root"}),e})(),h=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})();function d(e){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>s=!0}))}finally{s=s||!1}return s}()?e:!!e.capture}function p(){if(null==c){if("object"!=typeof document||!document)return c=!1,c;if("scrollBehavior"in document.documentElement.style)c=!0;else{const e=Element.prototype.scrollTo;c=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return c}function f(){if("object"!=typeof document||!document)return 0;if(null==a){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),a=0,0===e.scrollLeft&&(e.scrollLeft=1,a=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return a}function g(e){if(function(){if(null==l){const e="undefined"!=typeof document?document.head:null;l=!(!e||!e.createShadowRoot&&!e.attachShadow)}return l}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}},nQNJ:function(e,t,n){"use strict";n.d(t,"b",function(){return f}),n.d(t,"a",function(){return m});var i=n("HaE+"),r=n("ReVU"),o=n("6EqW"),s=n("P9dZ"),a=n("l7P3"),c=n("QlJJ");const l=Object(a.p)(e=>e?e.environments:{...Object(c.b)()},e=>{if(e.activeSubEnvironment)return e.subEnvironments.find(t=>t.id===e.activeSubEnvironment)});var u=n("V5dU"),h=n("SxV6"),d=n("fXoL"),p=n("tk/3"),f=function(e){return e.INTROSPECTION="introspection",e.QUERY="query",e.SUBSCRIPTION="subscription",e}({});const g={atob:{exec:()=>Object(i.a)(function*(){return(yield n.e(2).then(n.t.bind(null,"YC0g",7))).atob})()},btoa:{exec:()=>Object(i.a)(function*(){return(yield n.e(2).then(n.t.bind(null,"YC0g",7))).btoa})()},"crypto-js":{exec:()=>Object(i.a)(function*(){return(yield n.e(8).then(n.t.bind(null,"NFKh",7))).default})()}};let m=(()=>{class e{constructor(e,t,n,i){this.cookieService=e,this.http=t,this.store=n,this.notifyService=i}executeScript(e,t){var r=this;return Object(i.a)(function*(){const i=(yield n.e(12).then(n.t.bind(null,"kmxh",7))).default,a=JSON.parse(JSON.stringify(t)),c=new i({ecmaVer:10,sandBox:!0});c.import({altair:r.getGlobalContext(a)}),c.run(`\n const program = async() => {\n ${e};\n return altair.data;\n };\n exports.end = program();\n `);const u=yield c.exports.end;if(o.a.log("interpreter result:",u),a.__toSetActiveEnvironment){const e=yield r.store.select(l).pipe(Object(h.a)()).toPromise();if(e)try{const t={...JSON.parse(e.variablesJson),...a.__toSetActiveEnvironment};r.store.dispatch(new s.m({id:e.id,value:JSON.stringify(t,null,2)})),r.notifyService.info(`Updated active environment variables: ${Object.keys(a.__toSetActiveEnvironment).join(", ")}.`,"Request script")}catch(d){r.notifyService.error(`Could not update active environment variables. ${d.message}`,"Request script")}else r.notifyService.warning("No active environment selected. Cannot update environment variables","Request script")}return a})()}getGlobalContext(e){const t=this;return{data:e,helpers:{getEnvironment:t=>e.environment[t],setEnvironment:(t,n,i=!1)=>{e.environment[t]=n,i&&(e.__toSetActiveEnvironment=e.__toSetActiveEnvironment||{},e.__toSetActiveEnvironment[t]=n)},getCookie:e=>t.cookieService.get(e),request:(n=Object(i.a)(function*(e,n,i){try{return t.http.request(e,n,i).toPromise()}catch(r){return null}}),function(e,t,i){return n.apply(this,arguments)})},importModule:e=>this.importModuleHelper(e),response:this.buildContextResponse(e)};var n}importModuleHelper(e){return Object(i.a)(function*(){if(!Object.keys(g).includes(e))throw new Error(`No pre request module found matching "${e}"`);return g[e].exec()})()}buildContextResponse(e){if(e.response)return{body:e.response.response.body,requestType:e.requestType||f.QUERY,responseTime:e.response.meta.responseTime,statusCode:e.response.response.status,headers:e.response.meta.headers}}}return e.\u0275fac=function(t){return new(t||e)(d.ac(r.a),d.ac(p.c),d.ac(a.h),d.ac(u.a))},e.\u0275prov=d.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},nTiS:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return c});var i=n("w7D7");const r=window.__ALTAIR_TRANSLATE__;class o{constructor({endpointURL:e,subscriptionsEndpoint:t,initialQuery:n,initialHeaders:o,initialEnvironments:s,initialVariables:a,initialPreRequestScript:c,initialPostRequestScript:l="",instanceStorageNamespace:u,initialSettings:h}={}){this.donation={url:"https://opencollective.com/altair/donate",action_count_threshold:50},this.ga="UA-41432833-6",this.add_query_depth_limit=3,this.tab_size=2,this.max_windows=i.a?50:15,this.default_language=r?"ach-UG":"en-US",this.languages={"en-US":"English","fr-FR":"French","es-ES":"Espa\xf1ol","cs-CZ":"Czech","de-DE":"German","pt-BR":"Brazilian","ru-RU":"Russian","uk-UA":"Ukrainian","zh-CN":"Chinese Simplified","ja-JP":"Japanese","sr-SP":"Serbian","it-IT":"Italian","pl-PL":"Polish","ko-KR":"Korean","ro-RO":"Romanian","vi-VN":"Vietnamese"},this.query_history_depth=i.a?100:15,this.defaultTheme="system",this.isTranslateMode=r,this.isWebApp=window.__ALTAIR_WEB_APP__,this.initialData={url:"",subscriptionsEndpoint:"",query:"",variables:"",headers:null,environments:{},preRequestScript:"",postRequestScript:"",instanceStorageNamespace:"altair_",settings:void 0},this.initialData.url=window.__ALTAIR_ENDPOINT_URL__||e||"",this.initialData.subscriptionsEndpoint=window.__ALTAIR_SUBSCRIPTIONS_ENDPOINT__||t||"",this.initialData.query=window.__ALTAIR_INITIAL_QUERY__||n||"",this.initialData.variables=window.__ALTAIR_INITIAL_VARIABLES__||a||"",this.initialData.headers=window.__ALTAIR_INITIAL_HEADERS__||o||"",this.initialData.environments=s||{},this.initialData.preRequestScript=window.__ALTAIR_INITIAL_PRE_REQUEST_SCRIPT__||c||"",this.initialData.postRequestScript=l,this.initialData.instanceStorageNamespace=window.__ALTAIR_INSTANCE_STORAGE_NAMESPACE__||u||"altair_",this.initialData.settings=h||void 0}}let s=new o;const a=e=>{s=e},c=()=>s;window.getAltairConfig=c},nYR2:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("7o/Q"),r=n("quSY");function o(e){return t=>t.lift(new s(e))}class s{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends i.a{constructor(e,t){super(e),this.add(new r.a(t))}}},neE4:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("t3R0"),r=n("ZZnB"),o=function(e,t,n){this.body=e,this.name=t||"GraphQL request",this.locationOffset=n||{line:1,column:1},this.locationOffset.line>0||Object(i.a)(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||Object(i.a)(0,"column in locationOffset is 1-indexed and must be positive")};Object(r.a)(o)},ngJS:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=e=>t=>{for(let n=0,i=e.length;n{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Mb)({factory:u,token:e,providedIn:"platform"}),e})();function u(){return Object(i.ac)(d)}const h=new i.s("Location Initialized");let d=(()=>{class e extends l{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(i.ac(c))},e.\u0275prov=Object(i.Mb)({factory:f,token:e,providedIn:"platform"}),e})();function p(){return!!window.history.pushState}function f(){return new d(Object(i.ac)(c))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function m(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function b(e){return e&&"?"!==e[0]?"?"+e:e}let v=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Mb)({factory:y,token:e,providedIn:"root"}),e})();function y(e){const t=Object(i.ac)(c).location;return new _(Object(i.ac)(l),t&&t.origin||"")}const w=new i.s("appBaseHref");let _=(()=>{class e extends v{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return g(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i.ac(l),i.ac(w,8))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),O=(()=>{class e extends v{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=g(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i.ac(l),i.ac(w,8))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),C=(()=>{class e{constructor(e,t){this._subject=new i.n,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=m(S(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+b(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,S(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(i.ac(v),i.ac(l))},e.normalizeQueryParams=b,e.joinWithSlash=g,e.stripTrailingSlash=m,e.\u0275prov=Object(i.Mb)({factory:E,token:e,providedIn:"root"}),e})();function E(){return new C(Object(i.ac)(v),Object(i.ac)(l))}function S(e){return e.replace(/\/index.html$/,"")}var T=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),x=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),I=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),D=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function z(e,t,n){const r=Object(i.nb)(e),o=F([r[i.db.DayPeriodsFormat],r[i.db.DayPeriodsStandalone]],t);return F(o,n)}function j(e,t){return F(Object(i.nb)(e)[i.db.DateFormat],t)}function A(e,t){return F(Object(i.nb)(e)[i.db.TimeFormat],t)}function R(e,t){return F(Object(i.nb)(e)[i.db.DateTimeFormat],t)}function N(e,t){const n=Object(i.nb)(e),r=n[i.db.NumberSymbols][t];if(void 0===r){if(t===D.CurrencyDecimal)return n[i.db.NumberSymbols][D.Decimal];if(t===D.CurrencyGroup)return n[i.db.NumberSymbols][D.Group]}return r}const L=i.qb;function M(e){if(!e[i.db.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[i.db.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function F(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function P(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const V=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,G={},B=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var W=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),$=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),U=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function H(e,t,n,i){let r=function(e){if(oe(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,i=1]=e.split("-").map(e=>+e);return q(t,n-1,i)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(V))return function(e){const t=new Date(0);let n=0,i=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-i,c=Number(e[6]||0),l=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,s,a,c,l),t}(n)}const t=new Date(e);if(!oe(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=Q(n,t)||t;let o,s=[];for(;t;){if(o=B.exec(t),!o){s.push(t);break}{s=s.concat(o.slice(1));const e=s.pop();if(!e)break;t=e}}let a=r.getTimezoneOffset();i&&(a=re(i,a),r=function(e,t,n){const i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(re(t,i)-i))}(r,i));let c="";return s.forEach(e=>{const t=function(e){if(ie[e])return ie[e];let t;switch(e){case"G":case"GG":case"GGG":t=J(U.Eras,k.Abbreviated);break;case"GGGG":t=J(U.Eras,k.Wide);break;case"GGGGG":t=J(U.Eras,k.Narrow);break;case"y":t=Y($.FullYear,1,0,!1,!0);break;case"yy":t=Y($.FullYear,2,0,!0,!0);break;case"yyy":t=Y($.FullYear,3,0,!1,!0);break;case"yyyy":t=Y($.FullYear,4,0,!1,!0);break;case"Y":t=ne(1);break;case"YY":t=ne(2,!0);break;case"YYY":t=ne(3);break;case"YYYY":t=ne(4);break;case"M":case"L":t=Y($.Month,1,1);break;case"MM":case"LL":t=Y($.Month,2,1);break;case"MMM":t=J(U.Months,k.Abbreviated);break;case"MMMM":t=J(U.Months,k.Wide);break;case"MMMMM":t=J(U.Months,k.Narrow);break;case"LLL":t=J(U.Months,k.Abbreviated,x.Standalone);break;case"LLLL":t=J(U.Months,k.Wide,x.Standalone);break;case"LLLLL":t=J(U.Months,k.Narrow,x.Standalone);break;case"w":t=te(1);break;case"ww":t=te(2);break;case"W":t=te(1,!0);break;case"d":t=Y($.Date,1);break;case"dd":t=Y($.Date,2);break;case"E":case"EE":case"EEE":t=J(U.Days,k.Abbreviated);break;case"EEEE":t=J(U.Days,k.Wide);break;case"EEEEE":t=J(U.Days,k.Narrow);break;case"EEEEEE":t=J(U.Days,k.Short);break;case"a":case"aa":case"aaa":t=J(U.DayPeriods,k.Abbreviated);break;case"aaaa":t=J(U.DayPeriods,k.Wide);break;case"aaaaa":t=J(U.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=J(U.DayPeriods,k.Abbreviated,x.Standalone,!0);break;case"bbbb":t=J(U.DayPeriods,k.Wide,x.Standalone,!0);break;case"bbbbb":t=J(U.DayPeriods,k.Narrow,x.Standalone,!0);break;case"B":case"BB":case"BBB":t=J(U.DayPeriods,k.Abbreviated,x.Format,!0);break;case"BBBB":t=J(U.DayPeriods,k.Wide,x.Format,!0);break;case"BBBBB":t=J(U.DayPeriods,k.Narrow,x.Format,!0);break;case"h":t=Y($.Hours,1,-12);break;case"hh":t=Y($.Hours,2,-12);break;case"H":t=Y($.Hours,1);break;case"HH":t=Y($.Hours,2);break;case"m":t=Y($.Minutes,1);break;case"mm":t=Y($.Minutes,2);break;case"s":t=Y($.Seconds,1);break;case"ss":t=Y($.Seconds,2);break;case"S":t=Y($.FractionalSeconds,1);break;case"SS":t=Y($.FractionalSeconds,2);break;case"SSS":t=Y($.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Z(W.Short);break;case"ZZZZZ":t=Z(W.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Z(W.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Z(W.Long);break;default:return null}return ie[e]=t,t}(e);c+=t?t(r,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function q(e,t,n){const i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function Q(e,t){const n=function(e){return Object(i.nb)(e)[i.db.LocaleId]}(e);if(G[n]=G[n]||{},G[n][t])return G[n][t];let r="";switch(t){case"shortDate":r=j(e,I.Short);break;case"mediumDate":r=j(e,I.Medium);break;case"longDate":r=j(e,I.Long);break;case"fullDate":r=j(e,I.Full);break;case"shortTime":r=A(e,I.Short);break;case"mediumTime":r=A(e,I.Medium);break;case"longTime":r=A(e,I.Long);break;case"fullTime":r=A(e,I.Full);break;case"short":const t=Q(e,"shortTime"),n=Q(e,"shortDate");r=K(R(e,I.Short),[t,n]);break;case"medium":const i=Q(e,"mediumTime"),o=Q(e,"mediumDate");r=K(R(e,I.Medium),[i,o]);break;case"long":const s=Q(e,"longTime"),a=Q(e,"longDate");r=K(R(e,I.Long),[s,a]);break;case"full":const c=Q(e,"fullTime"),l=Q(e,"fullDate");r=K(R(e,I.Full),[c,l])}return r&&(G[n][t]=r),r}function K(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function X(e,t,n="-",i,r){let o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===$.Hours)0===a&&-12===n&&(a=12);else if(e===$.FractionalSeconds)return c=t,X(a,3).substr(0,c);var c;const l=N(s,D.MinusSign);return X(a,t,l,i,r)}}function J(e,t,n=x.Format,r=!1){return function(o,s){return function(e,t,n,r,o,s){switch(n){case U.Months:return function(e,t,n){const r=Object(i.nb)(e),o=F([r[i.db.MonthsFormat],r[i.db.MonthsStandalone]],t);return F(o,n)}(t,o,r)[e.getMonth()];case U.Days:return function(e,t,n){const r=Object(i.nb)(e),o=F([r[i.db.DaysFormat],r[i.db.DaysStandalone]],t);return F(o,n)}(t,o,r)[e.getDay()];case U.DayPeriods:const a=e.getHours(),c=e.getMinutes();if(s){const e=function(e){const t=Object(i.nb)(e);return M(t),(t[i.db.ExtraData][2]||[]).map(e=>"string"==typeof e?P(e):[P(e[0]),P(e[1])])}(t),n=function(e,t,n){const r=Object(i.nb)(e);M(r);const o=F([r[i.db.ExtraData][0],r[i.db.ExtraData][1]],t)||[];return F(o,n)||[]}(t,o,r),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,i=a>=t.hours&&c>=t.minutes,r=a0?Math.floor(r/60):Math.ceil(r/60);switch(e){case W.Short:return(r>=0?"+":"")+X(s,2,o)+X(Math.abs(r%60),2,o);case W.ShortGMT:return"GMT"+(r>=0?"+":"")+X(s,1,o);case W.Long:return"GMT"+(r>=0?"+":"")+X(s,2,o)+":"+X(Math.abs(r%60),2,o);case W.Extended:return 0===i?"Z":(r>=0?"+":"")+X(s,2,o)+":"+X(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}function ee(e){return q(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function te(e,t=!1){return function(n,i){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=ee(n),t=function(e){const t=q(e,0,1).getDay();return q(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();r=1+Math.round(i/6048e5)}return X(r,e,N(i,D.MinusSign))}}function ne(e,t=!1){return function(n,i){return X(ee(n).getFullYear(),e,N(i,D.MinusSign),t)}}const ie={};function re(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function oe(e){return e instanceof Date&&!isNaN(e.valueOf())}class se{}let ae=(()=>{class e extends se{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(L(t||this.locale)(e)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(i.ac(i.w))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();function ce(e,t,n){return Object(i.xb)(e,t,n)}function le(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}let ue=(()=>{class e{constructor(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i.tb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i.zb)(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.u),i.Qb(i.v),i.Qb(i.l),i.Qb(i.G))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})(),he=(()=>{class e{constructor(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}ngOnChanges(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const e=t.get(i.z);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(e.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(i.j)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.S))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[i.Cb]}),e})();class de{constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}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 pe=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,i)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new de(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new fe(e,n);t.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const o=new fe(e,r);t.push(o)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.S),i.Qb(i.O),i.Qb(i.u))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class fe{constructor(e,t){this.record=e,this.view=t}}let ge=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new me,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){be("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){be("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.S),i.Qb(i.O))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class me{constructor(){this.$implicit=null,this.ngIf=null}}function be(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(i.zb)(t)}'.`)}class ve{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let ye=(()=>{class e{constructor(){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||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new ve(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.S),i.Qb(i.O),i.Qb(ye,1))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),_e=(()=>{class e{constructor(e,t,n){n._addDefault(new ve(e,t))}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.S),i.Qb(i.O),i.Qb(ye,1))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),Oe=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split(".");null!=(t=null!=t&&i?`${t}${i}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l),i.Qb(i.v),i.Qb(i.G))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),Ce=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.S))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.Cb]}),e})();function Ee(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(i.zb)(e)}'`)}class Se{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Te{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const xe=new Te,ke=new Se;let Ie=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Object(i.vb)(t))return xe;if(Object(i.wb)(t))return ke;throw Ee(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(i.cc())},e.\u0275pipe=i.Pb({name:"async",type:e,pure:!1}),e})(),De=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",i,r){if(null==t||""===t||t!=t)return null;try{return H(t,n,r||this.locale,i)}catch(o){throw Ee(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.w))},e.\u0275pipe=i.Pb({name:"date",type:e,pure:!0}),e})(),ze=(()=>{class e{transform(e){return JSON.stringify(e,null,2)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Pb({name:"json",type:e,pure:!1}),e})(),je=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[{provide:se,useClass:ae}]}),e})();const Ae="browser";function Re(e){return e===Ae}function Ne(e){return"server"===e}let Le=(()=>{class e{}return e.\u0275prov=Object(i.Mb)({token:e,providedIn:"root",factory:()=>new Me(Object(i.ac)(c),window)}),e})();class Me{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){var t;if(!this.supportsScrolling())return;const n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=Fe(this.window.history)||Fe(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function Fe(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}},opf0:function(e,t,n){"use strict";e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}},oqE9:function(e,t,n){"use strict";var i,r=n("gQ7D"),o=(i={enum:["cs-CZ","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","ro-RO","ru-RU","sr-SP","uk-UA","vi-VN","zh-CN"],type:"string"},function e(t,n,o,s,a){if(!t||"object"!=typeof t||Array.isArray(t))return e.errors=[{keyword:"type",dataPath:(n||"")+"",schemaPath:"#/type",params:{type:"object"},message:"should be object"}],!1;var c=!0;if(void 0===t.addQueryDepthLimit)c=!0;else{var l=0;if("number"!=typeof t.addQueryDepthLimit)return e.errors=[{keyword:"type",dataPath:(n||"")+".addQueryDepthLimit",schemaPath:"#/properties/addQueryDepthLimit/type",params:{type:"number"},message:"should be number"}],!1;c=0===l}if(c){if(void 0===t["alert.disableWarnings"])c=!0;else{if(l=0,"boolean"!=typeof t["alert.disableWarnings"])return e.errors=[{keyword:"type",dataPath:(n||"")+"['alert.disableWarnings']",schemaPath:"#/properties/alert.disableWarnings/type",params:{type:"boolean"},message:"should be boolean"}],!1;c=0===l}if(c){if(void 0===t.disablePushNotification)c=!0;else{if(l=0,"boolean"!=typeof t.disablePushNotification)return e.errors=[{keyword:"type",dataPath:(n||"")+".disablePushNotification",schemaPath:"#/properties/disablePushNotification/type",params:{type:"boolean"},message:"should be boolean"}],!1;c=0===l}if(c){if(void 0===t.enableExperimental)c=!0;else{if(l=0,"boolean"!=typeof t.enableExperimental)return e.errors=[{keyword:"type",dataPath:(n||"")+".enableExperimental",schemaPath:"#/properties/enableExperimental/type",params:{type:"boolean"},message:"should be boolean"}],!1;c=0===l}if(c){if(void 0===t.historyDepth)c=!0;else{if(l=0,"number"!=typeof t.historyDepth)return e.errors=[{keyword:"type",dataPath:(n||"")+".historyDepth",schemaPath:"#/properties/historyDepth/type",params:{type:"number"},message:"should be number"}],!1;c=0===l}if(c){if(void 0===(f=t.language))c=!0;else{l=0;var u=0;if("string"!=typeof f)return e.errors=[{keyword:"type",dataPath:(n||"")+".language",schemaPath:"#/definitions/SettingsLanguage/type",params:{type:"string"},message:"should be string"}],!1;var h=i.enum;p=!1;for(var d=0;da(n,e)):a(n,t)}if(e instanceof r.GraphQLInputObjectType){if("Object"!==t.kind)return[[t,`Type "${e}" must be an Object.`]];const n=Object.create(null),i=l(t.members,t=>{const i=t.key.value;n[i]=!0;const r=e.getFields()[i];return r?a(r?r.type:void 0,t.value):[[t.key,`Type "${e}" does not have a field "${i}".`]]});return Object.keys(e.getFields()).forEach(o=>{n[o]||e.getFields()[o].type instanceof r.GraphQLNonNull&&i.push([t,`Object of type "${e}" is missing required field "${o}".`])}),i}return"Boolean"===e.name&&"Boolean"!==t.kind||"String"===e.name&&"String"!==t.kind||"ID"===e.name&&"Number"!==t.kind&&"String"!==t.kind||"Float"===e.name&&"Number"!==t.kind||"Int"===e.name&&("Number"!==t.kind||(0|t.value)!==t.value)||(e instanceof r.GraphQLEnumType||e instanceof r.GraphQLScalarType)&&("String"!==t.kind&&"Number"!==t.kind&&"Boolean"!==t.kind&&"Null"!==t.kind||null==(n=e.parseValue(t.value))||n!=n)?[[t,`Expected value of type "${e}".`]]:[];var n}function c(e,t,n){return{message:n,severity:"error",type:"validation",from:e.posFromIndex(t.start),to:e.posFromIndex(t.end)}}function l(e,t){return Array.prototype.concat.apply([],e.map(t))}i.default.registerHelper("lint","graphql-variables",(e,t,n)=>{if(!e)return[];let i;try{i=(0,o.default)(e)}catch(s){if(s.stack)throw s;return[c(n,s,s.message)]}const r=t.variableToType;return r?function(e,t,n){const i=[];return n.members.forEach(n=>{const r=n.key.value,o=t[r];o?a(o,n.value).forEach(([t,n])=>{i.push(c(e,t,n))}):i.push(c(e,n.key,`Variable "$${r}" does not appear in any GraphQL query.`))}),i}(n,r,i):[]})},pdGh:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var i=n("ofXK"),r=n("fXoL");let o=(()=>{class e{constructor(e,t){this.viewContainer=e,this.templateRef=t,this.embeddedViewRef=null,this.context=new s,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(e,t){return!0}recreateView(){this.viewContainer.clear();const e=this.nzStringTemplateOutlet instanceof r.O;this.embeddedViewRef=this.viewContainer.createEmbeddedView(e?this.nzStringTemplateOutlet:this.templateRef,e?this.nzStringTemplateOutletContext:this.context)}updateContext(){const e=this.nzStringTemplateOutlet instanceof r.O?this.nzStringTemplateOutletContext:this.context,t=this.embeddedViewRef.context;if(e)for(const n of Object.keys(e))t[n]=e[n]}ngOnChanges(e){const{nzStringTemplateOutletContext:t,nzStringTemplateOutlet:n}=e;n&&(this.context.$implicit=n.currentValue),(()=>{let e=!1;if(n)if(n.firstChange)e=!0;else{const t=n.currentValue instanceof r.O;e=n.previousValue instanceof r.O||t}return t&&(e=>{const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(const e of n)if(-1===t.indexOf(e))return!0;return!1}return!0})(t)||e})()?this.recreateView():this.updateContext()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.S),r.Qb(r.O))},e.\u0275dir=r.Lb({type:e,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[r.Cb]}),e})();class s{}let a=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})()},"pv/G":function(e,t,n){"use strict";function i(e,t){var n="string"==typeof e?[e,t]:[void 0,e],i=n[0],r=n[1],o=" Did you mean ";switch(i&&(o+=i+" "),r.length){case 0:return"";case 1:return o+r[0]+"?";case 2:return o+r[0]+" or "+r[1]+"?"}var s=r.slice(0,5),a=s.pop();return o+s.join(", ")+", or "+a+"?"}n.d(t,"a",function(){return i})},pxpQ:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var i=n("7o/Q"),r=n("WMd4");function o(e,t=0){return function(n){return n.lift(new s(e,t))}}class s{constructor(e,t=0){this.scheduler=e,this.delay=t}call(e,t){return t.subscribe(new a(e,this.scheduler,this.delay))}}class a extends i.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(a.dispatch,this.delay,new c(e,this.destination)))}_next(e){this.scheduleMessage(r.a.createNext(e))}_error(e){this.scheduleMessage(r.a.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(r.a.createComplete()),this.unsubscribe()}}class c{constructor(e,t){this.notification=e,this.destination=t}}},qY48:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r}),n.d(t,"d",function(){return o}),n.d(t,"c",function(){return s});const i="SET_POSTREQUEST_SCRIPT",r="SET_POSTREQUEST_ENABLED";class o{constructor(e,t){this.windowId=e,this.payload=t,this.type=i}}class s{constructor(e,t){this.windowId=e,this.payload=t,this.type=r}}},qgXg:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c});var i=n("3N8a");class r extends i.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var o=n("IjjT");class s extends o.a{}const a=new s(r),c=a},qhZs:function(e,t,n){"use strict";var i=n("sYVv"),r=n("aFjk"),o=n("n/l8"),s=n("JlUD"),a=n("2ZJU"),c=n("ZI+j"),l=Function.prototype,u=Math.max,h=Math.min,d=Object.create;c.maxAge=function(e,t,n){var p,f,g,m;(e=a(e))&&(p=d(null),t.on("set"+(f=n.async&&c.async||n.promise&&c.promise?"async":""),function(n){p[n]=setTimeout(function(){t.delete(n)},e),"function"==typeof p[n].unref&&p[n].unref(),m&&(m[n]&&"nextTick"!==m[n]&&clearTimeout(m[n]),m[n]=setTimeout(function(){delete m[n]},g),"function"==typeof m[n].unref&&m[n].unref())}),t.on("delete"+f,function(e){clearTimeout(p[e]),delete p[e],m&&("nextTick"!==m[e]&&clearTimeout(m[e]),delete m[e])}),n.preFetch&&(g=!0===n.preFetch||isNaN(n.preFetch)?.333:u(h(Number(n.preFetch),1),0))&&(m={},g=(1-g)*e,t.on("get"+f,function(e,r,a){m[e]||(m[e]="nextTick",o(function(){var o;"nextTick"===m[e]&&(delete m[e],t.delete(e),n.async&&(r=i(r)).push(l),o=t.memoized.apply(a,r),n.promise&&s(o)&&("function"==typeof o.done?o.done(l,l):o.then(l,l)))}))})),t.on("clear"+f,function(){r(p,function(e){clearTimeout(e)}),p={},m&&(r(m,function(e){"nextTick"!==e&&clearTimeout(e)}),m={})}))}},quSY:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("DH7j"),r=n("XoHu"),o=n("n6bG");const s=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:l,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;ee.concat(t instanceof s?t.errors:t),[])}},qvY7:function(e,t,n){"use strict";n.r(t),n.d(t,"validateWithCustomRules",function(){return s});var i=n("FQ53"),r=n("4RMZ"),o=n("EkME");function s(e,t,s,a){const{NoUnusedFragments:c}=n("ZBm+"),{ExecutableDefinitions:l}=n("ZfCc"),u=[c,l];if(a){const{KnownFragmentNames:e}=n("E++1");u.push(e)}const h=i.a.filter(e=>!u.some(t=>t===e)),d=new r.a(e);s&&Array.prototype.push.apply(h,s);const p=Object(o.c)(e,t,h,d);return p.length>0?p.filter(e=>{if(-1===e.message.indexOf("Unknown directive"))return!0;if(e.nodes&&e.nodes[0]){const t=e.nodes[0];return!(t.name&&"arguments"===t.name.value||"argumentDefinitions"===t.name.value)}}):[]}},r60r:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var i=n("1/U3"),r=n("Y/la"),o=n("rWdj"),s=n("dWS+"),a=n("/jXB"),c=n("dQau"),l=n("axIb"),u=n("umOc");function h(e,t){return'Fields "'.concat(e,'" conflict because ').concat(d(t),". ")+"Use different aliases on the fields to fetch both if this was intentional."}function d(e){return Array.isArray(e)?e.map(function(e){var t=e[1];return'subfields "'.concat(e[0],'" conflict because ').concat(d(t))}).join(" and "):e}function p(e){var t=new O,n=new Map;return{SelectionSet:function(i){for(var o=function(e,t,n,i,o){var s=[],a=y(e,t,i,o),c=a[0],l=a[1];if(function(e,t,n,i,o){for(var s=0,a=Object(r.a)(o);s1)for(var h=0;h0)return[[t,e.map(function(e){return e[0]})],e.reduce(function(e,t){return e.concat(t[1])},[n]),e.reduce(function(e,t){return e.concat(t[2])},[i])]}(function(e,t,n,i,r,o,s,a){var c=[],l=y(e,t,r,o),u=l[0],h=l[1],d=y(e,t,s,a),p=d[0],b=d[1];if(m(e,c,t,n,i,u,p),0!==b.length)for(var v=Object.create(null),w=0;wt.height||e.scrollWidth>t.width}}class _{constructor(e,t,n,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class O{enable(){}disable(){}attach(){}}function C(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function E(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class S{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef=e}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:t,height:n}=this._viewportRuler.getViewportSize();C(e,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let T=(()=>{class e{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new O,this.close=e=>new _(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new w(this._viewportRuler,this._document),this.reposition=e=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=i}}return e.\u0275fac=function(t){return new(t||e)(r.ac(i.e),r.ac(i.g),r.ac(r.B),r.ac(a.d))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(i.e),Object(r.ac)(i.g),Object(r.ac)(r.B),Object(r.ac)(a.d))},token:e,providedIn:"root"}),e})();class x{constructor(e){if(this.scrollStrategy=new O,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class k{constructor(e,t,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class I{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let D=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(r.ac(a.d))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(a.d))},token:e,providedIn:"root"}),e})(),z=(()=>{class e extends D{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(a.d))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(a.d))},token:e,providedIn:"root"}),e})(),j=(()=>{class e extends D{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const r=n[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(t))break;r._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(a.d),r.ac(o.a))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(a.d),Object(r.ac)(o.a))},token:e,providedIn:"root"}),e})();const A=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let R=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||A){const e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let t=0;tthis._backdropClick.next(e),this._keydownEvents=new u.a,this._outsidePointerEvents=new u.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(p.a)(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),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),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&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Object(c.d)(this._config.width),e.height=Object(c.d)(this._config.height),e.minWidth=Object(c.d)(this._config.minWidth),e.minHeight=Object(c.d)(this._config.minHeight),e.maxWidth=Object(c.d)(this._config.maxWidth),e.maxHeight=Object(c.d)(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const i=e.classList;Object(c.b)(t).forEach(e=>{e&&(n?i.add(e):i.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Object(f.a)(Object(d.a)(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._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const L=/([A-Za-z%]+)$/;class M{constructor(e,t,n,i,r){this._viewportRuler=t,this._document=n,this._platform=i,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 u.a,this._resizeSubscription=h.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,i=[];let r;for(let o of this._preferredPositions){let s=this._getOriginPoint(e,o),a=this._getOverlayPoint(s,t,o),c=this._getOverlayFit(a,t,n,o);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,s);this._canFitWithFlexibleDimensions(c,a,n)?i.push({position:o,origin:s,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(s,o)}):(!r||r.overlayFit.visibleAreat&&(t=i,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&F(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,i;if("center"==t.originX)n=e.left+e.width/2;else{const i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return i="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:i}}_getOverlayPoint(e,t,n){let i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}_getOverlayFit(e,t,n,i){const r=V(t);let{x:o,y:s}=e,a=this._getOffset(i,"x"),c=this._getOffset(i,"y");a&&(o+=a),c&&(s+=c);let l=0-s,u=s+r.height-n.height,h=this._subtractOverflows(r.width,0-o,o+r.width-n.width),d=this._subtractOverflows(r.height,l,u),p=h*d;return{visibleArea:p,isCompletelyWithinViewport:r.width*r.height===p,fitsInViewportVertically:d===r.height,fitsInViewportHorizontally:h==r.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const i=n.bottom-t.y,r=n.right-t.x,o=P(this._overlayRef.getConfig().minHeight),s=P(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportHorizontally||null!=s&&s<=r;return(e.fitsInViewportVertically||null!=o&&o<=i)&&a}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const i=V(t),r=this._viewportRect,o=Math.max(e.x+i.width-r.width,0),s=Math.max(e.y+i.height-r.height,0),a=Math.max(r.top-n.top-e.y,0),c=Math.max(r.left-n.left-e.x,0);let l=0,u=0;return l=i.width<=r.width?c||-o:e.xi&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-i/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)l=n.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)c=e.x,a=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),i=this._lastBoundingBoxSize.width;a=2*t,c=e.x-t,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(c=e.x-i/2)}return{top:o,left:c,bottom:s,right:l,width:a,height:r}}_setBoundingBoxStyles(e,t){const n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(c.d)(n.height),i.top=Object(c.d)(n.top),i.bottom=Object(c.d)(n.bottom),i.width=Object(c.d)(n.width),i.left=Object(c.d)(n.left),i.right=Object(c.d)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(i.maxHeight=Object(c.d)(e)),r&&(i.maxWidth=Object(c.d)(r))}this._lastBoundingBoxSize=n,F(this._boundingBox.style,i)}_resetBoundingBoxStyles(){F(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){F(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();F(n,this._getExactOverlayY(t,e,i)),F(n,this._getExactOverlayX(t,e,i))}else n.position="static";let s="",a=this._getOffset(t,"x"),l=this._getOffset(t,"y");a&&(s+=`translateX(${a}px) `),l&&(s+=`translateY(${l}px)`),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=Object(c.d)(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=Object(c.d)(o.maxWidth):r&&(n.maxWidth="")),F(this._pane.style,n)}_getExactOverlayY(e,t,n){let i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(c.d)(r.y),i}_getExactOverlayX(e,t,n){let i,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Object(c.d)(o.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:E(e,n),isOriginOutsideView:C(e,n),isOverlayClipped:E(t,n),isOverlayOutsideView:C(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Object(c.b)(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof r.l)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}function F(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function P(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(L);return n&&"px"!==n?null:parseFloat(t)}return e||null}function V(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}class G{constructor(e,t,n,i,r,o,s){this._preferredPositions=[],this._positionStrategy=new M(n,i,r,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,i){const r=new k(e,t,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}class B{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:o,maxHeight:s}=n,a=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==r&&"100vh"!==r||s&&"100%"!==s&&"100vh"!==s);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let W=(()=>{class e{constructor(e,t,n,i){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=i}global(){return new B}connectedTo(e,t,n){return new G(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new M(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(i.g),r.ac(a.d),r.ac(o.a),r.ac(R))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(i.g),Object(r.ac)(a.d),Object(r.ac)(o.a),Object(r.ac)(R))},token:e,providedIn:"root"}),e})(),$=0,U=(()=>{class e{constructor(e,t,n,i,r,o,s,a,c,l,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=o,this._ngZone=s,this._document=a,this._directionality=c,this._location=l,this._outsideClickDispatcher=u}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new x(e);return r.direction=r.direction||this._directionality.value,new N(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+$++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(r.g)),new l.d(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(T),r.ac(R),r.ac(r.j),r.ac(W),r.ac(z),r.ac(r.t),r.ac(r.B),r.ac(a.d),r.ac(s.b),r.ac(a.j),r.ac(j))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();const H=[{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"}],q=new r.s("cdk-connected-overlay-scroll-strategy");let Q=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),K=(()=>{class e{constructor(e,t,n,i,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.a.EMPTY,this._attachSubscription=h.a.EMPTY,this._detachSubscription=h.a.EMPTY,this._positionSubscription=h.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.n,this.positionChange=new r.n,this.attach=new r.n,this.detach=new r.n,this.overlayKeydown=new r.n,this.overlayOutsideClick=new r.n,this._templatePortal=new l.f(t,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}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=Object(c.c)(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Object(c.c)(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Object(c.c)(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Object(c.c)(e)}get push(){return this._push}set push(e){this._push=Object(c.c)(e)}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=H);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(e=>{this.overlayKeydown.next(e),e.keyCode!==v.f||this.disableClose||Object(v.p)(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new x({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).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.origin.elementRef);return this._updatePositionStrategy(e),e}_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(e,t=!1){return n=>n.lift(new m(e,t))}(()=>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()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(U),r.Qb(r.O),r.Qb(r.S),r.Qb(q),r.Qb(s.b,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.Cb]}),e})();const X={provide:q,deps:[U],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let Y=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},providers:[U,X],imports:[[s.a,l.e,i.f],i.f]}),e})(),J=(()=>{class e extends R{constructor(e,t){super(e,t)}ngOnDestroy(){super.ngOnDestroy(),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)}_createContainer(){super._createContainer(),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener(()=>this._adjustParentForFullscreenChange())}_adjustParentForFullscreenChange(){this._containerElement&&(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)}_addFullscreenChangeListener(e){const t=this._getEventName();t&&(this._fullScreenListener&&this._document.removeEventListener(t,this._fullScreenListener),this._document.addEventListener(t,e),this._fullScreenListener=e)}_getEventName(){if(!this._fullScreenEventName){const e=this._document;e.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":e.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":e.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":e.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName}getFullscreenElement(){const e=this._document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||null}}return e.\u0275fac=function(t){return new(t||e)(r.ac(a.d),r.ac(o.a))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(a.d),Object(r.ac)(o.a))},token:e,providedIn:"root"}),e})()},rHH4:function(e,t){const n=[{regex:/^\bcurl\b/,name:"curl"},{regex:/^(-H|--header)/,name:"header-state"},{regex:/^-X/,name:"custom-method-state"},{regex:/^(-u|--user)/,name:"user-state"},{regex:/^(-d|--data)/,name:"data-state"},{regex:/^--compressed/,name:"compressed"},{regex:/^(-i|--include)/,name:"include-headers"},{regex:/^(-s|--silent)/,name:"run-silent"},{regex:/^(-G|--get)/,name:"use-get"},{regex:/^'[^']*'/,name:"string"},{regex:/^"[^"]*"/,name:"string"},{regex:/^[^\n\r\s]*/,name:"string"},{regex:/^.*/,name:"others"}],i=e=>e.trim().replace(/^('|")\s*/,"").replace(/\s*('|")$/,"");e.exports={parseCurl:e=>{let t=e.trim();const r=[],o={url:"",method:"GET",headers:{},auth:{}};for(;t;)n.some(e=>{if(e.regex.test(t))return r.push({name:e.name,value:t.match(e.regex)}),t=t.replace(e.regex,"").trim(),!0});if(r.length){if("curl"!==r.shift().name)throw new Error("Not a curl command.");let e="";r.forEach(t=>{if(e){switch(e){case"header-state":{const e=i(t.value[0]).split(/\s*:\s*/);o.headers[e[0]]=e[1];break}case"data-state":o.data=i(t.value[0]).trim();break;case"custom-method-state":o.method=i(t.value[0]).trim()}e=""}else switch(t.name){case"header-state":e="header-state";break;case"data-state":e="data-state";break;case"custom-method-state":e="custom-method-state";break;case"user-state":e="user-state";break;case"string":{const e=i(t.value[0]);(e=>/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)/.test(e))(e)&&(o.url=e);break}}})}return o}}},rUJ1:function(e,t){const n=/[&<>"']/,i=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,o=/[<>"']|&(?!#?\w+;)/g,s={"&":"&","<":"<",">":">",'"':""","'":"'"},a=e=>s[e],c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function l(e){return e.replace(c,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const u=/(^|[^\[])\^/g,h=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,p={},f=/^[^:]+:\/*[^/]*$/,g=/^([^:]+:)[\s\S]*$/,m=/^([^:]+:\/*[^/]*)[\s\S]*$/;function b(e,t){p[" "+e]||(p[" "+e]=f.test(e)?e+"/":v(e,"/",!0));const n=-1===(e=p[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(g,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(m,"$1")+t:e+t}function v(e,t,n){const i=e.length;if(0===i)return"";let r=0;for(;r(i=(i=i.source||i).replace(u,"$1"),e=e.replace(t,i),n),getRegex:()=>new RegExp(e,t)};return n},cleanUrl:function(e,t,n){if(e){let e;try{e=decodeURIComponent(l(n)).replace(h,"").toLowerCase()}catch(i){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!d.test(n)&&(n=b(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n},resolveUrl:b,noopTest:{exec:function(){}},merge:function(e){let t,n,i=1;for(;i{let i=!1,r=t;for(;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"}).split(/ \|/);let i=0;if(n.length>t)n.splice(t);else for(;n.length2)return"[Array]";for(var n=Math.min(10,e.length),i=e.length-n,r=[],o=0;o1&&r.push("... ".concat(i," more items")),"["+r.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);return 0===n.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]":"{ "+n.map(function(n){return n+": "+s(e[n],t)}).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},rt3J:function(e,t,n){!function(e){"use strict";e.registerHelper("fold","brace",function(t,n){var i,r=n.line,o=t.getLine(r);function s(s){for(var a=n.ch,c=0;;){var l=a<=0?-1:o.lastIndexOf(s,a-1);if(-1!=l){if(1==c&&lt.lastLine())return null;var i=t.getTokenAt(e.Pos(n,1));if(/\S/.test(i.string)||(i=t.getTokenAt(e.Pos(n,i.end+1))),"keyword"!=i.type||"import"!=i.string)return null;for(var r=n,o=Math.min(t.lastLine(),n+10);r<=o;++r){var s=t.getLine(r).indexOf(";");if(-1!=s)return{startCh:i.end,end:e.Pos(r,s)}}}var r,o=n.line,s=i(o);if(!s||i(o-1)||(r=i(o-2))&&r.end.line==o-1)return null;for(var a=s.end;;){var c=i(a.line+1);if(null==c)break;a=c.end}return{from:t.clipPos(e.Pos(o,s.startCh+1)),to:a}}),e.registerHelper("fold","include",function(t,n){function i(n){if(nt.lastLine())return null;var i=t.getTokenAt(e.Pos(n,1));return/\S/.test(i.string)||(i=t.getTokenAt(e.Pos(n,i.end+1))),"meta"==i.type&&"#include"==i.string.slice(0,8)?i.start+8:void 0}var r=n.line,o=i(r);if(null==o||null!=i(r-1))return null;for(var s=r;null!=i(s+1);)++s;return{from:e.Pos(r,o+1),to:t.clipPos(e.Pos(s))}})}(n("VrN/"))},ruyP:function(e,t,n){"use strict";function i(e,t){const n=e.filter(t);return 0===n.length?e:n}function r(e){return e.toLowerCase().replace(/\W/g,"")}function o(e,t){let n=function(e,t){let n,i;const r=[],o=e.length,s=t.length;for(n=0;n<=o;n++)r[n]=[n];for(i=1;i<=s;i++)r[0][i]=i;for(n=1;n<=o;n++)for(i=1;i<=s;i++){const o=e[n-1]===t[i-1]?0:1;r[n][i]=Math.min(r[n-1][i]+1,r[n][i-1]+1,r[n-1][i-1]+o),n>1&&i>1&&e[n-1]===t[i-2]&&e[n-2]===t[i-1]&&(r[n][i]=Math.min(r[n][i],r[n-2][i-2]+o))}return r[o][s]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const s=function(e,t){return t?i(i(e.map(e=>({proximity:o(r(e.text),t),entry:e})),e=>e.proximity<=2),e=>!e.entry.isDeprecated).sort((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.text.length-t.entry.text.length).map(e=>e.entry):i(e,e=>!e.isDeprecated)}(n,r(t.string));if(!s)return;const a=null!==t.type&&/"|\w/.test(t.string[0])?t.start:t.end;return{list:s,from:{line:e.line,column:a},to:{line:e.line,column:t.end}}}},s4AO:function(e,t,n){"use strict";var i=n("ESbf");e.exports=function(e){if(!i(e))throw new TypeError(e+" is not a symbol");return e}},sA7U:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("dWS+"),r=n("/jXB"),o=n("4suF");function s(e){return'The directive "'.concat(e,'" can only be used once at this location.')}function a(e){for(var t=Object.create(null),n=e.getSchema(),a=n?n.getDirectives():o.i,c=0;c{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})()},sYVv:function(e,t,n){"use strict";e.exports=n("FM/B")()?Array.from:n("j+X2")},sYmb:function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return L}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return R});var i=n("fXoL"),r=n("LRne"),o=n("7+OI"),s=n("cp0P"),a=n("GyhO"),c=n("NXyV"),l=n("IzEk"),u=n("UXun"),h=n("lJxs"),d=n("bOdf"),p=n("eIep");class f{}let g=(()=>{class e extends f{getTranslation(e){return Object(r.a)({})}}return e.\u0275fac=function(t){return m(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const m=i.Yb(g);class b{}let v=(()=>{class e{handle(e){return e.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();function y(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,i,r,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in r=Object.create(null),e){if(!y(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i{_(t[i])?i in e?n[i]=O(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})}),n}class C{}let E=(()=>{class e extends C{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!w(e)||!w(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let i=this.getValue(t,n);return w(i)?i:e}):e}}return e.\u0275fac=function(t){return S(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const S=i.Yb(E);class T{}let x=(()=>{class e extends T{compile(e,t){return e}compileTranslations(e,t){return e}}return e.\u0275fac=function(t){return k(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const k=i.Yb(x);class I{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.n,this.onLangChange=new i.n,this.onDefaultLangChange=new i.n}}const D=new i.s("USE_STORE"),z=new i.s("USE_DEFAULT_LANG"),j=new i.s("DEFAULT_LANGUAGE"),A=new i.s("USE_EXTEND");let R=(()=>{class e{constructor(e,t,n,r,o,s=!0,a=!1,c=!1,l){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=r,this.missingTranslationHandler=o,this.useDefaultLang=s,this.isolate=a,this.extend=c,this.pending=!1,this._onTranslationChange=new i.n,this._onLangChange=new i.n,this._onDefaultLangChange=new i.n,this._langs=[],this._translations={},this._translationRequests={},l&&this.setDefaultLang(l)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe(Object(l.a)(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Object(r.a)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe(Object(l.a)(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),Object(r.a)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(Object(u.a)(1),Object(l.a)(1));return this.loadingTranslations=t.pipe(Object(h.a)(t=>this.compiler.compileTranslations(t,e)),Object(u.a)(1),Object(l.a)(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},t),this.translations[e]):t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?O(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let i;if(t instanceof Array){let i={},a=!1;for(let r of t)i[r]=this.getParsedResult(e,r,n),Object(o.a)(i[r])&&(a=!0);if(a){const e=t.map(e=>Object(o.a)(i[e])?i[e]:Object(r.a)(i[e]));return Object(s.a)(e).pipe(Object(h.a)(e=>{let n={};return e.forEach((e,i)=>{n[t[i]]=e}),n}))}return i}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),i=this.missingTranslationHandler.handle(e)}return void 0!==i?i:t}get(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(d.a)(n=>(n=this.getParsedResult(n,e,t),Object(o.a)(n)?n:Object(r.a)(n))));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return Object(o.a)(n)?n:Object(r.a)(n)}}getStreamOnTranslationChange(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');return Object(a.a)(Object(c.a)(()=>this.get(e,t)),this.onTranslationChange.pipe(Object(p.a)(n=>{const i=this.getParsedResult(n.translations,e,t);return"function"==typeof i.subscribe?i:Object(r.a)(i)})))}stream(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');return Object(a.a)(Object(c.a)(()=>this.get(e,t)),this.onLangChange.pipe(Object(p.a)(n=>{const i=this.getParsedResult(n.translations,e,t);return Object(o.a)(i)?i:Object(r.a)(i)})))}instant(e,t){if(!w(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if(Object(o.a)(n)){if(e instanceof Array){let t={};return e.forEach((n,i)=>{t[e[i]]=e[i]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return e.\u0275fac=function(t){return new(t||e)(i.ac(I),i.ac(f),i.ac(T),i.ac(C),i.ac(b),i.ac(z),i.ac(D),i.ac(A),i.ac(j))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),N=(()=>{class e{constructor(e,t){this.translate=e,this._ref=t,this.value=""}updateValue(e,t,n){let i=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let r=this.translate.getParsedResult(n,e,t);Object(o.a)(r.subscribe)?r.subscribe(i):i(r)}this.translate.get(e,t).subscribe(i)}transform(e,...t){if(!e||!e.length)return e;if(y(e,this.lastKey)&&y(t,this.lastParams))return this.value;let n;if(w(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(i){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(R),i.cc())},e.\u0275pipe=i.Pb({name:"translate",type:e,pure:!1}),e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),L=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:f,useClass:g},t.compiler||{provide:T,useClass:x},t.parser||{provide:C,useClass:E},t.missingTranslationHandler||{provide:b,useClass:v},I,{provide:D,useValue:t.isolate},{provide:z,useValue:t.useDefaultLang},{provide:A,useValue:t.extend},{provide:j,useValue:t.defaultLanguage},R]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:f,useClass:g},t.compiler||{provide:T,useClass:x},t.parser||{provide:C,useClass:E},t.missingTranslationHandler||{provide:b,useClass:v},{provide:D,useValue:t.isolate},{provide:z,useValue:t.useDefaultLang},{provide:A,useValue:t.extend},{provide:j,useValue:t.defaultLanguage},R]}}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})()},"sdW/":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("pv/G"),r=n("T95z"),o=n("dWS+"),s=n("axIb");function a(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var a=e.getSchema(),c=t.name.value,l=function(e,t,n){if(Object(s.C)(t)){for(var i=[],r=Object.create(null),o=0,a=e.getPossibleTypes(t);o{class e{constructor(){this.data={},this.goToFieldChange=new i.n,this.goToTypeChange=new i.n,this.addToEditorChange=new i.n}ngOnInit(){}isRootType(e){if(!e||!this.gqlSchema)return!1;switch(e){case this.gqlSchema.getQueryType()&&this.gqlSchema.getQueryType().name:case this.gqlSchema.getMutationType()&&this.gqlSchema.getMutationType().name:case this.gqlSchema.getSubscriptionType()&&this.gqlSchema.getSubscriptionType().name:return!0}return!1}goToField(e,t){this.goToFieldChange.next({name:e,parentType:t})}goToType(e){this.goToTypeChange.next({name:e})}addToEditor(e,t){this.addToEditorChange.next({name:e,parentType:t})}isGraphQLInterface(e){return e instanceof r.c}isGraphQLObject(e){return e instanceof r.f}getTypeImplementations(e){return this.isGraphQLInterface(e)&&this.gqlSchema.getPossibleTypes(e)||[]}getTypeImplements(e){return this.isGraphQLObject(e)&&e.getInterfaces()||[]}schemaItemTrackBy(e,t){return t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["app-doc-viewer-type"]],inputs:{data:"data",gqlSchema:"gqlSchema"},outputs:{goToFieldChange:"goToFieldChange",goToTypeChange:"goToTypeChange",addToEditorChange:"addToEditorChange"},decls:30,vars:11,consts:[[1,"doc-viewer-section"],[1,"doc-viewer-item","doc-viewer-item-field"],[1,"doc-viewer-item-query-inner"],["class","doc-viewer-item-type doc-viewer-item-query-type",4,"ngIf"],["class","doc-viewer-item-query-description","markdown","",3,"data",4,"ngIf"],["class","doc-viewer-section doc-viewer-fields",4,"ngIf"],["class","doc-viewer-section doc-viewer-subtypes",4,"ngIf"],["class","doc-viewer-section doc-viewer-implementations",4,"ngIf"],["class","doc-viewer-section doc-viewer-implements",4,"ngIf"],[1,"doc-viewer-item-type","doc-viewer-item-query-type"],["markdown","",1,"doc-viewer-item-query-description",3,"data"],[1,"doc-viewer-section","doc-viewer-fields"],[1,"doc-viewer-section-title"],["class","doc-viewer-item doc-viewer-item-query",4,"ngFor","ngForOf","ngForTrackBy"],[1,"doc-viewer-item","doc-viewer-item-query"],[1,"doc-viewer-item-field","doc-viewer-item-value"],[1,"doc-viewer-item-type"],[1,"doc-viewer-section","doc-viewer-subtypes"],[1,"doc-viewer-item-field","doc-viewer-item-value","no-link-link",3,"click"],["track-id","gotofield_docs",1,"no-link-link",3,"click"],[4,"ngIf"],[1,"doc-viewer-item-type","doc-viewer-item-query-type","no-link-link",3,"click"],["class","doc-viewer-item-query-deprecated",4,"ngIf"],["track-id","add_query",1,"doc-viewer-item-query-add-btn",3,"click"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"doc-viewer-item-field","no-link-link",3,"click"],["class","doc-viewer-item-value",4,"ngIf"],[1,"doc-viewer-item-type","no-link-link",3,"click"],[1,"doc-viewer-item-value"],[1,"doc-viewer-item-query-deprecated"],["markdown","",3,"data"],[1,"doc-viewer-section","doc-viewer-implementations"],[1,"doc-viewer-section","doc-viewer-implements"]],template:function(e,t){if(1&e&&(i.Ub(0),i.Gc(1,"\n "),i.Wb(2,"div",0),i.Gc(3,"\n "),i.Gc(4,"\n "),i.Wb(5,"div",1),i.Gc(6,"\n "),i.Wb(7,"div",2),i.Gc(8),i.Ec(9,l,3,3,"span",3),i.Gc(10,"\n "),i.Ec(11,u,3,3,"span",3),i.Gc(12,"\n "),i.Vb(),i.Gc(13,"\n "),i.Ec(14,h,2,1,"div",4),i.Gc(15,"\n "),i.Vb(),i.Gc(16,"\n "),i.Vb(),i.Gc(17,"\n\n "),i.Ec(18,f,8,5,"div",5),i.Gc(19,"\n \n "),i.Ec(20,b,8,5,"div",6),i.Gc(21,"\n \n "),i.Ec(22,T,9,7,"div",5),i.hc(23,"values"),i.Gc(24,"\n \n "),i.Ec(25,k,8,5,"div",7),i.Gc(26,"\n \n "),i.Ec(27,D,8,5,"div",8),i.Gc(28,"\n"),i.Tb(),i.Gc(29,"\n")),2&e){let e=null,n=null,r=null;i.Eb(8),i.Ic("\n ",t.data.name,"\n "),i.Eb(1),i.mc("ngIf",t.data&&t.data.getTypes),i.Eb(2),i.mc("ngIf",t.isGraphQLInterface(t.data)),i.Eb(3),i.mc("ngIf",t.data.description),i.Eb(4),i.mc("ngIf",(null==t.data?null:t.data.getValues)&&t.data.getValues()&&(null==(e=t.data.getValues())?null:e.length)),i.Eb(2),i.mc("ngIf",(null==t.data?null:t.data.getTypes)&&t.data.getTypes()&&(null==(n=t.data.getTypes())?null:n.length)),i.Eb(2),i.mc("ngIf",t.data&&t.data.getFields&&(null==(r=i.ic(23,9,t.data.getFields()))?null:r.length)),i.Eb(3),i.mc("ngIf",t.getTypeImplementations(t.data).length),i.Eb(2),i.mc("ngIf",t.getTypeImplements(t.data).length)}},directives:[o.o,s.a,o.n],pipes:[a.c,c.c],styles:[""],changeDetection:0}),e})()},t3R0:function(e,t,n){"use strict";function i(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,"a",function(){return i})},tAZD:function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["en",[["a","p"],["AM","PM"],n],[["AM","PM"],n,n],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],n,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",n,"{1} 'at' {0}",n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]})},tS1D:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("D0XW");const r=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();var o=n("mlxB"),s=n("zx2A");class a{constructor(e,t,n,i){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=i}call(e,t){return t.subscribe(new c(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class c extends s.b{constructor(e,t,n,i,r){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=i,this.scheduler=r,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(Object(s.c)(t,new s.a(e)))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(c.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var l=n("z6cu");function u(e,t=i.a){return function(e,t,n=i.a){return i=>{let r=Object(o.a)(e),s=r?+e-n.now():Math.abs(e);return i.lift(new a(s,r,t,n))}}(e,Object(l.a)(new r),t)}},tgdo:function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,r,o;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=i;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;0!=r--;){var s=o[r];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},"tk/3":function(e,t,n){"use strict";n.d(t,"a",function(){return k}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return T}),n.d(t,"d",function(){return G}),n.d(t,"e",function(){return E}),n.d(t,"f",function(){return d}),n.d(t,"g",function(){return g}),n.d(t,"h",function(){return C});var i=n("fXoL"),r=n("LRne"),o=n("HDdC"),s=n("bOdf"),a=n("pLZG"),c=n("lJxs"),l=n("ofXK");class u{}class h{}class d{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=n.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const i=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new d;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function f(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class g{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{const i=e.indexOf("="),[r,o]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],s=n.get(r)||[];s.push(o),n.set(r,s)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const i=e[n];Array.isArray(i)?i.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new g({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function m(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function b(e){return"undefined"!=typeof Blob&&e instanceof Blob}function v(e){return"undefined"!=typeof FormData&&e instanceof FormData}class y{constructor(e,t,n,i){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":nt.set(n,e.setHeaders[n]),a)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),c)),new y(t,n,r,{params:c,headers:a,reportProgress:s,responseType:i,withCredentials:o})}}var w=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class _{constructor(e,t=200,n="OK"){this.headers=e.headers||new d,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class O extends _{constructor(e={}){super(e),this.type=w.ResponseHeader}clone(e={}){return new O({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class C extends _{constructor(e={}){super(e),this.type=w.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new C({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class E extends _{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function S(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let T=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof y)i=e;else{let r,o;r=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(o=n.params instanceof g?n.params:new g({fromObject:n.params})),i=new y(e,t,void 0!==n.body?n.body:null,{headers:r,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=Object(r.a)(i).pipe(Object(s.a)(e=>this.handler.handle(e)));if(e instanceof y||"events"===n.observe)return o;const l=o.pipe(Object(a.a)(e=>e instanceof C));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return l.pipe(Object(c.a)(e=>e.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,S(n,t))}post(e,t,n={}){return this.request("POST",e,S(n,t))}put(e,t,n={}){return this.request("PUT",e,S(n,t))}}return e.\u0275fac=function(t){return new(t||e)(i.ac(u))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();class x{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const k=new i.s("HTTP_INTERCEPTORS");let I=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const D=/^\)\]\}',?\n/;class z{}let j=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),A=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let r=null;const o=()=>{if(null!==r)return r;const t=1223===n.status?204:n.status,i=n.statusText||"OK",o=new d(n.getAllResponseHeaders()),s=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return r=new O({headers:o,status:t,statusText:i,url:s}),r},s=()=>{let{headers:i,status:r,statusText:s,url:a}=o(),c=null;204!==r&&(c=void 0===n.response?n.responseText:n.response),0===r&&(r=c?200:0);let l=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(D,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=e,l&&(l=!1,c={error:u,text:c})}}l?(t.next(new C({body:c,headers:i,status:r,statusText:s,url:a||void 0})),t.complete()):t.error(new E({error:c,headers:i,status:r,statusText:s,url:a||void 0}))},a=e=>{const{url:i}=o(),r=new E({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});t.error(r)};let c=!1;const l=i=>{c||(t.next(o()),c=!0);let r={type:w.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),t.next(r)},u=e=>{let n={type:w.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),e.reportProgress&&(n.addEventListener("progress",l),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),t.next({type:w.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",s),n.removeEventListener("timeout",a),e.reportProgress&&(n.removeEventListener("progress",l),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(i.ac(z))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const R=new i.s("XSRF_COOKIE_NAME"),N=new i.s("XSRF_HEADER_NAME");class L{}let M=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.G)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(i.ac(l.d),i.ac(i.D),i.ac(R))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),F=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.ac(L),i.ac(N))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),P=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(k,[]);this.chain=e.reduceRight((e,t)=>new x(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.ac(h),i.ac(i.t))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),V=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:F,useClass:I}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:R,useValue:t.cookieName}:[],t.headerName?{provide:N,useValue:t.headerName}:[]]}}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[F,{provide:k,useExisting:F,multi:!0},{provide:L,useClass:M},{provide:R,useValue:"XSRF-TOKEN"},{provide:N,useValue:"X-XSRF-TOKEN"}]}),e})(),G=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[T,{provide:u,useClass:P},A,{provide:h,useExisting:A},j,{provide:z,useExisting:j}],imports:[[V.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},tyNb:function(e,t,n){"use strict";n.d(t,"a",function(){return P}),n.d(t,"b",function(){return on}),n.d(t,"c",function(){return sn}),n.d(t,"d",function(){return an});var i=n("ofXK"),r=n("fXoL"),o=n("Cfvw"),s=n("LRne"),a=n("2Vo4"),c=n("itXk"),l=n("HDdC"),u=n("sVev"),h=n("GyhO"),d=n("NXyV"),p=n("EY2u"),f=n("EQ5u"),g=n("XNiG"),m=n("lJxs"),b=n("eIep"),v=n("IzEk"),y=n("JX91"),w=n("Kqap"),_=n("pLZG"),O=n("JIr8"),C=n("bOdf"),E=n("7o/Q"),S=n("4I5i");function T(e){return function(t){return 0===e?Object(p.b)():t.lift(new x(e))}}class x{constructor(e){if(this.total=e,this.total<0)throw new S.a}call(e,t){return t.subscribe(new k(e,this.total))}}class k extends E.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,i=this.count++;t.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;re.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.lengthi[t]===e)}return e===t}function oe(e){return e.length>0?e[e.length-1]:null}function se(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ae(e){return Object(r.ub)(e)?e:Object(r.vb)(e)?Object(o.a)(Promise.resolve(e)):Object(s.a)(e)}function ce(e,t,n){return n?function(e,t){return ie(e,t)}(e.queryParams,t.queryParams)&&le(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>re(e[n],t[n]))}(e.queryParams,t.queryParams)&&ue(e.root,t.root)}function le(e,t){if(!ge(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!le(e.children[n],t.children[n]))return!1}return!0}function ue(e,t){return he(e,t,t.segments)}function he(e,t,n){if(e.segments.length>n.length)return!!ge(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!ge(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!ue(e.children[n],t.children[n]))return!1}return!0}{const i=n.slice(0,e.segments.length),r=n.slice(e.segments.length);return!!ge(e.segments,i)&&!!e.children.primary&&he(e.children.primary,t,r)}}class de{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ee(this.queryParams)),this._queryParamMap}toString(){return ve.serialize(this)}}class pe{constructor(e,t){this.segments=e,this.children=t,this.parent=null,se(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ye(this)}}class fe{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ee(this.parameters)),this._parameterMap}toString(){return Te(this)}}function ge(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class me{}class be{parse(e){const t=new ze(e);return new de(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`/${we(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Oe(t)}=${Oe(e)}`).join("&"):`${Oe(t)}=${Oe(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const ve=new be;function ye(e){return e.segments.map(e=>Te(e)).join("/")}function we(e,t){if(!e.hasChildren())return ye(e);if(t){const t=e.children.primary?we(e.children.primary,!1):"",n=[];return se(e.children,(e,t)=>{"primary"!==t&&n.push(`${t}:${we(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return se(e.children,(e,i)=>{"primary"===i&&(n=n.concat(t(e,i)))}),se(e.children,(e,i)=>{"primary"!==i&&(n=n.concat(t(e,i)))}),n}(e,(t,n)=>"primary"===n?[we(e.children.primary,!1)]:[`${n}:${we(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${ye(e)}/${t[0]}`:`${ye(e)}/(${t.join("//")})`}}function _e(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Oe(e){return _e(e).replace(/%3B/gi,";")}function Ce(e){return _e(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ee(e){return decodeURIComponent(e)}function Se(e){return Ee(e.replace(/\+/g,"%20"))}function Te(e){return`${Ce(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Ce(e)}=${Ce(t[e])}`).join("")}`;var t}const xe=/^[^\/()?;=#]+/;function ke(e){const t=e.match(xe);return t?t[0]:""}const Ie=/^[^=?&#]+/,De=/^[^?&#]+/;class ze{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new pe([],{}):new pe([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new pe(e,t)),n}parseSegment(){const e=ke(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new fe(Ee(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=ke(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=ke(this.remaining);e&&(n=e,this.capture(n))}e[Ee(t)]=Ee(n)}parseQueryParam(e){const t=function(e){const t=e.match(Ie);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(De);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=Se(t),r=Se(n);if(e.hasOwnProperty(i)){let t=e[i];Array.isArray(t)||(t=[t],e[i]=t),t.push(r)}else e[i]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=ke(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");const o=this.parseChildren();t[r]=1===Object.keys(o).length?o.primary:new pe([],o),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class je{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Ae(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Ae(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Re(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Re(e,this._root).map(e=>e.value)}}function Ae(e,t){if(e===t.value)return t;for(const n of t.children){const t=Ae(e,n);if(t)return t}return null}function Re(e,t){if(e===t.value)return[t];for(const n of t.children){const i=Re(e,n);if(i.length)return i.unshift(t),i}return[]}class Ne{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Le(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Me extends je{constructor(e,t){super(e),this.snapshot=t,We(this,e)}toString(){return this.snapshot.toString()}}function Fe(e,t){const n=function(e,t){const n=new Ge([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Be("",new Ne(n,[]))}(e,t),i=new a.a([new fe("",{})]),r=new a.a({}),o=new a.a({}),s=new a.a({}),c=new a.a(""),l=new Pe(i,r,s,c,o,"primary",t,n.root);return l.snapshot=n.root,new Me(new Ne(l,[]),n)}class Pe{constructor(e,t,n,i,r,o,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this._futureSnapshot=a}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(Object(m.a)(e=>ee(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)(e=>ee(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ve(e,t="emptyOnly"){const n=e.pathFromRoot;let i=0;if("always"!==t)for(i=n.length-1;i>=1;){const e=n[i],t=n[i-1];if(e.routeConfig&&""===e.routeConfig.path)i--;else{if(t.component)break;i--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Ge{constructor(e,t,n,i,r,o,s,a,c,l,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ee(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ee(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Be extends je{constructor(e,t){super(t),this.url=e,We(this,t)}toString(){return $e(this._root)}}function We(e,t){t.value._routerState=e,t.children.forEach(t=>We(e,t))}function $e(e){const t=e.children.length>0?` { ${e.children.map($e).join(", ")} } `:"";return`${e.value}${t}`}function Ue(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ie(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ie(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;nie(e.parameters,i[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||He(e.parent,t.parent))}function qe(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=t.value;const r=function(e,t,n){return t.children.map(t=>{for(const i of n.children)if(e.shouldReuseRoute(t.value,i.value.snapshot))return qe(e,t,i);return qe(e,t)})}(e,t,n);return new Ne(i,r)}{const n=e.retrieve(t.value);if(n){const e=n.route;return Qe(t,e),e}{const n=new Pe(new a.a((i=t.value).url),new a.a(i.params),new a.a(i.queryParams),new a.a(i.fragment),new a.a(i.data),i.outlet,i.component,i),r=t.children.map(t=>qe(e,t));return new Ne(n,r)}}var i}function Qe(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n{o[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new de(n.root===e?t:Je(n.root,e,t),o,r)}function Je(e,t,n){const i={};return se(e.children,(e,r)=>{i[r]=e===t?n:Je(e,t,n)}),new pe(e.segments,i)}class Ze{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Ke(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(Xe);if(i&&i!==oe(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class et{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function tt(e,t,n){if(e||(e=new pe([],{})),0===e.segments.length&&e.hasChildren())return nt(e,t,n);const i=function(e,t,n){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;const t=e.segments[r],s=n[i];if(Xe(s))break;const a=`${s}`,c=i0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!st(a,c,t))return o;i+=2}else{if(!st(a,{},t))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=tt(e.children[i],t,n))}),se(e.children,(e,t)=>{void 0===i[t]&&(r[t]=e)}),new pe(e.segments,r)}}function it(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=it(new pe([],{}),0,e))}),t}function ot(e){const t={};return se(e,(e,n)=>t[n]=`${e}`),t}function st(e,t,n){return e==n.path&&ie(t,n.parameters)}class at{constructor(e,t,n,i){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Ue(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const i=Le(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),se(i,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:i})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,r=Le(e);for(const o of Object.keys(r))this.deactivateRouteAndItsChildren(r[o],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(e,t,n){const i=Le(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new J(e.value.snapshot))}),e.children.length&&this.forwardEvent(new X(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(Ue(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(i.component){const t=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const e=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),ct(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=i,t.resolver=r,t.outlet&&t.outlet.activateWith(i,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function ct(e){Ue(e.value),e.children.forEach(ct)}class lt{constructor(e,t){this.routes=e,this.module=t}}function ut(e){return"function"==typeof e}function ht(e){return e instanceof de}const dt=Symbol("INITIAL_VALUE");function pt(){return Object(b.a)(e=>Object(c.a)(e.map(e=>e.pipe(Object(v.a)(1),Object(y.a)(dt)))).pipe(Object(w.a)((e,t)=>{let n=!1;return t.reduce((e,i,r)=>{if(e!==dt)return e;if(i===dt&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||ht(i))return i}return e},e)},dt),Object(_.a)(e=>e!==dt),Object(m.a)(e=>ht(e)?e:!0===e),Object(v.a)(1)))}let ft=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&r.Rb(0,"router-outlet")},directives:function(){return[ln]},encapsulation:2}),e})();function gt(e,t=""){for(let n=0;nyt(e)===t);return n.push(...e.filter(e=>yt(e)!==t)),n}const _t={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Ot(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},_t):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(t.matcher||ne)(n,e,t);if(!r)return Object.assign({},_t);const o={};se(r.posParams,(e,t)=>{o[t]=e.path});const s=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Ct(e,t,n,i,r="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>Et(e,t,n)&&"primary"!==yt(n))}(e,n,i)){const r=new pe(t,function(e,t,n,i){const r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&"primary"!==yt(o)){const n=new pe([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[yt(o)]=n}return r}(e,t,i,new pe(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Et(e,t,n))}(e,n,i)){const o=new pe(e.segments,function(e,t,n,i,r,o){const s={};for(const a of i)if(Et(e,n,a)&&!r[yt(a)]){const n=new pe([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[yt(a)]=n}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new pe(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Et(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function St(e,t,n,i){return!!(yt(e)===i||"primary"!==i&&Et(t,n,e))&&("**"===e.path||Ot(t,e,n).matched)}function Tt(e,t,n){return 0===t.length&&!e.children[n]}class xt{constructor(e){this.segmentGroup=e||null}}class kt{constructor(e){this.urlTree=e}}function It(e){return new l.a(t=>t.error(new xt(e)))}function Dt(e){return new l.a(t=>t.error(new kt(e)))}function zt(e){return new l.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class jt{constructor(e,t,n,i,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(r.z)}apply(){const e=Ct(this.urlTree.root,[],[],this.config).segmentGroup,t=new pe(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,"primary").pipe(Object(m.a)(e=>this.createUrlTree(At(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(O.a)(e=>{if(e instanceof kt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof xt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(m.a)(t=>this.createUrlTree(At(t),e.queryParams,e.fragment))).pipe(Object(O.a)(e=>{if(e instanceof xt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const i=e.segments.length>0?new pe([],{primary:e}):e;return new de(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(m.a)(e=>new pe([],e))):this.expandSegment(e,n,t,n.segments,i,!0)}expandChildren(e,t,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return Object(o.a)(i).pipe(Object(C.a)(i=>{const r=n.children[i],o=wt(t,i);return this.expandSegmentGroup(e,o,r,i).pipe(Object(m.a)(e=>({segment:e,outlet:i})))}),Object(w.a)((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return i=>i.pipe(e?Object(_.a)((t,n)=>e(t,n,i)):z.a,T(1),n?Object(D.a)(t):Object(I.a)(()=>new u.a))}())}expandSegment(e,t,n,i,r,a){return Object(o.a)(n).pipe(Object(C.a)(o=>this.expandSegmentAgainstRoute(e,t,n,o,i,r,a).pipe(Object(O.a)(e=>{if(e instanceof xt)return Object(s.a)(null);throw e}))),Object(j.a)(e=>!!e),Object(O.a)((e,n)=>{if(e instanceof u.a||"EmptyError"===e.name){if(Tt(t,i,r))return Object(s.a)(new pe([],{}));throw new xt(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,i,r,o,s){return St(i,t,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):It(t):It(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Dt(r):this.lineralizeSegments(n,r).pipe(Object(A.a)(n=>{const r=new pe(n,{});return this.expandSegment(e,r,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o){const{matched:s,consumedSegments:a,lastChild:c,positionalParamSegments:l}=Ot(t,i,r);if(!s)return It(t);const u=this.applyRedirectCommands(a,i.redirectTo,l);return i.redirectTo.startsWith("/")?Dt(u):this.lineralizeSegments(i,u).pipe(Object(A.a)(i=>this.expandSegment(e,t,n,i.concat(r.slice(c)),o,!1)))}matchSegmentAgainstRoute(e,t,n,i,r){if("**"===n.path)return n.loadChildren?(n._loadedConfig?Object(s.a)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(Object(m.a)(e=>(n._loadedConfig=e,new pe(i,{})))):Object(s.a)(new pe(i,{}));const{matched:o,consumedSegments:a,lastChild:c}=Ot(t,n,i);if(!o)return It(t);const l=i.slice(c);return this.getChildConfig(e,n,i).pipe(Object(A.a)(e=>{const i=e.module,o=e.routes,{segmentGroup:c,slicedSegments:u}=Ct(t,a,l,o),h=new pe(c.segments,c.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,o,h).pipe(Object(m.a)(e=>new pe(a,e)));if(0===o.length&&0===u.length)return Object(s.a)(new pe(a,{}));const d=yt(n)===r;return this.expandSegment(i,h,o,u,d?"primary":r,!0).pipe(Object(m.a)(e=>new pe(a.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(s.a)(new lt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(s.a)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(A.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(m.a)(e=>(t._loadedConfig=e,e))):function(e){return new l.a(t=>t.error(te(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(s.a)(new lt([],e))}runCanLoadGuards(e,t,n){const i=t.canLoad;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>{const r=e.get(i);let o;if(function(e){return e&&ut(e.canLoad)}(r))o=r.canLoad(t,n);else{if(!ut(r))throw new Error("Invalid CanLoad guard");o=r(t,n)}return ae(o)});return Object(s.a)(r).pipe(pt(),Object(R.a)(e=>{if(!ht(e))return;const t=te(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),Object(m.a)(e=>!0===e))}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(s.a)(n);if(i.numberOfChildren>1||!i.children.primary)return zt(e.redirectTo);i=i.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,i){const r=this.createSegmentGroup(e,t.root,n,i);return new de(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return se(e,(e,i)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}createSegmentGroup(e,t,n,i){const r=this.createSegments(e,t.segments,n,i);let o={};return se(t.children,(t,r)=>{o[r]=this.createSegmentGroup(e,t,n,i)}),new pe(r,o)}createSegments(e,t,n,i){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,i):this.findOrReturn(t,n))}findPosParam(e,t,n){const i=n[t.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return i}findOrReturn(e,t){let n=0;for(const i of t){if(i.path===e.path)return t.splice(n),i;n++}return e}}function At(e){const t={};for(const n of Object.keys(e.children)){const i=At(e.children[n]);(i.segments.length>0||i.hasChildren())&&(t[n]=i)}return function(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new pe(e.segments.concat(t.segments),t.children)}return e}(new pe(e.segments,t))}class Rt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Nt{constructor(e,t){this.component=e,this.route=t}}function Lt(e,t,n){const i=e._root;return Ft(i,t?t._root:null,n,[i.value])}function Mt(e,t,n){const i=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function Ft(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Le(t);return e.children.forEach(e=>{!function(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!ge(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ge(e.url,t.url)||!ie(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!He(e,t)||!ie(e.queryParams,t.queryParams);case"paramsChange":default:return!He(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Rt(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Ft(e,t,o.component?a?a.children:null:n,i,r),c&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Nt(a.outlet.component,s))}else s&&Pt(t,a,r),r.canActivateChecks.push(new Rt(i)),Ft(e,null,o.component?a?a.children:null:n,i,r)}(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]}),se(o,(e,t)=>Pt(e,n.getContext(t),r)),r}function Pt(e,t,n){const i=Le(e),r=e.value;se(i,(e,i)=>{Pt(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Nt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}class Vt{}function Gt(e){return new l.a(t=>t.error(e))}class Bt{constructor(e,t,n,i,r,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}recognize(){const e=Ct(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;const n=new Ge([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Ne(n,t),r=new Be(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(e){const t=e.value,n=Ve(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const r of Object.keys(t.children)){const i=t.children[r],o=wt(e,r),s=this.processSegmentGroup(o,i,r);if(null===s)return null;n.push(...s)}const i=function(e){const t=[];for(const n of e){if(!Wt(n)){t.push(n);continue}const e=t.find(e=>n.value.routeConfig===e.value.routeConfig);void 0!==e?e.children.push(...n.children):t.push(n)}return t}(n);return i.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,n,i){for(const r of e){const e=this.processSegmentAgainstRoute(r,t,n,i);if(null!==e)return e}return Tt(t,n,i)?[]:null}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo||!St(e,t,n,i))return null;let r,o=[],s=[];if("**"===e.path){const i=n.length>0?oe(n).parameters:{};r=new Ge(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ht(e),yt(e),e.component,e,$t(t),Ut(t)+n.length,qt(e))}else{const i=Ot(t,e,n);if(!i.matched)return null;o=i.consumedSegments,s=n.slice(i.lastChild),r=new Ge(o,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ht(e),yt(e),e.component,e,$t(t),Ut(t)+o.length,qt(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:c,slicedSegments:l}=Ct(t,o,s,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const e=this.processChildren(a,c);return null===e?null:[new Ne(r,e)]}if(0===a.length&&0===l.length)return[new Ne(r,[])];const u=yt(e)===i,h=this.processSegment(a,c,l,u?"primary":i);return null===h?null:[new Ne(r,h)]}}function Wt(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function $t(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Ut(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Ht(e){return e.data||{}}function qt(e){return e.resolve||{}}function Qt(e){return Object(b.a)(t=>{const n=e(t);return n?Object(o.a)(n).pipe(Object(m.a)(()=>t)):Object(s.a)(t)})}class Kt extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const Xt=new r.s("ROUTES");class Yt{constructor(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe(Object(m.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const i=n.create(e);return new lt((o=i.injector.get(Xt,void 0,r.r.Self|r.r.Optional),Array.prototype.concat.apply([],o)).map(vt),i);var o}),Object(O.a)(e=>{throw t._loader$=void 0,e}));return t._loader$=new f.a(n,()=>new g.a).pipe(Object(N.a)()),t._loader$}loadModuleFactory(e){return"string"==typeof e?Object(o.a)(this.loader.load(e)):ae(e()).pipe(Object(A.a)(e=>e instanceof r.x?Object(s.a)(e):Object(o.a)(this.compiler.compileModuleAsync(e))))}}class Jt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Zt,this.attachRef=null}}class Zt{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Jt,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class en{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function tn(e){throw e}function nn(e,t,n){return t.parse("/")}function rn(e,t){return Object(s.a)(null)}let on=(()=>{class e{constructor(e,t,n,i,o,s,c,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new g.a,this.errorHandler=tn,this.malformedUriErrorHandler=nn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:rn,afterPreactivation:rn},this.urlHandlingStrategy=new en,this.routeReuseStrategy=new Kt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=o.get(r.z),this.console=o.get(r.bb);const u=o.get(r.B);this.isNgZoneEnabled=u instanceof r.B&&r.B.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new de(new pe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Yt(s,c,e=>this.triggerEvent(new q(e)),e=>this.triggerEvent(new Q(e))),this.routerState=Fe(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Object(_.a)(e=>0!==e.id),Object(m.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(b.a)(e=>{let n=!1,i=!1;return Object(s.a)(e).pipe(Object(R.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(b.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(s.a)(e).pipe(Object(b.a)(e=>{const n=this.transitions.getValue();return t.next(new F(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?p.a:Promise.resolve(e)}),(i=this.ngModule.injector,r=this.configLoader,o=this.urlSerializer,a=this.config,Object(b.a)(e=>function(e,t,n,i,r){return new jt(e,t,n,i,r).apply()}(i,r,o,e.extractedUrl,a).pipe(Object(m.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),Object(R.a)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,r){return Object(A.a)(o=>function(e,t,n,i,r="emptyOnly",o="legacy"){try{const a=new Bt(e,t,n,i,r,o).recognize();return null===a?Gt(new Vt):Object(s.a)(a)}catch(a){return Gt(a)}}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),i,r).pipe(Object(m.a)(e=>Object.assign(Object.assign({},o),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(R.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new B(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,r,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:o,extras:a}=e,c=new F(n,this.serializeUrl(i),r,o);t.next(c);const l=Fe(i,this.rootComponentType).snapshot;return Object(s.a)(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),p.a}),Qt(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),Object(R.a)(e=>{const t=new W(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(m.a)(e=>Object.assign(Object.assign({},e),{guards:Lt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return Object(A.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:c}}=n;return 0===c.length&&0===a.length?Object(s.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return Object(o.a)(e).pipe(Object(A.a)(e=>function(e,t,n,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(s.a)(!0);const a=o.map(o=>{const s=Mt(o,t,r);let a;if(function(e){return e&&ut(e.canDeactivate)}(s))a=ae(s.canDeactivate(e,t,n,i));else{if(!ut(s))throw new Error("Invalid CanDeactivate guard");a=ae(s(e,t,n,i))}return a.pipe(Object(j.a)())});return Object(s.a)(a).pipe(pt())}(e.component,e.route,n,t,i)),Object(j.a)(e=>!0!==e,!0))}(c,i,r,e).pipe(Object(A.a)(n=>n&&"boolean"==typeof n?function(e,t,n,i){return Object(o.a)(t).pipe(Object(C.a)(t=>Object(h.a)(function(e,t){return null!==e&&t&&t(new K(e)),Object(s.a)(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new Y(e)),Object(s.a)(!0)}(t.route,i),function(e,t,n){const i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Object(d.a)(()=>{const r=t.guards.map(r=>{const o=Mt(r,t.node,n);let s;if(function(e){return e&&ut(e.canActivateChild)}(o))s=ae(o.canActivateChild(i,e));else{if(!ut(o))throw new Error("Invalid CanActivateChild guard");s=ae(o(i,e))}return s.pipe(Object(j.a)())});return Object(s.a)(r).pipe(pt())}));return Object(s.a)(r).pipe(pt())}(e,t.path,n),function(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>Object(d.a)(()=>{const r=Mt(i,t,n);let o;if(function(e){return e&&ut(e.canActivate)}(r))o=ae(r.canActivate(t,e));else{if(!ut(r))throw new Error("Invalid CanActivate guard");o=ae(r(t,e))}return o.pipe(Object(j.a)())}));return Object(s.a)(r).pipe(pt())}(e,t.route,n))),Object(j.a)(e=>!0!==e,!0))}(i,a,e,t):Object(s.a)(n)),Object(m.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),Object(R.a)(e=>{if(ht(e.guardsResult)){const t=te(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new $(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(_.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new V(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Qt(e=>{if(e.guards.canActivateChecks.length)return Object(s.a)(e).pipe(Object(R.a)(e=>{const t=new U(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(b.a)(e=>{let n=!1;return Object(s.a)(e).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,Object(A.a)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return Object(s.a)(e);let a=0;return Object(o.a)(n).pipe(Object(C.a)(e=>function(e,t,n,i){return function(e,t,n,i){const r=Object.keys(e);if(0===r.length)return Object(s.a)({});const a={};return Object(o.a)(r).pipe(Object(A.a)(r=>function(e,t,n,i){const r=Mt(e,t,i);return ae(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe(Object(R.a)(e=>{a[r]=e}))),T(1),Object(A.a)(()=>Object.keys(a).length===r.length?Object(s.a)(a):p.a))}(e._resolve,e,t,i).pipe(Object(m.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Ve(e,n).resolve),null)))}(e.route,t,i,r)),Object(R.a)(()=>a++),T(1),Object(A.a)(t=>a===n.length?Object(s.a)(e):p.a))})),Object(R.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new V(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var i,r}),Object(R.a)(e=>{const t=new H(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),Qt(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),Object(m.a)(e=>{const t=function(e,t,n){const i=qe(e,t._root,n?n._root:void 0);return new Me(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Object(R.a)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(r=this.rootContexts,a=this.routeReuseStrategy,c=e=>this.triggerEvent(e),Object(m.a)(e=>(new at(a,e.targetRouterState,e.currentRouterState,c).activate(r),e))),Object(R.a)({next(){n=!0},complete(){n=!0}}),Object(L.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new V(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),Object(O.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=ht(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new V(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const i=new G(e.id,this.serializeUrl(e.extractedUrl),n);t.next(i);try{e.resolve(this.errorHandler(n))}catch(o){e.reject(o)}}var r;return p.a}));var r,a,c}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:i}=t,r={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(r.state=e)}this.scheduleNavigation(i,e,n,r)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){gt(e),this.config=e.map(vt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:o,preserveFragment:s}=t,a=n||this.routerState.root,c=s?this.currentUrlTree.fragment:r;let l=null;switch(o){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}return null!==l&&(l=this.removeEmptyProps(l)),function(e,t,n,i,r){if(0===n.length)return Ye(t.root,t.root,t,i,r);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Ze(!0,0,e);let t=0,n=!1;const i=e.reduce((e,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const t={};return se(i.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(i.segmentPath)return[...e,i.segmentPath]}return"string"!=typeof i?[...e,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[...e,i]},[]);return new Ze(n,t,i)}(n);if(o.toRoot())return Ye(t.root,new pe([],{}),t,i,r);const s=function(e,t,n){if(e.isAbsolute)return new et(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new et(e,e===t.root,0)}const i=Ke(e.commands[0])?0:1;return function(e,t,n){let i=e,r=t,o=n;for(;o>r;){if(o-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new et(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?nt(s.segmentGroup,s.index,o.commands):tt(s.segmentGroup,s.index,o.commands);return Ye(s.segmentGroup,a,t,i,r)}(a,this.currentUrlTree,e,l,c)}navigateByUrl(e,t={skipLocationChange:!1}){const n=ht(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const i=e[n];return null!=i&&(t[n]=i),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new P(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,i,r){if(this.disposed)return Promise.resolve(!1);const o=this.getTransition(),s="imperative"!==t&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===e.toString();if(s&&a)return Promise.resolve(!0);let c,l,u;r?(c=r.resolve,l=r.reject,u=r.promise):u=new Promise((e,t)=>{c=e,l=t});const h=++this.navigationId;return this.setTransition({id:h,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,i){const r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(r.ac(r.Q),r.ac(me),r.ac(Zt),r.ac(i.j),r.ac(r.t),r.ac(r.y),r.ac(r.i),r.ac(void 0))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),sn=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.route=t,this.commands=[],this.onChanges=new g.a,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:cn(this.skipLocationChange),replaceUrl:cn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:cn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(on),r.Qb(Pe),r.bc("tabindex"),r.Qb(r.G),r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r.dc("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.Cb]}),e})(),an=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new g.a,this.subscription=e.events.subscribe(e=>{e instanceof P&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i,r){if(0!==e||t||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:cn(this.skipLocationChange),replaceUrl:cn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:cn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(on),r.Qb(Pe),r.Qb(i.k))},e.\u0275dir=r.Lb({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.dc("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(r.Zb("href",t.href,r.yc),r.Fb("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.Cb]}),e})();function cn(e){return""===e||!!e}let ln=(()=>{class e{constructor(e,t,n,i,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.n,this.deactivateEvents=new r.n,this.name=i||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new un(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Zt),r.Qb(r.S),r.Qb(r.j),r.bc("name"),r.Qb(r.h))},e.\u0275dir=r.Lb({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class un{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Pe?this.route:e===Zt?this.childContexts:this.parent.get(e,t)}}},tzQD:function(e,t,n){"use strict";function i(e){return e.map(function(e){return"number"==typeof e?"["+e.toString()+"]":"."+e}).join("")}n.d(t,"a",function(){return i})},uTOq:function(e,t,n){!function(e){"use strict";var t,n,i=e.Pos;function r(e,t){for(var n=function(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}(e),i=n,r=0;ru);h++){var d=e.getLine(l++);a=null==a?d:a+"\n"+d}c*=2,t.lastIndex=n.ch;var p=t.exec(a);if(p){var f=a.slice(0,p.index).split("\n"),g=p[0].split("\n"),m=n.line+f.length-1,b=f[f.length-1].length;return{from:i(m,b),to:i(m+g.length-1,1==g.length?b+g[0].length:g[g.length-1].length),match:p}}}}function c(e,t,n){for(var i,r=0;r<=e.length;){t.lastIndex=r;var o=t.exec(e);if(!o)break;var s=o.index+o[0].length;if(s>e.length-n)break;(!i||s>i.index+i[0].length)&&(i=o),r=o.index+1}return i}function l(e,t,n){t=r(t,"g");for(var o=n.line,s=n.ch,a=e.firstLine();o>=a;o--,s=-1){var l=e.getLine(o),u=c(l,t,s<0?0:l.length-s);if(u)return{from:i(o,u.index),to:i(o,u.index+u[0].length),match:u}}}function u(e,t,n){if(!o(t))return l(e,t,n);t=r(t,"gm");for(var s,a=1,u=e.getLine(n.line).length-n.ch,h=n.line,d=e.firstLine();h>=d;){for(var p=0;p=d;p++){var f=e.getLine(h--);s=null==s?f:f+"\n"+s}a*=2;var g=c(s,t,u);if(g){var m=s.slice(0,g.index).split("\n"),b=g[0].split("\n"),v=h+m.length,y=m[m.length-1].length;return{from:i(v,y),to:i(v+b.length-1,1==b.length?y+b[0].length:b[b.length-1].length),match:g}}}}function h(e,t,n,i){if(e.length==t.length)return n;for(var r=0,o=n+Math.max(0,e.length-t.length);;){if(r==o)return r;var s=r+o>>1,a=i(e.slice(0,s)).length;if(a==n)return s;a>n?o=s:r=s+1}}function d(e,r,o,s){if(!r.length)return null;var a=s?t:n,c=a(r).split(/\r|\n\r?/);e:for(var l=o.line,u=o.ch,d=e.lastLine()+1-c.length;l<=d;l++,u=0){var p=e.getLine(l).slice(u),f=a(p);if(1==c.length){var g=f.indexOf(c[0]);if(-1==g)continue e;return o=h(p,f,g,a)+u,{from:i(l,h(p,f,g,a)+u),to:i(l,h(p,f,g+c[0].length,a)+u)}}var m=f.length-c[0].length;if(f.slice(m)==c[0]){for(var b=1;b=d;l--,u=-1){var p=e.getLine(l);u>-1&&(p=p.slice(0,u));var f=a(p);if(1==c.length){var g=f.lastIndexOf(c[0]);if(-1==g)continue e;return{from:i(l,h(p,f,g,a)),to:i(l,h(p,f,g+c[0].length,a))}}var m=c[c.length-1];if(f.slice(0,m.length)==m){var b=1;for(o=l-c.length+1;b0);)i.push({anchor:r.from(),head:r.to()});i.length&&this.setSelections(i,0)})}(n("VrN/"))},uWOL:function(e,t,n){var i=n("NtLt");e.exports=function(e){return i(e).replace(/\s/g,"_")}},umFS:function(e,t,n){"use strict";var i=n("fEpb"),r={object:!0,symbol:!0};e.exports=function(){var e,t=i.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(n){return!1}return!!r[typeof t.iterator]&&!!r[typeof t.toPrimitive]&&!!r[typeof t.toStringTag]}},umOc:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("rWdj"),r=n("2C6G"),o=n("/jXB"),s=n("axIb");function a(e,t){var n;return t.kind===o.a.LIST_TYPE?(n=a(e,t.type))&&Object(s.d)(n):t.kind===o.a.NON_NULL_TYPE?(n=a(e,t.type))&&Object(s.e)(n):t.kind===o.a.NAMED_TYPE?e.getType(t.name.value):void Object(r.a)(!1,"Unexpected type node: "+Object(i.a)(t))}},uuZh:function(e,t,n){"use strict";e.exports=n("opf0")()?Math.sign:n("73r6")},v96Q:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("dWS+");function r(e){var t=Object.create(null);return{OperationDefinition:function(n){var r=n.name;return r&&(t[r.value]?e.reportError(new i.a(function(e){return'There can be only one operation named "'.concat(e,'".')}(r.value),[t[r.value],r])):t[r.value]=r),!1},FragmentDefinition:function(){return!1}}}},vJkw:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("RKIb");function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}},vbtb:function(e,t){e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1},getDefaults:function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},changeDefaults:function(t){e.exports.defaults=t}}},vkgz:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("7o/Q");function r(){}var o=n("n6bG");function s(e,t,n){return function(i){return i.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))}}class c extends i.a{constructor(e,t,n,i){super(e),this._tapNext=r,this._tapError=r,this._tapComplete=r,this._tapError=n||r,this._tapComplete=i||r,Object(o.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||r,this._tapError=t.error||r,this._tapComplete=t.complete||r)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},vxfF:function(e,t,n){"use strict";n.d(t,"a",function(){return R}),n.d(t,"b",function(){return B}),n.d(t,"c",function(){return G}),n.d(t,"d",function(){return P}),n.d(t,"e",function(){return N}),n.d(t,"f",function(){return W}),n.d(t,"g",function(){return M});var i=n("8LU1"),r=n("fXoL"),o=n("XNiG"),s=n("LRne"),a=n("HDdC"),c=n("xgIS"),l=n("eNwd"),u=n("7Hc7"),h=n("quSY"),d=n("7+OI"),p=n("/uUt"),f=n("3UWI"),g=n("pLZG"),m=n("1G5W"),b=n("JX91"),v=n("7o/Q");class y{call(e,t){return t.subscribe(new w(e))}}class w extends v.a{constructor(e){super(e),this.hasPrev=!1}_next(e){let t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}var _=n("eIep"),O=n("UXun"),C=n("nLfN"),E=n("ofXK"),S=n("cH1L");class T extends class{}{constructor(e){super(),this._data=e}connect(){return Object(d.a)(this._data)?this._data:Object(s.a)(this._data)}disconnect(){}}class x{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,t,n,i,r){e.forEachOperation((e,o,s)=>{let a,c;null==e.previousIndex?(a=this._insertView(()=>n(e,o,s),s,t,i(e)),c=a?1:0):null==s?(this._detachAndCacheView(o,t),c=3):(a=this._moveView(o,s,t,i(e)),c=2),r&&r({context:null==a?void 0:a.context,operation:c,record:e})})}detach(){for(const e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,n,i){const r=this._insertViewFromCache(t,n);if(r)return void(r.context.$implicit=i);const o=e();return n.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(e,t){const n=t.detach(e);this._maybeCacheView(n,t)}_moveView(e,t,n,i){const r=n.get(e);return n.move(r,t),r.context.$implicit=i,r}_maybeCacheView(e,t){if(this._viewCache.length0?r/this._itemSize:0;if(t.end>i){const e=Math.ceil(n/this._itemSize),s=Math.max(0,Math.min(o,i-e));o!=s&&(o=s,r=s*this._itemSize,t.start=Math.floor(o)),t.end=Math.max(0,Math.min(i,t.start+e))}const s=r-t.start*this._itemSize;if(s0&&(t.end=Math.min(i,t.end+n),t.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(o))}}function A(e){return e._scrollStrategy}let R=(()=>{class e{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new j(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=Object(i.f)(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=Object(i.f)(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=Object(i.f)(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Lb({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[r.Db([{provide:z,useFactory:A,deps:[Object(r.W)(()=>e)]}]),r.Cb]}),e})(),N=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new o.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new a.a(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(Object(f.a)(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(s.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(g.a)(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,e)&&t.push(i)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=Object(i.e)(t),r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const e=this._getWindow();return Object(c.a)(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(r.B),r.ac(C.a),r.ac(E.d,8))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(r.B),Object(r.ac)(C.a),Object(r.ac)(E.d,8))},token:e,providedIn:"root"}),e})(),L=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=i,this._destroyed=new o.a,this._elementScrolled=new a.a(e=>this.ngZone.runOutsideAngular(()=>Object(c.a)(this.elementRef.nativeElement,"scroll").pipe(Object(m.a)(this._destroyed)).subscribe(e)))}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 t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=Object(C.d)()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Object(C.d)()?e.left=e.right:1==Object(C.d)()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;Object(C.f)()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==Object(C.d)()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==Object(C.d)()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(N),r.Qb(r.B),r.Qb(S.b,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e})(),M=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new o.a,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}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:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Object(f.a)(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}}}return e.\u0275fac=function(t){return new(t||e)(r.ac(C.a),r.ac(r.B),r.ac(E.d,8))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(C.a),Object(r.ac)(r.B),Object(r.ac)(E.d,8))},token:e,providedIn:"root"}),e})();const F="undefined"!=typeof requestAnimationFrame?l.a:u.a;let P=(()=>{class e extends L{constructor(e,t,n,i,r,s,c){super(e,s,n,r),this.elementRef=e,this._changeDetectorRef=t,this._scrollStrategy=i,this._detachedSubject=new o.a,this._renderedRangeSubject=new o.a,this._orientation="vertical",this.scrolledIndexChange=new a.a(e=>this._scrollStrategy.scrolledIndexChange.subscribe(t=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(t))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=h.a.EMPTY,this._viewportChanges=c.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe(Object(b.a)(null),Object(f.a)(0,F)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Object(m.a)(this._detachedSubject)).subscribe(e=>{const t=e.length;t!==this._dataLength&&(this._dataLength=t,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){var t,n;((t=this._renderedRange).start!=(n=e).start||t.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,t="to-start"){const n="horizontal"==this.orientation,i=n?"X":"Y";let r=`translate${i}(${Number((n&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===t&&(r+=` translate${i}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=r&&(this._renderedContentTransform=r,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,t="auto"){const n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)}scrollToIndex(e,t="auto"){this._scrollStrategy.scrollToIndex(e,t)}measureScrollOffset(e){return super.measureScrollOffset(e||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const t of e)t()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.h),r.Qb(r.B),r.Qb(z,8),r.Qb(S.b,8),r.Qb(N),r.Qb(M))},e.\u0275cmp=r.Kb({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){if(1&e&&r.Kc(I,3),2&e){let e;r.sc(e=r.ec())&&(t._contentWrapper=e.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&r.Ib("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[r.Db([{provide:L,useExisting:e}]),r.Bb],ngContentSelectors:D,decls:10,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(r.lc(),r.Gc(0,"\n"),r.Wb(1,"div",0,1),r.Gc(3,"\n "),r.kc(4),r.Gc(5,"\n"),r.Vb(),r.Gc(6,"\n"),r.Gc(7,"\n"),r.Rb(8,"div",2),r.Gc(9,"\n")),2&e&&(r.Eb(8),r.Bc("width",t._totalContentWidth)("height",t._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),e})();function V(e,t,n){if(!n.getBoundingClientRect)return 0;const i=n.getBoundingClientRect();return"horizontal"===e?"start"===t?i.left:i.right:"start"===t?i.top:i.bottom}let G=(()=>{class e{constructor(e,t,n,i,r,s){this._viewContainerRef=e,this._template=t,this._differs=n,this._viewRepeater=i,this._viewport=r,this.viewChange=new o.a,this._dataSourceChanges=new o.a,this.dataStream=this._dataSourceChanges.pipe(Object(b.a)(null),e=>e.lift(new y),Object(_.a)(([e,t])=>this._changeDataSource(e,t)),Object(O.a)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new o.a,this.dataStream.subscribe(e=>{this._data=e,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Object(m.a)(this._destroyed)).subscribe(e=>{this._renderedRange=e,s.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,function(e){return e&&"function"==typeof e.connect}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new T(Object(d.a)(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(t,n)=>e(t+(this._renderedRange?this._renderedRange.start:0),n):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=Object(i.f)(e)}measureRangeSize(e,t){if(e.start>=e.end)return 0;const n=e.start-this._renderedRange.start,i=e.end-e.start;let r,o;for(let s=0;s-1;s--){const e=this._viewContainerRef.get(s+n);if(e&&e.rootNodes.length){o=e.rootNodes[e.rootNodes.length-1];break}}return r&&o?V(t,"end",o)-V(t,"start",r):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,t)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,t):t)),this._needsUpdate=!0)}_changeDataSource(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):Object(s.a)()}_updateContext(){const e=this._data.length;let t=this._viewContainerRef.length;for(;t--;){const n=this._viewContainerRef.get(t);n.context.index=this._renderedRange.start+t,n.context.count=e,this._updateComputedContextProperties(n.context),n.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(e,t,n)=>this._getEmbeddedViewArgs(e,n),e=>e.item),e.forEachIdentityChange(e=>{this._viewContainerRef.get(e.currentIndex).context.$implicit=e.item});const t=this._data.length;let n=this._viewContainerRef.length;for(;n--;){const e=this._viewContainerRef.get(n);e.context.index=this._renderedRange.start+n,e.context.count=t,this._updateComputedContextProperties(e.context)}}_updateComputedContextProperties(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}_getEmbeddedViewArgs(e,t){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:t}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.S),r.Qb(r.O),r.Qb(r.u),r.Qb(k),r.Qb(P,4),r.Qb(r.B))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[r.Db([{provide:k,useClass:x}])]}),e})(),B=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})(),W=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[S.a,C.b,B],S.a,B]}),e})()},w1tV:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("EQ5u"),r=n("x+ZX"),o=n("XNiG");function s(){return new o.a}function a(){return e=>{return Object(r.a)()((t=s,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,i.b);return r.source=e,r.subjectFactory=n,r})(e));var t}}},w6bI:function(e,t,n){"use strict";var i,r=n("lWBa"),o=n("YsTz"),s=n("GpRL"),a=Array.prototype.slice;i=function(e){return this.map(function(t,n){return t?t(e[n]):e[n]}).concat(a.call(e,this.length))},e.exports=function(e){return(e=r(e)).forEach(function(e){o(e)&&s(e)}),i.bind(e)}},w7D7:function(e,t,n){"use strict";t.a=!!(window&&window.process&&window.process.versions.electron||window.ipc)},wp29:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n("fXoL"),r=n("ofXK"),o=n("lR5k"),s=n("ssiq"),a=n("sYmb");function c(e,t){1&e&&(i.Ub(0),i.Gc(1),i.hc(2,"translate"),i.Tb()),2&e&&(i.Eb(1),i.Hc(i.ic(2,1,"DOCS_ADD_QUERY_TEXT")))}function l(e,t){1&e&&(i.Ub(0),i.Gc(1),i.hc(2,"translate"),i.Tb()),2&e&&(i.Eb(1),i.Hc(i.ic(2,1,"DOCS_ADD_FRAGMENT_TEXT")))}function u(e,t){if(1&e&&(i.Wb(0,"span",14),i.Gc(1),i.Vb()),2&e){const e=i.gc().$implicit;i.Eb(1),i.Ic("= ",e.defaultValue,"")}}function h(e,t){if(1&e){const e=i.Xb();i.Wb(0,"div",10),i.Gc(1,"\n "),i.Wb(2,"div",4),i.Gc(3,"\n "),i.Wb(4,"span",11),i.dc("click",function(){i.wc(e);const n=t.$implicit;return i.gc(3).goToType(n.type.inspect())}),i.Gc(5),i.Ec(6,u,2,1,"span",12),i.Gc(7,"\n "),i.Vb(),i.Gc(8,"\n "),i.Wb(9,"span",13),i.dc("click",function(){i.wc(e);const n=t.$implicit;return i.gc(3).goToType(n.type.inspect())}),i.Gc(10),i.Vb(),i.Gc(11,"\n "),i.Vb(),i.Gc(12,"\n "),i.Wb(13,"div",5),i.Gc(14,"\n "),i.Vb(),i.Gc(15,"\n "),i.Vb()}if(2&e){const e=t.$implicit;i.Eb(5),i.Ic("\n ",e.name,"\n "),i.Eb(1),i.mc("ngIf",e.defaultValue&&e.defaultValue.toString),i.Eb(4),i.Ic("\n ",e.type.inspect(),"\n "),i.Eb(3),i.mc("data",e.description||"")}}function d(e,t){if(1&e&&(i.Wb(0,"div",8),i.Gc(1,"\n "),i.Wb(2,"div",1),i.Gc(3),i.hc(4,"translate"),i.Vb(),i.Gc(5,"\n "),i.Ec(6,h,16,4,"div",9),i.Gc(7,"\n "),i.Vb()),2&e){const e=i.gc(2);i.Eb(3),i.Hc(i.ic(4,3,"DOCS_ARGUMENTS_TEXT")),i.Eb(3),i.mc("ngForOf",e.data.args)("ngForTrackBy",e.argTrackBy)}}function p(e,t){if(1&e){const e=i.Xb();i.Ub(0),i.Gc(1,"\n "),i.Wb(2,"div",2),i.Gc(3,"\n "),i.Gc(4,"\n "),i.Wb(5,"div",3),i.Gc(6,"\n "),i.Wb(7,"div",4),i.Gc(8),i.Vb(),i.Gc(9,"\n "),i.Wb(10,"div",5),i.Gc(11,"\n "),i.Vb(),i.Gc(12,"\n "),i.Wb(13,"div",4),i.Gc(14,"\n "),i.Wb(15,"button",6),i.dc("click",function(){i.wc(e);const t=i.gc();return t.addToEditor({name:t.data.name,parentType:t.parentType})}),i.Gc(16,"\n "),i.Ec(17,c,3,3,"ng-container",0),i.Gc(18,"\n "),i.Ec(19,l,3,3,"ng-container",0),i.Gc(20,"\n "),i.Vb(),i.Gc(21,"\n "),i.Vb(),i.Gc(22,"\n "),i.Vb(),i.Gc(23,"\n "),i.Vb(),i.Gc(24,"\n "),i.Gc(25,"\n "),i.Ec(26,d,8,5,"div",7),i.Gc(27,"\n"),i.Tb()}if(2&e){const e=i.gc();i.Eb(8),i.Ic("\n ",e.data.name,"\n "),i.Eb(2),i.mc("data",e.data.description||""),i.Eb(7),i.mc("ngIf",e.isRootType(e.parentType)),i.Eb(2),i.mc("ngIf",!e.isRootType(e.parentType)),i.Eb(7),i.mc("ngIf",e.data.args&&e.data.args.length)}}function f(e,t){if(1&e){const e=i.Xb();i.Ub(0),i.Gc(1,"\n "),i.Wb(2,"app-doc-viewer-type",15),i.dc("goToFieldChange",function(t){return i.wc(e),i.gc().goToField(t.name,t.parentType)})("goToTypeChange",function(t){return i.wc(e),i.gc().goToType(t.name)})("addToEditorChange",function(t){return i.wc(e),i.gc().addToEditor(t)}),i.Vb(),i.Gc(3,"\n"),i.Tb()}if(2&e){const e=i.gc();i.Eb(2),i.mc("data",e.gqlSchema.getType(e.cleanName(e.data.type.inspect())))("gqlSchema",e.gqlSchema)}}let g=(()=>{class e{constructor(){this.data={},this.parentType="",this.goToFieldChange=new i.n,this.goToTypeChange=new i.n,this.addToEditorChange=new i.n}ngOnInit(){}cleanName(e){return e.replace(/[\[\]!]/g,"")}isRootType(e){if(!e||!this.gqlSchema)return!1;switch(e){case this.gqlSchema.getQueryType()&&this.gqlSchema.getQueryType().name:case this.gqlSchema.getMutationType()&&this.gqlSchema.getMutationType().name:case this.gqlSchema.getSubscriptionType()&&this.gqlSchema.getSubscriptionType().name:return!0}return!1}goToField(e,t){this.goToFieldChange.next({name:e,parentType:t})}goToType(e){this.goToTypeChange.next({name:e})}addToEditor(e){this.addToEditorChange.next(e)}argTrackBy(e,t){return t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["app-doc-viewer-field"]],inputs:{data:"data",gqlSchema:"gqlSchema",parentType:"parentType"},outputs:{goToFieldChange:"goToFieldChange",goToTypeChange:"goToTypeChange",addToEditorChange:"addToEditorChange"},decls:9,vars:5,consts:[[4,"ngIf"],[1,"doc-viewer-section-title"],[1,"doc-viewer-section"],[1,"doc-viewer-item","doc-viewer-item-field"],[1,"doc-viewer-item-query-inner"],["markdown","",1,"doc-viewer-item-query-description",3,"data"],["track-id","add_query",1,"doc-viewer-item-query-add-btn",3,"click"],["class","doc-viewer-section doc-viewer-arguments",4,"ngIf"],[1,"doc-viewer-section","doc-viewer-arguments"],["class","doc-viewer-item doc-viewer-item-query",4,"ngFor","ngForOf","ngForTrackBy"],[1,"doc-viewer-item","doc-viewer-item-query"],[1,"no-link-link",3,"click"],["class","doc-viewer-item-value",4,"ngIf"],[1,"doc-viewer-item-type","doc-viewer-item-query-type","no-link-link",3,"click"],[1,"doc-viewer-item-value"],[3,"data","gqlSchema","goToFieldChange","goToTypeChange","addToEditorChange"]],template:function(e,t){1&e&&(i.Ec(0,p,28,5,"ng-container",0),i.Gc(1,"\n\n"),i.Gc(2,"\n"),i.Wb(3,"div",1),i.Gc(4),i.hc(5,"translate"),i.Vb(),i.Gc(6,"\n"),i.Ec(7,f,4,2,"ng-container",0),i.Gc(8,"\n")),2&e&&(i.mc("ngIf",t.data),i.Eb(4),i.Hc(i.ic(5,3,"DOCS_TYPE_TEXT")),i.Eb(3),i.mc("ngIf",t.gqlSchema&&t.data&&t.gqlSchema.getType(t.cleanName(t.data.type.inspect()))))},directives:[r.o,o.a,r.n,s.a],pipes:[a.c],styles:[""],changeDetection:0}),e})()},wpgB:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("dWS+"),r=n("axIb");function o(e,t){return'Enum value "'.concat(e,".").concat(t,'" can only be defined once.')}function s(e,t){return'Enum value "'.concat(e,".").concat(t,'" already exists in the schema. It cannot also be defined in this type extension.')}function a(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),a=Object.create(null);return{EnumTypeDefinition:c,EnumTypeExtension:c};function c(t){var c=t.name.value;if(a[c]||(a[c]=Object.create(null)),t.values)for(var l=a[c],u=0,h=t.values;u1)return void(this.connection=null);const{connection:n}=this,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}},x859:function(e,t,n){"use strict";n.d(t,"a",function(){return v});var i=n("fXoL"),r=n("R0Ic"),o=n("ofXK"),s=n("sYmb");function a(e,t){1&e&&(i.Ub(0),i.Gc(1,"\n "),i.Wb(2,"span",12),i.Gc(3),i.hc(4,"translate"),i.Vb(),i.Gc(5,"\n "),i.Tb()),2&e&&(i.Eb(3),i.Hc(i.ic(4,1,"DOCS_TYPE_TEXT")))}function c(e,t){if(1&e&&(i.Wb(0,"span",15),i.Gc(1),i.Vb()),2&e){const e=i.gc(2).$implicit,t=i.gc();i.Eb(1),i.Hc(t.getProperName(e.type))}}function l(e,t){1&e&&(i.Wb(0,"span",16),i.Gc(1),i.hc(2,"translate"),i.Vb()),2&e&&(i.Eb(1),i.Hc(i.ic(2,1,"DOCS_FIELD_TEXT")))}function u(e,t){if(1&e&&(i.Ub(0),i.Gc(1,"\n "),i.Ec(2,c,2,1,"span",13),i.Gc(3,"\n "),i.Ec(4,l,3,3,"span",14),i.Gc(5,"\n "),i.Tb()),2&e){const e=i.gc().$implicit;i.Eb(2),i.mc("ngIf",e.isQuery),i.Eb(2),i.mc("ngIf",!e.isQuery)}}function h(e,t){if(1&e&&(i.Ub(0),i.Gc(1,"\n "),i.Wb(2,"span",12),i.Gc(3),i.Vb(),i.Gc(4,"\n "),i.Tb()),2&e){const e=i.gc().$implicit,t=i.gc();i.Eb(3),i.Hc(t.getProperName(e.cat))}}function d(e,t){if(1&e){const e=i.Xb();i.Wb(0,"span",17),i.dc("click",function(){i.wc(e);const t=i.gc().$implicit;return i.gc().goToItem(t.type,null,"type")}),i.Gc(1),i.Vb()}if(2&e){const e=i.gc().$implicit;i.Eb(1),i.Ic("",e.type,".")}}function p(e,t){1&e&&(i.Wb(0,"span"),i.Gc(1,","),i.Vb())}const f=function(e){return{"doc-viewer-search-result-highlight":e}};function g(e,t){if(1&e&&(i.Wb(0,"span",9),i.Gc(1,"\n "),i.Wb(2,"span"),i.Gc(3),i.Vb(),i.Ec(4,p,2,0,"span",10),i.Gc(5,"\n "),i.Vb()),2&e){const e=t.$implicit,n=t.last,r=i.gc(2).$implicit;i.mc("ngClass",i.pc(3,f,"argument"===r.highlight)),i.Eb(3),i.Hc(e.name),i.Eb(1),i.mc("ngIf",!n)}}function m(e,t){if(1&e&&(i.Ub(0),i.Gc(1,"\n (\n "),i.Ec(2,g,6,5,"span",18),i.Gc(3,"\n )\n "),i.Tb()),2&e){const e=i.gc().$implicit,t=i.gc();i.Eb(2),i.mc("ngForOf",e.args)("ngForTrackBy",t.resultArgTrackBy)}}function b(e,t){if(1&e){const e=i.Xb();i.Wb(0,"div",3),i.dc("click",function(){i.wc(e);const n=t.$implicit;return i.gc().goToItem(n.name,n.type,n.cat)}),i.Gc(1,"\n "),i.Ub(2,4),i.Gc(3,"\n "),i.Ec(4,a,6,3,"ng-container",5),i.Gc(5,"\n "),i.Ec(6,u,6,2,"ng-container",5),i.Gc(7,"\n "),i.Ec(8,h,5,1,"ng-container",6),i.Gc(9,"\n "),i.Tb(),i.Gc(10,"\n "),i.Wb(11,"div",7),i.Gc(12,"\n "),i.Ec(13,d,2,1,"span",8),i.Wb(14,"span",9),i.Gc(15),i.Vb(),i.Gc(16,"\n "),i.Ec(17,m,4,2,"ng-container",10),i.Gc(18,"\n "),i.Vb(),i.Gc(19,"\n "),i.Wb(20,"div",11),i.Gc(21),i.Vb(),i.Gc(22,"\n "),i.Vb()}if(2&e){const e=t.$implicit;i.mc("@showResultItem",void 0),i.Eb(2),i.mc("ngSwitch",e.cat),i.Eb(2),i.mc("ngSwitchCase","type"),i.Eb(2),i.mc("ngSwitchCase","field"),i.Eb(7),i.mc("ngIf",!e.isQuery&&e.type),i.Eb(1),i.mc("ngClass",i.pc(9,f,"argument"!==e.highlight)),i.Eb(1),i.Hc(e.name),i.Eb(2),i.mc("ngIf",e.args&&e.args.length),i.Eb(4),i.Hc(e.description)}}let v=(()=>{class e{constructor(){this.results=[],this.goToFieldChange=new i.n,this.goToTypeChange=new i.n}ngOnInit(){}goToItem(e,t,n){switch(n){case"field":this.goToField(e,t);break;case"type":this.goToType(e)}}goToField(e,t){this.goToFieldChange.next({name:e,parentType:t})}goToType(e){this.goToTypeChange.next({name:e})}getProperName(e){return/mutation/i.test(e)?"Mutation":/query/i.test(e)?"Query":/subscription/i.test(e)?"Subscription":e}resultTrackBy(e,t){return`${t.name}.${t.type}.${t.cat}`}resultArgTrackBy(e,t){return t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["app-doc-viewer-search-results"]],inputs:{results:"results"},outputs:{goToFieldChange:"goToFieldChange",goToTypeChange:"goToTypeChange"},decls:9,vars:5,consts:[[1,"doc-viewer-search-results"],[1,"doc-viewer-search-results-title"],["class","doc-viewer-search-result-item",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"doc-viewer-search-result-item",3,"click"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"doc-viewer-search-result-item-inner"],["class","doc-viewer-search-result-parent-type",3,"click",4,"ngIf"],[3,"ngClass"],[4,"ngIf"],[1,"doc-viewer-search-result-description"],[1,"doc-viewer-search-result-cat","cat-type"],["class","doc-viewer-search-result-cat cat-query",4,"ngIf"],["class","doc-viewer-search-result-cat cat-field",4,"ngIf"],[1,"doc-viewer-search-result-cat","cat-query"],[1,"doc-viewer-search-result-cat","cat-field"],[1,"doc-viewer-search-result-parent-type",3,"click"],[3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Gc(1,"\n "),i.Wb(2,"div",1),i.Gc(3),i.hc(4,"translate"),i.Vb(),i.Gc(5,"\n\n "),i.Ec(6,b,23,11,"div",2),i.Gc(7,"\n\n"),i.Vb(),i.Gc(8,"\n")),2&e&&(i.Eb(3),i.Ic("\n ",i.ic(4,3,"DOCS_SEARCH_RESULTS_TEXT"),"\n "),i.Eb(3),i.mc("ngForOf",t.results)("ngForTrackBy",t.resultTrackBy))},directives:[o.n,o.q,o.r,o.s,o.o,o.l],pipes:[s.c],styles:[""],data:{animation:[Object(r.l)("showResultItem",[Object(r.k)(":enter",[Object(r.j)({opacity:0,transform:"translateY(50%)"}),Object(r.e)(200,Object(r.j)({opacity:1,transform:"translateY(0)"}))]),Object(r.k)(":leave",[Object(r.j)({height:"*"}),Object(r.e)(200,Object(r.j)({transform:"translateY(150%)",opacity:0,height:0}))])])]}}),e})()},xbPD:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e=null){return t=>t.lift(new o(e))}class o{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new s(e,this.defaultValue))}}class s extends i.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xeyX:function(e,t,n){"use strict";e.exports=function(e){var t,n,i=e.length;if(!i)return"\x02";for(t=String(e[n=0]);--i;)t+="\x01"+e[++n];return t}},xfTp:function(e,t,n){"use strict";var i=n("uuZh"),r=Math.abs,o=Math.floor;e.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?i(e)*o(r(e)):e}},xgIS:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("HDdC"),r=n("DH7j"),o=n("n6bG"),s=n("lJxs");function a(e,t,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?a(e,t,n).pipe(Object(s.a)(e=>Object(r.a)(e)?l(...e):l(e))):new i.a(i=>{c(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function c(e,t,n,i,r){let o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const i=e;e.addEventListener(t,n,r),o=()=>i.removeEventListener(t,n,r)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const i=e;e.on(t,n),o=()=>i.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const i=e;e.addListener(t,n),o=()=>i.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,s=e.length;o=l){if(d&&s&&d.test(s.className))return;o=r(a.indicatorOpen)}}(o||s)&&e.setGutterMarker(n,a.gutter,o)})}function s(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function a(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation(function(){o(e,t.from,t.to)}),n.from=t.from,n.to=t.to)}function c(e,n,r){var o=e.state.foldGutter;if(o){var s=o.options;if(r==s.gutter){var a=i(e,n);a?a.clear():e.foldCode(t(n,0),s)}}}function l(e){var t=e.state.foldGutter;if(t){var n=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){a(e)},n.foldOnChangeTimeSpan||600)}}function u(e){var t=e.state.foldGutter;if(t){var n=t.options;clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){var n=e.getViewport();t.from==t.to||n.from-t.to>20||t.from-n.to>20?a(e):e.operation(function(){n.fromt.to&&(o(e,t.to,n.to),t.to=n.to)})},n.updateViewportTimeSpan||400)}}function h(e,t){var n=e.state.foldGutter;if(n){var i=t.line;i>=n.from&&in&&(r=n);var o=function(e){return e.charCodeAt(0).toString(16).toUpperCase()},s=function(e,t,n){return e.substr(t,n).replace(/\\/g,"\\\\").replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+o(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+o(e)}).replace(/[\u0100-\u0FFF]/g,function(e){return"\\u0"+o(e)}).replace(/[\u1000-\uFFFF]/g,function(e){return"\\u"+o(e)})};return{prologTrunc:i>0,prologText:s(e,i,t-i),tokenText:s(e,t,1),epilogText:s(e,t+1,r-(t+1)),epilogTrunc:r3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;c(this,e),this.type=t,this.value=n,this.text=i,this.pos=r,this.line=o,this.column=s}return u(e,[{key:"toString",value:function(){return"")}},{key:"isA",value:function(e,t){return e===this.type&&(2!==arguments.length||t===this.value)}}]),e}(),p=function(e){function t(e,n,i,o,s){var l;return c(this,t),(l=r(this,a(t).call(this,e))).name="ParsingError",l.message=e,l.pos=n,l.line=i,l.column=o,l.input=s,l}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,o(Error)),u(t,[{key:"toString",value:function(){for(var e=h(this.input,this.pos),t="line ".concat(this.line," (column ").concat(this.column,"): "),n="",i=0;i0?((t=this._tokenizr).state.apply(t,arguments),this):(e=this._tokenizr).state.apply(e,arguments)}},{key:"tag",value:function(){var e;return(e=this._tokenizr).tag.apply(e,arguments),this}},{key:"tagged",value:function(){var e;return(e=this._tokenizr).tagged.apply(e,arguments)}},{key:"untag",value:function(){var e;return(e=this._tokenizr).untag.apply(e,arguments),this}},{key:"repeat",value:function(){return this._tokenizr._log(" REPEAT"),this._repeat=!0,this}},{key:"reject",value:function(){return this._tokenizr._log(" REJECT"),this._reject=!0,this}},{key:"ignore",value:function(){return this._tokenizr._log(" IGNORE"),this._ignore=!0,this}},{key:"accept",value:function(e,t){return arguments.length<2&&(t=this._match[0]),this._tokenizr._log(" ACCEPT: type: ".concat(e,", value: ")+"".concat(JSON.stringify(t)," (").concat(i(t),'), text: "').concat(this._match[0],'"')),this._tokenizr._pending.push(new d(e,t,this._match[0],this._tokenizr._pos,this._tokenizr._line,this._tokenizr._column)),this}},{key:"stop",value:function(){return this._tokenizr._stopped=!0,this}}]),e}(),g=function(){function e(){c(this,e),this._before=null,this._after=null,this._finish=null,this._rules=[],this._debug=!1,this.reset()}return u(e,[{key:"reset",value:function(){return this._input="",this._len=0,this._eof=!1,this._pos=0,this._line=1,this._column=1,this._state=["default"],this._tag={},this._transaction=[],this._pending=[],this._stopped=!1,this._ctx=new f(this),this}},{key:"error",value:function(e){return new p(e,this._pos,this._line,this._column,this._input)}},{key:"debug",value:function(e){return this._debug=e,this}},{key:"_log",value:function(e){this._debug&&console.log("tokenizr: ".concat(e))}},{key:"input",value:function(e){if("string"!=typeof e)throw new Error('parameter "input" not a String');return this.reset(),this._input=e,this._len=e.length,this}},{key:"push",value:function(e){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof e)throw new Error('parameter "state" not a String');return this._log(" STATE (PUSH): "+"old: <".concat(this._state[this._state.length-1],">, ")+"new: <".concat(e,">")),this._state.push(e),this}},{key:"pop",value:function(){if(0!==arguments.length)throw new Error("invalid number of arguments");if(this._state.length<2)throw new Error("no more custom states to pop");return this._log(" STATE (POP): "+"old: <".concat(this._state[this._state.length-1],">, ")+"new: <".concat(this._state[this._state.length-2],">")),this._state.pop()}},{key:"state",value:function(e){if(1===arguments.length){if("string"!=typeof e)throw new Error('parameter "state" not a String');return this._log(" STATE (SET): "+"old: <".concat(this._state[this._state.length-1],">, ")+"new: <".concat(e,">")),this._state[this._state.length-1]=e,this}if(0===arguments.length)return this._state[this._state.length-1];throw new Error("invalid number of arguments")}},{key:"tag",value:function(e){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof e)throw new Error('parameter "tag" not a String');return this._log(" TAG (ADD): ".concat(e)),this._tag[e]=!0,this}},{key:"tagged",value:function(e){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof e)throw new Error('parameter "tag" not a String');return!0===this._tag[e]}},{key:"untag",value:function(e){if(1!==arguments.length)throw new Error("invalid number of arguments");if("string"!=typeof e)throw new Error('parameter "tag" not a String');return this._log(" TAG (DEL): ".concat(e)),delete this._tag[e],this}},{key:"before",value:function(e){return this._before=e,this}},{key:"after",value:function(e){return this._after=e,this}},{key:"finish",value:function(e){return this._finish=e,this}},{key:"rule",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unknown";if(2===arguments.length&&"function"==typeof t){var o=[e,t];t=o[0],n=o[1],e="*"}else if(3===arguments.length&&"function"==typeof t){var s=[e,t,n];t=s[0],n=s[1],r=s[2],e="*"}if("string"!=typeof e)throw new Error('parameter "state" not a String');if(!("object"===i(t)&&t instanceof RegExp))throw new Error('parameter "pattern" not a RegExp');if("function"!=typeof n)throw new Error('parameter "action" not a Function');if("string"!=typeof r)throw new Error('parameter "name" not a String');e=e.split(/\s*,\s*/g).map(function(e){var t=e.split(/\s+/g),n=t.filter(function(e){return null===e.match(/^#/)}),i=t.filter(function(e){return null!==e.match(/^#/)}).map(function(e){return e.replace(/^#/,"")});if(1!==n.length)throw new Error("exactly one state required");return{state:n[0],tags:i}});var a="g";try{"boolean"==typeof new RegExp("","y").sticky&&(a="y")}catch(e){}return"boolean"==typeof t.multiline&&t.multiline&&(a+="m"),"boolean"==typeof t.dotAll&&t.dotAll&&(a+="s"),"boolean"==typeof t.ignoreCase&&t.ignoreCase&&(a+="i"),"boolean"==typeof t.unicode&&t.unicode&&(a+="u"),t=new RegExp(t.source,a),this._log("rule: configure rule (state: ".concat(e,", pattern: ").concat(t.source,")")),this._rules.push({state:e,pattern:t,action:n,name:r}),this}},{key:"_progress",value:function(e,t){for(var n=this._line,i=this._column,r=this._input,o=e;o, ")+"to: "))}},{key:"_tokenize",value:function(){var e=this,t=function(){e._eof||(null!==e._finish&&e._finish.call(e._ctx,e._ctx),e._eof=!0,e._pending.push(new d("EOF","","",e._pos,e._line,e._column)))};if(!(this._stopped||this._pos>=this._len)){for(var n=!0;n;){if(n=!1,this._debug){var i=h(this._input,this._pos),r=Object.keys(this._tag).map(function(e){return"#".concat(e)}).join(" ");this._log("INPUT: state: <".concat(this._state[this._state.length-1],">, tags: <").concat(r,">, text: ")+(i.prologTrunc?"...":'"')+"".concat(i.prologText,"<").concat(i.tokenText,">").concat(i.epilogText)+(i.epilogTrunc?"...":'"')+", at: "))}for(var o=0;o0&&(t+=" "+e.tags.map(function(e){return"#".concat(e)}).join(" ")),t}).join(", ");this._log(" RULE: state(s): <".concat(s,">, ")+"pattern: ".concat(this._rules[o].pattern.source))}var a=!1,c=this._rules[o].state.map(function(e){return e.state}),l=c.indexOf("*");if(l<0&&(l=c.indexOf(this._state[this._state.length-1])),l>=0){a=!0;var u=this._rules[o].state[l].tags;(u=u.filter(function(t){return!e._tag[t]})).length>0&&(a=!1)}if(a){this._rules[o].pattern.lastIndex=this._pos;var p=this._rules[o].pattern.exec(this._input);if(this._rules[o].pattern.lastIndex=this._pos,null!==(p=this._rules[o].pattern.exec(this._input))&&p.index===this._pos){if(this._debug&&this._log(" MATCHED: "+JSON.stringify(p)),this._ctx._match=p,this._ctx._repeat=!1,this._ctx._reject=!1,this._ctx._ignore=!1,null!==this._before&&this._before.call(this._ctx,this._ctx,p,this._rules[o]),this._rules[o].action.call(this._ctx,this._ctx,p),null!==this._after&&this._after.call(this._ctx,this._ctx,p,this._rules[o]),this._ctx._reject)continue;if(this._ctx._repeat){n=!0;break}if(this._ctx._ignore){if(this._progress(this._pos,this._rules[o].pattern.lastIndex),this._pos=this._rules[o].pattern.lastIndex,this._pos>=this._len)return void t();n=!0;break}if(this._pending.length>0)return this._progress(this._pos,this._rules[o].pattern.lastIndex),this._pos=this._rules[o].pattern.lastIndex,void(this._pos>=this._len&&t());throw new Error('action of pattern "'+this._rules[o].pattern.source+'" neither rejected nor accepted any token(s)')}}}}throw this.error("token not recognized")}t()}},{key:"token",value:function(){if(0===this._pending.length&&this._tokenize(),this._pending.length>0){var e=this._pending.shift();return this._transaction.length>0&&this._transaction[0].push(e),this._log("TOKEN: ".concat(e.toString())),e}return null}},{key:"tokens",value:function(){for(var e,t=[];null!==(e=this.token());)t.push(e);return t}},{key:"peek",value:function(e){void 0===e&&(e=0);for(var t=0;t=this._pending.length)throw new Error("not enough tokens available for peek operation");return this._log("PEEK: ".concat(this._pending[e].toString())),this._pending[e]}},{key:"skip",value:function(e){void 0===e&&(e=1);for(var t=0;tthis._pending.length)throw new Error("not enough tokens available for skip operation");for(;e-- >0;)this.token();return this}},{key:"consume",value:function(e,t){for(var n=this,r=0;r, ")+"found: "),o.pos,o.line,o.column,n._input)};return 2!==arguments.length||o.isA(e,t)?o.isA(e)||s():s(JSON.stringify(t),i(t)),o}},{key:"begin",value:function(){return this._log("BEGIN: level ".concat(this._transaction.length)),this._transaction.unshift([]),this}},{key:"depth",value:function(){if(0===this._transaction.length)throw new Error("cannot determine depth -- no active transaction");return this._transaction[0].length}},{key:"commit",value:function(){if(0===this._transaction.length)throw new Error("cannot commit transaction -- no active transaction");return this._transaction.shift(),this._log("COMMIT: level ".concat(this._transaction.length)),this}},{key:"rollback",value:function(){if(0===this._transaction.length)throw new Error("cannot rollback transaction -- no active transaction");return this._pending=this._transaction[0].concat(this._pending),this._transaction.shift(),this._log("ROLLBACK: level ".concat(this._transaction.length)),this}},{key:"alternatives",value:function(){for(var e=null,t=[],n=arguments.length,i=new Array(n),r=0;r0)throw(t=t.sort(function(e,t){return e.depth-t.depth}))[0].ex;return e}}]),e}();g.Token=d,g.ParsingError=p,g.ActionContext=f,t.exports=g},{}]},{},[1])(1)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var i,r=(i=e("tokenizr"))&&i.__esModule?i:{default:i};t.exports=function(e){var t=new r.default;t.rule(/#[^\r\n]*(?=\r?\n)/,function(e,t){e.accept("comment")}),t.rule(/"(?:\\"|[^"])*"/,function(e,t){e.accept("string")}),t.rule(/$[a-zA-Z_][a-zA-Z0-9_]*/,function(e,t){e.accept("var")}),t.rule(/[a-zA-Z_][a-zA-Z0-9_]*/,function(e,t){e.accept("id")}),t.rule(/[+-]?[0-9]*\.?[0-9]+(?:[eE][+-]?[0-9]+)?/,function(e,t){e.accept("number")}),t.rule(/[ \t\r\n]+/,function(e,t){e.accept("ws"," ")}),t.rule(/[{}]/,function(e,t){e.accept("brace")}),t.rule(/[[\]]/,function(e,t){e.accept("bracket")}),t.rule(/[()]/,function(e,t){e.accept("parenthesis")}),t.rule(/,/,function(e,t){e.accept("comma")}),t.rule(/!/,function(e,t){e.accept("not")}),t.rule(/\.\.\./,function(e,t){e.accept("ellipsis")}),t.rule(/@/,function(e,t){e.accept("at")}),t.rule(/:/,function(e,t){e.accept("colon")}),t.rule(/./,function(e,t){e.accept("any")}),t.input(e),t.debug(!1);for(var n=t.tokens(),i="",o=/^(?:brace|bracket|parenthesis|comma|colon)$/,s=0;s0&&n[s-1].type.match(o)))&&(n.splice(s,1),s--);return n.forEach(function(e){i+=e.value}),i}},{tokenizr:1}]},{},[2])(2)},"z+Ro":function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return i})},z6cu:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("HDdC");function r(e,t){return new i.a(t?n=>t.schedule(o,0,{error:e,subscriber:n}):t=>t.error(e))}function o({error:e,subscriber:t}){t.error(e)}},zP0r:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e){return t=>t.lift(new o(e))}class o{constructor(e){this.total=e}call(e,t){return t.subscribe(new s(e,this.total))}}class s extends i.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}},zUnb:function(e,t,n){"use strict";n.r(t);var i=n("jhN1"),r=n("fXoL"),o=n("ofXK"),s=n("HaE+"),a=n("/uUt"),c=n("lJxs"),l=n("IzEk"),u=n("eIep"),h=n("tS1D"),d=n("JIr8"),p=n("pLZG"),f=n("SxV6"),g=n("l7P3"),m=n("cp0P"),b=n("Cfvw"),v=n("LRne"),y=n("sYmb"),w=n("xk4V"),_=n.n(w),O=n("e9W3"),C=n("U7fl"),E=n("Q41Y"),S=n("gWfR"),T=n("Gjh+"),x=n("oE/m"),k=n("/D3x"),I=n("mIS6"),D=n("gMQV"),z=n("P9dZ"),j=n("9Oho"),A=n("AytR"),R=n("S1AF"),N=n("nTiS"),L=n("w7D7"),M=n("6EqW"),F=n("VfN6"),P=n("HEXU");let V=(()=>{class e{constructor(){this.onFileDropped=new r.n}onDragOver(e){e.preventDefault(),e.stopPropagation()}onDragLeave(e){e.preventDefault(),e.stopPropagation()}ondrop(e){var t;e.preventDefault(),e.stopPropagation();const n=null===(t=e.dataTransfer)||void 0===t?void 0:t.files;n&&n.length>0&&this.onFileDropped.emit(n)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Lb({type:e,selectors:[["","appFileDrop",""]],hostBindings:function(e,t){1&e&&r.dc("dragover",function(e){return t.onDragOver(e)})("dragleave",function(e){return t.onDragLeave(e)})("drop",function(e){return t.ondrop(e)})},outputs:{onFileDropped:"onFileDropped"}}),e})();var G=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);this.container.insertBefore(t,0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling),this.tags.push(t)}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;tp)&&(P=(B=B.replace(" ",":")).length),0i&&(i=(t=t.trim()).charCodeAt(0)),i){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0c.charCodeAt(8))break;case 115:s=s.replace(c,"-webkit-"+c)+";"+s;break;case 207:case 102:s=s.replace(c,"-webkit-"+(102i.charCodeAt(0)&&(i=i.trim()),i=[i],0=4;++i,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Q={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},K=/[A-Z]|^ms/g,X=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Y=function(e){return 45===e.charCodeAt(1)},J=function(e){return null!=e&&"boolean"!=typeof e},Z=($={},function(e){return void 0===$[e]&&($[e]=Y(t=e)?t:t.replace(K,"-$&").toLowerCase()),$[e];var t}),ee=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(X,function(e,t,n){return ne={name:t,styles:n,next:ne},t})}return 1===Q[e]||Y(e)||"number"!=typeof t||0===t?t:t+"px"};function te(e,t,n,i){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ne={name:n.name,styles:n.styles,next:ne},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)ne={name:r.name,styles:r.styles,next:ne},r=r.next;return n.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r{class e{constructor(e){this.themeRegistry=e,this.className=""}ngOnInit(){this.addHTMLClass(this.appTheme)}ngOnChanges(e){var t;(null===(t=null==e?void 0:e.appTheme)||void 0===t?void 0:t.currentValue)&&this.addHTMLClass(e.appTheme.currentValue)}getCssString(e){return`\n --baseline-size: ${e.type.fontSize.base};\n --rem-base: ${e.type.fontSize.remBase};\n --body-font-size: ${e.type.fontSize.body};\n\n --app-easing: ${e.easing};\n\n --black-color: ${e.colors.black};\n --dark-grey-color: ${e.colors.darkGray};\n --grey-color: ${e.colors.gray};\n --light-grey-color: ${e.colors.lightGray};\n --white-color: ${e.colors.white};\n --green-color: ${e.colors.green};\n --blue-color: ${e.colors.blue};\n --cerise-color: ${e.colors.cerise};\n --red-color: ${e.colors.red};\n --orange-color: ${e.colors.orange};\n --yellow-color: ${e.colors.yellow};\n --light-red-color: ${e.colors.lightRed};\n --dark-purple-color: ${e.colors.darkPurple};\n\n --primary-color: ${e.colors.primary};\n --secondary-color: ${e.colors.secondary};\n\n --shadow-bg: rgba(${Object(he.c)(e.shadow.color)}, ${e.shadow.opacity});\n\n --rgb-black: ${Object(he.c)(e.colors.black)};\n --rgb-dark-grey: ${Object(he.c)(e.colors.darkGray)};\n --rgb-grey: ${Object(he.c)(e.colors.gray)};\n --rgb-light-grey: ${Object(he.c)(e.colors.lightGray)};\n --rgb-white: ${Object(he.c)(e.colors.white)};\n --rgb-green: ${Object(he.c)(e.colors.green)};\n --rgb-blue: ${Object(he.c)(e.colors.blue)};\n --rgb-cerise: ${Object(he.c)(e.colors.cerise)};\n --rgb-red: ${Object(he.c)(e.colors.red)};\n --rgb-orange: ${Object(he.c)(e.colors.orange)};\n --rgb-yellow: ${Object(he.c)(e.colors.yellow)};\n --rgb-light-red: ${Object(he.c)(e.colors.lightRed)};\n --rgb-dark-purple: ${Object(he.c)(e.colors.darkPurple)};\n\n --editor-font-family: ${e.editor.fontFamily.default};\n --editor-font-size: ${e.editor.fontSize};\n\n --theme-bg-color: ${e.colors.bg};\n --theme-off-bg-color: ${e.colors.offBg};\n --theme-font-color: ${e.colors.font};\n --theme-off-font-color: ${e.colors.offFont};\n --theme-border-color: ${e.colors.border};\n --theme-off-border-color: ${e.colors.offBorder};\n --header-bg-color: ${e.colors.headerBg||e.colors.offBg};\n\n --rgb-primary: ${Object(he.c)(e.colors.primary)};\n --rgb-secondary: ${Object(he.c)(e.colors.secondary)};\n\n --rgb-theme-bg: ${Object(he.c)(e.colors.bg)};\n --rgb-theme-off-bg: ${Object(he.c)(e.colors.offBg)};\n --rgb-theme-font: ${Object(he.c)(e.colors.font)};\n --rgb-theme-off-font: ${Object(he.c)(e.colors.offFont)};\n --rgb-theme-border: ${Object(he.c)(e.colors.border)};\n --rgb-theme-off-border: ${Object(he.c)(e.colors.offBorder)};\n\n --editor-comment-color: ${e.editor.colors.comment};\n --editor-string-color: ${e.editor.colors.string};\n --editor-number-color: ${e.editor.colors.number};\n --editor-variable-color: ${e.editor.colors.variable};\n --editor-attribute-color: ${e.editor.colors.attribute};\n --editor-keyword-color: ${e.editor.colors.keyword};\n --editor-atom-color: ${e.editor.colors.atom};\n --editor-property-color: ${e.editor.colors.property};\n --editor-punctuation-color: ${e.editor.colors.punctuation};\n --editor-cursor-color: ${e.editor.colors.cursor};\n --editor-def-color: ${e.editor.colors.definition};\n --editor-builtin-color: ${e.editor.colors.builtin};\n `}getDynamicClassName(e){return ue(!e||e.isSystem?`\n ${this.getCssString(Object(he.a)(this.themeRegistry.getTheme("light"),e))}\n @media (prefers-color-scheme: dark) {\n ${this.getCssString(Object(he.a)(this.themeRegistry.getTheme("dark"),e))}\n }\n `:this.getCssString(Object(he.a)(e)))}addHTMLClass(e){this.className&&document.documentElement.classList.remove(this.className),this.className=this.getDynamicClassName(e),document.documentElement.classList.add(this.className)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(R.ThemeRegistryService))},e.\u0275dir=r.Lb({type:e,selectors:[["","appTheme",""]],inputs:{appTheme:"appTheme"},features:[r.Cb]}),e})();var pe=n("cH1L"),fe=n("XNiG"),ge=n("1G5W"),me=n("mrSG"),be=n("nLfN"),ve=n("3UWI"),ye=n("nYR2"),we=n("JX91"),_e=(n("OySI"),n("/KA4"));const Oe=["moz","ms","webkit"],Ce=function(){if("undefined"==typeof window)return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const e=Oe.filter(e=>`${e}RequestAnimationFrame`in window)[0];return e?window[`${e}RequestAnimationFrame`]:function(){let e=0;return function(t){const n=(new Date).getTime(),i=Math.max(0,16-(n-e)),r=setTimeout(()=>{t(n+i)},i);return e=n+i,r}}()}();var Ee=n("8LU1"),Se=n("itXk"),Te=(n("GyhO"),n("HDdC")),xe=n("zP0r"),ke=n("Kj3r");let Ie=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})();const De=new Set;let ze,je=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ae}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!De.has(e))try{ze||(ze=document.createElement("style"),ze.setAttribute("type","text/css"),document.head.appendChild(ze)),ze.sheet&&(ze.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),De.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(be.a))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(be.a))},token:e,providedIn:"root"}),e})();function Ae(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}const Re=()=>{};let Ne=(()=>{class e{constructor(e,t){this.ngZone=e,this.rendererFactory2=t,this.resizeSource$=new fe.a,this.listeners=0,this.disposeHandle=Re,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}subscribe(){return this.registerListener(),this.resizeSource$.pipe(Object(ve.a)(16),Object(ye.a)(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=Re)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(r.B),r.ac(r.H))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(r.B),Object(r.ac)(r.H))},token:e,providedIn:"root"}),e})();new Map;var Le=function(e){return e.xxl="xxl",e.xl="xl",e.lg="lg",e.md="md",e.sm="sm",e.xs="xs",e}({});const Me={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},Fe={xs:"(max-width: 479.98px)",sm:"(max-width: 575.98px)",md:"(max-width: 767.98px)",lg:"(max-width: 991.98px)",xl:"(max-width: 1199.98px)",xxl:"(max-width: 1599.98px)"};let Pe=(()=>{class e{constructor(e,t){this.resizeService=e,this.mediaMatcher=t,this.resizeService.subscribe().subscribe(()=>{})}subscribe(e,t){if(t){const t=()=>this.matchMedia(e,!0);return this.resizeService.subscribe().pipe(Object(c.a)(t),Object(we.a)(t()),Object(a.a)((e,t)=>e[0]===t[0]),Object(c.a)(e=>e[1]))}{const t=()=>this.matchMedia(e);return this.resizeService.subscribe().pipe(Object(c.a)(t),Object(we.a)(t()),Object(a.a)())}}matchMedia(e,t){let n=Le.md;const i={};return Object.keys(e).map(e=>{const t=e,r=this.mediaMatcher.matchMedia(Me[t]).matches;i[e]=r,r&&(n=t)}),t?[n,i]:n}}return e.\u0275fac=function(t){return new(t||e)(r.ac(Ne),r.ac(je))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(Ne),Object(r.ac)(je))},token:e,providedIn:"root"}),e})();var Ve=n("Q8cG"),Ge=n("FwiY");const Be=["*"];function We(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",2),r.dc("click",function(){r.wc(e);const t=r.gc();return t.setCollapsed(!t.nzCollapsed)}),r.Vb()}if(2&e){const e=r.gc();r.mc("matchBreakPoint",e.matchBreakPoint)("nzCollapsedWidth",e.nzCollapsedWidth)("nzCollapsed",e.nzCollapsed)("nzBreakpoint",e.nzBreakpoint)("nzReverseArrow",e.nzReverseArrow)("nzTrigger",e.nzTrigger)("nzZeroTrigger",e.nzZeroTrigger)("siderWidth",e.widthSetting)}}const $e=["nz-sider-trigger",""];function Ue(e,t){}function He(e,t){if(1&e&&(r.Ub(0),r.Ec(1,Ue,0,0,"ng-template",3),r.Tb()),2&e){const e=r.gc(),t=r.tc(5);r.Eb(1),r.mc("ngTemplateOutlet",e.nzZeroTrigger||t)}}function qe(e,t){}function Qe(e,t){if(1&e&&(r.Ub(0),r.Ec(1,qe,0,0,"ng-template",3),r.Tb()),2&e){const e=r.gc(),t=r.tc(3);r.Eb(1),r.mc("ngTemplateOutlet",e.nzTrigger||t)}}function Ke(e,t){if(1&e&&r.Rb(0,"i",5),2&e){const e=r.gc(2);r.mc("nzType",e.nzCollapsed?"right":"left")}}function Xe(e,t){if(1&e&&r.Rb(0,"i",5),2&e){const e=r.gc(2);r.mc("nzType",e.nzCollapsed?"left":"right")}}function Ye(e,t){if(1&e&&(r.Ec(0,Ke,1,1,"i",4),r.Ec(1,Xe,1,1,"i",4)),2&e){const e=r.gc();r.mc("ngIf",!e.nzReverseArrow),r.Eb(1),r.mc("ngIf",e.nzReverseArrow)}}function Je(e,t){1&e&&r.Rb(0,"i",6)}let Ze=(()=>{class e{constructor(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-content")}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-content"]],exportAs:["nzContent"],ngContentSelectors:Be,decls:1,vars:0,template:function(e,t){1&e&&(r.lc(),r.kc(0))},encapsulation:2,changeDetection:0}),e})(),et=(()=>{class e{constructor(e,t){this.elementRef=e,this.renderer=t,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-header")}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-header"]],exportAs:["nzHeader"],ngContentSelectors:Be,decls:1,vars:0,template:function(e,t){1&e&&(r.lc(),r.kc(0))},encapsulation:2,changeDetection:0}),e})(),tt=(()=>{class e{constructor(e,t,n,i){this.platform=e,this.cdr=t,this.breakpointService=n,this.elementRef=i,this.destroy$=new fe.a,this.nzMenuDirective=null,this.nzCollapsedChange=new r.n,this.nzWidth=200,this.nzTheme="dark",this.nzCollapsedWidth=80,this.nzBreakpoint=null,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.nzReverseArrow=!1,this.nzCollapsible=!1,this.nzCollapsed=!1,this.matchBreakPoint=!1,this.flexSetting=null,this.widthSetting=null,this.elementRef.nativeElement.classList.add("ant-layout-sider")}updateStyleMap(){this.widthSetting=this.nzCollapsed?`${this.nzCollapsedWidth}px`:Object(_e.p)(this.nzWidth),this.flexSetting=`0 0 ${this.widthSetting}`,this.cdr.markForCheck()}updateMenuInlineCollapsed(){this.nzMenuDirective&&"inline"===this.nzMenuDirective.nzMode&&0!==this.nzCollapsedWidth&&this.nzMenuDirective.setInlineCollapsed(this.nzCollapsed)}setCollapsed(e){e!==this.nzCollapsed&&(this.nzCollapsed=e,this.nzCollapsedChange.emit(e),this.updateMenuInlineCollapsed(),this.updateStyleMap(),this.cdr.markForCheck())}ngOnInit(){this.updateStyleMap(),this.platform.isBrowser&&this.breakpointService.subscribe(Fe,!0).pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{const t=this.nzBreakpoint;t&&Object(_e.f)().subscribe(()=>{this.matchBreakPoint=!e[t],this.setCollapsed(this.matchBreakPoint),this.cdr.markForCheck()})})}ngOnChanges(e){const{nzCollapsed:t,nzCollapsedWidth:n,nzWidth:i}=e;(t||n||i)&&this.updateStyleMap(),t&&this.updateMenuInlineCollapsed()}ngAfterContentInit(){this.updateMenuInlineCollapsed()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(be.a),r.Qb(r.h),r.Qb(Pe),r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-sider"]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,Ve.c,1),2&e){let e;r.sc(e=r.ec())&&(t.nzMenuDirective=e.first)}},hostVars:16,hostBindings:function(e,t){2&e&&(r.Bc("flex",t.flexSetting)("max-width",t.widthSetting)("min-width",t.widthSetting)("width",t.widthSetting),r.Ib("ant-layout-sider-zero-width",t.nzCollapsed&&0===t.nzCollapsedWidth)("ant-layout-sider-light","light"===t.nzTheme)("ant-layout-sider-dark","dark"===t.nzTheme)("ant-layout-sider-collapsed",t.nzCollapsed))},inputs:{nzWidth:"nzWidth",nzTheme:"nzTheme",nzCollapsedWidth:"nzCollapsedWidth",nzBreakpoint:"nzBreakpoint",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",nzReverseArrow:"nzReverseArrow",nzCollapsible:"nzCollapsible",nzCollapsed:"nzCollapsed"},outputs:{nzCollapsedChange:"nzCollapsedChange"},exportAs:["nzSider"],features:[r.Cb],ngContentSelectors:Be,decls:3,vars:1,consts:[[1,"ant-layout-sider-children"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click",4,"ngIf"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click"]],template:function(e,t){1&e&&(r.lc(),r.Wb(0,"div",0),r.kc(1),r.Vb(),r.Ec(2,We,1,8,"div",1)),2&e&&(r.Eb(2),r.mc("ngIf",t.nzCollapsible&&null!==t.nzTrigger))},directives:function(){return[o.o,it]},encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzReverseArrow",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzCollapsible",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzCollapsed",void 0),e})(),nt=(()=>{class e{constructor(e,t){this.elementRef=e,this.directionality=t,this.dir="ltr",this.destroy$=new fe.a,this.elementRef.nativeElement.classList.add("ant-layout")}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-layout"]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,tt,0),2&e){let e;r.sc(e=r.ec())&&(t.listOfNzSiderComponent=e)}},hostVars:4,hostBindings:function(e,t){2&e&&r.Ib("ant-layout-rtl","rtl"===t.dir)("ant-layout-has-sider",t.listOfNzSiderComponent.length>0)},exportAs:["nzLayout"],ngContentSelectors:Be,decls:1,vars:0,template:function(e,t){1&e&&(r.lc(),r.kc(0))},encapsulation:2,changeDetection:0}),e})(),it=(()=>{class e{constructor(){this.nzCollapsed=!1,this.nzReverseArrow=!1,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.matchBreakPoint=!1,this.nzCollapsedWidth=null,this.siderWidth=null,this.nzBreakpoint=null,this.isZeroTrigger=!1,this.isNormalTrigger=!1}updateTriggerType(){this.isZeroTrigger=0===this.nzCollapsedWidth&&(this.nzBreakpoint&&this.matchBreakPoint||!this.nzBreakpoint),this.isNormalTrigger=0!==this.nzCollapsedWidth}ngOnInit(){this.updateTriggerType()}ngOnChanges(){this.updateTriggerType()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["","nz-sider-trigger",""]],hostVars:10,hostBindings:function(e,t){2&e&&(r.Bc("width",t.isNormalTrigger?t.siderWidth:null),r.Ib("ant-layout-sider-trigger",t.isNormalTrigger)("ant-layout-sider-zero-width-trigger",t.isZeroTrigger)("ant-layout-sider-zero-width-trigger-right",t.isZeroTrigger&&t.nzReverseArrow)("ant-layout-sider-zero-width-trigger-left",t.isZeroTrigger&&!t.nzReverseArrow))},inputs:{nzCollapsed:"nzCollapsed",nzReverseArrow:"nzReverseArrow",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",matchBreakPoint:"matchBreakPoint",nzCollapsedWidth:"nzCollapsedWidth",siderWidth:"siderWidth",nzBreakpoint:"nzBreakpoint"},exportAs:["nzSiderTrigger"],features:[r.Cb],attrs:$e,decls:6,vars:2,consts:[[4,"ngIf"],["defaultTrigger",""],["defaultZeroTrigger",""],[3,"ngTemplateOutlet"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","bars"]],template:function(e,t){1&e&&(r.Ec(0,He,2,1,"ng-container",0),r.Ec(1,Qe,2,1,"ng-container",0),r.Ec(2,Ye,2,2,"ng-template",null,1,r.Fc),r.Ec(4,Je,1,0,"ng-template",null,2,r.Fc)),2&e&&(r.mc("ngIf",t.isZeroTrigger),r.Eb(1),r.mc("ngIf",t.isNormalTrigger))},directives:[o.o,o.t,Ge.a],encapsulation:2,changeDetection:0}),e})(),rt=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,Ge.b,Ie,be.b]]}),e})();var ot=n("rDax"),st=n("quSY"),at=n("+rOU"),ct=n("FtGj"),lt=n("vkgz");let ut=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Mb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),ht=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},providers:[ut]}),e})();class dt{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new fe.a,this._typeaheadSubscription=st.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new fe.a,this.change=new fe.a,e instanceof r.F&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(lt.a)(e=>this._pressedLetters.push(e)),Object(ke.a)(e),Object(p.a)(()=>this._pressedLetters.length>0),Object(c.a)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case ct.l:return void this.tabOut.next();case ct.c:if(this._vertical&&n){this.setNextItemActive();break}return;case ct.m:if(this._vertical&&n){this.setPreviousItemActive();break}return;case ct.j:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case ct.h:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case ct.g:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case ct.d:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(ct.p)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=ct.a&&t<=ct.n||t>=ct.o&&t<=ct.i)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.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(e){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof r.F?this._items.toArray():this._items}}class pt extends dt{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class ft extends dt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let gt=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(t){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===bt(t))return!1;if(!this.isVisible(t))return!1}let i=e.nodeName.toLowerCase(),r=bt(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||mt(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(r.ac(be.a))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(be.a))},token:e,providedIn:"root"}),e})();function mt(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function bt(e){if(!mt(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class vt{constructor(e,t,n,i,r=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),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(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Object(l.a)(1)).subscribe(e)}}let yt=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new vt(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(r.ac(gt),r.ac(r.B),r.ac(o.d))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(gt),Object(r.ac)(r.B),Object(r.ac)(o.d))},token:e,providedIn:"root"}),e})();"undefined"!=typeof Element&∈const wt=new r.s("cdk-focus-monitor-default-options"),_t=Object(be.e)({passive:!0,capture:!0});let Ot=(()=>{class e{constructor(e,t,n,i){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=function(e){return 0===e.buttons}(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{!function(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(e)?(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=Ct(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)):this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard")},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=Ct(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let i=t;i;i=i.parentElement)n.call(this,e,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const n=Object(Ee.e)(e);if(!this._platform.isBrowser||1!==n.nodeType)return Object(v.a)(null);const i=Object(be.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;const o={checkChildren:t,subject:new fe.a,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(e){const t=Object(Ee.e)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const i=Object(Ee.e)(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([e,n])=>this._originChanged(e,t,n)):(this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=Ct(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);n&&(n.checkChildren||t===Ct(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,_t),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,_t)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,_t),e.addEventListener("mousedown",this._documentMousedownListener,_t),e.addEventListener("touchstart",this._documentTouchstartListener,_t),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_t),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_t),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,_t),e.removeEventListener("mousedown",this._documentMousedownListener,_t),e.removeEventListener("touchstart",this._documentTouchstartListener,_t),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((n,i)=>{(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}return e.\u0275fac=function(t){return new(t||e)(r.ac(r.B),r.ac(be.a),r.ac(o.d,8),r.ac(wt,8))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(r.B),Object(r.ac)(be.a),Object(r.ac)(o.d,8),Object(r.ac)(wt,8))},token:e,providedIn:"root"}),e})();function Ct(e){return e.composedPath?e.composedPath()[0]:e.target}let Et=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new r.n}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(Ot))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})(),St=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}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 t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");const t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}return e.\u0275fac=function(t){return new(t||e)(r.ac(be.a),r.ac(o.d))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(be.a),Object(r.ac)(o.d))},token:e,providedIn:"root"}),e})(),Tt=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.ac(St))},imports:[[be.b,ht]]}),e})();const xt=["menu"],kt=["li"];function It(e,t){}const Dt=function(e){return{$implicit:e}};function zt(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",7),r.dc("click",function(t){r.wc(e);const n=r.gc().$implicit;return r.gc().onMenuItemSelect(n,t)})("mouseenter",function(t){r.wc(e);const n=r.gc().$implicit;return r.gc().onOpenSubMenu(n,t)}),r.Gc(1,"\n "),r.Ec(2,It,0,0,"ng-template",8),r.Gc(3,"\n "),r.Vb()}if(2&e){const e=r.gc().$implicit,t=r.gc();r.Ib("dropdown-item",t.useBootstrap4)("active",e.isActive&&t.isMenuItemEnabled(e))("disabled",t.useBootstrap4&&!t.isMenuItemEnabled(e))("hasSubMenu",!!e.subMenu),r.Eb(2),r.mc("ngTemplateOutlet",e.template)("ngTemplateOutletContext",r.pc(10,Dt,t.item))}}function jt(e,t){}function At(e,t){if(1&e){const e=r.Xb();r.Wb(0,"span",9),r.dc("click",function(t){return r.wc(e),r.gc(2).stopEvent(t)})("contextmenu",function(t){return r.wc(e),r.gc(2).stopEvent(t)}),r.Gc(1,"\n "),r.Ec(2,jt,0,0,"ng-template",8),r.Gc(3,"\n "),r.Vb()}if(2&e){const e=r.gc().$implicit,t=r.gc();r.Ib("dropdown-item",t.useBootstrap4)("disabled",t.useBootstrap4&&!t.isMenuItemEnabled(e)),r.Eb(2),r.mc("ngTemplateOutlet",e.template)("ngTemplateOutletContext",r.pc(6,Dt,t.item))}}function Rt(e,t){if(1&e&&(r.Wb(0,"li",null,4),r.Gc(2,"\n "),r.Ec(3,zt,4,12,"a",5),r.Gc(4,"\n\n "),r.Ec(5,At,4,8,"span",6),r.Gc(6,"\n "),r.Vb()),2&e){const e=t.$implicit,n=r.gc();r.Ib("disabled",!n.isMenuItemEnabled(e))("divider",e.divider)("dropdown-divider",n.useBootstrap4&&e.divider)("active",e.isActive&&n.isMenuItemEnabled(e)),r.Fb("role",e.divider?"separator":void 0),r.Eb(3),r.mc("ngIf",!e.divider&&!e.passive),r.Eb(2),r.mc("ngIf",!e.divider&&e.passive)}}let Nt=(()=>{class e{constructor(e,t){this.template=e,this.elementRef=t,this.divider=!1,this.enabled=!0,this.passive=!1,this.visible=!0,this.execute=new r.n,this.isActive=!1}get disabled(){return this.passive||this.divider||!this.evaluateIfFunction(this.enabled,this.currentItem)}evaluateIfFunction(e,t){return e instanceof Function?e(t):e}setActiveStyles(){this.isActive=!0}setInactiveStyles(){this.isActive=!1}triggerExecute(e,t){this.evaluateIfFunction(this.enabled,e)&&this.execute.emit({event:t,item:e})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.O),r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["","contextMenuItem",""]],inputs:{divider:"divider",enabled:"enabled",passive:"passive",visible:"visible",subMenu:"subMenu"},outputs:{execute:"execute"}}),e})();const Lt=new r.s("CONTEXT_MENU_OPTIONS");let Mt=(()=>{class e{constructor(e,t,n){this.changeDetector=e,this.elementRef=t,this.options=n,this.menuItems=[],this.isLeaf=!1,this.execute=new r.n,this.openSubMenu=new r.n,this.closeLeafMenu=new r.n,this.closeAllMenus=new r.n,this.autoFocus=!1,this.useBootstrap4=!1,this.subscription=new st.a,n&&(this.autoFocus=n.autoFocus,this.useBootstrap4=n.useBootstrap4)}ngOnInit(){this.menuItems.forEach(e=>{e.currentItem=this.item,this.subscription.add(e.execute.subscribe(t=>this.execute.emit(Object.assign({},t,{menuItem:e}))))});const e=new r.F;e.reset(this.menuItems),this._keyManager=new pt(e).withWrap()}ngAfterViewInit(){this.autoFocus&&setTimeout(()=>this.focus()),this.overlay.updatePosition()}ngOnDestroy(){this.subscription.unsubscribe()}focus(){this.autoFocus&&this.menuElement.nativeElement.focus()}stopEvent(e){e.stopPropagation()}isMenuItemEnabled(e){return this.evaluateIfFunction(e&&e.enabled)}isMenuItemVisible(e){return this.evaluateIfFunction(e&&e.visible)}evaluateIfFunction(e){return e instanceof Function?e(this.item):e}isDisabled(e){return e.enabled&&!e.enabled(this.item)}onKeyEvent(e){this.isLeaf&&this._keyManager.onKeydown(e)}keyboardOpenSubMenu(e){if(!this.isLeaf)return;this.cancelEvent(e);const t=this.menuItems[this._keyManager.activeItemIndex];t&&this.onOpenSubMenu(t)}keyboardMenuItemSelect(e){if(!this.isLeaf)return;this.cancelEvent(e);const t=this.menuItems[this._keyManager.activeItemIndex];t&&this.onMenuItemSelect(t,e)}onCloseLeafMenu(e){this.isLeaf&&(this.cancelEvent(e),this.closeLeafMenu.emit({exceptRootMenu:37===e.keyCode,event:e}))}closeMenu(e){"click"===e.type&&2===e.button||this.closeAllMenus.emit({event:e})}onOpenSubMenu(e,t){const n=this.menuItemElements.toArray()[this._keyManager.activeItemIndex];this.openSubMenu.emit({anchorElement:n&&n.nativeElement,contextMenu:e.subMenu,event:t,item:this.item,parentContextMenu:this})}onMenuItemSelect(e,t){t.preventDefault(),t.stopPropagation(),this.onOpenSubMenu(e,t),e.subMenu||e.triggerExecute(this.item,t)}cancelEvent(e){if(!e)return;const t=e.target;["INPUT","TEXTAREA","SELECT"].indexOf(t.tagName)>-1||t.isContentEditable||(e.preventDefault(),e.stopPropagation())}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(r.l),r.Qb(Lt,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["context-menu-content"]],viewQuery:function(e,t){if(1&e&&(r.Kc(xt,3),r.Kc(kt,1)),2&e){let e;r.sc(e=r.ec())&&(t.menuElement=e.first),r.sc(e=r.ec())&&(t.menuItemElements=e)}},hostBindings:function(e,t){1&e&&r.dc("keydown.ArrowDown",function(e){return t.onKeyEvent(e)},!1,r.vc)("keydown.ArrowUp",function(e){return t.onKeyEvent(e)},!1,r.vc)("keydown.ArrowRight",function(e){return t.keyboardOpenSubMenu(e)},!1,r.vc)("keydown.Enter",function(e){return t.keyboardMenuItemSelect(e)},!1,r.vc)("keydown.Space",function(e){return t.keyboardMenuItemSelect(e)},!1,r.vc)("keydown.Escape",function(e){return t.onCloseLeafMenu(e)},!1,r.vc)("keydown.ArrowLeft",function(e){return t.onCloseLeafMenu(e)},!1,r.vc)("click",function(e){return t.closeMenu(e)},!1,r.uc)("contextmenu",function(e){return t.closeMenu(e)},!1,r.uc)},inputs:{menuItems:"menuItems",isLeaf:"isLeaf",item:"item",event:"event",parentContextMenu:"parentContextMenu",menuClass:"menuClass",overlay:"overlay"},outputs:{execute:"execute",openSubMenu:"openSubMenu",closeLeafMenu:"closeLeafMenu",closeAllMenus:"closeAllMenus"},decls:10,vars:2,consts:[["tabindex","0",1,"dropdown","open","show","ngx-contextmenu",3,"ngClass"],["tabindex","0",1,"dropdown-menu","show",2,"position","static","float","none"],["menu",""],[3,"disabled","divider","dropdown-divider","active",4,"ngFor","ngForOf"],["li",""],["href","",3,"dropdown-item","active","disabled","hasSubMenu","click","mouseenter",4,"ngIf"],["class","passive",3,"dropdown-item","disabled","click","contextmenu",4,"ngIf"],["href","",3,"click","mouseenter"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"passive",3,"click","contextmenu"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",0),r.Gc(2,"\n "),r.Wb(3,"ul",1,2),r.Gc(5,"\n "),r.Ec(6,Rt,7,11,"li",3),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n "),r.Vb(),r.Gc(9,"\n ")),2&e&&(r.Eb(1),r.mc("ngClass",t.menuClass),r.Eb(5),r.mc("ngForOf",t.menuItems))},directives:[o.l,o.n,o.o,o.t],styles:[".passive[_ngcontent-%COMP%] {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: @line-height-base;\n white-space: nowrap;\n }\n .hasSubMenu[_ngcontent-%COMP%]:before {\n content: '\u25b6';\n float: right;\n }"]}),e})(),Ft=(()=>{class e{constructor(e,t){this.overlay=e,this.scrollStrategy=t,this.isDestroyingLeafMenu=!1,this.show=new fe.a,this.triggerClose=new fe.a,this.close=new fe.a,this.overlays=[],this.fakeElement={getBoundingClientRect:()=>({bottom:0,height:0,left:0,right:0,top:0,width:0})}}openContextMenu(e){const{anchorElement:t,event:n,parentContextMenu:i}=e;if(i){const o=this.overlay.position().connectedTo(new r.l(n?n.target:t),{originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}).withFallbackPosition({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}).withFallbackPosition({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),s=this.overlay.create({positionStrategy:o,panelClass:"ngx-contextmenu",scrollStrategy:this.scrollStrategy.close()});this.destroySubMenus(i),this.overlays=this.overlays.concat(s),this.attachContextMenu(s,e)}else{const i=n;this.fakeElement.getBoundingClientRect=()=>({bottom:i.clientY,height:0,left:i.clientX,right:i.clientX,top:i.clientY,width:0}),this.closeAllContextMenus({eventType:"cancel",event:n});const o=this.overlay.position().connectedTo(new r.l(t||this.fakeElement),{originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}).withFallbackPosition({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}).withFallbackPosition({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}).withFallbackPosition({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"});this.overlays=[this.overlay.create({positionStrategy:o,panelClass:"ngx-contextmenu",scrollStrategy:this.scrollStrategy.close()})],this.attachContextMenu(this.overlays[0],e)}}attachContextMenu(e,t){const{event:n,item:i,menuItems:r,menuClass:o}=t,s=e.attach(new at.c(Mt));s.instance.event=n,s.instance.item=i,s.instance.menuItems=r,s.instance.overlay=e,s.instance.isLeaf=!0,s.instance.menuClass=o,e.contextMenu=s.instance;const a=new st.a;a.add(s.instance.execute.asObservable().subscribe(e=>this.closeAllContextMenus(Object.assign({eventType:"execute"},e)))),a.add(s.instance.closeAllMenus.asObservable().subscribe(e=>this.closeAllContextMenus(Object.assign({eventType:"cancel"},e)))),a.add(s.instance.closeLeafMenu.asObservable().subscribe(e=>this.destroyLeafMenu(e))),a.add(s.instance.openSubMenu.asObservable().subscribe(e=>{this.destroySubMenus(s.instance),e.contextMenu?(s.instance.isLeaf=!1,this.show.next(e)):s.instance.isLeaf=!0})),s.onDestroy(()=>{r.forEach(e=>e.isActive=!1),a.unsubscribe()}),s.changeDetectorRef.detectChanges()}closeAllContextMenus(e){this.overlays&&(this.close.next(e),this.overlays.forEach((e,t)=>{e.detach(),e.dispose()})),this.overlays=[]}getLastAttachedOverlay(){let e=this.overlays[this.overlays.length-1];for(;this.overlays.length>1&&e&&!e.hasAttached();)e.detach(),e.dispose(),this.overlays=this.overlays.slice(0,-1),e=this.overlays[this.overlays.length-1];return e}destroyLeafMenu({exceptRootMenu:e,event:t}={}){this.isDestroyingLeafMenu||(this.isDestroyingLeafMenu=!0,setTimeout(()=>{const n=this.getLastAttachedOverlay();this.overlays.length>1&&n&&(n.detach(),n.dispose()),!e&&this.overlays.length>0&&n&&(this.close.next({eventType:"cancel",event:t}),n.detach(),n.dispose());const i=this.getLastAttachedOverlay();i&&(i.contextMenu.isLeaf=!0),this.isDestroyingLeafMenu=!1}))}destroySubMenus(e){const t=this.overlays.indexOf(e.overlay);this.overlays.slice(t+1).forEach(e=>{e.detach(),e.dispose()})}isLeafMenu(e){const t=this.getLastAttachedOverlay();return e.overlay===t}}return e.\u0275fac=function(t){return new(t||e)(r.ac(ot.e),r.ac(ot.j))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),Pt=(()=>{class e{constructor(e,t,n,i){this._contextMenuService=e,this.changeDetector=t,this.elementRef=n,this.options=i,this.menuClass="",this.autoFocus=!1,this.useBootstrap4=!1,this.disabled=!1,this.close=new r.n,this.open=new r.n,this.visibleMenuItems=[],this.links=[],this.subscription=new st.a,i&&(this.autoFocus=i.autoFocus,this.useBootstrap4=i.useBootstrap4),this.subscription.add(e.show.subscribe(e=>{this.onMenuEvent(e)}))}ngOnDestroy(){this.subscription.unsubscribe()}onMenuEvent(e){if(this.disabled)return;const{contextMenu:t,event:n,item:i}=e;t&&t!==this||(this.event=n,this.item=i,this.setVisibleMenuItems(),this._contextMenuService.openContextMenu(Object.assign({},e,{menuItems:this.visibleMenuItems,menuClass:this.menuClass})),this._contextMenuService.close.asObservable().pipe(Object(f.a)()).subscribe(e=>this.close.emit(e)),this.open.next(e))}isMenuItemVisible(e){return this.evaluateIfFunction(e.visible)}setVisibleMenuItems(){this.visibleMenuItems=this.menuItems.filter(e=>this.isMenuItemVisible(e))}evaluateIfFunction(e){return e instanceof Function?e(this.item):e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Ft),r.Qb(r.h),r.Qb(r.l),r.Qb(Lt,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["context-menu"]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,Nt,0),2&e){let e;r.sc(e=r.ec())&&(t.menuItems=e)}},viewQuery:function(e,t){if(1&e&&r.Kc(xt,1),2&e){let e;r.sc(e=r.ec())&&(t.menuElement=e.first)}},inputs:{menuClass:"menuClass",autoFocus:"autoFocus",useBootstrap4:"useBootstrap4",disabled:"disabled"},outputs:{close:"close",open:"open"},decls:1,vars:0,template:function(e,t){1&e&&r.Gc(0," ")},styles:["\n .cdk-overlay-container {\n position: fixed;\n z-index: 1000;\n pointer-events: none;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n .ngx-contextmenu.cdk-overlay-pane {\n position: absolute;\n pointer-events: auto;\n box-sizing: border-box;\n }\n "],encapsulation:2}),e})(),Vt=(()=>{class e{constructor(e){this.contextMenuService=e}onContextMenu(e){this.contextMenu.disabled||(this.contextMenuService.show.next({contextMenu:this.contextMenu,event:e,item:this.contextMenuSubject}),e.preventDefault(),e.stopPropagation())}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Ft))},e.\u0275dir=r.Lb({type:e,selectors:[["","contextMenu",""]],hostBindings:function(e,t){1&e&&r.dc("contextmenu",function(e){return t.onContextMenu(e)})},inputs:{contextMenuSubject:"contextMenuSubject",contextMenu:"contextMenu"}}),e})(),Gt=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[Ft,{provide:Lt,useValue:t},{provide:ot.g,useClass:ot.d}]}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c,ot.h]]}),e})();function Bt(e){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $t(){return($t=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function qt(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var Qt=qt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Kt=qt(/Edge/i),Xt=qt(/firefox/i),Yt=qt(/safari/i)&&!qt(/chrome/i)&&!qt(/android/i),Jt=qt(/iP(ad|od|hone)/i),Zt=qt(/chrome/i)&&qt(/android/i),en={capture:!1,passive:!1};function tn(e,t,n){e.addEventListener(t,n,!Qt&&en)}function nn(e,t,n){e.removeEventListener(t,n,!Qt&&en)}function rn(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function on(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function sn(e,t,n,i){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&rn(e,t):rn(e,t))||i&&e===n)return e;if(e===n)break}while(e=on(e))}return null}var an,cn=/\s+/g;function ln(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(cn," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(cn," ")}}function un(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=n+("string"==typeof n?"":"px")}}function hn(e,t){var n="";if("string"==typeof e)n=e;else do{var i=un(e,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function dn(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,o=i.length;if(n)for(;r=o:r<=o))return i;if(i===pn())break;i=wn(i,!1)}return!1}function mn(e,t,n){for(var i=0,r=0,o=e.children;r2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=Ht(n,["evt"]);kn.pluginEvent.bind(_i)(e,t,Ut({dragEl:zn,parentEl:jn,ghostEl:An,rootEl:Rn,nextEl:Nn,lastDownEl:Ln,cloneEl:Mn,cloneHidden:Fn,dragStarted:Yn,putSortable:$n,activeSortable:_i.active,originalEvent:i,oldIndex:Pn,oldDraggableIndex:Gn,newIndex:Vn,newDraggableIndex:Bn,hideGhostForTarget:bi,unhideGhostForTarget:vi,cloneNowHidden:function(){Fn=!0},cloneNowShown:function(){Fn=!1},dispatchSortableEvent:function(e){Dn({sortable:t,name:e,originalEvent:i})}},r))};function Dn(e){!function(e){var t=e.sortable,n=e.rootEl,i=e.name,r=e.targetEl,o=e.cloneEl,s=e.toEl,a=e.fromEl,c=e.oldIndex,l=e.newIndex,u=e.oldDraggableIndex,h=e.newDraggableIndex,d=e.originalEvent,p=e.putSortable,f=e.extraEventProperties;if(t=t||n&&n[Sn]){var g,m=t.options,b="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||Qt||Kt?(g=document.createEvent("Event")).initEvent(i,!0,!0):g=new CustomEvent(i,{bubbles:!0,cancelable:!0}),g.to=s||n,g.from=a||n,g.item=r||n,g.clone=o,g.oldIndex=c,g.newIndex=l,g.oldDraggableIndex=u,g.newDraggableIndex=h,g.originalEvent=d,g.pullMode=p?p.lastPutMode:void 0;var v=Ut({},f,kn.getEventProperties(i,t));for(var y in v)g[y]=v[y];n&&n.dispatchEvent(g),m[b]&&m[b].call(t,g)}}(Ut({putSortable:$n,cloneEl:Mn,targetEl:zn,rootEl:Rn,oldIndex:Pn,oldDraggableIndex:Gn,newIndex:Vn,newDraggableIndex:Bn},e))}var zn,jn,An,Rn,Nn,Ln,Mn,Fn,Pn,Vn,Gn,Bn,Wn,$n,Un,Hn,qn,Qn,Kn,Xn,Yn,Jn,Zn,ei,ti,ni=!1,ii=!1,ri=[],oi=!1,si=!1,ai=[],ci=!1,li=[],ui="undefined"!=typeof document,hi=Jt,di=Kt||Qt?"cssFloat":"float",pi=ui&&!Zt&&!Jt&&"draggable"in document.createElement("div"),fi=function(){if(ui){if(Qt)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),gi=function(e,t){var n=un(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=mn(e,0,t),o=mn(e,1,t),s=r&&un(r),a=o&&un(o),c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+fn(r).width,l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+fn(o).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":r&&s.float&&"none"!==s.float?!o||"both"!==a.clear&&a.clear!==("left"===s.float?"left":"right")?"horizontal":"vertical":r&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||c>=i&&"none"===n[di]||o&&"none"===n[di]&&c+l>i)?"vertical":"horizontal"},mi=function(e){function t(e,n){return function(i,r,o,s){if(null==e&&(n||i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(i,r,o,s),n)(i,r,o,s);var a=(n?i:r).options.group.name;return!0===e||"string"==typeof e&&e===a||e.join&&e.indexOf(a)>-1}}var n={},i=e.group;i&&"object"==Bt(i)||(i={name:i}),n.name=i.name,n.checkPull=t(i.pull,!0),n.checkPut=t(i.put),n.revertClone=i.revertClone,e.group=n},bi=function(){!fi&&An&&un(An,"display","none")},vi=function(){!fi&&An&&un(An,"display","")};ui&&document.addEventListener("click",function(e){if(ii)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ii=!1,!1},!0);var yi=function(e){if(zn){var t=(r=(e=e.touches?e.touches[0]:e).clientX,o=e.clientY,ri.some(function(e){if(!bn(e)){var t=fn(e),n=e[Sn].options.emptyInsertThreshold;return n&&r>=t.left-n&&r<=t.right+n&&o>=t.top-n&&o<=t.bottom+n?s=e:void 0}}),s);if(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Sn]._onDragOver(n)}}var r,o,s},wi=function(e){zn&&zn.parentNode[Sn]._isOutsideThisEl(e.target)};function _i(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=$t({},t),e[Sn]=this;var n,i,r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return gi(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==_i.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var o in kn.initializePlugins(this,e,r),r)!(o in t)&&(t[o]=r[o]);for(var s in mi(t),this)"_"===s.charAt(0)&&"function"==typeof this[s]&&(this[s]=this[s].bind(this));this.nativeDraggable=!t.forceFallback&&pi,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?tn(e,"pointerdown",this._onTapStart):(tn(e,"mousedown",this._onTapStart),tn(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(tn(e,"dragover",this),tn(e,"dragenter",this)),ri.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),$t(this,(i=[],{captureAnimationState:function(){i=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(e){if("none"!==un(e,"display")&&e!==_i.ghost){i.push({target:e,rect:fn(e)});var t=Ut({},i[i.length-1].rect);if(e.thisAnimationDuration){var n=hn(e,!0);n&&(t.top-=n.f,t.left-=n.e)}e.fromRect=t}})},addAnimationState:function(e){i.push(e)},removeAnimationState:function(e){i.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n);return-1}(i,{target:e}),1)},animateAll:function(e){var t=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof e&&e());var r=!1,o=0;i.forEach(function(e){var n=0,i=e.target,s=i.fromRect,a=fn(i),c=i.prevFromRect,l=i.prevToRect,u=e.rect,h=hn(i,!0);h&&(a.top-=h.f,a.left-=h.e),i.toRect=a,i.thisAnimationDuration&&_n(c,a)&&!_n(s,a)&&(u.top-a.top)/(u.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(n=function(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}(u,c,l,t.options)),_n(a,s)||(i.prevFromRect=s,i.prevToRect=a,n||(n=t.options.animation),t.animate(i,u,a,n)),n&&(r=!0,o=Math.max(o,n),clearTimeout(i.animationResetTimer),i.animationResetTimer=setTimeout(function(){i.animationTime=0,i.prevFromRect=null,i.fromRect=null,i.prevToRect=null,i.thisAnimationDuration=null},n),i.thisAnimationDuration=n)}),clearTimeout(n),r?n=setTimeout(function(){"function"==typeof e&&e()},o):"function"==typeof e&&e(),i=[]},animate:function(e,t,n,i){if(i){un(e,"transition",""),un(e,"transform","");var r=hn(this.el),o=(t.left-n.left)/(r&&r.a||1),s=(t.top-n.top)/(r&&r.d||1);e.animatingX=!!o,e.animatingY=!!s,un(e,"transform","translate3d("+o+"px,"+s+"px,0)"),un(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),un(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout(function(){un(e,"transition",""),un(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1},i)}}}))}function Oi(e,t,n,i,r,o,s,a){var c,l,u=e[Sn],h=u.options.onMove;return!window.CustomEvent||Qt||Kt?(c=document.createEvent("Event")).initEvent("move",!0,!0):c=new CustomEvent("move",{bubbles:!0,cancelable:!0}),c.to=t,c.from=e,c.dragged=n,c.draggedRect=i,c.related=r||t,c.relatedRect=o||fn(t),c.willInsertAfter=a,c.originalEvent=s,e.dispatchEvent(c),h&&(l=h.call(u,c,s)),l}function Ci(e){e.draggable=!1}function Ei(){ci=!1}function Si(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;n--;)i+=t.charCodeAt(n);return i.toString(36)}function Ti(e){return setTimeout(e,0)}function xi(e){return clearTimeout(e)}_i.prototype={constructor:_i,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Jn=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,zn):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,i=this.options,r=i.preventOnFilter,o=e.type,s=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,a=(s||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||a,l=i.filter;if(function(e){li.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var i=t[n];i.checked&&li.push(i)}}(n),!zn&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||i.disabled||c.isContentEditable||(a=sn(a,i.draggable,n,!1))&&a.animated||Ln===a)){if(Pn=vn(a),Gn=vn(a,i.draggable),"function"==typeof l){if(l.call(this,e,a,this))return Dn({sortable:t,rootEl:c,name:"filter",targetEl:a,toEl:n,fromEl:n}),In("filter",t,{evt:e}),void(r&&e.cancelable&&e.preventDefault())}else if(l&&(l=l.split(",").some(function(i){if(i=sn(c,i.trim(),n,!1))return Dn({sortable:t,rootEl:i,name:"filter",targetEl:a,fromEl:n,toEl:n}),In("filter",t,{evt:e}),!0})))return void(r&&e.cancelable&&e.preventDefault());i.handle&&!sn(c,i.handle,n,!1)||this._prepareDragStart(e,s,a)}}},_prepareDragStart:function(e,t,n){var i,r=this,o=r.el,s=r.options,a=o.ownerDocument;if(n&&!zn&&n.parentNode===o){var c=fn(n);if(Rn=o,jn=(zn=n).parentNode,Nn=zn.nextSibling,Ln=n,Wn=s.group,_i.dragged=zn,Kn=(Un={target:zn,clientX:(t||e).clientX,clientY:(t||e).clientY}).clientX-c.left,Xn=Un.clientY-c.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,zn.style["will-change"]="all",i=function(){In("delayEnded",r,{evt:e}),_i.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!Xt&&r.nativeDraggable&&(zn.draggable=!0),r._triggerDragStart(e,t),Dn({sortable:r,name:"choose",originalEvent:e}),ln(zn,s.chosenClass,!0))},s.ignore.split(",").forEach(function(e){dn(zn,e.trim(),Ci)}),tn(a,"dragover",yi),tn(a,"mousemove",yi),tn(a,"touchmove",yi),tn(a,"mouseup",r._onDrop),tn(a,"touchend",r._onDrop),tn(a,"touchcancel",r._onDrop),Xt&&this.nativeDraggable&&(this.options.touchStartThreshold=4,zn.draggable=!0),In("delayStart",this,{evt:e}),!s.delay||s.delayOnTouchOnly&&!t||this.nativeDraggable&&(Kt||Qt))i();else{if(_i.eventCanceled)return void this._onDrop();tn(a,"mouseup",r._disableDelayedDrag),tn(a,"touchend",r._disableDelayedDrag),tn(a,"touchcancel",r._disableDelayedDrag),tn(a,"mousemove",r._delayedDragTouchMoveHandler),tn(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&tn(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,s.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){zn&&Ci(zn),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;nn(e,"mouseup",this._disableDelayedDrag),nn(e,"touchend",this._disableDelayedDrag),nn(e,"touchcancel",this._disableDelayedDrag),nn(e,"mousemove",this._delayedDragTouchMoveHandler),nn(e,"touchmove",this._delayedDragTouchMoveHandler),nn(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?tn(document,this.options.supportPointer?"pointermove":t?"touchmove":"mousemove",this._onTouchMove):(tn(zn,"dragend",this),tn(Rn,"dragstart",this._onDragStart));try{document.selection?Ti(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(ni=!1,Rn&&zn){In("dragStarted",this,{evt:t}),this.nativeDraggable&&tn(document,"dragover",wi);var n=this.options;!e&&ln(zn,n.dragClass,!1),ln(zn,n.ghostClass,!0),_i.active=this,e&&this._appendGhost(),Dn({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Hn){this._lastX=Hn.clientX,this._lastY=Hn.clientY,bi();for(var e=document.elementFromPoint(Hn.clientX,Hn.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Hn.clientX,Hn.clientY))!==t;)t=e;if(zn.parentNode[Sn]._isOutsideThisEl(e),t)do{if(t[Sn]&&t[Sn]._onDragOver({clientX:Hn.clientX,clientY:Hn.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=t.parentNode);vi()}},_onTouchMove:function(e){if(Un){var t=this.options,n=t.fallbackTolerance,i=t.fallbackOffset,r=e.touches?e.touches[0]:e,o=An&&hn(An,!0),s=An&&o&&o.a,a=An&&o&&o.d,c=hi&&ti&&yn(ti),l=(r.clientX-Un.clientX+i.x)/(s||1)+(c?c[0]-ai[0]:0)/(s||1),u=(r.clientY-Un.clientY+i.y)/(a||1)+(c?c[1]-ai[1]:0)/(a||1);if(!_i.active&&!ni){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,r,this)&&!g.animated){if(g===zn)return D(!1);if(g&&o===e.target&&(s=g),s&&(n=fn(s)),!1!==Oi(Rn,o,zn,t,s,n,e,!!s))return I(),o.appendChild(zn),jn=o,z(),D(!0)}else if(s.parentNode===o){n=fn(s);var m,b,v,y=zn.parentNode!==o,w=!function(e,t,n){var i=n?e.left:e.top,r=n?t.left:t.top;return i===r||(n?e.right:e.bottom)===(n?t.right:t.bottom)||i+(n?e.width:e.height)/2===r+(n?t.width:t.height)/2}(zn.animated&&zn.toRect||t,s.animated&&s.toRect||n,r),_=r?"top":"left",O=gn(s,"top","top")||gn(zn,"top","top"),C=O?O.scrollTop:void 0;if(Jn!==s&&(b=n[_],oi=!1,si=!w&&a.invertSwap||y),0!==(m=function(e,t,n,i,r,o,s,a){var c=i?e.clientY:e.clientX,l=i?n.height:n.width,u=i?n.top:n.left,h=i?n.bottom:n.right,d=!1;if(!s)if(a&&eiu+l*o/2:ch-ei)return-Zn}else if(c>u+l*(1-r)/2&&ch-l*o/2)?c>u+l/2?1:-1:0}(e,s,n,r,w?1:a.swapThreshold,null==a.invertedSwapThreshold?a.swapThreshold:a.invertedSwapThreshold,si,Jn===s))){var E=vn(zn);do{v=jn.children[E-=m]}while(v&&("none"===un(v,"display")||v===An))}if(0===m||v===s)return D(!1);Jn=s,Zn=m;var S=s.nextElementSibling,T=!1,x=Oi(Rn,o,zn,t,s,n,e,T=1===m);if(!1!==x)return 1!==x&&-1!==x||(T=1===x),ci=!0,setTimeout(Ei,30),I(),T&&!S?o.appendChild(zn):s.parentNode.insertBefore(zn,T?S:s),O&&Cn(O,0,C-O.scrollTop),jn=zn.parentNode,void 0===b||si||(ei=Math.abs(b-fn(s)[_])),z(),D(!0)}if(o.contains(zn))return D(!1)}return!1}function k(a,c){In(a,p,Ut({evt:e,isOwner:u,axis:r?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:h,fromSortable:d,target:s,completed:D,onMove:function(n,i){return Oi(Rn,o,zn,t,n,fn(n),e,i)},changed:z},c))}function I(){k("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function D(t){return k("dragOverCompleted",{insertion:t}),t&&(u?l._hideClone():l._showClone(p),p!==d&&(ln(zn,$n?$n.options.ghostClass:l.options.ghostClass,!1),ln(zn,a.ghostClass,!0)),$n!==p&&p!==_i.active?$n=p:p===_i.active&&$n&&($n=null),d===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){k("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===zn&&!zn.animated||s===o&&!s.animated)&&(Jn=null),a.dragoverBubble||e.rootEl||s===document||(zn.parentNode[Sn]._isOutsideThisEl(e.target),!t&&yi(e)),!a.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),f=!0}function z(){Vn=vn(zn),Bn=vn(zn,a.draggable),Dn({sortable:p,name:"change",toEl:o,newIndex:Vn,newDraggableIndex:Bn,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){nn(document,"mousemove",this._onTouchMove),nn(document,"touchmove",this._onTouchMove),nn(document,"pointermove",this._onTouchMove),nn(document,"dragover",yi),nn(document,"mousemove",yi),nn(document,"touchmove",yi)},_offUpEvents:function(){var e=this.el.ownerDocument;nn(e,"mouseup",this._onDrop),nn(e,"touchend",this._onDrop),nn(e,"pointerup",this._onDrop),nn(e,"touchcancel",this._onDrop),nn(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;Vn=vn(zn),Bn=vn(zn,n.draggable),In("drop",this,{evt:e}),jn=zn&&zn.parentNode,Vn=vn(zn),Bn=vn(zn,n.draggable),_i.eventCanceled||(ni=!1,si=!1,oi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),xi(this.cloneId),xi(this._dragStartId),this.nativeDraggable&&(nn(document,"drop",this),nn(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Yt&&un(document.body,"user-select",""),un(zn,"transform",""),e&&(Yn&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),An&&An.parentNode&&An.parentNode.removeChild(An),(Rn===jn||$n&&"clone"!==$n.lastPutMode)&&Mn&&Mn.parentNode&&Mn.parentNode.removeChild(Mn),zn&&(this.nativeDraggable&&nn(zn,"dragend",this),Ci(zn),zn.style["will-change"]="",Yn&&!ni&&ln(zn,$n?$n.options.ghostClass:this.options.ghostClass,!1),ln(zn,this.options.chosenClass,!1),Dn({sortable:this,name:"unchoose",toEl:jn,newIndex:null,newDraggableIndex:null,originalEvent:e}),Rn!==jn?(Vn>=0&&(Dn({rootEl:jn,name:"add",toEl:jn,fromEl:Rn,originalEvent:e}),Dn({sortable:this,name:"remove",toEl:jn,originalEvent:e}),Dn({rootEl:jn,name:"sort",toEl:jn,fromEl:Rn,originalEvent:e}),Dn({sortable:this,name:"sort",toEl:jn,originalEvent:e})),$n&&$n.save()):Vn!==Pn&&Vn>=0&&(Dn({sortable:this,name:"update",toEl:jn,originalEvent:e}),Dn({sortable:this,name:"sort",toEl:jn,originalEvent:e})),_i.active&&(null!=Vn&&-1!==Vn||(Vn=Pn,Bn=Gn),Dn({sortable:this,name:"end",toEl:jn,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){In("nulling",this),Rn=zn=jn=An=Nn=Mn=Ln=Fn=Un=Hn=Yn=Vn=Bn=Pn=Gn=Jn=Zn=$n=Wn=_i.dragged=_i.ghost=_i.clone=_i.active=null,li.forEach(function(e){e.checked=!0}),li.length=qn=Qn=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":zn&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,i=0,r=n.length,o=this.options;inew $i(e))}injectIntoEvery(e,t){this.bindings.forEach((n,i)=>n.insert(e,t[i]))}getFromEvery(e){return this.bindings.map(t=>t.get(e))}extractFromEvery(e){return this.bindings.map(t=>t.remove(e))}get provided(){return!!this.bindings.length}}let Hi=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Mb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),qi=(()=>{class e{constructor(e,t,n,i,o){this.globalConfig=e,this.service=t,this.element=n,this.zone=i,this.renderer=o,this.sortablejsInit=new r.n}ngOnInit(){Bi&&Bi.create&&this.create()}ngOnChanges(e){const t=e.sortablejsOptions;if(t&&!t.isFirstChange()){const e=t.previousValue,n=t.currentValue;Object.keys(n).forEach(t=>{n[t]!==e[t]&&this.sortableInstance.option(t,this.options[t])})}}ngOnDestroy(){this.sortableInstance&&this.sortableInstance.destroy()}create(){const e=this.sortablejsContainer?this.element.nativeElement.querySelector(this.sortablejsContainer):this.element.nativeElement;setTimeout(()=>{this.sortableInstance=Bi.create(e,this.options),this.sortablejsInit.emit(this.sortableInstance)},0)}getBindings(){return this.sortablejs?this.sortablejs instanceof Ui?this.sortablejs:new Ui([this.sortablejs]):new Ui([])}get options(){return Object.assign(Object.assign({},this.optionsWithoutEvents),this.overridenOptions)}get optionsWithoutEvents(){return Object.assign(Object.assign({},this.globalConfig||{}),this.sortablejsOptions||{})}proxyEvent(e,...t){this.zone.run(()=>{this.optionsWithoutEvents&&this.optionsWithoutEvents[e]&&this.optionsWithoutEvents[e](...t)})}get isCloning(){return"clone"===this.sortableInstance.options.group.checkPull(this.sortableInstance,this.sortableInstance)}clone(e){return(this.sortablejsCloneFunction||(e=>e))(e)}get overridenOptions(){return{onAdd:e=>{this.service.transfer=t=>{this.getBindings().injectIntoEvery(e.newIndex,t),this.proxyEvent("onAdd",e)},this.proxyEvent("onAddOriginal",e)},onRemove:e=>{const t=this.getBindings();t.provided&&(this.isCloning?(this.service.transfer(t.getFromEvery(e.oldIndex).map(e=>this.clone(e))),this.renderer.removeChild(e.item.parentNode,e.item),this.renderer.insertBefore(e.clone.parentNode,e.item,e.clone),this.renderer.removeChild(e.clone.parentNode,e.clone)):this.service.transfer(t.extractFromEvery(e.oldIndex)),this.service.transfer=null),this.proxyEvent("onRemove",e)},onUpdate:e=>{const t=this.getBindings(),n=(e=>e.hasOwnProperty("newDraggableIndex")&&e.hasOwnProperty("oldDraggableIndex")?{new:e.newDraggableIndex,old:e.oldDraggableIndex}:{new:e.newIndex,old:e.oldIndex})(e);t.injectIntoEvery(n.new,t.extractFromEvery(n.old)),this.proxyEvent("onUpdate",e)}}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Wi,8),r.Qb(Hi),r.Qb(r.l),r.Qb(r.B),r.Qb(r.G))},e.\u0275dir=r.Lb({type:e,selectors:[["","sortablejs",""]],inputs:{sortablejs:"sortablejs",sortablejsContainer:"sortablejsContainer",sortablejsOptions:"sortablejsOptions",sortablejsCloneFunction:"sortablejsCloneFunction"},outputs:{sortablejsInit:"sortablejsInit"},features:[r.Cb]}),e})(),Qi=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:Wi,useValue:t}]}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})();var Ki=n("C2AL"),Xi=n("fpqv"),Yi=n("GR68");const Ji=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];var Zi=n("YF2q"),er=n("JgHy"),tr=n("pdGh");const nr=["overlay"];function ir(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.nzTitle)}}function rr(e,t){if(1&e&&(r.Wb(0,"div",2),r.Wb(1,"div",3),r.Wb(2,"div",4),r.Rb(3,"span",5),r.Vb(),r.Wb(4,"div",6),r.Ec(5,ir,2,1,"ng-container",7),r.Vb(),r.Vb(),r.Vb()),2&e){const e=r.gc();r.Ib("ant-tooltip-rtl","rtl"===e.dir),r.mc("ngClass",e._classMap)("ngStyle",e.nzOverlayStyle)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),r.Eb(3),r.mc("ngStyle",e._contentStyleMap),r.Eb(1),r.mc("ngStyle",e._contentStyleMap),r.Eb(1),r.mc("nzStringTemplateOutlet",e.nzTitle)}}let or=(()=>{class e{constructor(e,t,n,i,o){this.elementRef=e,this.hostView=t,this.resolver=n,this.renderer=i,this.noAnimation=o,this.visibleChange=new r.n,this.internalVisible=!1,this.destroy$=new fe.a,this.triggerDisposables=[]}get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return void 0!==this.trigger?this.trigger:"hover"}get _placement(){const e=this.placement;return Array.isArray(e)&&e.length>0?e:"string"==typeof e&&e?[e]:["top"]}get _visible(){return(void 0!==this.visible?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>this.noAnimation]}}ngOnChanges(e){const{specificTrigger:t}=e;t&&!t.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(e)}ngAfterViewInit(){this.createComponent(),this.registerTriggers()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){var e;null===(e=this.component)||void 0===e||e.show()}hide(){var e;null===(e=this.component)||void 0===e||e.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const e=this.hostView.createComponent(this.componentFactory);this.component=e.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),e.location.nativeElement),this.component.setOverlayOrigin({elementRef:this.origin||this.elementRef}),this.initProperties(),this.component.nzVisibleChange.pipe(Object(a.a)(),Object(ge.a)(this.destroy$)).subscribe(e=>{this.internalVisible=e,this.visibleChange.emit(e)})}registerTriggers(){const e=this.elementRef.nativeElement,t=this.trigger;if(this.removeTriggerListeners(),"hover"===t){let t;this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",()=>{var e;this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),(null===(e=this.component)||void 0===e?void 0:e.overlay.overlayRef)&&!t&&(t=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(t,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(t,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===t?(this.triggerDisposables.push(this.renderer.listen(e,"focus",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"blur",()=>this.hide()))):"click"===t&&this.triggerDisposables.push(this.renderer.listen(e,"click",e=>{e.preventDefault(),this.show()}))}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e))}updatePropertiesByKeys(e){var t;const n=Object.assign({title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle]},this.getProxyPropertyMap());(e||Object.keys(n).filter(e=>!e.startsWith("directive"))).forEach(e=>{if(n[e]){const[t,i]=n[e];this.updateComponentValue(t,i())}}),null===(t=this.component)||void 0===t||t.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(e,t){void 0!==t&&(this.component[e]=t)}delayEnterLeave(e,t,n=-1){this.delayTimer?this.clearTogglingTimer():n>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,t?this.show():this.hide()},1e3*n):t&&e?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(e=>e()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.S),r.Qb(r.j),r.Qb(r.G),r.Qb(Zi.a))},e.\u0275dir=r.Lb({type:e,features:[r.Cb]}),e})(),sr=(()=>{class e{constructor(e,t,n){this.cdr=e,this.directionality=t,this.noAnimation=n,this.nzTitle=null,this.nzContent=null,this.nzOverlayStyle={},this.nzVisibleChange=new fe.a,this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this.dir="ltr",this._classMap={},this._hasBackdrop=!1,this._prefix="ant-tooltip",this._positions=[...er.a],this.destroy$=new fe.a}set nzVisible(e){const t=Object(_e.o)(e);this._visible!==t&&(this._visible=t,this.nzVisibleChange.next(t))}get nzVisible(){return this._visible}set nzTrigger(e){this._trigger=e}get nzTrigger(){return this._trigger}set nzPlacement(e){const t=e.map(e=>er.d[e]);this._positions=[...t,...er.a]}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(e){this.preferredPlacement=Object(er.e)(e),this.updateStyles(),this.cdr.detectChanges()}updateStyles(){this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck()}onClickOutside(e){this.origin.elementRef.nativeElement.contains(e.target)||this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(pe.b,8),r.Qb(Zi.a))},e.\u0275dir=r.Lb({type:e,viewQuery:function(e,t){if(1&e&&r.Kc(nr,1),2&e){let e;r.sc(e=r.ec())&&(t.overlay=e.first)}}}),e})(),ar=(()=>{class e extends or{constructor(e,t,n,i,o){super(e,t,n,i,o),this.trigger="hover",this.placement="top",this.visibleChange=new r.n,this.componentFactory=this.resolver.resolveComponentFactory(cr)}getProxyPropertyMap(){return{nzTooltipColor:["nzColor",()=>this.nzTooltipColor]}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.S),r.Qb(r.j),r.Qb(r.G),r.Qb(Zi.a,9))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-tooltip-open",t.visible)},inputs:{trigger:["nzTooltipTrigger","trigger"],placement:["nzTooltipPlacement","placement"],title:["nzTooltipTitle","title"],directiveTitle:["nz-tooltip","directiveTitle"],origin:["nzTooltipOrigin","origin"],visible:["nzTooltipVisible","visible"],mouseEnterDelay:["nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzTooltipOverlayClassName","overlayClassName"],overlayStyle:["nzTooltipOverlayStyle","overlayStyle"],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[r.Bb]}),e})(),cr=(()=>{class e extends sr{constructor(e,t,n){super(e,t,n),this.noAnimation=n,this.nzTitle=null,this._contentStyleMap={}}isEmpty(){return!((e=this.nzTitle)instanceof r.O||""!==e&&Object(_e.h)(e));var e}updateStyles(){const e=this.nzColor&&-1!==Ji.indexOf(this.nzColor);this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:e},this._contentStyleMap={backgroundColor:this.nzColor&&!e?this.nzColor:null}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(pe.b,8),r.Qb(Zi.a,9))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[r.Bb],decls:2,vars:4,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content",3,"ngStyle"],[1,"ant-tooltip-inner",3,"ngStyle"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(r.Ec(0,rr,6,10,"ng-template",0,1,r.Fc),r.dc("overlayOutsideClick",function(e){return t.onClickOutside(e)})("detach",function(){return t.hide()})("positionChange",function(e){return t.onPositionChange(e)})),2&e&&r.mc("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayOpen",t._visible)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayPush",!0)},directives:[ot.a,er.b,o.l,o.p,Zi.a,tr.b],encapsulation:2,data:{animation:[Yi.e]},changeDetection:0}),e})(),lr=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,ot.h,tr.a,er.c,Zi.b]]}),e})();function ur(e,t){1&e&&(r.Rb(0,"app-icon",11),r.hc(1,"translate")),2&e&&r.mc("nzTooltipTitle",r.ic(1,1,"COLLECTION_OPEN_QUERY_TOOLTIP"))}function hr(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",12),r.dc("click",function(){r.wc(e);const t=r.gc().$implicit;return r.gc().closeWindow(t)}),r.Gc(1,"\xd7"),r.Vb()}}const dr=function(e,t,n){return{windowId:e,wTitle:t,index:n}},pr=function(e){return{"window-switcher__input--editing":e}};function fr(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",6),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc().onClickWindow(n)})("dblclick",function(){r.wc(e);const n=t.$implicit,i=r.tc(5);return r.gc().editWindowNameInput(n,i)}),r.Gc(1,"\n "),r.Ec(2,ur,2,3,"app-icon",7),r.Gc(3,"\n "),r.Wb(4,"div",8,9),r.dc("blur",function(){r.wc(e);const n=t.$implicit,i=r.tc(5);return r.gc().saveWindowName(n,i.innerText)})("keydown.enter",function(){r.wc(e);const n=t.$implicit,i=r.tc(5);return r.gc().saveWindowName(n,i.innerText)}),r.Gc(6),r.Vb(),r.Gc(7,"\n "),r.Ec(8,hr,2,0,"div",10),r.Gc(9,"\n "),r.Vb()}if(2&e){const e=t.$implicit,n=t.index,i=r.tc(5),o=r.gc();r.mc("nzSelected",e===o.activeWindowId)("contextMenu",o.windowTabMenu)("contextMenuSubject",r.rc(8,dr,e,i,n)),r.Eb(2),r.mc("ngIf",o.windows[e].layout.windowIdInCollection),r.Eb(2),r.mc("ngClass",r.pc(12,pr,e===o.windowIdEditing)),r.Fb("contenteditable",e===o.windowIdEditing),r.Eb(2),r.Hc(o.windows[e].layout.title),r.Eb(2),r.mc("ngIf",o.windowIds.length>1)}}function gr(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",13),r.dc("click",function(t){return r.wc(e),r.gc().newWindowChange.next(t)}),r.Gc(1),r.hc(2,"translate"),r.Vb()}2&e&&(r.mc("nzSelected",!1),r.Eb(1),r.Ic("\n ",r.ic(2,2,"ADD_NEW_WINDOW_TEXT"),"\n "))}function mr(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"span",14),r.Gc(2,"\n "),r.Rb(3,"app-icon",15),r.Gc(4,"\n "),r.Vb(),r.Gc(5,"\n "),r.Wb(6,"span",16),r.Gc(7),r.hc(8,"translate"),r.Vb(),r.Gc(9,"\n ")),2&e&&(r.Eb(7),r.Ic("\n ",r.ic(8,1,"EDIT_WINDOW_TEXT"),"\n "))}function br(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"span",14),r.Gc(2,"\n "),r.Rb(3,"app-icon",17),r.Gc(4,"\n "),r.Vb(),r.Gc(5,"\n "),r.Wb(6,"span",16),r.Gc(7),r.hc(8,"translate"),r.Vb(),r.Gc(9,"\n ")),2&e&&(r.Eb(7),r.Ic("\n ",r.ic(8,1,"DUPLICATE_WINDOW_TEXT"),"\n "))}function vr(e,t){}function yr(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"span",14),r.Gc(2,"\n "),r.Rb(3,"app-icon",18),r.Gc(4,"\n "),r.Vb(),r.Gc(5,"\n "),r.Wb(6,"span",16),r.Gc(7),r.hc(8,"translate"),r.Vb(),r.Gc(9,"\n ")),2&e&&(r.Eb(7),r.Ic("\n ",r.ic(8,1,"CLOSE_WINDOW_TEXT"),"\n "))}function wr(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"span",14),r.Gc(2,"\n "),r.Rb(3,"app-icon",19),r.Gc(4,"\n "),r.Vb(),r.Gc(5,"\n "),r.Wb(6,"span",16),r.Gc(7),r.hc(8,"translate"),r.Vb(),r.Gc(9,"\n ")),2&e&&(r.Eb(7),r.Ic("\n ",r.ic(8,1,"CLOSE_WINDOWS_TO_THE_RIGHT_TEXT"),"\n "))}function _r(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"span",14),r.Gc(2,"\n "),r.Rb(3,"app-icon",19),r.Gc(4,"\n "),r.Vb(),r.Gc(5,"\n "),r.Wb(6,"span",16),r.Gc(7),r.hc(8,"translate"),r.Vb(),r.Gc(9,"\n ")),2&e&&(r.Eb(7),r.Ic("\n ",r.ic(8,1,"CLOSE_OTHER_WINDOWS_TEXT"),"\n "))}function Or(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"span",14),r.Gc(2,"\n "),r.Rb(3,"app-icon",20),r.Gc(4,"\n "),r.Vb(),r.Gc(5,"\n "),r.Wb(6,"span",16),r.Gc(7),r.hc(8,"translate"),r.Vb(),r.Gc(9,"\n ")),2&e&&(r.Eb(7),r.Ic("\n ",r.ic(8,1,"REOPEN_CLOSED_WINDOW_TEXT"),"\n "))}function Cr(e,t){if(1&e){const e=r.Xb();r.Ec(0,Or,10,3,"ng-template",3),r.dc("execute",function(){return r.wc(e),r.gc().reopenClosedTab()})}}let Er=(()=>{class e{constructor(e){this.altairConfig=e,this.windows={},this.windowIds=[],this.closedWindows=[],this.activeWindowId="",this.isElectron=!1,this.activeWindowChange=new r.n,this.newWindowChange=new r.n,this.removeWindowChange=new r.n,this.duplicateWindowChange=new r.n,this.windowNameChange=new r.n,this.repositionWindowChange=new r.n,this.reopenClosedWindowChange=new r.n,this.windowTabMenuData=[{name:"Edit"}],this.windowIdEditing="",this.maxWindowCount=this.altairConfig.max_windows,this.sortableOptions={}}ngOnInit(){this.sortableOptions={onUpdate:e=>{this.moveWindow(e.oldIndex,e.newIndex)}}}onClickWindow(e){this.activeWindowChange.next(e)}editWindowNameInput(e,t){this.windowIdEditing=e,setTimeout(()=>t.focus(),0)}saveWindowName(e,t){this.windowIdEditing&&(this.windowNameChange.next({windowId:e,windowName:t}),this.windowIdEditing="")}moveWindow(e,t){this.repositionWindowChange.next({currentPosition:e,newPosition:t})}closeWindow(e){return this.removeWindowChange.next(e)}closeWindowsToTheRight(e){if(!(e+1>=this.windowIds.length))return this.windowIds.filter((t,n)=>n>e).map(e=>this.closeWindow(e))}closeOtherWindows(e){return this.windowIds.filter(t=>t!==e).map(e=>this.closeWindow(e))}duplicateWindow(e){this.duplicateWindowChange.next(e)}reopenClosedTab(){this.reopenClosedWindowChange.emit()}log(e){M.a.log(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(N.a))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-window-switcher"]],viewQuery:function(e,t){if(1&e&&r.Kc(Pt,3),2&e){let e;r.sc(e=r.ec())&&(t.windowTabMenu=e.first)}},inputs:{windows:"windows",windowIds:"windowIds",closedWindows:"closedWindows",activeWindowId:"activeWindowId",isElectron:"isElectron"},outputs:{activeWindowChange:"activeWindowChange",newWindowChange:"newWindowChange",removeWindowChange:"removeWindowChange",duplicateWindowChange:"duplicateWindowChange",windowNameChange:"windowNameChange",repositionWindowChange:"repositionWindowChange",reopenClosedWindowChange:"reopenClosedWindowChange"},decls:24,vars:4,consts:[["nz-menu","","nzMode","horizontal","sortablejs","",1,"app-header__menu","header-nav","window-switcher__container",3,"sortablejsOptions"],["nz-menu-item","","class","nav-link nav-text window-switcher",3,"nzSelected","contextMenu","contextMenuSubject","click","dblclick",4,"ngFor","ngForOf"],["nz-menu-item","","class","nav-link nav-text window-switcher window-switcher--new-window",3,"nzSelected","click",4,"ngIf"],["contextMenuItem","",3,"execute"],["contextMenuItem","","divider","true"],[4,"ngIf"],["nz-menu-item","",1,"nav-link","nav-text","window-switcher",3,"nzSelected","contextMenu","contextMenuSubject","click","dblclick"],["name","folder","nz-tooltip","","nzTooltipPlacement","bottom",3,"nzTooltipTitle",4,"ngIf"],[1,"window-switcher__input",3,"ngClass","blur","keydown.enter"],["wTitle",""],["track-id","close_window_tab","class","window-switcher__close",3,"click",4,"ngIf"],["name","folder","nz-tooltip","","nzTooltipPlacement","bottom",3,"nzTooltipTitle"],["track-id","close_window_tab",1,"window-switcher__close",3,"click"],["nz-menu-item","",1,"nav-link","nav-text","window-switcher","window-switcher--new-window",3,"nzSelected","click"],[1,"menu-icon"],["name","edit"],[1,"menu-text"],["name","copy"],["name","x-square"],["name","circle"],["name","plus-square"]],template:function(e,t){1&e&&(r.Wb(0,"ul",0),r.Gc(1,"\n "),r.Ec(2,fr,10,14,"li",1),r.Gc(3,"\n "),r.Ec(4,gr,3,4,"li",2),r.Gc(5,"\n"),r.Vb(),r.Gc(6,"\n"),r.Wb(7,"context-menu"),r.Gc(8,"\n "),r.Ec(9,mr,10,3,"ng-template",3),r.dc("execute",function(e){return t.editWindowNameInput(e.item.windowId,e.item.wTitle)}),r.Gc(10,"\n "),r.Ec(11,br,10,3,"ng-template",3),r.dc("execute",function(e){return t.duplicateWindow(e.item.windowId)}),r.Gc(12,"\n "),r.Ec(13,vr,0,0,"ng-template",4),r.Gc(14,"\n "),r.Ec(15,yr,10,3,"ng-template",3),r.dc("execute",function(e){return t.closeWindow(e.item.windowId)}),r.Gc(16,"\n "),r.Ec(17,wr,10,3,"ng-template",3),r.dc("execute",function(e){return t.closeWindowsToTheRight(e.item.index)}),r.Gc(18,"\n "),r.Ec(19,_r,10,3,"ng-template",3),r.dc("execute",function(e){return t.closeOtherWindows(e.item.windowId)}),r.Gc(20,"\n "),r.Ec(21,Cr,1,0,void 0,5),r.Gc(22,"\n"),r.Vb(),r.Gc(23,"\n")),2&e&&(r.mc("sortablejsOptions",t.sortableOptions),r.Eb(2),r.mc("ngForOf",t.windowIds),r.Eb(2),r.mc("ngIf",t.windowIds.length=0)return 1;return 0}(),kr=Tr&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},xr))}};function Ir(e){return e&&"[object Function]"==={}.toString.call(e)}function Dr(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function zr(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function jr(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Dr(e);return/(auto|scroll|overlay)/.test(t.overflow+t.overflowY+t.overflowX)?e:jr(zr(e))}function Ar(e){return e&&e.referenceNode?e.referenceNode:e}var Rr=Tr&&!(!window.MSInputMethodContext||!document.documentMode),Nr=Tr&&/MSIE 10/.test(navigator.userAgent);function Lr(e){return 11===e?Rr:10===e?Nr:Rr||Nr}function Mr(e){if(!e)return document.documentElement;for(var t=Lr(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Dr(n,"position")?Mr(n):n:e?e.ownerDocument.documentElement:document.documentElement}function Fr(e){return null!==e.parentNode?Fr(e.parentNode):e}function Pr(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var s,a,c=o.commonAncestorContainer;if(e!==c&&t!==c||i.contains(r))return"BODY"===(a=(s=c).nodeName)||"HTML"!==a&&Mr(s.firstElementChild)!==s?Mr(c):c;var l=Fr(e);return l.host?Pr(l.host,t):Pr(e,Fr(t).host)}function Vr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var r=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||r;return o[n]}return e[n]}function Gr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Vr(t,"top"),r=Vr(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}function Br(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}function Wr(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Lr(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function $r(e){var t=e.body,n=e.documentElement,i=Lr(10)&&getComputedStyle(n);return{height:Wr("Height",t,n,i),width:Wr("Width",t,n,i)}}var Ur=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Hr=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=Lr(10),r="HTML"===t.nodeName,o=Xr(e),s=Xr(t),a=jr(e),c=Dr(t),l=parseFloat(c.borderTopWidth),u=parseFloat(c.borderLeftWidth);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=Kr({top:o.top-s.top-l,left:o.left-s.left-u,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!i&&r){var d=parseFloat(c.marginTop),p=parseFloat(c.marginLeft);h.top-=l-d,h.bottom-=l-d,h.left-=u-p,h.right-=u-p,h.marginTop=d,h.marginLeft=p}return(i&&!n?t.contains(a):t===a&&"BODY"!==a.nodeName)&&(h=Gr(h,t)),h}function Jr(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=Yr(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:Vr(n),a=t?0:Vr(n,"left"),c={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:r,height:o};return Kr(c)}function Zr(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Dr(e,"position"))return!0;var n=zr(e);return!!n&&Zr(n)}function eo(e){if(!e||!e.parentElement||Lr())return document.documentElement;for(var t=e.parentElement;t&&"none"===Dr(t,"transform");)t=t.parentElement;return t||document.documentElement}function to(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},s=r?eo(e):Pr(e,Ar(t));if("viewport"===i)o=Jr(s,r);else{var a=void 0;"scrollParent"===i?"BODY"===(a=jr(zr(t))).nodeName&&(a=e.ownerDocument.documentElement):a="window"===i?e.ownerDocument.documentElement:i;var c=Yr(a,s,r);if("HTML"!==a.nodeName||Zr(s))o=c;else{var l=$r(e.ownerDocument),u=l.height,h=l.width;o.top+=c.top-c.marginTop,o.bottom=u+c.top,o.left+=c.left-c.marginLeft,o.right=h+c.left}}var d="number"==typeof(n=n||0);return o.left+=d?n:n.left||0,o.top+=d?n:n.top||0,o.right-=d?n:n.right||0,o.bottom-=d?n:n.bottom||0,o}function no(e){return e.width*e.height}function io(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=to(n,i,o,r),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},c=Object.keys(a).map(function(e){return Qr({key:e},a[e],{area:no(a[e])})}).sort(function(e,t){return t.area-e.area}),l=c.filter(function(e){return e.width>=n.clientWidth&&e.height>=n.clientHeight}),u=l.length>0?l[0].key:c[0].key,h=e.split("-")[1];return u+(h?"-"+h:"")}function ro(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=i?eo(t):Pr(t,Ar(n));return Yr(n,r,i)}function oo(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function so(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function ao(e,t,n){n=n.split("-")[0];var i=oo(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return r[s]=t[s]+t[c]/2-i[c]/2,r[a]=n===a?t[a]-i[l]:t[so(a)],r}function co(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function lo(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e.name===n});var i=co(e,function(e){return e.name===n});return e.indexOf(i)}(e,0,n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Ir(n)&&(t.offsets.popper=Kr(t.offsets.popper),t.offsets.reference=Kr(t.offsets.reference),t=n(t,e))}),t}function uo(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=ro(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=io(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=ao(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=lo(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function ho(e,t){return e.some(function(e){return e.enabled&&e.name===t})}function po(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=So.indexOf(e),i=So.slice(n+1).concat(So.slice(0,n));return t?i.reverse():i}var xo={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,o=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),c=a?"left":"top",l=a?"width":"height",u={start:qr({},c,o[c]),end:qr({},c,o[c]+o[l]-s[l])};e.offsets.popper=Qr({},s,u[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,i=t.offset,r=e.offsets,o=r.popper,s=r.reference,a=e.placement.split("-")[0];return n=wo(+i)?[+i,0]:function(e,t,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),s=e.split(/(\+|\-)/).map(function(e){return e.trim()}),a=s.indexOf(co(s,function(e){return-1!==e.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==a?[s.slice(0,a).concat([s[a].split(c)[0]]),[s[a].split(c)[1]].concat(s.slice(a+1))]:[s];return(l=l.map(function(e,i){var r=(1===i?!o:o)?"height":"width",s=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],s=r[2];if(!o)return e;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return Kr(a)[t]/100*o}return"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o}(e,r,t,n)})})).forEach(function(e,t){e.forEach(function(n,i){wo(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))})}),r}(i,o,s,a),"left"===a?(o.top+=n[0],o.left-=n[1]):"right"===a?(o.top+=n[0],o.left+=n[1]):"top"===a?(o.left+=n[0],o.top-=n[1]):"bottom"===a&&(o.left+=n[0],o.top+=n[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||Mr(e.instance.popper);e.instance.reference===n&&(n=Mr(n));var i=po("transform"),r=e.instance.popper.style,o=r.top,s=r.left,a=r[i];r.top="",r.left="",r[i]="";var c=to(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=o,r.left=s,r[i]=a,t.boundaries=c;var l=e.offsets.popper,u={primary:function(e){var n=l[e];return l[e]c[e]&&!t.escapeWithReference&&(i=Math.min(l[n],c[e]-("right"===e?l.width:l.height))),qr({},n,i)}};return t.priority.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=Qr({},l,u[t](e))}),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",c=s?"left":"top",l=s?"width":"height";return n[a]o(i[a])&&(e.offsets.popper[c]=o(i[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Co(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,s=o.popper,a=o.reference,c=-1!==["left","right"].indexOf(r),l=c?"height":"width",u=c?"Top":"Left",h=u.toLowerCase(),d=c?"left":"top",p=c?"bottom":"right",f=oo(i)[l];a[p]-fs[p]&&(e.offsets.popper[h]+=a[h]+f-s[p]),e.offsets.popper=Kr(e.offsets.popper);var g=a[h]+a[l]/2-f/2,m=Dr(e.instance.popper),b=parseFloat(m["margin"+u]),v=parseFloat(m["border"+u+"Width"]),y=g-e.offsets.popper[h]-b-v;return y=Math.max(Math.min(s[l]-f,y),0),e.arrowElement=i,e.offsets.arrow=(qr(n={},h,Math.round(y)),qr(n,d,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(ho(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=to(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],r=so(i),o=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case"flip":s=[i,r];break;case"clockwise":s=To(i);break;case"counterclockwise":s=To(i,!0);break;default:s=t.behavior}return s.forEach(function(a,c){if(i!==a||s.length===c+1)return e;i=e.placement.split("-")[0],r=so(i);var l=e.offsets.popper,u=e.offsets.reference,h=Math.floor,d="left"===i&&h(l.right)>h(u.left)||"right"===i&&h(l.left)h(u.top)||"bottom"===i&&h(l.top)h(n.right),g=h(l.top)h(n.bottom),b="left"===i&&p||"right"===i&&f||"top"===i&&g||"bottom"===i&&m,v=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(v&&"start"===o&&p||v&&"end"===o&&f||!v&&"start"===o&&g||!v&&"end"===o&&m)||!!t.flipVariationsByContent&&(v&&"start"===o&&f||v&&"end"===o&&p||!v&&"start"===o&&m||!v&&"end"===o&&g);(d||b||y)&&(e.flipped=!0,(d||b)&&(i=s[c+1]),y&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=i+(o?"-"+o:""),e.offsets.popper=Qr({},e.offsets.popper,ao(e.instance.popper,e.offsets.reference,e.placement)),e=lo(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(a?r[s?"width":"height"]:0),e.placement=so(t),e.offsets.popper=Kr(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Co(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=co(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};Ur(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=kr(this.update.bind(this)),this.options=Qr({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Qr({},e.Defaults.modifiers,r.modifiers)).forEach(function(t){i.options.modifiers[t]=Qr({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return Qr({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&Ir(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Hr(e,[{key:"update",value:function(){return uo.call(this)}},{key:"destroy",value:function(){return fo.call(this)}},{key:"enableEventListeners",value:function(){return vo.call(this)}},{key:"disableEventListeners",value:function(){return yo.call(this)}}]),e}();ko.Utils=("undefined"!=typeof window?window:global).PopperUtils,ko.placements=Eo,ko.Defaults=xo;var Io=ko;const Do=["popperViewRef"];function zo(e,t){if(1&e&&(r.Wb(0,"div",5),r.Gc(1,"\n "),r.kc(2),r.Gc(3,"\n "),r.Vb()),2&e){const e=r.gc();r.mc("innerHTML",e.text,r.xc)}}function jo(e,t){1&e&&(r.Wb(0,"div",6),r.Gc(1,"\n "),r.kc(2,1),r.Gc(3,"\n "),r.Vb())}const Ao=["*","*"];let Ro=(()=>{class e{}return e.CLICK="click",e.HOVER="hover",e.MOUSEDOWN="mousedown",e.NONE="none",e})(),No=(()=>{class e{}return e.Top="top",e.Bottom="bottom",e.Left="left",e.Right="right",e.TopStart="top-start",e.BottomStart="bottom-start",e.LeftStart="left-start",e.RightStart="right-start",e.TopEnd="top-end",e.BottomEnd="bottom-end",e.LeftEnd="left-end",e.RightEnd="right-end",e.Auto="auto",e.AutoStart="auto-start",e.AutoEnd="auto-end",e})(),Lo=(()=>{class e{constructor(e,t,n,i){this.elemRef=e,this.renderer=t,this.viewRef=n,this.CDR=i,this.popperOptions={disableAnimation:!1,disableDefaultStyling:!1,placement:No.Auto,boundariesElement:"",trigger:Ro.HOVER,positionFixed:!1,appendToBody:!1,popperModifiers:{}},this.isMouseOver=!1,this.onHidden=new r.n,this.displayType="none",this.opacity=0,this.ariaHidden="true",this.arrowColor=null,this.state=!0}onMouseOver(){this.isMouseOver=!0}showOnLeave(){this.isMouseOver=!1,(this.popperOptions.trigger===Ro.HOVER||this.popperOptions.hideOnMouseLeave)&&this.hide()}onDocumentResize(){this.update()}ngOnDestroy(){this.clean(),this.popperOptions.appendTo&&this.elemRef&&this.elemRef.nativeElement&&this.elemRef.nativeElement.parentNode&&(this.viewRef.detach(),this.elemRef.nativeElement.parentNode.removeChild(this.elemRef.nativeElement))}clean(){this.toggleVisibility(!1),this.popperInstance&&(this.popperInstance.disableEventListeners(),this.popperInstance.destroy())}show(){if(!this.referenceObject)return;const e=this.popperOptions.appendTo&&document.querySelector(this.popperOptions.appendTo);e&&this.elemRef.nativeElement.parentNode!==e&&(this.elemRef.nativeElement.parentNode&&this.elemRef.nativeElement.parentNode.removeChild(this.elemRef.nativeElement),e.appendChild(this.elemRef.nativeElement));let t={placement:this.popperOptions.placement,positionFixed:this.popperOptions.positionFixed,modifiers:{arrow:{element:this.popperViewRef.nativeElement.querySelector(".ngxp__arrow")}}};this.onUpdate&&(t.onUpdate=this.onUpdate);let n=this.popperOptions.boundariesElement&&document.querySelector(this.popperOptions.boundariesElement);t.modifiers&&n&&(t.modifiers.preventOverflow={boundariesElement:n}),t.modifiers&&void 0!==this.popperOptions.preventOverflow&&(t.modifiers.preventOverflow=t.modifiers.preventOverflow||{},t.modifiers.preventOverflow.enabled=this.popperOptions.preventOverflow,t.modifiers.preventOverflow.enabled||(t.modifiers.hide={enabled:!1})),this.determineArrowColor(),t.modifiers=Object.assign(t.modifiers,this.popperOptions.popperModifiers),this.popperInstance=new Io(this.referenceObject,this.popperViewRef.nativeElement,t),this.popperInstance.enableEventListeners(),this.scheduleUpdate(),this.toggleVisibility(!0),this.globalResize=this.renderer.listen("document","resize",this.onDocumentResize.bind(this))}determineArrowColor(){["background-color","backgroundColor"].some(e=>!!this.popperOptions.styles&&!!this.popperOptions.styles.hasOwnProperty(e)&&(this.arrowColor=this.popperOptions.styles[e],!0))}update(){this.popperInstance&&this.popperInstance.update()}scheduleUpdate(){this.popperInstance&&this.popperInstance.scheduleUpdate()}hide(){this.popperInstance&&this.popperInstance.destroy(),this.toggleVisibility(!1),this.onHidden.emit()}toggleVisibility(e){e?(this.opacity=1,this.displayType="block",this.ariaHidden="false",this.state=!0):(this.opacity=0,this.displayType="none",this.ariaHidden="true",this.state=!1),this.CDR.destroyed||this.CDR.detectChanges()}extractAppliedClassListExpr(e){if(!e||"string"!=typeof e)return null;try{return e.replace(/ /,"").split(",").reduce((e,t)=>(e[t]=!0,e),{})}catch(t){return null}}clearGlobalResize(){this.globalResize&&"function"==typeof this.globalResize&&this.globalResize()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G),r.Qb(r.S),r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["popper-content"]],viewQuery:function(e,t){if(1&e&&r.Kc(Do,1),2&e){let e;r.sc(e=r.ec())&&(t.popperViewRef=e.first)}},hostBindings:function(e,t){1&e&&r.dc("mouseover",function(){return t.onMouseOver()})("mouseleave",function(){return t.showOnLeave()})},ngContentSelectors:Ao,decls:11,vars:20,consts:[[3,"ngStyle","ngClass"],["popperViewRef",""],["class","ngxp__inner",3,"innerHTML",4,"ngIf"],["class","ngxp__inner",4,"ngIf"],[1,"ngxp__arrow",3,"ngClass"],[1,"ngxp__inner",3,"innerHTML"],[1,"ngxp__inner"]],template:function(e,t){1&e&&(r.lc(Ao),r.Gc(0,"\n "),r.Wb(1,"div",0,1),r.Gc(3,"\n "),r.Ec(4,zo,4,1,"div",2),r.Gc(5,"\n "),r.Ec(6,jo,4,0,"div",3),r.Gc(7,"\n "),r.Rb(8,"div",4),r.Gc(9,"\n\n "),r.Vb(),r.Gc(10,"\n ")),2&e&&(r.Eb(1),r.Bc("display",t.displayType)("opacity",t.opacity),r.Ib("ngxp__container",!t.popperOptions.disableDefaultStyling)("ngxp__animation",!t.popperOptions.disableAnimation),r.mc("ngStyle",t.popperOptions.styles)("ngClass",t.extractAppliedClassListExpr(t.popperOptions.applyClass)),r.Fb("aria-hidden",t.ariaHidden)("aria-describedby",t.popperOptions.ariaDescribe||null)("role",t.popperOptions.ariaRole),r.Eb(3),r.mc("ngIf",t.text),r.Eb(2),r.mc("ngIf",!t.text),r.Eb(2),r.Bc("border-color",t.arrowColor),r.Ib("__force-arrow",t.arrowColor),r.mc("ngClass",t.extractAppliedClassListExpr(t.popperOptions.applyArrowClass)))},directives:[o.p,o.l,o.o],styles:[".ngxp__container{display:none;position:absolute;border-radius:3px;border:1px solid grey;box-shadow:0 0 2px rgba(0,0,0,.5);padding:10px}.ngxp__container.ngxp__animation{-webkit-animation:150ms ease-out ngxp-fadeIn;animation:150ms ease-out ngxp-fadeIn}.ngxp__container>.ngxp__arrow{border-color:grey;width:0;height:0;border-style:solid;position:absolute;margin:5px}.ngxp__container[x-placement^=bottom],.ngxp__container[x-placement^=left],.ngxp__container[x-placement^=right],.ngxp__container[x-placement^=top]{display:block}.ngxp__container[x-placement^=top]{margin-bottom:5px}.ngxp__container[x-placement^=top]>.ngxp__arrow{border-width:5px 5px 0;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.ngxp__container[x-placement^=top]>.ngxp__arrow.__force-arrow{border-right-color:transparent!important;border-bottom-color:transparent!important;border-left-color:transparent!important}.ngxp__container[x-placement^=bottom]{margin-top:5px}.ngxp__container[x-placement^=bottom]>.ngxp__arrow{border-width:0 5px 5px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.ngxp__container[x-placement^=bottom]>.ngxp__arrow.__force-arrow{border-top-color:transparent!important;border-right-color:transparent!important;border-left-color:transparent!important}.ngxp__container[x-placement^=right]{margin-left:5px}.ngxp__container[x-placement^=right]>.ngxp__arrow{border-width:5px 5px 5px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.ngxp__container[x-placement^=right]>.ngxp__arrow.__force-arrow{border-top-color:transparent!important;border-bottom-color:transparent!important;border-left-color:transparent!important}.ngxp__container[x-placement^=left]{margin-right:5px}.ngxp__container[x-placement^=left]>.ngxp__arrow{border-width:5px 0 5px 5px;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.ngxp__container[x-placement^=left]>.ngxp__arrow.__force-arrow{border-top-color:transparent!important;border-bottom-color:transparent!important;border-right-color:transparent!important}@-webkit-keyframes ngxp-fadeIn{0%{display:none;opacity:0}1%{display:block;opacity:0}100%{display:block;opacity:1}}@keyframes ngxp-fadeIn{0%{display:none;opacity:0}1%{display:block;opacity:0}100%{display:block;opacity:1}}"],encapsulation:2,changeDetection:0}),e})(),Mo=(()=>{class e{constructor(t,n,i,o,s,a={}){this.viewContainerRef=t,this.changeDetectorRef=n,this.resolver=i,this.elementRef=o,this.renderer=s,this.popperDefaults=a,this.popperContentClass=Lo,this.shown=!1,this.subscriptions=[],this.eventListeners=[],this.globalEventListeners=[],this.hideTimeout=0,this.timeoutAfterShow=0,this.popperOnShown=new r.n,this.popperOnHidden=new r.n,this.popperOnUpdate=new r.n,e.baseOptions=Object.assign({},e.baseOptions,this.popperDefaults)}hideOnClickOutsideHandler(e){this.disabled||!this.hideOnClickOutside||e.srcElement&&e.srcElement===this.popperContent.elemRef.nativeElement||this.popperContent.elemRef.nativeElement.contains(e.srcElement)||this.scheduledHide(e,this.hideTimeout)}hideOnScrollHandler(e){!this.disabled&&this.hideOnScroll&&this.scheduledHide(e,this.hideTimeout)}applyTriggerListeners(){switch(this.showTrigger){case Ro.CLICK:this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"click",this.toggle.bind(this)));break;case Ro.MOUSEDOWN:this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mousedown",this.toggle.bind(this)));break;case Ro.HOVER:this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mouseenter",this.scheduledShow.bind(this,this.showDelay))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchend",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchcancel",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mouseleave",this.scheduledHide.bind(this,null,this.hideTimeout)))}this.showTrigger!==Ro.HOVER&&this.hideOnMouseLeave&&(this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchend",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"touchcancel",this.scheduledHide.bind(this,null,this.hideTimeout))),this.eventListeners.push(this.renderer.listen(this.elementRef.nativeElement,"mouseleave",this.scheduledHide.bind(this,null,this.hideTimeout))))}static assignDefined(e,...t){for(const n of t)for(const t of Object.keys(n)){const i=n[t];void 0!==i&&(e[t]=i)}return e}ngOnInit(){if(this.hideOnClickOutside=void 0===this.hideOnClickOutside?this.closeOnClickOutside:this.hideOnClickOutside,"string"==typeof this.content){const e=this.content;this.popperContent=this.constructContent(),this.popperContent.text=e}else this.popperContent=this.content;const e=this.popperContent;e.referenceObject=this.getRefElement(),this.setContentProperties(e),this.setDefaults(),this.applyTriggerListeners(),this.showOnStart&&this.scheduledShow()}ngOnChanges(e){e.popperDisabled&&e.popperDisabled.currentValue&&this.hide(),e.content&&!e.content.firstChange&&"string"==typeof e.content.currentValue&&(this.popperContent.text=e.content.currentValue),e.applyClass&&!e.applyClass.firstChange&&"string"==typeof e.applyClass.currentValue&&(this.popperContent.popperOptions.applyClass=e.applyClass.currentValue),e.applyArrowClass&&!e.applyArrowClass.firstChange&&"string"==typeof e.applyArrowClass.currentValue&&(this.popperContent.popperOptions.applyArrowClass=e.applyArrowClass.currentValue)}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe&&e.unsubscribe()),this.subscriptions.length=0,this.clearEventListeners(),this.clearGlobalEventListeners(),clearTimeout(this.scheduledShowTimeout),clearTimeout(this.scheduledHideTimeout),this.popperContent&&this.popperContent.clean()}toggle(){this.disabled||(this.shown?this.scheduledHide(null,this.hideTimeout):this.scheduledShow())}show(){if(this.shown)return void this.overrideHideTimeout();this.shown=!0;const e=this.popperContent,t=this.getRefElement();e.referenceObject!==t&&(e.referenceObject=t),this.setContentProperties(e),e.show(),this.popperOnShown.emit(this),this.timeoutAfterShow>0&&this.scheduledHide(null,this.timeoutAfterShow),this.globalEventListeners.push(this.renderer.listen("document","touchend",this.hideOnClickOutsideHandler.bind(this))),this.globalEventListeners.push(this.renderer.listen("document","click",this.hideOnClickOutsideHandler.bind(this))),this.globalEventListeners.push(this.renderer.listen(this.getScrollParent(this.getRefElement()),"scroll",this.hideOnScrollHandler.bind(this)))}hide(){this.disabled||(this.shown?(this.shown=!1,this.popperContentRef?this.popperContentRef.instance.hide():this.popperContent.hide(),this.popperOnHidden.emit(this),this.clearGlobalEventListeners()):this.overrideShowTimeout())}scheduledShow(e=this.showDelay){this.disabled||(this.overrideHideTimeout(),this.scheduledShowTimeout=setTimeout(()=>{this.show(),this.applyChanges()},e))}scheduledHide(e=null,t=this.hideTimeout){this.disabled||(this.overrideShowTimeout(),this.scheduledHideTimeout=setTimeout(()=>{const t=e?e.toElement:null,n=!!this.popperContent.popperViewRef&&this.popperContent.popperViewRef.nativeElement;!n||n===t||n.contains(t)||this.content.isMouseOver||(this.hide(),this.applyChanges())},t))}getRefElement(){return this.targetElement||this.viewContainerRef.element.nativeElement}applyChanges(){this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges()}setDefaults(){this.showDelay=void 0===this.showDelay?e.baseOptions.showDelay:this.showDelay,this.showTrigger=void 0===this.showTrigger?e.baseOptions.trigger:this.showTrigger,this.hideOnClickOutside=void 0===this.hideOnClickOutside?e.baseOptions.hideOnClickOutside:this.hideOnClickOutside,this.hideOnScroll=void 0===this.hideOnScroll?e.baseOptions.hideOnScroll:this.hideOnScroll,this.hideOnMouseLeave=void 0===this.hideOnMouseLeave?e.baseOptions.hideOnMouseLeave:this.hideOnMouseLeave,this.ariaRole=void 0===this.ariaRole?e.baseOptions.ariaRole:this.ariaRole,this.ariaDescribe=void 0===this.ariaDescribe?e.baseOptions.ariaDescribe:this.ariaDescribe,this.styles=void 0===this.styles?Object.assign({},e.baseOptions.styles):this.styles}clearEventListeners(){this.eventListeners.forEach(e=>{e&&"function"==typeof e&&e()}),this.eventListeners.length=0}clearGlobalEventListeners(){this.globalEventListeners.forEach(e=>{e&&"function"==typeof e&&e()}),this.globalEventListeners.length=0}overrideShowTimeout(){this.scheduledShowTimeout&&(clearTimeout(this.scheduledShowTimeout),this.scheduledHideTimeout=0)}overrideHideTimeout(){this.scheduledHideTimeout&&(clearTimeout(this.scheduledHideTimeout),this.scheduledHideTimeout=0)}constructContent(){const e=this.resolver.resolveComponentFactory(this.popperContentClass);return this.popperContentRef=this.viewContainerRef.createComponent(e),this.popperContentRef.instance}setContentProperties(t){t.popperOptions=e.assignDefined(t.popperOptions,e.baseOptions,{showDelay:this.showDelay,disableAnimation:this.disableAnimation,disableDefaultStyling:this.disableStyle,placement:this.placement,boundariesElement:this.boundariesElement,trigger:this.showTrigger,positionFixed:this.positionFixed,popperModifiers:this.popperModifiers,ariaDescribe:this.ariaDescribe,ariaRole:this.ariaRole,applyClass:this.applyClass,applyArrowClass:this.applyArrowClass,hideOnMouseLeave:this.hideOnMouseLeave,styles:this.styles,appendTo:this.appendTo,preventOverflow:this.preventOverflow}),t.onUpdate=this.onPopperUpdate.bind(this),this.subscriptions.push(t.onHidden.subscribe(this.hide.bind(this)))}getScrollParent(e){const t=e instanceof HTMLElement&&window.getComputedStyle(e).overflowY;return e?"visible"!==t&&"hidden"!==t&&e.scrollHeight>=e.clientHeight?e:this.getScrollParent(e.parentNode)||document:null}onPopperUpdate(e){this.popperOnUpdate.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.S),r.Qb(r.h),r.Qb(r.j),r.Qb(r.l),r.Qb(r.G),r.Qb("popperDefaults"))},e.\u0275dir=r.Lb({type:e,selectors:[["","popper",""]],inputs:{hideTimeout:["popperTimeout","hideTimeout"],timeoutAfterShow:["popperTimeoutAfterShow","timeoutAfterShow"],hideOnClickOutside:["popperHideOnClickOutside","hideOnClickOutside"],showDelay:["popperDelay","showDelay"],showTrigger:["popperTrigger","showTrigger"],hideOnScroll:["popperHideOnScroll","hideOnScroll"],hideOnMouseLeave:["popperHideOnMouseLeave","hideOnMouseLeave"],ariaRole:["popperAriaRole","ariaRole"],ariaDescribe:["popperAriaDescribeBy","ariaDescribe"],styles:["popperStyles","styles"],content:["popper","content"],disabled:["popperDisabled","disabled"],placement:["popperPlacement","placement"],targetElement:["popperTarget","targetElement"],boundariesElement:["popperBoundaries","boundariesElement"],showOnStart:["popperShowOnStart","showOnStart"],closeOnClickOutside:["popperCloseOnClickOutside","closeOnClickOutside"],positionFixed:["popperPositionFixed","positionFixed"],popperModifiers:"popperModifiers",disableStyle:["popperDisableStyle","disableStyle"],disableAnimation:["popperDisableAnimation","disableAnimation"],applyClass:["popperApplyClass","applyClass"],applyArrowClass:["popperApplyArrowClass","applyArrowClass"],appendTo:["popperAppendTo","appendTo"],preventOverflow:["popperPreventOverflow","preventOverflow"]},outputs:{popperOnShown:"popperOnShown",popperOnHidden:"popperOnHidden",popperOnUpdate:"popperOnUpdate"},exportAs:["popper"],features:[r.Cb]}),e.baseOptions={showDelay:0,placement:No.Auto,hideOnClickOutside:!0,hideOnMouseLeave:!1,hideOnScroll:!1,showTrigger:Ro.HOVER,appendTo:void 0,ariaRole:"popper",ariaDescribe:"",styles:{}},e})(),Fo=(()=>{class e{ngDoBootstrap(){}static forRoot(t={}){return{ngModule:e,providers:[{provide:"popperDefaults",useValue:t}]}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c]]}),e})();var Po=n("Wbsq"),Vo=n.n(Po),Go=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};function Bo(e,t){1&e&&(r.Wb(0,"span",25),r.Rb(1,"app-icon",26),r.Vb())}function Wo(e,t){1&e&&(r.Wb(0,"span",25),r.Rb(1,"app-icon",27),r.Vb())}function $o(e,t){if(1&e){const e=r.Xb();r.Wb(0,"app-query-collection-item",28),r.dc("selectQueryChange",function(t){return r.wc(e),r.gc().selectQueryChange.next(t)})("deleteQueryChange",function(t){return r.wc(e),r.gc().deleteQueryChange.next(t)})("deleteCollectionChange",function(t){return r.wc(e),r.gc().deleteCollectionChange.next(t)})("editCollectionChange",function(t){return r.wc(e),r.gc().editCollectionChange.next(t)})("exportCollectionChange",function(t){return r.wc(e),r.gc().exportCollectionChange.next(t)}),r.Vb()}2&e&&r.mc("collection",t.$implicit)}function Uo(e,t){if(1&e&&(r.Wb(0,"span",40),r.Gc(1,"\n "),r.Rb(2,"app-icon",41),r.Gc(3,"\n "),r.Vb()),2&e){r.gc();const e=r.tc(10);r.mc("popper",e)("popperPlacement","bottom")}}function Ho(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",29),r.Gc(1,"\n "),r.Wb(2,"span",30),r.dc("click",function(){r.wc(e);const n=t.$implicit,i=r.gc();return i.selectQueryChange.next({query:n,collectionId:i.collection.id,windowIdInCollection:n.id})}),r.Gc(3,"\n "),r.Wb(4,"span",25),r.Rb(5,"app-icon",31),r.Vb(),r.Gc(6),r.Ec(7,Uo,4,2,"span",32),r.Gc(8,"\n "),r.Wb(9,"popper-content",null,33),r.Gc(11),r.hc(12,"translate"),r.Wb(13,"a",34),r.Gc(14),r.hc(15,"translate"),r.Vb(),r.Gc(16,"\n "),r.Vb(),r.Gc(17,"\n "),r.Vb(),r.Gc(18,"\n "),r.Wb(19,"span",35),r.Gc(20,"\n "),r.Wb(21,"span",36),r.Gc(22,"\n "),r.Wb(23,"button",37),r.Gc(24,"\n "),r.Rb(25,"app-icon",9),r.Gc(26,"\n "),r.Vb(),r.Gc(27,"\n "),r.Vb(),r.Gc(28,"\n "),r.Wb(29,"nz-dropdown-menu",null,38),r.Gc(31,"\n "),r.Wb(32,"ul",11),r.Gc(33,"\n "),r.Wb(34,"li",39),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc().deleteQuery(n)}),r.Gc(35),r.hc(36,"translate"),r.Vb(),r.Gc(37,"\n "),r.Vb(),r.Gc(38,"\n "),r.Vb(),r.Gc(39,"\n "),r.Vb(),r.Gc(40,"\n "),r.Vb()}if(2&e){const e=t.$implicit,n=r.tc(30);r.Eb(6),r.Ic("\n ",e.windowName,"\n "),r.Eb(1),r.mc("ngIf",!e.id),r.Eb(4),r.Ic("\n ",r.ic(12,6,"COLLECTIONS_DEPRECATED_QUERY_WARNING"),"\n "),r.Eb(3),r.Hc(r.ic(15,8,"LEARN_MORE_TEXT")),r.Eb(9),r.mc("nzDropdownMenu",n),r.Eb(12),r.Ic("\n ",r.ic(36,10,"COLLECTIONS_QUERY_MENU_DELETE"),"\n ")}}const qo=function(e){return{"query-collections__item-content--hidden":e}};let Qo=(()=>{class e{constructor(){this.selectQueryChange=new r.n,this.deleteQueryChange=new r.n,this.deleteCollectionChange=new r.n,this.editCollectionChange=new r.n,this.exportCollectionChange=new r.n,this.sortBy="newest",this.showContent=!0}ngOnInit(){}getQueryCount(e){return e.queries&&e.queries.length}toggleContent(){this.showContent=!this.showContent}deleteQuery(e){confirm("Are you sure you want to delete this query from the collection?")&&this.deleteQueryChange.next({query:e,collectionId:this.collection.id})}deleteCollection(){confirm("Are you sure you want to delete this collection?")&&this.deleteCollectionChange.next({collectionId:this.collection.id})}editCollection(){this.editCollectionChange.next({collection:this.collection})}exportCollection(){this.exportCollectionChange.next({collectionId:this.collection.id})}setQueriesSortBy(e){this.sortBy=e}sortedCollectionQueries(e,t){if(!e)return[];switch(t){case"a-z":return e.sort((e,t)=>{const n=e.windowName.toLowerCase()||e.updated_at,i=t.windowName.toLowerCase()||t.updated_at;return n>i?1:n{const n=e.windowName.toLowerCase()||e.updated_at,i=t.windowName.toLowerCase()||t.updated_at;return n>i?-1:n{const n=e.updated_at||e.windowName.toLowerCase(),i=t.updated_at||t.windowName.toLowerCase();return n>i?-1:n{const n=e.updated_at||e.windowName.toLowerCase(),i=t.updated_at||t.windowName.toLowerCase();return n>i?1:n=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);o>3&&s&&Object.defineProperty(t,n,s)}([function(e,t,n){const i=n.value,r=Vo()(i,{max:1});n.value=function(){return r.apply(this,arguments)}},Go("design:type",Function),Go("design:paramtypes",[Array,String]),Go("design:returntype",void 0)],e.prototype,"sortedCollectionQueries",null),e})();function Ko(e,t){1&e&&(r.Ub(0),r.Gc(1),r.hc(2,"translate"),r.Tb()),2&e&&(r.Eb(1),r.Hc(r.ic(2,1,"COLLECTIONS_SORT_BY_A_Z")))}function Xo(e,t){1&e&&(r.Ub(0),r.Gc(1),r.hc(2,"translate"),r.Tb()),2&e&&(r.Eb(1),r.Hc(r.ic(2,1,"COLLECTIONS_SORT_BY_Z_A")))}function Yo(e,t){1&e&&(r.Ub(0),r.Gc(1),r.hc(2,"translate"),r.Tb()),2&e&&(r.Eb(1),r.Hc(r.ic(2,1,"COLLECTIONS_SORT_BY_NEWEST")))}function Jo(e,t){1&e&&(r.Ub(0),r.Gc(1),r.hc(2,"translate"),r.Tb()),2&e&&(r.Eb(1),r.Hc(r.ic(2,1,"COLLECTIONS_SORT_BY_OLDEST")))}function Zo(e,t){if(1&e){const e=r.Xb();r.Wb(0,"app-query-collection-item",17),r.dc("selectQueryChange",function(t){return r.wc(e),r.gc(2).selectQueryChange.next(t)})("deleteQueryChange",function(t){return r.wc(e),r.gc(2).deleteQueryChange.next(t)})("deleteCollectionChange",function(t){return r.wc(e),r.gc(2).deleteCollectionChange.next(t)})("editCollectionChange",function(t){return r.wc(e),r.gc(2).editCollectionChange.next(t)})("exportCollectionChange",function(t){return r.wc(e),r.gc(2).exportCollectionChange.next(t)}),r.Vb()}2&e&&r.mc("collection",t.$implicit)}function es(e,t){1&e&&(r.Wb(0,"div",18),r.Gc(1,"\n "),r.Wb(2,"div",19),r.Gc(3,"\n "),r.Rb(4,"app-icon",20),r.Gc(5,"\n "),r.Vb(),r.Gc(6,"\n "),r.Wb(7,"div",21),r.Gc(8),r.hc(9,"translate"),r.Vb(),r.Gc(10,"\n "),r.Vb()),2&e&&(r.Eb(8),r.Ic("\n ",r.ic(9,1,"COLLECTIONS_EMPTY_TEXT"),"\n "))}function ts(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",2),r.Gc(1,"\n "),r.Wb(2,"div",3),r.Gc(3),r.hc(4,"translate"),r.Vb(),r.Gc(5,"\n "),r.Wb(6,"div",4),r.Gc(7,"\n "),r.Wb(8,"button",5),r.dc("click",function(){return r.wc(e),r.gc().importCollectionChange.next()}),r.hc(9,"translate"),r.Gc(10,"\n "),r.Rb(11,"app-icon",6),r.Gc(12,"\n "),r.Vb(),r.Gc(13,"\n "),r.Wb(14,"div",7),r.Gc(15,"\n "),r.Wb(16,"button",8),r.Gc(17,"\n "),r.Ub(18,9),r.Gc(19,"\n "),r.Ec(20,Ko,3,3,"ng-container",10),r.Gc(21,"\n "),r.Ec(22,Xo,3,3,"ng-container",10),r.Gc(23,"\n "),r.Ec(24,Yo,3,3,"ng-container",10),r.Gc(25,"\n "),r.Ec(26,Jo,3,3,"ng-container",10),r.Gc(27,"\n "),r.Tb(),r.Gc(28,"\n "),r.Vb(),r.Gc(29,"\n "),r.Wb(30,"nz-dropdown-menu",null,11),r.Gc(32,"\n "),r.Wb(33,"ul",12),r.Gc(34,"\n "),r.Wb(35,"li",13),r.dc("click",function(){return r.wc(e),r.gc().sortCollectionsChange.next({sortBy:"a-z"})}),r.Gc(36),r.hc(37,"translate"),r.Vb(),r.Gc(38,"\n "),r.Wb(39,"li",13),r.dc("click",function(){return r.wc(e),r.gc().sortCollectionsChange.next({sortBy:"z-a"})}),r.Gc(40),r.hc(41,"translate"),r.Vb(),r.Gc(42,"\n "),r.Wb(43,"li",13),r.dc("click",function(){return r.wc(e),r.gc().sortCollectionsChange.next({sortBy:"newest"})}),r.Gc(44),r.hc(45,"translate"),r.Vb(),r.Gc(46,"\n "),r.Wb(47,"li",13),r.dc("click",function(){return r.wc(e),r.gc().sortCollectionsChange.next({sortBy:"oldest"})}),r.Gc(48),r.hc(49,"translate"),r.Vb(),r.Gc(50,"\n "),r.Vb(),r.Gc(51,"\n "),r.Vb(),r.Gc(52,"\n "),r.Vb(),r.Gc(53,"\n "),r.Vb(),r.Gc(54,"\n "),r.Wb(55,"div",14),r.Gc(56,"\n "),r.Ec(57,Zo,1,1,"app-query-collection-item",15),r.Gc(58,"\n "),r.Ec(59,es,11,3,"div",16),r.Gc(60,"\n "),r.Vb(),r.Gc(61,"\n "),r.Vb()}if(2&e){const e=r.tc(31),t=r.gc();r.Eb(3),r.Hc(r.ic(4,16,"COLLECTIONS_TEXT")),r.Eb(5),r.mc("popper",r.ic(9,18,"COLLECTIONS_IMPORT_TEXT"))("popperPlacement","bottom"),r.Eb(8),r.mc("nzDropdownMenu",e),r.Eb(2),r.mc("ngSwitch",t.sortBy),r.Eb(2),r.mc("ngSwitchCase","a-z"),r.Eb(2),r.mc("ngSwitchCase","z-a"),r.Eb(2),r.mc("ngSwitchCase","newest"),r.Eb(2),r.mc("ngSwitchCase","oldest"),r.Eb(10),r.Ic("\n ",r.ic(37,20,"COLLECTIONS_SORT_BY_A_Z"),"\n "),r.Eb(4),r.Ic("\n ",r.ic(41,22,"COLLECTIONS_SORT_BY_Z_A"),"\n "),r.Eb(4),r.Ic("\n ",r.ic(45,24,"COLLECTIONS_SORT_BY_NEWEST"),"\n "),r.Eb(4),r.Ic("\n ",r.ic(49,26,"COLLECTIONS_SORT_BY_OLDEST"),"\n "),r.Eb(9),r.mc("ngForOf",t.collections)("ngForTrackBy",t.trackById),r.Eb(2),r.mc("ngIf",!(null!=t.collections&&t.collections.length))}}const ns=function(e){return{"query-collections-wrapper--close":e}};let is=(()=>{class e{constructor(){this.showCollections=!0,this.collections=[],this.sortBy="",this.loadCollectionsChange=new r.n,this.selectQueryChange=new r.n,this.deleteQueryChange=new r.n,this.deleteCollectionChange=new r.n,this.editCollectionChange=new r.n,this.exportCollectionChange=new r.n,this.importCollectionChange=new r.n,this.sortCollectionsChange=new r.n}ngOnInit(){this.loadCollectionsChange.next()}trackById(e,t){return t.id}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-query-collections"]],inputs:{showCollections:"showCollections",collections:"collections",sortBy:"sortBy"},outputs:{loadCollectionsChange:"loadCollectionsChange",selectQueryChange:"selectQueryChange",deleteQueryChange:"deleteQueryChange",deleteCollectionChange:"deleteCollectionChange",editCollectionChange:"editCollectionChange",exportCollectionChange:"exportCollectionChange",importCollectionChange:"importCollectionChange",sortCollectionsChange:"sortCollectionsChange"},decls:5,vars:4,consts:[[1,"query-collections-wrapper",3,"ngClass"],["class","query-collections__inner",4,"ngIf"],[1,"query-collections__inner"],[1,"query-collections__title"],[1,"query-collections__actions","clearfix"],["type","button","data-test-id","import-collection",1,"icon-button",3,"popper","popperPlacement","click"],["name","log-in"],[1,"query-collections__actions--right"],["nz-dropdown","","nzTrigger","click","type","button",1,"icon-button",3,"nzDropdownMenu"],[3,"ngSwitch"],[4,"ngSwitchCase"],["docViewerMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"click"],[1,"query-collections__items-wrapper"],[3,"collection","selectQueryChange","deleteQueryChange","deleteCollectionChange","editCollectionChange","exportCollectionChange",4,"ngFor","ngForOf","ngForTrackBy"],["class","query-collections__empty",4,"ngIf"],[3,"collection","selectQueryChange","deleteQueryChange","deleteCollectionChange","editCollectionChange","exportCollectionChange"],[1,"query-collections__empty"],[1,"query-collections__empty-icon"],["name","sidebar","size","40"],[1,"query-collections__empty-description"]],template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Gc(1,"\n "),r.Ec(2,ts,62,28,"div",1),r.Gc(3,"\n"),r.Vb(),r.Gc(4,"\n")),2&e&&(r.mc("ngClass",r.pc(2,ns,!t.showCollections)),r.Eb(2),r.mc("ngIf",t.showCollections))},directives:[o.l,o.o,Mo,Xi.a,Sr.a,o.q,o.r,Sr.c,Ve.c,Ki.a,Ve.e,o.n,Qo],pipes:[y.c],styles:[""]}),e})();n("QlJJ");const rs=(e,t=!1)=>{if(e){if(t)return e.refresh();if(e&&e.display.wrapper.offsetHeight&&e.display.lastWrapHeight!==e.display.wrapper.clientHeight)return e.refresh()}};n("+dQi"),n("iCJ0"),n("0t4y"),n("mki7");var os=n("79xS"),ss=n("NXyV"),as=n("R1ws"),cs=n("2Vo4");function ls(e){return function(t){var n=t||{},i=n.width?String(n.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}function us(e){return function(t,n){var i,r=n||{};if("formatting"===(r.context?String(r.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=r.width?String(r.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{var a=e.defaultWidth,c=r.width?String(r.width):e.defaultWidth;i=e.values[c]||e.values[a]}return i[e.argumentCallback?e.argumentCallback(t):t]}}function hs(e){return function(t,n){var i=String(t),r=n||{},o=r.width,s=i.match(o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth]);if(!s)return null;var a,c=s[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth];return a="[object Array]"===Object.prototype.toString.call(l)?function(e,t){for(var n=0;n{class e{constructor(e,t){this._change=new cs.a(this._locale),this.setLocale(e||ps),this.setDateLocale(t||null)}get localeChange(){return this._change.asObservable()}translate(e,t){let n=this._getObjectPath(this._locale,e);return"string"==typeof n?(t&&Object.keys(t).forEach(e=>n=n.replace(new RegExp(`%${e}%`,"g"),t[e])),n):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e}getDateLocale(){return this.dateLocale}getLocaleData(e,t){const n=e?this._getObjectPath(this._locale,e):this._locale;return n||t||Object(os.b)(`Missing translations for "${e}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),n||t||this._getObjectPath(ds,e)||{}}_getObjectPath(e,t){let n=e;const i=t.split("."),r=i.length;let o=0;for(;n&&o{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})();new r.s("date-config");var vs=n("R0Ic"),ys=n("OzZK");let ws=(()=>{class e{transform(e,t="px"){let n="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(e=>e===t)&&(n=t),"number"==typeof e?`${e}${n}`:`${e}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Pb({name:"nzToCssUnit",type:e,pure:!0}),e})(),_s=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c]]}),e})();var Os=n("2Suw"),Cs=n("RwU8");const Es=["modalElement"];function Ss(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",16),r.dc("click",function(){return r.wc(e),r.gc().onCloseClick()}),r.Vb()}}function Ts(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Rb(2,"span",17),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("innerHTML",e.config.nzTitle,r.xc)}}function xs(e,t){}function ks(e,t){if(1&e&&r.Rb(0,"div",17),2&e){const e=r.gc();r.mc("innerHTML",e.config.nzContent,r.xc)}}function Is(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",18),r.dc("click",function(){return r.wc(e),r.gc().onCancel()}),r.Gc(1),r.Vb()}if(2&e){const e=r.gc();r.mc("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),r.Fb("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),r.Eb(1),r.Ic("\n ",e.config.nzCancelText||e.locale.cancelText,"\n ")}}function Ds(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",19),r.dc("click",function(){return r.wc(e),r.gc().onOk()}),r.Gc(1),r.Vb()}if(2&e){const e=r.gc();r.mc("nzType",e.config.nzOkType)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled)("nzDanger",e.config.nzOkDanger),r.Fb("cdkFocusInitial","ok"===e.config.nzAutofocus||null),r.Eb(1),r.Ic("\n ",e.config.nzOkText||e.locale.okText,"\n ")}}function zs(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",9),r.dc("click",function(){return r.wc(e),r.gc().onCloseClick()}),r.Vb()}}function js(e,t){1&e&&r.Rb(0,"div",10)}function As(e,t){}function Rs(e,t){if(1&e&&r.Rb(0,"div",11),2&e){const e=r.gc();r.mc("innerHTML",e.config.nzContent,r.xc)}}function Ns(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",12),r.dc("cancelTriggered",function(){return r.wc(e),r.gc().onCloseClick()})("okTriggered",function(){return r.wc(e),r.gc().onOkClick()}),r.Vb()}if(2&e){const e=r.gc();r.mc("modalRef",e.modalRef)}}function Ls(e,t){1&e&&r.kc(0)}const Ms=["*"],Fs=["nz-modal-close",""];function Ps(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Rb(2,"i",2),r.Gc(3,"\n "),r.Tb()),2&e){const e=t.$implicit;r.Eb(2),r.mc("nzType",e)}}const Vs=["nz-modal-footer",""];function Gs(e,t){if(1&e&&r.Rb(0,"div",5),2&e){const e=r.gc(3);r.mc("innerHTML",e.config.nzTitle,r.xc)}}function Bs(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",7),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc(4).onButtonClick(n)}),r.Gc(1),r.Vb()}if(2&e){const e=t.$implicit,n=r.gc(4);r.mc("hidden",!n.getButtonCallableProp(e,"show"))("nzLoading",n.getButtonCallableProp(e,"loading"))("disabled",n.getButtonCallableProp(e,"disabled"))("nzType",e.type)("nzDanger",e.danger)("nzShape",e.shape)("nzSize",e.size)("nzGhost",e.ghost),r.Eb(1),r.Ic("\n ",e.label,"\n ")}}function Ws(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,Bs,2,9,"button",6),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc(3);r.Eb(2),r.mc("ngForOf",e.buttons)}}function $s(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,Gs,1,1,"div",3),r.Gc(3,"\n "),r.Ec(4,Ws,4,1,"ng-container",4),r.Gc(5,"\n "),r.Tb()),2&e){const e=r.gc(2);r.Eb(2),r.mc("ngIf",!e.buttonsFooter),r.Eb(2),r.mc("ngIf",e.buttonsFooter)}}const Us=function(e,t){return{$implicit:e,modalRef:t}};function Hs(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,$s,6,2,"ng-container",2),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("nzStringTemplateOutlet",e.config.nzFooter)("nzStringTemplateOutletContext",r.qc(2,Us,e.config.nzComponentParams,e.modalRef))}}function qs(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",10),r.dc("click",function(){return r.wc(e),r.gc(2).onCancel()}),r.Gc(1),r.Vb()}if(2&e){const e=r.gc(2);r.mc("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),r.Fb("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),r.Eb(1),r.Ic("\n ",e.config.nzCancelText||e.locale.cancelText,"\n ")}}function Qs(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",11),r.dc("click",function(){return r.wc(e),r.gc(2).onOk()}),r.Gc(1),r.Vb()}if(2&e){const e=r.gc(2);r.mc("nzType",e.config.nzOkType)("nzDanger",e.config.nzOkDanger)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled),r.Fb("cdkFocusInitial","ok"===e.config.nzAutofocus||null),r.Eb(1),r.Ic("\n ",e.config.nzOkText||e.locale.okText,"\n ")}}function Ks(e,t){if(1&e&&(r.Gc(0,"\n "),r.Ec(1,qs,2,4,"button",8),r.Gc(2,"\n "),r.Ec(3,Qs,2,6,"button",9),r.Gc(4,"\n ")),2&e){const e=r.gc();r.Eb(1),r.mc("ngIf",null!==e.config.nzCancelText),r.Eb(2),r.mc("ngIf",null!==e.config.nzOkText)}}const Xs=["nz-modal-title",""];function Ys(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Rb(2,"div",2),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("innerHTML",e.config.nzTitle,r.xc)}}const Js=()=>{};class Zs{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=Js,this.nzOnOk=Js,this.nzIconType="question-circle"}}const ea={modalContainer:Object(vs.l)("modalContainer",[Object(vs.i)("void, exit",Object(vs.j)({})),Object(vs.i)("enter",Object(vs.j)({})),Object(vs.k)("* => enter",Object(vs.e)(".24s",Object(vs.j)({}))),Object(vs.k)("* => void, * => exit",Object(vs.e)(".2s",Object(vs.j)({})))])};function ta(e,t,n){return void 0===e?void 0===t?n:t:e}function na(e){const{nzCentered:t,nzMask:n,nzMaskClosable:i,nzClosable:r,nzOkLoading:o,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:c,nzKeyboard:l,nzNoAnimation:u,nzContent:h,nzComponentParams:d,nzFooter:p,nzZIndex:f,nzWidth:g,nzWrapClassName:m,nzClassName:b,nzStyle:v,nzTitle:y,nzCloseIcon:w,nzMaskStyle:_,nzBodyStyle:O,nzOkText:C,nzCancelText:E,nzOkType:S,nzOkDanger:T,nzIconType:x,nzModalType:k,nzOnOk:I,nzOnCancel:D,nzAfterOpen:z,nzAfterClose:j,nzCloseOnNavigation:A,nzAutofocus:R}=e;return{nzCentered:t,nzMask:n,nzMaskClosable:i,nzClosable:r,nzOkLoading:o,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:c,nzKeyboard:l,nzNoAnimation:u,nzContent:h,nzComponentParams:d,nzFooter:p,nzZIndex:f,nzWidth:g,nzWrapClassName:m,nzClassName:b,nzStyle:v,nzTitle:y,nzCloseIcon:w,nzMaskStyle:_,nzBodyStyle:O,nzOkText:C,nzCancelText:E,nzOkType:S,nzOkDanger:T,nzIconType:x,nzModalType:k,nzOnOk:I,nzOnCancel:D,nzAfterOpen:z,nzAfterClose:j,nzCloseOnNavigation:A,nzAutofocus:R}}function ia(){throw Error("Attempting to attach modal content after content is already attached")}let ra=(()=>{class e extends at.a{constructor(e,t,n,i,o,s,a,c,l){super(),this.elementRef=e,this.focusTrapFactory=t,this.cdr=n,this.render=i,this.overlayRef=o,this.nzConfigService=s,this.config=a,this.animationType=l,this.animationStateChanged=new r.n,this.containerClick=new r.n,this.cancelTriggered=new r.n,this.okTriggered=new r.n,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new fe.a,this.document=c,this.dir=o.getDirection(),this.isStringContent="string"==typeof a.nzContent,this.nzConfigService.getConfigChangeEventForComponent("modal").pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}get showMask(){const e=this.nzConfigService.getConfigForComponent("modal")||{};return!!ta(this.config.nzMask,e.nzMask,!0)}get maskClosable(){const e=this.nzConfigService.getConfigForComponent("modal")||{};return!!ta(this.config.nzMaskClosable,e.nzMaskClosable,!0)}onContainerClick(e){e.target===e.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onMousedown(){this.mouseDown=!0}onMouseup(){this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(e){return this.portalOutlet.hasAttached()&&ia(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this.portalOutlet.hasAttached()&&ia(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(e)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.elementRef.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const e=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const t=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),n=Object(_e.d)(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(e,"transform-origin",`${n.left+t.width/2-e.offsetLeft}px ${n.top+t.height/2-e.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.elementRef.nativeElement.focus&&Promise.resolve().then(()=>this.elementRef.nativeElement.focus()))}trapFocus(){const e=this.elementRef.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady().then();else{const t=this.document.activeElement;t===e||e.contains(t)||e.focus()}}restoreFocus(){const e=this.elementFocusedBeforeModalWasOpened;if(e&&"function"==typeof e.focus){const t=this.document.activeElement,n=this.elementRef.nativeElement;t&&t!==this.document.body&&t!==n&&!n.contains(t)||e.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const e=this.modalElementRef.nativeElement,t=this.overlayRef.backdropElement;e.classList.add("zoom-enter"),e.classList.add("zoom-enter-active"),t&&(t.classList.add("fade-enter"),t.classList.add("fade-enter-active"))}setExitAnimationClass(){const e=this.modalElementRef.nativeElement;e.classList.add("zoom-leave"),e.classList.add("zoom-leave-active"),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(e=!1){const t=this.overlayRef.backdropElement;if(t){if(this.animationDisabled()||e)return void t.classList.remove("ant-modal-mask");t.classList.add("fade-leave"),t.classList.add("fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const e=this.overlayRef.backdropElement,t=this.modalElementRef.nativeElement;e&&(e.classList.remove("fade-enter"),e.classList.remove("fade-enter-active")),t.classList.remove("zoom-enter"),t.classList.remove("zoom-enter-active"),t.classList.remove("zoom-leave"),t.classList.remove("zoom-leave-active")}setZIndexForBackdrop(){const e=this.overlayRef.backdropElement;e&&Object(_e.h)(this.config.nzZIndex)&&this.render.setStyle(e,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const e=this.overlayRef.backdropElement;if(e&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(t=>{this.render.removeStyle(e,t)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const t=Object.assign({},this.config.nzMaskStyle);Object.keys(t).forEach(n=>{this.render.setStyle(e,n,t[n])}),this.oldMaskStyle=t}}updateMaskClassname(){const e=this.overlayRef.backdropElement;e&&(this.showMask?e.classList.add("ant-modal-mask"):e.classList.remove("ant-modal-mask"))}onAnimationDone(e){"enter"===e.toState?this.trapFocus():"exit"===e.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(e)}onAnimationStart(e){"enter"===e.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===e.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(e)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(yt),r.Qb(r.h),r.Qb(r.G),r.Qb(ot.i),r.Qb(Os.a),r.Qb(Zs),r.Qb(void 0),r.Qb(String))},e.\u0275dir=r.Lb({type:e,features:[r.Bb]}),e})(),oa=(()=>{class e extends ra{constructor(e,t,n,i,o,s,a,c,l,u){super(t,n,i,o,s,a,c,l,u),this.i18n=e,this.config=c,this.cancelTriggered=new r.n,this.okTriggered=new r.n,this.i18n.localeChange.pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(ms),r.Qb(r.l),r.Qb(yt),r.Qb(r.h),r.Qb(r.G),r.Qb(ot.i),r.Qb(Os.a),r.Qb(Zs),r.Qb(o.d,8),r.Qb(as.a,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-modal-confirm-container"]],viewQuery:function(e,t){if(1&e&&(r.Kc(at.b,3),r.Kc(Es,3)),2&e){let e;r.sc(e=r.ec())&&(t.portalOutlet=e.first),r.sc(e=r.ec())&&(t.modalElementRef=e.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,t){1&e&&(r.Cc("@modalContainer.start",function(e){return t.onAnimationStart(e)})("@modalContainer.done",function(e){return t.onAnimationDone(e)}),r.dc("click",function(e){return t.onContainerClick(e)})("mouseup",function(){return t.onMouseup()})),2&e&&(r.Dc("@.disabled",t.config.nzNoAnimation)("@modalContainer",t.state),r.Gb(t.config.nzWrapClassName?"ant-modal-wrap "+t.config.nzWrapClassName:"ant-modal-wrap"),r.Bc("z-index",t.config.nzZIndex),r.Ib("ant-modal-wrap-rtl","rtl"===t.dir)("ant-modal-centered",t.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[r.Bb],decls:41,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle","mousedown"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",0,1),r.dc("mousedown",function(){return t.onMousedown()}),r.hc(3,"nzToCssUnit"),r.Gc(4,"\n "),r.Wb(5,"div",2),r.Gc(6,"\n "),r.Ec(7,Ss,1,0,"button",3),r.Gc(8,"\n "),r.Wb(9,"div",4),r.Gc(10,"\n "),r.Wb(11,"div",5),r.Gc(12,"\n "),r.Wb(13,"div",6),r.Gc(14,"\n "),r.Rb(15,"i",7),r.Gc(16,"\n "),r.Wb(17,"span",8),r.Gc(18,"\n "),r.Ec(19,Ts,4,1,"ng-container",9),r.Gc(20,"\n "),r.Vb(),r.Gc(21,"\n "),r.Wb(22,"div",10),r.Gc(23,"\n "),r.Ec(24,xs,0,0,"ng-template",11),r.Gc(25,"\n "),r.Ec(26,ks,1,1,"div",12),r.Gc(27,"\n "),r.Vb(),r.Gc(28,"\n "),r.Vb(),r.Gc(29,"\n "),r.Wb(30,"div",13),r.Gc(31,"\n "),r.Ec(32,Is,2,4,"button",14),r.Gc(33,"\n "),r.Ec(34,Ds,2,6,"button",15),r.Gc(35,"\n "),r.Vb(),r.Gc(36,"\n "),r.Vb(),r.Gc(37,"\n "),r.Vb(),r.Gc(38,"\n "),r.Vb(),r.Gc(39,"\n "),r.Vb(),r.Gc(40,"\n ")),2&e&&(r.Eb(1),r.Bc("width",r.ic(3,11,null==t.config?null:t.config.nzWidth)),r.mc("ngClass",t.config.nzClassName)("ngStyle",t.config.nzStyle),r.Eb(6),r.mc("ngIf",t.config.nzClosable),r.Eb(2),r.mc("ngStyle",t.config.nzBodyStyle),r.Eb(6),r.mc("nzType",t.config.nzIconType),r.Eb(4),r.mc("nzStringTemplateOutlet",t.config.nzTitle),r.Eb(7),r.mc("ngIf",t.isStringContent),r.Eb(6),r.mc("ngIf",null!==t.config.nzCancelText),r.Eb(2),r.mc("ngIf",null!==t.config.nzOkText))},directives:function(){return[o.l,o.p,o.o,Ki.a,Ge.a,tr.b,at.b,da,ys.a,Cs.a]},pipes:function(){return[ws]},encapsulation:2,data:{animation:[ea.modalContainer]}}),e})(),sa=(()=>{class e extends ra{constructor(e,t,n,i,r,o,s,a,c){super(e,t,n,i,r,o,s,a,c),this.config=s}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(yt),r.Qb(r.h),r.Qb(r.G),r.Qb(ot.i),r.Qb(Os.a),r.Qb(Zs),r.Qb(o.d,8),r.Qb(as.a,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-modal-container"]],viewQuery:function(e,t){if(1&e&&(r.Kc(at.b,3),r.Kc(Es,3)),2&e){let e;r.sc(e=r.ec())&&(t.portalOutlet=e.first),r.sc(e=r.ec())&&(t.modalElementRef=e.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,t){1&e&&(r.Cc("@modalContainer.start",function(e){return t.onAnimationStart(e)})("@modalContainer.done",function(e){return t.onAnimationDone(e)}),r.dc("click",function(e){return t.onContainerClick(e)})("mouseup",function(){return t.onMouseup()})),2&e&&(r.Dc("@.disabled",t.config.nzNoAnimation)("@modalContainer",t.state),r.Gb(t.config.nzWrapClassName?"ant-modal-wrap "+t.config.nzWrapClassName:"ant-modal-wrap"),r.Bc("z-index",t.config.nzZIndex),r.Ib("ant-modal-wrap-rtl","rtl"===t.dir)("ant-modal-centered",t.config.nzCentered))},exportAs:["nzModalContainer"],features:[r.Bb],decls:22,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle","mousedown"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",0,1),r.dc("mousedown",function(){return t.onMousedown()}),r.hc(3,"nzToCssUnit"),r.Gc(4,"\n "),r.Wb(5,"div",2),r.Gc(6,"\n "),r.Ec(7,zs,1,0,"button",3),r.Gc(8,"\n "),r.Ec(9,js,1,0,"div",4),r.Gc(10,"\n "),r.Wb(11,"div",5),r.Gc(12,"\n "),r.Ec(13,As,0,0,"ng-template",6),r.Gc(14,"\n "),r.Ec(15,Rs,1,1,"div",7),r.Gc(16,"\n "),r.Vb(),r.Gc(17,"\n "),r.Ec(18,Ns,1,1,"div",8),r.Gc(19,"\n "),r.Vb(),r.Gc(20,"\n "),r.Vb(),r.Gc(21,"\n ")),2&e&&(r.Eb(1),r.Bc("width",r.ic(3,9,null==t.config?null:t.config.nzWidth)),r.mc("ngClass",t.config.nzClassName)("ngStyle",t.config.nzStyle),r.Eb(6),r.mc("ngIf",t.config.nzClosable),r.Eb(2),r.mc("ngIf",t.config.nzTitle),r.Eb(2),r.mc("ngStyle",t.config.nzBodyStyle),r.Eb(4),r.mc("ngIf",t.isStringContent),r.Eb(3),r.mc("ngIf",null!==t.config.nzFooter))},directives:function(){return[o.l,o.p,o.o,at.b,da,ga,pa]},pipes:function(){return[ws]},encapsulation:2,data:{animation:[ea.modalContainer]}}),e})();class aa{constructor(e,t,n){this.overlayRef=e,this.config=t,this.containerInstance=n,this.componentInstance=null,this.state=0,this.afterClose=new fe.a,this.afterOpen=new fe.a,n.animationStateChanged.pipe(Object(p.a)(e=>"done"===e.phaseName&&"enter"===e.toState),Object(l.a)(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),t.nzAfterOpen instanceof r.n&&t.nzAfterOpen.emit()}),n.animationStateChanged.pipe(Object(p.a)(e=>"done"===e.phaseName&&"exit"===e.toState),Object(l.a)(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),n.containerClick.pipe(Object(l.a)(1)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),e.keydownEvents().pipe(Object(p.a)(e=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&e.keyCode===ct.f&&!Object(ct.p)(e))).subscribe(e=>{e.preventDefault(),this.trigger("cancel")}),n.cancelTriggered.subscribe(()=>this.trigger("cancel")),n.okTriggered.subscribe(()=>this.trigger("ok")),e.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),t.nzAfterClose instanceof r.n&&t.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(e){this.close(e)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(e){this.result=e,this.containerInstance.animationStateChanged.pipe(Object(p.a)(e=>"start"===e.phaseName),Object(l.a)(1)).subscribe(e=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},e.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1}updateConfig(e){Object.assign(this.config,e),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(e){return Object(me.a)(this,void 0,void 0,function*(){const t={ok:this.config.nzOnOk,cancel:this.config.nzOnCancel}[e],n={ok:"nzOkLoading",cancel:"nzCancelLoading"}[e];if(!this.config[n])if(t instanceof r.n)t.emit(this.getContentComponent());else if("function"==typeof t){const e=t(this.getContentComponent());if(Object(_e.j)(e)){this.config[n]=!0;let t=!1;try{t=yield e}finally{this.config[n]=!1,this.closeWhitResult(t)}}else this.closeWhitResult(e)}})}closeWhitResult(e){!1!==e&&this.close(e)}_finishDialogClose(){this.state=2,this.overlayRef.dispose()}}let ca=(()=>{class e{constructor(e,t,n,i,r){this.overlay=e,this.injector=t,this.nzConfigService=n,this.parentModal=i,this.directionality=r,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new fe.a,this.afterAllClose=Object(ss.a)(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(we.a)(void 0)))}get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const e=this.parentModal;return e?e._afterAllClosed:this.afterAllClosedAtThisLevel}create(e){return this.open(e.nzContent,e)}closeAll(){this.closeModals(this.openModals)}confirm(e={},t="confirm"){return"nzFooter"in e&&Object(os.b)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in e||(e.nzWidth=416),"nzMaskClosable"in e||(e.nzMaskClosable=!1),e.nzModalType="confirm",e.nzClassName=`ant-modal-confirm ant-modal-confirm-${t} ${e.nzClassName||""}`,this.create(e)}info(e={}){return this.confirmFactory(e,"info")}success(e={}){return this.confirmFactory(e,"success")}error(e={}){return this.confirmFactory(e,"error")}warning(e={}){return this.confirmFactory(e,"warning")}open(e,t){const n=function(e,t){return Object.assign(Object.assign({},t),e)}(t||{},new Zs),i=this.createOverlay(n),r=this.attachModalContainer(i,n),o=this.attachModalContent(e,r,i,n);return r.modalRef=o,this.openModals.push(o),o.afterClose.subscribe(()=>this.removeOpenModal(o)),o}removeOpenModal(e){const t=this.openModals.indexOf(e);t>-1&&(this.openModals.splice(t,1),this.openModals.length||this._afterAllClosed.next())}closeModals(e){let t=e.length;for(;t--;)e[t].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(e){const t=this.nzConfigService.getConfigForComponent("modal")||{},n=new ot.f({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:ta(e.nzCloseOnNavigation,t.nzCloseOnNavigation,!0),direction:ta(e.nzDirection,t.nzDirection,this.directionality.value)});return ta(e.nzMask,t.nzMask,!0)&&(n.backdropClass="ant-modal-mask"),this.overlay.create(n)}attachModalContainer(e,t){const n=r.t.create({parent:t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector||this.injector,providers:[{provide:ot.i,useValue:e},{provide:Zs,useValue:t}]}),i=new at.c("confirm"===t.nzModalType?oa:sa,t.nzViewContainerRef,n);return e.attach(i).instance}attachModalContent(e,t,n,i){const o=new aa(n,i,t);if(e instanceof r.O)t.attachTemplatePortal(new at.f(e,null,{$implicit:i.nzComponentParams,modalRef:o}));else if(Object(_e.h)(e)&&"string"!=typeof e){const n=this.createInjector(o,i),r=t.attachComponentPortal(new at.c(e,i.nzViewContainerRef,n));Object.assign(r.instance,i.nzComponentParams),o.componentInstance=r.instance}else t.attachStringContent();return o}createInjector(e,t){return r.t.create({parent:t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector||this.injector,providers:[{provide:aa,useValue:e}]})}confirmFactory(e={},t){return"nzIconType"in e||(e.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[t]),"nzCancelText"in e||(e.nzCancelText=null),this.confirm(e,t)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.ac(ot.e),r.ac(r.t),r.ac(Os.a),r.ac(e,12),r.ac(pe.b,8))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),la=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.O))},e.\u0275dir=r.Lb({type:e,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"]}),e})(),ua=(()=>{class e{constructor(e,t){this.nzModalRef=e,this.templateRef=t,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(aa,8),r.Qb(r.O))},e.\u0275dir=r.Lb({type:e,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),e})(),ha=(()=>{class e{constructor(e,t,n){this.cdr=e,this.modal=t,this.viewContainerRef=n,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new r.n,this.nzOnCancel=new r.n,this.nzAfterOpen=new r.n,this.nzAfterClose=new r.n,this.nzVisibleChange=new r.n,this.modalRef=null}set modalFooter(e){e&&this.setFooterWithTemplate(e)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const e=this.getConfig();this.modalRef=this.modal.create(e)}}close(e){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(e),this.modalRef=null)}destroy(e){this.close(e)}triggerOk(){var e;null===(e=this.modalRef)||void 0===e||e.triggerOk()}triggerCancel(){var e;null===(e=this.modalRef)||void 0===e||e.triggerCancel()}getContentComponent(){var e;return null===(e=this.modalRef)||void 0===e?void 0:e.getContentComponent()}getElement(){var e;return null===(e=this.modalRef)||void 0===e?void 0:e.getElement()}getModalRef(){return this.modalRef}setFooterWithTemplate(e){this.nzFooter=e,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})}),this.cdr.markForCheck()}getConfig(){const e=na(this);return e.nzViewContainerRef=this.viewContainerRef,this.nzContent||this.contentFromContentChild?e.nzContent=this.nzContent||this.contentFromContentChild:(e.nzContent=this.contentTemplateRef,Object(os.c)("Usage `` is deprecated, which will be removed in 12.0.0. Please instead use `` to declare the content of the modal.")),e}ngOnChanges(e){const{nzVisible:t}=e,n=Object(me.e)(e,["nzVisible"]);Object.keys(n).length&&this.modalRef&&this.modalRef.updateConfig(na(this)),t&&(this.nzVisible?this.open():this.close())}ngOnDestroy(){var e;null===(e=this.modalRef)||void 0===e||e._finishDialogClose()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(ca),r.Qb(r.S))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-modal"]],contentQueries:function(e,t,n){if(1&e&&(r.Jb(n,ua,3,r.O),r.Jb(n,la,3,r.O)),2&e){let e;r.sc(e=r.ec())&&(t.modalFooter=e.first),r.sc(e=r.ec())&&(t.contentFromContentChild=e.first)}},viewQuery:function(e,t){if(1&e&&r.Kc(r.O,3),2&e){let e;r.sc(e=r.ec())&&(t.contentTemplateRef=e.first)}},inputs:{nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzCentered:"nzCentered",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzCloseIcon:"nzCloseIcon",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzIconType:"nzIconType",nzModalType:"nzModalType",nzAutofocus:"nzAutofocus",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzFooter:"nzFooter",nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzContent:"nzContent",nzComponentParams:"nzComponentParams",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzTitle:"nzTitle",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],features:[r.Cb],ngContentSelectors:Ms,decls:3,vars:0,template:function(e,t){1&e&&(r.lc(),r.Gc(0,"\n "),r.Ec(1,Ls,1,0,"ng-template"),r.Gc(2,"\n "))},encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzMask",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzMaskClosable",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzCloseOnNavigation",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzVisible",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzClosable",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzOkLoading",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzOkDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzCancelDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzCancelLoading",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzKeyboard",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzNoAnimation",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzCentered",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzOkDanger",void 0),e})(),da=(()=>{class e{constructor(e){this.config=e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Zs))},e.\u0275cmp=r.Kb({type:e,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:Fs,decls:6,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"span",0),r.Gc(2,"\n "),r.Ec(3,Ps,4,1,"ng-container",1),r.Gc(4,"\n "),r.Vb(),r.Gc(5,"\n ")),2&e&&(r.Eb(3),r.mc("nzStringTemplateOutlet",t.config.nzCloseIcon))},directives:[tr.b,Ki.a,Ge.a],encapsulation:2,changeDetection:0}),e})(),pa=(()=>{class e{constructor(e,t){this.i18n=e,this.config=t,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new r.n,this.okTriggered=new r.n,this.destroy$=new fe.a,Array.isArray(t.nzFooter)&&(this.buttonsFooter=!0,this.buttons=t.nzFooter.map(fa)),this.i18n.localeChange.pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(e,t){const n=e[t],i=this.modalRef.getContentComponent();return"function"==typeof n?n.apply(e,i&&[i]):n}onButtonClick(e){if(!this.getButtonCallableProp(e,"loading")){const t=this.getButtonCallableProp(e,"onClick");e.autoLoading&&Object(_e.j)(t)&&(e.loading=!0,t.then(()=>e.loading=!1).catch(()=>e.loading=!1))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(ms),r.Qb(Zs))},e.\u0275cmp=r.Kb({type:e,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:Vs,decls:6,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(e,t){if(1&e&&(r.Gc(0,"\n "),r.Ec(1,Hs,4,5,"ng-container",0),r.Gc(2,"\n "),r.Ec(3,Ks,5,2,"ng-template",null,1,r.Fc),r.Gc(5,"\n ")),2&e){const e=r.tc(4);r.Eb(1),r.mc("ngIf",t.config.nzFooter)("ngIfElse",e)}},directives:[o.o,tr.b,o.n,ys.a,Cs.a,Ki.a],encapsulation:2}),e})();function fa(e){return Object.assign({type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1},e)}let ga=(()=>{class e{constructor(e){this.config=e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Zs))},e.\u0275cmp=r.Kb({type:e,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:Xs,decls:6,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",0),r.Gc(2,"\n "),r.Ec(3,Ys,4,1,"ng-container",1),r.Gc(4,"\n "),r.Vb(),r.Gc(5,"\n ")),2&e&&(r.Eb(3),r.mc("nzStringTemplateOutlet",t.config.nzTitle))},directives:[tr.b],encapsulation:2,changeDetection:0}),e})(),ma=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},providers:[ca],imports:[[o.c,pe.a,ot.h,tr.a,at.e,bs,ys.c,Ge.b,_s,Zi.b,_s]]}),e})();var ba=n("VrN/"),va=n.n(ba),ya=n("3Pt+");const wa=["ref"];var _a;function Oa(e){return e?e.replace(/\r\n|\r/g,"\n"):e}let Ca=(()=>{let e=_a=class{constructor(e,t){this._differs=e,this._ngZone=t,this.className="",this.name="codemirror",this.autoFocus=!1,this.preserveScrollPosition=!1,this.cursorActivity=new r.n,this.focusChange=new r.n,this.scroll=new r.n,this.drop=new r.n,this.value="",this.disabled=!1,this.isFocused=!1,this.onChange=e=>{},this.onTouched=()=>{}}set options(e){this._options=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}get codeMirrorGlobal(){return this._codeMirror||(this._codeMirror="undefined"!=typeof CodeMirror?CodeMirror:va.a),this._codeMirror}ngAfterViewInit(){this.ref&&this._ngZone.runOutsideAngular(()=>{this.codeMirror=this.codeMirrorGlobal.fromTextArea(this.ref.nativeElement,this._options),this.codeMirror.on("cursorActivity",e=>this._ngZone.run(()=>this.cursorActive(e))),this.codeMirror.on("scroll",this.scrollChanged.bind(this)),this.codeMirror.on("blur",()=>this._ngZone.run(()=>this.focusChanged(!1))),this.codeMirror.on("focus",()=>this._ngZone.run(()=>this.focusChanged(!0))),this.codeMirror.on("change",(e,t)=>this._ngZone.run(()=>this.codemirrorValueChanged(e,t))),this.codeMirror.on("drop",(e,t)=>{this._ngZone.run(()=>this.dropFiles(e,t))}),this.codeMirror.setValue(this.value)})}ngDoCheck(){if(!this._differ)return;const e=this._differ.diff(this._options);e&&(e.forEachChangedItem(e=>this.setOptionIfChanged(e.key,e.currentValue)),e.forEachAddedItem(e=>this.setOptionIfChanged(e.key,e.currentValue)),e.forEachRemovedItem(e=>this.setOptionIfChanged(e.key,e.currentValue)))}ngOnDestroy(){this.codeMirror&&this.codeMirror.toTextArea()}codemirrorValueChanged(e,t){"setValue"!==t.origin&&(this.value=e.getValue(),this.onChange(this.value))}setOptionIfChanged(e,t){this.codeMirror&&this.codeMirror.setOption(e,t)}focusChanged(e){this.onTouched(),this.isFocused=e,this.focusChange.emit(e)}scrollChanged(e){this.scroll.emit(e.getScrollInfo())}cursorActive(e){this.cursorActivity.emit(e)}dropFiles(e,t){this.drop.emit([e,t])}writeValue(e){if(null==e)return;if(!this.codeMirror)return void(this.value=e);const t=this.codeMirror.getValue();if(e!==t&&Oa(t)!==Oa(e))if(this.value=e,this.preserveScrollPosition){const e=this.codeMirror.getScrollInfo();this.codeMirror.setValue(this.value),this.codeMirror.scrollTo(e.left,e.top)}else this.codeMirror.setValue(this.value)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this.setOptionIfChanged("readOnly",this.disabled)}};return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.v),r.Qb(r.B))},e.\u0275cmp=r.Kb({type:e,selectors:[["ngx-codemirror"]],viewQuery:function(e,t){if(1&e&&r.Kc(wa,3),2&e){let e;r.sc(e=r.ec())&&(t.ref=e.first)}},inputs:{className:"className",name:"name",autoFocus:"autoFocus",preserveScrollPosition:"preserveScrollPosition",options:"options"},outputs:{cursorActivity:"cursorActivity",focusChange:"focusChange",scroll:"scroll",drop:"drop"},features:[r.Db([{provide:ya.j,useExisting:Object(r.W)(()=>_a),multi:!0}])],decls:3,vars:7,consts:[["autocomplete","off",3,"name","autofocus"],["ref",""]],template:function(e,t){1&e&&(r.Wb(0,"textarea",0,1),r.Gc(2," "),r.Vb()),2&e&&(r.Hb("ngx-codemirror ",t.className,""),r.Ib("ngx-codemirror--focused",t.isFocused),r.mc("name",t.name)("autofocus",t.autoFocus))},encapsulation:2,changeDetection:0}),e})(),Ea=(()=>{let e=class{};return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})();const Sa=["editor"],Ta=["subEnvironmentTitle"];function xa(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",4),r.Gc(2,"\n "),r.Wb(3,"div",5),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n ")),2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"ENVIRONMENTS_MANAGER_TEXT")),r.Eb(2),r.Ic("\n ",r.ic(7,4,"ENVIRONMENTS_SUB_TEXT"),"\n "))}const ka=function(e){return{"environment-manager__list-item--selected":e}};function Ia(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",22),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc(3).selectEnvironment(n.id)})("dblclick",function(){return r.wc(e),r.gc(3).setFocusOnEnvironmentTitle()}),r.Gc(1,"\n "),r.Rb(2,"app-icon",23),r.Gc(3),r.Vb()}if(2&e){const e=t.$implicit,n=r.gc(3);r.mc("ngClass",r.pc(2,ka,n.selectedEnvironmentId===e.id)),r.Eb(3),r.Ic("\n ",e.title,"\n ")}}function Da(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,Ia,4,4,"div",21),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc(2);r.Eb(2),r.mc("ngForOf",e.environments.subEnvironments)("ngForTrackBy",e.trackById)}}function za(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",24),r.Gc(1,"\n "),r.Wb(2,"div",25),r.Gc(3,"\n "),r.Wb(4,"input",26,27),r.dc("ngModelChange",function(t){return r.wc(e),r.gc(2).editorTitle=t})("ngModelChange",function(t){return r.wc(e),r.gc(2).onTitleChange(t)}),r.hc(6,"translate"),r.Vb(),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n "),r.Wb(9,"div",28),r.Gc(10,"\n "),r.Wb(11,"button",29),r.dc("click",function(){return r.wc(e),r.gc(2).onDeleteSubEnvironment()}),r.Gc(12,"\n "),r.Rb(13,"app-icon",30),r.Gc(14,"\n "),r.Vb(),r.Gc(15,"\n "),r.Vb(),r.Gc(16,"\n "),r.Vb()}if(2&e){const e=r.gc(2);r.Eb(4),r.nc("placeholder",r.ic(6,2,"SUB_ENVIRONMENT_TITLE_PLACEHOLDER")),r.mc("ngModel",e.editorTitle)}}function ja(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",6),r.Gc(2,"\n "),r.Wb(3,"div",7),r.Gc(4,"\n "),r.Wb(5,"div",8),r.Gc(6,"\n "),r.Wb(7,"div",9),r.Gc(8,"\n "),r.Wb(9,"div",10),r.Gc(10,"\n "),r.Wb(11,"div",11),r.dc("click",function(){return r.wc(e),r.gc().selectEnvironment("base")}),r.Gc(12),r.hc(13,"translate"),r.Vb(),r.Gc(14,"\n "),r.Vb(),r.Gc(15,"\n "),r.Wb(16,"div",10),r.Gc(17,"\n "),r.Wb(18,"div",12),r.Gc(19),r.hc(20,"translate"),r.Vb(),r.Gc(21,"\n "),r.Wb(22,"div",13),r.Gc(23,"\n "),r.Ec(24,Da,4,2,"ng-container",14),r.Gc(25,"\n "),r.Vb(),r.Gc(26,"\n "),r.Vb(),r.Gc(27,"\n "),r.Wb(28,"div",15),r.Gc(29,"\n "),r.Wb(30,"button",16),r.dc("click",function(){return r.wc(e),r.gc().addSubEnvironmentChange.next()}),r.Gc(31),r.hc(32,"translate"),r.Vb(),r.Gc(33,"\n "),r.Vb(),r.Gc(34,"\n "),r.Vb(),r.Gc(35,"\n "),r.Wb(36,"div",17),r.Gc(37,"\n "),r.Ec(38,za,17,4,"div",18),r.Gc(39,"\n "),r.Wb(40,"ngx-codemirror",19,20),r.dc("ngModelChange",function(t){return r.wc(e),r.gc().editorContent=t})("ngModelChange",function(t){return r.wc(e),r.gc().onEditorChange(t)}),r.Vb(),r.Gc(42,"\n "),r.Vb(),r.Gc(43,"\n "),r.Vb(),r.Gc(44,"\n "),r.Vb(),r.Gc(45,"\n "),r.Vb(),r.Gc(46,"\n ")}if(2&e){const e=r.gc();r.Eb(11),r.mc("ngClass",r.pc(15,ka,"base"===e.selectedEnvironmentId)),r.Eb(1),r.Hc(r.ic(13,9,"BASE_ENVIRONMENT_TEXT")),r.Eb(7),r.Hc(r.ic(20,11,"SUB_ENVIRONMENTS_HEADER")),r.Eb(3),r.mc("sortablejsOptions",e.sortableOptions),r.Eb(2),r.mc("ngIf",null==e.environments||null==e.environments.subEnvironments?null:e.environments.subEnvironments.length),r.Eb(7),r.Hc(r.ic(32,13,"ADD_SUB_ENVIRONMENT_BUTTON")),r.Eb(7),r.mc("ngIf","base"!==e.selectedEnvironmentId),r.Eb(2),r.mc("options",e.jsonEditorConfig)("ngModel",e.editorContent)}}function Aa(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",31),r.Gc(2,"\n "),r.Wb(3,"div",32),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6,"\n "),r.Wb(7,"button",33),r.dc("click",function(){return r.wc(e),r.gc().toggleDialogChange.next(!1)}),r.Gc(8),r.hc(9,"translate"),r.Vb(),r.Gc(10,"\n "),r.Vb(),r.Gc(11,"\n ")}2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"ENVIRONMENT_VARIABLE_TIP")),r.Eb(4),r.Hc(r.ic(9,4,"SAVE_BUTTON")))}window.jsonlint=window.jsonlint||{parser:{parse:function(e){try{return JSON.parse(e)}catch(t){this.parseError&&this.parseError("Invalid JSON",{loc:{first_line:1,first_column:1,last_line:1,last_column:1}})}}}};let Ra=(()=>{class e{constructor(){this.showEnvironmentManager=!1,this.toggleDialogChange=new r.n,this.baseEnvironmentJsonChange=new r.n,this.subEnvironmentJsonChange=new r.n,this.subEnvironmentTitleChange=new r.n,this.addSubEnvironmentChange=new r.n,this.deleteSubEnvironmentChange=new r.n,this.repositionSubEnvironmentsChange=new r.n,this.jsonEditorConfig={mode:"application/json",json:!0,lint:!0,lineWrapping:!0,lineNumbers:!0,foldGutter:!0,autoRefresh:!0,dragDrop:!1,autoCloseBrackets:!0,keyMap:"sublime",theme:"default environments-editor",gutters:["CodeMirror-lint-markers","CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{}},this.selectedEnvironmentId="base",this.editorContent="{}",this.editorTitle="",this.sortableOptions={}}ngOnInit(){this.environments&&this.selectEnvironment(this.environments.activeSubEnvironment||"base"),this.sortableOptions={onUpdate:e=>{this.repositionSubEnvironmentsChange.emit({currentPosition:e.oldIndex,newPosition:e.newIndex})}}}ngDoCheck(){rs(this.editor&&this.editor.codeMirror)}ngOnChanges(e){if(e.showEnvironmentManager&&e.showEnvironmentManager.currentValue){const e=setTimeout(()=>{rs(this.editor&&this.editor.codeMirror,!0),clearTimeout(e)},300)}e.environments&&e.environments.currentValue&&this.selectEnvironment(this.environments.activeSubEnvironment||"base")}onEditorChange(e){try{JSON.parse(e),"base"===this.selectedEnvironmentId?this.baseEnvironmentJsonChange.next({value:e}):this.subEnvironmentJsonChange.next({id:this.selectedEnvironmentId,value:e})}catch(t){}}onTitleChange(e){this.subEnvironmentTitleChange.next({id:this.selectedEnvironmentId,value:e})}selectEnvironment(e){this.selectedEnvironmentId=e,this.selectedEnvironment="base"===this.selectedEnvironmentId?this.environments.base:this.environments.subEnvironments.find(e=>e.id===this.selectedEnvironmentId),this.selectedEnvironment&&(this.editorContent=this.selectedEnvironment.variablesJson,this.editorTitle=this.selectedEnvironment.title)}setFocusOnEnvironmentTitle(){this.subEnvironmentTitleEl.nativeElement.focus()}onDeleteSubEnvironment(){confirm("Are you sure you want to delete this environment?")&&(this.deleteSubEnvironmentChange.next({id:this.selectedEnvironmentId}),this.selectEnvironment("base"))}trackById(e,t){return t.id}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-environment-manager"]],viewQuery:function(e,t){if(1&e&&(r.Kc(Sa,1),r.Kc(Ta,1)),2&e){let e;r.sc(e=r.ec())&&(t.editor=e.first),r.sc(e=r.ec())&&(t.subEnvironmentTitleEl=e.first)}},inputs:{environments:"environments",showEnvironmentManager:"showEnvironmentManager"},outputs:{toggleDialogChange:"toggleDialogChange",baseEnvironmentJsonChange:"baseEnvironmentJsonChange",subEnvironmentJsonChange:"subEnvironmentJsonChange",subEnvironmentTitleChange:"subEnvironmentTitleChange",addSubEnvironmentChange:"addSubEnvironmentChange",deleteSubEnvironmentChange:"deleteSubEnvironmentChange",repositionSubEnvironmentsChange:"repositionSubEnvironmentsChange"},features:[r.Cb],decls:12,vars:5,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzWidth","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[1,"app-dialog-body"],[1,"app-dialog-section"],[1,"environment-manager-wrapper"],[1,"environment-manager__list-wrapper"],[1,"environment-manager__list"],[1,"environment-manager__list-item",3,"ngClass","click"],[1,"environment-manager__list-title"],["sortablejs","",1,"environment-manager__list-inner",3,"sortablejsOptions"],[4,"ngIf"],[1,"environment-manager__list-actions"],[1,"app-button","full-width",3,"click"],[1,"environment-manager__editor-wrapper"],["class","environment-manager__editor-meta",4,"ngIf"],[1,"environments-editor-textarea",3,"options","ngModel","ngModelChange"],["editor",""],["class","environment-manager__list-item",3,"ngClass","click","dblclick",4,"ngFor","ngForOf","ngForTrackBy"],[1,"environment-manager__list-item",3,"ngClass","click","dblclick"],["name","more-vertical"],[1,"environment-manager__editor-meta"],[1,"environment-manager__editor-meta-input-wrapper"],["type","text",1,"environment-manager__editor-meta-input",3,"placeholder","ngModel","ngModelChange"],["subEnvironmentTitle",""],[1,"environment-manager__editor-meta-actions"],[1,"app-button","icon-button",3,"click"],["name","trash-2"],[1,"app-dialog-footer"],[1,"environment-manager__tips","left"],["track-id","save_environments",1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(r.Wb(0,"nz-modal",0),r.dc("nzVisibleChange",function(e){return t.toggleDialogChange.next(e)})("nzOnCancel",function(e){return t.toggleDialogChange.next(e)}),r.Gc(1,"\n "),r.Ec(2,xa,9,6,"ng-template",null,1,r.Fc),r.Gc(4,"\n\n "),r.Ec(5,ja,47,17,"ng-template",null,2,r.Fc),r.Gc(7,"\n\n "),r.Ec(8,Aa,12,6,"ng-template",null,3,r.Fc),r.Gc(10,"\n"),r.Vb(),r.Gc(11,"\n")),2&e){const e=r.tc(3),n=r.tc(6),i=r.tc(9);r.mc("nzVisible",t.showEnvironmentManager)("nzTitle",e)("nzContent",n)("nzFooter",i)("nzWidth",870)}},directives:[ha,o.l,qi,o.o,Ca,ya.l,ya.o,o.n,Xi.a,ya.e],pipes:[y.c],styles:[""]}),e})();n("MFua");var Na=n("lR5k");function La(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",4),r.Gc(2,"\n "),r.Wb(3,"div",5),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n ")),2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"PLUGINS_TEXT")),r.Eb(2),r.Ic("\n ",r.ic(7,4,"PLUGINS_SUB_TEXT"),"\n "))}const Ma=function(e){return{"plugin-manager__list-item--selected":e}};function Fa(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",13),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc(2).onSelectPlugin(n)}),r.Gc(1,"\n "),r.Wb(2,"div",14),r.Gc(3),r.Wb(4,"div",15),r.Gc(5),r.Vb(),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Wb(8,"div",16),r.Gc(9),r.Vb(),r.Gc(10,"\n "),r.Vb()}if(2&e){const e=t.$implicit,n=r.gc(2);r.mc("ngClass",r.pc(4,Ma,n.selectedPluginItem&&n.selectedPluginItem.name===e.name)),r.Eb(3),r.Ic("\n ",(null==e||null==e.manifest?null:e.manifest.display_name)||e.name,"\n "),r.Eb(2),r.Ic("\n ",(null==e||null==e.manifest?null:e.manifest.version)||e.version,"\n "),r.Eb(4),r.Ic("\n ",(null==e||null==e.manifest?null:e.manifest.description)||e.description,"\n ")}}function Pa(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",24),r.dc("click",function(){r.wc(e);const t=r.gc(3);return t.onAddPlugin(t.selectedPluginItem.name)}),r.Gc(1,"\n "),r.Rb(2,"app-icon",25),r.Gc(3),r.hc(4,"translate"),r.Vb()}2&e&&(r.Eb(3),r.Ic("\n ",r.ic(4,1,"PLUGIN_ADD_BUTTON"),"\n "))}function Va(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",26),r.dc("click",function(){r.wc(e);const t=r.gc(3);return t.onRemovePlugin(t.selectedPluginItem.name)}),r.Gc(1,"\n "),r.Rb(2,"app-icon",27),r.Gc(3),r.hc(4,"translate"),r.Vb()}2&e&&(r.Eb(3),r.Ic("\n ",r.ic(4,1,"PLUGIN_REMOVE_BUTTON"),"\n "))}function Ga(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",28),r.dc("click",function(){return r.wc(e),r.gc(3).onRestartApp()}),r.Gc(1),r.hc(2,"translate"),r.Vb()}2&e&&(r.Eb(1),r.Ic("\n ",r.ic(2,1,"RESTART_TEXT"),"\n "))}function Ba(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Wb(2,"div",17),r.Gc(3),r.Wb(4,"div",18),r.hc(5,"translate"),r.Gc(6),r.Vb(),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n "),r.Wb(9,"div",19),r.Gc(10,"\n "),r.Ec(11,Pa,5,3,"button",20),r.Gc(12,"\n "),r.Ec(13,Va,5,3,"button",21),r.Gc(14,"\n "),r.Ec(15,Ga,3,3,"button",22),r.Gc(16,"\n "),r.Vb(),r.Gc(17,"\n "),r.Rb(18,"div",23),r.Gc(19,"\n "),r.Tb()),2&e){const e=r.gc(2);r.Eb(3),r.Ic("\n ",(null==e.selectedPluginItem||null==e.selectedPluginItem.manifest?null:e.selectedPluginItem.manifest.display_name)||e.selectedPluginItem.name,"\n "),r.Eb(1),r.Fb("title",r.ic(5,7,"PLUGIN_UNIQUE_NAME_TEXT")),r.Eb(2),r.Ic("\n ",e.selectedPluginItem.name,"\n "),r.Eb(5),r.mc("ngIf",!e.isPluginInstalled(e.selectedPluginItem.name)),r.Eb(2),r.mc("ngIf",e.isPluginInstalled(e.selectedPluginItem.name)),r.Eb(2),r.mc("ngIf",e.shouldRestart),r.Eb(3),r.mc("data",e.selectedPluginItem.summary||"")}}function Wa(e,t){if(1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",6),r.Gc(2,"\n "),r.Wb(3,"div",7),r.Gc(4,"\n "),r.Wb(5,"div",8),r.Gc(6,"\n "),r.Wb(7,"div",9),r.Gc(8,"\n "),r.Ec(9,Fa,11,6,"div",10),r.hc(10,"async"),r.Gc(11,"\n "),r.Vb(),r.Gc(12,"\n "),r.Wb(13,"div",11),r.Gc(14,"\n "),r.Ec(15,Ba,20,9,"ng-container",12),r.Gc(16,"\n "),r.Vb(),r.Gc(17,"\n "),r.Vb(),r.Gc(18,"\n "),r.Vb(),r.Gc(19,"\n "),r.Vb(),r.Gc(20,"\n ")),2&e){const e=r.gc();r.Eb(9),r.mc("ngForOf",r.ic(10,3,e.remotePlugins$))("ngForTrackBy",e.trackByName),r.Eb(6),r.mc("ngIf",e.selectedPluginItem)}}function $a(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",29),r.Gc(2,"\n "),r.Wb(3,"a",30),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6,"\n "),r.Wb(7,"button",31),r.dc("click",function(){return r.wc(e),r.gc().toggleDialogChange.next(!1)}),r.Gc(8),r.hc(9,"translate"),r.Vb(),r.Gc(10,"\n "),r.Vb(),r.Gc(11,"\n ")}2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"PLUGIN_CREATE_BUTTON")),r.Eb(4),r.Hc(r.ic(9,4,"SAVE_BUTTON")))}let Ua=(()=>{class e{constructor(e){this.pluginRegistry=e,this.showPluginManager=!1,this.toggleDialogChange=new r.n,this.settingsJsonChange=new r.n,this.shouldRestart=!1,this.remotePlugins$=this.pluginRegistry.getRemotePluginList().pipe(Object(d.a)(e=>Object(v.a)(null)),Object(c.a)(e=>{if(e)return e.items}))}ngOnInit(){}onSelectPlugin(e){this.selectedPluginItem=e}isPluginInstalled(e){return!!this.settings["plugin.list"]&&this.settings["plugin.list"].some(t=>{const n=this.pluginRegistry.getPluginInfoFromString(t);return!!n&&n.name===e})}onAddPlugin(e){const t=JSON.parse(JSON.stringify(this.settings));t["plugin.list"]=t["plugin.list"]||[],t["plugin.list"].push(e),this.settingsJsonChange.next(JSON.stringify(t)),this.shouldRestart=!0}onRemovePlugin(e){const t=JSON.parse(JSON.stringify(this.settings));t["plugin.list"]=(t["plugin.list"]||[]).filter(t=>{const n=this.pluginRegistry.getPluginInfoFromString(t);if(n)return e!==n.name}),this.settingsJsonChange.next(JSON.stringify(t)),this.shouldRestart=!0}onRestartApp(){location.reload()}trackByName(e,t){return t.name}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(R.PluginRegistryService))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-plugin-manager"]],inputs:{showPluginManager:"showPluginManager",settings:"settings"},outputs:{toggleDialogChange:"toggleDialogChange",settingsJsonChange:"settingsJsonChange"},decls:12,vars:5,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzWidth","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[1,"app-dialog-body"],[1,"app-dialog-section"],[1,"plugin-manager-wrapper"],[1,"plugin-manager__list"],["class","plugin-manager__list-item",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"plugin-manager__item-details"],[4,"ngIf"],[1,"plugin-manager__list-item",3,"ngClass","click"],[1,"plugin-manager__list-item-name"],[1,"plugin-manager__list-item-version"],[1,"plugin-manager__list-item-description"],[1,"plugin-manager__item-details-name"],[1,"plugin-manager__item-details-unique-name"],[1,"plugin-manager__item-details-actions"],["class","app-button active-grey",3,"click",4,"ngIf"],["class","app-button active-destructive",3,"click",4,"ngIf"],["class","app-button",3,"click",4,"ngIf"],["markdown","",1,"plugin-manager__item-details-summary",3,"data"],[1,"app-button","active-grey",3,"click"],["name","plus-circle"],[1,"app-button","active-destructive",3,"click"],["name","x-circle"],[1,"app-button",3,"click"],[1,"app-dialog-footer"],["href","https://altair.sirmuel.design/docs/plugins/writing-plugin.html","target","_blank",1,"app-button","left"],[1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(r.Wb(0,"nz-modal",0),r.dc("nzVisibleChange",function(e){return t.toggleDialogChange.next(e)})("nzOnCancel",function(e){return t.toggleDialogChange.next(e)}),r.Gc(1,"\n "),r.Ec(2,La,9,6,"ng-template",null,1,r.Fc),r.Gc(4,"\n\n "),r.Ec(5,Wa,21,5,"ng-template",null,2,r.Fc),r.Gc(7,"\n\n "),r.Ec(8,$a,12,6,"ng-template",null,3,r.Fc),r.Gc(10,"\n"),r.Vb(),r.Gc(11,"\n")),2&e){const e=r.tc(3),n=r.tc(6),i=r.tc(9);r.mc("nzVisible",t.showPluginManager)("nzTitle",e)("nzContent",n)("nzFooter",i)("nzWidth",870)}},directives:[ha,o.n,o.o,o.l,Na.a,Xi.a],pipes:[y.c,o.b],encapsulation:2}),e})();n("m3Q/"),n("SJVZ"),n("y8iW"),n("rt3J"),n("jXCp");var Ha=n("BGZm");const qa=n("oqE9"),Qa=qa.schema,Ka=e=>{const t=Object(Ha.g)(e);return qa(t)};function Xa(e){const t=e&&e.parentNode;t&&t.removeChild(e)}const Ya=(e,t)=>{if(e.$ref){const n=e.$ref.split("/");let i=t;return n.forEach(e=>{"#"===e?i=t:i&&(i=i[e])}),i}},Ja=e=>{const t=e.getDoc().getCursor(),n=e.getTokenAt(t),i=n.start,r=t.line,o=n.string;let s="",a="";if("string property"!==n.type)return null;if("object"!=typeof qa.schema)return null;"string"===n.state.lastType&&(s=o.substr(0,1),a=o.substr(-1,1));const c=qa.schema.properties,l=Object.keys(c).map(e=>{return{...c[e],text:`${s}${e}${a}`,displayText:e,description:c[e].description+"\nType: "+(t=c[e],n=qa.schema,t.type?t.type:null===(i=Ya(t,n))||void 0===i?void 0:i.type)};var t,n,i}),u=l.filter(e=>e.displayText.indexOf(o.replace(new RegExp(`(^${s})|(${a}$)`,"g"),""))>-1),h={list:u.length?u:l,from:ba.Pos(r,i),to:ba.Pos(r,n.end)};let d;return ba.on(h,"close",function(){Xa(d)}),ba.on(h,"update",function(){Xa(d)}),ba.on(h,"select",function(e,t){Xa(d);const n=e.description;n&&t.parentElement&&(d=function(e,t,n){const i=function(e,t,...n){const i=document.createElement("div");return t&&(i.className=t),n.forEach(e=>{"string"==typeof e&&(e=document.createTextNode(e)),i.appendChild(e)}),i}(0,"CodeMirror-Tern-tooltip",n);return i.style.left=e+"px",i.style.top=t+"px",document.body.appendChild(i),i}(t.parentElement.getBoundingClientRect().right+window.pageXOffset,t.parentElement.getBoundingClientRect().top+window.pageYOffset,n),d&&(d.className+=" CodeMirror-Tern-hint-doc"))}),h},Za=["*"];function ec(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Rb(2,"i",6),r.Gc(3,"\n "),r.Tb()),2&e){const e=t.$implicit,n=r.gc(2);r.Eb(2),r.mc("nzType",e||"right")("nzRotate",n.nzActive?90:0)}}function tc(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,ec,4,2,"ng-container",2),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("nzStringTemplateOutlet",e.nzExpandedIcon)}}function nc(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.Hc(e.nzHeader)}}function ic(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.nzExtra)}}function rc(e,t){if(1&e&&(r.Wb(0,"div",7),r.Gc(1,"\n "),r.Ec(2,ic,2,1,"ng-container",2),r.Gc(3,"\n "),r.Vb()),2&e){const e=r.gc();r.Eb(2),r.mc("nzStringTemplateOutlet",e.nzExtra)}}let oc=(()=>{class e{constructor(e,t,n,i){this.nzConfigService=e,this.cdr=t,this.elementRef=n,this.directionality=i,this._nzModuleName="collapse",this.nzAccordion=!1,this.nzBordered=!0,this.nzGhost=!1,this.nzExpandIconPosition="left",this.dir="ltr",this.listOfNzCollapsePanelComponent=[],this.destroy$=new fe.a,this.elementRef.nativeElement.classList.add("ant-collapse"),this.nzConfigService.getConfigChangeEventForComponent("collapse").pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}addPanel(e){this.listOfNzCollapsePanelComponent.push(e)}removePanel(e){this.listOfNzCollapsePanelComponent.splice(this.listOfNzCollapsePanelComponent.indexOf(e),1)}click(e){this.nzAccordion&&!e.nzActive&&this.listOfNzCollapsePanelComponent.filter(t=>t!==e).forEach(e=>{e.nzActive&&(e.nzActive=!1,e.nzActiveChange.emit(e.nzActive),e.markForCheck())}),e.nzActive=!e.nzActive,e.nzActiveChange.emit(e.nzActive)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Os.a),r.Qb(r.h),r.Qb(r.l),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-collapse"]],hostVars:10,hostBindings:function(e,t){2&e&&r.Ib("ant-collapse-icon-position-left","left"===t.nzExpandIconPosition)("ant-collapse-icon-position-right","right"===t.nzExpandIconPosition)("ant-collapse-ghost",t.nzGhost)("ant-collapse-borderless",!t.nzBordered)("ant-collapse-rtl","rtl"===t.dir)},inputs:{nzAccordion:"nzAccordion",nzBordered:"nzBordered",nzGhost:"nzGhost",nzExpandIconPosition:"nzExpandIconPosition"},exportAs:["nzCollapse"],ngContentSelectors:Za,decls:3,vars:0,template:function(e,t){1&e&&(r.lc(),r.Gc(0,"\n "),r.kc(1),r.Gc(2,"\n "))},encapsulation:2,changeDetection:0}),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzAccordion",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzBordered",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzGhost",void 0),e})(),sc=(()=>{class e{constructor(e,t,n,i,o){this.nzConfigService=e,this.cdr=t,this.nzCollapseComponent=n,this.elementRef=i,this.noAnimation=o,this._nzModuleName="collapsePanel",this.nzActive=!1,this.nzDisabled=!1,this.nzShowArrow=!0,this.nzActiveChange=new r.n,this.destroy$=new fe.a,this.elementRef.nativeElement.classList.add("ant-collapse-item"),this.nzConfigService.getConfigChangeEventForComponent("collapsePanel").pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}clickHeader(){this.nzDisabled||this.nzCollapseComponent.click(this)}markForCheck(){this.cdr.markForCheck()}ngOnInit(){this.nzCollapseComponent.addPanel(this)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.nzCollapseComponent.removePanel(this)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Os.a),r.Qb(r.h),r.Qb(oc,1),r.Qb(r.l),r.Qb(Zi.a,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-collapse-panel"]],hostVars:6,hostBindings:function(e,t){2&e&&r.Ib("ant-collapse-no-arrow",!t.nzShowArrow)("ant-collapse-item-active",t.nzActive)("ant-collapse-item-disabled",t.nzDisabled)},inputs:{nzActive:"nzActive",nzDisabled:"nzDisabled",nzShowArrow:"nzShowArrow",nzExtra:"nzExtra",nzHeader:"nzHeader",nzExpandedIcon:"nzExpandedIcon"},outputs:{nzActiveChange:"nzActiveChange"},exportAs:["nzCollapsePanel"],ngContentSelectors:Za,decls:18,vars:8,consts:[["role","tab",1,"ant-collapse-header",3,"click"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-collapse-extra",4,"ngIf"],[1,"ant-collapse-content"],[1,"ant-collapse-content-box"],["nz-icon","",1,"ant-collapse-arrow",3,"nzType","nzRotate"],[1,"ant-collapse-extra"]],template:function(e,t){1&e&&(r.lc(),r.Gc(0,"\n "),r.Wb(1,"div",0),r.dc("click",function(){return t.clickHeader()}),r.Gc(2,"\n "),r.Ec(3,tc,4,1,"ng-container",1),r.Gc(4,"\n "),r.Ec(5,nc,2,1,"ng-container",2),r.Gc(6,"\n "),r.Ec(7,rc,4,1,"div",3),r.Gc(8,"\n "),r.Vb(),r.Gc(9,"\n "),r.Wb(10,"div",4),r.Gc(11,"\n "),r.Wb(12,"div",5),r.Gc(13,"\n "),r.kc(14),r.Gc(15,"\n "),r.Vb(),r.Gc(16,"\n "),r.Vb(),r.Gc(17,"\n ")),2&e&&(r.Eb(1),r.Fb("aria-expanded",t.nzActive),r.Eb(2),r.mc("ngIf",t.nzShowArrow),r.Eb(2),r.mc("nzStringTemplateOutlet",t.nzHeader),r.Eb(2),r.mc("ngIf",t.nzExtra),r.Eb(3),r.Ib("ant-collapse-content-active",t.nzActive),r.mc("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("@collapseMotion",t.nzActive?"expanded":"hidden"))},directives:[o.o,tr.b,Ge.a],encapsulation:2,data:{animation:[Yi.a]},changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzActive",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzShowArrow",void 0),e})(),ac=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,Ge.b,tr.a,Zi.b]]}),e})();n("jYNx");var cc=n("jtHE");let lc=(()=>{class e{constructor(e,t,n,i,r,o,s){this.elementRef=e,this.renderer=t,this.mediaMatcher=n,this.ngZone=i,this.platform=r,this.breakpointService=o,this.directionality=s,this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new cc.a(1),this.dir="ltr",this.destroy$=new fe.a,this.elementRef.nativeElement.classList.add("ant-row")}getGutter(){const e=[null,null],t=this.nzGutter||0;return(Array.isArray(t)?t:[t,null]).forEach((t,n)=>{"object"==typeof t&&null!==t?(e[n]=null,Object.keys(Me).map(i=>{const r=i;this.mediaMatcher.matchMedia(Me[r]).matches&&t[r]&&(e[n]=t[r])})):e[n]=Number(t)||null}),e}setGutterStyle(){const[e,t]=this.getGutter();this.actualGutter$.next([e,t]);const n=(e,t)=>{null!==t&&this.renderer.setStyle(this.elementRef.nativeElement,e,`-${t/2}px`)};n("margin-left",e),n("margin-right",e),n("margin-top",t),n("margin-bottom",t)}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e}),this.setGutterStyle()}ngOnChanges(e){e.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(Me).pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.setGutterStyle()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G),r.Qb(je),r.Qb(r.B),r.Qb(be.a),r.Qb(Pe),r.Qb(pe.b,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostVars:18,hostBindings:function(e,t){2&e&&r.Ib("ant-row-top","top"===t.nzAlign)("ant-row-middle","middle"===t.nzAlign)("ant-row-bottom","bottom"===t.nzAlign)("ant-row-start","start"===t.nzJustify)("ant-row-end","end"===t.nzJustify)("ant-row-center","center"===t.nzJustify)("ant-row-space-around","space-around"===t.nzJustify)("ant-row-space-between","space-between"===t.nzJustify)("ant-row-rtl","rtl"===t.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[r.Cb]}),e})(),uc=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.nzRowDirective=t,this.renderer=n,this.directionality=i,this.classMap={},this.destroy$=new fe.a,this.hostFlexStyle=null,this.dir="ltr",this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}setHostClassMap(){const e=Object.assign({"ant-col":!0,[`ant-col-${this.nzSpan}`]:Object(_e.h)(this.nzSpan),[`ant-col-order-${this.nzOrder}`]:Object(_e.h)(this.nzOrder),[`ant-col-offset-${this.nzOffset}`]:Object(_e.h)(this.nzOffset),[`ant-col-pull-${this.nzPull}`]:Object(_e.h)(this.nzPull),[`ant-col-push-${this.nzPush}`]:Object(_e.h)(this.nzPush),"ant-col-rtl":"rtl"===this.dir},this.generateClass());for(const t in this.classMap)this.classMap.hasOwnProperty(t)&&this.renderer.removeClass(this.elementRef.nativeElement,t);this.classMap=Object.assign({},e);for(const t in this.classMap)this.classMap.hasOwnProperty(t)&&this.classMap[t]&&this.renderer.addClass(this.elementRef.nativeElement,t)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(e){return"number"==typeof e?`${e} ${e} auto`:"string"==typeof e&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}generateClass(){const e={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach(t=>{const n=t.replace("nz","").toLowerCase();if(Object(_e.h)(this[t]))if("number"==typeof this[t]||"string"==typeof this[t])e[`ant-col-${n}-${this[t]}`]=!0;else{const i=this[t];["span","pull","push","offset","order"].forEach(t=>{e[`ant-col-${n}${"span"===t?"-":`-${t}-`}${i[t]}`]=i&&Object(_e.h)(i[t])})}}),e}ngOnInit(){this.dir=this.directionality.value,this.directionality.change.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.setHostClassMap()}),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(e){this.setHostClassMap();const{nzFlex:t}=e;t&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe(Object(ge.a)(this.destroy$)).subscribe(([e,t])=>{const n=(e,t)=>{null!==t&&this.renderer.setStyle(this.elementRef.nativeElement,e,t/2+"px")};n("padding-left",e),n("padding-right",e),n("padding-top",t),n("padding-bottom",t)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(lc,9),r.Qb(r.G),r.Qb(pe.b,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Bc("flex",t.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[r.Cb]}),e})(),hc=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,Ie,be.b]]}),e})();const dc=["*"];function pc(e,t){if(1&e&&r.Rb(0,"i",6),2&e){const e=r.gc();r.mc("nzType",e.iconType)}}function fc(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.innerTip)}}const gc=function(e){return["ant-form-item-explain",e]},mc=function(e){return{$implicit:e}};function bc(e,t){if(1&e&&(r.Wb(0,"div",7),r.Wb(1,"div"),r.Ec(2,fc,2,1,"ng-container",8),r.Vb(),r.Vb()),2&e){const e=r.gc();r.mc("ngClass",r.pc(4,gc,"ant-form-item-explain-"+e.status)),r.Eb(1),r.mc("@helpMotion",void 0),r.Eb(1),r.mc("nzStringTemplateOutlet",e.innerTip)("nzStringTemplateOutletContext",r.pc(6,mc,e.validateControl))}}function vc(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.nzExtra)}}function yc(e,t){if(1&e&&(r.Wb(0,"div",9),r.Ec(1,vc,2,1,"ng-container",10),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.mc("nzStringTemplateOutlet",e.nzExtra)}}function wc(e,t){if(1&e&&(r.Ub(0),r.Rb(1,"i",3),r.Tb()),2&e){const e=t.$implicit,n=r.gc(2);r.Eb(1),r.mc("nzType",e)("nzTheme",n.tooltipIcon.theme)}}function _c(e,t){if(1&e&&(r.Wb(0,"span",1),r.Ec(1,wc,2,2,"ng-container",2),r.Vb()),2&e){const e=r.gc();r.mc("nzTooltipTitle",e.nzTooltipTitle),r.Eb(1),r.mc("nzStringTemplateOutlet",e.tooltipIcon.type)}}const Oc={type:"question-circle",theme:"outline"};let Cc=(()=>{class e{constructor(e,t,n,i){var r;this.nzConfigService=e,this.renderer=n,this.directionality=i,this._nzModuleName="form",this.nzLayout="horizontal",this.nzNoColon=!1,this.nzAutoTips={},this.nzDisableAutoTips=!1,this.nzTooltipIcon=Oc,this.dir="ltr",this.destroy$=new fe.a,this.inputChanges$=new fe.a,this.renderer.addClass(t.nativeElement,"ant-form"),this.dir=this.directionality.value,null===(r=this.directionality.change)||void 0===r||r.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e})}getInputObservable(e){return this.inputChanges$.pipe(Object(p.a)(t=>e in t),Object(c.a)(t=>t[e]))}ngOnChanges(e){this.inputChanges$.next(e)}ngOnDestroy(){this.inputChanges$.complete(),this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Os.a),r.Qb(r.l),r.Qb(r.G),r.Qb(pe.b,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-form",""]],hostVars:8,hostBindings:function(e,t){2&e&&r.Ib("ant-form-horizontal","horizontal"===t.nzLayout)("ant-form-vertical","vertical"===t.nzLayout)("ant-form-inline","inline"===t.nzLayout)("ant-form-rtl","rtl"===t.dir)},inputs:{nzLayout:"nzLayout",nzNoColon:"nzNoColon",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzTooltipIcon:"nzTooltipIcon"},exportAs:["nzForm"],features:[r.Cb]}),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzNoColon",void 0),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzAutoTips",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisableAutoTips",void 0),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzTooltipIcon",void 0),e})(),Ec=(()=>{class e{constructor(e,t,n){this.cdr=n,this.status=null,this.hasFeedback=!1,this.withHelpClass=!1,this.destroy$=new fe.a,t.addClass(e.nativeElement,"ant-form-item")}setWithHelpViaTips(e){this.withHelpClass=e,this.cdr.markForCheck()}setStatus(e){this.status=e,this.cdr.markForCheck()}setHasFeedback(e){this.hasFeedback=e,this.cdr.markForCheck()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G),r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-form-item"]],hostVars:12,hostBindings:function(e,t){2&e&&r.Ib("ant-form-item-has-success","success"===t.status)("ant-form-item-has-warning","warning"===t.status)("ant-form-item-has-error","error"===t.status)("ant-form-item-is-validating","validating"===t.status)("ant-form-item-has-feedback",t.hasFeedback&&t.status)("ant-form-item-with-help",t.withHelpClass)},exportAs:["nzFormItem"],ngContentSelectors:dc,decls:1,vars:0,template:function(e,t){1&e&&(r.lc(),r.kc(0))},encapsulation:2,changeDetection:0}),e})();const Sc={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let Tc=(()=>{class e{constructor(e,t,n,i,r,o){var s,a;this.nzFormItemComponent=t,this.cdr=n,this.nzFormDirective=o,this._hasFeedback=!1,this.validateChanges=st.a.EMPTY,this.validateString=null,this.destroyed$=new fe.a,this.status=null,this.validateControl=null,this.iconType=null,this.innerTip=null,this.nzAutoTips={},this.nzDisableAutoTips="default",i.addClass(e.nativeElement,"ant-form-item-control"),this.subscribeAutoTips(r.localeChange.pipe(Object(lt.a)(e=>this.localeId=e.locale))),this.subscribeAutoTips(null===(s=this.nzFormDirective)||void 0===s?void 0:s.getInputObservable("nzAutoTips")),this.subscribeAutoTips(null===(a=this.nzFormDirective)||void 0===a?void 0:a.getInputObservable("nzDisableAutoTips").pipe(Object(p.a)(()=>"default"===this.nzDisableAutoTips)))}get disableAutoTips(){var e;return"default"!==this.nzDisableAutoTips?Object(_e.o)(this.nzDisableAutoTips):null===(e=this.nzFormDirective)||void 0===e?void 0:e.nzDisableAutoTips}set nzHasFeedback(e){this._hasFeedback=Object(_e.o)(e),this.nzFormItemComponent&&this.nzFormItemComponent.setHasFeedback(this._hasFeedback)}get nzHasFeedback(){return this._hasFeedback}set nzValidateStatus(e){e instanceof ya.a||e instanceof ya.o?(this.validateControl=e,this.validateString=null,this.watchControl()):e instanceof ya.g?(this.validateControl=e.control,this.validateString=null,this.watchControl()):(this.validateString=e,this.validateControl=null,this.setStatus())}watchControl(){this.validateChanges.unsubscribe(),this.validateControl&&this.validateControl.statusChanges&&(this.validateChanges=this.validateControl.statusChanges.pipe(Object(we.a)(null),Object(ge.a)(this.destroyed$)).subscribe(e=>{this.disableAutoTips||this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck()}))}setStatus(){this.status=this.getControlStatus(this.validateString),this.iconType=this.status?Sc[this.status]:null,this.innerTip=this.getInnerTip(this.status),this.nzFormItemComponent&&(this.nzFormItemComponent.setWithHelpViaTips(!!this.innerTip),this.nzFormItemComponent.setStatus(this.status))}getControlStatus(e){let t;return t="warning"===e||this.validateControlStatus("INVALID","warning")?"warning":"error"===e||this.validateControlStatus("INVALID")?"error":"validating"===e||"pending"===e||this.validateControlStatus("PENDING")?"validating":"success"===e||this.validateControlStatus("VALID")?"success":null,t}validateControlStatus(e,t){if(this.validateControl){const{dirty:n,touched:i,status:r}=this.validateControl;return(!!n||!!i)&&(t?this.validateControl.hasError(t):r===e)}return!1}getInnerTip(e){switch(e){case"error":return!this.disableAutoTips&&this.autoErrorTip||this.nzErrorTip||null;case"validating":return this.nzValidatingTip||null;case"success":return this.nzSuccessTip||null;case"warning":return this.nzWarningTip||null;default:return null}}updateAutoErrorTip(){var e,t,n,i,r,o,s,a,c,l,u,h,d;if(this.validateControl){const p=this.validateControl.errors||{};let f="";for(const g in p)if(p.hasOwnProperty(g)&&(f=null!==(u=null!==(s=null!==(r=null!==(t=null===(e=p[g])||void 0===e?void 0:e[this.localeId])&&void 0!==t?t:null===(i=null===(n=this.nzAutoTips)||void 0===n?void 0:n[this.localeId])||void 0===i?void 0:i[g])&&void 0!==r?r:null===(o=this.nzAutoTips.default)||void 0===o?void 0:o[g])&&void 0!==s?s:null===(l=null===(c=null===(a=this.nzFormDirective)||void 0===a?void 0:a.nzAutoTips)||void 0===c?void 0:c[this.localeId])||void 0===l?void 0:l[g])&&void 0!==u?u:null===(d=null===(h=this.nzFormDirective)||void 0===h?void 0:h.nzAutoTips.default)||void 0===d?void 0:d[g]),f)break;this.autoErrorTip=f}}subscribeAutoTips(e){null==e||e.pipe(Object(ge.a)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||(this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck())})}ngOnChanges(e){const{nzDisableAutoTips:t,nzAutoTips:n,nzSuccessTip:i,nzWarningTip:r,nzErrorTip:o,nzValidatingTip:s}=e;t||n?(this.updateAutoErrorTip(),this.setStatus()):(i||r||o||s)&&this.setStatus()}ngOnInit(){this.setStatus()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}ngAfterContentInit(){this.validateControl||this.validateString||(this.nzValidateStatus=this.defaultValidateControl instanceof ya.f?this.defaultValidateControl.control:this.defaultValidateControl)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(Ec,9),r.Qb(r.h),r.Qb(r.G),r.Qb(ms),r.Qb(Cc,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-form-control"]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,ya.k,1),2&e){let e;r.sc(e=r.ec())&&(t.defaultValidateControl=e.first)}},inputs:{nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzHasFeedback:"nzHasFeedback",nzValidateStatus:"nzValidateStatus",nzSuccessTip:"nzSuccessTip",nzWarningTip:"nzWarningTip",nzErrorTip:"nzErrorTip",nzValidatingTip:"nzValidatingTip",nzExtra:"nzExtra"},exportAs:["nzFormControl"],features:[r.Cb],ngContentSelectors:dc,decls:7,vars:3,consts:[[1,"ant-form-item-control-input"],[1,"ant-form-item-control-input-content"],[1,"ant-form-item-children-icon"],["nz-icon","",3,"nzType",4,"ngIf"],[3,"ngClass",4,"ngIf"],["class","ant-form-item-extra",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"ngClass"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-form-item-extra"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(r.lc(),r.Wb(0,"div",0),r.Wb(1,"div",1),r.kc(2),r.Vb(),r.Wb(3,"span",2),r.Ec(4,pc,1,1,"i",3),r.Vb(),r.Vb(),r.Ec(5,bc,3,8,"div",4),r.Ec(6,yc,2,1,"div",5)),2&e&&(r.Eb(4),r.mc("ngIf",t.nzHasFeedback&&t.iconType),r.Eb(1),r.mc("ngIf",t.innerTip),r.Eb(1),r.mc("ngIf",t.nzExtra))},directives:[o.o,Ge.a,o.l,tr.b],encapsulation:2,data:{animation:[Yi.b]},changeDetection:0}),e})();function xc(e){const t="string"==typeof e?{type:e}:e;return Object.assign(Object.assign({},Oc),t)}let kc=(()=>{class e{constructor(e,t,n,i){this.cdr=n,this.nzFormDirective=i,this.nzRequired=!1,this.noColon="default",this._tooltipIcon="default",this.destroy$=new fe.a,t.addClass(e.nativeElement,"ant-form-item-label"),this.nzFormDirective&&(this.nzFormDirective.getInputObservable("nzNoColon").pipe(Object(p.a)(()=>"default"===this.noColon),Object(ge.a)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzTooltipIcon").pipe(Object(p.a)(()=>"default"===this._tooltipIcon),Object(ge.a)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()))}set nzNoColon(e){this.noColon=Object(_e.o)(e)}get nzNoColon(){var e;return"default"!==this.noColon?this.noColon:null===(e=this.nzFormDirective)||void 0===e?void 0:e.nzNoColon}set nzTooltipIcon(e){this._tooltipIcon=xc(e)}get tooltipIcon(){var e;return"default"!==this._tooltipIcon?this._tooltipIcon:xc((null===(e=this.nzFormDirective)||void 0===e?void 0:e.nzTooltipIcon)||Oc)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G),r.Qb(r.h),r.Qb(Cc,12))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-form-label"]],inputs:{nzRequired:"nzRequired",nzNoColon:"nzNoColon",nzTooltipIcon:"nzTooltipIcon",nzFor:"nzFor",nzTooltipTitle:"nzTooltipTitle"},exportAs:["nzFormLabel"],ngContentSelectors:dc,decls:3,vars:6,consts:[["class","ant-form-item-tooltip","nz-tooltip","",3,"nzTooltipTitle",4,"ngIf"],["nz-tooltip","",1,"ant-form-item-tooltip",3,"nzTooltipTitle"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"]],template:function(e,t){1&e&&(r.lc(),r.Wb(0,"label"),r.kc(1),r.Ec(2,_c,2,2,"span",0),r.Vb()),2&e&&(r.Ib("ant-form-item-no-colon",t.nzNoColon)("ant-form-item-required",t.nzRequired),r.Fb("for",t.nzFor),r.Eb(2),r.mc("ngIf",t.nzTooltipTitle))},directives:[o.o,ar,tr.b,Ge.a],encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzRequired",void 0),e})(),Ic=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,hc,Ge.b,lr,Ie,be.b,tr.a],hc]}),e})();const Dc=["inputElement"];let zc=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.cdr=t,this.focusMonitor=n,this.directionality=i,this.destroy$=new fe.a,this.isFocused=!1,this.disabledUp=!1,this.disabledDown=!1,this.dir="ltr",this.onChange=()=>{},this.onTouched=()=>{},this.nzBlur=new r.n,this.nzFocus=new r.n,this.nzSize="default",this.nzMin=-1/0,this.nzMax=1/0,this.nzParser=e=>e.trim().replace(/\u3002/g,".").replace(/[^\w\.-]+/g,""),this.nzPrecisionMode="toFixed",this.nzPlaceHolder="",this.nzStep=1,this.nzInputMode="decimal",this.nzId=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.nzFormatter=e=>e,this.elementRef.nativeElement.classList.add("ant-input-number")}onModelChange(e){this.parsedValue=this.nzParser(e),this.inputElement.nativeElement.value=`${this.parsedValue}`;const t=this.getCurrentValidValue(this.parsedValue);this.setValue(t)}getCurrentValidValue(e){let t=e;return t=""===t?"":this.isNotCompleteNumber(t)?this.value:`${this.getValidValue(t)}`,this.toNumber(t)}isNotCompleteNumber(e){return isNaN(e)||""===e||null===e||!(!e||e.toString().indexOf(".")!==e.toString().length-1)}getValidValue(e){let t=parseFloat(e);return isNaN(t)?e:(tthis.nzMax&&(t=this.nzMax),t)}toNumber(e){if(this.isNotCompleteNumber(e))return e;const t=String(e);if(t.indexOf(".")>=0&&Object(_e.h)(this.nzPrecision)){if("function"==typeof this.nzPrecisionMode)return this.nzPrecisionMode(e,this.nzPrecision);if("cut"===this.nzPrecisionMode){const e=t.split(".");return e[1]=e[1].slice(0,this.nzPrecision),Number(e.join("."))}return Number(Number(e).toFixed(this.nzPrecision))}return Number(e)}getRatio(e){let t=1;return e.metaKey||e.ctrlKey?t=.1:e.shiftKey&&(t=10),t}down(e,t){this.isFocused||this.focus(),this.step("down",e,t)}up(e,t){this.isFocused||this.focus(),this.step("up",e,t)}getPrecision(e){const t=e.toString();if(t.indexOf("e-")>=0)return parseInt(t.slice(t.indexOf("e-")+2),10);let n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}getMaxPrecision(e,t){if(Object(_e.h)(this.nzPrecision))return this.nzPrecision;const n=this.getPrecision(t),i=this.getPrecision(this.nzStep),r=this.getPrecision(e);return e?Math.max(r,n+i):n+i}getPrecisionFactor(e,t){const n=this.getMaxPrecision(e,t);return Math.pow(10,n)}upStep(e,t){const n=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t));let r;return r="number"==typeof e?((n*e+n*this.nzStep*t)/n).toFixed(i):this.nzMin===-1/0?this.nzStep:this.nzMin,this.toNumber(r)}downStep(e,t){const n=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t));let r;return r="number"==typeof e?((n*e-n*this.nzStep*t)/n).toFixed(i):this.nzMin===-1/0?-this.nzStep:this.nzMin,this.toNumber(r)}step(e,t,n=1){if(this.stop(),t.preventDefault(),this.nzDisabled)return;const i=this.getCurrentValidValue(this.parsedValue)||0;let r=0;"up"===e?r=this.upStep(i,n):"down"===e&&(r=this.downStep(i,n));const o=r>this.nzMax||rthis.nzMax?r=this.nzMax:r{this[e](t,n)},300))}stop(){this.autoStepTimer&&clearTimeout(this.autoStepTimer)}setValue(e){if(`${this.value}`!=`${e}`&&this.onChange(e),this.value=e,this.parsedValue=e,this.disabledUp=this.disabledDown=!1,e||0===e){const t=Number(e);t>=this.nzMax&&(this.disabledUp=!0),t<=this.nzMin&&(this.disabledDown=!0)}}updateDisplayValue(e){const t=Object(_e.h)(this.nzFormatter(e))?this.nzFormatter(e):"";this.displayValue=t,this.inputElement.nativeElement.value=`${t}`}onKeyDown(e){if(e.keyCode===ct.m){const t=this.getRatio(e);this.up(e,t),this.stop()}else if(e.keyCode===ct.c){const t=this.getRatio(e);this.down(e,t),this.stop()}else e.keyCode===ct.e&&this.updateDisplayValue(this.value)}writeValue(e){this.value=e,this.setValue(e),this.updateDisplayValue(e),this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=e,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnInit(){var e;this.focusMonitor.monitor(this.elementRef,!0).subscribe(e=>{e?(this.isFocused=!0,this.nzFocus.emit()):(this.isFocused=!1,this.updateDisplayValue(this.value),this.nzBlur.emit(),Promise.resolve().then(()=>this.onTouched()))}),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){if(e.nzFormatter&&!e.nzFormatter.isFirstChange()){const e=this.getCurrentValidValue(this.parsedValue);this.setValue(e),this.updateDisplayValue(e)}}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.h),r.Qb(Ot),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-input-number"]],viewQuery:function(e,t){if(1&e&&r.Kc(Dc,3),2&e){let e;r.sc(e=r.ec())&&(t.inputElement=e.first)}},hostVars:10,hostBindings:function(e,t){2&e&&r.Ib("ant-input-number-focused",t.isFocused)("ant-input-number-lg","large"===t.nzSize)("ant-input-number-sm","small"===t.nzSize)("ant-input-number-disabled",t.nzDisabled)("ant-input-number-rtl","rtl"===t.dir)},inputs:{nzSize:"nzSize",nzMin:"nzMin",nzMax:"nzMax",nzParser:"nzParser",nzPrecisionMode:"nzPrecisionMode",nzPlaceHolder:"nzPlaceHolder",nzStep:"nzStep",nzInputMode:"nzInputMode",nzId:"nzId",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus",nzFormatter:"nzFormatter",nzPrecision:"nzPrecision"},outputs:{nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzInputNumber"],features:[r.Db([{provide:ya.j,useExisting:Object(r.W)(()=>e),multi:!0}]),r.Cb],decls:20,vars:13,consts:[[1,"ant-input-number-handler-wrap"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-up",3,"mousedown","mouseup","mouseleave"],["nz-icon","","nzType","up",1,"ant-input-number-handler-up-inner"],["unselectable","unselectable",1,"ant-input-number-handler","ant-input-number-handler-down",3,"mousedown","mouseup","mouseleave"],["nz-icon","","nzType","down",1,"ant-input-number-handler-down-inner"],[1,"ant-input-number-input-wrap"],["autocomplete","off",1,"ant-input-number-input",3,"disabled","placeholder","ngModel","keydown","keyup","ngModelChange"],["inputElement",""]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",0),r.Gc(2,"\n "),r.Wb(3,"span",1),r.dc("mousedown",function(e){return t.up(e)})("mouseup",function(){return t.stop()})("mouseleave",function(){return t.stop()}),r.Gc(4,"\n "),r.Rb(5,"i",2),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Wb(8,"span",3),r.dc("mousedown",function(e){return t.down(e)})("mouseup",function(){return t.stop()})("mouseleave",function(){return t.stop()}),r.Gc(9,"\n "),r.Rb(10,"i",4),r.Gc(11,"\n "),r.Vb(),r.Gc(12,"\n "),r.Vb(),r.Gc(13,"\n "),r.Wb(14,"div",5),r.Gc(15,"\n "),r.Wb(16,"input",6,7),r.dc("keydown",function(e){return t.onKeyDown(e)})("keyup",function(){return t.stop()})("ngModelChange",function(e){return t.onModelChange(e)}),r.Vb(),r.Gc(18,"\n "),r.Vb(),r.Gc(19,"\n ")),2&e&&(r.Eb(3),r.Ib("ant-input-number-handler-up-disabled",t.disabledUp),r.Eb(5),r.Ib("ant-input-number-handler-down-disabled",t.disabledDown),r.Eb(8),r.mc("disabled",t.nzDisabled)("placeholder",t.nzPlaceHolder)("ngModel",t.displayValue),r.Fb("id",t.nzId)("autofocus",t.nzAutoFocus?"autofocus":null)("min",t.nzMin)("max",t.nzMax)("step",t.nzStep)("inputmode",t.nzInputMode))},directives:[Ge.a,ya.e,ya.l,ya.o],encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),e})(),jc=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,ya.i,Ge.b]]}),e})();const Ac=["switchElement"];function Rc(e,t){1&e&&r.Rb(0,"i",8)}function Nc(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.nzCheckedChildren)}}function Lc(e,t){if(1&e&&(r.Ub(0),r.Ec(1,Nc,2,1,"ng-container",9),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.mc("nzStringTemplateOutlet",e.nzCheckedChildren)}}function Mc(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.nzUnCheckedChildren)}}function Fc(e,t){if(1&e&&r.Ec(0,Mc,2,1,"ng-container",9),2&e){const e=r.gc();r.mc("nzStringTemplateOutlet",e.nzUnCheckedChildren)}}let Pc=(()=>{class e{constructor(e,t,n,i){this.nzConfigService=e,this.cdr=t,this.focusMonitor=n,this.directionality=i,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.dir="ltr",this.destroy$=new fe.a}onHostClick(e){e.preventDefault(),this.nzDisabled||this.nzLoading||this.nzControl||this.updateValue(!this.isChecked)}updateValue(e){this.isChecked!==e&&(this.isChecked=e,this.onChange(this.isChecked))}onKeyDown(e){this.nzControl||this.nzDisabled||this.nzLoading||(e.keyCode===ct.h?(this.updateValue(!1),e.preventDefault()):e.keyCode===ct.j?(this.updateValue(!0),e.preventDefault()):e.keyCode!==ct.k&&e.keyCode!==ct.e||(this.updateValue(!this.isChecked),e.preventDefault()))}focus(){var e;this.focusMonitor.focusVia(null===(e=this.switchElement)||void 0===e?void 0:e.nativeElement,"keyboard")}blur(){var e;null===(e=this.switchElement)||void 0===e||e.nativeElement.blur()}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).subscribe(e=>{e||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(e){this.isChecked=e,this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=e,this.cdr.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Os.a),r.Qb(r.h),r.Qb(Ot),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-switch"]],viewQuery:function(e,t){if(1&e&&r.Kc(Ac,3),2&e){let e;r.sc(e=r.ec())&&(t.switchElement=e.first)}},hostBindings:function(e,t){1&e&&r.dc("click",function(e){return t.onHostClick(e)})},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize"},exportAs:["nzSwitch"],features:[r.Db([{provide:ya.j,useExisting:Object(r.W)(()=>e),multi:!0}])],decls:9,vars:15,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode","keydown"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(e,t){if(1&e&&(r.Wb(0,"button",0,1),r.dc("keydown",function(e){return t.onKeyDown(e)}),r.Wb(2,"span",2),r.Ec(3,Rc,1,0,"i",3),r.Vb(),r.Wb(4,"span",4),r.Ec(5,Lc,2,1,"ng-container",5),r.Ec(6,Fc,1,1,"ng-template",null,6,r.Fc),r.Vb(),r.Rb(8,"div",7),r.Vb()),2&e){const e=r.tc(7);r.Ib("ant-switch-checked",t.isChecked)("ant-switch-loading",t.nzLoading)("ant-switch-disabled",t.nzDisabled)("ant-switch-small","small"===t.nzSize)("ant-switch-rtl","rtl"===t.dir),r.mc("disabled",t.nzDisabled)("nzWaveExtraNode",!0),r.Eb(3),r.mc("ngIf",t.nzLoading),r.Eb(2),r.mc("ngIf",t.isChecked)("ngIfElse",e)}},directives:[Cs.a,o.o,Ge.a,tr.b],encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzLoading",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzControl",void 0),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",String)],e.prototype,"nzSize",void 0),e})(),Vc=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,Cs.b,Ge.b,tr.a]]}),e})();var Gc=n("VRyK"),Bc=n("EY2u"),Wc=n("5+tZ");let $c=(()=>{class e{constructor(e,t,n,i){this.ngControl=e,this.directionality=i,this.nzBorderless=!1,this.nzSize="default",this._disabled=!1,this.disabled$=new fe.a,this.dir="ltr",this.destroy$=new fe.a,t.addClass(n.nativeElement,"ant-input")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=null!=e&&"false"!=`${e}`}ngOnInit(){var e,t;this.ngControl&&(null===(e=this.ngControl.statusChanges)||void 0===e||e.pipe(Object(p.a)(()=>null!==this.ngControl.disabled),Object(ge.a)(this.destroy$)).subscribe(()=>{this.disabled$.next(this.ngControl.disabled)})),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{disabled:t}=e;t&&this.disabled$.next(this.disabled)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(ya.k,10),r.Qb(r.G),r.Qb(r.l),r.Qb(pe.b,8))},e.\u0275dir=r.Lb({type:e,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostVars:11,hostBindings:function(e,t){2&e&&(r.Fb("disabled",t.disabled||null),r.Ib("ant-input-disabled",t.disabled)("ant-input-borderless",t.nzBorderless)("ant-input-lg","large"===t.nzSize)("ant-input-sm","small"===t.nzSize)("ant-input-rtl","rtl"===t.dir))},inputs:{nzBorderless:"nzBorderless",nzSize:"nzSize",disabled:"disabled"},exportAs:["nzInput"],features:[r.Cb]}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzBorderless",void 0),e})(),Uc=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["nz-input-group","nzSuffix",""],["nz-input-group","nzPrefix",""]]}),e})(),Hc=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,Ge.b,be.b,tr.a]]}),e})();var qc=n("D0XW"),Qc=n("mlxB"),Kc=n("7o/Q"),Xc=n("WMd4");function Yc(e,t=qc.a){const n=Object(Qc.a)(e)?+e-t.now():Math.abs(e);return e=>e.lift(new Jc(n,t))}class Jc{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new Zc(e,this.delay,this.scheduler))}}class Zc extends Kc.a{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,r=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(Zc.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new el(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(Xc.a.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(Xc.a.createComplete()),this.unsubscribe()}}class el{constructor(e,t){this.time=e,this.notification=t}}function tl(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.Hc(e.nzLabel)}}const nl=[[["nz-auto-option"]]],il=["nz-auto-option"],rl=["*"],ol=["panel"],sl=["content"];function al(e,t){}function cl(e,t){1&e&&r.Ec(0,al,0,0,"ng-template")}function ll(e,t){1&e&&r.kc(0)}function ul(e,t){if(1&e&&(r.Wb(0,"nz-auto-option",8),r.Gc(1),r.Vb()),2&e){const e=t.$implicit;r.mc("nzValue",e)("nzLabel",e&&e.label?e.label:e),r.Eb(1),r.Ic(" ",e&&e.label?e.label:e," ")}}function hl(e,t){if(1&e&&r.Ec(0,ul,2,3,"nz-auto-option",7),2&e){const e=r.gc(2);r.mc("ngForOf",e.nzDataSource)}}function dl(e,t){if(1&e&&(r.Wb(0,"div",0,1),r.Wb(2,"div",2),r.Wb(3,"div",3),r.Ec(4,cl,1,0,void 0,4),r.Vb(),r.Vb(),r.Vb(),r.Ec(5,ll,1,0,"ng-template",null,5,r.Fc),r.Ec(7,hl,1,1,"ng-template",null,6,r.Fc)),2&e){const e=r.tc(6),t=r.tc(8),n=r.gc();r.Ib("ant-select-dropdown-hidden",!n.showPanel)("ant-select-dropdown-rtl","rtl"===n.dir),r.mc("ngClass",n.nzOverlayClassName)("ngStyle",n.nzOverlayStyle)("nzNoAnimation",null==n.noAnimation?null:n.noAnimation.nzNoAnimation)("@slideMotion","enter")("@.disabled",null==n.noAnimation?null:n.noAnimation.nzNoAnimation),r.Eb(4),r.mc("ngTemplateOutlet",n.nzDataSource?t:e)}}let pl=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-auto-optgroup"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzAutoOptgroup"],ngContentSelectors:il,decls:3,vars:1,consts:[[1,"ant-select-item","ant-select-item-group"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(r.lc(nl),r.Wb(0,"div",0),r.Ec(1,tl,2,1,"ng-container",1),r.Vb(),r.kc(2)),2&e&&(r.Eb(1),r.mc("nzStringTemplateOutlet",t.nzLabel))},directives:[tr.b],encapsulation:2,changeDetection:0}),e})();class fl{constructor(e,t=!1){this.source=e,this.isUserInput=t}}let gl=(()=>{class e{constructor(e,t,n){this.changeDetectorRef=e,this.element=t,this.nzAutocompleteOptgroupComponent=n,this.nzDisabled=!1,this.selectionChange=new r.n,this.mouseEntered=new r.n,this.active=!1,this.selected=!1}select(e=!0){this.selected=!0,this.changeDetectorRef.markForCheck(),e&&this.emitSelectionChangeEvent()}onMouseEnter(){this.mouseEntered.emit(this)}deselect(){this.selected=!1,this.changeDetectorRef.markForCheck(),this.emitSelectionChangeEvent()}getLabel(){return this.nzLabel||this.nzValue.toString()}setActiveStyles(){this.active||(this.active=!0,this.changeDetectorRef.markForCheck())}setInactiveStyles(){this.active&&(this.active=!1,this.changeDetectorRef.markForCheck())}scrollIntoViewIfNeeded(){Object(_e.m)(this.element.nativeElement)}selectViaInteraction(){this.nzDisabled||(this.selected=!this.selected,this.selected?this.setActiveStyles():this.setInactiveStyles(),this.emitSelectionChangeEvent(!0),this.changeDetectorRef.markForCheck())}emitSelectionChangeEvent(e=!1){this.selectionChange.emit(new fl(this,e))}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(r.l),r.Qb(pl,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-auto-option"]],hostAttrs:["role","menuitem",1,"ant-select-item","ant-select-item-option"],hostVars:10,hostBindings:function(e,t){1&e&&r.dc("click",function(){return t.selectViaInteraction()})("mouseenter",function(){return t.onMouseEnter()})("mousedown",function(e){return e.preventDefault()}),2&e&&(r.Fb("aria-selected",t.selected.toString())("aria-disabled",t.nzDisabled.toString()),r.Ib("ant-select-item-option-grouped",t.nzAutocompleteOptgroupComponent)("ant-select-item-option-selected",t.selected)("ant-select-item-option-active",t.active)("ant-select-item-option-disabled",t.nzDisabled))},inputs:{nzDisabled:"nzDisabled",nzValue:"nzValue",nzLabel:"nzLabel"},outputs:{selectionChange:"selectionChange",mouseEntered:"mouseEntered"},exportAs:["nzAutoOption"],ngContentSelectors:rl,decls:2,vars:0,consts:[[1,"ant-select-item-option-content"]],template:function(e,t){1&e&&(r.lc(),r.Wb(0,"div",0),r.kc(1),r.Vb())},encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),e})(),ml=(()=>{class e{constructor(e,t,n,i){this.changeDetectorRef=e,this.ngZone=t,this.directionality=n,this.noAnimation=i,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzDefaultActiveFirstOption=!0,this.nzBackfill=!1,this.compareWith=(e,t)=>e===t,this.selectionChange=new r.n,this.showPanel=!0,this.isOpen=!1,this.dir="ltr",this.destroy$=new fe.a,this.activeItemIndex=-1,this.selectionChangeSubscription=st.a.EMPTY,this.optionMouseEnterSubscription=st.a.EMPTY,this.dataSourceChangeSubscription=st.a.EMPTY,this.optionSelectionChanges=Object(ss.a)(()=>this.options?Object(Gc.a)(...this.options.map(e=>e.selectionChange)):this.ngZone.onStable.asObservable().pipe(Object(l.a)(1),Object(u.a)(()=>this.optionSelectionChanges))),this.optionMouseEnter=Object(ss.a)(()=>this.options?Object(Gc.a)(...this.options.map(e=>e.mouseEntered)):this.ngZone.onStable.asObservable().pipe(Object(l.a)(1),Object(u.a)(()=>this.optionMouseEnter)))}get options(){return this.nzDataSource?this.fromDataSourceOptions:this.fromContentOptions}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.changeDetectorRef.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.nzDataSource||this.optionsInit()}ngAfterViewInit(){this.nzDataSource&&this.optionsInit()}ngOnDestroy(){this.dataSourceChangeSubscription.unsubscribe(),this.selectionChangeSubscription.unsubscribe(),this.optionMouseEnterSubscription.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}setVisibility(){this.showPanel=!!this.options.length,this.changeDetectorRef.markForCheck()}setActiveItem(e){const t=this.options.toArray()[e];t&&!t.active&&(this.activeItem=t,this.activeItemIndex=e,this.clearSelectedOptions(this.activeItem),this.activeItem.setActiveStyles(),this.changeDetectorRef.markForCheck())}setNextItemActive(){this.setActiveItem(this.activeItemIndex+1<=this.options.length-1?this.activeItemIndex+1:0)}setPreviousItemActive(){this.setActiveItem(this.activeItemIndex-1<0?this.options.length-1:this.activeItemIndex-1)}getOptionIndex(e){return this.options.reduce((t,n,i)=>-1===t?this.compareWith(e,n.nzValue)?i:-1:t,-1)}getOption(e){return this.options.find(t=>this.compareWith(e,t.nzValue))||null}optionsInit(){this.setVisibility(),this.subscribeOptionChanges(),this.dataSourceChangeSubscription=(this.nzDataSource?this.fromDataSourceOptions.changes:this.fromContentOptions.changes).subscribe(e=>{!e.dirty&&this.isOpen&&setTimeout(()=>this.setVisibility()),this.subscribeOptionChanges()})}clearSelectedOptions(e,t=!1){this.options.forEach(n=>{n!==e&&(t&&n.deselect(),n.setInactiveStyles())})}subscribeOptionChanges(){this.selectionChangeSubscription.unsubscribe(),this.selectionChangeSubscription=this.optionSelectionChanges.pipe(Object(p.a)(e=>e.isUserInput)).subscribe(e=>{e.source.select(),e.source.setActiveStyles(),this.activeItem=e.source,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(e.source,!0),this.selectionChange.emit(e.source)}),this.optionMouseEnterSubscription.unsubscribe(),this.optionMouseEnterSubscription=this.optionMouseEnter.subscribe(e=>{e.setActiveStyles(),this.activeItem=e,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(e)})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(r.B),r.Qb(pe.b,8),r.Qb(Zi.a,9))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-autocomplete"]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,gl,1),2&e){let e;r.sc(e=r.ec())&&(t.fromContentOptions=e)}},viewQuery:function(e,t){if(1&e&&(r.Kc(r.O,1),r.Kc(ol,1),r.Kc(sl,1),r.Kc(gl,1)),2&e){let e;r.sc(e=r.ec())&&(t.template=e.first),r.sc(e=r.ec())&&(t.panel=e.first),r.sc(e=r.ec())&&(t.content=e.first),r.sc(e=r.ec())&&(t.fromDataSourceOptions=e)}},inputs:{nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzDefaultActiveFirstOption:"nzDefaultActiveFirstOption",nzBackfill:"nzBackfill",compareWith:"compareWith",nzWidth:"nzWidth",nzDataSource:"nzDataSource"},outputs:{selectionChange:"selectionChange"},exportAs:["nzAutocomplete"],ngContentSelectors:rl,decls:1,vars:0,consts:[[1,"ant-select-dropdown","ant-select-dropdown-placement-bottomLeft",3,"ngClass","ngStyle","nzNoAnimation"],["panel",""],[2,"max-height","256px","overflow-y","auto","overflow-anchor","none"],[2,"display","flex","flex-direction","column"],[4,"ngTemplateOutlet"],["contentTemplate",""],["optionsTemplate",""],[3,"nzValue","nzLabel",4,"ngFor","ngForOf"],[3,"nzValue","nzLabel"]],template:function(e,t){1&e&&(r.lc(),r.Ec(0,dl,9,10,"ng-template"))},directives:[o.l,o.p,Zi.a,o.t,o.n,gl],encapsulation:2,data:{animation:[Yi.d]},changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDefaultActiveFirstOption",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzBackfill",void 0),e})();const bl={provide:ya.j,useExisting:Object(r.W)(()=>vl),multi:!0};let vl=(()=>{class e{constructor(e,t,n,i,r){this.elementRef=e,this.overlay=t,this.viewContainerRef=n,this.nzInputGroupWhitSuffixOrPrefixDirective=i,this.document=r,this.onChange=()=>{},this.onTouched=()=>{},this.panelOpen=!1,this.destroy$=new fe.a,this.overlayRef=null,this.portal=null,this.previousValue=null}get activeOption(){if(this.nzAutocomplete&&this.nzAutocomplete.options.length)return this.nzAutocomplete.activeItem}ngOnDestroy(){this.destroyPanel()}writeValue(e){Promise.resolve(null).then(()=>this.setTriggerValue(e))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.elementRef.nativeElement.disabled=e,this.closePanel()}openPanel(){this.previousValue=this.elementRef.nativeElement.value,this.attachOverlay(),this.updateStatus()}closePanel(){this.panelOpen&&(this.nzAutocomplete.isOpen=this.panelOpen=!1,this.overlayRef&&this.overlayRef.hasAttached()&&(this.selectionChangeSubscription.unsubscribe(),this.overlayOutsideClickSubscription.unsubscribe(),this.optionsChangeSubscription.unsubscribe(),this.overlayRef.dispose(),this.overlayRef=null,this.portal=null))}handleKeydown(e){const t=e.keyCode,n=t===ct.m||t===ct.c;t===ct.f&&e.preventDefault(),!this.panelOpen||t!==ct.f&&t!==ct.l?this.panelOpen&&t===ct.e?this.nzAutocomplete.showPanel&&this.activeOption&&(e.preventDefault(),this.activeOption.selectViaInteraction()):this.panelOpen&&n&&this.nzAutocomplete.showPanel&&(e.stopPropagation(),e.preventDefault(),t===ct.m?this.nzAutocomplete.setPreviousItemActive():this.nzAutocomplete.setNextItemActive(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded(),this.doBackfill()):(this.activeOption&&this.activeOption.getLabel()!==this.previousValue&&this.setTriggerValue(this.previousValue),this.closePanel())}handleInput(e){const t=e.target,n=this.document;let i=t.value;"number"===t.type&&(i=""===i?null:parseFloat(i)),this.previousValue!==i&&(this.previousValue=i,this.onChange(i),this.canOpen()&&n.activeElement===e.target&&this.openPanel())}handleFocus(){this.canOpen()&&this.openPanel()}handleBlur(){this.onTouched()}subscribeOptionsChange(){return this.nzAutocomplete.options.changes.pipe(Object(lt.a)(()=>this.positionStrategy.reapplyLastPosition()),Yc(0)).subscribe(()=>{this.resetActiveItem(),this.panelOpen&&this.overlayRef.updatePosition()})}subscribeSelectionChange(){return this.nzAutocomplete.selectionChange.subscribe(e=>{this.setValueAndClose(e)})}subscribeOverlayOutsideClick(){return this.overlayRef.outsidePointerEvents().pipe(Object(p.a)(e=>!this.elementRef.nativeElement.contains(e.target))).subscribe(()=>{this.closePanel()})}attachOverlay(){if(!this.nzAutocomplete)throw Error("Attempting to open an undefined instance of `nz-autocomplete`. Make sure that the id passed to the `nzAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");!this.portal&&this.nzAutocomplete.template&&(this.portal=new at.f(this.nzAutocomplete.template,this.viewContainerRef)),this.overlayRef||(this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.selectionChangeSubscription=this.subscribeSelectionChange(),this.optionsChangeSubscription=this.subscribeOptionsChange(),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick(),this.overlayRef.detachments().pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.closePanel()})),this.nzAutocomplete.isOpen=this.panelOpen=!0}updateStatus(){this.overlayRef&&this.overlayRef.updateSize({width:this.nzAutocomplete.nzWidth||this.getHostWidth()}),this.nzAutocomplete.setVisibility(),this.resetActiveItem(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded()}destroyPanel(){this.overlayRef&&this.closePanel()}getOverlayConfig(){return new ot.f({positionStrategy:this.getOverlayPosition(),disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:this.nzAutocomplete.nzWidth||this.getHostWidth()})}getConnectedElement(){return this.nzInputGroupWhitSuffixOrPrefixDirective?this.nzInputGroupWhitSuffixOrPrefixDirective.elementRef:this.elementRef}getHostWidth(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width}getOverlayPosition(){const e=[new ot.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new ot.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions(e).withTransformOriginOn(".ant-select-dropdown"),this.positionStrategy}resetActiveItem(){const e=this.nzAutocomplete.getOptionIndex(this.previousValue);this.nzAutocomplete.clearSelectedOptions(null,!0),-1!==e?(this.nzAutocomplete.setActiveItem(e),this.nzAutocomplete.activeItem.select(!1)):this.nzAutocomplete.setActiveItem(this.nzAutocomplete.nzDefaultActiveFirstOption?0:-1)}setValueAndClose(e){const t=e.nzValue;this.setTriggerValue(e.getLabel()),this.onChange(t),this.elementRef.nativeElement.focus(),this.closePanel()}setTriggerValue(e){const t=this.nzAutocomplete.getOption(e),n=t?t.getLabel():e;this.elementRef.nativeElement.value=null!=n?n:"",this.nzAutocomplete.nzBackfill||(this.previousValue=n)}doBackfill(){this.nzAutocomplete.nzBackfill&&this.nzAutocomplete.activeItem&&this.setTriggerValue(this.nzAutocomplete.activeItem.getLabel())}canOpen(){const e=this.elementRef.nativeElement;return!e.readOnly&&!e.disabled}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(ot.e),r.Qb(r.S),r.Qb(Uc,8),r.Qb(o.d,8))},e.\u0275dir=r.Lb({type:e,selectors:[["input","nzAutocomplete",""],["textarea","nzAutocomplete",""]],hostAttrs:["autocomplete","off","aria-autocomplete","list"],hostBindings:function(e,t){1&e&&r.dc("focusin",function(){return t.handleFocus()})("blur",function(){return t.handleBlur()})("input",function(e){return t.handleInput(e)})("keydown",function(e){return t.handleKeydown(e)})},inputs:{nzAutocomplete:"nzAutocomplete"},exportAs:["nzAutocompleteTrigger"],features:[r.Db([bl])]}),e})(),yl=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,ot.h,ya.i,tr.a,Zi.b,Hc]]}),e})();function wl(e,t){if(1&e&&(r.Wb(0,"nz-form-label"),r.Gc(1),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.Hc(e.item.description)}}let _l=(()=>{class e{constructor(e){this.themeRegistry=e,this.dataChange=new r.n}ngOnInit(){}getAutocompleteOptions(e){switch(null==e?void 0:e.key){case"theme":return["system",...this.themeRegistry.getAllThemes()];default:return[]}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(R.ThemeRegistryService))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-schema-form-item-input"]],inputs:{item:"item",data:"data"},outputs:{dataChange:"dataChange"},decls:10,vars:6,consts:[[4,"ngIf"],["nz-input","",3,"placeholder","ngModel","name","nzAutocomplete","ngModelChange"],["nzBackfill","",3,"nzDataSource"],["auto",""]],template:function(e,t){if(1&e&&(r.Ec(0,wl,2,1,"nz-form-label",0),r.Gc(1,"\n"),r.Wb(2,"nz-form-control"),r.Gc(3,"\n "),r.Wb(4,"input",1),r.dc("ngModelChange",function(e){return t.data=e})("ngModelChange",function(e){return t.dataChange.next(e)}),r.Vb(),r.Gc(5,"\n "),r.Rb(6,"nz-autocomplete",2,3),r.Gc(8,"\n"),r.Vb(),r.Gc(9,"\n")),2&e){const e=r.tc(7);r.mc("ngIf",t.item.description),r.Eb(4),r.mc("placeholder",t.item.key||"")("ngModel",t.data)("name",t.item.key)("nzAutocomplete",e),r.Eb(2),r.mc("nzDataSource",t.getAutocompleteOptions(t.item))}},directives:[o.o,uc,Tc,$c,ya.e,vl,ya.l,ya.o,ml,kc],encapsulation:2}),e})();function Ol(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",3),r.Gc(1,"\n "),r.Wb(2,"app-schema-form-item",4),r.dc("dataChange",function(n){r.wc(e);const i=t.index;return r.gc(2).data[i]=n})("dataChange",function(){r.wc(e);const t=r.gc(2);return t.dataChange.next(t.data)}),r.Vb(),r.Gc(3,"\n "),r.Wb(4,"span",5),r.dc("click",function(){r.wc(e);const n=t.index;return r.gc(2).removeField(n)}),r.Gc(5),r.hc(6,"translate"),r.Vb(),r.Gc(7,"\n "),r.Vb()}if(2&e){const e=t.index,n=r.gc(2);r.Eb(2),r.mc("item",n.item.items)("data",n.data[e]),r.Eb(3),r.Ic("\xd7 ",r.ic(6,3,"SCHEMA_FORM_LIST_REMOVE"),"")}}function Cl(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,Ol,8,5,"div",2),r.Gc(3,"\n"),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("ngForOf",e.data)("ngForTrackBy",e.trackByIndex)}}let El=(()=>{class e{constructor(){this.dataChange=new r.n}ngOnInit(){}addField(){this.data&&Array.isArray(this.data)||(this.data=[]),this.data.push(""),this.dataChange.next(this.data)}removeField(e){this.data&&Array.isArray(this.data)&&(this.data=this.data.filter((t,n)=>n!==e),this.dataChange.next(this.data))}trackByIndex(e){return e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-schema-form-item-list"]],inputs:{item:"item",data:"data"},outputs:{dataChange:"dataChange"},decls:15,vars:5,consts:[[4,"ngIf"],[1,"app-button","active-grey",3,"click"],["class","ui-form__list-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ui-form__list-wrapper"],[3,"item","data","dataChange"],[1,"ui-form__list-item-close",3,"click"]],template:function(e,t){1&e&&(r.Wb(0,"nz-form-label"),r.Gc(1),r.Vb(),r.Gc(2,"\n"),r.Ec(3,Cl,4,2,"ng-container",0),r.Gc(4,"\n"),r.Wb(5,"nz-form-item"),r.Gc(6,"\n "),r.Wb(7,"nz-form-control"),r.Gc(8,"\n "),r.Wb(9,"button",1),r.dc("click",function(){return t.addField()}),r.Gc(10),r.hc(11,"translate"),r.Vb(),r.Gc(12,"\n "),r.Vb(),r.Gc(13,"\n"),r.Vb(),r.Gc(14,"\n")),2&e&&(r.Eb(1),r.Hc(t.item.description),r.Eb(2),r.mc("ngIf",t.data),r.Eb(7),r.Ic("\n +\n ",r.ic(11,3,"SCHEMA_FORM_LIST_ADD"),"\n "))},encapsulation:2}),e})();var Sl=n("vxfF");function Tl(e,t){1&e&&r.Rb(0,"nz-empty",6),2&e&&r.mc("nzNotFoundImage","simple")}function xl(e,t){1&e&&r.Rb(0,"nz-empty",7),2&e&&r.mc("nzNotFoundImage","simple")}function kl(e,t){1&e&&r.Rb(0,"nz-empty")}function Il(e,t){if(1&e&&(r.Ub(0,2),r.Gc(1,"\n "),r.Ec(2,Tl,1,1,"nz-empty",3),r.Gc(3,"\n "),r.Ec(4,xl,1,1,"nz-empty",4),r.Gc(5,"\n "),r.Ec(6,kl,1,0,"nz-empty",5),r.Gc(7,"\n "),r.Tb()),2&e){const e=r.gc();r.mc("ngSwitch",e.size),r.Eb(2),r.mc("ngSwitchCase","normal"),r.Eb(2),r.mc("ngSwitchCase","small")}}function Dl(e,t){}function zl(e,t){if(1&e&&r.Ec(0,Dl,0,0,"ng-template",8),2&e){const e=r.gc(2);r.mc("cdkPortalOutlet",e.contentPortal)}}function jl(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Ic("\n ",e.content,"\n ")}}function Al(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,zl,1,1,void 0,1),r.Gc(3,"\n "),r.Ec(4,jl,2,1,"ng-container",1),r.Gc(5,"\n "),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("ngIf","string"!==e.contentType),r.Eb(2),r.mc("ngIf","string"===e.contentType)}}function Rl(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Rb(2,"img",5),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc(2);r.Eb(2),r.mc("src",e.nzNotFoundImage,r.yc)("alt",e.isContentString?e.nzNotFoundContent:"empty")}}function Nl(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,Rl,4,2,"ng-container",4),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("nzStringTemplateOutlet",e.nzNotFoundImage)}}function Ll(e,t){1&e&&r.Rb(0,"nz-empty-default")}function Ml(e,t){1&e&&r.Rb(0,"nz-empty-simple")}function Fl(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Ic("\n ",e.isContentString?e.nzNotFoundContent:e.locale.description,"\n ")}}function Pl(e,t){if(1&e&&(r.Wb(0,"p",6),r.Gc(1,"\n "),r.Ec(2,Fl,2,1,"ng-container",4),r.Gc(3,"\n "),r.Vb()),2&e){const e=r.gc();r.Eb(2),r.mc("nzStringTemplateOutlet",e.nzNotFoundContent)}}function Vl(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Ic("\n ",e.nzNotFoundFooter,"\n ")}}function Gl(e,t){if(1&e&&(r.Wb(0,"div",7),r.Gc(1,"\n "),r.Ec(2,Vl,2,1,"ng-container",4),r.Gc(3,"\n "),r.Vb()),2&e){const e=r.gc();r.Eb(2),r.mc("nzStringTemplateOutlet",e.nzNotFoundFooter)}}const Bl=new r.s("nz-empty-component-name");let Wl=(()=>{class e{constructor(e,t,n,i){this.configService=e,this.viewContainerRef=t,this.cdr=n,this.injector=i,this.contentType="string",this.size="",this.destroy$=new fe.a}ngOnChanges(e){e.nzComponentName&&(this.size=function(e){switch(e){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(e.nzComponentName.currentValue)),e.specificContent&&!e.specificContent.isFirstChange()&&(this.content=e.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const e=this.content;if("string"==typeof e)this.contentType="string";else if(e instanceof r.O){const t={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new at.f(e,this.viewContainerRef,t)}else if(e instanceof r.Q){const t=r.t.create({parent:this.injector,providers:[{provide:Bl,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new at.c(e,this.viewContainerRef,t)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe(Object(we.a)(!0),Object(ge.a)(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Os.a),r.Qb(r.S),r.Qb(r.h),r.Qb(r.t))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[r.Cb],decls:5,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,Il,8,3,"ng-container",0),r.Gc(2,"\n "),r.Ec(3,Al,6,2,"ng-container",1),r.Gc(4,"\n ")),2&e&&(r.Eb(1),r.mc("ngIf",!t.content&&null!==t.specificContent),r.Eb(2),r.mc("ngIf",t.content))},directives:function(){return[o.o,o.q,o.r,o.s,Ul,at.b]},encapsulation:2,changeDetection:0}),e})();const $l=["default","simple"];let Ul=(()=>{class e{constructor(e,t){this.i18n=e,this.cdr=t,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new fe.a}ngOnChanges(e){const{nzNotFoundContent:t,nzNotFoundImage:n}=e;if(t&&(this.isContentString="string"==typeof t.currentValue),n){const e=n.currentValue||"default";this.isImageBuildIn=$l.findIndex(t=>t===e)>-1}}ngOnInit(){this.i18n.localeChange.pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(ms),r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[r.Cb],decls:14,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",0),r.Gc(2,"\n "),r.Ec(3,Nl,4,1,"ng-container",1),r.Gc(4,"\n "),r.Ec(5,Ll,1,0,"nz-empty-default",1),r.Gc(6,"\n "),r.Ec(7,Ml,1,0,"nz-empty-simple",1),r.Gc(8,"\n "),r.Vb(),r.Gc(9,"\n "),r.Ec(10,Pl,4,1,"p",2),r.Gc(11,"\n "),r.Ec(12,Gl,4,1,"div",3),r.Gc(13,"\n ")),2&e&&(r.Eb(3),r.mc("ngIf",!t.isImageBuildIn),r.Eb(2),r.mc("ngIf",t.isImageBuildIn&&"simple"!==t.nzNotFoundImage),r.Eb(2),r.mc("ngIf",t.isImageBuildIn&&"simple"===t.nzNotFoundImage),r.Eb(3),r.mc("ngIf",null!==t.nzNotFoundContent),r.Eb(2),r.mc("ngIf",t.nzNotFoundFooter))},directives:function(){return[o.o,tr.b,Hl,ql]},encapsulation:2,changeDetection:0}),e})(),Hl=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:29,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.fc(),r.Wb(1,"svg",0),r.Gc(2,"\n "),r.Wb(3,"g",1),r.Gc(4,"\n "),r.Wb(5,"g",2),r.Gc(6,"\n "),r.Rb(7,"ellipse",3),r.Gc(8,"\n "),r.Rb(9,"path",4),r.Gc(10,"\n "),r.Rb(11,"path",5),r.Gc(12,"\n "),r.Rb(13,"path",6),r.Gc(14,"\n "),r.Rb(15,"path",7),r.Gc(16,"\n "),r.Vb(),r.Gc(17,"\n "),r.Rb(18,"path",8),r.Gc(19,"\n "),r.Wb(20,"g",9),r.Gc(21,"\n "),r.Rb(22,"ellipse",10),r.Gc(23,"\n "),r.Rb(24,"path",11),r.Gc(25,"\n "),r.Vb(),r.Gc(26,"\n "),r.Vb(),r.Gc(27,"\n "),r.Vb(),r.Gc(28,"\n "))},encapsulation:2,changeDetection:0}),e})(),ql=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:16,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.fc(),r.Wb(1,"svg",0),r.Gc(2,"\n "),r.Wb(3,"g",1),r.Gc(4,"\n "),r.Rb(5,"ellipse",2),r.Gc(6,"\n "),r.Wb(7,"g",3),r.Gc(8,"\n "),r.Rb(9,"path",4),r.Gc(10,"\n "),r.Rb(11,"path",5),r.Gc(12,"\n "),r.Vb(),r.Gc(13,"\n "),r.Vb(),r.Gc(14,"\n "),r.Vb(),r.Gc(15,"\n "))},encapsulation:2,changeDetection:0}),e})(),Ql=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,at.e,tr.a,bs]]}),e})();const Kl=["*"];function Xl(e,t){if(1&e&&(r.Wb(0,"div",4),r.Rb(1,"nz-embed-empty",5),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.mc("specificContent",e.notFoundContent)}}function Yl(e,t){if(1&e&&r.Rb(0,"nz-option-item-group",9),2&e){const e=r.gc().$implicit;r.mc("nzLabel",e.groupLabel)}}function Jl(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-option-item",10),r.dc("itemHover",function(t){return r.wc(e),r.gc(2).onItemHover(t)})("itemClick",function(t){return r.wc(e),r.gc(2).onItemClick(t)}),r.Vb()}if(2&e){const e=r.gc().$implicit,t=r.gc();r.mc("icon",t.menuItemSelectedIcon)("customContent",e.nzCustomContent)("template",e.template)("grouped",!!e.groupLabel)("disabled",e.nzDisabled)("showState","tags"===t.mode||"multiple"===t.mode)("label",e.nzLabel)("compareWith",t.compareWith)("activatedValue",t.activatedValue)("listOfSelectedValue",t.listOfSelectedValue)("value",e.nzValue)}}function Zl(e,t){1&e&&(r.Ub(0,6),r.Ec(1,Yl,1,1,"nz-option-item-group",7),r.Ec(2,Jl,1,11,"nz-option-item",8),r.Tb()),2&e&&(r.mc("ngSwitch",t.$implicit.type),r.Eb(1),r.mc("ngSwitchCase","group"),r.Eb(1),r.mc("ngSwitchCase","item"))}function eu(e,t){}function tu(e,t){1&e&&(r.Gc(0,"\n "),r.kc(1),r.Gc(2,"\n "))}const nu=["inputElement"],iu=["mirrorElement"];function ru(e,t){1&e&&r.Rb(0,"span",3,4)}function ou(e,t){if(1&e&&r.Rb(0,"nz-select-item",6),2&e){const e=r.gc(2);r.mc("deletable",!1)("disabled",!1)("removeIcon",e.removeIcon)("label",e.listOfTopItem[0].nzLabel)("contentTemplateOutlet",e.customTemplate)("contentTemplateOutletContext",e.listOfTopItem[0])}}function su(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Wb(1,"nz-select-search",4),r.dc("isComposingChange",function(t){return r.wc(e),r.gc().isComposingChange(t)})("valueChange",function(t){return r.wc(e),r.gc().onInputValueChange(t)}),r.Vb(),r.Ec(2,ou,1,6,"nz-select-item",5),r.Tb()}if(2&e){const e=r.gc();r.Eb(1),r.mc("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("showInput",e.showSearch)("mirrorSync",!1)("autofocus",e.autofocus)("focusTrigger",e.open),r.Eb(1),r.mc("ngIf",e.isShowSingleLabel)}}function au(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-select-item",9),r.dc("delete",function(){r.wc(e);const n=t.$implicit;return r.gc(2).onDeleteItem(n.contentTemplateOutletContext)}),r.Vb()}if(2&e){const e=t.$implicit,n=r.gc(2);r.mc("removeIcon",n.removeIcon)("label",e.nzLabel)("disabled",e.nzDisabled||n.disabled)("contentTemplateOutlet",e.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",e.contentTemplateOutletContext)}}function cu(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Ec(1,au,1,6,"nz-select-item",7),r.Wb(2,"nz-select-search",8),r.dc("isComposingChange",function(t){return r.wc(e),r.gc().isComposingChange(t)})("valueChange",function(t){return r.wc(e),r.gc().onInputValueChange(t)}),r.Vb(),r.Tb()}if(2&e){const e=r.gc();r.Eb(1),r.mc("ngForOf",e.listOfSlicedItem)("ngForTrackBy",e.trackValue),r.Eb(1),r.mc("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("autofocus",e.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",e.open)}}function lu(e,t){if(1&e&&r.Rb(0,"nz-select-placeholder",10),2&e){const e=r.gc();r.mc("placeholder",e.placeHolder)}}function uu(e,t){if(1&e&&r.Rb(0,"nz-select-arrow",5),2&e){const e=r.gc();r.mc("loading",e.nzLoading)("search",e.nzOpen&&e.nzShowSearch)("suffixIcon",e.nzSuffixIcon)}}function hu(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-select-clear",6),r.dc("clear",function(){return r.wc(e),r.gc().onClearSelection()}),r.Vb()}if(2&e){const e=r.gc();r.mc("clearIcon",e.nzClearIcon)}}function du(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-option-container",7),r.dc("keydown",function(t){return r.wc(e),r.gc().onKeyDown(t)})("itemClick",function(t){return r.wc(e),r.gc().onItemClick(t)})("scrollToBottom",function(){return r.wc(e),r.gc().nzScrollToBottom.emit()}),r.Vb()}if(2&e){const e=r.gc();r.Ib("ant-select-dropdown-placement-bottomLeft","bottom"===e.dropDownPosition)("ant-select-dropdown-placement-topLeft","top"===e.dropDownPosition),r.mc("ngStyle",e.nzDropdownStyle)("itemSize",e.nzOptionHeightPx)("maxItemLength",e.nzOptionOverflowSize)("matchWidth",e.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("listOfContainerItem",e.listOfContainerItem)("menuItemSelectedIcon",e.nzMenuItemSelectedIcon)("notFoundContent",e.nzNotFoundContent)("activatedValue",e.activatedValue)("listOfSelectedValue",e.listOfValue)("dropdownRender",e.nzDropdownRender)("compareWith",e.compareWith)("mode",e.nzMode)}}function pu(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.Hc(e.nzLabel)}}function fu(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.Hc(e.label)}}function gu(e,t){}function mu(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,gu,0,0,"ng-template",3),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("ngTemplateOutlet",e.template)}}function bu(e,t){1&e&&r.Rb(0,"i",6)}function vu(e,t){if(1&e&&(r.Wb(0,"div",4),r.Gc(1,"\n "),r.Ec(2,bu,1,0,"i",5),r.Gc(3,"\n "),r.Vb()),2&e){const e=r.gc();r.Eb(2),r.mc("ngIf",!e.icon)("ngIfElse",e.icon)}}function yu(e,t){1&e&&r.Rb(0,"i",2)}function wu(e,t){1&e&&r.Rb(0,"i",7)}function _u(e,t){1&e&&r.Rb(0,"i",8)}function Ou(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,wu,1,0,"i",5),r.Gc(3,"\n "),r.Ec(4,_u,1,0,"i",6),r.Gc(5,"\n "),r.Tb()),2&e){const e=r.gc(2);r.Eb(2),r.mc("ngIf",!e.search),r.Eb(2),r.mc("ngIf",e.search)}}function Cu(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Rb(2,"i",10),r.Gc(3,"\n "),r.Tb()),2&e){const e=t.$implicit;r.Eb(2),r.mc("nzType",e)}}function Eu(e,t){if(1&e&&(r.Gc(0,"\n "),r.Ec(1,Cu,4,1,"ng-container",9),r.Gc(2,"\n ")),2&e){const e=r.gc(2);r.Eb(1),r.mc("nzStringTemplateOutlet",e.suffixIcon)}}function Su(e,t){if(1&e&&(r.Gc(0,"\n "),r.Ec(1,Ou,6,2,"ng-container",3),r.Gc(2,"\n "),r.Ec(3,Eu,3,1,"ng-template",null,4,r.Fc),r.Gc(5,"\n ")),2&e){const e=r.tc(4),t=r.gc();r.Eb(1),r.mc("ngIf",!t.suffixIcon)("ngIfElse",e)}}function Tu(e,t){1&e&&r.Rb(0,"i",1)}function xu(e,t){if(1&e&&(r.Wb(0,"div",4),r.Gc(1),r.Vb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.label)}}function ku(e,t){if(1&e&&r.Gc(0),2&e){const e=r.gc(2);r.Hc(e.label)}}function Iu(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,xu,2,1,"div",2),r.Gc(3,"\n "),r.Ec(4,ku,1,1,"ng-template",null,3,r.Fc),r.Gc(6,"\n "),r.Tb()),2&e){const e=r.tc(5),t=r.gc();r.Eb(2),r.mc("ngIf",t.deletable)("ngIfElse",e)}}function Du(e,t){1&e&&r.Rb(0,"i",7)}function zu(e,t){if(1&e){const e=r.Xb();r.Wb(0,"span",5),r.dc("click",function(t){return r.wc(e),r.gc().onDelete(t)}),r.Gc(1,"\n "),r.Ec(2,Du,1,0,"i",6),r.Gc(3,"\n "),r.Vb()}if(2&e){const e=r.gc();r.Eb(2),r.mc("ngIf",!e.removeIcon)("ngIfElse",e.removeIcon)}}const ju=function(e){return{$implicit:e}};function Au(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.Ic("\n ",e.placeholder,"\n ")}}let Ru=(()=>{class e{constructor(){this.nzLabel=null,this.changes=new fe.a}ngOnChanges(){this.changes.next()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[r.Cb],ngContentSelectors:Kl,decls:3,vars:0,template:function(e,t){1&e&&(r.lc(),r.Gc(0," "),r.kc(1),r.Gc(2," "))},encapsulation:2,changeDetection:0}),e})(),Nu=(()=>{class e{constructor(e){this.elementRef=e,this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new r.n,this.scrollToBottom=new r.n,this.scrolledIndex=0,this.elementRef.nativeElement.classList.add("ant-select-dropdown")}onItemClick(e){this.itemClick.emit(e)}onItemHover(e){this.activatedValue=e}trackValue(e,t){return t.key}onScrolledIndexChange(e){this.scrolledIndex=e,e===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const e=this.listOfContainerItem.findIndex(e=>this.compareWith(e.key,this.activatedValue));(e=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(e||0)}ngOnChanges(e){const{listOfContainerItem:t,activatedValue:n}=e;(t||n)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-option-container"]],viewQuery:function(e,t){if(1&e&&r.Kc(Sl.d,3),2&e){let e;r.sc(e=r.ec())&&(t.cdkVirtualScrollViewport=e.first)}},inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem",compareWith:"compareWith"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[r.Cb],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(e,t){1&e&&(r.Wb(0,"div"),r.Ec(1,Xl,2,1,"div",0),r.Wb(2,"cdk-virtual-scroll-viewport",1),r.dc("scrolledIndexChange",function(e){return t.onScrolledIndexChange(e)}),r.Ec(3,Zl,3,3,"ng-template",2),r.Vb(),r.Ec(4,eu,0,0,"ng-template",3),r.Vb()),2&e&&(r.Eb(1),r.mc("ngIf",0===t.listOfContainerItem.length),r.Eb(1),r.Bc("height",t.listOfContainerItem.length*t.itemSize,"px")("max-height",t.itemSize*t.maxItemLength,"px"),r.Ib("full-width",!t.matchWidth),r.mc("itemSize",t.itemSize)("maxBufferPx",t.itemSize*t.maxItemLength)("minBufferPx",t.itemSize*t.maxItemLength),r.Eb(1),r.mc("cdkVirtualForOf",t.listOfContainerItem)("cdkVirtualForTrackBy",t.trackValue)("cdkVirtualForTemplateCacheSize",0),r.Eb(1),r.mc("ngTemplateOutlet",t.dropdownRender))},directives:function(){return[o.o,Sl.d,Sl.a,Sl.c,o.t,Wl,o.q,o.r,Gu,Bu]},encapsulation:2,changeDetection:0}),e})(),Lu=(()=>{class e{constructor(e){this.nzOptionGroupComponent=e,this.destroy$=new fe.a,this.changes=new fe.a,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe(Object(we.a)(!0),Object(ge.a)(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Ru,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-option"]],viewQuery:function(e,t){if(1&e&&r.Kc(r.O,3),2&e){let e;r.sc(e=r.ec())&&(t.template=e.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[r.Cb],ngContentSelectors:Kl,decls:3,vars:0,template:function(e,t){1&e&&(r.lc(),r.Gc(0,"\n "),r.Ec(1,tu,3,0,"ng-template"),r.Gc(2,"\n "))},encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzHide",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzCustomContent",void 0),e})(),Mu=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.renderer=t,this.focusMonitor=n,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new r.n,this.isComposingChange=new r.n,this.elementRef.nativeElement.classList.add("ant-select-selection-search")}setCompositionState(e){this.isComposingChange.next(e)}onValueChange(e){this.value=e,this.valueChange.next(e),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const e=this.mirrorElement.nativeElement,t=this.elementRef.nativeElement,n=this.inputElement.nativeElement;this.renderer.removeStyle(t,"width"),e.innerHTML=this.renderer.createText(`${n.value} `),this.renderer.setStyle(t,"width",`${e.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnChanges(e){const t=this.inputElement.nativeElement,{focusTrigger:n,showInput:i}=e;i&&(this.showInput?this.renderer.removeAttribute(t,"readonly"):this.renderer.setAttribute(t,"readonly","readonly")),n&&!0===n.currentValue&&!1===n.previousValue&&t.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G),r.Qb(Ot))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-select-search"]],viewQuery:function(e,t){if(1&e&&(r.Kc(nu,3),r.Kc(iu,1)),2&e){let e;r.sc(e=r.ec())&&(t.inputElement=e.first),r.sc(e=r.ec())&&(t.mirrorElement=e.first)}},inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[r.Db([{provide:ya.b,useValue:!1}]),r.Cb],decls:6,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"input",0,1),r.dc("ngModelChange",function(e){return t.onValueChange(e)})("compositionstart",function(){return t.setCompositionState(!0)})("compositionend",function(){return t.setCompositionState(!1)}),r.Vb(),r.Gc(3,"\n "),r.Ec(4,ru,2,0,"span",2),r.Gc(5,"\n ")),2&e&&(r.Eb(1),r.Bc("opacity",t.showInput?null:0),r.mc("ngModel",t.value)("disabled",t.disabled),r.Fb("id",t.nzId)("autofocus",t.autofocus?"autofocus":null),r.Eb(3),r.mc("ngIf",t.mirrorSync))},directives:[ya.e,ya.l,ya.o,o.o],encapsulation:2,changeDetection:0}),e})(),Fu=(()=>{class e{constructor(e,t){this.elementRef=e,this.noAnimation=t,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new r.n,this.inputValueChange=new r.n,this.deleteItem=new r.n,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.elementRef.nativeElement.classList.add("ant-select-selector")}onHostKeydown(e){e.keyCode===ct.b&&"default"!==this.mode&&!e.target.value&&this.listOfTopItem.length>0&&(e.preventDefault(),this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1]))}updateTemplateVariable(){const e=0===this.listOfTopItem.length;this.isShowPlaceholder=e&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!e&&!this.isComposing&&!this.inputValue}isComposingChange(e){this.isComposing=e,this.updateTemplateVariable()}onInputValueChange(e){e!==this.inputValue&&(this.inputValue=e,this.updateTemplateVariable(),this.inputValueChange.emit(e),this.tokenSeparate(e,this.tokenSeparators))}tokenSeparate(e,t){if(e&&e.length&&t.length&&"default"!==this.mode&&((e,t)=>{for(let n=0;n0)return!0;return!1})(e,t)){const n=((e,t)=>{const n=new RegExp(`[${t.join()}]`),i=e.split(n).filter(e=>e);return[...new Set(i)]})(e,t);this.tokenize.next(n)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(e,t){return t.nzValue}onDeleteItem(e){this.disabled||e.nzDisabled||this.deleteItem.next(e)}ngOnChanges(e){const{listOfTopItem:t,maxTagCount:n,customTemplate:i,maxTagPlaceholder:r}=e;if(t&&this.updateTemplateVariable(),t||n||i||r){const e=this.listOfTopItem.slice(0,this.maxTagCount).map(e=>({nzLabel:e.nzLabel,nzValue:e.nzValue,nzDisabled:e.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:e}));if(this.listOfTopItem.length>this.maxTagCount){const t=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,n=this.listOfTopItem.map(e=>e.nzValue),i={nzLabel:t,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:n.slice(this.maxTagCount)};e.push(i)}this.listOfSlicedItem=e}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(Zi.a,9))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-select-top-control"]],viewQuery:function(e,t){if(1&e&&r.Kc(Mu,1),2&e){let e;r.sc(e=r.ec())&&(t.nzSelectSearchComponent=e.first)}},hostBindings:function(e,t){1&e&&r.dc("keydown",function(e){return t.onHostKeydown(e)})},inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[r.Cb],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(e,t){1&e&&(r.Ub(0,0),r.Ec(1,su,3,8,"ng-container",1),r.Ec(2,cu,3,9,"ng-container",2),r.Tb(),r.Ec(3,lu,1,1,"nz-select-placeholder",3)),2&e&&(r.mc("ngSwitch",t.mode),r.Eb(1),r.mc("ngSwitchCase","default"),r.Eb(2),r.mc("ngIf",t.isShowPlaceholder))},directives:function(){return[o.q,o.r,o.s,o.o,Mu,Uu,o.n,Ki.a,Hu]},encapsulation:2,changeDetection:0}),e})();const Pu=(e,t)=>!(!t||!t.nzLabel)&&t.nzLabel.toLowerCase().indexOf(e.toLowerCase())>-1;let Vu=(()=>{class e{constructor(e,t,n,i,o,s,a){this.nzConfigService=e,this.cdr=t,this.elementRef=n,this.platform=i,this.focusMonitor=o,this.directionality=s,this.noAnimation=a,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=Pu,this.compareWith=(e,t)=>e===t,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzOptions=[],this.nzOnSearch=new r.n,this.nzScrollToBottom=new r.n,this.nzOpenChange=new r.n,this.nzBlur=new r.n,this.nzFocus=new r.n,this.listOfValue$=new cs.a([]),this.listOfTemplateItem$=new cs.a([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.destroy$=new fe.a,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottom",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.elementRef.nativeElement.classList.add("ant-select")}set nzShowArrow(e){this._nzShowArrow=e}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(e){return{nzValue:e,nzLabel:e,type:"item"}}onItemClick(e){if(this.activatedValue=e,"default"===this.nzMode)0!==this.listOfValue.length&&this.compareWith(this.listOfValue[0],e)||this.updateListOfValue([e]),this.setOpenState(!1);else{const t=this.listOfValue.findIndex(t=>this.compareWith(t,e));if(-1!==t){const e=this.listOfValue.filter((e,n)=>n!==t);this.updateListOfValue(e)}else if(this.listOfValue.length!this.compareWith(t,e.nzValue));this.updateListOfValue(t),this.clearInput()}onHostClick(){this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.setOpenState(!this.nzOpen)}updateListOfContainerItem(){let e=this.listOfTagAndTemplateItem.filter(e=>!e.nzHide).filter(e=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,e));if("tags"===this.nzMode&&this.searchValue){const t=this.listOfTagAndTemplateItem.find(e=>e.nzLabel===this.searchValue);if(t)this.activatedValue=t.nzValue;else{const t=this.generateTagItem(this.searchValue);e=[t,...e],this.activatedValue=t.nzValue}}const t=e.find(e=>this.compareWith(e.nzValue,this.listOfValue[0]))||e[0];this.activatedValue=t&&t.nzValue||null;let n=[];this.isReactiveDriven?n=[...new Set(this.nzOptions.filter(e=>e.groupLabel).map(e=>e.groupLabel))]:this.listOfNzOptionGroupComponent&&(n=this.listOfNzOptionGroupComponent.map(e=>e.nzLabel)),n.forEach(t=>{const n=e.findIndex(e=>t===e.groupLabel);n>-1&&e.splice(n,0,{groupLabel:t,type:"group",key:t})}),this.listOfContainerItem=[...e],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(e){const t=((e,t)=>"default"===this.nzMode?e.length>0?e[0]:null:e)(e);this.value!==t&&(this.listOfValue=e,this.listOfValue$.next(e),this.value=t,this.onChange(this.value))}onTokenSeparate(e){const t=this.listOfTagAndTemplateItem.filter(t=>-1!==e.findIndex(e=>e===t.nzLabel)).map(e=>e.nzValue).filter(e=>-1===this.listOfValue.findIndex(t=>this.compareWith(t,e)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...t]);else if("tags"===this.nzMode){const n=e.filter(e=>-1===this.listOfTagAndTemplateItem.findIndex(t=>t.nzLabel===e));this.updateListOfValue([...this.listOfValue,...t,...n])}this.clearInput()}onOverlayKeyDown(e){e.keyCode===ct.f&&this.setOpenState(!1)}onKeyDown(e){if(this.nzDisabled)return;const t=this.listOfContainerItem.filter(e=>"item"===e.type).filter(e=>!e.nzDisabled),n=t.findIndex(e=>this.compareWith(e.nzValue,this.activatedValue));switch(e.keyCode){case ct.m:e.preventDefault(),this.nzOpen&&(this.activatedValue=t[n>0?n-1:t.length-1].nzValue);break;case ct.c:e.preventDefault(),this.nzOpen?this.activatedValue=t[n{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,this.cdr.markForCheck()})}updateCdkConnectedOverlayPositions(){Ce(()=>{var e,t;null===(t=null===(e=this.cdkConnectedOverlay)||void 0===e?void 0:e.overlayRef)||void 0===t||t.updatePosition()})}writeValue(e){if(this.value!==e){this.value=e;const t=((e,t)=>null==e?[]:"default"===this.nzMode?[e]:e)(e);this.listOfValue=t,this.listOfValue$.next(t),this.cdr.markForCheck()}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=e,e&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(e){const{nzOpen:t,nzDisabled:n,nzOptions:i}=e;if(t&&this.onOpenChange(),n&&this.nzDisabled&&this.setOpenState(!1),i){this.isReactiveDriven=!0;const e=(this.nzOptions||[]).map(e=>({template:e.label instanceof r.O?e.label:null,nzLabel:"string"==typeof e.label?e.label:null,nzValue:e.value,nzDisabled:e.disabled||!1,nzHide:e.hide||!1,nzCustomContent:e.label instanceof r.O,groupLabel:e.groupLabel||null,type:"item",key:e.value}));this.listOfTemplateItem$.next(e)}}ngOnInit(){var e;this.focusMonitor.monitor(this.elementRef,!0).pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{e?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),Object(Se.a)([this.listOfValue$,this.listOfTemplateItem$]).pipe(Object(ge.a)(this.destroy$)).subscribe(([e,t])=>{const n=e.filter(()=>"tags"===this.nzMode).filter(e=>-1===t.findIndex(t=>this.compareWith(t.nzValue,e))).map(e=>this.listOfTopItem.find(t=>this.compareWith(t.nzValue,e))||this.generateTagItem(e));this.listOfTagAndTemplateItem=[...t,...n],this.listOfTopItem=this.listOfValue.map(e=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(t=>this.compareWith(e,t.nzValue))).filter(e=>!!e),this.updateListOfContainerItem()}),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.isReactiveDriven||Object(Gc.a)(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(Object(we.a)(!0),Object(u.a)(()=>Object(Gc.a)(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(e=>e.changes),...this.listOfNzOptionGroupComponent.map(e=>e.changes)).pipe(Object(we.a)(!0))),Object(ge.a)(this.destroy$)).subscribe(()=>{const e=this.listOfNzOptionComponent.toArray().map(e=>{const{template:t,nzLabel:n,nzValue:i,nzDisabled:r,nzHide:o,nzCustomContent:s,groupLabel:a}=e;return{template:t,nzLabel:n,nzValue:i,nzDisabled:r,nzHide:o,nzCustomContent:s,groupLabel:a,type:"item",key:i}});this.listOfTemplateItem$.next(e),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Os.a),r.Qb(r.h),r.Qb(r.l),r.Qb(be.a),r.Qb(Ot),r.Qb(pe.b,8),r.Qb(Zi.a,9))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-select"]],contentQueries:function(e,t,n){if(1&e&&(r.Jb(n,Lu,1),r.Jb(n,Ru,1)),2&e){let e;r.sc(e=r.ec())&&(t.listOfNzOptionComponent=e),r.sc(e=r.ec())&&(t.listOfNzOptionGroupComponent=e)}},viewQuery:function(e,t){if(1&e&&(r.Kc(ot.b,3,r.l),r.Kc(ot.a,3),r.Kc(Fu,3),r.Kc(Ru,3,r.l),r.Kc(Fu,3,r.l)),2&e){let e;r.sc(e=r.ec())&&(t.originElement=e.first),r.sc(e=r.ec())&&(t.cdkConnectedOverlay=e.first),r.sc(e=r.ec())&&(t.nzSelectTopControlComponent=e.first),r.sc(e=r.ec())&&(t.nzOptionGroupComponentElement=e.first),r.sc(e=r.ec())&&(t.nzSelectTopControlComponentElement=e.first)}},hostVars:24,hostBindings:function(e,t){1&e&&r.dc("click",function(){return t.onHostClick()}),2&e&&r.Ib("ant-select-lg","large"===t.nzSize)("ant-select-sm","small"===t.nzSize)("ant-select-show-arrow",t.nzShowArrow)("ant-select-disabled",t.nzDisabled)("ant-select-show-search",(t.nzShowSearch||"default"!==t.nzMode)&&!t.nzDisabled)("ant-select-allow-clear",t.nzAllowClear)("ant-select-borderless",t.nzBorderless)("ant-select-open",t.nzOpen)("ant-select-focused",t.nzOpen||t.focused)("ant-select-single","default"===t.nzMode)("ant-select-multiple","default"!==t.nzMode)("ant-select-rtl","rtl"===t.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[r.Db([{provide:ya.j,useExisting:Object(r.W)(()=>e),multi:!0}]),r.Cb],decls:5,vars:23,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"loading","search","suffixIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","overlayKeydown","overlayOutsideClick","detach","positionChange"],[3,"loading","search","suffixIcon"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(e,t){if(1&e&&(r.Wb(0,"nz-select-top-control",0,1),r.dc("inputValueChange",function(e){return t.onInputValueChange(e)})("tokenize",function(e){return t.onTokenSeparate(e)})("deleteItem",function(e){return t.onItemDelete(e)})("keydown",function(e){return t.onKeyDown(e)}),r.Vb(),r.Ec(2,uu,1,3,"nz-select-arrow",2),r.Ec(3,hu,1,1,"nz-select-clear",3),r.Ec(4,du,1,19,"ng-template",4),r.dc("overlayKeydown",function(e){return t.onOverlayKeyDown(e)})("overlayOutsideClick",function(e){return t.onClickOutside(e)})("detach",function(){return t.setOpenState(!1)})("positionChange",function(e){return t.onPositionChange(e)})),2&e){const e=r.tc(1);r.mc("nzId",t.nzId)("open",t.nzOpen)("disabled",t.nzDisabled)("mode",t.nzMode)("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("maxTagPlaceholder",t.nzMaxTagPlaceholder)("removeIcon",t.nzRemoveIcon)("placeHolder",t.nzPlaceHolder)("maxTagCount",t.nzMaxTagCount)("customTemplate",t.nzCustomTemplate)("tokenSeparators",t.nzTokenSeparators)("showSearch",t.nzShowSearch)("autofocus",t.nzAutoFocus)("listOfTopItem",t.listOfTopItem),r.Eb(2),r.mc("ngIf",t.nzShowArrow),r.Eb(1),r.mc("ngIf",t.nzAllowClear&&!t.nzDisabled&&t.listOfValue.length),r.Eb(1),r.mc("cdkConnectedOverlayMinWidth",t.nzDropdownMatchSelectWidth?null:t.triggerWidth)("cdkConnectedOverlayWidth",t.nzDropdownMatchSelectWidth?t.triggerWidth:null)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",t.nzDropdownClassName)("cdkConnectedOverlayOpen",t.nzOpen)}},directives:function(){return[Ki.a,Fu,ot.b,Zi.a,o.o,ot.a,er.b,Wu,$u,Nu,o.p]},encapsulation:2,data:{animation:[Yi.d]},changeDetection:0}),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzSuffixIcon",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzAllowClear",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzBorderless",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzShowSearch",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzLoading",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzAutoClearSearchValue",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzServerSearch",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzOpen",void 0),e})(),Gu=(()=>{class e{constructor(e){this.elementRef=e,this.nzLabel=null,this.elementRef.nativeElement.classList.add("ant-select-item","ant-select-item-group")}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-option-item-group"]],inputs:{nzLabel:"nzLabel"},decls:3,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,pu,2,1,"ng-container",0),r.Gc(2,"\n ")),2&e&&(r.Eb(1),r.mc("nzStringTemplateOutlet",t.nzLabel))},directives:[tr.b],encapsulation:2,changeDetection:0}),e})(),Bu=(()=>{class e{constructor(e){this.elementRef=e,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new r.n,this.itemHover=new r.n,this.elementRef.nativeElement.classList.add("ant-select-item","ant-select-item-option")}onHostMouseEnter(){this.disabled||this.itemHover.next(this.value)}onHostClick(){this.disabled||this.itemClick.next(this.value)}ngOnChanges(e){const{value:t,activatedValue:n,listOfSelectedValue:i}=e;(t||i)&&(this.selected=this.listOfSelectedValue.some(e=>this.compareWith(e,this.value))),(t||n)&&(this.activated=this.compareWith(this.activatedValue,this.value))}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-option-item"]],hostVars:9,hostBindings:function(e,t){1&e&&r.dc("mouseenter",function(){return t.onHostMouseEnter()})("click",function(){return t.onHostClick()}),2&e&&(r.Fb("title",t.label),r.Ib("ant-select-item-option-grouped",t.grouped)("ant-select-item-option-selected",t.selected&&!t.disabled)("ant-select-item-option-disabled",t.disabled)("ant-select-item-option-active",t.activated&&!t.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[r.Cb],decls:10,vars:3,consts:[[1,"ant-select-item-option-content"],[4,"ngIf"],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",0),r.Gc(2,"\n "),r.Ec(3,fu,2,1,"ng-container",1),r.Gc(4,"\n "),r.Ec(5,mu,4,1,"ng-container",1),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Ec(8,vu,4,2,"div",2),r.Gc(9,"\n ")),2&e&&(r.Eb(3),r.mc("ngIf",!t.customContent),r.Eb(2),r.mc("ngIf",t.customContent),r.Eb(3),r.mc("ngIf",t.showState&&t.selected))},directives:[o.o,o.t,Ge.a,Ki.a],encapsulation:2,changeDetection:0}),e})(),Wu=(()=>{class e{constructor(e){this.elementRef=e,this.loading=!1,this.search=!1,this.suffixIcon=null,this.elementRef.nativeElement.classList.add("ant-select-arrow")}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-select-arrow"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-select-arrow-loading",t.loading)},inputs:{loading:"loading",search:"search",suffixIcon:"suffixIcon"},decls:6,vars:2,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(e,t){if(1&e&&(r.Gc(0,"\n "),r.Ec(1,yu,1,0,"i",0),r.Gc(2,"\n "),r.Ec(3,Su,6,2,"ng-template",null,1,r.Fc),r.Gc(5,"\n ")),2&e){const e=r.tc(4);r.Eb(1),r.mc("ngIf",t.loading)("ngIfElse",e)}},directives:[o.o,Ge.a,Ki.a,tr.b],encapsulation:2,changeDetection:0}),e})(),$u=(()=>{class e{constructor(e){this.elementRef=e,this.clearIcon=null,this.clear=new r.n,this.elementRef.nativeElement.classList.add("ant-select-clear")}onClick(e){e.preventDefault(),e.stopPropagation(),this.clear.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-select-clear"]],hostBindings:function(e,t){1&e&&r.dc("click",function(e){return t.onClick(e)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:3,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,Tu,1,0,"i",0),r.Gc(2,"\n ")),2&e&&(r.Eb(1),r.mc("ngIf",!t.clearIcon)("ngIfElse",t.clearIcon))},directives:[o.o,Ge.a,Ki.a],encapsulation:2,changeDetection:0}),e})(),Uu=(()=>{class e{constructor(e){this.elementRef=e,this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new r.n,this.elementRef.nativeElement.classList.add("ant-select-selection-item")}onDelete(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.delete.next(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-select-item"]],hostVars:3,hostBindings:function(e,t){2&e&&(r.Fb("title",t.label),r.Ib("ant-select-selection-item-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:5,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,Iu,7,2,"ng-container",0),r.Gc(2,"\n "),r.Ec(3,zu,4,2,"span",1),r.Gc(4,"\n ")),2&e&&(r.Eb(1),r.mc("nzStringTemplateOutlet",t.contentTemplateOutlet)("nzStringTemplateOutletContext",r.pc(3,ju,t.contentTemplateOutletContext)),r.Eb(2),r.mc("ngIf",t.deletable&&!t.disabled))},directives:[tr.b,o.o,Ge.a,Ki.a],encapsulation:2,changeDetection:0}),e})(),Hu=(()=>{class e{constructor(e){this.elementRef=e,this.placeholder=null,this.elementRef.nativeElement.classList.add("ant-select-selection-placeholder")}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-select-placeholder"]],inputs:{placeholder:"placeholder"},decls:3,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,Au,2,1,"ng-container",0),r.Gc(2,"\n ")),2&e&&(r.Eb(1),r.mc("nzStringTemplateOutlet",t.placeholder))},directives:[tr.b],encapsulation:2,changeDetection:0}),e})(),qu=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,bs,ya.i,be.b,ot.h,Ge.b,tr.a,Ql,er.c,Zi.b,Ki.b,Sl.f,Tt]]}),e})();function Qu(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Gc(1,"\n "),r.Wb(2,"nz-form-label"),r.Gc(3),r.Vb(),r.Gc(4,"\n "),r.Wb(5,"nz-form-control"),r.Gc(6,"\n "),r.Wb(7,"nz-input-number",5),r.dc("ngModelChange",function(t){return r.wc(e),r.gc().data=t})("ngModelChange",function(t){r.wc(e);const n=r.gc();return n.onInput(t,n.item)}),r.Vb(),r.Gc(8,"\n "),r.Vb(),r.Gc(9,"\n "),r.Tb()}if(2&e){const e=r.gc();r.Eb(3),r.Hc(e.item.description),r.Eb(4),r.mc("ngModel",e.data)("name",e.item.key)}}function Ku(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Gc(1,"\n "),r.Wb(2,"nz-form-label"),r.Gc(3),r.Vb(),r.Gc(4,"\n "),r.Wb(5,"nz-form-control"),r.Gc(6,"\n "),r.Wb(7,"nz-switch",5),r.dc("ngModelChange",function(t){return r.wc(e),r.gc().data=t})("ngModelChange",function(t){r.wc(e);const n=r.gc();return n.onInput(t,n.item)}),r.Vb(),r.Gc(8,"\n "),r.Vb(),r.Gc(9,"\n "),r.Tb()}if(2&e){const e=r.gc();r.Eb(3),r.Hc(e.item.description),r.Eb(4),r.mc("ngModel",e.data)("name",e.item.key)}}function Xu(e,t){if(1&e){const e=r.Xb();r.Wb(0,"app-schema-form-item-input",6),r.dc("dataChange",function(t){return r.wc(e),r.gc().data=t})("dataChange",function(t){r.wc(e);const n=r.gc();return n.onInput(t,n.item)}),r.Vb()}if(2&e){const e=r.gc();r.mc("item",e.item)("data",e.data)}}function Yu(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Gc(1,"\n "),r.Wb(2,"app-schema-form-item-list",6),r.dc("dataChange",function(t){return r.wc(e),r.gc().data=t})("dataChange",function(t){r.wc(e);const n=r.gc();return n.onInput(t,n.item)}),r.Vb(),r.Gc(3,"\n "),r.Tb()}if(2&e){const e=r.gc();r.Eb(2),r.mc("item",e.item)("data",e.data)}}function Ju(e,t){if(1&e&&r.Rb(0,"nz-option",10),2&e){const e=t.$implicit;r.mc("nzValue",e.value)("nzLabel",e.label)}}function Zu(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Gc(1,"\n "),r.Wb(2,"nz-form-label"),r.Gc(3),r.Vb(),r.Gc(4,"\n "),r.Wb(5,"nz-form-control"),r.Gc(6,"\n "),r.Wb(7,"nz-select",8),r.dc("ngModelChange",function(t){return r.wc(e),r.gc(3).data=t})("ngModelChange",function(t){r.wc(e);const n=r.gc(3);return n.onInput(t,n.item)}),r.Gc(8,"\n "),r.Ec(9,Ju,1,2,"nz-option",9),r.Gc(10,"\n "),r.Vb(),r.Gc(11,"\n "),r.Vb(),r.Gc(12,"\n "),r.Tb()}if(2&e){const e=r.gc(3);r.Eb(3),r.Hc(e.item.description),r.Eb(4),r.mc("ngModel",e.data),r.Eb(2),r.mc("ngForOf",e.getSelectOptions(e.item))}}function eh(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ub(2,1),r.Gc(3,"\n "),r.Ec(4,Zu,13,3,"ng-container",2),r.Gc(5,"\n "),r.Tb(),r.Gc(6,"\n "),r.Tb()),2&e){const e=r.gc(2);r.Eb(2),r.mc("ngSwitch",e.item.refType),r.Eb(2),r.mc("ngSwitchCase","enum.string")}}function th(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,eh,7,2,"ng-container",7),r.Gc(3,"\n "),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("ngIf",e.item.ref)}}let nh=(()=>{class e{constructor(e){this.altairConfig=e,this.dataChange=new r.n}ngOnInit(){}getOptionLabel(e,t){switch(null==e?void 0:e.key){case"language":return this.altairConfig.languages[t]||t}}getSelectOptions(e){switch(null==e?void 0:e.key){case"language":return e.ref.enum.map(e=>({label:this.altairConfig.languages[e]||e,value:e}));default:return e.ref.enum.map(e=>({label:e,value:e}))}}onInput(e,t){this.dataChange.next(this.data)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(N.a))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-schema-form-item"]],inputs:{item:"item",data:"data"},outputs:{dataChange:"dataChange"},decls:16,vars:5,consts:[[1,"ui-form__item"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"item","data","dataChange",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"ngModel","name","ngModelChange"],[3,"item","data","dataChange"],[4,"ngIf"],["name","item.key","nzPlaceHolder","Choose",3,"ngModel","ngModelChange"],[3,"nzValue","nzLabel",4,"ngFor","ngForOf"],[3,"nzValue","nzLabel"]],template:function(e,t){1&e&&(r.Wb(0,"nz-form-item",0),r.Gc(1,"\n "),r.Ub(2,1),r.Gc(3,"\n "),r.Ec(4,Qu,10,3,"ng-container",2),r.Gc(5,"\n "),r.Ec(6,Ku,10,3,"ng-container",2),r.Gc(7,"\n "),r.Ec(8,Xu,1,2,"app-schema-form-item-input",3),r.Gc(9,"\n "),r.Ec(10,Yu,4,2,"ng-container",2),r.Gc(11,"\n "),r.Ec(12,th,4,1,"ng-container",4),r.Gc(13,"\n "),r.Tb(),r.Gc(14,"\n"),r.Vb(),r.Gc(15,"\n")),2&e&&(r.Eb(2),r.mc("ngSwitch",t.item.type),r.Eb(2),r.mc("ngSwitchCase","number"),r.Eb(2),r.mc("ngSwitchCase","boolean"),r.Eb(2),r.mc("ngSwitchCase","string"),r.Eb(2),r.mc("ngSwitchCase","array"))},directives:[lc,Ec,o.q,o.r,o.s,uc,kc,Tc,zc,ya.l,ya.o,Pc,_l,El,o.o,Vu,o.n,Lu],encapsulation:2,changeDetection:0}),e})();function ih(e,t){if(1&e){const e=r.Xb();r.Wb(0,"app-schema-form-item",3),r.dc("dataChange",function(n){r.wc(e);const i=t.$implicit;return r.gc().formData[i.key]=n})("dataChange",function(n){r.wc(e);const i=t.$implicit;return r.gc().onInput(n,i)}),r.Vb()}if(2&e){const e=t.$implicit,n=r.gc();r.mc("item",e)("data",n.formData[e.key])}}let rh=(()=>{class e{constructor(){this.schema={},this.data=null,this.dataChange=new r.n,this.schemaProperties=[]}ngOnInit(){this.schema&&this.updateSchemaProperties(this.schema)}ngOnChanges(e){e&&e.schema&&e.schema.currentValue&&this.updateSchemaProperties(e.schema.currentValue)}updateSchemaProperties(e){this.schemaProperties=Object.entries(e.properties||{}).map(([e,t])=>"object"!=typeof t?{key:e}:{...t,key:e}).sort((e,t)=>e.key>t.key?1:-1).map(t=>(t.$ref&&(t.ref=Ya(t,e),t.ref&&t.ref.enum&&(t.refType=`enum.${t.ref.type}`)),t)),this.formData=JSON.parse(JSON.stringify(this.data))}onInput(e,t){this.dataChange.next(this.formData)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-schema-form"]],inputs:{schema:"schema",data:"data"},outputs:{dataChange:"dataChange"},features:[r.Cb],decls:8,vars:1,consts:[[1,"ui-form-wrapper"],["nz-form",""],[3,"item","data","dataChange",4,"ngFor","ngForOf"],[3,"item","data","dataChange"]],template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Gc(1,"\n "),r.Wb(2,"form",1),r.Gc(3,"\n "),r.Ec(4,ih,1,2,"app-schema-form-item",2),r.Gc(5,"\n "),r.Vb(),r.Gc(6,"\n"),r.Vb(),r.Gc(7,"\n")),2&e&&(r.Eb(4),r.mc("ngForOf",t.schemaProperties))},directives:[ya.p,ya.m,ya.n,Cc,o.n,nh],encapsulation:2,changeDetection:0}),e})(),oh=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,Ge.b,be.b]]}),e})();var sh=n("PqYM"),ah=n("zx2A");class ch{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new lh(e,this.durationSelector))}}class lh extends ah.b{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){try{const t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(t){this.destination.error(t)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(e,t){let n=this.durationSubscription;this.value=e,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=Object(ah.c)(t,new ah.a(this)),n&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const e=this.value,t=this.durationSubscription;t&&(this.durationSubscription=void 0,t.unsubscribe(),this.remove(t)),this.value=void 0,this.hasValue=!1,super._next(e)}}}function uh(e,t){1&e&&(r.Wb(0,"span",3),r.Rb(1,"i",4),r.Rb(2,"i",4),r.Rb(3,"i",4),r.Rb(4,"i",4),r.Vb())}function hh(e,t){}function dh(e,t){if(1&e&&(r.Wb(0,"div",8),r.Gc(1),r.Vb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.nzTip)}}function ph(e,t){if(1&e&&(r.Wb(0,"div"),r.Wb(1,"div",5),r.Ec(2,hh,0,0,"ng-template",6),r.Ec(3,dh,2,1,"div",7),r.Vb(),r.Vb()),2&e){const e=r.gc(),t=r.tc(1);r.Eb(1),r.Ib("ant-spin-rtl","rtl"===e.dir)("ant-spin-spinning",e.isLoading)("ant-spin-lg","large"===e.nzSize)("ant-spin-sm","small"===e.nzSize)("ant-spin-show-text",e.nzTip),r.Eb(1),r.mc("ngTemplateOutlet",e.nzIndicator||t),r.Eb(1),r.mc("ngIf",e.nzTip)}}function fh(e,t){if(1&e&&(r.Wb(0,"div",9),r.kc(1),r.Vb()),2&e){const e=r.gc();r.Ib("ant-spin-blur",e.isLoading)}}const gh=["*"];let mh=(()=>{class e{constructor(e,t,n){this.nzConfigService=e,this.cdr=t,this.directionality=n,this._nzModuleName="spin",this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new fe.a,this.spinning$=new cs.a(this.nzSpinning),this.delay$=new cc.a(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){var e;this.delay$.pipe(Object(we.a)(this.nzDelay),Object(a.a)(),Object(u.a)(e=>{return 0===e?this.spinning$:this.spinning$.pipe((t=t=>Object(sh.a)(t?e:0),e=>e.lift(new ch(t))));var t}),Object(ge.a)(this.destroy$)).subscribe(e=>{this.isLoading=e,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent("spin").pipe(Object(ge.a)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){const{nzSpinning:t,nzDelay:n}=e;t&&this.spinning$.next(this.nzSpinning),n&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Os.a),r.Qb(r.h),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-spin-nested-loading",!t.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[r.Cb],ngContentSelectors:gh,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(e,t){1&e&&(r.lc(),r.Ec(0,uh,5,0,"ng-template",null,0,r.Fc),r.Ec(2,ph,4,12,"div",1),r.Ec(3,fh,2,2,"div",2)),2&e&&(r.Eb(2),r.mc("ngIf",t.isLoading),r.Eb(1),r.mc("ngIf",!t.nzSimple))},directives:[o.o,o.t],encapsulation:2}),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzIndicator",void 0),Object(me.b)([Object(_e.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzDelay",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzSimple",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzSpinning",void 0),e})(),bh=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,ht]]}),e})();const vh=["*"];function yh(e,t){1&e&&r.kc(0)}const wh=["nz-list-item-actions",""];function _h(e,t){}function Oh(e,t){1&e&&r.Rb(0,"em",3)}function Ch(e,t){if(1&e&&(r.Wb(0,"li"),r.Gc(1,"\n "),r.Ec(2,_h,0,0,"ng-template",1),r.Gc(3,"\n "),r.Ec(4,Oh,1,0,"em",2),r.Gc(5,"\n "),r.Vb()),2&e){const e=t.$implicit,n=t.last;r.Eb(2),r.mc("ngTemplateOutlet",e),r.Eb(2),r.mc("ngIf",!n)}}function Eh(e,t){}const Sh=function(e,t){return{$implicit:e,index:t}};function Th(e,t){if(1&e&&(r.Ub(0),r.Ec(1,Eh,0,0,"ng-template",9),r.Tb()),2&e){const e=t.$implicit,n=t.index,i=r.gc(2);r.Eb(1),r.mc("ngTemplateOutlet",i.nzRenderItem)("ngTemplateOutletContext",r.qc(2,Sh,e,n))}}function xh(e,t){if(1&e&&(r.Wb(0,"div",7),r.Ec(1,Th,2,5,"ng-container",8),r.kc(2,4),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.mc("ngForOf",e.nzDataSource)}}function kh(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.nzHeader)}}function Ih(e,t){if(1&e&&(r.Wb(0,"nz-list-header"),r.Ec(1,kh,2,1,"ng-container",10),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.mc("nzStringTemplateOutlet",e.nzHeader)}}function Dh(e,t){1&e&&r.Rb(0,"div"),2&e&&r.Bc("min-height",53,"px")}function zh(e,t){}function jh(e,t){if(1&e&&(r.Wb(0,"div",13),r.Ec(1,zh,0,0,"ng-template",9),r.Vb()),2&e){const e=t.$implicit,n=t.index,i=r.gc(2);r.mc("nzSpan",i.nzGrid.span||null)("nzXs",i.nzGrid.xs||null)("nzSm",i.nzGrid.sm||null)("nzMd",i.nzGrid.md||null)("nzLg",i.nzGrid.lg||null)("nzXl",i.nzGrid.xl||null)("nzXXl",i.nzGrid.xxl||null),r.Eb(1),r.mc("ngTemplateOutlet",i.nzRenderItem)("ngTemplateOutletContext",r.qc(9,Sh,e,n))}}function Ah(e,t){if(1&e&&(r.Wb(0,"div",11),r.Ec(1,jh,2,12,"div",12),r.Vb()),2&e){const e=r.gc();r.mc("nzGutter",e.nzGrid.gutter||null),r.Eb(1),r.mc("ngForOf",e.nzDataSource)}}function Rh(e,t){if(1&e&&r.Rb(0,"nz-list-empty",14),2&e){const e=r.gc();r.mc("nzNoResult",e.nzNoResult)}}function Nh(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.Hc(e.nzFooter)}}function Lh(e,t){if(1&e&&(r.Wb(0,"nz-list-footer"),r.Ec(1,Nh,2,1,"ng-container",10),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.mc("nzStringTemplateOutlet",e.nzFooter)}}function Mh(e,t){}function Fh(e,t){}function Ph(e,t){if(1&e&&(r.Wb(0,"nz-list-pagination"),r.Ec(1,Fh,0,0,"ng-template",6),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.mc("ngTemplateOutlet",e.nzPagination)}}const Vh=[[["nz-list-header"]],[["nz-list-footer"],["","nz-list-footer",""]],[["nz-list-load-more"],["","nz-list-load-more",""]],[["nz-list-pagination"],["","nz-list-pagination",""]],"*"],Gh=["nz-list-header","nz-list-footer, [nz-list-footer]","nz-list-load-more, [nz-list-load-more]","nz-list-pagination, [nz-list-pagination]","*"];function Bh(e,t){if(1&e&&r.Rb(0,"ul",6),2&e){const e=r.gc(2);r.mc("nzActions",e.nzActions)}}function Wh(e,t){if(1&e&&(r.Ec(0,Bh,1,1,"ul",5),r.kc(1)),2&e){const e=r.gc();r.mc("ngIf",e.nzActions&&e.nzActions.length>0)}}function $h(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(3);r.Eb(1),r.Hc(e.nzContent)}}function Uh(e,t){if(1&e&&(r.Ub(0),r.Ec(1,$h,2,1,"ng-container",8),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.mc("nzStringTemplateOutlet",e.nzContent)}}function Hh(e,t){if(1&e&&(r.kc(0,1),r.kc(1,2),r.Ec(2,Uh,2,1,"ng-container",7)),2&e){const e=r.gc();r.Eb(2),r.mc("ngIf",e.nzContent)}}function qh(e,t){1&e&&r.kc(0,3)}function Qh(e,t){}function Kh(e,t){}function Xh(e,t){}function Yh(e,t){}function Jh(e,t){if(1&e&&(r.Ec(0,Qh,0,0,"ng-template",9),r.Ec(1,Kh,0,0,"ng-template",9),r.Ec(2,Xh,0,0,"ng-template",9),r.Ec(3,Yh,0,0,"ng-template",9)),2&e){const e=r.gc(),t=r.tc(3),n=r.tc(5),i=r.tc(1);r.mc("ngTemplateOutlet",t),r.Eb(1),r.mc("ngTemplateOutlet",e.nzExtra),r.Eb(1),r.mc("ngTemplateOutlet",n),r.Eb(1),r.mc("ngTemplateOutlet",i)}}function Zh(e,t){}function ed(e,t){}function td(e,t){}function nd(e,t){if(1&e&&(r.Wb(0,"nz-list-item-extra"),r.Ec(1,td,0,0,"ng-template",9),r.Vb()),2&e){const e=r.gc(2);r.Eb(1),r.mc("ngTemplateOutlet",e.nzExtra)}}function id(e,t){}function rd(e,t){if(1&e&&(r.Ub(0),r.Wb(1,"div",10),r.Ec(2,Zh,0,0,"ng-template",9),r.Ec(3,ed,0,0,"ng-template",9),r.Vb(),r.Ec(4,nd,2,1,"nz-list-item-extra",7),r.Ec(5,id,0,0,"ng-template",9),r.Tb()),2&e){const e=r.gc(),t=r.tc(3),n=r.tc(1),i=r.tc(5);r.Eb(2),r.mc("ngTemplateOutlet",t),r.Eb(1),r.mc("ngTemplateOutlet",n),r.Eb(1),r.mc("ngIf",e.nzExtra),r.Eb(1),r.mc("ngTemplateOutlet",i)}}const od=[[["nz-list-item-actions"],["","nz-list-item-actions",""]],[["nz-list-item-meta"],["","nz-list-item-meta",""]],"*",[["nz-list-item-extra"],["","nz-list-item-extra",""]]],sd=["nz-list-item-actions, [nz-list-item-actions]","nz-list-item-meta, [nz-list-item-meta]","*","nz-list-item-extra, [nz-list-item-extra]"];let ad=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-list-item-extra"],["","nz-list-item-extra",""]],hostAttrs:[1,"ant-list-item-extra"],exportAs:["nzListItemExtra"],ngContentSelectors:vh,decls:3,vars:0,template:function(e,t){1&e&&(r.lc(),r.Gc(0," "),r.kc(1),r.Gc(2," "))},encapsulation:2,changeDetection:0}),e})(),cd=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-list-item-action"]],viewQuery:function(e,t){if(1&e&&r.Kc(r.O,1),2&e){let e;r.sc(e=r.ec())&&(t.templateRef=e.first)}},exportAs:["nzListItemAction"],ngContentSelectors:vh,decls:3,vars:0,template:function(e,t){1&e&&(r.lc(),r.Gc(0," "),r.Ec(1,yh,1,0,"ng-template"),r.Gc(2," "))},encapsulation:2,changeDetection:0}),e})(),ld=(()=>{class e{constructor(e,t){this.ngZone=e,this.cdr=t,this.nzActions=[],this.actions=[],this.destroy$=new fe.a,this.inputActionChanges$=new fe.a,this.contentChildrenChanges$=Object(ss.a)(()=>this.nzListItemActions?Object(v.a)(null):this.ngZone.onStable.asObservable().pipe(Object(l.a)(1),Object(u.a)(()=>this.contentChildrenChanges$))),Object(Gc.a)(this.contentChildrenChanges$,this.inputActionChanges$).pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.actions=this.nzActions.length?this.nzActions:this.nzListItemActions.map(e=>e.templateRef),this.cdr.detectChanges()})}ngOnChanges(){this.inputActionChanges$.next(null)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.B),r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["ul","nz-list-item-actions",""]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,cd,0),2&e){let e;r.sc(e=r.ec())&&(t.nzListItemActions=e)}},hostAttrs:[1,"ant-list-item-action"],inputs:{nzActions:"nzActions"},exportAs:["nzListItemActions"],features:[r.Cb],attrs:wh,decls:3,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["class","ant-list-item-action-split",4,"ngIf"],[1,"ant-list-item-action-split"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,Ch,6,2,"li",0),r.Gc(2,"\n ")),2&e&&(r.Eb(1),r.mc("ngForOf",t.actions))},directives:[o.n,o.t,o.o],encapsulation:2,changeDetection:0}),e})(),ud=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-list-empty"]],hostAttrs:[1,"ant-list-empty-text"],inputs:{nzNoResult:"nzNoResult"},exportAs:["nzListHeader"],decls:3,vars:2,consts:[[3,"nzComponentName","specificContent"]],template:function(e,t){1&e&&(r.Gc(0," "),r.Rb(1,"nz-embed-empty",0),r.Gc(2," ")),2&e&&(r.Eb(1),r.mc("nzComponentName","list")("specificContent",t.nzNoResult))},directives:[Wl],encapsulation:2,changeDetection:0}),e})(),hd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-list-header"]],hostAttrs:[1,"ant-list-header"],exportAs:["nzListHeader"],ngContentSelectors:vh,decls:3,vars:0,template:function(e,t){1&e&&(r.lc(),r.Gc(0," "),r.kc(1),r.Gc(2," "))},encapsulation:2,changeDetection:0}),e})(),dd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-list-footer"]],hostAttrs:[1,"ant-list-footer"],exportAs:["nzListFooter"],ngContentSelectors:vh,decls:3,vars:0,template:function(e,t){1&e&&(r.lc(),r.Gc(0," "),r.kc(1),r.Gc(2," "))},encapsulation:2,changeDetection:0}),e})(),pd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-list-pagination"]],hostAttrs:[1,"ant-list-pagination"],exportAs:["nzListPagination"],ngContentSelectors:vh,decls:3,vars:0,template:function(e,t){1&e&&(r.lc(),r.Gc(0," "),r.kc(1),r.Gc(2," "))},encapsulation:2,changeDetection:0}),e})(),fd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Lb({type:e,selectors:[["nz-list-load-more"]],exportAs:["nzListLoadMoreDirective"]}),e})(),gd=(()=>{class e{constructor(e,t){this.elementRef=e,this.directionality=t,this.nzBordered=!1,this.nzGrid="",this.nzItemLayout="horizontal",this.nzRenderItem=null,this.nzLoading=!1,this.nzLoadMore=null,this.nzSize="default",this.nzSplit=!0,this.hasSomethingAfterLastItem=!1,this.dir="ltr",this.itemLayoutNotifySource=new cs.a(this.nzItemLayout),this.destroy$=new fe.a,this.elementRef.nativeElement.classList.add("ant-list")}get itemLayoutNotify$(){return this.itemLayoutNotifySource.asObservable()}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e})}getSomethingAfterLastItem(){return!!(this.nzLoadMore||this.nzPagination||this.nzFooter||this.nzListFooterComponent||this.nzListPaginationComponent||this.nzListLoadMoreDirective)}ngOnChanges(e){e.nzItemLayout&&this.itemLayoutNotifySource.next(this.nzItemLayout)}ngOnDestroy(){this.itemLayoutNotifySource.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.hasSomethingAfterLastItem=this.getSomethingAfterLastItem()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-list"],["","nz-list",""]],contentQueries:function(e,t,n){if(1&e&&(r.Jb(n,dd,1),r.Jb(n,pd,1),r.Jb(n,fd,1)),2&e){let e;r.sc(e=r.ec())&&(t.nzListFooterComponent=e.first),r.sc(e=r.ec())&&(t.nzListPaginationComponent=e.first),r.sc(e=r.ec())&&(t.nzListLoadMoreDirective=e.first)}},hostVars:16,hostBindings:function(e,t){2&e&&r.Ib("ant-list-rtl","rtl"===t.dir)("ant-list-vertical","vertical"===t.nzItemLayout)("ant-list-lg","large"===t.nzSize)("ant-list-sm","small"===t.nzSize)("ant-list-split",t.nzSplit)("ant-list-bordered",t.nzBordered)("ant-list-loading",t.nzLoading)("ant-list-something-after-last-item",t.hasSomethingAfterLastItem)},inputs:{nzBordered:"nzBordered",nzGrid:"nzGrid",nzItemLayout:"nzItemLayout",nzRenderItem:"nzRenderItem",nzLoading:"nzLoading",nzLoadMore:"nzLoadMore",nzSize:"nzSize",nzSplit:"nzSplit",nzDataSource:"nzDataSource",nzHeader:"nzHeader",nzFooter:"nzFooter",nzPagination:"nzPagination",nzNoResult:"nzNoResult"},exportAs:["nzList"],features:[r.Cb],ngContentSelectors:Gh,decls:15,vars:9,consts:[["itemsTpl",""],[4,"ngIf"],[3,"nzSpinning"],[3,"min-height",4,"ngIf"],["nz-row","",3,"nzGutter",4,"ngIf","ngIfElse"],[3,"nzNoResult",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-list-items"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"],[3,"nzNoResult"]],template:function(e,t){if(1&e&&(r.lc(Vh),r.Ec(0,xh,3,1,"ng-template",null,0,r.Fc),r.Ec(2,Ih,2,1,"nz-list-header",1),r.kc(3),r.Wb(4,"nz-spin",2),r.Ub(5),r.Ec(6,Dh,1,2,"div",3),r.Ec(7,Ah,2,2,"div",4),r.Ec(8,Rh,1,1,"nz-list-empty",5),r.Tb(),r.Vb(),r.Ec(9,Lh,2,1,"nz-list-footer",1),r.kc(10,1),r.Ec(11,Mh,0,0,"ng-template",6),r.kc(12,2),r.Ec(13,Ph,2,1,"nz-list-pagination",1),r.kc(14,3)),2&e){const e=r.tc(1);r.Eb(2),r.mc("ngIf",t.nzHeader),r.Eb(2),r.mc("nzSpinning",t.nzLoading),r.Eb(2),r.mc("ngIf",t.nzLoading&&t.nzDataSource&&0===t.nzDataSource.length),r.Eb(1),r.mc("ngIf",t.nzGrid&&t.nzDataSource)("ngIfElse",e),r.Eb(1),r.mc("ngIf",!t.nzLoading&&t.nzDataSource&&0===t.nzDataSource.length),r.Eb(1),r.mc("ngIf",t.nzFooter),r.Eb(2),r.mc("ngTemplateOutlet",t.nzLoadMore),r.Eb(2),r.mc("ngIf",t.nzPagination)}},directives:[o.o,mh,o.t,o.n,hd,tr.b,lc,uc,ud,dd,pd],encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzBordered",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzLoading",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzSplit",void 0),e})(),md=(()=>{class e{constructor(e,t,n,i){this.parentComp=n,this.cdr=i,this.nzActions=[],this.nzExtra=null,this.nzNoFlex=!1,t.addClass(e.nativeElement,"ant-list-item")}get isVerticalAndExtra(){return!("vertical"!==this.itemLayout||!this.listItemExtraDirective&&!this.nzExtra)}ngAfterViewInit(){this.itemLayout$=this.parentComp.itemLayoutNotify$.subscribe(e=>{this.itemLayout=e,this.cdr.detectChanges()})}ngOnDestroy(){this.itemLayout$&&this.itemLayout$.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G),r.Qb(gd),r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-list-item"],["","nz-list-item",""]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,ad,1),2&e){let e;r.sc(e=r.ec())&&(t.listItemExtraDirective=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-list-item-no-flex",t.nzNoFlex)},inputs:{nzActions:"nzActions",nzExtra:"nzExtra",nzNoFlex:"nzNoFlex",nzContent:"nzContent"},exportAs:["nzListItem"],ngContentSelectors:sd,decls:9,vars:2,consts:[["actionsTpl",""],["contentTpl",""],["extraTpl",""],["simpleTpl",""],[4,"ngIf","ngIfElse"],["nz-list-item-actions","",3,"nzActions",4,"ngIf"],["nz-list-item-actions","",3,"nzActions"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngTemplateOutlet"],[1,"ant-list-item-main"]],template:function(e,t){if(1&e&&(r.lc(od),r.Ec(0,Wh,2,1,"ng-template",null,0,r.Fc),r.Ec(2,Hh,3,1,"ng-template",null,1,r.Fc),r.Ec(4,qh,1,0,"ng-template",null,2,r.Fc),r.Ec(6,Jh,4,4,"ng-template",null,3,r.Fc),r.Ec(8,rd,6,4,"ng-container",4)),2&e){const e=r.tc(7);r.Eb(8),r.mc("ngIf",t.isVerticalAndExtra)("ngIfElse",e)}},directives:[o.o,ld,tr.b,o.t,ad],encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzNoFlex",void 0),e})(),bd=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,bh,hc,oh,tr.a,Ql]]}),e})();const vd=["editor"];function yd(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",4),r.Gc(2,"\n "),r.Wb(3,"div",5),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n ")),2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"SETTINGS_TEXT")),r.Eb(2),r.Ic("\n ",r.ic(7,4,"SETTINGS_SUB_TEXT"),"\n "))}function wd(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",9),r.Gc(1,"\n "),r.Wb(2,"app-schema-form",14),r.dc("dataChange",function(t){return r.wc(e),r.gc(2).onFormDataChange(t)}),r.Vb(),r.Gc(3,"\n "),r.Vb()}if(2&e){const e=r.gc(2);r.Eb(2),r.mc("schema",e.settingsSchema)("data",e.localSettings)}}function _d(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",9),r.Gc(1,"\n "),r.Wb(2,"ngx-codemirror",15,16),r.dc("ngModelChange",function(t){return r.wc(e),r.gc(2).onSettingsChange(t)}),r.Vb(),r.Gc(4,"\n "),r.Wb(5,"small"),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n "),r.Wb(9,"small"),r.Wb(10,"a",17),r.Gc(11,"Click here for available settings options"),r.Vb(),r.Vb(),r.Gc(12,"\n "),r.Vb()}if(2&e){const e=r.gc(2);r.Eb(2),r.mc("options",e.jsonEditorConfig)("ngModel",e.jsonSettings),r.Eb(4),r.Hc(r.ic(7,3,"SETTINGS_SHOW_EDITOR_HINT"))}}function Od(e,t){if(1&e&&(r.Wb(0,"span",22),r.Gc(1),r.Vb()),2&e){const e=t.$implicit;r.Eb(1),r.Hc(e)}}function Cd(e,t){if(1&e&&(r.Gc(0,"\n "),r.Wb(1,"nz-list-item"),r.Gc(2,"\n "),r.Wb(3,"span",20),r.Gc(4),r.Vb(),r.Gc(5,"\n "),r.Ec(6,Od,2,1,"span",21),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n ")),2&e){const e=t.$implicit,n=r.gc(3);r.Eb(4),r.Ic("\n ",e.description,"\n "),r.Eb(2),r.mc("ngForOf",e.keys)("ngForTrackBy",n.trackByIndex)}}function Ed(e,t){if(1&e&&(r.Wb(0,"nz-collapse-panel",10),r.Gc(1,"\n "),r.Wb(2,"nz-list",18),r.Gc(3,"\n "),r.Ec(4,Cd,9,3,"ng-template",null,19,r.Fc),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Vb()),2&e){const e=t.$implicit,n=r.tc(5);r.mc("nzHeader",e.title),r.Eb(2),r.mc("nzDataSource",e.shortcuts)("nzRenderItem",n)}}function Sd(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",6),r.Gc(2,"\n "),r.Wb(3,"small"),r.Wb(4,"a",7),r.dc("click",function(t){r.wc(e);const n=r.gc();return t.preventDefault(),t.stopPropagation(),n.onToggleView()}),r.Gc(5),r.hc(6,"translate"),r.Vb(),r.Vb(),r.Gc(7,"\n "),r.Ec(8,wd,4,2,"div",8),r.Gc(9,"\n\n "),r.Ec(10,_d,13,5,"div",8),r.Gc(11,"\n\n "),r.Wb(12,"div",9),r.Gc(13,"\n "),r.Wb(14,"nz-collapse"),r.Gc(15,"\n "),r.Wb(16,"nz-collapse-panel",10),r.hc(17,"translate"),r.Gc(18,"\n "),r.Wb(19,"div"),r.Gc(20,"\n "),r.Wb(21,"nz-collapse",11),r.Gc(22,"\n "),r.Ec(23,Ed,8,3,"nz-collapse-panel",12),r.Gc(24,"\n "),r.Vb(),r.Gc(25,"\n "),r.Vb(),r.Gc(26,"\n "),r.Vb(),r.Gc(27,"\n "),r.Vb(),r.Gc(28,"\n "),r.Wb(29,"div"),r.Gc(30,"\n "),r.Wb(31,"small"),r.Wb(32,"a",13),r.dc("click",function(t){return r.wc(e),r.gc().onResetApplicationData(t)}),r.Gc(33),r.hc(34,"translate"),r.Vb(),r.Vb(),r.Gc(35,"\n "),r.Vb(),r.Gc(36,"\n "),r.Vb(),r.Gc(37,"\n "),r.Vb(),r.Gc(38,"\n ")}if(2&e){const e=r.gc();r.Eb(5),r.Hc(r.ic(6,8,"SETTINGS_TOGGLE_ADVANCED_MODE")),r.Eb(3),r.mc("ngIf",e.showForm),r.Eb(2),r.mc("ngIf",!e.showForm),r.Eb(6),r.mc("nzHeader",r.ic(17,10,"SETTINGS_KEYBOARD_SHORTCUTS")),r.Eb(5),r.mc("nzBordered",!1),r.Eb(2),r.mc("ngForOf",e.shortcutCategories)("ngForTrackBy",e.trackByIndex),r.Eb(10),r.Hc(r.ic(34,12,"SETTINGS_RESET_APPLICATION_DATA"))}}function Td(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",23),r.Gc(2,"\n "),r.Wb(3,"div",24),r.Gc(4,"\n "),r.Wb(5,"label"),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n "),r.Wb(9,"div"),r.Gc(10,"\n "),r.Wb(11,"small"),r.Gc(12),r.hc(13,"translate"),r.Wb(14,"a",25),r.Gc(15),r.hc(16,"translate"),r.Vb(),r.Vb(),r.Gc(17,"\n "),r.Vb(),r.Gc(18,"\n "),r.Vb(),r.Gc(19,"\n "),r.Wb(20,"button",26),r.dc("click",function(){return r.wc(e),r.gc().saveSettings()}),r.Gc(21),r.hc(22,"translate"),r.Vb(),r.Gc(23,"\n "),r.Vb(),r.Gc(24,"\n ")}if(2&e){const e=r.gc();r.Eb(6),r.Jc("",r.ic(7,5,"SETTINGS_VERSION_TEXT")," ",e.appVersion,""),r.Eb(6),r.Ic("",r.ic(13,7,"SETTINGS_HELP_WITH_TRANSLATIONS_TEXT")," "),r.Eb(3),r.Hc(r.ic(16,9,"CLICK_HERE_TEXT")),r.Eb(6),r.Hc(r.ic(22,11,"SAVE_BUTTON"))}}var xd;(xd=ba).registerHelper("lint","json",function(e){let t=[];try{!Ka(e)&&qa.errors&&(t=[...t,...qa.errors.map(e=>{let t=`[${e.keyword}] '${e.dataPath.substring(1)}' ${e.message}`;return e.params&&e.params.allowedValues&&(t+=`\nAllowed values: [${e.params.allowedValues.join(", ")}]`),{from:xd.Pos(1,1),to:xd.Pos(1,1),message:t}})])}catch(n){M.a.log(e,n),t.push({from:xd.Pos(1,1),to:xd.Pos(1,1),message:"Invalid JSON"})}return t});let kd=(()=>{class e{constructor(e,t,n,i){this.notifyService=e,this.keybinderService=t,this.storageService=n,this.altairConfig=i,this.showSettingsDialog=!1,this.toggleDialogChange=new r.n,this.settingsJsonChange=new r.n,this.themes=this.altairConfig.themes,this.languages=Object.entries(this.altairConfig.languages),this.shortcutCategories=[],this.settingsSchema=Qa,this.showForm=!0,this.jsonSettings="",this.localSettings=null,this.jsonEditorConfig={mode:"application/json",lint:!0,lineWrapping:!0,foldGutter:!0,autoRefresh:!0,dragDrop:!1,autoCloseBrackets:!0,theme:"default settings-editor",gutters:["CodeMirror-lint-markers"],extraKeys:{"Ctrl-Space":e=>{this.showHint(e)}}}}ngOnInit(){this.shortcutCategories=this.keybinderService.getShortcuts()}ngAfterViewInit(){this.editor&&(this.editor.codeMirror.on("keyup",(e,t)=>/^[a-zA-Z0-9_@(]$/.test(t.key)&&this.showHint(e)),this.editor.codeMirror.refresh())}ngOnChanges(e){e&&e.settings&&e.settings.currentValue&&this.updateLocalSettings(JSON.stringify(e.settings.currentValue,null,2))}ngDoCheck(){rs(this.editor&&this.editor.codeMirror)}showHint(e){e.showHint({hint:Ja,completeSingle:!1})}onSettingsChange(e){this.updateLocalSettings(e)}saveSettings(){Ka(this.jsonSettings)?(this.settingsJsonChange.next(this.jsonSettings),this.toggleDialogChange.next(!1)):this.notifyService.error("Check that the settings are correct.")}onFormDataChange(e){M.a.log(e),this.onSettingsChange(JSON.stringify(e,null,2))}updateLocalSettings(e){this.jsonSettings=e;try{this.localSettings=JSON.parse(this.jsonSettings)}catch(t){}}onToggleView(){this.showForm=!this.showForm}onResetApplicationData(e){return e.preventDefault(),e.stopPropagation(),confirm("\n \u274c\u274c\u274c\n Warning! You are about to reset the application.\n Are you sure you want to reset the application?\n\n This is not reversible!".trim().replace(/ +/g," "))&&confirm("\n THIS IS YOUR LAST WARNING!\n TURN BACK NOW IF YOU DON'T WANT TO LOSE ALL THE APPLICATION DATA.\n\n ARE YOU REALLY SURE YOU WANT TO RESET ALTAIR?!\n ".trim().replace(/ +/g," "))&&(this.storageService.clearAllLocalData(),location.reload()),!1}trackByIndex(e){return e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(R.NotifyService),r.Qb(R.KeybinderService),r.Qb(R.StorageService),r.Qb(N.a))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-settings-dialog"]],viewQuery:function(e,t){if(1&e&&r.Kc(vd,3),2&e){let e;r.sc(e=r.ec())&&(t.editor=e.first)}},inputs:{settings:"settings",appVersion:"appVersion",showSettingsDialog:"showSettingsDialog"},outputs:{toggleDialogChange:"toggleDialogChange",settingsJsonChange:"settingsJsonChange"},features:[r.Cb],decls:13,vars:5,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzWidth","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[1,"app-dialog-body"],["href","#",3,"click"],["class","app-dialog-section",4,"ngIf"],[1,"app-dialog-section"],[3,"nzHeader"],[3,"nzBordered"],[3,"nzHeader",4,"ngFor","ngForOf","ngForTrackBy"],["href","#","track-id","reset_application_data",1,"settings__reset-link",3,"click"],[3,"schema","data","dataChange"],[1,"settings-editor-textarea",3,"options","ngModel","ngModelChange"],["editor",""],["target","_blank","href","http://altair.sirmuel.design/docs/features/settings-pane","rel","noopener"],["nzBordered","",3,"nzDataSource","nzRenderItem"],["shortcutItem",""],[1,"settings-shortcut-description"],["class","settings-shortcut-key",4,"ngFor","ngForOf","ngForTrackBy"],[1,"settings-shortcut-key"],[1,"app-dialog-footer"],[1,"left","text-align-left"],["href","https://altair-gql-translate.surge.sh/","target","_blank","track-id","go_to_translate_link"],["track-id","save_settings",1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(r.Gc(0,"\n"),r.Wb(1,"nz-modal",0),r.dc("nzVisibleChange",function(e){return t.toggleDialogChange.next(e)})("nzOnCancel",function(e){return t.toggleDialogChange.next(e)}),r.Gc(2,"\n "),r.Ec(3,yd,9,6,"ng-template",null,1,r.Fc),r.Gc(5,"\n\n "),r.Ec(6,Sd,39,14,"ng-template",null,2,r.Fc),r.Gc(8,"\n\n "),r.Ec(9,Td,25,13,"ng-template",null,3,r.Fc),r.Gc(11,"\n"),r.Vb(),r.Gc(12,"\n")),2&e){const e=r.tc(4),n=r.tc(7),i=r.tc(10);r.Eb(1),r.mc("nzVisible",t.showSettingsDialog)("nzTitle",e)("nzContent",n)("nzFooter",i)("nzWidth",800)}},directives:[ha,o.o,oc,sc,o.n,rh,Ca,ya.l,ya.o,gd,md],pipes:[y.c],styles:[""]}),e})();function Id(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",4),r.Gc(2,"\n "),r.Wb(3,"div",5),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n ")),2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"IMPORT_CURL_TITLE_TEXT")),r.Eb(2),r.Ic("\n ",r.ic(7,4,"IMPORT_CURL_TITLE_SUBTEXT"),"\n "))}function Dd(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",6),r.Gc(2,"\n "),r.Wb(3,"div",7),r.Gc(4,"\n "),r.Wb(5,"textarea",8),r.dc("ngModelChange",function(t){return r.wc(e),r.gc().textAreaInput=t}),r.Vb(),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n ")}if(2&e){const e=r.gc();r.Eb(5),r.mc("ngModel",e.textAreaInput)}}function zd(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",9),r.Gc(2,"\n "),r.Wb(3,"button",10),r.dc("click",function(){return r.wc(e),r.gc().importInput()}),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n ")}2&e&&(r.Eb(4),r.Hc(r.ic(5,1,"IMPORT_BUTTON")))}let jd=(()=>{class e{constructor(){this.showImportCurlDialog=!1,this.toggleDialogChange=new r.n,this.importCurlChange=new r.n,this.textAreaInput=""}ngOnInit(){}importInput(){this.toggleDialogChange.next(!1),this.importCurlChange.next(this.textAreaInput)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-import-curl-dialog"]],inputs:{showImportCurlDialog:"showImportCurlDialog"},outputs:{toggleDialogChange:"toggleDialogChange",importCurlChange:"importCurlChange"},decls:12,vars:4,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[1,"app-dialog-body"],[1,"form-group"],["aria-label","text input","cols","30","rows","10",1,"dialog-textarea",3,"ngModel","ngModelChange"],[1,"app-dialog-footer"],["track-id","close_import_from_curl_dialog",1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(r.Wb(0,"nz-modal",0),r.dc("nzVisibleChange",function(e){return t.toggleDialogChange.next(e)})("nzOnCancel",function(e){return t.toggleDialogChange.next(e)}),r.Gc(1,"\n "),r.Ec(2,Id,9,6,"ng-template",null,1,r.Fc),r.Gc(4,"\n\n "),r.Ec(5,Dd,9,1,"ng-template",null,2,r.Fc),r.Gc(7,"\n\n "),r.Ec(8,zd,8,3,"ng-template",null,3,r.Fc),r.Gc(10,"\n"),r.Vb(),r.Gc(11,"\n")),2&e){const e=r.tc(3),n=r.tc(6),i=r.tc(9);r.mc("nzVisible",t.showImportCurlDialog)("nzTitle",e)("nzContent",n)("nzFooter",i)}},directives:[ha,ya.e,ya.l,ya.o],pipes:[y.c],styles:[""]}),e})();function Ad(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",4),r.Gc(2,"\n "),r.Wb(3,"div",5),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n ")),2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"EDIT_COLLECTION_TITLE_TEXT")),r.Eb(2),r.Ic("\n ",r.ic(7,4,"EDIT_COLLECTION_TITLE_SUBTEXT"),"\n "))}function Rd(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",7),r.Gc(1,"\n "),r.Wb(2,"div",8),r.Gc(3),r.hc(4,"translate"),r.Wb(5,"input",9),r.dc("ngModelChange",function(t){return r.wc(e),r.gc(2).collection.title=t}),r.Vb(),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Vb()}if(2&e){const e=r.gc(2);r.Eb(3),r.Ic("\n ",r.ic(4,2,"COLLECTION_TITLE_LABEL"),"\n "),r.Eb(2),r.mc("ngModel",e.collection.title)}}function Nd(e,t){if(1&e&&(r.Gc(0,"\n "),r.Ec(1,Rd,8,4,"div",6),r.Gc(2,"\n ")),2&e){const e=r.gc();r.Eb(1),r.mc("ngIf",e.collection)}}function Ld(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",10),r.Gc(2,"\n "),r.Wb(3,"button",11),r.dc("click",function(){return r.wc(e),r.gc().updateCollection()}),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n ")}2&e&&(r.Eb(4),r.Hc(r.ic(5,1,"SAVE_BUTTON")))}let Md=(()=>{class e{constructor(){this.showEditCollectionDialog=!0,this.toggleDialogChange=new r.n,this.importCurlChange=new r.n,this.updateCollectionChange=new r.n}ngOnInit(){}updateCollection(){this.toggleDialogChange.next(!1),this.updateCollectionChange.next({collection:this.collection})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-edit-collection-dialog"]],inputs:{showEditCollectionDialog:"showEditCollectionDialog",collection:"collection"},outputs:{toggleDialogChange:"toggleDialogChange",importCurlChange:"importCurlChange",updateCollectionChange:"updateCollectionChange"},decls:12,vars:4,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],["class","app-dialog-body",4,"ngIf"],[1,"app-dialog-body"],[1,"form-group"],["type","text",1,"dialog-input",3,"ngModel","ngModelChange"],[1,"app-dialog-footer"],["track-id","",1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(r.Wb(0,"nz-modal",0),r.dc("nzVisibleChange",function(e){return t.toggleDialogChange.next(e)})("nzOnCancel",function(e){return t.toggleDialogChange.next(e)}),r.Gc(1,"\n "),r.Ec(2,Ad,9,6,"ng-template",null,1,r.Fc),r.Gc(4,"\n\n "),r.Ec(5,Nd,3,1,"ng-template",null,2,r.Fc),r.Gc(7,"\n\n "),r.Ec(8,Ld,8,3,"ng-template",null,3,r.Fc),r.Gc(10,"\n"),r.Vb(),r.Gc(11,"\n")),2&e){const e=r.tc(3),n=r.tc(6),i=r.tc(9);r.mc("nzVisible",t.showEditCollectionDialog)("nzTitle",e)("nzContent",n)("nzFooter",i)}},directives:[ha,o.o,ya.e,ya.l,ya.o],pipes:[y.c],styles:[""]}),e})();const Fd=["elRef"];let Pd=(()=>{class e{constructor(){}ngAfterViewInit(){this.element&&this.elRef.nativeElement.appendChild(this.element)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-element-wrapper"]],viewQuery:function(e,t){if(1&e&&r.Kc(Fd,3),2&e){let e;r.sc(e=r.ec())&&(t.elRef=e.first)}},inputs:{element:"element"},decls:3,vars:0,consts:[[1,"element__wrapper"],["elRef",""]],template:function(e,t){1&e&&(r.Rb(0,"div",0,1),r.Gc(2,"\n"))},encapsulation:2}),e})();function Vd(e,t){if(1&e&&(r.Ub(0),r.Rb(1,"i",5),r.Tb()),2&e){const e=r.gc(2);r.Eb(1),r.mc("nzType",e.nzIconType||e.inferredIconType)("nzTheme",e.iconTheme)}}function Gd(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(4);r.Eb(1),r.Hc(e.nzMessage)}}function Bd(e,t){if(1&e&&(r.Wb(0,"span",9),r.Ec(1,Gd,2,1,"ng-container",10),r.Vb()),2&e){const e=r.gc(3);r.Eb(1),r.mc("nzStringTemplateOutlet",e.nzMessage)}}function Wd(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc(4);r.Eb(1),r.Hc(e.nzDescription)}}function $d(e,t){if(1&e&&(r.Wb(0,"span",11),r.Ec(1,Wd,2,1,"ng-container",10),r.Vb()),2&e){const e=r.gc(3);r.Eb(1),r.mc("nzStringTemplateOutlet",e.nzDescription)}}function Ud(e,t){if(1&e&&(r.Wb(0,"div",6),r.Ec(1,Bd,2,1,"span",7),r.Ec(2,$d,2,1,"span",8),r.Vb()),2&e){const e=r.gc(2);r.Eb(1),r.mc("ngIf",e.nzMessage),r.Eb(1),r.mc("ngIf",e.nzDescription)}}function Hd(e,t){1&e&&r.Rb(0,"i",15)}function qd(e,t){if(1&e&&(r.Ub(0),r.Wb(1,"span",16),r.Gc(2),r.Vb(),r.Tb()),2&e){const e=r.gc(4);r.Eb(2),r.Hc(e.nzCloseText)}}function Qd(e,t){if(1&e&&(r.Ub(0),r.Ec(1,qd,3,1,"ng-container",10),r.Tb()),2&e){const e=r.gc(3);r.Eb(1),r.mc("nzStringTemplateOutlet",e.nzCloseText)}}function Kd(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",12),r.dc("click",function(){return r.wc(e),r.gc(2).closeAlert()}),r.Ec(1,Hd,1,0,"ng-template",null,13,r.Fc),r.Ec(3,Qd,2,1,"ng-container",14),r.Vb()}if(2&e){const e=r.tc(2),t=r.gc(2);r.Eb(3),r.mc("ngIf",t.nzCloseText)("ngIfElse",e)}}function Xd(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",1),r.dc("@slideAlertMotion.done",function(){return r.wc(e),r.gc().onFadeAnimationDone()}),r.Ec(1,Vd,2,2,"ng-container",2),r.Ec(2,Ud,3,2,"div",3),r.Ec(3,Kd,4,2,"button",4),r.Vb()}if(2&e){const e=r.gc();r.Ib("ant-alert-rtl","rtl"===e.dir)("ant-alert-success","success"===e.nzType)("ant-alert-info","info"===e.nzType)("ant-alert-warning","warning"===e.nzType)("ant-alert-error","error"===e.nzType)("ant-alert-no-icon",!e.nzShowIcon)("ant-alert-banner",e.nzBanner)("ant-alert-closable",e.nzCloseable)("ant-alert-with-description",!!e.nzDescription),r.mc("@.disabled",e.nzNoAnimation)("@slideAlertMotion",void 0),r.Eb(1),r.mc("ngIf",e.nzShowIcon),r.Eb(1),r.mc("ngIf",e.nzMessage||e.nzDescription),r.Eb(1),r.mc("ngIf",e.nzCloseable||e.nzCloseText)}}let Yd=(()=>{class e{constructor(e,t,n){this.nzConfigService=e,this.cdr=t,this.directionality=n,this._nzModuleName="alert",this.nzCloseText=null,this.nzIconType=null,this.nzMessage=null,this.nzDescription=null,this.nzType="info",this.nzCloseable=!1,this.nzShowIcon=!1,this.nzBanner=!1,this.nzNoAnimation=!1,this.nzOnClose=new r.n,this.closed=!1,this.iconTheme="fill",this.inferredIconType="info-circle",this.dir="ltr",this.isTypeSet=!1,this.isShowIconSet=!1,this.destroy$=new fe.a,this.nzConfigService.getConfigChangeEventForComponent("alert").pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}closeAlert(){this.closed=!0}onFadeAnimationDone(){this.closed&&this.nzOnClose.emit(!0)}ngOnChanges(e){const{nzShowIcon:t,nzDescription:n,nzType:i,nzBanner:r}=e;if(t&&(this.isShowIconSet=!0),i)switch(this.isTypeSet=!0,this.nzType){case"error":this.inferredIconType="close-circle";break;case"success":this.inferredIconType="check-circle";break;case"info":this.inferredIconType="info-circle";break;case"warning":this.inferredIconType="exclamation-circle"}n&&(this.iconTheme=this.nzDescription?"outline":"fill"),r&&(this.isTypeSet||(this.nzType="warning"),this.isShowIconSet||(this.nzShowIcon=!0))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Os.a),r.Qb(r.h),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-alert"]],inputs:{nzCloseText:"nzCloseText",nzIconType:"nzIconType",nzMessage:"nzMessage",nzDescription:"nzDescription",nzType:"nzType",nzCloseable:"nzCloseable",nzShowIcon:"nzShowIcon",nzBanner:"nzBanner",nzNoAnimation:"nzNoAnimation"},outputs:{nzOnClose:"nzOnClose"},exportAs:["nzAlert"],features:[r.Cb],decls:1,vars:1,consts:[["class","ant-alert",3,"ant-alert-rtl","ant-alert-success","ant-alert-info","ant-alert-warning","ant-alert-error","ant-alert-no-icon","ant-alert-banner","ant-alert-closable","ant-alert-with-description",4,"ngIf"],[1,"ant-alert"],[4,"ngIf"],["class","ant-alert-content",4,"ngIf"],["type","button","tabindex","0","class","ant-alert-close-icon",3,"click",4,"ngIf"],["nz-icon","",1,"ant-alert-icon",3,"nzType","nzTheme"],[1,"ant-alert-content"],["class","ant-alert-message",4,"ngIf"],["class","ant-alert-description",4,"ngIf"],[1,"ant-alert-message"],[4,"nzStringTemplateOutlet"],[1,"ant-alert-description"],["type","button","tabindex","0",1,"ant-alert-close-icon",3,"click"],["closeDefaultTemplate",""],[4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"],[1,"ant-alert-close-text"]],template:function(e,t){1&e&&r.Ec(0,Xd,4,23,"div",0),2&e&&r.mc("ngIf",!t.closed)},directives:[o.o,Ge.a,tr.b],encapsulation:2,data:{animation:[Yi.c]},changeDetection:0}),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzCloseable",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzShowIcon",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzBanner",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzNoAnimation",void 0),e})(),Jd=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,Ge.b,tr.a]]}),e})();var Zd=n("dtjE"),ep=n("GNEV"),tp=n("39k0"),np=n("lgLN"),ip=n("N7TE"),rp=n("bQ7u"),op=n("qY48"),sp=n("Nzc1"),ap=n("/fzJ"),cp=n.n(ap),lp=n("1tsg");const up=["fancyInputEl"],hp=["fancyInputHighlightsEl"];function dp(e,t){if(1&e&&(r.Wb(0,"span"),r.Gc(1),r.Vb()),2&e){const e=r.gc().$implicit;r.Eb(1),r.Hc(e.content)}}function pp(e,t){if(1&e){const e=r.Xb();r.Wb(0,"app-fancy-input-marker",9),r.dc("click",function(){return r.wc(e),r.gc(2),r.tc(2).focus()}),r.Vb()}if(2&e){const e=r.gc().$implicit,t=r.gc();r.mc("section",e)("activeEnvironment",t.activeEnvironment)}}function fp(e,t){if(1&e&&(r.Ub(0),r.Ec(1,dp,2,1,"span",7),r.Ec(2,pp,1,2,"app-fancy-input-marker",8),r.Tb()),2&e){const e=t.$implicit;r.Eb(1),r.mc("ngIf",!e.type),r.Eb(1),r.mc("ngIf","mark"===e.type)}}const gp=/{{\s*([\w\.]+)\s*}}/g;let mp=(()=>{class e{constructor(e,t){this.store=e,this.environmentService=t,this.placeholder="",this.blur=new r.n,this.submit=new r.n,this.highlightData={sections:[]},this.innerValue="",this.activeEnvironment={},this.onTouchedCallback=()=>{},this.onChangeCallback=()=>{},e.pipe(Object(c.a)(e=>e.environments),Object(a.a)()).subscribe({next:e=>{this.activeEnvironment=t.getActiveEnvironment()}})}get value(){return this.innerValue}set value(e){e!==this.innerValue&&(this.innerValue=e,this.onChangeCallback(e))}writeValue(e){e!==this.innerValue&&(this.innerValue=e)}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}ngOnInit(){"firefox"===this.detectBrowser()&&this.fixFirefox();const e=setTimeout(()=>{this.handleInput(),clearTimeout(e)},1)}handleInput(){const e=this.fancyInputEl.nativeElement.value,t=this.getRanges(e,gp),n=this.removeStaggeredRanges(t),i=this.getBoundaries(n);this.highlightData.sections=this.generateHighlightSections(e,i),this.updateHighlighterScroll()}handleScroll(){M.a.log("scrolling input")}handleKeydown(){this.updateHighlighterScroll()}handleBlur(){this.updateHighlighterScroll(),this.onTouchedCallback(),this.blur.next(this.innerValue)}handleSubmit(){this.submit.next(this.innerValue)}blockContainerScroll(){}detectBrowser(){const e=window.navigator.userAgent.toLowerCase();return-1!==e.indexOf("firefox")?"firefox":e.match(/msie|trident\/7|edge/)?"ie":e.match(/ipad|iphone|ipod/)&&-1===e.indexOf("windows phone")?"ios":"other"}fixFirefox(){}getRanges(e,t){const n=[];let i;for(;i=t.exec(e),null!==i&&(n.push([i.index,i.index+i[0].length]),t.global););return n}removeStaggeredRanges(e){const t=[];return e.forEach(e=>{t.some(t=>(e[0]>t[0]&&e[0]t[0]&&e[1]{t.push({type:"start",index:e[0],className:e.className}),t.push({type:"stop",index:e[1]})}),this.sortBoundaries(t),t}sortBoundaries(e){e.sort(function(e,t){return e.index!==t.index?e.index-t.index:"start"===e.type&&"stop"===t.type?1:"stop"===e.type&&"start"===t.type?-1:0})}generateHighlightSections(e,t){const n=[];let i={index:0,type:""};return t.forEach(t=>{n.push({content:e.substring(i.index,t.index),type:"start"===i.type&&"stop"===t.type?"mark":void 0}),i=t}),n.push({content:e.substring(i.index)}),n}updateHighlighterScroll(){const e=setTimeout(()=>{this.fancyInputHighlightsEl.nativeElement.scrollLeft=this.fancyInputEl.nativeElement.scrollLeft,this.fancyInputHighlightsEl.nativeElement.scrollTop=this.fancyInputEl.nativeElement.scrollTop,this.fancyInputHighlightsEl.nativeElement.height=this.fancyInputEl.nativeElement.height,clearTimeout(e)},10)}trackByIndex(e){return e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(g.h),r.Qb(R.EnvironmentService))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-fancy-input"]],viewQuery:function(e,t){if(1&e&&(r.Kc(up,3),r.Kc(hp,3)),2&e){let e;r.sc(e=r.ec())&&(t.fancyInputEl=e.first),r.sc(e=r.ec())&&(t.fancyInputHighlightsEl=e.first)}},inputs:{placeholder:"placeholder"},outputs:{blur:"blur",submit:"submit"},features:[r.Db([{provide:ya.j,useExisting:Object(r.W)(()=>e),multi:!0}])],decls:7,vars:4,consts:[[1,"fancy-input-container"],["type","text",1,"fancy-input-content","fancy-input-element",3,"placeholder","ngModel","ngModelChange","input","scroll","keydown","blur","keydown.enter"],["fancyInputEl",""],[1,"fancy-input-backdrop"],[1,"fancy-input-content","fancy-input-highlights"],["fancyInputHighlightsEl",""],[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[3,"section","activeEnvironment","click",4,"ngIf"],[3,"section","activeEnvironment","click"]],template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Wb(1,"input",1,2),r.dc("ngModelChange",function(e){return t.value=e})("input",function(){return t.handleInput()})("scroll",function(){return t.handleScroll()})("keydown",function(){return t.handleKeydown()})("blur",function(){return t.handleBlur()})("keydown.enter",function(){return t.handleSubmit()}),r.Vb(),r.Wb(3,"div",3),r.Wb(4,"div",4,5),r.Ec(6,fp,3,2,"ng-container",6),r.Vb(),r.Vb(),r.Vb()),2&e&&(r.Eb(1),r.mc("placeholder",t.placeholder)("ngModel",t.value),r.Eb(5),r.mc("ngForOf",t.highlightData.sections)("ngForTrackBy",t.trackByIndex))},styles:[""]}),e})();function bp(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",21),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc().setVerb(n)}),r.Gc(1),r.Vb()}if(2&e){const e=t.$implicit;r.mc("value",e),r.Eb(1),r.Ic("\n ",e,"\n ")}}const vp=function(){return{"white-space":"nowrap"}};function yp(e,t){1&e&&(r.Rb(0,"app-icon",26),r.hc(1,"translate")),2&e&&r.mc("popper",r.ic(1,2,"STREAM_CONNECTION_TRYING"))("popperStyles",r.oc(4,vp))}function wp(e,t){1&e&&(r.Rb(0,"app-icon",27),r.hc(1,"translate")),2&e&&r.mc("popper",r.ic(1,2,"STREAM_CONNECTION_CONNECTED"))("popperStyles",r.oc(4,vp))}function _p(e,t){if(1&e&&(r.Wb(0,"div",22),r.Gc(1,"\n "),r.Wb(2,"div",23),r.Gc(3,"\n "),r.Ec(4,yp,2,5,"app-icon",24),r.Gc(5,"\n "),r.Ec(6,wp,2,5,"app-icon",25),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n "),r.Vb()),2&e){const e=r.gc();r.Eb(4),r.mc("ngIf","uncertain"==e.streamState),r.Eb(2),r.mc("ngIf","connected"==e.streamState)}}function Op(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",13),r.dc("click",function(){return r.wc(e),r.gc().updateQueryInCollectionChange.emit()}),r.Gc(1),r.hc(2,"translate"),r.Vb()}if(2&e){const e=r.gc();r.Eb(1),r.Jc("\n ",r.ic(2,2,"COLLECTION_UPDATE_WINDOW_IN_COLLECTION")," (",e.currentCollection.title,")\n ")}}function Cp(e,t){1&e&&(r.Wb(0,"span"),r.Gc(1),r.hc(2,"translate"),r.Vb()),2&e&&(r.Eb(1),r.Hc(r.ic(2,1,"LOADING_INDICATOR_TEXT")))}function Ep(e,t){1&e&&(r.Wb(0,"span"),r.Gc(1),r.hc(2,"translate"),r.Vb()),2&e&&(r.Eb(1),r.Hc(r.ic(2,1,"SEND_REQUEST_BUTTON")))}const Sp=function(e){return{"url-box__button--disabled":e}};function Tp(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",28),r.dc("click",function(){r.wc(e);const t=r.gc();return!t.isSubscribed&&t.sendRequest.emit()}),r.Gc(1,"\n "),r.Ec(2,Cp,3,3,"span",29),r.Gc(3,"\n "),r.Ec(4,Ep,3,3,"span",29),r.Gc(5,"\n "),r.Vb()}if(2&e){const e=r.gc();r.mc("ngClass",r.pc(3,Sp,e.isSubscribed||e.isLoading)),r.Eb(2),r.mc("ngIf",e.isLoading),r.Eb(2),r.mc("ngIf",!e.isLoading)}}function xp(e,t){1&e&&(r.Wb(0,"span"),r.Gc(1),r.hc(2,"translate"),r.Vb()),2&e&&(r.Eb(1),r.Hc(r.ic(2,1,"LOADING_INDICATOR_TEXT")))}function kp(e,t){1&e&&(r.Wb(0,"span"),r.Gc(1),r.hc(2,"translate"),r.Vb()),2&e&&(r.Eb(1),r.Hc(r.ic(2,1,"SEND_REQUEST_BUTTON")))}function Ip(e,t){if(1&e&&(r.Wb(0,"span"),r.Gc(1),r.Vb()),2&e){const e=r.gc(2);r.Eb(1),r.Ic("(",e.selectedOperation,")")}}function Dp(e,t){if(1&e&&(r.Wb(0,"button",30),r.Gc(1,"\n "),r.Ec(2,xp,3,3,"span",29),r.Gc(3,"\n "),r.Ec(4,kp,3,3,"span",29),r.Gc(5,"\n "),r.Ec(6,Ip,2,1,"span",29),r.Gc(7,"\n "),r.Rb(8,"app-icon",31),r.Gc(9,"\n "),r.Vb()),2&e){const e=r.gc(),t=r.tc(61);r.mc("ngClass",r.pc(5,Sp,e.isSubscribed))("nzDropdownMenu",t),r.Eb(2),r.mc("ngIf",e.isLoading),r.Eb(2),r.mc("ngIf",!e.isLoading),r.Eb(2),r.mc("ngIf",e.selectedOperation)}}function zp(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",13),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc().selectedOperationChange.emit(n.name.value)}),r.Gc(1),r.Vb()}if(2&e){const e=t.$implicit;r.Eb(1),r.Ic("\n ",e.name.value,"\n ")}}const jp=function(e){return{"url-box__input-btn--active":e}};let Ap=(()=>{class e{constructor(){this.isSubscribed=!1,this.isLoading=!1,this.showDocs=!1,this.selectedOperation="",this.queryOperations=[],this.streamState="",this.currentCollection=null,this.toggleDocsChange=new r.n,this.reloadDocsChange=new r.n,this.addToCollectionChange=new r.n,this.sendRequest=new r.n,this.urlChange=new r.n,this.httpVerbChange=new r.n,this.selectedOperationChange=new r.n,this.exportWindowChange=new r.n,this.updateQueryInCollectionChange=new r.n,this.methods=["POST","GET","PUT","DELETE"]}setApiUrl(){this.urlChange.emit(this.apiUrl.trim())}setVerb(e){this.httpVerbChange.emit(e)}queryOperationTrackBy(e,t){return t.name&&t.name.value}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-url-box"]],inputs:{apiUrl:"apiUrl",httpVerb:"httpVerb",isSubscribed:"isSubscribed",isLoading:"isLoading",showDocs:"showDocs",selectedOperation:"selectedOperation",queryOperations:"queryOperations",streamState:"streamState",currentCollection:"currentCollection"},outputs:{toggleDocsChange:"toggleDocsChange",reloadDocsChange:"reloadDocsChange",addToCollectionChange:"addToCollectionChange",sendRequest:"sendRequest",urlChange:"urlChange",httpVerbChange:"httpVerbChange",selectedOperationChange:"selectedOperationChange",exportWindowChange:"exportWindowChange",updateQueryInCollectionChange:"updateQueryInCollectionChange"},decls:70,vars:28,consts:[[1,"url-box"],["type","button","nz-dropdown","","nzTrigger","click","track-id","http_verb",1,"url-box__button","btn","btn-outline-primary","url-box__button--method",3,"nzDropdownMenu","value"],["httpVerbMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"value","click",4,"ngFor","ngForOf"],[1,"url-box__input-container"],["class","url-box__input-prepend",4,"ngIf"],["track-id","set_url","placeholder","Enter URL",1,"url-box__input",3,"ngModel","blur","submit","ngModelChange"],[1,"url-box__input-actions"],["type","button","nz-dropdown","","nzTrigger","click",1,"url-box__input-btn",3,"nzDropdownMenu"],["name","save"],["urlBoxActionMenu","nzDropdownMenu"],["nz-menu-item","",3,"click",4,"ngIf"],["nz-menu-item","",3,"click"],["type","button","track-id","reload_docs",1,"url-box__input-btn",3,"popper","popperPlacement","click"],["name","refresh-ccw"],["type","button","track-id","show_docs",1,"url-box__input-btn",3,"ngClass","click"],["class","app-button url-box__button url-box__button--send active-primary","track-id","set_request",3,"ngClass","click",4,"ngIf"],["class","btn app-button url-box__button url-box__button--send url-box__button--send-dropdown active-primary","track-id","send_request","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",3,"ngClass","nzDropdownMenu",4,"ngIf"],["queryOperationsMenu","nzDropdownMenu"],["nz-menu-item","",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],["nz-menu-item","",3,"value","click"],[1,"url-box__input-prepend"],[1,"url-box__connection-indicator"],["name","alert-circle","class","connection-indicator--uncertain",3,"popper","popperStyles",4,"ngIf"],["name","check-circle","class","connection-indicator--connected",3,"popper","popperStyles",4,"ngIf"],["name","alert-circle",1,"connection-indicator--uncertain",3,"popper","popperStyles"],["name","check-circle",1,"connection-indicator--connected",3,"popper","popperStyles"],["track-id","set_request",1,"app-button","url-box__button","url-box__button--send","active-primary",3,"ngClass","click"],[4,"ngIf"],["track-id","send_request","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"btn","app-button","url-box__button","url-box__button--send","url-box__button--send-dropdown","active-primary",3,"ngClass","nzDropdownMenu"],["name","chevron-down"]],template:function(e,t){if(1&e&&(r.Wb(0,"div",0),r.Gc(1,"\n "),r.Wb(2,"button",1),r.Gc(3),r.Vb(),r.Gc(4,"\n "),r.Wb(5,"nz-dropdown-menu",null,2),r.Gc(7,"\n "),r.Wb(8,"ul",3),r.Gc(9,"\n "),r.Ec(10,bp,2,2,"li",4),r.Gc(11,"\n "),r.Vb(),r.Gc(12,"\n "),r.Vb(),r.Gc(13,"\n "),r.Wb(14,"div",5),r.Gc(15,"\n "),r.Ec(16,_p,9,2,"div",6),r.Gc(17,"\n "),r.Wb(18,"app-fancy-input",7),r.dc("blur",function(){return t.setApiUrl()})("submit",function(){return t.setApiUrl()})("ngModelChange",function(e){return t.apiUrl=e}),r.Vb(),r.Gc(19,"\n "),r.Wb(20,"div",8),r.Gc(21,"\n "),r.Wb(22,"button",9),r.Gc(23,"\n "),r.Rb(24,"app-icon",10),r.Gc(25,"\n "),r.Vb(),r.Gc(26,"\n "),r.Wb(27,"nz-dropdown-menu",null,11),r.Gc(29,"\n "),r.Wb(30,"ul",3),r.Gc(31,"\n "),r.Ec(32,Op,3,4,"li",12),r.Gc(33,"\n "),r.Wb(34,"li",13),r.dc("click",function(){return t.addToCollectionChange.emit()}),r.Gc(35),r.hc(36,"translate"),r.Vb(),r.Gc(37,"\n "),r.Wb(38,"li",13),r.dc("click",function(){return t.exportWindowChange.emit()}),r.Gc(39),r.hc(40,"translate"),r.Vb(),r.Gc(41,"\n "),r.Vb(),r.Gc(42,"\n "),r.Vb(),r.Gc(43,"\n "),r.Wb(44,"button",14),r.dc("click",function(){return t.reloadDocsChange.emit()}),r.hc(45,"translate"),r.Gc(46,"\n "),r.Rb(47,"app-icon",15),r.Gc(48,"\n "),r.Vb(),r.Gc(49,"\n "),r.Wb(50,"button",16),r.dc("click",function(){return t.toggleDocsChange.emit()}),r.Gc(51),r.hc(52,"translate"),r.Vb(),r.Gc(53,"\n "),r.Vb(),r.Gc(54,"\n "),r.Vb(),r.Gc(55,"\n "),r.Ec(56,Tp,6,5,"button",17),r.Gc(57,"\n "),r.Ec(58,Dp,10,7,"button",18),r.Gc(59,"\n "),r.Wb(60,"nz-dropdown-menu",null,19),r.Gc(62,"\n "),r.Wb(63,"ul",3),r.Gc(64,"\n "),r.Ec(65,zp,2,1,"li",20),r.Gc(66,"\n "),r.Vb(),r.Gc(67,"\n "),r.Vb(),r.Gc(68,"\n"),r.Vb(),r.Gc(69,"\n")),2&e){const e=r.tc(6),n=r.tc(28);r.Eb(2),r.mc("nzDropdownMenu",e)("value",t.httpVerb),r.Eb(1),r.Ic("\n ",t.httpVerb,"\n \u25bc\n "),r.Eb(7),r.mc("ngForOf",t.methods),r.Eb(6),r.mc("ngIf",t.streamState),r.Eb(2),r.mc("ngModel",t.apiUrl),r.Eb(4),r.mc("nzDropdownMenu",n),r.Eb(10),r.mc("ngIf",t.currentCollection),r.Eb(3),r.Ic("\n ",r.ic(36,18,"SAVE_TO_COLLECTION_BUTTON"),"\n "),r.Eb(4),r.Ic("\n ",r.ic(40,20,"EXPORT_WINDOW_TEXT"),"\n "),r.Eb(5),r.mc("popper",r.ic(45,22,"RELOAD_DOCS_BUTTON"))("popperPlacement","bottom"),r.Eb(6),r.mc("ngClass",r.pc(26,jp,t.showDocs)),r.Eb(1),r.Ic("\n ",r.ic(52,24,"DOCS_TEXT"),"\n "),r.Eb(5),r.mc("ngIf",t.queryOperations.length<2),r.Eb(2),r.mc("ngIf",t.queryOperations.length>1),r.Eb(7),r.mc("ngForOf",t.queryOperations)("ngForTrackBy",t.queryOperationTrackBy)}},directives:[Sr.a,Sr.c,Ve.c,o.n,o.o,mp,ya.l,ya.o,Xi.a,Ki.a,Ve.e,Mo,o.l],pipes:[y.c],encapsulation:2}),e})();n("L8IC"),n("cokd"),n("jDMi"),n("ELLl"),n("Ku0u"),n("C2zF"),n("uTOq"),n("cV09"),n("GP5n"),n("nHt3"),n("O8+U"),n("HkoP"),n("HBFN"),n("Xkdu");var Rp=n("IQOa");const Np=["error","warning","information","hint"],Lp={"GraphQL: Validation":"validation","GraphQL: Deprecation":"deprecation","GraphQL: Syntax":"syntax"};ba.registerHelper("lint","graphql",(e,t)=>{const n=t.schema;try{return Object(Rp.getDiagnostics)(e,n).map(e=>e.severity&&e.source&&{message:e.message,severity:Np[e.severity-1],type:Lp[e.source],from:ba.Pos(e.range.start.line,e.range.start.character),to:ba.Pos(e.range.end.line,e.range.end.character)})}catch(i){return M.a.log(i),[]}}),ba.registerHelper("hint","graphql",(e,t)=>{const n=t.schema;if(!n)return;const i=e.getDoc().getCursor(),r=e.getTokenAt(i),o=Object(Rp.getAutocompleteSuggestions)(n,e.getValue(),i,r),s=null!==r.type&&/"|\w/.test(r.string[0])?r.start:r.end,a={list:o.map(e=>({text:e.label,type:e.detail&&n.getType(e.detail.replace(/[\[\]!]/g,"")),description:e.documentation,isDeprecated:e.isDeprecated,deprecationReason:e.deprecationReason,render:t.render||void 0,typeDetail:e.detail})),from:{line:i.line,column:s},to:{line:i.line,column:r.end}};return a&&a.list&&a.list.length>0&&(a.from=ba.Pos(a.from.line,a.from.column),a.to=ba.Pos(a.to.line,a.to.column),ba.signal(e,"hasCompletion",e,a,r)),a});var Mp=n("axIb"),Fp=n("4MG8"),Pp=n.n(Fp);const Vp=e=>e instanceof Mp.e?`${Vp(e.ofType)}!`:e instanceof Mp.d?`[${Vp(e.ofType)}]`:`${e.name}`;var Gp=n("eNwd"),Bp=n("7Hc7"),Wp=n("xgIS"),$p=n("tyNb"),Up=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,i){return e[0]===t&&(n=i,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n0},e.prototype.connect_=function(){Hp&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Xp?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){Hp&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;Kp.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Jp=function(e,t){for(var n=0,i=Object.keys(t);n0},e}(),lf="undefined"!=typeof WeakMap?new WeakMap:new Up,uf=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Yp.getInstance(),i=new cf(t,n,this);lf.set(this,i)};["observe","unobserve","disconnect"].forEach(function(e){uf.prototype[e]=function(){var t;return(t=lf.get(this))[e].apply(t,arguments)}});var hf=void 0!==qp.ResizeObserver?qp.ResizeObserver:uf;let df=(()=>{class e{create(e){return void 0===hf?null:new hf(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Mb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),pf=(()=>{class e{constructor(e){this.nzResizeObserverFactory=e,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((e,t)=>this.cleanupObserver(t))}observe(e){const t=Object(Ee.e)(e);return new Te.a(e=>{const n=this.observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this.unobserveElement(t)}})}observeElement(e){if(this.observedElements.has(e))this.observedElements.get(e).count++;else{const t=new fe.a,n=this.nzResizeObserverFactory.create(e=>t.next(e));n&&n.observe(e),this.observedElements.set(e,{observer:n,stream:t,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:t,stream:n}=this.observedElements.get(e);t&&t.disconnect(),n.complete(),this.observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(r.ac(df))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.ac)(df))},token:e,providedIn:"root"}),e})(),ff=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},providers:[df]}),e})();function gf(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Rb(2,"i",1),r.Gc(3,"\n "),r.Tb()),2&e){const e=t.$implicit;r.Eb(2),r.mc("nzType",e)}}const mf=["contentTemplate"];function bf(e,t){1&e&&r.kc(0)}function vf(e,t){1&e&&r.kc(0,1)}const yf=[[["","nz-tab-link",""]],"*"],wf=["[nz-tab-link]","*"];function _f(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc().$implicit;r.Eb(1),r.Hc(e.tab.label)}}const Of=function(){return{visible:!1}};function Cf(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",8),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc(2).onSelect(n)})("contextmenu",function(n){r.wc(e);const i=t.$implicit;return r.gc(2).onContextmenu(i,n)}),r.Ec(1,_f,2,1,"ng-container",9),r.Vb()}if(2&e){const e=t.$implicit;r.Ib("ant-tabs-dropdown-menu-item-disabled",e.disabled),r.mc("nzSelected",e.active)("nzDisabled",e.disabled),r.Eb(1),r.mc("nzStringTemplateOutlet",e.tab.label)("nzStringTemplateOutletContext",r.oc(6,Of))}}function Ef(e,t){if(1&e&&(r.Wb(0,"ul",6),r.Ec(1,Cf,2,7,"li",7),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.mc("ngForOf",e.items)}}function Sf(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",10),r.dc("click",function(){return r.wc(e),r.gc().addClicked.emit()}),r.Vb()}if(2&e){const e=r.gc();r.mc("addIcon",e.addIcon)}}const Tf=function(){return{minWidth:"46px"}},xf=["navWarp"],kf=["navList"];function If(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",8),r.dc("click",function(){return r.wc(e),r.gc().addClicked.emit()}),r.Vb()}if(2&e){const e=r.gc();r.mc("addIcon",e.addIcon)}}function Df(e,t){}function zf(e,t){if(1&e&&(r.Wb(0,"div",9),r.Ec(1,Df,0,0,"ng-template",10),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.mc("ngTemplateOutlet",e.extraTemplate)}}const jf=["*"],Af=["nz-tab-body",""];function Rf(e,t){}function Nf(e,t){if(1&e&&(r.Ub(0),r.Ec(1,Rf,0,0,"ng-template",1),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.mc("ngTemplateOutlet",e.content)}}function Lf(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Rb(2,"i",1),r.Gc(3,"\n "),r.Tb()),2&e){const e=t.$implicit;r.Eb(2),r.mc("nzType",e)}}function Mf(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc().$implicit;r.Eb(1),r.Hc(e.label)}}function Ff(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",10),r.dc("click",function(t){r.wc(e);const n=r.gc().index;return r.gc(2).onClose(n,t)}),r.Vb()}if(2&e){const e=r.gc().$implicit;r.mc("closeIcon",e.nzCloseIcon)}}const Pf=function(){return{visible:!0}};function Vf(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",6),r.dc("click",function(n){r.wc(e);const i=t.$implicit,o=t.index;return r.gc(2).clickNavItem(i,o,n)})("contextmenu",function(n){r.wc(e);const i=t.$implicit;return r.gc(2).contextmenuNavItem(i,n)}),r.Wb(1,"div",7),r.Ec(2,Mf,2,1,"ng-container",8),r.Ec(3,Ff,1,1,"button",9),r.Vb(),r.Vb()}if(2&e){const e=t.$implicit,n=t.index,i=r.gc(2);r.Bc("margin-right","horizontal"===i.position?i.nzTabBarGutter:null,"px")("margin-bottom","vertical"===i.position?i.nzTabBarGutter:null,"px"),r.Ib("ant-tabs-tab-active",i.nzSelectedIndex===n)("ant-tabs-tab-disabled",e.nzDisabled),r.Eb(1),r.mc("disabled",e.nzDisabled)("tab",e)("active",i.nzSelectedIndex===n),r.Fb("tabIndex",i.getTabIndex(e,n))("aria-disabled",e.nzDisabled)("aria-selected",i.nzSelectedIndex===n&&!i.nzHideAll)("aria-controls",i.getTabContentId(n)),r.Eb(1),r.mc("nzStringTemplateOutlet",e.label)("nzStringTemplateOutletContext",r.oc(18,Pf)),r.Eb(1),r.mc("ngIf",e.nzClosable&&i.closable&&!e.nzDisabled)}}function Gf(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-tabs-nav",4),r.dc("tabScroll",function(t){return r.wc(e),r.gc().nzTabListScroll.emit(t)})("selectFocusedIndex",function(t){return r.wc(e),r.gc().setSelectedIndex(t)})("addClicked",function(){return r.wc(e),r.gc().onAdd()}),r.Ec(1,Vf,4,19,"div",5),r.Vb()}if(2&e){const e=r.gc();r.mc("ngStyle",e.nzTabBarStyle)("selectedIndex",e.nzSelectedIndex||0)("inkBarAnimated",e.inkBarAnimated)("addable",e.addable)("addIcon",e.nzAddIcon)("hideBar",e.nzHideAll)("position",e.position)("extraTemplate",e.nzTabBarExtraContent),r.Eb(1),r.mc("ngForOf",e.tabs)}}function Bf(e,t){if(1&e&&r.Rb(0,"div",11),2&e){const e=t.$implicit,n=t.index,i=r.gc();r.mc("active",i.nzSelectedIndex==n&&!i.nzHideAll)("content",e.content)("forceRender",e.nzForceRender)("tabPaneAnimated",i.tabPaneAnimated)}}let Wf=(()=>{class e{constructor(e){this.elementRef=e,this.addIcon="plus",this.element=this.elementRef.nativeElement}getElementWidth(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetWidth)||0}getElementHeight(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetHeight)||0}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:3,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,gf,4,1,"ng-container",0),r.Gc(2,"\n ")),2&e&&(r.Eb(1),r.mc("nzStringTemplateOutlet",t.addIcon))},directives:[tr.b,Ge.a],encapsulation:2}),e})(),$f=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.ngZone=t,this.animationMode=n,this.position="horizontal",this.animated=!0}get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}alignToElement(e){this.ngZone.runOutsideAngular(()=>{Ce(()=>this.setStyles(e))})}setStyles(e){const t=this.elementRef.nativeElement;"horizontal"===this.position?(t.style.top="",t.style.height="",t.style.left=this.getLeftPosition(e),t.style.width=this.getElementWidth(e)):(t.style.left="",t.style.width="",t.style.top=this.getTopPosition(e),t.style.height=this.getElementHeight(e))}getLeftPosition(e){return e?(e.offsetLeft||0)+"px":"0"}getElementWidth(e){return e?(e.offsetWidth||0)+"px":"0"}getTopPosition(e){return e?(e.offsetTop||0)+"px":"0"}getElementHeight(e){return e?(e.offsetHeight||0)+"px":"0"}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.B),r.Qb(as.a,8))},e.\u0275dir=r.Lb({type:e,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-tabs-ink-bar-animated",t._animated)},inputs:{position:"position",animated:"animated"}}),e})(),Uf=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.O,1))},e.\u0275dir=r.Lb({type:e,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]}),e})(),Hf=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.routerLink=t,this.routerLinkWithHref=n}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb($p.c,10),r.Qb($p.d,10))},e.\u0275dir=r.Lb({type:e,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]}),e})(),qf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-tab",""]],exportAs:["nzTab"]}),e})();const Qf=new r.s("NZ_TAB_SET");let Kf=(()=>{class e{constructor(e){this.closestTabSet=e,this.nzTitle="",this.nzClosable=!1,this.nzCloseIcon="close",this.nzDisabled=!1,this.nzForceRender=!1,this.nzSelect=new r.n,this.nzDeselect=new r.n,this.nzClick=new r.n,this.nzContextmenu=new r.n,this.template=null,this.isActive=!1,this.position=null,this.origin=null,this.stateChanges=new fe.a}get content(){return this.template||this.contentTemplate}get label(){var e;return this.nzTitle||(null===(e=this.nzTabLinkTemplateDirective)||void 0===e?void 0:e.templateRef)}ngOnChanges(e){const{nzTitle:t,nzDisabled:n,nzForceRender:i}=e;(t||n||i)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Qf))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-tab"]],contentQueries:function(e,t,n){if(1&e&&(r.Jb(n,qf,1,r.O),r.Jb(n,Uf,1),r.Jb(n,Hf,1)),2&e){let e;r.sc(e=r.ec())&&(t.template=e.first),r.sc(e=r.ec())&&(t.nzTabLinkTemplateDirective=e.first),r.sc(e=r.ec())&&(t.linkDirective=e.first)}},viewQuery:function(e,t){if(1&e&&r.Kc(mf,3),2&e){let e;r.sc(e=r.ec())&&(t.contentTemplate=e.first)}},inputs:{nzTitle:"nzTitle",nzClosable:"nzClosable",nzCloseIcon:"nzCloseIcon",nzDisabled:"nzDisabled",nzForceRender:"nzForceRender"},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[r.Cb],ngContentSelectors:wf,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(e,t){1&e&&(r.lc(yf),r.Ec(0,bf,1,0,"ng-template",null,0,r.Fc),r.Ec(2,vf,1,0,"ng-template",null,1,r.Fc))},encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzClosable",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzForceRender",void 0),e})(),Xf=(()=>{class e{constructor(e){this.elementRef=e,this.disabled=!1,this.active=!1,this.el=e.nativeElement,this.parentElement=this.el.parentElement}focus(){this.el.focus()}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["","nzTabNavItem",""]],inputs:{disabled:"disabled",active:"active",tab:"tab"}}),e})(),Yf=(()=>{class e{constructor(e,t){this.cdr=e,this.elementRef=t,this.items=[],this.addable=!1,this.addIcon="plus",this.addClicked=new r.n,this.selected=new r.n,this.closeAnimationWaitTimeoutId=-1,this.menuOpened=!1,this.element=this.elementRef.nativeElement}onSelect(e){e.disabled||(e.tab.nzClick.emit(),this.selected.emit(e))}onContextmenu(e,t){e.disabled||e.tab.nzContextmenu.emit(t)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(e){e||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetWidth)||0}getElementHeight(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetHeight)||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-tabs-nav-operations-hidden",0===t.items.length)},inputs:{items:"items",addable:"addable",addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement","nzVisibleChange","mouseenter"],["dropdownTrigger","nzDropdown"],["nz-icon","","nzType","ellipsis"],["menu","nzDropdownMenu"],["nz-menu","",4,"ngIf"],["nz-tab-add-button","",3,"addIcon","click",4,"ngIf"],["nz-menu",""],["nz-menu-item","","class","ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled","click","contextmenu",4,"ngFor","ngForOf"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"nzSelected","nzDisabled","click","contextmenu"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"addIcon","click"]],template:function(e,t){if(1&e&&(r.Wb(0,"button",0,1),r.dc("nzVisibleChange",function(e){return t.menuVisChange(e)})("mouseenter",function(){return t.showItems()}),r.Rb(2,"i",2),r.Vb(),r.Wb(3,"nz-dropdown-menu",null,3),r.Ec(5,Ef,2,1,"ul",4),r.Vb(),r.Ec(6,Sf,1,1,"button",5)),2&e){const e=r.tc(4);r.mc("nzDropdownMenu",e)("nzOverlayStyle",r.oc(5,Tf))("nzMatchWidthElement",null),r.Eb(5),r.mc("ngIf",t.menuOpened),r.Eb(1),r.mc("ngIf",t.addable)}},directives:[Sr.a,Ge.a,Sr.c,o.o,Ve.c,o.n,Ve.e,tr.b,Wf],encapsulation:2,changeDetection:0}),e})();const Jf="undefined"!=typeof requestAnimationFrame?Gp.a:Bp.a;let Zf=(()=>{class e{constructor(e,t,n,i,o){this.cdr=e,this.ngZone=t,this.viewportRuler=n,this.nzResizeObserver=i,this.dir=o,this.indexFocused=new r.n,this.selectFocusedIndex=new r.n,this.addClicked=new r.n,this.tabScroll=new r.n,this.position="horizontal",this.addable=!1,this.hideBar=!1,this.addIcon="plus",this.inkBarAnimated=!0,this.translate=null,this.transformX=0,this.transformY=0,this.pingLeft=!1,this.pingRight=!1,this.pingTop=!1,this.pingBottom=!1,this.hiddenItems=[],this.destroy$=new fe.a,this._selectedIndex=0,this.wrapperWidth=0,this.wrapperHeight=0,this.scrollListWidth=0,this.scrollListHeight=0,this.operationWidth=0,this.operationHeight=0,this.addButtonWidth=0,this.addButtonHeight=0,this.selectedIndexChanged=!1,this.lockAnimationTimeoutId=-1,this.cssTransformTimeWaitingId=-1}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){const t=Object(Ee.f)(e);this._selectedIndex!==t&&(this._selectedIndex=e,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(e))}get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(e){this.isValidIndex(e)&&this.focusIndex!==e&&this.keyManager&&this.keyManager.setActiveItem(e)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}ngOnInit(){}ngAfterViewInit(){const e=this.dir?this.dir.change:Object(v.a)(null),t=this.viewportRuler.change(150),n=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new ft(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(0),Ce(n),Object(Gc.a)(this.nzResizeObserver.observe(this.navWarpRef),this.nzResizeObserver.observe(this.navListRef)).pipe(Object(ge.a)(this.destroy$),Object(ve.a)(16,Jf)).subscribe(()=>{n()}),Object(Gc.a)(e,t,this.items.changes).pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{Promise.resolve().then(n),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.indexFocused.emit(e),this.setTabFocus(e),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}ngOnDestroy(){clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId),this.destroy$.next(),this.destroy$.complete()}onSelectedFromMenu(e){const t=this.items.toArray().findIndex(t=>t===e);-1!==t&&(this.keyManager.updateActiveItem(t),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(e)))}onOffsetChange(e){if("horizontal"===this.position){if(-1===this.lockAnimationTimeoutId){if(this.transformX>=0&&e.x>0)return;if(this.transformX<=this.wrapperWidth-this.scrollListWidth&&e.x<0)return}e.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+e.x),this.setTransform(this.transformX,0)}else{if(-1===this.lockAnimationTimeoutId){if(this.transformY>=0&&e.y>0)return;if(this.transformY<=this.wrapperHeight-this.scrollListHeight&&e.y<0)return}e.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+e.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(e){const t=this.navWarpRef.nativeElement.contains(e.target);if(!Object(ct.p)(e)&&t)switch(e.keyCode){case ct.h:case ct.m:case ct.j:case ct.c:this.lockAnimation(),this.keyManager.onKeydown(e);break;case ct.e:case ct.k:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(e)}}isValidIndex(e){if(!this.items)return!0;const t=this.items?this.items.toArray()[e]:null;return!!t&&!t.disabled}scrollToTab(e){if(!this.items.find(t=>t===e))return;const t=this.items.toArray();if("horizontal"===this.position){let n=this.transformX;if("rtl"===this.getLayoutDirection()){const i=t[0].left+t[0].width-e.left-e.width;ithis.transformX+this.wrapperWidth&&(n=i+e.width-this.wrapperWidth)}else e.left<-this.transformX?n=-e.left:e.left+e.width>-this.transformX+this.wrapperWidth&&(n=-(e.left+e.width-this.wrapperWidth));this.transformX=n,this.transformY=0,this.setTransform(n,0)}else{let t=this.transformY;e.top<-this.transformY?t=-e.top:e.top+e.height>-this.transformY+this.wrapperHeight&&(t=-(e.top+e.height-this.wrapperHeight)),this.transformY=t,this.transformX=0,this.setTransform(0,t)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},150)}lockAnimation(){-1===this.lockAnimationTimeoutId&&this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=-1},150)})}setTransform(e,t){this.navListRef.nativeElement.style.transform=`translate(${e}px, ${t}px)`}clampTransformX(e){const t=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(t,e),0):Math.min(Math.max(t,e),0)}clampTransformY(e){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,e),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWarpRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWarpRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const e=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t&&this.inkBar.alignToElement(t.parentElement)}setPingStatus(){const e={top:!1,right:!1,bottom:!1,left:!1},t=this.navWarpRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(e.right=this.transformX>0,e.left=this.transformX+this.wrapperWidth{const i=`ant-tabs-nav-wrap-ping-${n}`;e[n]?t.classList.add(i):t.classList.remove(i)})}setVisibleRange(){let e,t,n,i,r,o;const s=this.items.toArray(),a={width:0,height:0,left:0,top:0,right:0},c=e=>{let n;return n="right"===t?s[0].left+s[0].width-s[e].left-s[e].width:(s[e]||a)[t],n};"horizontal"===this.position?(e="width",i=this.wrapperWidth,r=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),o=this.addButtonWidth,n=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(t="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidthi&&(l=i-o),!s.length)return this.hiddenItems=[],void this.cdr.markForCheck();const u=s.length;let h=u;for(let g=0;gn+l){h=g-1;break}let d=0;for(let g=u-1;g>=0;g-=1)if(c(g){class e{constructor(){this.content=null,this.active=!1,this.tabPaneAnimated=!0,this.forceRender=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:12,hostBindings:function(e,t){2&e&&(r.Fb("tabindex",t.active?0:-1)("aria-hidden",!t.active),r.Bc("visibility",t.tabPaneAnimated?t.active?null:"hidden":null)("height",t.tabPaneAnimated?t.active?null:0:null)("overflow-y",t.tabPaneAnimated?t.active?null:"none":null)("display",t.tabPaneAnimated||t.active?null:"none"),r.Ib("ant-tabs-tabpane-active",t.active))},inputs:{content:"content",active:"active",tabPaneAnimated:"tabPaneAnimated",forceRender:"forceRender"},exportAs:["nzTabBody"],attrs:Af,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&r.Ec(0,Nf,2,1,"ng-container",0),2&e&&r.mc("ngIf",t.active||t.forceRender)},directives:[o.o,o.t],encapsulation:2,changeDetection:0}),e})();const tg=Math.pow(.995,20);let ng=(()=>{class e{constructor(e,t){this.ngZone=e,this.elementRef=t,this.lastWheelDirection=null,this.lastWheelTimestamp=0,this.lastTimestamp=0,this.lastTimeDiff=0,this.lastMixedWheel=0,this.lastWheelPrevent=!1,this.touchPosition=null,this.lastOffset=null,this.motion=-1,this.unsubscribe=()=>{},this.offsetChange=new r.n,this.tabScroll=new r.n,this.onTouchEnd=e=>{if(!this.touchPosition)return;const t=this.lastOffset,n=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,t){const i=t.x/n,r=t.y/n,o=Math.abs(i),s=Math.abs(r);if(Math.max(o,s)<.1)return;let a=i,c=r;this.motion=window.setInterval(()=>{Math.abs(a)<.01&&Math.abs(c)<.01?window.clearInterval(this.motion):(a*=tg,c*=tg,this.onOffset(20*a,20*c,e))},20)}},this.onTouchMove=e=>{if(!this.touchPosition)return;e.preventDefault();const{screenX:t,screenY:n}=e.touches[0],i=t-this.touchPosition.x,r=n-this.touchPosition.y;this.onOffset(i,r,e);const o=Date.now();this.lastTimeDiff=o-this.lastTimestamp,this.lastTimestamp=o,this.lastOffset={x:i,y:r},this.touchPosition={x:t,y:n}},this.onTouchStart=e=>{const{screenX:t,screenY:n}=e.touches[0];this.touchPosition={x:t,y:n},window.clearInterval(this.motion)},this.onWheel=e=>{const{deltaX:t,deltaY:n}=e;let i;const r=Math.abs(t),o=Math.abs(n);r===o?i="x"===this.lastWheelDirection?t:n:r>o?(i=t,this.lastWheelDirection="x"):(i=n,this.lastWheelDirection="y");const s=Date.now(),a=Math.abs(i);(s-this.lastWheelTimestamp>100||a-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-i,-i,e),(e.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=s,this.lastMixedWheel=a}}ngOnInit(){this.unsubscribe=this.ngZone.runOutsideAngular(()=>{const e=this.elementRef.nativeElement,t=Object(Wp.a)(e,"wheel"),n=Object(Wp.a)(e,"touchstart"),i=Object(Wp.a)(e,"touchmove"),r=Object(Wp.a)(e,"touchend"),o=new st.a;return o.add(this.subscribeWrap("wheel",t,this.onWheel)),o.add(this.subscribeWrap("touchstart",n,this.onTouchStart)),o.add(this.subscribeWrap("touchmove",i,this.onTouchMove)),o.add(this.subscribeWrap("touchend",r,this.onTouchEnd)),()=>{o.unsubscribe()}})}subscribeWrap(e,t,n){return t.subscribe(t=>{this.tabScroll.emit({type:e,event:t}),t.defaultPrevented||n(t)})}onOffset(e,t,n){this.ngZone.run(()=>{this.offsetChange.emit({x:e,y:t,event:n})})}ngOnDestroy(){this.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.B),r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}}),e})(),ig=(()=>{class e{constructor(){this.closeIcon="close"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:3,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,Lf,4,1,"ng-container",0),r.Gc(2,"\n ")),2&e&&(r.Eb(1),r.mc("nzStringTemplateOutlet",t.closeIcon))},directives:[tr.b,Ge.a],encapsulation:2}),e})();class rg{}let og=0,sg=(()=>{class e{constructor(e,t,n,i){this.nzConfigService=e,this.cdr=t,this.directionality=n,this.router=i,this._nzModuleName="tabs",this.nzTabPosition="top",this.nzCanDeactivate=null,this.nzAddIcon="plus",this.nzTabBarStyle=null,this.nzType="line",this.nzSize="default",this.nzAnimated=!0,this.nzTabBarGutter=void 0,this.nzHideAdd=!1,this.nzCentered=!1,this.nzHideAll=!1,this.nzLinkRouter=!1,this.nzLinkExact=!0,this.nzSelectChange=new r.n(!0),this.nzSelectedIndexChange=new r.n,this.nzTabListScroll=new r.n,this.nzClose=new r.n,this.nzAdd=new r.n,this.allTabs=new r.F,this.tabs=new r.F,this.dir="ltr",this.destroy$=new fe.a,this.indexToSelect=0,this.selectedIndex=null,this.tabLabelSubscription=st.a.EMPTY,this.tabsSubscription=st.a.EMPTY,this.canDeactivateSubscription=st.a.EMPTY,this.tabSetId=og++}get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(e){this.indexToSelect=Object(Ee.f)(e,null)}get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"horizontal"===this.position&&this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane)}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.tabsSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()}ngAfterContentInit(){Promise.resolve().then(()=>{this.setUpRouter()}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabsSubscription=this.tabs.changes.subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const e=this.tabs.toArray();for(let t=0;t{this.tabs.forEach((t,n)=>t.isActive=n===e),t||this.nzSelectedIndexChange.emit(e)})}this.tabs.forEach((t,n)=>{t.position=n-e,null==this.selectedIndex||0!==t.position||t.origin||(t.origin=e-this.selectedIndex)}),this.selectedIndex!==e&&(this.selectedIndex=e,this.cdr.markForCheck())}onClose(e,t){t.preventDefault(),t.stopPropagation(),this.nzClose.emit({index:e})}onAdd(){this.nzAdd.emit()}clampTabIndex(e){return Math.min(this.tabs.length-1,Math.max(e||0,0))}createChangeEvent(e){const t=new rg;return t.index=e,this.tabs&&this.tabs.length&&(t.tab=this.tabs.toArray()[e],this.tabs.forEach((t,n)=>{n!==e&&t.nzDeselect.emit()}),t.tab.nzSelect.emit()),t}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=Object(Gc.a)(...this.tabs.map(e=>e.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe(Object(we.a)(this.allTabs)).subscribe(e=>{this.tabs.reset(e.filter(e=>e.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(e,t){return"function"==typeof this.nzCanDeactivate?Object(_e.s)(this.nzCanDeactivate(e,t)).pipe(Object(f.a)(),Object(ge.a)(this.destroy$)):Object(v.a)(!0)}clickNavItem(e,t,n){e.nzDisabled||(e.nzClick.emit(),this.isRouterLinkClickEvent(t,n)||this.setSelectedIndex(t))}isRouterLinkClickEvent(e,t){var n,i;const r=t.target;return!!this.nzLinkRouter&&!!(null===(i=null===(n=this.tabs.toArray()[e])||void 0===n?void 0:n.linkDirective)||void 0===i?void 0:i.elementRef.nativeElement.contains(r))}contextmenuNavItem(e,t){e.nzDisabled||e.nzContextmenu.emit(t)}setSelectedIndex(e){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,e).subscribe(t=>{t&&(this.nzSelectedIndex=e,this.tabNavBarRef.focusIndex=e,this.cdr.markForCheck())})}getTabIndex(e,t){return e.nzDisabled?null:this.selectedIndex===t?0:-1}getTabContentId(e){return`nz-tabs-${this.tabSetId}-tab-${e}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${os.a} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);this.router.events.pipe(Object(ge.a)(this.destroy$),Object(p.a)(e=>e instanceof $p.a),Object(we.a)(!0),Yc(0)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router.navigated){const e=this.findShouldActiveTabIndex();e!==this.selectedIndex&&this.setSelectedIndex(e),this.nzHideAll=-1===e}}findShouldActiveTabIndex(){const e=this.tabs.toArray(),t=this.isLinkActive(this.router);return e.findIndex(e=>{const n=e.linkDirective;return!!n&&(t(n.routerLink)||t(n.routerLinkWithHref))})}isLinkActive(e){return t=>!!t&&e.isActive(t.urlTree,this.nzLinkExact)}getTabContentMarginValue(){return 100*-(this.nzSelectedIndex||0)}getTabContentMarginLeft(){return this.tabPaneAnimated&&"rtl"!==this.dir?this.getTabContentMarginValue()+"%":""}getTabContentMarginRight(){return this.tabPaneAnimated&&"rtl"===this.dir?this.getTabContentMarginValue()+"%":""}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Os.a),r.Qb(r.h),r.Qb(pe.b,8),r.Qb($p.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-tabset"]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,Kf,1),2&e){let e;r.sc(e=r.ec())&&(t.allTabs=e)}},viewQuery:function(e,t){if(1&e&&r.Kc(Zf,1),2&e){let e;r.sc(e=r.ec())&&(t.tabNavBarRef=e.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(e,t){2&e&&r.Ib("ant-tabs-card","card"===t.nzType||"editable-card"===t.nzType)("ant-tabs-editable","editable-card"===t.nzType)("ant-tabs-editable-card","editable-card"===t.nzType)("ant-tabs-centered",t.nzCentered)("ant-tabs-rtl","rtl"===t.dir)("ant-tabs-top","top"===t.nzTabPosition)("ant-tabs-bottom","bottom"===t.nzTabPosition)("ant-tabs-left","left"===t.nzTabPosition)("ant-tabs-right","right"===t.nzTabPosition)("ant-tabs-default","default"===t.nzSize)("ant-tabs-small","small"===t.nzSize)("ant-tabs-large","large"===t.nzSize)},inputs:{nzTabPosition:"nzTabPosition",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:"nzHideAdd",nzCentered:"nzCentered",nzHideAll:"nzHideAll",nzLinkRouter:"nzLinkRouter",nzLinkExact:"nzLinkExact",nzSelectedIndex:"nzSelectedIndex",nzTabBarExtraContent:"nzTabBarExtraContent"},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabset"],features:[r.Db([{provide:Qf,useExisting:e}])],decls:4,vars:16,consts:[[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked",4,"ngIf"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated",4,"ngFor","ngForOf"],[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked"],["class","ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled","click","contextmenu",4,"ngFor","ngForOf"],[1,"ant-tabs-tab",3,"click","contextmenu"],["role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-close-button","",3,"closeIcon","click",4,"ngIf"],["nz-tab-close-button","",3,"closeIcon","click"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated"]],template:function(e,t){1&e&&(r.Ec(0,Gf,2,9,"nz-tabs-nav",0),r.Wb(1,"div",1),r.Wb(2,"div",2),r.Ec(3,Bf,1,4,"div",3),r.Vb(),r.Vb()),2&e&&(r.mc("ngIf",t.tabs.length),r.Eb(2),r.Bc("margin-left",t.getTabContentMarginLeft())("margin-right",t.getTabContentMarginRight()),r.Ib("ant-tabs-content-top","top"===t.nzTabPosition)("ant-tabs-content-bottom","bottom"===t.nzTabPosition)("ant-tabs-content-left","left"===t.nzTabPosition)("ant-tabs-content-right","right"===t.nzTabPosition)("ant-tabs-content-animated",t.tabPaneAnimated),r.Eb(1),r.mc("ngForOf",t.tabs))},directives:[o.o,o.n,Zf,o.p,Xf,Et,tr.b,ig,eg],encapsulation:2}),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",String)],e.prototype,"nzType",void 0),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",String)],e.prototype,"nzSize",void 0),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzAnimated",void 0),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",Number)],e.prototype,"nzTabBarGutter",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzHideAdd",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzCentered",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzHideAll",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzLinkRouter",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzLinkExact",void 0),e})(),ag=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,ht,Ge.b,tr.a,be.b,Tt,Sl.b,Sr.b]]}),e})();n("9Gwe"),n("pR72"),n("+YfQ");const cg=["editor"],lg=/^[a-zA-Z0-9_\"\']$/;let ug=(()=>{class e{constructor(){this.variables="",this.variableToType={},this.tabSize=4,this.variablesChange=new r.n,this.variableEditorConfig={mode:"graphql-variables",lineWrapping:!0,lineNumbers:!0,foldGutter:!0,autoRefresh:!0,dragDrop:!1,tabSize:this.tabSize,indentUnit:this.tabSize,matchBrackets:!0,autoCloseBrackets:!0,keyMap:"sublime",extraKeys:{"Ctrl-Enter":e=>{},"Cmd-Enter":e=>{},"Cmd-Space":e=>e.showHint({completeSingle:!1}),"Ctrl-Space":e=>e.showHint({completeSingle:!1}),"Alt-Space":e=>e.showHint({completeSingle:!1})},theme:"default variable-editor mousetrap",gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],lint:{},hintOptions:{completeSingle:!1}}}ngAfterViewInit(){var e;(null===(e=this.editor)||void 0===e?void 0:e.codeMirror)&&this.editor.codeMirror.on("keyup",(e,t)=>this.onKeyUp(e,t))}ngOnChanges(e){var t,n;(null===(t=null==e?void 0:e.variableToType)||void 0===t?void 0:t.currentValue)&&this.updateVariablesToType(e.variableToType.currentValue),(null===(n=null==e?void 0:e.tabSize)||void 0===n?void 0:n.currentValue)&&(this.variableEditorConfig.tabSize=this.tabSize,this.variableEditorConfig.indentUnit=this.tabSize)}ngDoCheck(){var e;rs(null===(e=this.editor)||void 0===e?void 0:e.codeMirror)}onKeyUp(e,t){lg.test(t.key)&&this.editor.codeMirror.execCommand("autocomplete")}updateVariablesToType(e){e&&(this.variableEditorConfig.lint.variableToType=e,this.variableEditorConfig.hintOptions.variableToType=e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-variables-editor"]],viewQuery:function(e,t){if(1&e&&r.Kc(cg,3),2&e){let e;r.sc(e=r.ec())&&(t.editor=e.first)}},inputs:{variables:"variables",variableToType:"variableToType",tabSize:"tabSize"},outputs:{variablesChange:"variablesChange"},features:[r.Cb],decls:3,vars:2,consts:[[1,"set-variable-textarea","mousetrap",3,"options","ngModel","ngModelChange"],["editor",""]],template:function(e,t){1&e&&(r.Wb(0,"ngx-codemirror",0,1),r.dc("ngModelChange",function(e){return t.variablesChange.emit(e)}),r.Vb(),r.Gc(2,"\n")),2&e&&r.mc("options",t.variableEditorConfig)("ngModel",t.variables)},directives:[Ca,ya.l,ya.o],styles:[""]}),e})();n("PJhV");const hg=["*"],dg=["inputElement"],pg=["nz-checkbox",""];let fg=(()=>{class e{constructor(e,t){this.nzOnChange=new r.n,this.checkboxList=[],e.addClass(t.nativeElement,"ant-checkbox-group")}addCheckbox(e){this.checkboxList.push(e)}removeCheckbox(e){this.checkboxList.splice(this.checkboxList.indexOf(e),1)}onChange(){const e=this.checkboxList.filter(e=>e.nzChecked).map(e=>e.nzValue);this.nzOnChange.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.G),r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-checkbox-wrapper"]],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:hg,decls:1,vars:0,template:function(e,t){1&e&&(r.lc(),r.kc(0))},encapsulation:2,changeDetection:0}),e})(),gg=(()=>{class e{constructor(e,t,n,i,o){this.elementRef=e,this.nzCheckboxWrapperComponent=t,this.cdr=n,this.focusMonitor=i,this.directionality=o,this.dir="ltr",this.destroy$=new fe.a,this.onChange=()=>{},this.onTouched=()=>{},this.nzCheckedChange=new r.n,this.nzValue=null,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzChecked=!1,this.elementRef.nativeElement.classList.add("ant-checkbox-wrapper")}hostClick(e){e.preventDefault(),this.focus(),this.innerCheckedChange(!this.nzChecked)}innerCheckedChange(e){this.nzDisabled||(this.nzChecked=e,this.onChange(this.nzChecked),this.nzCheckedChange.emit(this.nzChecked),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.onChange())}writeValue(e){this.nzChecked=e,this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=e,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnInit(){var e;this.focusMonitor.monitor(this.elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>this.onTouched())}),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.addCheckbox(this),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.removeCheckbox(this),this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(fg,8),r.Qb(r.h),r.Qb(Ot),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["","nz-checkbox",""]],viewQuery:function(e,t){if(1&e&&r.Kc(dg,3),2&e){let e;r.sc(e=r.ec())&&(t.inputElement=e.first)}},hostVars:4,hostBindings:function(e,t){1&e&&r.dc("click",function(e){return t.hostClick(e)}),2&e&&r.Ib("ant-checkbox-wrapper-checked",t.nzChecked)("ant-checkbox-rtl","rtl"===t.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzChecked:"nzChecked"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[r.Db([{provide:ya.j,useExisting:Object(r.W)(()=>e),multi:!0}])],attrs:pg,ngContentSelectors:hg,decls:6,vars:10,consts:[[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"checked","ngModel","disabled","ngModelChange","click"],["inputElement",""],[1,"ant-checkbox-inner"]],template:function(e,t){1&e&&(r.lc(),r.Wb(0,"span",0),r.Wb(1,"input",1,2),r.dc("ngModelChange",function(e){return t.innerCheckedChange(e)})("click",function(e){return e.stopPropagation()}),r.Vb(),r.Rb(3,"span",3),r.Vb(),r.Wb(4,"span"),r.kc(5),r.Vb()),2&e&&(r.Ib("ant-checkbox-checked",t.nzChecked&&!t.nzIndeterminate)("ant-checkbox-disabled",t.nzDisabled)("ant-checkbox-indeterminate",t.nzIndeterminate),r.Eb(1),r.mc("checked",t.nzChecked)("ngModel",t.nzChecked)("disabled",t.nzDisabled),r.Fb("autofocus",t.nzAutoFocus?"autofocus":null))},directives:[ya.c,ya.l,ya.o],encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzIndeterminate",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzChecked",void 0),e})(),mg=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,ya.i,Tt]]}),e})();const bg=["editor"],vg=/^[a-zA-Z0-9_]$/;let yg=(()=>{class e{constructor(){this.preRequest={},this.preRequestScriptChange=new r.n,this.preRequestEnabledChange=new r.n,this.preRequestEditorConfig={mode:"javascript",lineWrapping:!0,lineNumbers:!0,foldGutter:!0,autoRefresh:!0,dragDrop:!1,autoCloseBrackets:!0,keyMap:"sublime",theme:"default request-script-editor mousetrap",gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{"Ctrl-Space":"autocomplete","Cmd-/":e=>e.execCommand("toggleComment"),"Ctrl-/":e=>e.execCommand("toggleComment")},hintOptions:{completeSingle:!1,globalScope:this.createGlobalScope()}}}ngAfterViewInit(){var e;(null===(e=this.editor)||void 0===e?void 0:e.codeMirror)&&this.editor.codeMirror.on("keyup",(e,t)=>this.onKeyUp(e,t))}ngOnChanges(){}ngDoCheck(){rs(this.editor&&this.editor.codeMirror)}onKeyUp(e,t){vg.test(t.key)&&this.editor.codeMirror.execCommand("autocomplete")}createGlobalScope(){return JSON.parse(JSON.stringify({altair:{helpers:{getEnvironment:null,setEnvironment:null,getCookie:null,request:null},importModule:null}}),(e,t)=>t&&"object"==typeof t&&!Array.isArray(t)?Object.assign(Object.create(null),t):t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-pre-request-editor"]],viewQuery:function(e,t){if(1&e&&r.Kc(bg,3),2&e){let e;r.sc(e=r.ec())&&(t.editor=e.first)}},inputs:{preRequest:"preRequest"},outputs:{preRequestScriptChange:"preRequestScriptChange",preRequestEnabledChange:"preRequestEnabledChange"},features:[r.Cb],decls:22,vars:9,consts:[[1,"pre-request-editor"],[1,"pre-request-editor__toggle-wrapper","spacer--small"],["nz-checkbox","",3,"ngModel","ngModelChange"],[1,"pre-request-textarea","mousetrap",3,"options","ngModel","ngModelChange"],["editor",""],["href","https://altair.sirmuel.design/docs/features/prerequest-scripts.html","target","_blank","aria-label","learn more"],["name","info"]],template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Gc(1,"\n "),r.Wb(2,"div",1),r.Gc(3,"\n "),r.Wb(4,"label",2),r.dc("ngModelChange",function(e){return t.preRequestEnabledChange.next(e)}),r.Gc(5),r.hc(6,"translate"),r.Vb(),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n "),r.Wb(9,"ngx-codemirror",3,4),r.dc("ngModelChange",function(e){return t.preRequestScriptChange.emit(e)}),r.Vb(),r.Gc(11,"\n \n "),r.Wb(12,"small"),r.Gc(13,"\n "),r.Wb(14,"a",5),r.Gc(15,"\n "),r.Rb(16,"app-icon",6),r.Gc(17),r.hc(18,"translate"),r.Vb(),r.Gc(19,"\n "),r.Vb(),r.Gc(20,"\n"),r.Vb(),r.Gc(21,"\n")),2&e&&(r.Eb(4),r.mc("ngModel",t.preRequest.enabled),r.Eb(1),r.Hc(r.ic(6,5,"PRE_REQUEST_ENABLE_TEXT")),r.Eb(4),r.mc("options",t.preRequestEditorConfig)("ngModel",t.preRequest.script),r.Eb(8),r.Ic("\n ",r.ic(18,7,"LEARN_MORE_TEXT"),"\n "))},directives:[gg,ya.l,ya.o,Ca,Xi.a],pipes:[y.c],encapsulation:2}),e})();const wg=["editor"],_g=/^[a-zA-Z0-9_]$/;let Og=(()=>{class e{constructor(){this.postRequest={},this.postRequestScriptChange=new r.n,this.postRequestEnabledChange=new r.n,this.postRequestEditorConfig={mode:"javascript",lineWrapping:!0,lineNumbers:!0,foldGutter:!0,autoRefresh:!0,dragDrop:!1,autoCloseBrackets:!0,keyMap:"sublime",theme:"default request-script-editor mousetrap",gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{"Ctrl-Space":"autocomplete","Cmd-/":e=>e.execCommand("toggleComment"),"Ctrl-/":e=>e.execCommand("toggleComment")},hintOptions:{completeSingle:!1,globalScope:this.createGlobalScope()}}}ngAfterViewInit(){var e;(null===(e=this.editor)||void 0===e?void 0:e.codeMirror)&&this.editor.codeMirror.on("keyup",(e,t)=>this.onKeyUp(e,t))}ngOnChanges(){}ngDoCheck(){rs(this.editor&&this.editor.codeMirror)}onKeyUp(e,t){_g.test(t.key)&&this.editor.codeMirror.execCommand("autocomplete")}createGlobalScope(){return JSON.parse(JSON.stringify({altair:{helpers:{getEnvironment:null,setEnvironment:null,getCookie:null,request:null},importModule:null,response:{requestType:null,responseTime:null,statusCode:null,body:null,headers:null}}}),(e,t)=>t&&"object"==typeof t&&!Array.isArray(t)?Object.assign(Object.create(null),t):t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-post-request-editor"]],viewQuery:function(e,t){if(1&e&&r.Kc(wg,3),2&e){let e;r.sc(e=r.ec())&&(t.editor=e.first)}},inputs:{postRequest:"postRequest"},outputs:{postRequestScriptChange:"postRequestScriptChange",postRequestEnabledChange:"postRequestEnabledChange"},features:[r.Cb],decls:22,vars:9,consts:[[1,"post-request-editor"],[1,"post-request-editor__toggle-wrapper","spacer--small"],["nz-checkbox","",3,"ngModel","ngModelChange"],[1,"post-request-textarea","mousetrap",3,"options","ngModel","ngModelChange"],["editor",""],["href","https://altair.sirmuel.design/docs/features/prerequest-scripts.html","target","_blank","aria-label","learn more"],["name","info"]],template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Gc(1,"\n "),r.Wb(2,"div",1),r.Gc(3,"\n "),r.Wb(4,"label",2),r.dc("ngModelChange",function(e){return t.postRequestEnabledChange.next(e)}),r.Gc(5),r.hc(6,"translate"),r.Vb(),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n "),r.Wb(9,"ngx-codemirror",3,4),r.dc("ngModelChange",function(e){return t.postRequestScriptChange.emit(e)}),r.Vb(),r.Gc(11,"\n \n "),r.Wb(12,"small"),r.Gc(13,"\n "),r.Wb(14,"a",5),r.Gc(15,"\n "),r.Rb(16,"app-icon",6),r.Gc(17),r.hc(18,"translate"),r.Vb(),r.Gc(19,"\n "),r.Vb(),r.Gc(20,"\n"),r.Vb(),r.Gc(21,"\n")),2&e&&(r.Eb(4),r.mc("ngModel",null==t.postRequest?null:t.postRequest.enabled),r.Eb(1),r.Hc(r.ic(6,5,"REQUEST_SCRIPT_ENABLE_TEXT")),r.Eb(4),r.mc("options",t.postRequestEditorConfig)("ngModel",null==t.postRequest?null:t.postRequest.script),r.Eb(8),r.Ic("\n ",r.ic(18,7,"LEARN_MORE_TEXT"),"\n "))},directives:[gg,ya.l,ya.o,Ca,Xi.a],pipes:[y.c],encapsulation:2}),e})();var Cg=n("/bpi");const Eg=["fileEl"];function Sg(e,t){1&e&&(r.Wb(0,"span"),r.Gc(1,"1"),r.Vb())}function Tg(e,t){1&e&&(r.Wb(0,"span"),r.Gc(1,"*"),r.Vb())}const xg=function(e,t){return{"variables-file-item--invalid":e,"variables-file-item--warning":t}},kg=function(e){return{"variables-file-item-switch--enabled":e}};let Ig=(()=>{class e{constructor(){this.fileVariableNameChange=new r.n,this.fileVariableDataChange=new r.n,this.fileVariableIsMultipleChange=new r.n,this.deleteFileVariableChange=new r.n,this.validFileData=[],this.invalidFileData=!1,this.showWarning=!1,this.filesText=""}ngOnInit(){}ngOnChanges(e){var t,n,i,r,o,s,a;(null===(i=null===(n=null===(t=null==e?void 0:e.fileVariable)||void 0===t?void 0:t.currentValue)||void 0===n?void 0:n.data)||void 0===i?void 0:i.length)&&(this.validFileData=e.fileVariable.currentValue.data.filter(e=>e instanceof File),this.invalidFileData=(null===(o=null===(r=this.fileVariable)||void 0===r?void 0:r.data)||void 0===o?void 0:o.length)>this.validFileData.length,this.showWarning=Boolean(!(null===(s=this.fileVariable)||void 0===s?void 0:s.isMultiple)&&(null===(a=this.fileVariable.data)||void 0===a?void 0:a.length)>1),this.filesText=this.invalidFileData?"Invalid file data. Select the file again.":this.showWarning?"In single mode, only the first file will be used.":this.validFileData.length?this.validFileData.map(e=>e.name).join(", "):"No files selected",this.filesText=Object(Ha.j)(this.filesText))}onSelectFiles(){const e=this.fileEl.nativeElement.files;if(e)return this.fileVariableDataChange.emit(Array.from(e))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-variable-file-item"]],viewQuery:function(e,t){if(1&e&&r.Kc(Eg,3),2&e){let e;r.sc(e=r.ec())&&(t.fileEl=e.first)}},inputs:{fileVariable:"fileVariable"},outputs:{fileVariableNameChange:"fileVariableNameChange",fileVariableDataChange:"fileVariableDataChange",fileVariableIsMultipleChange:"fileVariableIsMultipleChange",deleteFileVariableChange:"deleteFileVariableChange"},features:[r.Cb],decls:34,vars:20,consts:[[1,"variables-file-item",3,"ngClass"],[1,"variables-file-item-name-input-wrapper"],[1,"variables-file-item-switch",3,"ngClass","popper","click"],[4,"ngIf"],["type","text","data-tid","file_name",1,"variables-file-item-name-input",3,"placeholder","ngModel","ngModelChange"],[1,"variables-file-item-input-wrapper"],["type","file",1,"variables-file-item-input",3,"change"],["fileEl",""],[1,"variables-file-item-selected-total",3,"popper"],[1,"app-button","variables-file-item-button",3,"click"],["name","paperclip"],[1,"variables-file-item-input-delete",3,"click"]],template:function(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",0),r.Gc(1,"\n "),r.Wb(2,"div",1),r.Gc(3,"\n "),r.Wb(4,"span",2),r.dc("click",function(){return t.fileVariableIsMultipleChange.emit(!(null!=t.fileVariable&&t.fileVariable.isMultiple))}),r.Gc(5,"\n "),r.Ec(6,Sg,2,0,"span",3),r.Gc(7,"\n "),r.Ec(8,Tg,2,0,"span",3),r.Gc(9,"\n "),r.Vb(),r.Gc(10,"\n "),r.Wb(11,"input",4),r.dc("ngModelChange",function(e){return t.fileVariableNameChange.emit(e)}),r.hc(12,"translate"),r.Vb(),r.Gc(13,"\n "),r.Vb(),r.Gc(14,"\n "),r.Wb(15,"div",5),r.Gc(16,"\n "),r.Wb(17,"input",6,7),r.dc("change",function(){return t.onSelectFiles()}),r.Vb(),r.Gc(19,"\n "),r.Wb(20,"span",8),r.Gc(21),r.Vb(),r.Gc(22,"\n "),r.Wb(23,"button",9),r.dc("click",function(){return r.wc(e),r.tc(18).click()}),r.Gc(24,"\n "),r.Rb(25,"app-icon",10),r.Gc(26),r.hc(27,"translate"),r.Vb(),r.Gc(28,"\n "),r.Vb(),r.Gc(29,"\n "),r.Wb(30,"div",11),r.dc("click",function(){return t.deleteFileVariableChange.emit()}),r.Gc(31,"\xd7"),r.Vb(),r.Gc(32,"\n"),r.Vb(),r.Gc(33,"\n")}2&e&&(r.mc("ngClass",r.qc(15,xg,t.invalidFileData,t.showWarning)),r.Eb(4),r.mc("ngClass",r.pc(18,kg,null==t.fileVariable?null:t.fileVariable.isMultiple))("popper","Toggle single/multiple file mode"),r.Eb(2),r.mc("ngIf",!(null!=t.fileVariable&&t.fileVariable.isMultiple)),r.Eb(2),r.mc("ngIf",null==t.fileVariable?null:t.fileVariable.isMultiple),r.Eb(3),r.nc("placeholder",r.ic(12,11,"FILE_NAME_PLACEHOLDER")),r.mc("ngModel",null==t.fileVariable?null:t.fileVariable.name),r.Eb(6),r.Fb("multiple",null!=t.fileVariable&&t.fileVariable.isMultiple?"":null),r.Eb(3),r.mc("popper",t.filesText),r.Eb(1),r.Ic("\n ",t.validFileData.length," file(s)\n "),r.Eb(5),r.Ic("\n ",r.ic(27,13,"FILES_SELECT_FILES"),"\n "))},directives:[o.l,Mo,o.o,ya.e,ya.l,ya.o,Xi.a],pipes:[y.c],encapsulation:2}),e})();const Dg=["editor"];function zg(e,t){if(1&e){const e=r.Xb();r.Wb(0,"app-variable-file-item",19),r.dc("fileVariableNameChange",function(n){r.wc(e);const i=t.index;return r.gc().fileVariableNameChange.emit({index:i,name:n})})("fileVariableDataChange",function(n){r.wc(e);const i=t.index;return r.gc().fileVariableDataChange.emit({index:i,fileData:n})})("fileVariableIsMultipleChange",function(n){r.wc(e);const i=t.index;return r.gc().fileVariableIsMultipleChange.emit({index:i,isMultiple:n})})("deleteFileVariableChange",function(){r.wc(e);const n=t.index;return r.gc().deleteFileVariableChange.emit({index:n})}),r.Vb()}2&e&&r.mc("fileVariable",t.$implicit)}const jg=function(e){return{"show-variables":e}},Ag=function(e){return{hide:e}},Rg=n("i1zs"),Ng=/^[a-zA-Z0-9_@(]$/;let Lg=(()=>{class e{constructor(e,t,n){this.gqlService=e,this.notifyService=t,this.zone=n,this.query="",this.tabSize=2,this.addQueryDepthLimit=2,this.showVariableDialog=!1,this.preRequest={},this.preRequestScriptChange=new r.n,this.preRequestEnabledChange=new r.n,this.postRequest={},this.postRequestScriptChange=new r.n,this.postRequestEnabledChange=new r.n,this.sendRequest=new r.n,this.queryChange=new r.n,this.variablesChange=new r.n,this.toggleVariableDialog=new r.n,this.addFileVariableChange=new r.n,this.fileVariableNameChange=new r.n,this.fileVariableIsMultipleChange=new r.n,this.fileVariableDataChange=new r.n,this.deleteFileVariableChange=new r.n,this.queryEditorStateChange=new r.n,this.showTokenInDocsChange=new r.n,this.selectedIndex=0,this.editorConfig={mode:"graphql",lineWrapping:!0,lineNumbers:!0,foldGutter:!0,tabSize:this.tabSize,indentUnit:this.tabSize,extraKeys:{"Cmd-Space":e=>e.showHint({completeSingle:!0}),"Ctrl-Space":e=>e.showHint({completeSingle:!0}),"Alt-Space":e=>e.showHint({completeSingle:!0}),"Cmd-/":e=>e.execCommand("toggleComment"),"Ctrl-/":e=>e.execCommand("toggleComment"),"Alt-F":"findPersistent","Ctrl-F":"findPersistent","Ctrl-D":e=>this.zone.run(()=>this.onShowInDocsByToken(e)),"Shift-Ctrl-Enter":e=>this.zone.run(()=>this.onFillFields(e)),"Ctrl-Enter":e=>{},"Cmd-Enter":e=>{}},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,autoRefresh:!0,dragDrop:!1,lint:{},hintOptions:{completeSingle:!1,render:(e,t,n)=>{e.classList.add("query-editor__autocomplete-item"),e.innerHTML=`\n ${n.text}\n ${n.typeDetail}\n `.trim().replace(/ +/g," ")}},info:{onClick:e=>this.zone.run(()=>this.onShowInDocsByReference(e)),render(){}},jump:{onClick:e=>this.zone.run(()=>this.onShowInDocsByReference(e))}},this.widgets=[],this.updateWidgetTimeout=null}ngOnInit(){this.gqlSchema&&(this.editorConfig.lint={},this.editorConfig.tabSize=this.tabSize||2,this.editorConfig.indentUnit=this.tabSize||2,this.updateEditorSchema(this.gqlSchema))}ngAfterViewInit(){var e;(null===(e=this.editor)||void 0===e?void 0:e.codeMirror)&&(this.editor.codeMirror.on("keyup",(e,t)=>this.onKeyUp(e,t)),this.editor.codeMirror.on("focus",(e,t)=>this.onEditorStateChange(e,t)),this.editor.codeMirror.on("blur",(e,t)=>this.onEditorStateChange(e,t)),this.editor.codeMirror.on("cursorActivity",(e,t)=>this.onEditorStateChange(e,t)),this.editor.codeMirror.on("hasCompletion",(e,t)=>this.onHasCompletion(e,t)),this.editor.codeMirror.on("change",(e,t)=>this.updateWidgets(e,t)))}ngOnChanges(e){var t,n,i;if(null===(t=null==e?void 0:e.gqlSchema)||void 0===t?void 0:t.currentValue){this.updateEditorSchema(e.gqlSchema.currentValue);const t=this.gqlService.validateSchema(e.gqlSchema.currentValue);if(t.length){const e=t.map(e=>"

    "+e.message).join("");this.notifyService.warning(`\n The schema definition is invalid according to the GraphQL specs.\n Linting and other functionalities would be unavailable.\n ${e}\n `,"Altair",{disableTimeOut:!0})}}(null===(n=null==e?void 0:e.tabSize)||void 0===n?void 0:n.currentValue)&&(this.editorConfig.tabSize=this.tabSize,this.editorConfig.indentUnit=this.tabSize),(null===(i=null==e?void 0:e.query)||void 0===i?void 0:i.currentValue)&&(this.selectedIndex=0)}ngDoCheck(){rs(this.editor&&this.editor.codeMirror)}onKeyUp(e,t){Ng.test(t.key)&&this.editor.codeMirror.execCommand("autocomplete")}onEditorStateChange(e,t){const n=e.getDoc().getCursor(),i=e.getDoc().indexFromPos(n),r=e.hasFocus();this.queryEditorStateChange.next({isFocused:r,cursorIndex:i})}onShowInDocsByToken(e){const t=e.getDoc().getCursor(),n=e.getTokenAt(t),i=Rg(this.gqlSchema,n.state);i.fieldDef&&i.parentType?this.showTokenInDocsChange.next({view:"field",parentType:i.parentType.inspect(),name:i.fieldDef.name}):i.type&&this.showTokenInDocsChange.next({view:"type",name:i.type.inspect()}),this.editor.codeMirror.getInputField().blur()}onShowInDocsByReference(e){e.field&&e.type?this.showTokenInDocsChange.next({view:"field",parentType:e.type.inspect(),name:e.field.name}):e.type&&this.showTokenInDocsChange.next({view:"type",name:e.type.inspect()})}onFillFields(e){const t=e.getDoc().getCursor(),n=e.getTokenAt(t),i=this.gqlSchema;if(!i)return;const r=this.gqlService.fillAllFields(i,e.getValue(),t,n,{maxDepth:this.addQueryDepthLimit});this.queryChange.next(r.result);const o=setTimeout(()=>{e.getDoc().setCursor(t),clearTimeout(o)},1)}onHasCompletion(e,t){((e,t,i={})=>{const r=n("VrN/"),o=i.onHintInformationRender,s=i.onClickHintInformation;let a,c,l;r.on(t,"select",(e,t)=>{let n;if(s&&(n=()=>s(e.type)),!a){const e=t.parentNode;if(e){let t;a=document.createElement("div"),a.className="CodeMirror-hint-information",e.appendChild(a),c=document.createElement("div"),c.className="CodeMirror-hint-deprecation",e.appendChild(c),l=document.createElement("div"),l.className="CodeMirror-hint-fill-all-fields",l.innerHTML='\n Fill all fields\n Ctrl+Shift+Enter\n '.trim().replace(/ +/g," "),e.appendChild(l),e.addEventListener("DOMNodeRemoved",t=i=>{i.target===e&&(a&&n&&a.removeEventListener("click",n),e.removeEventListener("DOMNodeRemoved",t),a=null,c=null,l=null,t=void 0)})}}const i=function(e){let t="Self descriptive.",n=!1;return e.description&&(t=e.description),e.type&&e.type.description&&(t=e.type.description),t.length>70&&(n=!0),Pp()(`${t}`.substring(0,70)+(n?"...":""))}(e),r=function(e){return e.type?''+Vp(e.type)+"":""}(e);if(a&&(a.innerHTML='
    '+("

    "===i.slice(0,3)?"

    "+r+i.slice(3):r+i)+"

    "),e.isDeprecated){const t=e.deprecationReason?Pp()(e.deprecationReason):"";c&&(c.innerHTML='Deprecated'+t,c.style.display="block")}else c&&(c.style.display="none");n&&a&&a.addEventListener("click",n),o&&o(a)})})(0,t,{onClickHintInformation:e=>{if(this.gqlSchema){const t=this.gqlSchema.getType(e);t&&this.showTokenInDocsChange.next({view:"type",name:t.inspect()})}}})}updateWidgets(e,t){this.zone.runOutsideAngular(()=>{const t=[];clearTimeout(this.updateWidgetTimeout),this.updateWidgetTimeout=setTimeout(()=>{try{const n=this.gqlService.parseQuery(e.getValue());n.definitions.forEach(e=>{"OperationDefinition"===e.kind&&(e.name&&e.name.value||1===n.definitions.length)&&(M.a.log("WIDGET",e),t.push({operation:e.operation,location:e.loc,operationName:e.name?e.name.value:""}))}),e.operation(()=>{this.widgets.forEach(t=>{e.removeLineWidget(t),t.clear()}),this.widgets=[],t.forEach(({operationName:t,operation:n,location:i})=>{const r=document.createElement("div");r.innerHTML=`► (Run ${n}${t?` ${t}`:""})`,r.className="query-editor__line-widget",r.onclick=()=>{this.zone.run(()=>this.sendRequest.next({operationName:t})),M.a.log("WIDGET listens")},this.widgets.push(e.addLineWidget(i.startToken.line-1,r,{above:!0}))})})}catch(n){}finally{clearTimeout(this.updateWidgetTimeout)}},300)})}updateEditorSchema(e){e&&(M.a.log("Updating schema...",e),this.editorConfig.lint.schema=e,this.editorConfig.hintOptions.schema=e,this.editorConfig.info.schema=e,this.editorConfig.jump.schema=e)}onResize(e){this.resizeFactor=e}trackByIndex(e){return e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(R.GqlService),r.Qb(R.NotifyService),r.Qb(r.B))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-query-editor"]],viewQuery:function(e,t){if(1&e&&r.Kc(Dg,3),2&e){let e;r.sc(e=r.ec())&&(t.editor=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&r.Bc("flex-grow",t.resizeFactor)},inputs:{query:"query",gqlSchema:"gqlSchema",tabSize:"tabSize",addQueryDepthLimit:"addQueryDepthLimit",variables:"variables",showVariableDialog:"showVariableDialog",variableToType:"variableToType",preRequest:"preRequest",postRequest:"postRequest"},outputs:{preRequestScriptChange:"preRequestScriptChange",preRequestEnabledChange:"preRequestEnabledChange",postRequestScriptChange:"postRequestScriptChange",postRequestEnabledChange:"postRequestEnabledChange",sendRequest:"sendRequest",queryChange:"queryChange",variablesChange:"variablesChange",toggleVariableDialog:"toggleVariableDialog",addFileVariableChange:"addFileVariableChange",fileVariableNameChange:"fileVariableNameChange",fileVariableIsMultipleChange:"fileVariableIsMultipleChange",fileVariableDataChange:"fileVariableDataChange",deleteFileVariableChange:"deleteFileVariableChange",queryEditorStateChange:"queryEditorStateChange",showTokenInDocsChange:"showTokenInDocsChange"},features:[r.Cb],decls:60,vars:36,consts:[["nzSize","small","nzTabBarGutter","16",1,"main-view-tabs",3,"nzAnimated","nzSelectedIndex","nzSelectedIndexChange"],[3,"nzTitle"],[1,"query-editor-container"],["ngDefaultControl","",1,"query-editor__input",3,"ngModel","options","ngModelChange"],["editor",""],[1,"variables-editor-container",3,"ngClass"],["track-id","toggle_variables",1,"variables-editor--title",3,"click"],[1,"variables-editor-inner",3,"ngClass"],[1,"variables-editor-input-container"],[3,"variables","variableToType","tabSize","variablesChange"],[1,"variables-files-container"],["track-id","add_file_variable",1,"variables-add-files-button",3,"click"],["href","https://sirmuel.design/working-with-file-uploads-using-altair-graphql-d2f86dc8261f","target","_blank","rel","noopener"],["name","info"],[1,"variables-files-list"],[3,"fileVariable","fileVariableNameChange","fileVariableDataChange","fileVariableIsMultipleChange","deleteFileVariableChange",4,"ngFor","ngForOf","ngForTrackBy"],[3,"preRequest","preRequestScriptChange","preRequestEnabledChange"],[3,"postRequest","postRequestScriptChange","postRequestEnabledChange"],[3,"resizeDirection","resizeChange"],[3,"fileVariable","fileVariableNameChange","fileVariableDataChange","fileVariableIsMultipleChange","deleteFileVariableChange"]],template:function(e,t){1&e&&(r.Wb(0,"nz-tabset",0),r.dc("nzSelectedIndexChange",function(e){return t.selectedIndex=e}),r.Gc(1,"\n "),r.Wb(2,"nz-tab",1),r.hc(3,"translate"),r.Gc(4,"\n "),r.Wb(5,"div",2),r.Gc(6,"\n "),r.Wb(7,"ngx-codemirror",3,4),r.dc("ngModelChange",function(e){return t.queryChange.emit(e)}),r.Vb(),r.Gc(9,"\n "),r.Vb(),r.Gc(10,"\n "),r.Wb(11,"div",5),r.Gc(12,"\n "),r.Wb(13,"div",6),r.dc("click",function(e){return t.toggleVariableDialog.next(e)}),r.Gc(14),r.hc(15,"translate"),r.Vb(),r.Gc(16,"\n "),r.Wb(17,"div",7),r.Gc(18,"\n "),r.Wb(19,"div",8),r.Gc(20,"\n "),r.Wb(21,"app-variables-editor",9),r.dc("variablesChange",function(e){return t.variablesChange.emit(e)}),r.Vb(),r.Gc(22,"\n "),r.Vb(),r.Gc(23,"\n "),r.Wb(24,"div",10),r.Gc(25,"\n "),r.Wb(26,"button",11),r.dc("click",function(){return t.addFileVariableChange.next()}),r.Gc(27),r.hc(28,"translate"),r.Vb(),r.Gc(29,"\n\n "),r.Wb(30,"a",12),r.Gc(31,"\n "),r.Rb(32,"app-icon",13),r.Gc(33),r.hc(34,"translate"),r.Vb(),r.Gc(35,"\n\n "),r.Wb(36,"div",14),r.Gc(37,"\n "),r.Ec(38,zg,1,1,"app-variable-file-item",15),r.Gc(39,"\n "),r.Vb(),r.Gc(40,"\n "),r.Vb(),r.Gc(41,"\n "),r.Vb(),r.Gc(42,"\n "),r.Vb(),r.Gc(43,"\n "),r.Vb(),r.Gc(44,"\n "),r.Wb(45,"nz-tab",1),r.hc(46,"translate"),r.Gc(47,"\n "),r.Wb(48,"app-pre-request-editor",16),r.dc("preRequestScriptChange",function(e){return t.preRequestScriptChange.emit(e)})("preRequestEnabledChange",function(e){return t.preRequestEnabledChange.emit(e)}),r.Vb(),r.Gc(49,"\n "),r.Vb(),r.Gc(50,"\n "),r.Wb(51,"nz-tab",1),r.hc(52,"translate"),r.Gc(53,"\n "),r.Wb(54,"app-post-request-editor",17),r.dc("postRequestScriptChange",function(e){return t.postRequestScriptChange.emit(e)})("postRequestEnabledChange",function(e){return t.postRequestEnabledChange.emit(e)}),r.Vb(),r.Gc(55,"\n "),r.Vb(),r.Gc(56,"\n"),r.Vb(),r.Gc(57,"\n"),r.Wb(58,"app-flex-resizer",18),r.dc("resizeChange",function(e){return t.onResize(e)}),r.Vb(),r.Gc(59,"\n")),2&e&&(r.mc("nzAnimated",!1)("nzSelectedIndex",t.selectedIndex),r.Eb(2),r.mc("nzTitle",r.ic(3,20,"QUERY_TAB")),r.Eb(5),r.mc("ngModel",t.query)("options",t.editorConfig),r.Eb(4),r.mc("ngClass",r.pc(32,jg,t.showVariableDialog)),r.Eb(3),r.Hc(r.ic(15,22,"VARIABLES_TEXT")),r.Eb(3),r.mc("ngClass",r.pc(34,Ag,!t.showVariableDialog)),r.Eb(4),r.mc("variables",null==t.variables?null:t.variables.variables)("variableToType",t.variableToType)("tabSize",t.tabSize),r.Eb(6),r.Hc(r.ic(28,24,"ADD_FILES_TEXT")),r.Eb(6),r.Ic("\n ",r.ic(34,26,"LEARN_MORE_TEXT"),"\n "),r.Eb(5),r.mc("ngForOf",null==t.variables?null:t.variables.files)("ngForTrackBy",t.trackByIndex),r.Eb(7),r.mc("nzTitle",r.ic(46,28,"PRE_REQUEST_TAB")),r.Eb(3),r.mc("preRequest",t.preRequest),r.Eb(3),r.mc("nzTitle",r.ic(52,30,"POST_REQUEST_TAB")),r.Eb(3),r.mc("postRequest",t.postRequest),r.Eb(4),r.mc("resizeDirection","right"))},directives:[sg,Kf,Ca,ya.e,ya.l,ya.o,o.l,ug,Xi.a,o.n,yg,Og,Cg.a,Ig],pipes:[y.c],styles:[""]}),e})();function Mg(e,t){}function Fg(e,t){if(1&e&&(r.Ub(0),r.Ec(1,Mg,0,0,"ng-template",6),r.Tb()),2&e){r.gc(2);const e=r.tc(2);r.Eb(1),r.mc("ngTemplateOutlet",e.template)}}function Pg(e,t){if(1&e&&(r.Ub(0),r.Ec(1,Fg,2,1,"ng-container",5),r.Tb()),2&e){const e=r.gc(),t=r.tc(4);r.Eb(1),r.mc("ngIf",e.nzSimple)("ngIfElse",t.template)}}n("iMDj");const Vg=["containerTemplate"];function Gg(e,t){}const Bg=function(e,t){return{$implicit:e,range:t}};function Wg(e,t){if(1&e&&(r.Wb(0,"li",4),r.Ec(1,Gg,0,0,"ng-template",5),r.Vb()),2&e){const e=r.gc(2);r.Eb(1),r.mc("ngTemplateOutlet",e.showTotal)("ngTemplateOutletContext",r.qc(2,Bg,e.total,e.ranges))}}function $g(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",6),r.dc("gotoIndex",function(t){return r.wc(e),r.gc(2).jumpPage(t)})("diffIndex",function(t){return r.wc(e),r.gc(2).jumpDiff(t)}),r.Vb()}if(2&e){const e=t.$implicit,n=r.gc(2);r.mc("locale",n.locale)("type",e.type)("index",e.index)("disabled",!!e.disabled)("itemRender",n.itemRender)("active",n.pageIndex===e.index)("direction",n.dir)}}function Ug(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",7),r.dc("pageIndexChange",function(t){return r.wc(e),r.gc(2).onPageIndexChange(t)})("pageSizeChange",function(t){return r.wc(e),r.gc(2).onPageSizeChange(t)}),r.Vb()}if(2&e){const e=r.gc(2);r.mc("total",e.total)("locale",e.locale)("disabled",e.disabled)("nzSize",e.nzSize)("showSizeChanger",e.showSizeChanger)("showQuickJumper",e.showQuickJumper)("pageIndex",e.pageIndex)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions)}}function Hg(e,t){if(1&e&&(r.Ec(0,Wg,2,5,"li",1),r.Ec(1,$g,1,7,"li",2),r.Ec(2,Ug,1,9,"div",3)),2&e){const e=r.gc();r.mc("ngIf",e.showTotal),r.Eb(1),r.mc("ngForOf",e.listOfPageItem)("ngForTrackBy",e.trackByPageItem),r.Eb(1),r.mc("ngIf",e.showQuickJumper||e.showSizeChanger)}}const qg=["nz-pagination-item",""];function Qg(e,t){if(1&e&&(r.Wb(0,"a"),r.Gc(1),r.Vb()),2&e){const e=r.gc().page;r.Eb(1),r.Hc(e)}}function Kg(e,t){1&e&&r.Rb(0,"i",9)}function Xg(e,t){1&e&&r.Rb(0,"i",10)}function Yg(e,t){if(1&e&&(r.Wb(0,"button",6),r.Ub(1,2),r.Ec(2,Kg,1,0,"i",7),r.Ec(3,Xg,1,0,"i",8),r.Tb(),r.Vb()),2&e){const e=r.gc(2);r.mc("disabled",e.disabled),r.Eb(1),r.mc("ngSwitch",e.direction),r.Eb(1),r.mc("ngSwitchCase","rtl")}}function Jg(e,t){1&e&&r.Rb(0,"i",10)}function Zg(e,t){1&e&&r.Rb(0,"i",9)}function em(e,t){if(1&e&&(r.Wb(0,"button",6),r.Ub(1,2),r.Ec(2,Jg,1,0,"i",11),r.Ec(3,Zg,1,0,"i",12),r.Tb(),r.Vb()),2&e){const e=r.gc(2);r.mc("disabled",e.disabled),r.Eb(1),r.mc("ngSwitch",e.direction),r.Eb(1),r.mc("ngSwitchCase","rtl")}}function tm(e,t){1&e&&r.Rb(0,"i",20)}function nm(e,t){1&e&&r.Rb(0,"i",21)}function im(e,t){if(1&e&&(r.Ub(0,2),r.Ec(1,tm,1,0,"i",18),r.Ec(2,nm,1,0,"i",19),r.Tb()),2&e){const e=r.gc(4);r.mc("ngSwitch",e.direction),r.Eb(1),r.mc("ngSwitchCase","rtl")}}function rm(e,t){1&e&&r.Rb(0,"i",21)}function om(e,t){1&e&&r.Rb(0,"i",20)}function sm(e,t){if(1&e&&(r.Ub(0,2),r.Ec(1,rm,1,0,"i",22),r.Ec(2,om,1,0,"i",23),r.Tb()),2&e){const e=r.gc(4);r.mc("ngSwitch",e.direction),r.Eb(1),r.mc("ngSwitchCase","rtl")}}function am(e,t){if(1&e&&(r.Wb(0,"div",15),r.Ub(1,2),r.Ec(2,im,3,2,"ng-container",16),r.Ec(3,sm,3,2,"ng-container",16),r.Tb(),r.Wb(4,"span",17),r.Gc(5,"\u2022\u2022\u2022"),r.Vb(),r.Vb()),2&e){const e=r.gc(2).$implicit;r.Eb(1),r.mc("ngSwitch",e),r.Eb(1),r.mc("ngSwitchCase","prev_5"),r.Eb(1),r.mc("ngSwitchCase","next_5")}}function cm(e,t){if(1&e&&(r.Ub(0),r.Wb(1,"a",13),r.Ec(2,am,6,3,"div",14),r.Vb(),r.Tb()),2&e){const e=r.gc().$implicit;r.Eb(1),r.mc("ngSwitch",e)}}function lm(e,t){1&e&&(r.Ub(0,2),r.Ec(1,Qg,2,1,"a",3),r.Ec(2,Yg,4,3,"button",4),r.Ec(3,em,4,3,"button",4),r.Ec(4,cm,3,1,"ng-container",5),r.Tb()),2&e&&(r.mc("ngSwitch",t.$implicit),r.Eb(1),r.mc("ngSwitchCase","page"),r.Eb(1),r.mc("ngSwitchCase","prev"),r.Eb(1),r.mc("ngSwitchCase","next"))}function um(e,t){}const hm=function(e,t){return{$implicit:e,page:t}},dm=["nz-pagination-options",""];function pm(e,t){if(1&e&&r.Rb(0,"nz-option",4),2&e){const e=t.$implicit;r.mc("nzLabel",e.label)("nzValue",e.value)}}function fm(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-select",2),r.dc("ngModelChange",function(t){return r.wc(e),r.gc().onPageSizeChange(t)}),r.Ec(1,pm,1,2,"nz-option",3),r.Vb()}if(2&e){const e=r.gc();r.mc("nzDisabled",e.disabled)("nzSize",e.nzSize)("ngModel",e.pageSize),r.Eb(1),r.mc("ngForOf",e.listOfPageSizeOption)("ngForTrackBy",e.trackByOption)}}function gm(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",5),r.Gc(1),r.Wb(2,"input",6),r.dc("keydown.enter",function(t){return r.wc(e),r.gc().jumpToPageViaInput(t)}),r.Vb(),r.Gc(3),r.Vb()}if(2&e){const e=r.gc();r.Eb(1),r.Ic(" ",e.locale.jump_to," "),r.Eb(1),r.mc("disabled",e.disabled),r.Eb(1),r.Ic(" ",e.locale.page," ")}}function mm(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",1),r.dc("click",function(){return r.wc(e),r.gc().prePage()}),r.Vb(),r.Wb(1,"li",2),r.Wb(2,"input",3),r.dc("keydown.enter",function(t){return r.wc(e),r.gc().jumpToPageViaInput(t)}),r.Vb(),r.Wb(3,"span",4),r.Gc(4,"/"),r.Vb(),r.Gc(5),r.Vb(),r.Wb(6,"li",5),r.dc("click",function(){return r.wc(e),r.gc().nextPage()}),r.Vb()}if(2&e){const e=r.gc();r.mc("disabled",e.isFirstIndex)("direction",e.dir)("itemRender",e.itemRender),r.Fb("title",e.locale.prev_page),r.Eb(1),r.Fb("title",e.pageIndex+"/"+e.lastIndex),r.Eb(1),r.mc("disabled",e.disabled)("value",e.pageIndex),r.Eb(3),r.Ic(" ",e.lastIndex," "),r.Eb(1),r.mc("disabled",e.isLastIndex)("direction",e.dir)("itemRender",e.itemRender),r.Fb("title",null==e.locale?null:e.locale.next_page)}}let bm=(()=>{class e{constructor(e,t,n,i,o,s){this.i18n=e,this.cdr=t,this.breakpointService=n,this.nzConfigService=i,this.directionality=o,this.elementRef=s,this._nzModuleName="pagination",this.nzPageSizeChange=new r.n,this.nzPageIndexChange=new r.n,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new fe.a,this.total$=new cc.a(1),this.elementRef.nativeElement.classList.add("ant-pagination")}validatePageIndex(e,t){return e>t?t:e<1?1:e}onPageIndexChange(e){const t=this.getLastIndex(this.nzTotal,this.nzPageSize),n=this.validatePageIndex(e,t);n===this.nzPageIndex||this.nzDisabled||(this.nzPageIndex=n,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(e){this.nzPageSize=e,this.nzPageSizeChange.emit(e);const t=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>t&&this.onPageIndexChange(t)}onTotalChange(e){const t=this.getLastIndex(e,this.nzPageSize);this.nzPageIndex>t&&Promise.resolve().then(()=>this.onPageIndexChange(t))}getLastIndex(e,t){return Math.ceil(e/t)}ngOnInit(){var e;this.i18n.localeChange.pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.onTotalChange(e)}),this.breakpointService.subscribe(Me).pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.nzResponsive&&(this.size=e===Le.xs?"small":"default",this.cdr.markForCheck())}),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(e){const{nzHideOnSinglePage:t,nzTotal:n,nzPageSize:i,nzSize:r}=e;n&&this.total$.next(this.nzTotal),(t||n||i)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),r&&(this.size=r.currentValue)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(ms),r.Qb(r.h),r.Qb(Pe),r.Qb(Os.a),r.Qb(pe.b,8),r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-pagination"]],hostVars:8,hostBindings:function(e,t){2&e&&r.Ib("ant-pagination-simple",t.nzSimple)("ant-pagination-disabled",t.nzDisabled)("mini",!t.nzSimple&&"small"===t.size)("ant-pagination-rtl","rtl"===t.dir)},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[r.Cb],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(r.Ec(0,Pg,2,2,"ng-container",0),r.Wb(1,"nz-pagination-simple",1,2),r.dc("pageIndexChange",function(e){return t.onPageIndexChange(e)}),r.Vb(),r.Wb(3,"nz-pagination-default",3,4),r.dc("pageIndexChange",function(e){return t.onPageIndexChange(e)})("pageSizeChange",function(e){return t.onPageSizeChange(e)}),r.Vb()),2&e&&(r.mc("ngIf",t.showPagination),r.Eb(1),r.mc("disabled",t.nzDisabled)("itemRender",t.nzItemRender)("locale",t.locale)("pageSize",t.nzPageSize)("total",t.nzTotal)("pageIndex",t.nzPageIndex),r.Eb(2),r.mc("nzSize",t.size)("itemRender",t.nzItemRender)("showTotal",t.nzShowTotal)("disabled",t.nzDisabled)("locale",t.locale)("showSizeChanger",t.nzShowSizeChanger)("showQuickJumper",t.nzShowQuickJumper)("total",t.nzTotal)("pageIndex",t.nzPageIndex)("pageSize",t.nzPageSize)("pageSizeOptions",t.nzPageSizeOptions))},directives:function(){return[o.o,_m,vm,o.t]},encapsulation:2,changeDetection:0}),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",String)],e.prototype,"nzSize",void 0),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",Array)],e.prototype,"nzPageSizeOptions",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzShowSizeChanger",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzShowQuickJumper",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzSimple",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzResponsive",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzHideOnSinglePage",void 0),Object(me.b)([Object(_e.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzTotal",void 0),Object(me.b)([Object(_e.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzPageIndex",void 0),Object(me.b)([Object(_e.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzPageSize",void 0),e})(),vm=(()=>{class e{constructor(e,t,n,i){this.cdr=e,this.renderer=t,this.elementRef=n,this.directionality=i,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new r.n,this.pageSizeChange=new r.n,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new fe.a,t.removeChild(t.parentNode(n.nativeElement),n.nativeElement)}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage(e){this.onPageIndexChange(e)}jumpDiff(e){this.jumpPage(this.pageIndex+e)}trackByPageItem(e,t){return`${t.type}-${t.index}`}onPageIndexChange(e){this.pageIndexChange.next(e)}onPageSizeChange(e){this.pageSizeChange.next(e)}getLastIndex(e,t){return Math.ceil(e/t)}buildIndexes(){const e=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,e)}getListOfPageItem(e,t){const n=(e,t)=>{const n=[];for(let i=e;i<=t;i++)n.push({index:i,type:"page"});return n};return i=t<=9?n(1,t):((e,i)=>{let r=[];const o={type:"prev_5"},s={type:"next_5"},a=n(1,1),c=n(t,t);return r=e<4?[...n(2,5),s]:e{class e{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new r.n,this.gotoIndex=new r.n,this.title=null}clickItem(){this.disabled||("page"===this.type?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(e){var t,n,i,r;const{locale:o,index:s,type:a}=e;(o||s||a)&&(this.title={page:`${this.index}`,next:null===(t=this.locale)||void 0===t?void 0:t.next_page,prev:null===(n=this.locale)||void 0===n?void 0:n.prev_page,prev_5:null===(i=this.locale)||void 0===i?void 0:i.prev_5,next_5:null===(r=this.locale)||void 0===r?void 0:r.next_5}[this.type])}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(e,t){1&e&&r.dc("click",function(){return t.clickItem()}),2&e&&(r.Fb("title",t.title),r.Ib("ant-pagination-prev","prev"===t.type)("ant-pagination-next","next"===t.type)("ant-pagination-item","page"===t.type)("ant-pagination-jump-prev","prev_5"===t.type)("ant-pagination-jump-prev-custom-icon","prev_5"===t.type)("ant-pagination-jump-next","next_5"===t.type)("ant-pagination-jump-next-custom-icon","next_5"===t.type)("ant-pagination-disabled",t.disabled)("ant-pagination-item-active",t.active))},inputs:{active:"active",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender",locale:"locale"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[r.Cb],attrs:qg,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","ant-pagination-item-link",3,"disabled",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"disabled"],["nz-icon","","nzType","right",4,"ngSwitchCase"],["nz-icon","","nzType","left",4,"ngSwitchDefault"],["nz-icon","","nzType","right"],["nz-icon","","nzType","left"],["nz-icon","","nzType","left",4,"ngSwitchCase"],["nz-icon","","nzType","right",4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"ngSwitch"],["class","ant-pagination-item-container",4,"ngSwitchDefault"],[1,"ant-pagination-item-container"],[3,"ngSwitch",4,"ngSwitchCase"],[1,"ant-pagination-item-ellipsis"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","double-right",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"]],template:function(e,t){if(1&e&&(r.Ec(0,lm,5,4,"ng-template",null,0,r.Fc),r.Ec(2,um,0,0,"ng-template",1)),2&e){const e=r.tc(1);r.Eb(2),r.mc("ngTemplateOutlet",t.itemRender||e)("ngTemplateOutletContext",r.qc(2,hm,t.type,t.index))}},directives:[o.t,o.q,o.r,o.s,Ge.a],encapsulation:2,changeDetection:0}),e})(),wm=(()=>{class e{constructor(e){this.elementRef=e,this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new r.n,this.pageSizeChange=new r.n,this.listOfPageSizeOption=[],this.elementRef.nativeElement.classList.add("ant-pagination-options")}onPageSizeChange(e){this.pageSize!==e&&this.pageSizeChange.next(e)}jumpToPageViaInput(e){const t=e.target,n=Math.floor(Object(_e.r)(t.value,this.pageIndex));this.pageIndexChange.next(n),t.value=""}trackByOption(e,t){return t.value}ngOnChanges(e){const{pageSize:t,pageSizeOptions:n,locale:i}=e;(t||n||i)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(e=>({value:e,label:`${e} ${this.locale.items_per_page}`})))}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["div","nz-pagination-options",""]],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",locale:"locale"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[r.Cb],attrs:dm,decls:2,vars:2,consts:[["class","ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange",4,"ngIf"],["class","ant-pagination-options-quick-jumper",4,"ngIf"],[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"ant-pagination-options-quick-jumper"],[3,"disabled","keydown.enter"]],template:function(e,t){1&e&&(r.Ec(0,fm,2,5,"nz-select",0),r.Ec(1,gm,4,3,"div",1)),2&e&&(r.mc("ngIf",t.showSizeChanger),r.Eb(1),r.mc("ngIf",t.showQuickJumper))},directives:[o.o,Vu,ya.l,ya.o,o.n,Lu],encapsulation:2,changeDetection:0}),e})(),_m=(()=>{class e{constructor(e,t,n,i){this.cdr=e,this.renderer=t,this.elementRef=n,this.directionality=i,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new r.n,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new fe.a,t.removeChild(t.parentNode(n.nativeElement),n.nativeElement)}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput(e){const t=e.target,n=Object(_e.r)(t.value,this.pageIndex);this.onPageIndexChange(n),t.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(e){this.pageIndexChange.next(e)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=1===this.pageIndex,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(e){const{pageIndex:t,total:n,pageSize:i}=e;(t||n||i)&&this.updateBindingValue()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(r.G),r.Qb(r.l),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-pagination-simple"]],viewQuery:function(e,t){if(1&e&&r.Kc(Vg,3),2&e){let e;r.sc(e=r.ec())&&(t.template=e.first)}},inputs:{itemRender:"itemRender",disabled:"disabled",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",locale:"locale"},outputs:{pageIndexChange:"pageIndexChange"},features:[r.Cb],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"disabled","direction","itemRender","click"],[1,"ant-pagination-simple-pager"],["size","3",3,"disabled","value","keydown.enter"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"disabled","direction","itemRender","click"]],template:function(e,t){1&e&&r.Ec(0,mm,7,12,"ng-template",null,0,r.Fc)},directives:[ym],encapsulation:2,changeDetection:0}),e})(),Om=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,ya.i,qu,bs,Ge.b]]}),e})();const Cm=["*"],Em=["inputElement"],Sm=["nz-radio",""];let Tm=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-radio-button",""]]}),e})(),xm=(()=>{class e{constructor(){this.selected$=new cc.a(1),this.touched$=new fe.a,this.disabled$=new cc.a(1),this.name$=new cc.a(1)}touch(){this.touched$.next()}select(e){this.selected$.next(e)}setDisabled(e){this.disabled$.next(e)}setName(e){this.name$.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),km=(()=>{class e{constructor(e,t,n,i,r,o){this.elementRef=e,this.cdr=t,this.focusMonitor=n,this.directionality=i,this.nzRadioService=r,this.nzRadioButtonDirective=o,this.isNgModel=!1,this.destroy$=new fe.a,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}onHostClick(e){e.stopPropagation(),e.preventDefault(),this.nzDisabled||this.isChecked||(this.nzRadioService&&this.nzRadioService.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)))}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}setDisabledState(e){this.nzDisabled=e,this.cdr.markForCheck()}writeValue(e){this.isChecked=e,this.cdr.markForCheck()}registerOnChange(e){this.isNgModel=!0,this.onChange=e}registerOnTouched(e){this.onTouched=e}ngOnInit(){var e;this.nzRadioService&&(this.nzRadioService.name$.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.name=e,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.nzDisabled=e,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.isChecked=this.nzValue===e,this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).subscribe(e=>{e||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.h),r.Qb(Ot),r.Qb(pe.b,8),r.Qb(xm,8),r.Qb(Tm,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(e,t){if(1&e&&r.Kc(Em,1),2&e){let e;r.sc(e=r.ec())&&(t.inputElement=e.first)}},hostVars:16,hostBindings:function(e,t){1&e&&r.dc("click",function(e){return t.onHostClick(e)}),2&e&&r.Ib("ant-radio-wrapper",!t.isRadioButton)("ant-radio-button-wrapper",t.isRadioButton)("ant-radio-wrapper-checked",t.isChecked&&!t.isRadioButton)("ant-radio-button-wrapper-checked",t.isChecked&&t.isRadioButton)("ant-radio-wrapper-disabled",t.nzDisabled&&!t.isRadioButton)("ant-radio-button-wrapper-disabled",t.nzDisabled&&t.isRadioButton)("ant-radio-wrapper-rtl",!t.isRadioButton&&"rtl"===t.dir)("ant-radio-button-wrapper-rtl",t.isRadioButton&&"rtl"===t.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[r.Db([{provide:ya.j,useExisting:Object(r.W)(()=>e),multi:!0}])],attrs:Sm,ngContentSelectors:Cm,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(e,t){1&e&&(r.lc(),r.Wb(0,"span"),r.Rb(1,"input",0,1),r.Rb(3,"span"),r.Vb(),r.Wb(4,"span"),r.kc(5),r.Vb()),2&e&&(r.Ib("ant-radio",!t.isRadioButton)("ant-radio-checked",t.isChecked&&!t.isRadioButton)("ant-radio-disabled",t.nzDisabled&&!t.isRadioButton)("ant-radio-button",t.isRadioButton)("ant-radio-button-checked",t.isChecked&&t.isRadioButton)("ant-radio-button-disabled",t.nzDisabled&&t.isRadioButton),r.Eb(1),r.Ib("ant-radio-input",!t.isRadioButton)("ant-radio-button-input",t.isRadioButton),r.mc("disabled",t.nzDisabled)("checked",t.isChecked),r.Fb("autofocus",t.nzAutoFocus?"autofocus":null)("name",t.name),r.Eb(2),r.Ib("ant-radio-inner",!t.isRadioButton)("ant-radio-button-inner",t.isRadioButton))},encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),e})(),Im=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,o.c,ya.i]]}),e})();const Dm=["*"];function zm(e,t){}function jm(e,t){if(1&e){const e=r.Xb();r.Wb(0,"label",15),r.dc("ngModelChange",function(){r.wc(e);const t=r.gc().$implicit;return r.gc(2).check(t)}),r.Vb()}if(2&e){const e=r.gc().$implicit;r.mc("ngModel",e.checked)}}function Am(e,t){if(1&e){const e=r.Xb();r.Wb(0,"label",16),r.dc("ngModelChange",function(){r.wc(e);const t=r.gc().$implicit;return r.gc(2).check(t)}),r.Vb()}if(2&e){const e=r.gc().$implicit;r.mc("ngModel",e.checked)}}function Rm(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",12),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc(2).check(n)}),r.Ec(1,jm,1,1,"label",13),r.Ec(2,Am,1,1,"label",14),r.Wb(3,"span"),r.Gc(4),r.Vb(),r.Vb()}if(2&e){const e=t.$implicit,n=r.gc(2);r.mc("nzSelected",e.checked),r.Eb(1),r.mc("ngIf",!n.filterMultiple),r.Eb(1),r.mc("ngIf",n.filterMultiple),r.Eb(2),r.Hc(e.text)}}function Nm(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Wb(1,"nz-filter-trigger",3),r.dc("nzVisibleChange",function(t){return r.wc(e),r.gc().onVisibleChange(t)}),r.Rb(2,"i",4),r.Vb(),r.Wb(3,"nz-dropdown-menu",null,5),r.Wb(5,"div",6),r.Wb(6,"ul",7),r.Ec(7,Rm,5,4,"li",8),r.Vb(),r.Wb(8,"div",9),r.Wb(9,"button",10),r.dc("click",function(){return r.wc(e),r.gc().reset()}),r.Gc(10),r.Vb(),r.Wb(11,"button",11),r.dc("click",function(){return r.wc(e),r.gc().confirm()}),r.Gc(12),r.Vb(),r.Vb(),r.Vb(),r.Vb(),r.Tb()}if(2&e){const e=r.tc(4),t=r.gc();r.Eb(1),r.mc("nzVisible",t.isVisible)("nzActive",t.isChecked)("nzDropdownMenu",e),r.Eb(6),r.mc("ngForOf",t.listOfParsedFilter)("ngForTrackBy",t.trackByValue),r.Eb(2),r.mc("disabled",!t.isChecked),r.Eb(1),r.Hc(t.locale.filterReset),r.Eb(2),r.Hc(t.locale.filterConfirm)}}function Lm(e,t){}function Mm(e,t){if(1&e&&r.Rb(0,"i",5),2&e){const e=r.gc();r.Ib("active","ascend"==e.sortOrder)}}function Fm(e,t){if(1&e&&r.Rb(0,"i",6),2&e){const e=r.gc();r.Ib("active","descend"==e.sortOrder)}}const Pm=["nzColumnKey",""];function Vm(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-table-filter",5),r.dc("filterChange",function(t){return r.wc(e),r.gc().onFilterValueChange(t)}),r.Vb()}if(2&e){const e=r.gc(),t=r.tc(2),n=r.tc(4);r.mc("contentTemplate",t)("extraTemplate",n)("customFilter",e.nzCustomFilter)("filterMultiple",e.nzFilterMultiple)("listOfFilter",e.nzFilters)}}function Gm(e,t){}function Bm(e,t){if(1&e&&r.Ec(0,Gm,0,0,"ng-template",6),2&e){const e=r.gc(),t=r.tc(6),n=r.tc(8);r.mc("ngTemplateOutlet",e.nzShowSort?t:n)}}function Wm(e,t){1&e&&(r.kc(0),r.kc(1,1))}function $m(e,t){if(1&e&&r.Rb(0,"nz-table-sorters",7),2&e){const e=r.gc(),t=r.tc(8);r.mc("sortOrder",e.sortOrder)("sortDirections",e.sortDirections)("contentTemplate",t)}}function Um(e,t){1&e&&r.kc(0,2)}const Hm=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],qm=["[nz-th-extra]","nz-filter-trigger","*"],Qm=["nz-table-content",""];function Km(e,t){if(1&e&&r.Rb(0,"col"),2&e){const e=t.$implicit;r.Bc("width",e)("min-width",e)}}function Xm(e,t){}function Ym(e,t){if(1&e&&(r.Wb(0,"thead",3),r.Gc(1,"\n "),r.Ec(2,Xm,0,0,"ng-template",2),r.Gc(3,"\n "),r.Vb()),2&e){const e=r.gc();r.Eb(2),r.mc("ngTemplateOutlet",e.theadTemplate)}}function Jm(e,t){}const Zm=["tdElement"],eb=["nz-table-fixed-row",""];function tb(e,t){}function nb(e,t){if(1&e&&(r.Wb(0,"div",4),r.hc(1,"async"),r.Gc(2,"\n "),r.Ec(3,tb,0,0,"ng-template",5),r.Gc(4,"\n "),r.Vb()),2&e){const e=r.gc(),t=r.tc(9);r.Bc("width",r.ic(1,3,e.hostWidth$),"px"),r.Eb(3),r.mc("ngTemplateOutlet",t)}}function ib(e,t){1&e&&r.kc(0)}const rb=["tableHeaderElement"],ob=["tableBodyElement"];function sb(e,t){if(1&e&&(r.Wb(0,"div",7,8),r.Gc(2,"\n "),r.Rb(3,"table",9),r.Gc(4,"\n "),r.Vb()),2&e){const e=r.gc(2);r.mc("ngStyle",e.bodyStyleMap),r.Eb(3),r.mc("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("contentTemplate",e.contentTemplate)}}function ab(e,t){}const cb=function(e,t){return{$implicit:e,index:t}};function lb(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,ab,0,0,"ng-template",13),r.Gc(3,"\n "),r.Tb()),2&e){const e=t.$implicit,n=t.index,i=r.gc(3);r.Eb(2),r.mc("ngTemplateOutlet",i.virtualTemplate)("ngTemplateOutletContext",r.qc(2,cb,e,n))}}function ub(e,t){if(1&e&&(r.Wb(0,"cdk-virtual-scroll-viewport",10,8),r.Gc(2,"\n "),r.Wb(3,"table",11),r.Gc(4,"\n "),r.Wb(5,"tbody"),r.Gc(6,"\n "),r.Ec(7,lb,4,5,"ng-container",12),r.Gc(8,"\n "),r.Vb(),r.Gc(9,"\n "),r.Vb(),r.Gc(10,"\n "),r.Vb()),2&e){const e=r.gc(2);r.Bc("height",e.data.length?e.scrollY:e.noDateVirtualHeight),r.mc("itemSize",e.virtualItemSize)("maxBufferPx",e.virtualMaxBufferPx)("minBufferPx",e.virtualMinBufferPx),r.Eb(3),r.mc("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth),r.Eb(4),r.mc("cdkVirtualForOf",e.data)("cdkVirtualForTrackBy",e.virtualForTrackBy)}}function hb(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Wb(2,"div",2,3),r.Gc(4,"\n "),r.Rb(5,"table",4),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Ec(8,sb,5,4,"div",5),r.Gc(9,"\n "),r.Ec(10,ub,11,9,"cdk-virtual-scroll-viewport",6),r.Gc(11,"\n "),r.Tb()),2&e){const e=r.gc();r.Eb(2),r.mc("ngStyle",e.headerStyleMap),r.Eb(3),r.mc("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("theadTemplate",e.theadTemplate),r.Eb(3),r.mc("ngIf",!e.virtualTemplate),r.Eb(2),r.mc("ngIf",e.virtualTemplate)}}function db(e,t){if(1&e&&(r.Wb(0,"div",14,8),r.Gc(2,"\n "),r.Rb(3,"table",15),r.Gc(4,"\n "),r.Vb()),2&e){const e=r.gc();r.mc("ngStyle",e.bodyStyleMap),r.Eb(3),r.mc("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("theadTemplate",e.theadTemplate)("contentTemplate",e.contentTemplate)}}function pb(e,t){}function fb(e,t){if(1&e&&(r.Ub(0),r.Ec(1,pb,0,0,"ng-template",10),r.Tb()),2&e){r.gc();const e=r.tc(11);r.Eb(1),r.mc("ngTemplateOutlet",e)}}function gb(e,t){if(1&e&&r.Rb(0,"nz-table-title-footer",11),2&e){const e=r.gc();r.mc("title",e.nzTitle)}}function mb(e,t){if(1&e&&r.Rb(0,"nz-table-inner-scroll",12),2&e){const e=r.gc(),t=r.tc(13),n=r.tc(3);r.mc("data",e.data)("scrollX",e.scrollX)("scrollY",e.scrollY)("contentTemplate",t)("listOfColWidth",e.listOfAutoColWidth)("theadTemplate",e.theadTemplate)("verticalScrollBarWidth",e.verticalScrollBarWidth)("virtualTemplate",e.nzVirtualScrollDirective?e.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",e.nzVirtualItemSize)("virtualMaxBufferPx",e.nzVirtualMaxBufferPx)("virtualMinBufferPx",e.nzVirtualMinBufferPx)("tableMainElement",n)("virtualForTrackBy",e.nzVirtualForTrackBy)}}function bb(e,t){if(1&e&&r.Rb(0,"nz-table-inner-default",13),2&e){const e=r.gc(),t=r.tc(13);r.mc("tableLayout",e.nzTableLayout)("listOfColWidth",e.listOfManualColWidth)("theadTemplate",e.theadTemplate)("contentTemplate",t)}}function vb(e,t){if(1&e&&r.Rb(0,"nz-table-title-footer",14),2&e){const e=r.gc();r.mc("footer",e.nzFooter)}}function yb(e,t){}function wb(e,t){if(1&e&&(r.Ub(0),r.Ec(1,yb,0,0,"ng-template",10),r.Tb()),2&e){r.gc();const e=r.tc(11);r.Eb(1),r.mc("ngTemplateOutlet",e)}}function _b(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-pagination",16),r.dc("nzPageSizeChange",function(t){return r.wc(e),r.gc(2).onPageSizeChange(t)})("nzPageIndexChange",function(t){return r.wc(e),r.gc(2).onPageIndexChange(t)}),r.Vb()}if(2&e){const e=r.gc(2);r.mc("hidden",!e.showPagination)("nzShowSizeChanger",e.nzShowSizeChanger)("nzPageSizeOptions",e.nzPageSizeOptions)("nzItemRender",e.nzItemRender)("nzShowQuickJumper",e.nzShowQuickJumper)("nzHideOnSinglePage",e.nzHideOnSinglePage)("nzShowTotal",e.nzShowTotal)("nzSize","small"===e.nzPaginationType?"small":"default"===e.nzSize?"default":"small")("nzPageSize",e.nzPageSize)("nzTotal",e.nzTotal)("nzSimple",e.nzSimple)("nzPageIndex",e.nzPageIndex)}}function Ob(e,t){if(1&e&&r.Ec(0,_b,1,12,"nz-pagination",15),2&e){const e=r.gc();r.mc("ngIf",e.nzShowPagination&&e.data.length)}}function Cb(e,t){1&e&&r.kc(0)}function Eb(e,t){if(1&e){const e=r.Xb();r.Wb(0,"tr",3),r.dc("listOfAutoWidth",function(t){return r.wc(e),r.gc(2).onListOfAutoWidthChange(t)}),r.Vb()}if(2&e){const e=r.gc().ngIf;r.mc("listOfMeasureColumn",e)}}function Sb(e,t){if(1&e&&(r.Ub(0),r.Ec(1,Eb,1,1,"tr",2),r.Tb()),2&e){const e=t.ngIf,n=r.gc();r.Eb(1),r.mc("ngIf",n.isInsideTable&&e.length)}}function Tb(e,t){if(1&e&&(r.Wb(0,"tr",4),r.Rb(1,"nz-embed-empty",5),r.hc(2,"async"),r.Vb()),2&e){const e=r.gc();r.Eb(1),r.mc("specificContent",r.ic(2,1,e.noResult$))}}const xb=["contentTemplate"];function kb(e,t){1&e&&(r.Gc(0,"\n "),r.kc(1),r.Gc(2,"\n "))}function Ib(e,t){}function Db(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,Ib,0,0,"ng-template",2),r.Gc(3,"\n "),r.Tb()),2&e){r.gc();const e=r.tc(2);r.Eb(2),r.mc("ngTemplateOutlet",e)}}function zb(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.Hc(e.title)}}function jb(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.Hc(e.footer)}}const Ab=["nz-table-measure-row",""];function Rb(e,t){1&e&&r.Rb(0,"td",1,2)}let Nb=(()=>{class e{constructor(e,t){this.cdr=e,this.elementRef=t,this.nzActive=!1,this.nzVisible=!1,this.nzHasBackdrop=!1,this.nzVisibleChange=new r.n,this.elementRef.nativeElement.classList.add("ant-table-filter-trigger-container")}onVisibleChange(e){this.nzVisible=e,this.nzVisibleChange.next(e)}onFilterClick(e){e.stopPropagation()}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-filter-trigger"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-table-filter-trigger-container-open",t.nzVisible)},inputs:{nzActive:"nzActive",nzVisible:"nzVisible",nzHasBackdrop:"nzHasBackdrop",nzDropdownMenu:"nzDropdownMenu"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],ngContentSelectors:Dm,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzHasBackdrop","nzClickHide","nzDropdownMenu","nzVisible","nzVisibleChange","click"]],template:function(e,t){1&e&&(r.lc(),r.Wb(0,"span",0),r.dc("nzVisibleChange",function(e){return t.onVisibleChange(e)})("click",function(e){return t.onFilterClick(e)}),r.kc(1),r.Vb()),2&e&&(r.Ib("active",t.nzActive)("ant-table-filter-open",t.nzVisible),r.mc("nzHasBackdrop",t.nzHasBackdrop)("nzClickHide",!1)("nzDropdownMenu",t.nzDropdownMenu)("nzVisible",t.nzVisible))},directives:[Sr.a],encapsulation:2,changeDetection:0}),e})(),Lb=(()=>{class e{constructor(e,t,n){this.cdr=e,this.i18n=t,this.elementRef=n,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new r.n,this.destroy$=new fe.a,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[],this.listOfChecked=[],this.elementRef.nativeElement.classList.add("ant-table-filter-column")}trackByValue(e,t){return t.value}check(e){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(t=>t===e?Object.assign(Object.assign({},t),{checked:!e.checked}):t),e.checked=!e.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(t=>Object.assign(Object.assign({},t),{checked:t===e})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange(e){this.isVisible=e,e?this.listOfChecked=this.listOfParsedFilter.filter(e=>e.checked).map(e=>e.value):this.emitFilterData()}emitFilterData(){const e=this.listOfParsedFilter.filter(e=>e.checked).map(e=>e.value);Object(_e.c)(this.listOfChecked,e)||this.filterChange.emit(this.filterMultiple?e:e.length>0?e[0]:null)}parseListOfFilter(e,t){return e.map(e=>({text:e.text,value:e.value,checked:!t&&!!e.byDefault}))}getCheckedStatus(e){return e.some(e=>e.checked)}ngOnInit(){this.i18n.localeChange.pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges(e){const{listOfFilter:t}=e;t&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(ms),r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-table-filter"]],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[r.Cb],decls:3,vars:3,consts:[[1,"ant-table-filter-column-title"],[3,"ngTemplateOutlet"],[4,"ngIf","ngIfElse"],[3,"nzVisible","nzActive","nzDropdownMenu","nzVisibleChange"],["nz-icon","","nzType","filter","nzTheme","fill"],["filterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"disabled","click"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"nzSelected","click"],["nz-radio","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-radio","",3,"ngModel","ngModelChange"],["nz-checkbox","",3,"ngModel","ngModelChange"]],template:function(e,t){1&e&&(r.Wb(0,"span",0),r.Ec(1,zm,0,0,"ng-template",1),r.Vb(),r.Ec(2,Nm,13,8,"ng-container",2)),2&e&&(r.Eb(1),r.mc("ngTemplateOutlet",t.contentTemplate),r.Eb(1),r.mc("ngIf",!t.customFilter)("ngIfElse",t.extraTemplate))},directives:[o.t,o.o,Nb,Ki.a,Ge.a,Sr.c,Ve.c,o.n,ys.a,Cs.a,Ve.e,km,ya.l,ya.o,gg],encapsulation:2,changeDetection:0}),e})(),Mb=(()=>{class e{constructor(e){this.elementRef=e,this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1,this.elementRef.nativeElement.classList.add("ant-table-column-sorters")}ngOnChanges(e){const{sortDirections:t}=e;t&&(this.isUp=-1!==this.sortDirections.indexOf("ascend"),this.isDown=-1!==this.sortDirections.indexOf("descend"))}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-table-sorters"]],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[r.Cb],decls:6,vars:5,consts:[[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nz-icon","","nzType","caret-up","class","ant-table-column-sorter-up",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-down","class","ant-table-column-sorter-down",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-up",1,"ant-table-column-sorter-up"],["nz-icon","","nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(e,t){1&e&&(r.Wb(0,"span"),r.Ec(1,Lm,0,0,"ng-template",0),r.Vb(),r.Wb(2,"span",1),r.Wb(3,"span",2),r.Ec(4,Mm,1,2,"i",3),r.Ec(5,Fm,1,2,"i",4),r.Vb(),r.Vb()),2&e&&(r.Eb(1),r.mc("ngTemplateOutlet",t.contentTemplate),r.Eb(1),r.Ib("ant-table-column-sorter-full",t.isDown&&t.isUp),r.Eb(2),r.mc("ngIf",t.isUp),r.Eb(1),r.mc("ngIf",t.isDown))},directives:[o.t,o.o,Ki.a,Ge.a],encapsulation:2,changeDetection:0}),e})(),Fb=(()=>{class e{constructor(e,t){this.renderer=e,this.elementRef=t,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.colSpan=null,this.changes$=new fe.a,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}setAutoLeftWidth(e){this.renderer.setStyle(this.elementRef.nativeElement,"left",e)}setAutoRightWidth(e){this.renderer.setStyle(this.elementRef.nativeElement,"right",e)}setIsFirstRight(e){this.setFixClass(e,"ant-table-cell-fix-right-first")}setIsLastLeft(e){this.setFixClass(e,"ant-table-cell-fix-left-last")}setFixClass(e,t){this.renderer.removeClass(this.elementRef.nativeElement,t),e&&this.renderer.addClass(this.elementRef.nativeElement,t)}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=""===this.nzLeft||!0===this.nzLeft,this.isAutoRight=""===this.nzRight||!0===this.nzRight,this.isFixedLeft=!1!==this.nzLeft,this.isFixedRight=!1!==this.nzRight,this.isFixed=this.isFixedLeft||this.isFixedRight;const e=e=>"string"==typeof e&&""!==e?e:null;this.setAutoLeftWidth(e(this.nzLeft)),this.setAutoRightWidth(e(this.nzRight)),this.changes$.next()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.G),r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function(e,t){2&e&&(r.Bc("position",t.isFixed?"sticky":null),r.Ib("ant-table-cell-fix-right",t.isFixedRight)("ant-table-cell-fix-left",t.isFixedLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[r.Cb]}),e})(),Pb=(()=>{class e{constructor(){this.theadTemplate$=new cc.a(1),this.hasFixLeft$=new cc.a(1),this.hasFixRight$=new cc.a(1),this.hostWidth$=new cc.a(1),this.columnCount$=new cc.a(1),this.showEmpty$=new cc.a(1),this.noResult$=new cc.a(1),this.listOfThWidthConfigPx$=new cs.a([]),this.tableWidthConfigPx$=new cs.a([]),this.manualWidthConfigPx$=Object(Se.a)([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe(Object(c.a)(([e,t])=>e.length?e:t)),this.listOfAutoWidthPx$=new cc.a(1),this.listOfListOfThWidthPx$=Object(Gc.a)(this.manualWidthConfigPx$,Object(Se.a)([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe(Object(c.a)(([e,t])=>e.length===t.length?e.map((e,n)=>"0px"===e?t[n]||null:t[n]||e):t))),this.listOfMeasureColumn$=new cc.a(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe(Object(c.a)(e=>e.map(e=>parseInt(e,10)))),this.enableAutoMeasure$=new cc.a(1)}setTheadTemplate(e){this.theadTemplate$.next(e)}setHasFixLeft(e){this.hasFixLeft$.next(e)}setHasFixRight(e){this.hasFixRight$.next(e)}setTableWidthConfig(e){this.tableWidthConfigPx$.next(e)}setListOfTh(e){let t=0;e.forEach(e=>{t+=e.colspan&&+e.colspan||e.colSpan&&+e.colSpan||1});const n=e.map(e=>e.nzWidth);this.columnCount$.next(t),this.listOfThWidthConfigPx$.next(n)}setListOfMeasureColumn(e){const t=[];e.forEach(e=>{const n=e.colspan&&+e.colspan||e.colSpan&&+e.colSpan||1;for(let i=0;i`${e}px`))}setShowEmpty(e){this.showEmpty$.next(e)}setNoResult(e){this.noResult$.next(e)}setScroll(e,t){const n=!(!e&&!t);n||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(n)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),Vb=(()=>{class e{constructor(e){this.isInsideTable=!1,this.isInsideTable=!!e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Pb,8))},e.\u0275dir=r.Lb({type:e,selectors:[["th",9,"nz-disable-th",3,"mat-cell",""],["td",9,"nz-disable-td",3,"mat-cell",""]],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-table-cell",t.isInsideTable)}}),e})(),Gb=(()=>{class e{constructor(e){this.cdr=e,this.manualClickOrder$=new fe.a,this.calcOperatorChange$=new fe.a,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new fe.a,this.destroy$=new fe.a,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new r.n,this.nzSortOrderChange=new r.n,this.nzFilterChange=new r.n}getNextSortDirection(e,t){const n=e.indexOf(t);return n===e.length-1?e[0]:e[n+1]}emitNextSortValue(){if(this.nzShowSort){const e=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.setSortOrder(e),this.manualClickOrder$.next(this)}}setSortOrder(e){this.sortOrderChange$.next(e)}clearSortOrder(){null!==this.sortOrder&&this.setSortOrder(null)}onFilterValueChange(e){this.nzFilterChange.emit(e),this.nzFilterValue=e,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}ngOnInit(){this.sortOrderChange$.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.sortOrder!==e&&(this.sortOrder=e,this.nzSortOrderChange.emit(e)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges(e){const{nzSortDirections:t,nzFilters:n,nzSortOrder:i,nzSortFn:r,nzFilterFn:o,nzSortPriority:s,nzFilterMultiple:a,nzShowSort:c,nzShowFilter:l}=e;t&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),i&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),c&&(this.isNzShowSortChanged=!0),l&&(this.isNzShowFilterChanged=!0);const u=e=>e&&e.firstChange&&void 0!==e.currentValue;if(!u(i)&&!u(r)||this.isNzShowSortChanged||(this.nzShowSort=!0),u(n)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(n||a)&&this.nzShowFilter){const e=this.nzFilters.filter(e=>e.byDefault).map(e=>e.value);this.nzFilterValue=this.nzFilterMultiple?e:e[0]||null}(r||o||s||n)&&this.updateCalcOperator()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(e,t){1&e&&r.dc("click",function(){return t.emitNextSortValue()}),2&e&&r.Ib("ant-table-column-has-sorters",t.nzShowSort)("ant-table-column-sort","descend"===t.sortOrder||"ascend"===t.sortOrder)},inputs:{nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter",nzColumnKey:"nzColumnKey"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[r.Cb],attrs:Pm,ngContentSelectors:qm,decls:9,vars:2,consts:[[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange",4,"ngIf","ngIfElse"],["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange"],[3,"ngTemplateOutlet"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(e,t){if(1&e&&(r.lc(Hm),r.Ec(0,Vm,1,5,"nz-table-filter",0),r.Ec(1,Bm,1,1,"ng-template",null,1,r.Fc),r.Ec(3,Wm,2,0,"ng-template",null,2,r.Fc),r.Ec(5,$m,1,3,"ng-template",null,3,r.Fc),r.Ec(7,Um,1,0,"ng-template",null,4,r.Fc)),2&e){const e=r.tc(2);r.mc("ngIf",t.nzShowFilter||t.nzCustomFilter)("ngIfElse",e)}},directives:[o.o,Lb,o.t,Mb],encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzShowSort",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzShowFilter",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzCustomFilter",void 0),e})(),Bb=(()=>{class e{constructor(e,t){this.renderer=e,this.elementRef=t,this.changes$=new fe.a,this.nzWidth=null,this.colspan=null,this.colSpan=null,this.rowspan=null,this.rowSpan=null}ngOnChanges(e){const{nzWidth:t,colspan:n,rowspan:i,colSpan:r,rowSpan:o}=e;if(n||r){const e=this.colspan||this.colSpan;Object(_e.g)(e)?this.renderer.removeAttribute(this.elementRef.nativeElement,"colspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"colspan",`${e}`)}if(i||o){const e=this.rowspan||this.rowSpan;Object(_e.g)(e)?this.renderer.removeAttribute(this.elementRef.nativeElement,"rowspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"rowspan",`${e}`)}(t||n)&&this.changes$.next()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.G),r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[r.Cb]}),e})(),Wb=(()=>{class e{constructor(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(e,t){2&e&&(r.Bc("table-layout",t.tableLayout)("width",t.scrollX)("min-width",t.scrollX?"100%":null),r.Ib("ant-table-fixed",t.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:Qm,ngContentSelectors:Dm,decls:9,vars:3,consts:[[3,"width","minWidth",4,"ngFor","ngForOf"],["class","ant-table-thead",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-table-thead"]],template:function(e,t){1&e&&(r.lc(),r.Gc(0,"\n "),r.Ec(1,Km,1,4,"col",0),r.Gc(2,"\n "),r.Ec(3,Ym,4,1,"thead",1),r.Gc(4,"\n "),r.Ec(5,Jm,0,0,"ng-template",2),r.Gc(6,"\n "),r.kc(7),r.Gc(8,"\n ")),2&e&&(r.Eb(1),r.mc("ngForOf",t.listOfColWidth),r.Eb(2),r.mc("ngIf",t.theadTemplate),r.Eb(2),r.mc("ngTemplateOutlet",t.contentTemplate))},directives:[o.n,o.o,o.t],encapsulation:2,changeDetection:0}),e})(),$b=(()=>{class e{constructor(e,t){this.nzTableStyleService=e,this.renderer=t,this.hostWidth$=new cs.a(null),this.enableAutoMeasure$=new cs.a(!1),this.destroy$=new fe.a}ngOnInit(){if(this.nzTableStyleService){const{enableAutoMeasure$:e,hostWidth$:t}=this.nzTableStyleService;e.pipe(Object(ge.a)(this.destroy$)).subscribe(this.enableAutoMeasure$),t.subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${e}`)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Pb),r.Qb(r.G))},e.\u0275cmp=r.Kb({type:e,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(e,t){if(1&e&&r.Kc(Zm,1),2&e){let e;r.sc(e=r.ec())&&(t.tdElement=e.first)}},attrs:eb,ngContentSelectors:Dm,decls:11,vars:4,consts:[[1,"nz-disable-td","ant-table-cell"],["tdElement",""],["class","ant-table-expanded-row-fixed","style","position: sticky; left: 0px; overflow: hidden;",3,"width",4,"ngIf","ngIfElse"],["contentTemplate",""],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0px","overflow","hidden"],[3,"ngTemplateOutlet"]],template:function(e,t){if(1&e&&(r.lc(),r.Gc(0,"\n "),r.Wb(1,"td",0,1),r.Gc(3,"\n "),r.Ec(4,nb,5,5,"div",2),r.hc(5,"async"),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Ec(8,ib,1,0,"ng-template",null,3,r.Fc),r.Gc(10,"\n ")),2&e){const e=r.tc(9);r.Eb(4),r.mc("ngIf",r.ic(5,2,t.enableAutoMeasure$))("ngIfElse",e)}},directives:[o.o,o.t],pipes:[o.b],encapsulation:2,changeDetection:0}),e})(),Ub=(()=>{class e{constructor(e){this.elementRef=e,this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null,this.elementRef.nativeElement.classList.add("ant-table-container")}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-table-inner-default"]],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},decls:6,vars:4,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",0),r.Gc(2,"\n "),r.Rb(3,"table",1),r.Gc(4,"\n "),r.Vb(),r.Gc(5,"\n ")),2&e&&(r.Eb(3),r.mc("contentTemplate",t.contentTemplate)("tableLayout",t.tableLayout)("listOfColWidth",t.listOfColWidth)("theadTemplate",t.theadTemplate))},directives:[Wb],encapsulation:2,changeDetection:0}),e})(),Hb=(()=>{class e{constructor(e,t,n,i,r){this.renderer=e,this.ngZone=t,this.platform=n,this.resizeService=i,this.elementRef=r,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=e=>e,this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new fe.a,this.scroll$=new fe.a,this.destroy$=new fe.a,this.elementRef.nativeElement.classList.add("ant-table-container")}setScrollPositionClassName(e=!1){const{scrollWidth:t,scrollLeft:n,clientWidth:i}=this.tableBodyElement.nativeElement;t===i&&0!==t||e?(this.renderer.removeClass(this.tableMainElement,"ant-table-ping-left"),this.renderer.removeClass(this.tableMainElement,"ant-table-ping-right")):0===n?(this.renderer.removeClass(this.tableMainElement,"ant-table-ping-left"),this.renderer.addClass(this.tableMainElement,"ant-table-ping-right")):t===n+i?(this.renderer.removeClass(this.tableMainElement,"ant-table-ping-right"),this.renderer.addClass(this.tableMainElement,"ant-table-ping-left")):(this.renderer.addClass(this.tableMainElement,"ant-table-ping-left"),this.renderer.addClass(this.tableMainElement,"ant-table-ping-right"))}ngOnChanges(e){const{scrollX:t,scrollY:n,data:i}=e;if(t||n){const e=0!==this.verticalScrollBarWidth;this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&e?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.scroll$.next()}i&&this.data$.next()}ngAfterViewInit(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{const e=this.scroll$.pipe(Object(we.a)(null),Yc(0),Object(u.a)(()=>Object(Wp.a)(this.tableBodyElement.nativeElement,"scroll").pipe(Object(we.a)(!0))),Object(ge.a)(this.destroy$)),t=this.resizeService.subscribe().pipe(Object(ge.a)(this.destroy$)),n=this.data$.pipe(Object(ge.a)(this.destroy$));Object(Gc.a)(e,t,n,this.scroll$).pipe(Object(we.a)(!0),Yc(0),Object(ge.a)(this.destroy$)).subscribe(()=>this.setScrollPositionClassName()),e.pipe(Object(p.a)(()=>!!this.scrollY)).subscribe(()=>this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}ngOnDestroy(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.G),r.Qb(r.B),r.Qb(be.a),r.Qb(Ne),r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-table-inner-scroll"]],viewQuery:function(e,t){if(1&e&&(r.Kc(rb,1,r.l),r.Kc(ob,1,r.l),r.Kc(Sl.d,1,Sl.d)),2&e){let e;r.sc(e=r.ec())&&(t.tableHeaderElement=e.first),r.sc(e=r.ec())&&(t.tableBodyElement=e.first),r.sc(e=r.ec())&&(t.cdkVirtualScrollViewport=e.first)}},inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth",tableMainElement:"tableMainElement"},features:[r.Cb],decls:5,vars:2,consts:[[4,"ngIf"],["class","ant-table-content",3,"ngStyle",4,"ngIf"],[1,"ant-table-header","nz-table-hide-scrollbar",3,"ngStyle"],["tableHeaderElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate"],["class","ant-table-body",3,"ngStyle",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","height",4,"ngIf"],[1,"ant-table-body",3,"ngStyle"],["tableBodyElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-content",3,"ngStyle"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,hb,12,6,"ng-container",0),r.Gc(2,"\n "),r.Ec(3,db,5,5,"div",1),r.Gc(4,"\n ")),2&e&&(r.Eb(1),r.mc("ngIf",t.scrollY),r.Eb(2),r.mc("ngIf",!t.scrollY))},directives:function(){return[o.o,o.p,Wb,Sl.d,Sl.a,Xb,Sl.c,o.t]},encapsulation:2,changeDetection:0}),e})(),qb=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.O))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]}),e})(),Qb=(()=>{class e{constructor(){this.destroy$=new fe.a,this.pageIndex$=new cs.a(1),this.frontPagination$=new cs.a(!0),this.pageSize$=new cs.a(10),this.listOfData$=new cs.a([]),this.pageIndexDistinct$=this.pageIndex$.pipe(Object(a.a)()),this.pageSizeDistinct$=this.pageSize$.pipe(Object(a.a)()),this.listOfCalcOperator$=new cs.a([]),this.queryParams$=Object(Se.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe(Object(ke.a)(0),Object(xe.a)(1),Object(c.a)(([e,t,n])=>({pageIndex:e,pageSize:t,sort:n.filter(e=>e.sortFn).map(e=>({key:e.key,value:e.sortOrder})),filter:n.filter(e=>e.filterFn).map(e=>({key:e.key,value:e.filterValue}))}))),this.listOfDataAfterCalc$=Object(Se.a)([this.listOfData$,this.listOfCalcOperator$]).pipe(Object(c.a)(([e,t])=>{let n=[...e];const i=t.filter(e=>{const{filterValue:t,filterFn:n}=e;return!(null==t||Array.isArray(t)&&0===t.length)&&"function"==typeof n});for(const o of i){const{filterFn:e,filterValue:t}=o;n=n.filter(n=>e(t,n))}const r=t.filter(e=>null!==e.sortOrder&&"function"==typeof e.sortFn).sort((e,t)=>+t.sortPriority-+e.sortPriority);return t.length&&n.sort((e,t)=>{for(const n of r){const{sortFn:i,sortOrder:r}=n;if(i&&r){const n=i(e,t,r);if(0!==n)return"ascend"===r?n:-n}}return 0}),n})),this.listOfFrontEndCurrentPageData$=Object(Se.a)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe(Object(ge.a)(this.destroy$),Object(p.a)(e=>{const[t,n,i]=e;return t<=(Math.ceil(i.length/n)||1)}),Object(c.a)(([e,t,n])=>n.slice((e-1)*t,e*t))),this.listOfCurrentPageData$=this.frontPagination$.pipe(Object(u.a)(e=>e?this.listOfFrontEndCurrentPageData$:this.listOfData$)),this.total$=this.frontPagination$.pipe(Object(u.a)(e=>e?this.listOfDataAfterCalc$:this.listOfData$),Object(c.a)(e=>e.length),Object(a.a)())}updatePageSize(e){this.pageSize$.next(e)}updateFrontPagination(e){this.frontPagination$.next(e)}updatePageIndex(e){this.pageIndex$.next(e)}updateListOfData(e){this.listOfData$.next(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),Kb=(()=>{class e{constructor(e,t,n,i,o,s,a){this.elementRef=e,this.nzResizeObserver=t,this.nzConfigService=n,this.cdr=i,this.nzTableStyleService=o,this.nzTableDataService=s,this.directionality=a,this._nzModuleName="table",this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=e=>e,this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzPaginationType="default",this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzOuterBordered=!1,this.nzLoadingIndicator=null,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new r.n,this.nzPageIndexChange=new r.n,this.nzQueryParams=new r.n,this.nzCurrentPageDataChange=new r.n,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfAutoColWidth=[],this.listOfManualColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.showPagination=!0,this.destroy$=new fe.a,this.loading$=new cs.a(!1),this.templateMode$=new cs.a(!1),this.dir="ltr",this.verticalScrollBarWidth=0,this.elementRef.nativeElement.classList.add("ant-table-wrapper"),this.nzConfigService.getConfigChangeEventForComponent("table").pipe(Object(ge.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}onPageSizeChange(e){this.nzTableDataService.updatePageSize(e)}onPageIndexChange(e){this.nzTableDataService.updatePageIndex(e)}ngOnInit(){var e;const{pageIndexDistinct$:t,pageSizeDistinct$:n,listOfCurrentPageData$:i,total$:r,queryParams$:o}=this.nzTableDataService,{theadTemplate$:s,hasFixLeft$:a,hasFixRight$:l}=this.nzTableStyleService;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),o.pipe(Object(ge.a)(this.destroy$)).subscribe(this.nzQueryParams),t.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{e!==this.nzPageIndex&&(this.nzPageIndex=e,this.nzPageIndexChange.next(e))}),n.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{e!==this.nzPageSize&&(this.nzPageSize=e,this.nzPageSizeChange.next(e))}),r.pipe(Object(ge.a)(this.destroy$),Object(p.a)(()=>this.nzFrontPagination)).subscribe(e=>{e!==this.nzTotal&&(this.nzTotal=e,this.cdr.markForCheck())}),i.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.data=e,this.nzCurrentPageDataChange.next(e),this.cdr.markForCheck()}),s.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.theadTemplate=e,this.cdr.markForCheck()}),a.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.hasFixLeft=e,this.cdr.markForCheck()}),l.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.hasFixRight=e,this.cdr.markForCheck()}),Object(Se.a)([r,this.loading$,this.templateMode$]).pipe(Object(c.a)(([e,t,n])=>0===e&&!t&&!n),Object(ge.a)(this.destroy$)).subscribe(e=>{this.nzTableStyleService.setShowEmpty(e)}),this.verticalScrollBarWidth=Object(_e.l)("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.listOfAutoColWidth=e,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe(Object(ge.a)(this.destroy$)).subscribe(e=>{this.listOfManualColWidth=e,this.cdr.markForCheck()})}ngOnChanges(e){const{nzScroll:t,nzPageIndex:n,nzPageSize:i,nzFrontPagination:r,nzData:o,nzWidthConfig:s,nzNoResult:a,nzLoading:c,nzTemplateMode:l}=e;n&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),i&&this.nzTableDataService.updatePageSize(this.nzPageSize),o&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),r&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),t&&this.setScrollOnChanges(),s&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),c&&this.loading$.next(this.nzLoading),l&&this.templateMode$.next(this.nzTemplateMode),a&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe(Object(c.a)(([e])=>{const{width:t}=e.target.getBoundingClientRect();return Math.floor(t-(this.scrollY?this.verticalScrollBarWidth:0))}),Object(ge.a)(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(pf),r.Qb(Os.a),r.Qb(r.h),r.Qb(Pb),r.Qb(Qb),r.Qb(pe.b,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-table"]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,qb,1),2&e){let e;r.sc(e=r.ec())&&(t.nzVirtualScrollDirective=e.first)}},viewQuery:function(e,t){if(1&e&&r.Kc(Hb,1),2&e){let e;r.sc(e=r.ec())&&(t.nzTableInnerScrollComponent=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-table-wrapper-rtl","rtl"===t.dir)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzPaginationType:"nzPaginationType",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzOuterBordered:"nzOuterBordered",nzLoadingIndicator:"nzLoadingIndicator",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange"},exportAs:["nzTable"],features:[r.Db([Pb,Qb]),r.Cb],ngContentSelectors:Dm,decls:14,vars:27,consts:[[3,"nzDelay","nzSpinning","nzIndicator"],[4,"ngIf"],[1,"ant-table"],["tableMainElement",""],[3,"title",4,"ngIf"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy",4,"ngIf","ngIfElse"],["defaultTemplate",""],[3,"footer",4,"ngIf"],["paginationTemplate",""],["contentTemplate",""],[3,"ngTemplateOutlet"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate"],[3,"footer"],["class","ant-table-pagination ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange",4,"ngIf"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange"]],template:function(e,t){if(1&e&&(r.lc(),r.Wb(0,"nz-spin",0),r.Ec(1,fb,2,1,"ng-container",1),r.Wb(2,"div",2,3),r.Ec(4,gb,1,1,"nz-table-title-footer",4),r.Ec(5,mb,1,13,"nz-table-inner-scroll",5),r.Ec(6,bb,1,4,"ng-template",null,6,r.Fc),r.Ec(8,vb,1,1,"nz-table-title-footer",7),r.Vb(),r.Ec(9,wb,2,1,"ng-container",1),r.Vb(),r.Ec(10,Ob,1,1,"ng-template",null,8,r.Fc),r.Ec(12,Cb,1,0,"ng-template",null,9,r.Fc)),2&e){const e=r.tc(7);r.mc("nzDelay",t.nzLoadingDelay)("nzSpinning",t.nzLoading)("nzIndicator",t.nzLoadingIndicator),r.Eb(1),r.mc("ngIf","both"===t.nzPaginationPosition||"top"===t.nzPaginationPosition),r.Eb(1),r.Ib("ant-table-rtl","rtl"===t.dir)("ant-table-fixed-header",t.nzData.length&&t.scrollY)("ant-table-fixed-column",t.scrollX)("ant-table-has-fix-left",t.hasFixLeft)("ant-table-has-fix-right",t.hasFixRight)("ant-table-bordered",t.nzBordered)("nz-table-out-bordered",t.nzOuterBordered&&!t.nzBordered)("ant-table-middle","middle"===t.nzSize)("ant-table-small","small"===t.nzSize),r.Eb(2),r.mc("ngIf",t.nzTitle),r.Eb(1),r.mc("ngIf",t.scrollY||t.scrollX)("ngIfElse",e),r.Eb(3),r.mc("ngIf",t.nzFooter),r.Eb(1),r.mc("ngIf","both"===t.nzPaginationPosition||"bottom"===t.nzPaginationPosition)}},directives:function(){return[mh,o.o,o.t,Zb,Hb,Ub,bm]},encapsulation:2,changeDetection:0}),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzFrontPagination",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzTemplateMode",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzShowPagination",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzLoading",void 0),Object(me.b)([Object(_e.a)(),Object(me.c)("design:type",Object)],e.prototype,"nzOuterBordered",void 0),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",Object)],e.prototype,"nzLoadingIndicator",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzBordered",void 0),Object(me.b)([Object(Os.b)(),Object(me.c)("design:type",String)],e.prototype,"nzSize",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzShowSizeChanger",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzHideOnSinglePage",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzShowQuickJumper",void 0),Object(me.b)([Object(Os.b)(),Object(_e.a)(),Object(me.c)("design:type",Boolean)],e.prototype,"nzSimple",void 0),e})(),Xb=(()=>{class e{constructor(e){if(this.nzTableStyleService=e,this.isInsideTable=!1,this.showEmpty$=new cs.a(!1),this.noResult$=new cs.a(void 0),this.listOfMeasureColumn$=new cs.a([]),this.destroy$=new fe.a,this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){const{showEmpty$:e,noResult$:t,listOfMeasureColumn$:n}=this.nzTableStyleService;t.pipe(Object(ge.a)(this.destroy$)).subscribe(this.noResult$),n.pipe(Object(ge.a)(this.destroy$)).subscribe(this.listOfMeasureColumn$),e.pipe(Object(ge.a)(this.destroy$)).subscribe(this.showEmpty$)}}onListOfAutoWidthChange(e){this.nzTableStyleService.setListOfAutoWidth(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Pb,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["tbody"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-table-tbody",t.isInsideTable)},ngContentSelectors:Dm,decls:5,vars:6,consts:[[4,"ngIf"],["class","ant-table-placeholder","nz-table-fixed-row","",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth"],["nz-table-fixed-row","",1,"ant-table-placeholder"],["nzComponentName","table",3,"specificContent"]],template:function(e,t){1&e&&(r.lc(),r.Ec(0,Sb,2,1,"ng-container",0),r.hc(1,"async"),r.kc(2),r.Ec(3,Tb,3,3,"tr",1),r.hc(4,"async")),2&e&&(r.mc("ngIf",r.ic(1,2,t.listOfMeasureColumn$)),r.Eb(3),r.mc("ngIf",r.ic(4,4,t.showEmpty$)))},directives:function(){return[o.o,ev,$b,Wl]},pipes:function(){return[o.b]},encapsulation:2,changeDetection:0}),e})(),Yb=(()=>{class e{constructor(e){this.nzTableStyleService=e,this.destroy$=new fe.a,this.listOfFixedColumns$=new cc.a(1),this.listOfColumns$=new cc.a(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe(Object(u.a)(e=>Object(Gc.a)(this.listOfFixedColumns$,...e.map(e=>e.changes$)).pipe(Object(Wc.a)(()=>this.listOfFixedColumns$))),Object(ge.a)(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe(Object(c.a)(e=>e.filter(e=>!1!==e.nzLeft))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe(Object(c.a)(e=>e.filter(e=>!1!==e.nzRight))),this.listOfColumnsChanges$=this.listOfColumns$.pipe(Object(u.a)(e=>Object(Gc.a)(this.listOfColumns$,...e.map(e=>e.changes$)).pipe(Object(Wc.a)(()=>this.listOfColumns$))),Object(ge.a)(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!e}ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe(Object(we.a)(this.listOfCellFixedDirective),Object(ge.a)(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe(Object(we.a)(this.listOfNzThDirective),Object(ge.a)(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(e=>{e.forEach(t=>t.setIsLastLeft(t===e[e.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe(e=>{e.forEach(t=>t.setIsFirstRight(t===e[0]))}),Object(Se.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe(Object(ge.a)(this.destroy$)).subscribe(([e,t])=>{t.forEach((n,i)=>{if(n.isAutoLeft){const r=t.slice(0,i).reduce((e,t)=>e+(t.colspan||t.colSpan||1),0),o=e.slice(0,r).reduce((e,t)=>e+t,0);n.setAutoLeftWidth(`${o}px`)}})}),Object(Se.a)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe(Object(ge.a)(this.destroy$)).subscribe(([e,t])=>{t.forEach((n,i)=>{const r=t[t.length-i-1];if(r.isAutoRight){const n=t.slice(t.length-i,t.length).reduce((e,t)=>e+(t.colspan||t.colSpan||1),0),o=e.slice(e.length-n,e.length).reduce((e,t)=>e+t,0);r.setAutoRightWidth(`${o}px`)}})}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(Pb,8))},e.\u0275dir=r.Lb({type:e,selectors:[["tr",3,"mat-row","",3,"mat-header-row","",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(e,t,n){if(1&e&&(r.Jb(n,Bb,0),r.Jb(n,Fb,0)),2&e){let e;r.sc(e=r.ec())&&(t.listOfNzThDirective=e),r.sc(e=r.ec())&&(t.listOfCellFixedDirective=e)}},hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("ant-table-row",t.isInsideTable)}}),e})(),Jb=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.renderer=t,this.nzTableStyleService=n,this.nzTableDataService=i,this.destroy$=new fe.a,this.isInsideTable=!1,this.nzSortOrderChange=new r.n,this.isInsideTable=!!this.nzTableStyleService}ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){const e=this.listOfNzTrDirective.changes.pipe(Object(we.a)(this.listOfNzTrDirective),Object(c.a)(e=>e&&e.first)),t=e.pipe(Object(u.a)(e=>e?e.listOfColumnsChanges$:Bc.a),Object(ge.a)(this.destroy$));t.subscribe(e=>this.nzTableStyleService.setListOfTh(e)),this.nzTableStyleService.enableAutoMeasure$.pipe(Object(u.a)(e=>e?t:Object(v.a)([]))).pipe(Object(ge.a)(this.destroy$)).subscribe(e=>this.nzTableStyleService.setListOfMeasureColumn(e));const n=e.pipe(Object(u.a)(e=>e?e.listOfFixedLeftColumnChanges$:Bc.a),Object(ge.a)(this.destroy$)),i=e.pipe(Object(u.a)(e=>e?e.listOfFixedRightColumnChanges$:Bc.a),Object(ge.a)(this.destroy$));n.subscribe(e=>{this.nzTableStyleService.setHasFixLeft(0!==e.length)}),i.subscribe(e=>{this.nzTableStyleService.setHasFixRight(0!==e.length)})}if(this.nzTableDataService){const e=this.listOfNzThAddOnComponent.changes.pipe(Object(we.a)(this.listOfNzThAddOnComponent));e.pipe(Object(u.a)(()=>Object(Gc.a)(...this.listOfNzThAddOnComponent.map(e=>e.manualClickOrder$))),Object(ge.a)(this.destroy$)).subscribe(e=>{this.nzSortOrderChange.emit({key:e.nzColumnKey,value:e.sortOrder}),e.nzSortFn&&!1===e.nzSortPriority&&this.listOfNzThAddOnComponent.filter(t=>t!==e).forEach(e=>e.clearSortOrder())}),e.pipe(Object(u.a)(t=>Object(Gc.a)(e,...t.map(e=>e.calcOperatorChange$)).pipe(Object(Wc.a)(()=>e))),Object(c.a)(e=>e.filter(e=>!!e.nzSortFn||!!e.nzFilterFn).map(e=>{const{nzSortFn:t,sortOrder:n,nzFilterFn:i,nzFilterValue:r,nzSortPriority:o,nzColumnKey:s}=e;return{key:s,sortFn:t,sortPriority:o,sortOrder:n,filterFn:i,filterValue:r}})),Yc(0),Object(ge.a)(this.destroy$)).subscribe(e=>{this.nzTableDataService.listOfCalcOperator$.next(e)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G),r.Qb(Pb,8),r.Qb(Qb,8))},e.\u0275cmp=r.Kb({type:e,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(e,t,n){if(1&e&&(r.Jb(n,Yb,1),r.Jb(n,Gb,1)),2&e){let e;r.sc(e=r.ec())&&(t.listOfNzTrDirective=e),r.sc(e=r.ec())&&(t.listOfNzThAddOnComponent=e)}},viewQuery:function(e,t){if(1&e&&r.Kc(xb,3),2&e){let e;r.sc(e=r.ec())&&(t.templateRef=e.first)}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:Dm,decls:6,vars:1,consts:[["contentTemplate",""],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(r.lc(),r.Gc(0,"\n "),r.Ec(1,kb,3,0,"ng-template",null,0,r.Fc),r.Gc(3,"\n "),r.Ec(4,Db,4,1,"ng-container",1),r.Gc(5,"\n ")),2&e&&(r.Eb(4),r.mc("ngIf",!t.isInsideTable))},directives:[o.o,o.t],encapsulation:2,changeDetection:0}),e})(),Zb=(()=>{class e{constructor(){this.title=null,this.footer=null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(e,t){2&e&&r.Ib("ant-table-title",null!==t.title)("ant-table-footer",null!==t.footer)},inputs:{title:"title",footer:"footer"},decls:5,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(r.Gc(0,"\n "),r.Ec(1,zb,2,1,"ng-container",0),r.Gc(2,"\n "),r.Ec(3,jb,2,1,"ng-container",0),r.Gc(4,"\n ")),2&e&&(r.Eb(1),r.mc("nzStringTemplateOutlet",t.title),r.Eb(2),r.mc("nzStringTemplateOutlet",t.footer))},directives:[tr.b],encapsulation:2,changeDetection:0}),e})(),ev=(()=>{class e{constructor(e,t,n){this.nzResizeObserver=e,this.ngZone=t,this.elementRef=n,this.listOfMeasureColumn=[],this.listOfAutoWidth=new r.n,this.destroy$=new fe.a,this.elementRef.nativeElement.classList.add("ant-table-measure-now")}trackByFunc(e,t){return t}ngAfterViewInit(){this.listOfTdElement.changes.pipe(Object(we.a)(this.listOfTdElement)).pipe(Object(u.a)(e=>Object(Se.a)(e.toArray().map(e=>this.nzResizeObserver.observe(e).pipe(Object(c.a)(([e])=>{const{width:t}=e.target.getBoundingClientRect();return Math.floor(t)}))))),Object(ke.a)(16),Object(ge.a)(this.destroy$)).subscribe(e=>{this.ngZone.run(()=>{this.listOfAutoWidth.next(e)})})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(pf),r.Qb(r.B),r.Qb(r.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(e,t){if(1&e&&r.Kc(Zm,1),2&e){let e;r.sc(e=r.ec())&&(t.listOfTdElement=e)}},inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:Ab,decls:1,vars:2,consts:[["class","nz-disable-td","style","padding: 0px; border: 0px; height: 0px;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nz-disable-td",2,"padding","0px","border","0px","height","0px"],["tdElement",""]],template:function(e,t){1&e&&r.Ec(0,Rb,2,0,"td",0),2&e&&r.mc("ngForOf",t.listOfMeasureColumn)("ngForTrackBy",t.trackByFunc)},directives:[o.n],encapsulation:2,changeDetection:0}),e})(),tv=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[pe.a,Ve.f,ya.i,tr.a,Im,mg,Sr.b,ys.c,o.c,be.b,Om,ff,bh,bs,Ge.b,Ql,Sl.f]]}),e})();function nv(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.hc(2,"json"),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.Ic(" ",r.ic(2,1,e.data.responseObj)," ")}}function iv(e,t){if(1&e&&(r.Ub(0),r.Gc(1),r.Tb()),2&e){const e=r.gc();r.Eb(1),r.Ic(" ",e.data.response," ")}}const rv=function(e){return{"subscription-result__list-item--expanded":e}};let ov=(()=>{class e{constructor(){this.data={response:"",responseObj:null,responseTime:0},this.isExpanded=!1}toggleExpanded(){this.isExpanded=!this.isExpanded}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-subscription-result-item"]],inputs:{data:"data"},decls:7,vars:9,consts:[[1,"subscription-result__list-item",3,"ngClass","click"],[1,"subscription-result__list-item-content"],[4,"ngIf"],[1,"subscription-result__list-item-time"]],template:function(e,t){1&e&&(r.Wb(0,"div",0),r.dc("click",function(){return t.toggleExpanded()}),r.Wb(1,"div",1),r.Ec(2,nv,3,3,"ng-container",2),r.Ec(3,iv,2,1,"ng-container",2),r.Vb(),r.Wb(4,"div",3),r.Gc(5),r.hc(6,"date"),r.Vb(),r.Vb()),2&e&&(r.mc("ngClass",r.pc(7,rv,t.isExpanded)),r.Eb(2),r.mc("ngIf",t.data.responseObj),r.Eb(1),r.mc("ngIf",!t.data.responseObj),r.Eb(2),r.Hc(r.jc(6,4,t.data.responseTime,"mediumTime")))},directives:[o.l,o.o],pipes:[o.e,o.h],styles:[""],encapsulation:2}),e})();var sv=n("aEDk");const av=["editor"],cv=["subscriptionResponseList"];function lv(e,t){1&e&&(r.Wb(0,"div",35),r.Gc(1,"\n "),r.Wb(2,"div",36),r.Gc(3,"\n "),r.Wb(4,"div",37),r.Gc(5),r.hc(6,"translate"),r.Vb(),r.Gc(7,"\n "),r.Wb(8,"div",38),r.Gc(9,"\n "),r.Wb(10,"div",7),r.Gc(11,"\n "),r.Rb(12,"div",39),r.Gc(13,"\n "),r.Rb(14,"div",40),r.Gc(15,"\n "),r.Rb(16,"div",40),r.Gc(17,"\n "),r.Rb(18,"div",40),r.Gc(19,"\n "),r.Vb(),r.Gc(20,"\n "),r.Wb(21,"div",11),r.Gc(22,"\n "),r.Rb(23,"div",40),r.Gc(24,"\n "),r.Vb(),r.Gc(25,"\n "),r.Vb(),r.Gc(26,"\n "),r.Vb(),r.Gc(27,"\n "),r.Vb()),2&e&&(r.Eb(5),r.Ic("\n ",r.ic(6,1,"QUERY_RESULT_NO_RESULT_TEXT"),"\n "))}function uv(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",41),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc().uiActionExecuteChange.next(n)}),r.Gc(1),r.Vb()}if(2&e){const e=t.$implicit;r.Eb(1),r.Ic("\n ",e.title,"\n ")}}function hv(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",42),r.Gc(1,"\n "),r.Wb(2,"button",43),r.dc("click",function(){return r.wc(e),r.gc().clearSubscriptionChange.next()}),r.Gc(3),r.hc(4,"translate"),r.Vb(),r.Gc(5,"\n "),r.Wb(6,"button",44),r.dc("click",function(){return r.wc(e),r.gc().stopSubscriptionChange.next()}),r.Gc(7),r.hc(8,"translate"),r.Vb(),r.Gc(9,"\n "),r.Vb()}2&e&&(r.Eb(3),r.Hc(r.ic(4,2,"SUBSCRIPTIONS_CLEAR_TEXT")),r.Eb(4),r.Hc(r.ic(8,4,"SUBSCRIPTIONS_STOP_TEXT")))}function dv(e,t){1&e&&r.Rb(0,"app-subscription-result-item",45),2&e&&r.mc("data",t.$implicit)}const pv=function(e){return{"subscription-result__float-action-button--active":e}};function fv(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",46),r.dc("click",function(){return r.wc(e),r.gc().autoscrollSubscriptionResponsesChange.next()}),r.Gc(1),r.hc(2,"translate"),r.Vb()}if(2&e){const e=r.gc();r.mc("ngClass",r.pc(4,pv,e.autoscrollSubscriptionResponses)),r.Eb(1),r.Ic("\n ",r.ic(2,2,"SUBSCRIPTIONS_AUTOSCROLL_TEXT"),"\n ")}}function gv(e,t){if(1&e&&(r.Wb(0,"tr"),r.Gc(1,"\n "),r.Wb(2,"td"),r.Gc(3),r.Vb(),r.Gc(4,"\n "),r.Wb(5,"td"),r.Gc(6),r.Vb(),r.Gc(7,"\n "),r.Vb()),2&e){const e=t.$implicit,n=r.gc();r.Eb(3),r.Hc(e),r.Eb(3),r.Hc(n.responseHeaders[e])}}function mv(e,t){1&e&&(r.Wb(0,"div",47),r.Gc(1),r.hc(2,"translate"),r.Vb()),2&e&&(r.Eb(1),r.Ic("\n ",r.ic(2,1,"RESPONSE_HEADERS_MORE_IN_APPS"),"\n "))}const bv=function(e){return{hide:e}};let vv=(()=>{class e{constructor(){this.queryResult="",this.responseTime=0,this.responseStatus=0,this.responseStatusText="",this.responseHeaders={},this.isSubscribed=!1,this.subscriptionResponses=[],this.subscriptionUrl="",this.tabSize=2,this.autoscrollSubscriptionResponses=!1,this.uiActions=[],this.downloadResultChange=new r.n,this.stopSubscriptionChange=new r.n,this.clearSubscriptionChange=new r.n,this.autoscrollSubscriptionResponsesChange=new r.n,this.uiActionExecuteChange=new r.n,this.isElectron=L.a,this.selectedIndex=0,this.resultEditorConfig={mode:"graphql-results",json:!0,tabSize:this.tabSize,indentUnit:this.tabSize,lineWrapping:!0,lineNumbers:!0,foldGutter:!0,readOnly:!0,dragDrop:!1,autoRefresh:!0,theme:"default query-result",gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{"Alt-F":"findPersistent","Ctrl-F":"findPersistent"}}}ngOnChanges(e){var t,n;if(null===(t=null==e?void 0:e.subscriptionResponses)||void 0===t?void 0:t.currentValue){const e=setTimeout(()=>{this.subscriptionResponseList&&this.autoscrollSubscriptionResponses&&(this.subscriptionResponseList.nativeElement.scrollTop=this.subscriptionResponseList.nativeElement.scrollHeight),clearTimeout(e)},50)}(null===(n=null==e?void 0:e.queryResult)||void 0===n?void 0:n.currentValue)&&setTimeout(()=>{var e;return rs(null===(e=this.editor)||void 0===e?void 0:e.codeMirror,!0)},10),(null==e?void 0:e.isSubscribed)&&(e.isSubscribed.currentValue?this.selectedIndex=1:this.subscriptionResponses.length||(this.selectedIndex=0))}ngDoCheck(){var e;rs(null===(e=this.editor)||void 0===e?void 0:e.codeMirror)}subscriptionResponseTrackBy(e,t){return t.responseTime}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-query-result"]],viewQuery:function(e,t){if(1&e&&(r.Kc(av,3),r.Kc(cv,3)),2&e){let e;r.sc(e=r.ec())&&(t.editor=e.first),r.sc(e=r.ec())&&(t.subscriptionResponseList=e.first)}},inputs:{queryResult:"queryResult",responseTime:"responseTime",responseStatus:"responseStatus",responseStatusText:"responseStatusText",responseHeaders:"responseHeaders",isSubscribed:"isSubscribed",subscriptionResponses:"subscriptionResponses",subscriptionUrl:"subscriptionUrl",tabSize:"tabSize",autoscrollSubscriptionResponses:"autoscrollSubscriptionResponses",uiActions:"uiActions"},outputs:{downloadResultChange:"downloadResultChange",stopSubscriptionChange:"stopSubscriptionChange",clearSubscriptionChange:"clearSubscriptionChange",autoscrollSubscriptionResponsesChange:"autoscrollSubscriptionResponsesChange",uiActionExecuteChange:"uiActionExecuteChange"},features:[r.Cb],decls:119,vars:40,consts:[["nzSize","small","nzTabBarGutter","16",1,"main-view-tabs",3,"nzAnimated","nzSelectedIndex","nzSelectedIndexChange"],[3,"nzTitle","nzDisabled"],[1,"query-result-container"],[1,"query-result__normal-container"],["class","query-result__none",4,"ngIf"],[1,"app-result",3,"ngClass"],[1,"response-stats"],[1,"left"],[1,"response-status-code","response-stats__item"],[1,"response-time","response-stats__item"],["name","clock"],[1,"right"],[1,"query-result__bottom-actions"],["track-id","download_result",1,"query-result__download-button",3,"click"],["name","download"],["class","query-result__download-button",3,"click",4,"ngFor","ngForOf"],[1,"app-query-result-textarea",3,"options","ngModel"],["editor",""],[1,"query-result__subscription-container"],[1,"subscription-result"],[1,"subscription-result__actions"],[1,"subscription-result__actions-left"],[1,"subscription-result__actions-url"],["class","subscription-result__actions-right",4,"ngIf"],[1,"subscription-result__list-wrapper"],["subscriptionResponseList",""],[3,"data",4,"ngFor","ngForOf","ngForTrackBy"],[1,"subscription-result__float-actions"],["class","subscription-result__float-action-button",3,"ngClass","click",4,"ngIf"],[3,"nzTitle"],[1,"response-headers__container"],["nzSize","small","nzNoResult","",3,"nzShowPagination","nzTemplateMode"],["smallTable",""],[4,"ngFor","ngForOf"],["class","response-headers__notice",4,"ngIf"],[1,"query-result__none"],[1,"query-result__none-inner"],[1,"query-result__none-subtext"],[1,"query-result__none-art"],[1,"query-result__none-art-button","send"],[1,"query-result__none-art-button"],[1,"query-result__download-button",3,"click"],[1,"subscription-result__actions-right"],["track-id","clear_subscription",1,"subscription-button",3,"click"],["track-id","stop_subscription",1,"subscription-button","subscription-button--stop",3,"click"],[3,"data"],[1,"subscription-result__float-action-button",3,"ngClass","click"],[1,"response-headers__notice"]],template:function(e,t){1&e&&(r.Wb(0,"nz-tabset",0),r.dc("nzSelectedIndexChange",function(e){return t.selectedIndex=e}),r.Gc(1,"\n "),r.Wb(2,"nz-tab",1),r.hc(3,"translate"),r.Gc(4,"\n "),r.Wb(5,"div",2),r.Gc(6,"\n "),r.Wb(7,"div",3),r.Gc(8,"\n "),r.Ec(9,lv,28,3,"div",4),r.Gc(10,"\n "),r.Gc(11,"\n "),r.Wb(12,"div",5),r.Gc(13,"\n "),r.Wb(14,"div",6),r.Gc(15,"\n "),r.Wb(16,"div",7),r.Gc(17,"\n "),r.Wb(18,"span",8),r.Gc(19),r.Vb(),r.Gc(20,"\n "),r.Wb(21,"span",9),r.Rb(22,"app-icon",10),r.Gc(23),r.Vb(),r.Gc(24,"\n "),r.Vb(),r.Gc(25,"\n "),r.Wb(26,"div",11),r.Gc(27,"\n "),r.Vb(),r.Gc(28,"\n "),r.Vb(),r.Gc(29,"\n "),r.Wb(30,"div",12),r.Gc(31,"\n "),r.Wb(32,"button",13),r.dc("click",function(){return t.downloadResultChange.next()}),r.Gc(33,"\n "),r.Rb(34,"app-icon",14),r.Gc(35),r.hc(36,"translate"),r.Vb(),r.Gc(37,"\n "),r.Ec(38,uv,2,1,"button",15),r.Gc(39,"\n "),r.Vb(),r.Gc(40,"\n "),r.Rb(41,"ngx-codemirror",16,17),r.hc(43,"json"),r.Gc(44,"\n "),r.Vb(),r.Gc(45,"\n "),r.Vb(),r.Gc(46,"\n "),r.Vb(),r.Gc(47,"\n "),r.Vb(),r.Gc(48,"\n "),r.Wb(49,"nz-tab",1),r.hc(50,"translate"),r.Gc(51,"\n "),r.Wb(52,"div",2),r.Gc(53,"\n "),r.Wb(54,"div",18),r.Gc(55,"\n "),r.Wb(56,"div",19),r.Gc(57,"\n "),r.Wb(58,"div",20),r.Gc(59,"\n "),r.Wb(60,"div",21),r.Gc(61,"\n "),r.Wb(62,"div",22),r.Gc(63),r.Vb(),r.Gc(64,"\n "),r.Vb(),r.Gc(65,"\n "),r.Ec(66,hv,10,6,"div",23),r.Gc(67,"\n "),r.Vb(),r.Gc(68,"\n "),r.Wb(69,"div",24,25),r.Gc(71,"\n "),r.Ec(72,dv,1,1,"app-subscription-result-item",26),r.Gc(73,"\n "),r.Vb(),r.Gc(74,"\n "),r.Wb(75,"div",27),r.Gc(76,"\n "),r.Ec(77,fv,3,6,"button",28),r.Gc(78,"\n "),r.Vb(),r.Gc(79,"\n "),r.Vb(),r.Gc(80,"\n "),r.Vb(),r.Gc(81,"\n "),r.Vb(),r.Gc(82,"\n "),r.Vb(),r.Gc(83,"\n "),r.Wb(84,"nz-tab",29),r.hc(85,"translate"),r.Gc(86,"\n "),r.Wb(87,"div",2),r.Gc(88,"\n "),r.Wb(89,"div",30),r.Gc(90,"\n "),r.Wb(91,"nz-table",31,32),r.Gc(93,"\n "),r.Wb(94,"thead"),r.Gc(95,"\n "),r.Wb(96,"tr"),r.Gc(97,"\n "),r.Wb(98,"th"),r.Gc(99,"Name"),r.Vb(),r.Gc(100,"\n "),r.Wb(101,"th"),r.Gc(102,"Value"),r.Vb(),r.Gc(103,"\n "),r.Vb(),r.Gc(104,"\n "),r.Vb(),r.Gc(105,"\n "),r.Wb(106,"tbody"),r.Gc(107,"\n "),r.Ec(108,gv,8,2,"tr",33),r.hc(109,"keys"),r.Gc(110,"\n "),r.Vb(),r.Gc(111,"\n "),r.Vb(),r.Gc(112,"\n "),r.Ec(113,mv,3,3,"div",34),r.Gc(114,"\n "),r.Vb(),r.Gc(115,"\n "),r.Vb(),r.Gc(116,"\n "),r.Vb(),r.Gc(117,"\n"),r.Vb(),r.Gc(118,"\n\n")),2&e&&(r.mc("nzAnimated",!1)("nzSelectedIndex",t.selectedIndex),r.Eb(2),r.mc("nzTitle",r.ic(3,26,"QUERY_RESULT_TAB"))("nzDisabled",t.isSubscribed),r.Eb(7),r.mc("ngIf",!t.queryResult),r.Eb(3),r.mc("ngClass",r.pc(38,bv,!t.queryResult)),r.Eb(6),r.Fb("data-status-code",t.responseStatus),r.Eb(1),r.Jc("",t.responseStatus," ",t.responseStatusText,""),r.Eb(4),r.Ic(" ",t.responseTime,"ms"),r.Eb(12),r.Ic("\n ",r.ic(36,28,"QUERY_RESULT_DOWNLOAD_RESULT_BUTTON"),"\n "),r.Eb(3),r.mc("ngForOf",t.uiActions),r.Eb(3),r.mc("options",t.resultEditorConfig)("ngModel",r.ic(43,30,t.queryResult)),r.Eb(8),r.mc("nzTitle",r.ic(50,32,"SUBSCRIPTION_RESULT_TAB"))("nzDisabled",!(t.isSubscribed||null!=t.subscriptionResponses&&t.subscriptionResponses.length)),r.Eb(14),r.Ic("\n ",t.subscriptionUrl,"\n "),r.Eb(3),r.mc("ngIf",t.isSubscribed),r.Eb(6),r.mc("ngForOf",t.subscriptionResponses)("ngForTrackBy",t.subscriptionResponseTrackBy),r.Eb(5),r.mc("ngIf",t.isSubscribed),r.Eb(7),r.mc("nzTitle",r.ic(85,34,"RESPONSE_HEADERS_TAB")),r.Eb(7),r.mc("nzShowPagination",!1)("nzTemplateMode",!0),r.Eb(17),r.mc("ngForOf",r.ic(109,36,t.responseHeaders)),r.Eb(5),r.mc("ngIf",!t.isElectron))},directives:[sg,Kf,o.o,o.l,Xi.a,o.n,Ca,ya.l,ya.o,Kb,Jb,Yb,Vb,Bb,Xb,ov],pipes:[y.c,o.h,sv.a],styles:[""]}),e})();var yv=n("FXUI");const wv=["editor"];function _v(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",4),r.Gc(2,"\n "),r.Wb(3,"div",5),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n ")),2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"SUBSCRIPTION_URL_TEXT")),r.Eb(2),r.Ic("\n ",r.ic(7,4,"SET_SUBSCRIPTION_URL_TEXT"),"\n "))}function Ov(e,t){if(1&e&&(r.Rb(0,"nz-option",16),r.hc(1,"translate")),2&e){const e=t.$implicit;r.mc("nzValue",e.id)("nzLabel",r.ic(1,2,e.copyTag))}}function Cv(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",6),r.Gc(2,"\n "),r.Wb(3,"div",7),r.Gc(4,"\n "),r.Wb(5,"input",8),r.dc("input",function(t){return r.wc(e),r.gc().subscriptionUrlInput(t)}),r.Vb(),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Wb(8,"div",9),r.Gc(9,"\n "),r.Wb(10,"div",10),r.Gc(11),r.hc(12,"translate"),r.Vb(),r.Gc(13,"\n "),r.Wb(14,"nz-select",11),r.dc("ngModelChange",function(t){return r.wc(e),r.gc().updateSubscriptionProviderId(t)}),r.Gc(15,"\n "),r.Ec(16,Ov,2,4,"nz-option",12),r.Gc(17,"\n "),r.Vb(),r.Gc(18,"\n "),r.Vb(),r.Gc(19,"\n\n "),r.Wb(20,"div",9),r.Gc(21,"\n "),r.Wb(22,"div",10),r.Gc(23),r.hc(24,"translate"),r.Vb(),r.Gc(25,"\n "),r.Wb(26,"div",13),r.Gc(27,"\n "),r.Wb(28,"ngx-codemirror",14,15),r.dc("ngModelChange",function(t){return r.wc(e),r.gc().subscriptionConnectionParamsChange.emit(t)}),r.Vb(),r.Gc(30,"\n "),r.Vb(),r.Gc(31,"\n "),r.Vb(),r.Gc(32,"\n "),r.Vb(),r.Gc(33,"\n ")}if(2&e){const e=r.gc();r.Eb(5),r.mc("value",e.subscriptionUrl),r.Eb(6),r.Hc(r.ic(12,8,"SUBSCRIPTION_TYPE_TITLE")),r.Eb(3),r.mc("ngModel",e.selectedSubscriptionProviderId),r.Eb(2),r.mc("ngForOf",e.subscriptionProviders)("ngForTrackBy",e.trackById),r.Eb(7),r.Hc(r.ic(24,10,"SUBSCRIPTION_CONNECTION_PARAMS_TEXT")),r.Eb(5),r.mc("ngModel",e.subscriptionConnectionParams)("options",e.subscriptionConnectionParamsEditorConfig)}}function Ev(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",17),r.Gc(2,"\n "),r.Wb(3,"button",18),r.dc("click",function(t){return r.wc(e),r.gc().toggleDialogChange.next(t)}),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n ")}2&e&&(r.Eb(4),r.Hc(r.ic(5,1,"SAVE_BUTTON")))}let Sv=(()=>{class e{constructor(){this.subscriptionUrl="",this.subscriptionConnectionParams="",this.selectedSubscriptionProviderId="",this.subscriptionProviders=[],this.showDialog=!1,this.toggleDialogChange=new r.n,this.subscriptionUrlChange=new r.n,this.subscriptionConnectionParamsChange=new r.n,this.subscriptionProviderIdChange=new r.n,this.subscriptionConnectionParamsEditorConfig={mode:"javascript",json:!0,lineWrapping:!0,dragDrop:!1,autoRefresh:!0,theme:"default subscription-params",gutters:[],autoCloseBrackets:!0,matchBrackets:!0,lint:{},hintOptions:{completeSingle:!1},jump:{}}}ngOnChanges(){}ngDoCheck(){rs(this.editor&&this.editor.codeMirror)}subscriptionUrlInput(e){e.target&&this.subscriptionUrlChange.emit(e.target.value)}updateSubscriptionProviderId(e){this.subscriptionProviderIdChange.emit(e)}trackById(e,t){return t.id}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-subscription-url-dialog"]],viewQuery:function(e,t){if(1&e&&r.Kc(wv,1),2&e){let e;r.sc(e=r.ec())&&(t.editor=e.first)}},inputs:{subscriptionUrl:"subscriptionUrl",subscriptionConnectionParams:"subscriptionConnectionParams",selectedSubscriptionProviderId:"selectedSubscriptionProviderId",subscriptionProviders:"subscriptionProviders",showDialog:"showDialog"},outputs:{toggleDialogChange:"toggleDialogChange",subscriptionUrlChange:"subscriptionUrlChange",subscriptionConnectionParamsChange:"subscriptionConnectionParamsChange",subscriptionProviderIdChange:"subscriptionProviderIdChange"},features:[r.Cb],decls:12,vars:4,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[1,"app-dialog-body"],[1,"app-dialog-section"],["type","url","placeholder","ws://example.com/subscriptions",1,"dialog-input",3,"value","input"],[1,"subscription-params-section"],[1,"subscription-params-title"],[1,"dialog-select",3,"ngModel","ngModelChange"],[3,"nzValue","nzLabel",4,"ngFor","ngForOf","ngForTrackBy"],[1,"subscription-params-editor-wrapper"],[1,"subscription-params__input",3,"ngModel","options","ngModelChange"],["editor",""],[3,"nzValue","nzLabel"],[1,"app-dialog-footer"],["track-id","close_set_subscription_dialog",1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(r.Wb(0,"nz-modal",0),r.dc("nzVisibleChange",function(e){return t.toggleDialogChange.next(e)})("nzOnCancel",function(e){return t.toggleDialogChange.next(e)}),r.Gc(1,"\n "),r.Ec(2,_v,9,6,"ng-template",null,1,r.Fc),r.Gc(4,"\n\n "),r.Ec(5,Cv,34,12,"ng-template",null,2,r.Fc),r.Gc(7,"\n\n "),r.Ec(8,Ev,8,3,"ng-template",null,3,r.Fc),r.Gc(10,"\n"),r.Vb(),r.Gc(11,"\n")),2&e){const e=r.tc(3),n=r.tc(6),i=r.tc(9);r.mc("nzVisible",t.showDialog)("nzTitle",e)("nzContent",n)("nzFooter",i)}},directives:[ha,Vu,ya.l,ya.o,o.n,Ca,Lu],pipes:[y.c],encapsulation:2}),e})();function Tv(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",4),r.Gc(2,"\n "),r.Wb(3,"div",5),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n ")),2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"HISTORY_TEXT")),r.Eb(2),r.Ic("\n ",r.ic(7,4,"HISTORY_SUB_TEXT"),"\n "))}function xv(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",9),r.dc("click",function(){r.wc(e);const n=t.index;return r.gc(2).restoreHistory(n)}),r.Gc(1),r.Vb()}if(2&e){const e=t.$implicit;r.Eb(1),r.Ic("\n ",e.query,"\n ")}}function kv(e,t){if(1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",6),r.Gc(2,"\n "),r.Wb(3,"div",7),r.Gc(4,"\n "),r.Ec(5,xv,2,1,"div",8),r.Gc(6,"\n "),r.Vb(),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n ")),2&e){const e=r.gc();r.Eb(5),r.mc("ngForOf",e.historyList)("ngForTrackBy",e.trackByIndex)}}function Iv(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",10),r.Gc(2,"\n "),r.Wb(3,"button",11),r.dc("click",function(t){return r.wc(e),r.gc().toggleDialogChange.next(t)}),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6,"\n "),r.Wb(7,"button",12),r.dc("click",function(){return r.wc(e),r.gc().clearHistory()}),r.Gc(8),r.hc(9,"translate"),r.Vb(),r.Gc(10,"\n "),r.Vb(),r.Gc(11,"\n ")}2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"DONE_BUTTON")),r.Eb(4),r.Hc(r.ic(9,4,"HISTORY_CLEAR_TEXT")))}let Dv=(()=>{class e{constructor(){this.historyList=[],this.showDialog=!1,this.toggleDialogChange=new r.n,this.restoreHistoryChange=new r.n,this.clearHistoryChange=new r.n}ngOnInit(){}restoreHistory(e){this.restoreHistoryChange.next(e),this.toggleDialogChange.next()}clearHistory(){this.clearHistoryChange.next()}trackByIndex(e){return e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-history-dialog"]],inputs:{historyList:"historyList",showDialog:"showDialog"},outputs:{toggleDialogChange:"toggleDialogChange",restoreHistoryChange:"restoreHistoryChange",clearHistoryChange:"clearHistoryChange"},decls:12,vars:4,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[1,"app-dialog-body"],[1,"history-container"],["class","history-item",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"history-item",3,"click"],[1,"app-dialog-footer"],["track-id","close_history_dialog",1,"app-button","active-primary","right",3,"click"],["track-id","clear_history_items",1,"app-button","active-secondary","left",3,"click"]],template:function(e,t){if(1&e&&(r.Wb(0,"nz-modal",0),r.dc("nzVisibleChange",function(e){return t.toggleDialogChange.next(e)})("nzOnCancel",function(e){return t.toggleDialogChange.next(e)}),r.Gc(1,"\n "),r.Ec(2,Tv,9,6,"ng-template",null,1,r.Fc),r.Gc(4,"\n\n "),r.Ec(5,kv,9,2,"ng-template",null,2,r.Fc),r.Gc(7,"\n\n "),r.Ec(8,Iv,12,6,"ng-template",null,3,r.Fc),r.Gc(10,"\n"),r.Vb(),r.Gc(11,"\n")),2&e){const e=r.tc(3),n=r.tc(6),i=r.tc(9);r.mc("nzVisible",t.showDialog)("nzTitle",e)("nzContent",n)("nzFooter",i)}},directives:[ha,o.n],pipes:[y.c],encapsulation:2}),e})();function zv(e,t){if(1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",4),r.Gc(2,"\n "),r.Wb(3,"div",5),r.Gc(4),r.Vb(),r.Gc(5),r.Vb(),r.Gc(6,"\n ")),2&e){const e=r.gc();r.Eb(4),r.Hc(e.heading),r.Eb(1),r.Ic("\n ",e.subheading,"\n ")}}function jv(e,t){1&e&&(r.Gc(0,"\n "),r.kc(1),r.Gc(2,"\n "))}function Av(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Gc(1,"\n "),r.Wb(2,"div",7),r.Gc(3,"\n "),r.Wb(4,"button",8),r.dc("click",function(t){return r.wc(e),r.gc(2).onClickSave(t)}),r.Gc(5),r.hc(6,"translate"),r.Vb(),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n "),r.Tb()}2&e&&(r.Eb(5),r.Hc(r.ic(6,1,"SAVE_BUTTON")))}function Rv(e,t){if(1&e&&(r.Gc(0,"\n "),r.Ec(1,Av,9,3,"ng-container",6),r.Gc(2,"\n ")),2&e){const e=r.gc();r.Eb(1),r.mc("ngIf",e.showFooter)}}const Nv=["*"];let Lv=(()=>{class e{constructor(){this.showDialog=!1,this.heading="[DIALOG_HEADING]",this.subheading="[DIALOG_SUBHEADING]",this.showFooter=!0,this.toggleDialog=new r.n,this.saveChange=new r.n}ngOnInit(){}onClickSave(e){this.toggleDialog.emit(e),this.saveChange.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-dialog"]],inputs:{showDialog:"showDialog",heading:"heading",subheading:"subheading",showFooter:"showFooter"},outputs:{toggleDialog:"toggleDialog",saveChange:"saveChange"},ngContentSelectors:Nv,decls:12,vars:4,consts:[[3,"nzVisible","nzTitle","nzContent","nzFooter","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[4,"ngIf"],[1,"app-dialog-footer"],[1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(r.lc(),r.Wb(0,"nz-modal",0),r.dc("nzVisibleChange",function(e){return t.toggleDialog.next(e)})("nzOnCancel",function(){return t.toggleDialog.next()}),r.Gc(1,"\n "),r.Ec(2,zv,7,2,"ng-template",null,1,r.Fc),r.Gc(4,"\n\n "),r.Ec(5,jv,3,0,"ng-template",null,2,r.Fc),r.Gc(7,"\n\n "),r.Ec(8,Rv,3,1,"ng-template",null,3,r.Fc),r.Gc(10,"\n"),r.Vb(),r.Gc(11,"\n")),2&e){const e=r.tc(3),n=r.tc(6),i=r.tc(9);r.mc("nzVisible",t.showDialog)("nzTitle",e)("nzContent",n)("nzFooter",i)}},directives:[ha,o.o],pipes:[y.c],styles:[""]}),e})();function Mv(e,t){if(1&e&&r.Rb(0,"nz-option",6),2&e){const e=t.$implicit;r.mc("nzValue",e.id)("nzLabel",e.title)}}function Fv(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",2),r.Gc(1),r.hc(2,"translate"),r.Wb(3,"input",8),r.dc("ngModelChange",function(t){return r.wc(e),r.gc().newCollectionTitle=t}),r.hc(4,"translate"),r.Vb(),r.Gc(5,"\n "),r.Vb()}if(2&e){const e=r.gc();r.Eb(1),r.Ic("\n ",r.ic(2,3,"SAVE_TO_COLLECTION_COLLECTION_NAME"),"\n "),r.Eb(2),r.mc("ngModel",e.newCollectionTitle),r.Fb("aria-label",r.ic(4,5,"SAVE_TO_COLLECTION_COLLECTION_NAME"))}}let Pv=(()=>{class e{constructor(){this.showDialog=!1,this.windowTitle="",this.collections=[],this.toggleDialogChange=new r.n,this.createCollectionAndSaveQueryToCollectionChange=new r.n,this.saveQueryToCollectionChange=new r.n,this.newCollectionQueryTitle=this.windowTitle,this.newCollectionTitle="",this.collectionId=null}ngOnChanges(e){e&&e.windowTitle&&e.windowTitle.currentValue&&(this.windowTitle=e.windowTitle.currentValue,this.reset())}ngOnInit(){}createCollectionAndSaveQueryToCollection(){this.createCollectionAndSaveQueryToCollectionChange.emit({queryName:this.newCollectionQueryTitle,collectionName:this.newCollectionTitle}),this.reset()}saveQueryToCollection(){this.saveQueryToCollectionChange.emit({queryName:this.newCollectionQueryTitle,collectionId:this.collectionId}),this.reset()}onSaveChange(){return this.collectionId&&-1!==this.collectionId?this.saveQueryToCollection():this.createCollectionAndSaveQueryToCollection()}reset(){this.newCollectionQueryTitle=this.windowTitle,this.newCollectionTitle="",this.collectionId=null}trackById(e,t){return t.id}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-add-collection-query-dialog"]],inputs:{showDialog:"showDialog",windowTitle:"windowTitle",collections:"collections"},outputs:{toggleDialogChange:"toggleDialogChange",createCollectionAndSaveQueryToCollectionChange:"createCollectionAndSaveQueryToCollectionChange",saveQueryToCollectionChange:"saveQueryToCollectionChange"},features:[r.Cb],decls:35,vars:25,consts:[[3,"showDialog","heading","subheading","toggleDialog","saveChange"],[1,"add-to-collection-wrapper"],[1,"app-dialog-section"],["type","text","data-test-id","collection-query-name",1,"dialog-input",3,"ngModel","ngModelChange"],["name","collection","nzPlaceHolder","Choose",1,"dialog-block",3,"ngModel","ngModelChange"],[3,"nzValue","nzLabel",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzValue","nzLabel"],["class","app-dialog-section",4,"ngIf"],["type","text","data-test-id","new-collection-name",1,"dialog-input",3,"ngModel","ngModelChange"]],template:function(e,t){1&e&&(r.Wb(0,"app-dialog",0),r.dc("toggleDialog",function(e){return t.toggleDialogChange.emit(e)})("saveChange",function(){return t.onSaveChange()}),r.hc(1,"translate"),r.hc(2,"translate"),r.Gc(3,"\n "),r.Wb(4,"div",1),r.Gc(5,"\n "),r.Wb(6,"div",2),r.Gc(7),r.hc(8,"translate"),r.Wb(9,"input",3),r.dc("ngModelChange",function(e){return t.newCollectionQueryTitle=e}),r.hc(10,"translate"),r.Vb(),r.Gc(11,"\n "),r.Vb(),r.Gc(12,"\n "),r.Wb(13,"div",2),r.Gc(14,"\n "),r.Wb(15,"nz-form-label"),r.Gc(16),r.hc(17,"translate"),r.Vb(),r.Gc(18,"\n "),r.Wb(19,"nz-form-control"),r.Gc(20,"\n "),r.Wb(21,"nz-select",4),r.dc("ngModelChange",function(e){return t.collectionId=e}),r.Gc(22,"\n "),r.Ec(23,Mv,1,2,"nz-option",5),r.Gc(24,"\n "),r.Rb(25,"nz-option",6),r.hc(26,"translate"),r.Gc(27,"\n "),r.Vb(),r.Gc(28,"\n "),r.Vb(),r.Gc(29,"\n "),r.Vb(),r.Gc(30,"\n "),r.Ec(31,Fv,6,7,"div",7),r.Gc(32,"\n "),r.Vb(),r.Gc(33,"\n"),r.Vb(),r.Gc(34,"\n")),2&e&&(r.mc("showDialog",t.showDialog)("heading",r.ic(1,13,"SAVE_TO_COLLECTION_HEADER"))("subheading",r.ic(2,15,"SAVE_TO_COLLCTION_SUBTEXT")),r.Eb(7),r.Ic("\n ",r.ic(8,17,"SAVE_TO_COLLECTION_NAME_OF_QUERY"),"\n "),r.Eb(2),r.mc("ngModel",t.newCollectionQueryTitle),r.Fb("aria-label",r.ic(10,19,"SAVE_TO_COLLECTION_NAME_OF_QUERY")),r.Eb(7),r.Hc(r.ic(17,21,"SAVE_TO_COLLECTION_SELECT_COLLECTION")),r.Eb(5),r.mc("ngModel",t.collectionId),r.Eb(2),r.mc("ngForOf",t.collections)("ngForTrackBy",t.trackById),r.Eb(2),r.mc("nzValue",-1)("nzLabel",r.ic(26,23,"SAVE_TO_COLLECTION_OR_CREATE_NEW_COLLECTION_LABEL")),r.Eb(6),r.mc("ngIf",-1===t.collectionId))},directives:[Lv,ya.e,ya.l,ya.o,uc,kc,Tc,Vu,o.n,Lu,o.o],pipes:[y.c],encapsulation:2}),e})();var Vv=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};const Gv=function(e){return{"anim-rotate":e}};function Bv(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",19),r.Gc(1,"\n "),r.Wb(2,"div",20),r.Gc(3,"\n "),r.Rb(4,"img",21),r.hc(5,"async"),r.Gc(6),r.hc(7,"translate"),r.Wb(8,"div",22),r.Gc(9,"\n "),r.Wb(10,"button",23),r.dc("click",function(){return r.wc(e),r.gc().cancelRequest()}),r.Gc(11),r.hc(12,"translate"),r.Vb(),r.Gc(13,"\n "),r.Vb(),r.Gc(14,"\n "),r.Vb(),r.Gc(15,"\n "),r.Vb()}if(2&e){const e=r.gc();let t=null;r.mc("@fadeInOutAnimation",void 0),r.Eb(4),r.mc("ngClass",r.pc(10,Gv,null==(t=r.ic(5,4,e.layout$))?null:t.isLoading)),r.Eb(2),r.Ic(" ",r.ic(7,6,"LOADING_INDICATOR_TEXT"),"\n "),r.Eb(5),r.Hc(r.ic(12,8,"CANCEL_TEXT"))}}function Wv(e,t){1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",24),r.Gc(2,"\n "),r.Wb(3,"div",25),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n ")),2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"HEADERS_TEXT")),r.Eb(2),r.Ic("\n ",r.ic(7,4,"SET_HEADERS_DIALOG_SUBTEXT"),"\n "))}const $v=function(e){return{"set-header-input-container--disabled":e}};function Uv(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",28),r.Gc(1,"\n "),r.Wb(2,"label",29),r.dc("ngModelChange",function(n){r.wc(e);const i=t.index;return r.gc(2).headerEnabledChange(n,i)}),r.Vb(),r.Gc(3,"\n "),r.Wb(4,"div",30),r.Gc(5,"\n "),r.Wb(6,"app-fancy-input",31),r.dc("ngModelChange",function(n){r.wc(e);const i=t.index;return r.gc(2).headerKeyChange(n,i)})("submit",function(){return r.wc(e),r.gc(2).toggleHeader()}),r.Vb(),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n "),r.Wb(9,"div",30),r.Gc(10,"\n "),r.Wb(11,"app-fancy-input",32),r.dc("ngModelChange",function(n){r.wc(e);const i=t.index;return r.gc(2).headerValueChange(n,i)})("submit",function(){return r.wc(e),r.gc(2).toggleHeader()}),r.Vb(),r.Gc(12,"\n "),r.Vb(),r.Gc(13,"\n "),r.Wb(14,"button",33),r.dc("click",function(){r.wc(e);const n=t.index;return r.gc(2).removeHeader(n)}),r.Gc(15,"\xd7"),r.Vb(),r.Gc(16,"\n "),r.Vb()}if(2&e){const e=t.$implicit;r.mc("ngClass",r.pc(4,$v,!e.enabled)),r.Eb(2),r.mc("ngModel",e.enabled),r.Eb(4),r.mc("ngModel",e.key),r.Eb(5),r.mc("ngModel",e.value)}}function Hv(e,t){if(1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",26),r.Gc(2,"\n "),r.Ec(3,Uv,17,6,"div",27),r.hc(4,"async"),r.Gc(5,"\n "),r.Vb(),r.Gc(6,"\n ")),2&e){const e=r.gc();r.Eb(3),r.mc("ngForOf",r.ic(4,2,e.headers$))("ngForTrackBy",e.trackByFn)}}function qv(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"div",34),r.Gc(2,"\n "),r.Wb(3,"button",35),r.dc("click",function(){return r.wc(e),r.gc().addHeader()}),r.Gc(4),r.hc(5,"translate"),r.Vb(),r.Gc(6,"\n "),r.Wb(7,"button",36),r.dc("click",function(){return r.wc(e),r.gc().toggleHeader()}),r.Gc(8),r.hc(9,"translate"),r.Vb(),r.Gc(10,"\n "),r.Vb(),r.Gc(11,"\n ")}2&e&&(r.Eb(4),r.Hc(r.ic(5,2,"ADD_HEADER_TEXT")),r.Eb(4),r.Hc(r.ic(9,4,"SAVE_BUTTON")))}const Qv=function(e){return{"hide-doc":e}};let Kv=(()=>{let e=class{constructor(e,t,n,i,r){this.gql=e,this.notifyService=t,this.store=n,this.windowService=i,this.subscriptionProviderRegistry=r,this.apiUrl="",this.query="",this.showHeaderDialog=!1,this.showVariableDialog=!1,this.showSubscriptionUrlDialog=!1,this.showHistoryDialog=!1,this.showAddToCollectionDialog=!1,this.showPreRequestDialog=!0,this.gqlSchema=null,this.subscriptionUrl="",this.subscriptionConnectionParams="",this.availableSubscriptionProviders=this.subscriptionProviderRegistry.getAllProviderData(),this.selectedSubscriptionProviderId="",this.historyList=[]}ngOnInit(){this.addQueryDepthLimit$=this.store.pipe(Object(g.q)(e=>e.settings.addQueryDepthLimit)),this.tabSize$=this.store.pipe(Object(g.q)(e=>e.settings.tabSize)),this.collections$=this.store.pipe(Object(g.q)(e=>e.collection.list)),this.query$=this.getWindowState().pipe(Object(g.q)(O.m)),this.queryResult$=this.getWindowState().pipe(Object(g.q)(O.l)),this.showDocs$=this.getWindowState().pipe(Object(g.q)(O.v)),this.docView$=this.getWindowState().pipe(Object(g.q)(O.c)),this.docsIsLoading$=this.getWindowState().pipe(Object(g.q)(O.d)),this.headers$=this.getWindowState().pipe(Object(g.q)(O.f)),this.variables$=this.getWindowState().pipe(Object(g.q)(O.z)),this.introspection$=this.getWindowState().pipe(Object(g.q)(O.g)),this.allowIntrospection$=this.getWindowState().pipe(Object(g.q)(O.a)),this.schemaLastUpdatedAt$=this.getWindowState().pipe(Object(g.q)(O.t)),this.responseStatus$=this.getWindowState().pipe(Object(g.q)(O.p)),this.responseTime$=this.getWindowState().pipe(Object(g.q)(O.r)),this.responseStatusText$=this.getWindowState().pipe(Object(g.q)(O.q)),this.responseHeaders$=this.getWindowState().pipe(Object(g.q)(O.o)),this.isSubscribed$=this.getWindowState().pipe(Object(g.q)(O.A)),this.subscriptionResponses$=this.getWindowState().pipe(Object(g.q)(O.y)),this.autoscrollSubscriptionResponses$=this.getWindowState().pipe(Object(g.q)(O.b)),this.selectedOperation$=this.getWindowState().pipe(Object(g.q)(O.u)),this.queryOperations$=this.getWindowState().pipe(Object(g.q)(O.k)),this.streamState$=this.getWindowState().pipe(Object(g.q)(O.x)),this.currentCollection$=this.getWindowState().pipe(Object(u.a)(e=>e&&e.layout.collectionId?this.collections$.pipe(Object(c.a)(t=>t.find(t=>t.id===e.layout.collectionId))):Bc.a)),this.preRequest$=this.getWindowState().pipe(Object(g.q)(O.j)),this.postRequest$=this.getWindowState().pipe(Object(g.q)(O.i)),this.layout$=this.getWindowState().pipe(Object(g.q)(O.h)),this.resultPaneUiActions$=this.store.select(O.s),this.store.pipe(Object(F.b)(this),Object(c.a)(e=>e.windows[this.windowId]),Object(a.a)()).subscribe(e=>{if(!e)return!1;const t=this.query;this.apiUrl=e.query.url;const n=e.query.query||"";if(this.query=n,this.showHeaderDialog=e.dialogs.showHeaderDialog,this.showVariableDialog=e.dialogs.showVariableDialog,this.showSubscriptionUrlDialog=e.dialogs.showSubscriptionUrlDialog,this.showHistoryDialog=e.dialogs.showHistoryDialog,this.showAddToCollectionDialog=e.dialogs.showAddToCollectionDialog,this.showPreRequestDialog=e.dialogs.showPreRequestDialog,this.subscriptionUrl=e.query.subscriptionUrl,this.subscriptionConnectionParams=e.query.subscriptionConnectionParams||"",this.selectedSubscriptionProviderId=e.query.subscriptionProviderId||lp.b,this.historyList=e.history.list,this.gql.isSchema(e.schema.schema))this.gqlSchema=e.schema.schema;else{const t=this.gql.getIntrospectionSchema(e.schema.introspection);t&&this.store.dispatch(new np.n(this.windowId,t))}if(t!==this.query&&this.gqlSchema)try{this.variableToType=cp()(this.gqlSchema,this.gql.parseQuery(n))}catch(i){}}),this.windowService.setupWindow(this.windowId)}setApiUrl(e){e!==this.apiUrl&&(this.store.dispatch(new C.Z({url:e},this.windowId)),this.store.dispatch(new C.K(this.windowId)))}setApiMethod(e){this.store.dispatch(new C.M({httpVerb:e},this.windowId))}sendRequest(e={}){e.operationName&&this.store.dispatch(new C.T(this.windowId,{selectedOperation:e.operationName})),this.store.dispatch(new C.L(this.windowId))}cancelRequest(){this.store.dispatch(new C.g(this.windowId))}selectOperation(e){this.store.dispatch(new C.T(this.windowId,{selectedOperation:e})),this.sendRequest()}setQueryEditorState(e){this.store.dispatch(new C.O(this.windowId,e))}startSubscription(){this.store.dispatch(new C.ab(this.windowId))}stopSubscription(){this.store.dispatch(new C.bb(this.windowId))}clearSubscription(){this.store.dispatch(new C.X(this.windowId,{list:[]}))}toggleAutoscrollSubscriptionResponses(){this.store.dispatch(new C.db(this.windowId))}updateQuery(e){this.store.dispatch(new C.N(e,this.windowId))}toggleHeader(e){this.showHeaderDialog!==e&&this.store.dispatch(new E.h(this.windowId))}toggleVariableDialog(e){this.showVariableDialog!==e&&this.store.dispatch(new E.l(this.windowId))}toggleSubscriptionUrlDialog(e){this.showSubscriptionUrlDialog!==e&&this.store.dispatch(new E.k(this.windowId))}toggleHistoryDialog(e){this.showHistoryDialog!==e&&this.store.dispatch(new E.i(this.windowId))}toggleAddToCollectionDialog(e){this.showAddToCollectionDialog!==e&&this.store.dispatch(new E.g(this.windowId))}togglePreRequestDialog(e){this.showPreRequestDialog!==e&&this.store.dispatch(new E.j(this.windowId))}setDocView(e){this.store.dispatch(new tp.d(this.windowId,{docView:e}))}onShowTokenInDocs(e){this.setDocView(e),this.showDocs$.pipe(Object(l.a)(1),Object(F.b)(this)).subscribe({next:e=>{e||this.toggleDocs()}})}toggleDocs(){this.store.dispatch(new tp.h(this.windowId))}reloadDocs(){this.store.dispatch(new C.K(this.windowId))}addHeader(){this.store.dispatch(new Zd.b(this.windowId))}headerKeyChange(e,t){this.store.dispatch(new Zd.g({val:e,i:t},this.windowId))}headerValueChange(e,t){this.store.dispatch(new Zd.h({val:e,i:t},this.windowId))}headerEnabledChange(e,t){this.store.dispatch(new Zd.f({val:e,i:t},this.windowId))}removeHeader(e){this.store.dispatch(new Zd.j(e,this.windowId))}updateVariables(e){this.store.dispatch(new ep.l(e,this.windowId))}addFileVariable(){this.store.dispatch(new ep.b(this.windowId))}updateFileVariableName({index:e,name:t}){this.store.dispatch(new ep.k(this.windowId,{index:e,name:t}))}updateFileVariableIsMultiple({index:e,isMultiple:t}){this.store.dispatch(new ep.j(this.windowId,{index:e,isMultiple:t}))}updateFileVariableData({index:e,fileData:t}){this.store.dispatch(new ep.i(this.windowId,{index:e,fileData:t}))}deleteFileVariable({index:e}){this.store.dispatch(new ep.d(this.windowId,{index:e}))}updateSubscriptionUrl(e){this.store.dispatch(new C.Y({subscriptionUrl:e},this.windowId))}updateSubscriptionConnectionParams(e){this.store.dispatch(new C.V(this.windowId,{connectionParams:e}))}updateSubscriptionProviderId(e){this.store.dispatch(new C.W(this.windowId,{providerId:e}))}updatePreRequestScript(e){this.store.dispatch(new rp.d(this.windowId,{script:e}))}updatePreRequestEnabled(e){this.store.dispatch(new rp.c(this.windowId,{enabled:e}))}updatePostRequestScript(e){this.store.dispatch(new op.d(this.windowId,{script:e}))}updatePostRequestEnabled(e){this.store.dispatch(new op.c(this.windowId,{enabled:e}))}addQueryToEditor(e){this.store.dispatch(new C.N(`${this.query}\n${e.query}`,this.windowId)),e.meta.hasArgs&&this.notifyService.warning("Fill in the arguments for the query!")}downloadResult(){this.store.dispatch(new C.l(this.windowId))}restoreHistory(e){this.historyList[e]&&this.store.dispatch(new C.N(this.historyList[e].query,this.windowId))}clearHistory(){this.store.dispatch(new ip.d(this.windowId,{}))}createCollectionAndSaveQueryToCollection({queryName:e="",collectionName:t=""}){this.store.dispatch(new D.b({collectionTitle:t,windowId:this.windowId,windowTitle:e})),this.onCloseAddToCollectionDialog()}saveQueryToCollection({queryName:e="",collectionId:t=0}){this.store.dispatch(new D.q({windowId:this.windowId,collectionId:t,windowTitle:e})),this.onCloseAddToCollectionDialog()}updateQueryInCollection(){this.store.dispatch(new D.x({windowId:this.windowId}))}onCloseAddToCollectionDialog(){this.toggleAddToCollectionDialog(!1)}exportSDL(){this.store.dispatch(new np.b(this.windowId))}loadSchemaFromSDL(){this.store.dispatch(new np.d(this.windowId))}onExecuteUiAction(e){e.execute()}exportWindowData(){this.store.dispatch(new T.d({windowId:this.windowId}))}trackByFn(e){return e}getWindowState(){return this.store.pipe(Object(g.q)(O.E(this.windowId)))}trackById(e,t){return t.id}};return e.\u0275fac=function(t){return new(t||e)(r.Qb(R.GqlService),r.Qb(R.NotifyService),r.Qb(g.h),r.Qb(R.WindowService),r.Qb(R.SubscriptionProviderRegistryService))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-window"]],inputs:{windowId:"windowId"},decls:82,vars:130,consts:[[1,"app-window__content"],["class","window-loader",4,"ngIf"],[3,"apiUrl","httpVerb","isSubscribed","isLoading","showDocs","selectedOperation","queryOperations","streamState","currentCollection","urlChange","httpVerbChange","sendRequest","toggleDocsChange","reloadDocsChange","addToCollectionChange","selectedOperationChange","exportWindowChange","updateQueryInCollectionChange"],[1,"main-content-area"],["data-resize-container","",1,"main-content-row"],[3,"query","gqlSchema","tabSize","variables","showVariableDialog","addQueryDepthLimit","variableToType","preRequest","postRequest","queryChange","sendRequest","variablesChange","toggleVariableDialog","addFileVariableChange","fileVariableNameChange","fileVariableIsMultipleChange","fileVariableDataChange","deleteFileVariableChange","queryEditorStateChange","showTokenInDocsChange","preRequestScriptChange","preRequestEnabledChange","postRequestScriptChange","postRequestEnabledChange"],["queryEditor",""],[3,"queryResult","responseTime","responseStatus","responseStatusText","responseHeaders","isSubscribed","subscriptionResponses","subscriptionUrl","tabSize","autoscrollSubscriptionResponses","uiActions","downloadResultChange","stopSubscriptionChange","clearSubscriptionChange","autoscrollSubscriptionResponsesChange","uiActionExecuteChange"],[3,"docView","gqlSchema","allowIntrospection","ngClass","isLoading","addQueryDepthLimit","tabSize","lastUpdatedAt","setDocViewChange","toggleDocsChange","addQueryToEditorChange","exportSDLChange","loadSchemaChange"],[1,"dialogs"],[3,"nzVisible","nzTitle","nzContent","nzFooter","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],["modalFooter",""],[3,"subscriptionUrl","subscriptionConnectionParams","subscriptionProviders","selectedSubscriptionProviderId","showDialog","toggleDialogChange","subscriptionUrlChange","subscriptionConnectionParamsChange","subscriptionProviderIdChange"],[3,"historyList","showDialog","toggleDialogChange","restoreHistoryChange","clearHistoryChange"],[3,"showDialog","windowTitle","collections","toggleDialogChange","saveQueryToCollectionChange","createCollectionAndSaveQueryToCollectionChange"],[3,"showDialog","heading","subheading","toggleDialog"],[3,"preRequest","preRequestScriptChange","preRequestEnabledChange"],[1,"window-loader"],[1,"window-loader__content"],["src","assets/img/logo.svg","alt","",1,"loader-img","anim",3,"ngClass"],[1,"window-loader__actions"],["track-id","cancel_request",1,"app-button","cancel-request-button",3,"click"],[1,"app-dialog-header"],[1,"app-dialog-title"],[1,"app-dialog-body"],["class","set-header-input-container",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"set-header-input-container",3,"ngClass"],["nz-checkbox","",3,"ngModel","ngModelChange"],[1,"set-header-input-column"],["placeholder","Header key",1,"set-header-input",3,"ngModel","ngModelChange","submit"],["placeholder","Header value",1,"set-header-input",3,"ngModel","ngModelChange","submit"],[1,"header-input-remove-button",3,"click"],[1,"app-dialog-footer"],["track-id","add_header",1,"app-button","active-grey","left",3,"click"],[1,"app-button","active-primary","right",3,"click"]],template:function(e,t){if(1&e&&(r.Wb(0,"div",0),r.Gc(1,"\n "),r.Ec(2,Bv,16,12,"div",1),r.hc(3,"async"),r.Gc(4,"\n "),r.Wb(5,"app-url-box",2),r.dc("urlChange",function(e){return t.setApiUrl(e)})("httpVerbChange",function(e){return t.setApiMethod(e)})("sendRequest",function(){return t.sendRequest()})("toggleDocsChange",function(){return t.toggleDocs()})("reloadDocsChange",function(){return t.reloadDocs()})("addToCollectionChange",function(){return t.toggleAddToCollectionDialog(!0)})("selectedOperationChange",function(e){return t.selectOperation(e)})("exportWindowChange",function(){return t.exportWindowData()})("updateQueryInCollectionChange",function(){return t.updateQueryInCollection()}),r.hc(6,"async"),r.hc(7,"async"),r.hc(8,"async"),r.hc(9,"async"),r.hc(10,"async"),r.hc(11,"async"),r.hc(12,"async"),r.hc(13,"async"),r.Vb(),r.Gc(14,"\n "),r.Wb(15,"div",3),r.Gc(16,"\n "),r.Wb(17,"div",4),r.Gc(18,"\n "),r.Wb(19,"app-query-editor",5,6),r.dc("queryChange",function(e){return t.updateQuery(e)})("sendRequest",function(e){return t.sendRequest(e)})("variablesChange",function(e){return t.updateVariables(e)})("toggleVariableDialog",function(e){return t.toggleVariableDialog(e)})("addFileVariableChange",function(){return t.addFileVariable()})("fileVariableNameChange",function(e){return t.updateFileVariableName(e)})("fileVariableIsMultipleChange",function(e){return t.updateFileVariableIsMultiple(e)})("fileVariableDataChange",function(e){return t.updateFileVariableData(e)})("deleteFileVariableChange",function(e){return t.deleteFileVariable(e)})("queryEditorStateChange",function(e){return t.setQueryEditorState(e)})("showTokenInDocsChange",function(e){return t.onShowTokenInDocs(e)})("preRequestScriptChange",function(e){return t.updatePreRequestScript(e)})("preRequestEnabledChange",function(e){return t.updatePreRequestEnabled(e)})("postRequestScriptChange",function(e){return t.updatePostRequestScript(e)})("postRequestEnabledChange",function(e){return t.updatePostRequestEnabled(e)}),r.hc(21,"async"),r.hc(22,"async"),r.hc(23,"async"),r.hc(24,"async"),r.hc(25,"async"),r.Vb(),r.Gc(26,"\n "),r.Wb(27,"app-query-result",7),r.dc("downloadResultChange",function(){return t.downloadResult()})("stopSubscriptionChange",function(){return t.stopSubscription()})("clearSubscriptionChange",function(){return t.clearSubscription()})("autoscrollSubscriptionResponsesChange",function(){return t.toggleAutoscrollSubscriptionResponses()})("uiActionExecuteChange",function(e){return t.onExecuteUiAction(e)}),r.hc(28,"async"),r.hc(29,"async"),r.hc(30,"async"),r.hc(31,"async"),r.hc(32,"async"),r.hc(33,"async"),r.hc(34,"async"),r.hc(35,"async"),r.hc(36,"async"),r.hc(37,"async"),r.Vb(),r.Gc(38,"\n "),r.Wb(39,"app-doc-viewer",8),r.dc("setDocViewChange",function(e){return t.setDocView(e)})("toggleDocsChange",function(){return t.toggleDocs()})("addQueryToEditorChange",function(e){return t.addQueryToEditor(e)})("exportSDLChange",function(){return t.exportSDL()})("loadSchemaChange",function(){return t.loadSchemaFromSDL()}),r.hc(40,"async"),r.hc(41,"async"),r.hc(42,"async"),r.hc(43,"async"),r.hc(44,"async"),r.hc(45,"async"),r.hc(46,"async"),r.Vb(),r.Gc(47,"\n "),r.Vb(),r.Gc(48,"\n "),r.Vb(),r.Gc(49,"\n "),r.Wb(50,"div",9),r.Gc(51,"\n "),r.Wb(52,"nz-modal",10),r.dc("nzVisibleChange",function(e){return t.toggleHeader(e)})("nzOnCancel",function(){return t.toggleHeader()}),r.Gc(53,"\n "),r.Ec(54,Wv,9,6,"ng-template",null,11,r.Fc),r.Gc(56,"\n\n "),r.Ec(57,Hv,7,4,"ng-template",null,12,r.Fc),r.Gc(59,"\n\n "),r.Ec(60,qv,12,6,"ng-template",null,13,r.Fc),r.Gc(62,"\n "),r.Vb(),r.Gc(63,"\n "),r.Wb(64,"app-subscription-url-dialog",14),r.dc("toggleDialogChange",function(e){return t.toggleSubscriptionUrlDialog(e)})("subscriptionUrlChange",function(e){return t.updateSubscriptionUrl(e)})("subscriptionConnectionParamsChange",function(e){return t.updateSubscriptionConnectionParams(e)})("subscriptionProviderIdChange",function(e){return t.updateSubscriptionProviderId(e)}),r.Vb(),r.Gc(65,"\n "),r.Wb(66,"app-history-dialog",15),r.dc("toggleDialogChange",function(e){return t.toggleHistoryDialog(e)})("restoreHistoryChange",function(e){return t.restoreHistory(e)})("clearHistoryChange",function(){return t.clearHistory()}),r.Vb(),r.Gc(67,"\n "),r.Wb(68,"app-add-collection-query-dialog",16),r.dc("toggleDialogChange",function(e){return t.toggleAddToCollectionDialog(e)})("saveQueryToCollectionChange",function(e){return t.saveQueryToCollection(e)})("createCollectionAndSaveQueryToCollectionChange",function(e){return t.createCollectionAndSaveQueryToCollection(e)}),r.hc(69,"async"),r.hc(70,"async"),r.Vb(),r.Gc(71,"\n "),r.Wb(72,"app-dialog",17),r.dc("toggleDialog",function(e){return t.togglePreRequestDialog(e)}),r.hc(73,"translate"),r.hc(74,"translate"),r.Gc(75,"\n "),r.Wb(76,"app-pre-request-editor",18),r.dc("preRequestScriptChange",function(e){return t.updatePreRequestScript(e)})("preRequestEnabledChange",function(e){return t.updatePreRequestEnabled(e)}),r.hc(77,"async"),r.Vb(),r.Gc(78,"\n "),r.Vb(),r.Gc(79,"\n "),r.Vb(),r.Gc(80,"\n"),r.Vb(),r.Gc(81,"\n")),2&e){const e=r.tc(55),n=r.tc(58),i=r.tc(61);let o=null,s=null,a=null,c=null;r.Eb(2),r.mc("ngIf",null==(o=r.ic(3,56,t.layout$))?null:o.isLoading),r.Eb(3),r.mc("apiUrl",t.apiUrl)("httpVerb",null==(s=r.ic(6,58,t.query$))?null:s.httpVerb)("isSubscribed",r.ic(7,60,t.isSubscribed$))("isLoading",null==(a=r.ic(8,62,t.layout$))?null:a.isLoading)("showDocs",r.ic(9,64,t.showDocs$))("selectedOperation",r.ic(10,66,t.selectedOperation$))("queryOperations",r.ic(11,68,t.queryOperations$))("streamState",r.ic(12,70,t.streamState$))("currentCollection",r.ic(13,72,t.currentCollection$)),r.Eb(14),r.mc("query",t.query)("gqlSchema",t.gqlSchema)("tabSize",r.ic(21,74,t.tabSize$))("variables",r.ic(22,76,t.variables$))("showVariableDialog",t.showVariableDialog)("addQueryDepthLimit",r.ic(23,78,t.addQueryDepthLimit$))("variableToType",t.variableToType)("preRequest",r.ic(24,80,t.preRequest$))("postRequest",r.ic(25,82,t.postRequest$)),r.Eb(8),r.mc("queryResult",r.ic(28,84,t.queryResult$))("responseTime",r.ic(29,86,t.responseTime$))("responseStatus",r.ic(30,88,t.responseStatus$))("responseStatusText",r.ic(31,90,t.responseStatusText$))("responseHeaders",r.ic(32,92,t.responseHeaders$))("isSubscribed",r.ic(33,94,t.isSubscribed$))("subscriptionResponses",r.ic(34,96,t.subscriptionResponses$))("subscriptionUrl",t.subscriptionUrl)("tabSize",r.ic(35,98,t.tabSize$))("autoscrollSubscriptionResponses",r.ic(36,100,t.autoscrollSubscriptionResponses$))("uiActions",r.ic(37,102,t.resultPaneUiActions$)),r.Eb(12),r.mc("docView",r.ic(40,104,t.docView$))("gqlSchema",t.gqlSchema)("allowIntrospection",r.ic(41,106,t.allowIntrospection$))("ngClass",r.pc(128,Qv,!r.ic(42,108,t.showDocs$)))("isLoading",r.ic(43,110,t.docsIsLoading$))("addQueryDepthLimit",r.ic(44,112,t.addQueryDepthLimit$))("tabSize",r.ic(45,114,t.tabSize$))("lastUpdatedAt",r.ic(46,116,t.schemaLastUpdatedAt$)),r.Eb(13),r.mc("nzVisible",t.showHeaderDialog)("nzTitle",e)("nzContent",n)("nzFooter",i),r.Eb(12),r.mc("subscriptionUrl",t.subscriptionUrl)("subscriptionConnectionParams",t.subscriptionConnectionParams)("subscriptionProviders",t.availableSubscriptionProviders)("selectedSubscriptionProviderId",t.selectedSubscriptionProviderId)("showDialog",t.showSubscriptionUrlDialog),r.Eb(2),r.mc("historyList",t.historyList)("showDialog",t.showHistoryDialog),r.Eb(2),r.mc("showDialog",t.showAddToCollectionDialog)("windowTitle",null==(c=r.ic(69,118,t.layout$))?null:c.title)("collections",r.ic(70,120,t.collections$)),r.Eb(4),r.mc("showDialog",t.showPreRequestDialog)("heading",r.ic(73,122,"PRE_REQUEST_EDITOR_HEADER"))("subheading",r.ic(74,124,"PRE_REQUEST_EDITOR_SUBTEXT")),r.Eb(4),r.mc("preRequest",r.ic(77,126,t.preRequest$))}},directives:[o.o,Ap,Lg,vv,yv.a,o.l,ha,Sv,Dv,Pv,Lv,yg,o.n,gg,ya.l,ya.o,mp],pipes:[o.b,y.c],encapsulation:2,data:{animation:[sp.a]}}),e=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}([Object(F.a)({checkProperties:!0}),Vv("design:paramtypes",[R.GqlService,R.NotifyService,g.h,R.WindowService,R.SubscriptionProviderRegistryService])],e),e})();var Xv=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};function Yv(e,t){1&e&&(r.Wb(0,"div",73),r.Gc(1,"\n "),r.Wb(2,"div",74),r.Gc(3,"\n "),r.Wb(4,"div",75),r.Gc(5,"\n "),r.Rb(6,"img",76),r.Gc(7,"\n "),r.Vb(),r.Gc(8,"\n "),r.Wb(9,"div",77),r.Gc(10,"\n "),r.Rb(11,"span",78),r.Gc(12,"\n "),r.Rb(13,"span",78),r.Gc(14,"\n "),r.Rb(15,"span",78),r.Gc(16,"\n "),r.Vb(),r.Gc(17,"\n "),r.Vb(),r.Gc(18,"\n "),r.Vb())}function Jv(e,t){if(1&e&&(r.Gc(0,"\n "),r.Wb(1,"div",84),r.Gc(2,"\n "),r.Wb(3,"div",85),r.Gc(4),r.Vb(),r.Gc(5,"\n "),r.Vb(),r.Gc(6,"\n ")),2&e){const e=r.gc().$implicit;r.Eb(4),r.Hc(e.title)}}function Zv(e,t){if(1&e&&(r.Gc(0,"\n "),r.Rb(1,"app-element-wrapper",86),r.Gc(2,"\n ")),2&e){const e=r.gc().$implicit;r.Eb(1),r.mc("element",e.element)}}function ey(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",79),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc().togglePanelActive(n)}),r.Gc(1,"\n "),r.Rb(2,"app-icon",80),r.Gc(3,"\n "),r.Wb(4,"nz-modal",81),r.dc("nzVisibleChange",function(){r.wc(e);const n=t.$implicit;return r.gc().togglePanelActive(n)})("nzOnCancel",function(){r.wc(e);const n=t.$implicit;return r.gc().togglePanelActive(n)}),r.Gc(5,"\n "),r.Ec(6,Jv,7,1,"ng-template",null,82,r.Fc),r.Gc(8,"\n\n "),r.Ec(9,Zv,3,1,"ng-template",null,83,r.Fc),r.Gc(11,"\n "),r.Vb(),r.Gc(12,"\n "),r.Vb()}if(2&e){const e=t.$implicit,n=r.tc(7),i=r.tc(10);r.mc("nzSelected",e.isActive)("popper",e.title)("popperPlacement","bottom"),r.Eb(4),r.mc("nzVisible",e.isActive)("nzTitle",n)("nzContent",i)("nzFooter",null)}}function ty(e,t){if(1&e&&(r.Wb(0,"span"),r.Gc(1,"\n "),r.Rb(2,"app-icon",87),r.Gc(3,"\n "),r.Wb(4,"span"),r.Gc(5),r.hc(6,"async"),r.Vb(),r.Gc(7,"\n "),r.Vb()),2&e){const e=r.gc();let t=null;r.Eb(5),r.Hc(null==(t=r.ic(6,1,e.activeEnvironment$))?null:t.title)}}function ny(e,t){1&e&&(r.Wb(0,"span"),r.Gc(1,"\n "),r.Rb(2,"app-icon",88),r.Gc(3,"\n "),r.Wb(4,"span"),r.Gc(5),r.hc(6,"translate"),r.Vb(),r.Gc(7,"\n "),r.Vb()),2&e&&(r.Eb(5),r.Hc(r.ic(6,1,"NO_ENVIRONMENT_TEXT")))}const iy=function(e){return{active:e}};function ry(e,t){if(1&e){const e=r.Xb();r.Wb(0,"li",91),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc(2).selectActiveEnvironment(n.id)}),r.hc(1,"async"),r.Gc(2),r.Vb()}if(2&e){const e=t.$implicit,n=r.gc(2);r.mc("ngClass",r.pc(4,iy,e.id===r.ic(1,2,n.activeEnvironment$))),r.Eb(2),r.Ic("\n ",e.title,"\n ")}}function oy(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Gc(1,"\n "),r.Ec(2,ry,3,6,"li",89),r.hc(3,"async"),r.Gc(4,"\n "),r.Wb(5,"li",14),r.dc("click",function(){return r.wc(e),r.gc().selectActiveEnvironment(null)}),r.Gc(6),r.hc(7,"translate"),r.Vb(),r.Gc(8,"\n "),r.Rb(9,"li",90),r.Gc(10,"\n "),r.Tb()}if(2&e){const e=r.gc();r.Eb(2),r.mc("ngForOf",r.ic(3,3,e.environments$).subEnvironments)("ngForTrackBy",e.trackById),r.Eb(4),r.Ic("\n ",r.ic(7,5,"NO_ENVIRONMENT_TEXT"),"\n ")}}function sy(e,t){if(1&e&&r.Rb(0,"nz-alert",92),2&e){r.gc();const e=r.tc(87);r.mc("nzMessage",e)}}function ay(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"span",93),r.Gc(2,"\n Disclaimer: The web app has limitations enforced by the WHATWG spec. For the best experience and functionality, use the desktop app or browser extensions instead.\n "),r.Vb(),r.Gc(3,"\n "),r.Wb(4,"button",94),r.dc("click",function(t){return r.wc(e),r.gc().openWebAppLimitationPost(t)}),r.Gc(5,"Learn more"),r.Vb(),r.Gc(6,"\n ")}}const cy=function(e){return{"side-menu-item--active":e}};function ly(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",95),r.dc("click",function(){r.wc(e);const n=t.$implicit;return r.gc().togglePanelActive(n)}),r.Gc(1,"\n "),r.Wb(2,"div",25),r.Gc(3,"\n "),r.Rb(4,"app-icon",80),r.Gc(5,"\n "),r.Vb(),r.Gc(6,"\n "),r.Wb(7,"div",27),r.Gc(8),r.Vb(),r.Gc(9,"\n "),r.Vb()}if(2&e){const e=t.$implicit;r.mc("ngClass",r.pc(3,cy,e.isActive)),r.Fb("aria-label",e.title),r.Eb(8),r.Ic("\n ",e.title,"\n ")}}function uy(e,t){if(1&e&&r.Rb(0,"app-element-wrapper",86),2&e){const e=r.gc().$implicit;r.mc("element",e.element)}}function hy(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Ec(2,uy,1,1,"app-element-wrapper",96),r.Gc(3,"\n "),r.Tb()),2&e){const e=t.$implicit;r.Eb(2),r.mc("ngIf",e.isActive)}}function dy(e,t){if(1&e&&(r.Ub(0),r.Gc(1,"\n "),r.Rb(2,"app-window",97),r.Gc(3,"\n "),r.Tb()),2&e){const e=t.$implicit,n=r.gc();r.Eb(2),r.Ib("hide",e!==n.activeWindowId),r.mc("windowId",e)}}function py(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-alert",98),r.dc("nzOnClose",function(){return r.wc(e),r.gc().hideDonationAlert()}),r.Vb()}if(2&e){r.gc();const e=r.tc(331);r.mc("nzMessage",e)}}function fy(e,t){if(1&e){const e=r.Xb();r.Gc(0,"\n "),r.Wb(1,"span",93),r.Gc(2,"\n Do you find this app useful? Would you mind supporting its development?\n "),r.Vb(),r.Gc(3,"\n "),r.Wb(4,"button",99),r.dc("click",function(t){return r.wc(e),r.gc().openDonationPage(t)}),r.Gc(5,"Donate"),r.Vb(),r.Gc(6,"\n ")}}const gy=function(e){return{"app-header__logo-wrapper--experimental":e}};let my=(()=>{let e=class{constructor(e,t,n,i,r,o,s,f,y,w,_){this.windowService=e,this.store=t,this.translate=n,this.donationService=i,this.electronApp=r,this.keybinder=o,this.pluginRegistry=s,this.pluginEvent=f,this.collectionService=y,this.themeRegistry=w,this.altairConfig=_,this.windowIds=[],this.windows={},this.closedWindows=[],this.activeWindowId="",this.isElectron=L.a,this.isReady=!1,this.showDonationAlert=!1,this.showImportCurlDialog=!1,this.showEditCollectionDialog=!1,this.showCollections=!1,this.appVersion=A.a.version,this.isWebApp=_.isWebApp,this.settings$=this.store.pipe(Object(g.q)("settings")).pipe(Object(a.a)()),this.theme$=this.settings$.pipe(Object(c.a)(e=>{const t=this.themeRegistry.getTheme(e.theme)||{isSystem:!0},n={type:{fontSize:{...e["theme.fontsize"]&&{remBase:e["theme.fontsize"]}}},editor:{...e["theme.editorFontSize"]&&{fontSize:e["theme.editorFontSize"]},...e["theme.editorFontFamily"]&&{fontFamily:{default:e["theme.editorFontFamily"]}}}};return this.themeRegistry.mergeThemes(t,n,e.themeConfig||{})})),this.collection$=this.store.select("collection"),this.windowsMeta$=this.store.select("windowsMeta"),this.environments$=this.store.select("environments"),this.sortedCollections$=this.store.select(O.D),this.activeEnvironment$=this.environments$.pipe(Object(c.a)(e=>{if(e.activeSubEnvironment)return e.subEnvironments.find(t=>t.id===e.activeSubEnvironment)})),this.sidebarPanels$=this.store.select(O.w),this.headerPanels$=this.store.select(O.e),this.setDefaultLanguage(),this.setAvailableLanguages();const C=this.getAppLanguage();Object(m.a)([this.translate.use(C),this.store.pipe(Object(l.a)(1),Object(u.a)(e=>(e.settings["plugin.list"]&&e.settings["plugin.list"].forEach(e=>{const t=this.pluginRegistry.getPluginInfoFromString(e);t&&this.pluginRegistry.fetchPlugin(t.name,t)}),Object(b.a)(this.pluginRegistry.pluginsReady()))),Object(h.a)(7e3),Object(d.a)(e=>Object(v.a)("Plugins were not ready on time!")))]).pipe(Object(F.b)(this)).subscribe(()=>{this.isReady=!0,this.pluginEvent.emit("app-ready",!0)}),this.settings$.pipe(Object(c.a)(e=>e.language),Object(p.a)(e=>!!e),Object(a.a)(),Object(F.b)(this)).subscribe(e=>{this.translate.use(e)}),this.electronApp.connect(),this.keybinder.connect(),this.windowIds$=this.store.select("windows").pipe(Object(c.a)(e=>Object.keys(e))),this.store.pipe(Object(F.b)(this)).subscribe(e=>{this.windows=e.windows,this.windowIds=Object.keys(e.windows),this.closedWindows=e.local.closedWindows,this.showDonationAlert=e.donation.showAlert,this.showImportCurlDialog=e.windowsMeta.showImportCurlDialog,this.showEditCollectionDialog=e.windowsMeta.showEditCollectionDialog,e.windowsMeta.windowIds?this.windowIds=e.windowsMeta.windowIds.filter(e=>!!this.windows[e]):this.store.dispatch(new x.o({ids:this.windowIds})),this.activeWindowId=e.windowsMeta.activeWindowId,M.a.log(e.windows,this.windowIds),!this.windowIds.length||this.activeWindowId&&e.windows[this.activeWindowId]||this.store.dispatch(new x.l({windowId:this.windowIds[0]}))}),this.windowIds.length||this.newWindow()}setDefaultLanguage(){this.translate.setDefaultLang("default")}setAvailableLanguages(){const e=Object.keys(this.altairConfig.languages);this.translate.addLangs(e)}checkLanguageAvailability(e){return this.translate.getLangs().includes(e)}getAppLanguage(){const e=this.translate.getDefaultLang(),t=this.translate.getBrowserLang();return this.checkLanguageAvailability(t)&&!this.altairConfig.isTranslateMode?t:e}newWindow(){this.windowService.newWindow().pipe(Object(f.a)(),Object(F.b)(this)).subscribe(({url:e,windowId:t})=>{this.store.dispatch(new x.l({windowId:t})),e&&this.store.dispatch(new C.K(t))})}setActiveWindow(e){this.store.dispatch(new x.l({windowId:e}))}removeWindow(e){this.windowService.removeWindow(e).pipe(Object(F.b)(this)).subscribe()}duplicateWindow(e){this.windowService.duplicateWindow(e)}setWindowName({windowId:e="",windowName:t=""}){this.store.dispatch(new S.e(e,{title:t,setByUser:!0}))}repositionWindow({currentPosition:e,newPosition:t}){this.store.dispatch(new x.b({currentPosition:e,newPosition:t}))}reopenClosedWindow(){this.store.dispatch(new T.l)}importWindow(){this.store.dispatch(new T.g)}importWindowFromCurl(e){this.store.dispatch(new T.h({data:e}))}showSettingsDialog(){this.store.dispatch(new x.t({value:!0}))}hideSettingsDialog(){this.store.dispatch(new x.t({value:!1}))}setSettingsJson(e){this.store.dispatch(new k.b({value:e}))}setShowImportCurlDialog(e){this.store.dispatch(new x.r({value:e}))}prettifyCode(){this.store.dispatch(new C.n(this.activeWindowId))}compressQuery(){this.store.dispatch(new C.h(this.activeWindowId))}clearEditor(){this.store.dispatch(new C.N("",this.activeWindowId))}copyAsCurl(){this.store.dispatch(new C.j(this.activeWindowId))}convertToNamedQuery(){this.store.dispatch(new C.i(this.activeWindowId))}refactorQuery(){this.store.dispatch(new C.p(this.activeWindowId))}toggleHeader(e){this.store.dispatch(new E.h(this.activeWindowId))}toggleVariableDialog(e){this.store.dispatch(new E.l(this.activeWindowId))}toggleSubscriptionUrlDialog(e){this.store.dispatch(new E.k(this.activeWindowId))}toggleHistoryDialog(e){this.store.dispatch(new E.i(this.activeWindowId))}togglePreRequestDialog(e){this.store.dispatch(new E.j(this.activeWindowId))}toggleEnvironmentManager(e){this.store.dispatch(new x.q({value:e}))}togglePluginManager(e){this.store.dispatch(new x.s({value:e}))}updateBaseEnvironmentJson(e){this.store.dispatch(new z.l(e))}updateSubEnvironmentJson(e){this.store.dispatch(new z.m(e))}updateSubEnvironmentTitle(e){this.store.dispatch(new z.n(e))}addNewSubEnvironment(){this.store.dispatch(new z.b({id:_()()}))}deleteSubEnvironment(e){this.store.dispatch(new z.d(e)),this.selectActiveEnvironment()}selectActiveEnvironment(e){this.store.dispatch(new z.h({id:e}))}repositionSubEnvironments({currentPosition:e,newPosition:t}){this.store.dispatch(new z.f({currentPosition:e,newPosition:t}))}toggleCollections(){this.showCollections=!this.showCollections}loadCollections(){this.store.dispatch(new D.l)}selectQueryFromCollection({query:e,collectionId:t,windowIdInCollection:n}){const i=Object.keys(this.windows).filter(e=>this.windows[e].layout.windowIdInCollection===n);i.length?this.setActiveWindow(i[0]):this.windowService.importWindowData({...e,collectionId:t,windowIdInCollection:n},{fixedTitle:!0})}deleteQueryFromCollection({collectionId:e,query:t}){this.store.dispatch(new D.f({collectionId:e,query:t}))}deleteCollection({collectionId:e}){this.store.dispatch(new D.e({collectionId:e}))}exportCollection({collectionId:e}){this.store.dispatch(new D.h({collectionId:e}))}importCollection(){this.store.dispatch(new D.j)}toggleEditCollectionDialog({collection:e}){this.store.dispatch(new D.r({collection:e})),this.store.dispatch(new x.p({value:!0}))}setShowEditCollectionDialog(e){this.store.dispatch(new x.p({value:e}))}updateCollection({collection:e}){this.store.dispatch(new D.w({collectionId:e.id,collection:e}))}sortCollections({sortBy:e=""}){this.store.dispatch(new D.t({sortBy:e}))}togglePanelActive(e){this.store.dispatch(new j.q({panelId:e.id,isActive:!e.isActive}))}fileDropped(e){var t=this;return Object(s.a)(function*(){if(e&&e.length)try{yield t.windowService.handleImportedFile(e)}catch(n){M.a.log(n);try{yield t.collectionService.handleImportedFile(e)}catch(i){M.a.log(i)}}})()}hideDonationAlert(){this.store.dispatch(new I.b)}openDonationPage(e){this.donationService.donated(),this.externalLink(e,this.altairConfig.donation.url),this.hideDonationAlert()}openWebAppLimitationPost(e){this.externalLink(e,"https://sirmuel.design/altair-graphql-web-app-limitations-b671a0a460b8")}externalLink(e,t){if(e.preventDefault(),window.process&&window.process.versions.electron)window.require("electron").shell.openExternal(t);else{const e=window.open(t,"_blank");e&&e.focus()}}trackById(e,t){return t.id}ngOnDestroy(){}};return e.\u0275fac=function(t){return new(t||e)(r.Qb(R.WindowService),r.Qb(g.h),r.Qb(y.d),r.Qb(R.DonationService),r.Qb(R.ElectronAppService),r.Qb(R.KeybinderService),r.Qb(R.PluginRegistryService),r.Qb(P.a),r.Qb(R.QueryCollectionService),r.Qb(R.ThemeRegistryService),r.Qb(N.a))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-altair"]],decls:337,vars:171,consts:[["appFileDrop","",1,"app-wrapper",3,"appTheme","onFileDropped"],[1,"main-container"],["class","loading-screen styled",4,"ngIf"],[1,"app-header"],[1,"branding","app-header__logo-wrapper",3,"ngClass"],["src","assets/img/logo.svg","alt","logo",1,"header-logo"],[3,"windows","windowIds","activeWindowId","closedWindows","isElectron","newWindowChange","activeWindowChange","removeWindowChange","duplicateWindowChange","windowNameChange","repositionWindowChange","reopenClosedWindowChange"],[1,"header-actions"],["nz-menu","","nzMode","horizontal",1,"app-header__menu","app-header__menu-item--icon",3,"nzSelectable"],["nz-menu-item","",3,"nzSelected","popper","popperPlacement","click",4,"ngFor","ngForOf","ngForTrackBy"],["nz-menu-item","","nz-dropdown","","nzTrigger","click",3,"nzDropdownMenu"],[4,"ngIf"],["environmentsMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"click"],["nz-menu-item","","nz-dropdown","","nzTrigger","click",1,"app-header__menu-item","app-header__menu-item--icon",3,"nzDropdownMenu"],["name","settings"],["settingsMenu","nzDropdownMenu"],["nzBanner","",3,"nzMessage",4,"ngIf"],["webappLimitation",""],[1,"inner-layout"],[1,"main-container-inner"],[1,"app-side-menu"],[1,"side-menu__main"],["track-id","show_set_headers",1,"side-menu-item",3,"click"],[1,"side-menu-item-icon"],["name","loader"],[1,"side-menu-item-label"],["track-id","show_set_variables",1,"side-menu-item",3,"click"],["name","box"],["track-id","show_set_subscription_url",1,"side-menu-item",3,"click"],["name","repeat"],["track-id","show_history",1,"side-menu-item",3,"click"],["name","watch"],[1,"side-menu-item",3,"click"],["name","code"],[1,"side-menu-divider"],[1,"side-menu-item"],["name","briefcase"],[1,"side-menu-item-submenu"],["track-id","prettify",1,"submenu-item",3,"click"],[1,"submenu-item-icon"],["name","sun"],[1,"submenu-item-label"],["track-id","compress_query",1,"submenu-item",3,"click"],["name","minimize-2"],["track-id","clear",1,"submenu-item",3,"click"],["name","trash-2"],["track-id","copy_as_curl",1,"submenu-item",3,"click"],["name","terminal"],["track-id","convert_to_named_query",1,"submenu-item",3,"click"],["name","tag"],[1,"submenu-item",3,"click"],["name","disc"],[1,"side-menu__panels"],["class","side-menu-item",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"side-menu__main-bottom"],["name","grid"],["track-id","show_collections",1,"side-menu-item",3,"ngClass","click"],["name","folder"],[1,"side-menu__extra"],[3,"showCollections","collections","sortBy","loadCollectionsChange","selectQueryChange","deleteQueryChange","deleteCollectionChange","editCollectionChange","exportCollectionChange","importCollectionChange","sortCollectionsChange"],[1,"sidebar__panels"],[4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngFor","ngForOf"],[1,"dialogs"],[3,"showEnvironmentManager","environments","toggleDialogChange","baseEnvironmentJsonChange","subEnvironmentJsonChange","subEnvironmentTitleChange","addSubEnvironmentChange","deleteSubEnvironmentChange","repositionSubEnvironmentsChange"],[3,"showPluginManager","settings","toggleDialogChange","settingsJsonChange"],[3,"showSettingsDialog","settings","appVersion","toggleDialogChange","settingsJsonChange"],[3,"showImportCurlDialog","toggleDialogChange","importCurlChange"],[3,"showEditCollectionDialog","collection","toggleDialogChange","updateCollectionChange"],["nzBanner","","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],["supportDevelopment",""],[1,"loading-screen","styled"],[1,"loading-screen-inner"],[1,"loading-screen-logo-container"],["src","assets/img/logo_350.svg","alt","Altair"],[1,"loading-screen-loading-indicator"],[1,"loading-indicator-dot"],["nz-menu-item","",3,"nzSelected","popper","popperPlacement","click"],["name","cpu"],[3,"nzVisible","nzTitle","nzContent","nzFooter","nzVisibleChange","nzOnCancel"],["modalTitle",""],["modalContent",""],[1,"app-dialog-header"],[1,"app-dialog-title"],[3,"element"],["name","eye"],["name","eye-off"],["nz-menu-item","",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],["nz-menu-divider",""],["nz-menu-item","",3,"ngClass","click"],["nzBanner","",3,"nzMessage"],[1,"alert-text"],["track-id","web_app_disclaimer_learn_more",1,"btn","alert-action",3,"click"],[1,"side-menu-item",3,"ngClass","click"],[3,"element",4,"ngIf"],[3,"windowId"],["nzBanner","","nzCloseable","",3,"nzMessage","nzOnClose"],["track-id","donate",1,"btn","alert-action",3,"click"]],template:function(e,t){if(1&e&&(r.Wb(0,"div",0),r.dc("onFileDropped",function(e){return t.fileDropped(e)}),r.hc(1,"async"),r.Gc(2,"\n"),r.Wb(3,"nz-layout",1),r.Gc(4,"\n "),r.Ec(5,Yv,19,0,"div",2),r.Gc(6,"\n "),r.Wb(7,"nz-header",3),r.Gc(8,"\n "),r.Wb(9,"div",4),r.hc(10,"async"),r.Gc(11,"\n "),r.Rb(12,"img",5),r.Gc(13,"\n "),r.Vb(),r.Gc(14,"\n\n "),r.Wb(15,"app-window-switcher",6),r.dc("newWindowChange",function(){return t.newWindow()})("activeWindowChange",function(e){return t.setActiveWindow(e)})("removeWindowChange",function(e){return t.removeWindow(e)})("duplicateWindowChange",function(e){return t.duplicateWindow(e)})("windowNameChange",function(e){return t.setWindowName(e)})("repositionWindowChange",function(e){return t.repositionWindow(e)})("reopenClosedWindowChange",function(){return t.reopenClosedWindow()}),r.Vb(),r.Gc(16,"\n "),r.Wb(17,"div",7),r.Gc(18,"\n "),r.Wb(19,"ul",8),r.Gc(20,"\n\n "),r.Ec(21,ey,13,7,"li",9),r.hc(22,"async"),r.Gc(23,"\n\n "),r.Wb(24,"li",10),r.Gc(25,"\n "),r.Ec(26,ty,8,3,"span",11),r.hc(27,"async"),r.Gc(28,"\n "),r.Ec(29,ny,8,3,"span",11),r.hc(30,"async"),r.Gc(31,"\n "),r.Vb(),r.Gc(32,"\n "),r.Wb(33,"nz-dropdown-menu",null,12),r.Gc(35,"\n "),r.Wb(36,"ul",13),r.Gc(37,"\n "),r.Ec(38,oy,11,7,"ng-container",11),r.hc(39,"async"),r.Gc(40,"\n "),r.Wb(41,"li",14),r.dc("click",function(){return t.toggleEnvironmentManager(!0)}),r.Gc(42),r.hc(43,"translate"),r.Vb(),r.Gc(44,"\n "),r.Vb(),r.Gc(45,"\n "),r.Vb(),r.Gc(46,"\n "),r.Wb(47,"li",15),r.Gc(48,"\n "),r.Rb(49,"app-icon",16),r.Gc(50,"\n "),r.Vb(),r.Gc(51,"\n "),r.Wb(52,"nz-dropdown-menu",null,17),r.Gc(54,"\n "),r.Wb(55,"ul",13),r.Gc(56,"\n "),r.Wb(57,"li",14),r.dc("click",function(){return t.importWindow()}),r.Gc(58),r.hc(59,"translate"),r.Vb(),r.Gc(60,"\n "),r.Wb(61,"li",14),r.dc("click",function(){return t.setShowImportCurlDialog(!0)}),r.Gc(62),r.hc(63,"translate"),r.Vb(),r.Gc(64,"\n "),r.Wb(65,"li",14),r.dc("click",function(){return t.showSettingsDialog()}),r.Gc(66),r.hc(67,"translate"),r.Vb(),r.Gc(68,"\n "),r.Wb(69,"li",14),r.dc("click",function(e){return t.externalLink(e,"https://github.com/imolorhe/altair")}),r.Gc(70),r.hc(71,"translate"),r.Vb(),r.Gc(72,"\n "),r.Wb(73,"li",14),r.dc("click",function(e){return t.externalLink(e,"https://github.com/imolorhe/altair/issues/new?template=Bug_report.md")}),r.Gc(74),r.hc(75,"translate"),r.Vb(),r.Gc(76,"\n "),r.Vb(),r.Gc(77,"\n "),r.Vb(),r.Gc(78,"\n "),r.Vb(),r.Gc(79,"\n "),r.Vb(),r.Gc(80,"\n "),r.Vb(),r.Gc(81,"\n "),r.Wb(82,"nz-layout"),r.Gc(83,"\n "),r.Ec(84,sy,1,1,"nz-alert",18),r.Gc(85,"\n "),r.Ec(86,ay,7,0,"ng-template",null,19,r.Fc),r.Gc(88,"\n "),r.Wb(89,"nz-layout",20),r.Gc(90,"\n "),r.Wb(91,"nz-content",21),r.Gc(92,"\n "),r.Wb(93,"div",22),r.Gc(94,"\n "),r.Wb(95,"div",23),r.Gc(96,"\n "),r.Wb(97,"a",24),r.dc("click",function(){return t.toggleHeader(!0)}),r.hc(98,"translate"),r.Gc(99,"\n "),r.Wb(100,"div",25),r.Gc(101,"\n "),r.Rb(102,"app-icon",26),r.Gc(103,"\n "),r.Vb(),r.Gc(104,"\n "),r.Wb(105,"div",27),r.Gc(106),r.hc(107,"translate"),r.Vb(),r.Gc(108,"\n "),r.Vb(),r.Gc(109,"\n "),r.Wb(110,"a",28),r.dc("click",function(){return t.toggleVariableDialog()}),r.hc(111,"translate"),r.Gc(112,"\n "),r.Wb(113,"div",25),r.Gc(114,"\n "),r.Rb(115,"app-icon",29),r.Gc(116,"\n "),r.Vb(),r.Gc(117,"\n "),r.Wb(118,"div",27),r.Gc(119),r.hc(120,"translate"),r.Vb(),r.Gc(121,"\n "),r.Vb(),r.Gc(122,"\n "),r.Wb(123,"a",30),r.dc("click",function(){return t.toggleSubscriptionUrlDialog(!0)}),r.hc(124,"translate"),r.Gc(125,"\n "),r.Wb(126,"div",25),r.Gc(127,"\n "),r.Rb(128,"app-icon",31),r.Gc(129,"\n "),r.Vb(),r.Gc(130,"\n "),r.Wb(131,"div",27),r.Gc(132),r.hc(133,"translate"),r.Vb(),r.Gc(134,"\n "),r.Vb(),r.Gc(135,"\n "),r.Wb(136,"a",32),r.dc("click",function(){return t.toggleHistoryDialog(!0)}),r.hc(137,"translate"),r.Gc(138,"\n "),r.Wb(139,"div",25),r.Gc(140,"\n "),r.Rb(141,"app-icon",33),r.Gc(142,"\n "),r.Vb(),r.Gc(143,"\n "),r.Wb(144,"div",27),r.Gc(145),r.hc(146,"translate"),r.Vb(),r.Gc(147,"\n "),r.Vb(),r.Gc(148,"\n "),r.Wb(149,"a",34),r.dc("click",function(){return t.togglePreRequestDialog(!0)}),r.hc(150,"translate"),r.Gc(151,"\n "),r.Wb(152,"div",25),r.Gc(153,"\n "),r.Rb(154,"app-icon",35),r.Gc(155,"\n "),r.Vb(),r.Gc(156,"\n "),r.Wb(157,"div",27),r.Gc(158),r.hc(159,"translate"),r.Vb(),r.Gc(160,"\n "),r.Vb(),r.Gc(161,"\n "),r.Rb(162,"div",36),r.Gc(163,"\n "),r.Wb(164,"div",37),r.Gc(165,"\n "),r.Wb(166,"div",25),r.Gc(167,"\n "),r.Rb(168,"app-icon",38),r.Gc(169,"\n "),r.Vb(),r.Gc(170,"\n "),r.Wb(171,"div",39),r.Gc(172,"\n "),r.Wb(173,"a",40),r.dc("click",function(){return t.prettifyCode()}),r.hc(174,"translate"),r.Gc(175,"\n "),r.Wb(176,"div",41),r.Gc(177,"\n "),r.Rb(178,"app-icon",42),r.Gc(179,"\n "),r.Vb(),r.Gc(180,"\n "),r.Wb(181,"div",43),r.Gc(182),r.hc(183,"translate"),r.Vb(),r.Gc(184,"\n "),r.Vb(),r.Gc(185,"\n "),r.Wb(186,"a",44),r.dc("click",function(){return t.compressQuery()}),r.hc(187,"translate"),r.Gc(188,"\n "),r.Wb(189,"div",41),r.Gc(190,"\n "),r.Rb(191,"app-icon",45),r.Gc(192,"\n "),r.Vb(),r.Gc(193,"\n "),r.Wb(194,"div",43),r.Gc(195),r.hc(196,"translate"),r.Vb(),r.Gc(197,"\n "),r.Vb(),r.Gc(198,"\n "),r.Wb(199,"a",46),r.dc("click",function(){return t.clearEditor()}),r.hc(200,"translate"),r.Gc(201,"\n "),r.Wb(202,"div",41),r.Gc(203,"\n "),r.Rb(204,"app-icon",47),r.Gc(205,"\n "),r.Vb(),r.Gc(206,"\n "),r.Wb(207,"div",43),r.Gc(208),r.hc(209,"translate"),r.Vb(),r.Gc(210,"\n "),r.Vb(),r.Gc(211,"\n "),r.Wb(212,"a",48),r.dc("click",function(){return t.copyAsCurl()}),r.hc(213,"translate"),r.Gc(214,"\n "),r.Wb(215,"div",41),r.Gc(216,"\n "),r.Rb(217,"app-icon",49),r.Gc(218,"\n "),r.Vb(),r.Gc(219,"\n "),r.Wb(220,"div",43),r.Gc(221),r.hc(222,"translate"),r.Vb(),r.Gc(223,"\n "),r.Vb(),r.Gc(224,"\n "),r.Wb(225,"a",50),r.dc("click",function(){return t.convertToNamedQuery()}),r.hc(226,"translate"),r.Gc(227,"\n "),r.Wb(228,"div",41),r.Gc(229,"\n "),r.Rb(230,"app-icon",51),r.Gc(231,"\n "),r.Vb(),r.Gc(232,"\n "),r.Wb(233,"div",43),r.Gc(234),r.hc(235,"translate"),r.Vb(),r.Gc(236,"\n "),r.Vb(),r.Gc(237,"\n "),r.Wb(238,"a",52),r.dc("click",function(){return t.refactorQuery()}),r.hc(239,"translate"),r.Gc(240,"\n "),r.Wb(241,"div",41),r.Gc(242,"\n "),r.Rb(243,"app-icon",53),r.Gc(244,"\n "),r.Vb(),r.Gc(245,"\n "),r.Wb(246,"div",43),r.Gc(247),r.hc(248,"translate"),r.Vb(),r.Gc(249,"\n "),r.Vb(),r.Gc(250,"\n "),r.Vb(),r.Gc(251,"\n "),r.Vb(),r.Gc(252,"\n "),r.Rb(253,"div",36),r.Gc(254,"\n \n "),r.Wb(255,"div",54),r.Gc(256,"\n "),r.Ec(257,ly,10,5,"a",55),r.hc(258,"async"),r.Gc(259,"\n "),r.Vb(),r.Gc(260,"\n \n "),r.Wb(261,"div",56),r.Gc(262,"\n "),r.Wb(263,"a",34),r.dc("click",function(){return t.togglePluginManager(!0)}),r.hc(264,"translate"),r.Gc(265,"\n "),r.Wb(266,"div",25),r.Gc(267,"\n "),r.Rb(268,"app-icon",57),r.Gc(269,"\n "),r.Vb(),r.Gc(270,"\n "),r.Wb(271,"div",27),r.Gc(272),r.hc(273,"translate"),r.Vb(),r.Gc(274,"\n "),r.Vb(),r.Gc(275,"\n "),r.Wb(276,"a",58),r.dc("click",function(){return t.toggleCollections()}),r.hc(277,"translate"),r.Gc(278,"\n "),r.Wb(279,"div",25),r.Gc(280,"\n "),r.Rb(281,"app-icon",59),r.Gc(282,"\n "),r.Vb(),r.Gc(283,"\n "),r.Wb(284,"div",27),r.Gc(285),r.hc(286,"translate"),r.Vb(),r.Gc(287,"\n "),r.Vb(),r.Gc(288,"\n "),r.Vb(),r.Gc(289,"\n "),r.Vb(),r.Gc(290,"\n "),r.Wb(291,"div",60),r.Gc(292,"\n "),r.Wb(293,"app-query-collections",61),r.dc("loadCollectionsChange",function(){return t.loadCollections()})("selectQueryChange",function(e){return t.selectQueryFromCollection(e)})("deleteQueryChange",function(e){return t.deleteQueryFromCollection(e)})("deleteCollectionChange",function(e){return t.deleteCollection(e)})("editCollectionChange",function(e){return t.toggleEditCollectionDialog(e)})("exportCollectionChange",function(e){return t.exportCollection(e)})("importCollectionChange",function(){return t.importCollection()})("sortCollectionsChange",function(e){return t.sortCollections(e)}),r.hc(294,"async"),r.hc(295,"async"),r.Vb(),r.Gc(296,"\n "),r.Vb(),r.Gc(297,"\n "),r.Wb(298,"div",62),r.Gc(299,"\n "),r.Ec(300,hy,4,1,"ng-container",63),r.hc(301,"async"),r.Gc(302,"\n "),r.Vb(),r.Gc(303,"\n "),r.Vb(),r.Gc(304,"\n "),r.Ec(305,dy,4,3,"ng-container",64),r.Gc(306,"\n "),r.Vb(),r.Gc(307,"\n "),r.Wb(308,"div",65),r.Gc(309,"\n "),r.Wb(310,"app-environment-manager",66),r.dc("toggleDialogChange",function(e){return t.toggleEnvironmentManager(!!e)})("baseEnvironmentJsonChange",function(e){return t.updateBaseEnvironmentJson(e)})("subEnvironmentJsonChange",function(e){return t.updateSubEnvironmentJson(e)})("subEnvironmentTitleChange",function(e){return t.updateSubEnvironmentTitle(e)})("addSubEnvironmentChange",function(){return t.addNewSubEnvironment()})("deleteSubEnvironmentChange",function(e){return t.deleteSubEnvironment(e)})("repositionSubEnvironmentsChange",function(e){return t.repositionSubEnvironments(e)}),r.hc(311,"async"),r.hc(312,"async"),r.Vb(),r.Gc(313,"\n "),r.Wb(314,"app-plugin-manager",67),r.dc("toggleDialogChange",function(e){return t.togglePluginManager(!!e)})("settingsJsonChange",function(e){return t.setSettingsJson(e)}),r.hc(315,"async"),r.hc(316,"async"),r.Vb(),r.Gc(317,"\n "),r.Wb(318,"app-settings-dialog",68),r.dc("toggleDialogChange",function(e){return e?t.showSettingsDialog():t.hideSettingsDialog()})("settingsJsonChange",function(e){return t.setSettingsJson(e)}),r.hc(319,"async"),r.hc(320,"async"),r.Vb(),r.Gc(321,"\n "),r.Wb(322,"app-import-curl-dialog",69),r.dc("toggleDialogChange",function(e){return t.setShowImportCurlDialog(e)})("importCurlChange",function(e){return t.importWindowFromCurl(e)}),r.Vb(),r.Gc(323,"\n "),r.Wb(324,"app-edit-collection-dialog",70),r.dc("toggleDialogChange",function(e){return t.setShowEditCollectionDialog(e)})("updateCollectionChange",function(e){return t.updateCollection(e)}),r.hc(325,"async"),r.Vb(),r.Gc(326,"\n "),r.Vb(),r.Gc(327,"\n "),r.Ec(328,py,1,1,"nz-alert",71),r.Gc(329,"\n "),r.Ec(330,fy,7,0,"ng-template",null,72,r.Fc),r.Gc(332,"\n "),r.Vb(),r.Gc(333,"\n "),r.Vb(),r.Gc(334,"\n "),r.Vb(),r.Gc(335,"\n"),r.Vb(),r.Gc(336,"\n")),2&e){const e=r.tc(34),n=r.tc(53);let i=null,o=null,s=null,a=null,c=null,l=null,u=null;r.mc("appTheme",r.ic(1,69,t.theme$)),r.Eb(5),r.mc("ngIf",!t.isReady),r.Eb(4),r.mc("ngClass",r.pc(167,gy,null==(i=r.ic(10,71,t.settings$))?null:i.enableExperimental)),r.Eb(6),r.mc("windows",t.windows)("windowIds",t.windowIds)("activeWindowId",t.activeWindowId)("closedWindows",t.closedWindows)("isElectron",t.isElectron),r.Eb(4),r.mc("nzSelectable",!1),r.Eb(2),r.mc("ngForOf",r.ic(22,73,t.headerPanels$))("ngForTrackBy",t.trackById),r.Eb(3),r.mc("nzDropdownMenu",e),r.Eb(2),r.mc("ngIf",r.ic(27,75,t.activeEnvironment$)),r.Eb(3),r.mc("ngIf",!r.ic(30,77,t.activeEnvironment$)),r.Eb(9),r.mc("ngIf",null==(o=r.ic(39,79,t.environments$))?null:o.subEnvironments.length),r.Eb(4),r.Ic("\n ",r.ic(43,81,"ENVIRONMENTS_BUTTON"),"...\n "),r.Eb(5),r.mc("nzDropdownMenu",n),r.Eb(11),r.Hc(r.ic(59,83,"IMPORT_WINDOW_TEXT")),r.Eb(4),r.Hc(r.ic(63,85,"IMPORT_WINDOW_FROM_CURL_TEXT")),r.Eb(4),r.Hc(r.ic(67,87,"SETTINGS_TEXT")),r.Eb(4),r.Hc(r.ic(71,89,"STAR_ON_GITHUB_TEXT")),r.Eb(4),r.Hc(r.ic(75,91,"REPORT_BUG_TEXT")),r.Eb(10),r.mc("ngIf",t.isWebApp),r.Eb(13),r.Fb("aria-label",r.ic(98,93,"SET_HEADERS_BUTTON")),r.Eb(9),r.Ic("\n ",r.ic(107,95,"SET_HEADERS_BUTTON"),"\n "),r.Eb(4),r.Fb("aria-label",r.ic(111,97,"SET_VARIABLES_BUTTON")),r.Eb(9),r.Ic("\n ",r.ic(120,99,"SET_VARIABLES_BUTTON"),"\n "),r.Eb(4),r.Fb("aria-label",r.ic(124,101,"SUBSCRIPTION_URL_TEXT")),r.Eb(9),r.Ic("\n ",r.ic(133,103,"SUBSCRIPTION_URL_TEXT"),"\n "),r.Eb(4),r.Fb("aria-label",r.ic(137,105,"HISTORY_TEXT")),r.Eb(9),r.Ic("\n ",r.ic(146,107,"HISTORY_TEXT"),"\n "),r.Eb(4),r.Fb("aria-label",r.ic(150,109,"PRE_REQUEST_EDITOR_HEADER")),r.Eb(9),r.Ic("\n ",r.ic(159,111,"PRE_REQUEST_EDITOR_HEADER"),"\n "),r.Eb(15),r.Fb("aria-label",r.ic(174,113,"PRETTIFY_BUTTON")),r.Eb(9),r.Ic("\n ",r.ic(183,115,"PRETTIFY_BUTTON"),"\n "),r.Eb(4),r.Fb("aria-label",r.ic(187,117,"COMPRESS_QUERY_BUTTON")),r.Eb(9),r.Ic("\n ",r.ic(196,119,"COMPRESS_QUERY_BUTTON"),"\n "),r.Eb(4),r.Fb("aria-label",r.ic(200,121,"CLEAR_BUTTON")),r.Eb(9),r.Ic("\n ",r.ic(209,123,"CLEAR_BUTTON"),"\n "),r.Eb(4),r.Fb("aria-label",r.ic(213,125,"COPY_AS_CURL_BUTTON")),r.Eb(9),r.Ic("\n ",r.ic(222,127,"COPY_AS_CURL_BUTTON"),"\n "),r.Eb(4),r.Fb("aria-label",r.ic(226,129,"CONVERT_TO_NAMED_QUERY_BUTTON")),r.Eb(9),r.Ic("\n ",r.ic(235,131,"CONVERT_TO_NAMED_QUERY_BUTTON"),"\n "),r.Eb(4),r.Fb("aria-label",r.ic(239,133,"REFACTOR_QUERY_BUTTON")),r.Eb(9),r.Ic("\n ",r.ic(248,135,"REFACTOR_QUERY_BUTTON"),"\n "),r.Eb(10),r.mc("ngForOf",r.ic(258,137,t.sidebarPanels$))("ngForTrackBy",t.trackById),r.Eb(6),r.Fb("aria-label",r.ic(264,139,"PLUGINS_TEXT")),r.Eb(9),r.Ic("\n ",r.ic(273,141,"PLUGINS_TEXT"),"\n "),r.Eb(4),r.mc("ngClass",r.pc(169,cy,t.showCollections)),r.Fb("aria-label",r.ic(277,143,"COLLECTIONS_TEXT")),r.Eb(9),r.Ic("\n ",r.ic(286,145,"COLLECTIONS_TEXT"),"\n "),r.Eb(8),r.mc("showCollections",t.showCollections)("collections",r.ic(294,147,t.sortedCollections$))("sortBy",null==(s=r.ic(295,149,t.collection$))?null:s.sortBy),r.Eb(7),r.mc("ngForOf",r.ic(301,151,t.sidebarPanels$))("ngForTrackBy",t.trackById),r.Eb(5),r.mc("ngForOf",t.windowIds),r.Eb(5),r.mc("showEnvironmentManager",null==(a=r.ic(311,153,t.windowsMeta$))?null:a.showEnvironmentManager)("environments",r.ic(312,155,t.environments$)),r.Eb(4),r.mc("showPluginManager",null==(c=r.ic(315,157,t.windowsMeta$))?null:c.showPluginManager)("settings",r.ic(316,159,t.settings$)),r.Eb(4),r.mc("showSettingsDialog",null==(l=r.ic(319,161,t.windowsMeta$))?null:l.showSettingsDialog)("settings",r.ic(320,163,t.settings$))("appVersion",t.appVersion),r.Eb(4),r.mc("showImportCurlDialog",t.showImportCurlDialog),r.Eb(2),r.mc("showEditCollectionDialog",t.showEditCollectionDialog)("collection",null==(u=r.ic(325,165,t.collection$))?null:u.activeCollection),r.Eb(4),r.mc("ngIf",t.showDonationAlert)}},directives:[V,de,nt,o.o,et,o.l,Er,Ve.c,o.n,Ki.a,Ve.e,Sr.a,Sr.c,Xi.a,Ze,is,Ra,Ua,kd,jd,Md,Mo,ha,Pd,Ve.d,Yd,Kv],pipes:[o.b,y.c],encapsulation:2}),e=function(e,t,n,i){var r,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}([Object(F.a)({checkProperties:!0}),Xv("design:paramtypes",[R.WindowService,g.h,y.d,R.DonationService,R.ElectronAppService,R.KeybinderService,R.PluginRegistryService,P.a,R.QueryCollectionService,R.ThemeRegistryService,N.a])],e),e})(),by=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(e,t){1&e&&(r.Rb(0,"app-altair"),r.Gc(1,"\n"))},directives:[my],encapsulation:2}),e})();var vy=n("tk/3"),yy=n("9jGm"),wy=n("agSv");class _y{constructor(e,t="/assets/i18n/",n=".json"){this.http=e,this.prefix=t,this.suffix=n}getTranslation(e){return this.http.get(`${this.prefix}${e}${this.suffix}`)}}var Oy=n("ReVU"),Cy=n("31Lz"),Ey=n("EzuI"),Sy=n("dPL8"),Ty=n("8mtn");const xy={AlertTriangle:'\n \n',AlertCircle:'\n \n',Archive:'\n \n',ArrowLeft:'\n \n',Book:'\n \n',Box:'\n \n',Briefcase:'\n \n',CheckCircle:'\n \n',ChevronDown:'\n \n',Circle:'\n \n',Clock:'\n \n',Code:'\n \n',Copy:'\n \n',Cpu:'\n \n',Camera:'\n \n',Disc:'\n \n',Download:'\n \n',Edit:'\n \n',Eye:'\n \n',EyeOff:'\n \n',File:'\n \n',FilePlus:'\n \n',Folder:'\n \n',FolderMinus:'\n \n',FolderPlus:'\n \n',Github:'\n \n',Grid:'\n \n',Heart:'\n \n',Home:'\n \n',Info:'\n \n',MoreVertical:'\n \n',MoreHorizontal:'\n \n',Paperclip:'\n \n',RefreshCcw:'\n \n',Settings:'\n \n',Save:'\n \n',Trash2:'\n \n',Loader:'\n \n',LogIn:'',Minimize2:'\n \n',PlusSquare:'\n \n',PlusCircle:'\n \n',Repeat:'\n \n',Sidebar:'\n \n',Sun:'\n \n',Terminal:'\n \n',Tag:'\n \n',Watch:'\n \n',X:'\n \n',XCircle:'\n \n',XSquare:'\n \n'};let ky=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c,Ty.b.pick(xy)],Ty.b]}),e})();const Iy=[ys.c,Hc,jc,yl,mg,Ic,ag,qu,ma,Sr.b,Vc,bd,Im,Jd,rt,Ve.f,ac,lr,tv];let Dy=(()=>{class e{static forRoot(){return{ngModule:e,providers:[]}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c,y.b.forRoot(),Cy.b,Qi,sv.b,Ey.b,Gt.forRoot(),Fo.forRoot({applyClass:"tooltip-content",trigger:"hover"}),Na.b.forRoot(),ky,Sy.a.forRoot({position:"top-center",reverseOrder:!0,dismissible:!0,closeStyle:{backgroundImage:"none"}}),...Iy],y.b,Cy.b,Qi,sv.b,Gt,Ey.b,Fo,Na.b,ky,Sy.a,ys.c,Hc,jc,yl,mg,Ic,ag,qu,ma,Sr.b,Vc,bd,Im,Jd,rt,Ve.f,ac,lr,tv]}),e})();var zy=n("zp1y"),jy=n("g9RT"),Ay=n("W2+O"),Ry=n("nQNJ");const Ny=n("m8Fq");let Ly=(()=>{class e{constructor(e,t,n,i,r,o,s,a,l,h){this.actions$=e,this.gqlService=t,this.notifyService=n,this.dbService=i,this.donationService=r,this.electronAppService=o,this.environmentService=s,this.preRequestService=a,this.subscriptionProviderRegistryService=l,this.store=h,this.sendQueryRequest$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.r,C.c),Object(zy.a)(this.store,(e,t)=>({state:t,data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>e.action.type===C.c?(this.store.dispatch(new S.g(e.windowId)),Bc.a):(e.data.query.query||"").trim()?Object(v.a)(e):Bc.a),Object(u.a)(e=>this.getPrerequestTransformedData$(e)),Object(u.a)(e=>e?Object(v.a)(e).pipe(Object(u.a)(e=>{const{response:t,transformedData:n}=e,i=(t.data.query.query||"").trim();let r=this.environmentService.hydrate(t.data.query.url),o=this.environmentService.hydrate(t.data.variables.variables),s=this.environmentService.hydrateHeaders(t.data.headers),a=t.data.query.selectedOperation;if(n&&(r=this.environmentService.hydrate(t.data.query.url,{activeEnvironment:n.environment}),o=this.environmentService.hydrate(t.data.variables.variables,{activeEnvironment:n.environment}),s=this.environmentService.hydrateHeaders(t.data.headers,{activeEnvironment:n.environment})),!r||!Ny.isUri(r))return this.notifyService.error("The URL is invalid!"),this.store.dispatch(new S.g(t.windowId)),Bc.a;if(t.data.history.list.filter(e=>e.query&&e.query.trim()===i.trim()).length||this.store.dispatch(new ip.b(t.windowId,{query:i,limit:t.state.settings.historyDepth})),this.gqlService.isSubscriptionQuery(i))return M.a.log("Your query is a SUBSCRIPTION!!!"),this.store.dispatch(t.data.query.subscriptionUrl?new C.ab(t.windowId):new E.k(t.windowId)),Bc.a;try{const e=this.gqlService.getSelectedOperationData({query:i,selectedOperation:a,selectIfOneOperation:!0,queryCursorIndex:t.data.query.queryEditorState&&t.data.query.queryEditorState.isFocused?t.data.query.queryEditorState.cursorIndex:void 0});if(this.store.dispatch(new C.P(t.windowId,{operations:e.operations})),a=e.selectedOperation,e.requestSelectedOperationFromUser)return this.notifyService.error("You have more than one query operations.\n You need to select the one you want to run from the dropdown."),Bc.a}catch(p){return this.store.dispatch(new C.T(t.windowId,{selectedOperation:""})),this.notifyService.error(p.message),Bc.a}this.store.dispatch(new S.f(t.windowId));let l=0,h="";try{o&&JSON.parse(o)}catch(p){return this.notifyService.error("Looks like your variables is not a valid JSON string."),this.store.dispatch(new S.g(t.windowId)),Bc.a}return this.electronAppService.setHeaders(s),this.gqlService.hasInvalidFileVariable(t.data.variables.files)?(this.notifyService.error("\n You have some invalid file variables.

    \n You need to provide a file and file name, when uploading files.\n Check your files in the variables section.

    \n Note: Files don't persist after restarting Altair.\n ","Altair",{disableTimeOut:!0}),Bc.a):(M.a.log("Sending.."),this.gqlService.sendRequest(r,{query:i,variables:o,headers:s,method:t.data.query.httpVerb,selectedOperation:a,files:t.data.variables.files,withCredentials:t.state.settings["request.withCredentials"]}).pipe(Object(u.a)(e=>this.handlePostRequestTransforms$(Ry.b.QUERY,e,t)),Object(c.a)(e=>e?(l=e.data.response.status,h=e.data.response.statusText,e.data):null),Object(c.a)(e=>{const n=(null==e?void 0:e.response.body)?{...null==e?void 0:e.response.body}:null==e?void 0:e.response.body;return n&&t.state.settings["response.hideExtensions"]&&Reflect.deleteProperty(n,"extensions"),this.store.dispatch(new C.Q(n,t.windowId)),this.store.dispatch(new C.R(t.windowId,{headers:null==e?void 0:e.meta.headers})),e}),Object(d.a)(e=>{let n="Server Error. Check that your server is up and running. You can check the console for more details on the network errors.";return M.a.log(e),l=e.status,h=e.statusText,e.status&&(n=e.error),this.store.dispatch(new C.Q(n,t.windowId)),Object(v.a)(null)}),Object(c.a)(e=>{this.store.dispatch(new C.S(t.windowId,{responseStatus:l,responseTime:e?e.meta.responseTime:0,responseStatusText:h})),this.store.dispatch(new S.g(t.windowId))}),Object(d.a)(e=>(M.a.error("Error sending the request",e),Bc.a))))}),Object(d.a)(e=>(M.a.error("Error sending the request",e),Bc.a))):Bc.a)),{dispatch:!1}),this.showUrlSetAlert$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.G),Object(u.a)(e=>{const t=this.environmentService.hydrate(e.payload.url);return Ny.isUri(t)?this.notifyService.success("URL has been set."):this.notifyService.error("The URL is invalid!"),Bc.a})),{dispatch:!1}),this.getGqlSchema$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(np.f,np.g),Object(u.a)(e=>{const t=this.gqlService.getIntrospectionSchema(e.payload);return t?Object(v.a)(new np.n(e.windowId,t)):Bc.a}))),this.setSchemaSDL$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(np.i),Object(u.a)(e=>{const t=e.payload;return t&&this.gqlService.getSDL(t).then(t=>this.store.dispatch(new np.o(e.windowId,{sdl:t}))).catch(e=>{M.a.error(e);const t=e.message?e.message:e.toString();this.notifyService.error(`Could not set schema SDL. Error: ${t}`)}),Bc.a})),{dispatch:!1}),this.loadSDLSchema$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(np.c),Object(u.a)(e=>(Object(Ha.h)({accept:".gql"}).then(t=>{try{const n=this.gqlService.sdlToSchema(t);if(n)return this.notifyService.success("Loaded schema successfully"),this.store.dispatch(new np.n(e.windowId,n))}catch(n){const e=n.message?n.message:n.toString();this.notifyService.error(`There was a problem loading the schema. Error: ${e}`),M.a.error("Error while loading schema",n)}}),Bc.a))),{dispatch:!1}),this.getIntrospectionForUrl$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.q),Object(zy.a)(this.store,(e,t)=>({state:t,data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>this.getPrerequestTransformedData$(e)),Object(u.a)(e=>{if(!e)return Bc.a;const{response:t,transformedData:n}=e;let i=this.environmentService.hydrate(t.data.query.url),r=this.environmentService.hydrateHeaders(t.data.headers);return n&&(i=this.environmentService.hydrate(t.data.query.url,{activeEnvironment:n.environment}),r=this.environmentService.hydrateHeaders(t.data.headers,{activeEnvironment:n.environment})),i?(this.store.dispatch(new tp.e(t.windowId)),this.gqlService.getIntrospectionRequest(i,{method:t.data.query.httpVerb,headers:r,withCredentials:t.state.settings["request.withCredentials"]}).pipe(Object(u.a)(e=>this.handlePostRequestTransforms$(Ry.b.INTROSPECTION,e,t)),Object(d.a)(e=>{this.store.dispatch(new tp.f(t.windowId));const n=e.error||e,i=n.message?n.message:e.message?e.message:n.toString();let r=!0;return n.errors&&n.errors.forEach(e=>{"GRAPHQL_VALIDATION_ERROR"===e.code&&(r=!1)}),r?this.notifyService.error(`\n Seems like something is broken. Please check that the URL is valid,\n and the server is up and running properly.\n
    \n ${i}\n `):(this.store.dispatch(new np.k(!1,t.windowId)),this.notifyService.error("\n Looks like this server does not support introspection.\n Please check with the server administrator.\n ")),Object(v.a)(null)}),Object(c.a)(n=>{var i,r;if(this.store.dispatch(new tp.f(t.windowId)),!n)return Bc.a;const o=null===(i=n.data.response.body)||void 0===i?void 0:i.data,s=null===(r=n.data.response.headers)||void 0===r?void 0:r.get("X-GraphQL-Event-Stream");return e.response.data.stream.url===s&&e.response.data.stream.client||(this.store.dispatch(new jy.j(t.windowId,{streamUrl:s||""})),this.store.dispatch(s?new jy.k(t.windowId):new jy.l(t.windowId))),o?(this.store.dispatch(new np.k(!0,t.windowId)),this.store.dispatch(new np.m(t.windowId,{epoch:Date.now()})),this.store.dispatch(new np.l(o,t.windowId))):this.store.dispatch(new np.l(o,t.windowId)),Bc.a}),Object(d.a)(e=>(M.a.error(e),this.notifyService.error(e.message),Bc.a)))):Bc.a})),{dispatch:!1}),this.notifyExperimental$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(S.a),Object(u.a)(()=>this.dbService.getItem("exp_add_query_seen")),Object(u.a)(e=>e?Bc.a:(this.notifyService.info("\n This feature is experimental, and still in beta.\n Click here to submit bugs, improvements, etc.\n ",void 0,{data:{url:"https://github.com/imolorhe/altair/issues/new"}}),this.dbService.setItem("exp_add_query_seen",!0)))),{dispatch:!1}),this.downloadResult$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.k),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>(Object(Ha.c)(e.data.query.response,e.data.layout.title),Bc.a))),{dispatch:!1}),this.startSubscription$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.I),Object(zy.a)(this.store,(e,t)=>({state:t,data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>this.getPrerequestTransformedData$(e)),Object(u.a)(e=>{var t;if(!e)return Bc.a;const{response:n,transformedData:i}=e;let r={},o=this.environmentService.hydrate(n.data.query.subscriptionUrl),s=this.environmentService.hydrate(n.data.query.query||""),a=this.environmentService.hydrate(n.data.variables.variables),c={},l=n.data.query.selectedOperation,h=this.environmentService.hydrateHeaders(n.data.headers);i&&(o=this.environmentService.hydrate(n.data.query.subscriptionUrl,{activeEnvironment:i.environment}),s=this.environmentService.hydrate(n.data.query.query||"",{activeEnvironment:i.environment}),a=this.environmentService.hydrate(n.data.variables.variables,{activeEnvironment:i.environment}),h=this.environmentService.hydrateHeaders(n.data.headers,{activeEnvironment:i.environment})),this.electronAppService.setHeaders(h);const d=(e,t)=>(Array.isArray(e)&&(e=e[0]),this.notifyService.error(`\n An error occurred in subscription.
    \n Error: ${t=t||e.message||e.stack}\n `),this.store.dispatch(new C.bb(n.windowId)),Bc.a);try{a&&(c=JSON.parse(a))}catch(p){return d(p,"Your variables is not a valid JSON object.")}try{const e=this.gqlService.getSelectedOperationData({query:s,selectedOperation:l,queryCursorIndex:n.data.query.queryEditorState&&n.data.query.queryEditorState.isFocused?n.data.query.queryEditorState.cursorIndex:void 0,selectIfOneOperation:!0});this.store.dispatch(new C.P(n.windowId,{operations:e.operations})),l=e.selectedOperation}catch(p){return this.store.dispatch(new C.T(n.windowId,{selectedOperation:""})),this.notifyService.error(p.message),Bc.a}try{(null===(t=n.data.query.subscriptionClient)||void 0===t?void 0:t.close)&&n.data.query.subscriptionClient.close();try{const e=this.environmentService.hydrate(n.data.query.subscriptionConnectionParams);r=e?JSON.parse(e):{}}catch(p){return this.store.dispatch(new E.k(n.windowId)),d(p,"Your connection parameters is not a valid JSON object.")}const e=n.data.query.subscriptionProviderId||lp.b,{getProviderClass:i}=this.subscriptionProviderRegistryService.getProviderData(e);return Object(b.a)(i()).pipe(Object(u.a)(e=>{const t=new e(o,r,{onConnected:e=>{if(e)return M.a.log("Subscription connection error",e),d(e);M.a.log("Connected subscription.")}});try{t.execute({query:s,variables:c,operationName:l||void 0}).subscribe({next:e=>{let t="";try{t=JSON.stringify(e)}catch(p){M.a.error("Invalid subscription response format."),t="ERROR: Invalid subscription response format."}this.store.dispatch(new C.b(n.windowId,{response:t,responseObj:e,responseTime:(new Date).getTime()})),this.notifyService.pushNotify(t,n.data.layout.title,{onclick:()=>{this.store.dispatch(new x.l({windowId:n.windowId}))}}),M.a.log(e)},error:e=>(M.a.log("Err",e),d(e)),complete:()=>{M.a.log("Subscription complete.")}})}catch(i){return d(i)}return Object(v.a)(new C.U(n.windowId,{subscriptionClient:t}))}))}catch(p){return M.a.error("An error occurred starting the subscription.",p),d(p)}}))),this.stopSubscription$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.J),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>{var t;return(null===(t=e.data.query.subscriptionClient)||void 0===t?void 0:t.close)&&e.data.query.subscriptionClient.close(),Object(v.a)(new C.U(e.windowId,{subscriptionClient:null}))}))),this.prettifyQuery$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.m),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e,settings:t.settings})),Object(u.a)(e=>(this.gqlService.prettify(e.data.query.query||"",e.settings.tabSize).then(t=>{if(t)return this.store.dispatch(new C.N(t,e.windowId))}).catch(e=>{M.a.log(e);const t=e.message?e.message:e.toString();this.notifyService.error(`Your query does not appear to be valid. Please check it. Error: ${t}`)}),Bc.a))),{dispatch:!1}),this.compressQuery$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.d),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>(M.a.log("We compress.."),this.gqlService.compress(e.data.query.query||"").then(t=>{if(M.a.log("Compressed.."),t)return this.store.dispatch(new C.N(t,e.windowId))}).catch(e=>{M.a.log(e);const t=e.message?e.message:e.toString();this.notifyService.error(`Your query does not appear to be valid. Please check it. Error: ${t}`)}),Bc.a))),{dispatch:!1}),this.exportSDL$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(np.a),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>(e.data.schema.schema&&this.gqlService.getSDL(e.data.schema.schema).then(e=>{e&&Object(Ha.b)(e,"sdl",{fileType:"gql"})}).catch(e=>{const t=e.message?e.message:e.toString();this.notifyService.error(`Could not export SDL. Your schema might be invalid. Error: ${t}`)}),Bc.a))),{dispatch:!1}),this.copyAsCurl$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.f),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>{const t=this.environmentService.hydrate(e.data.query.url),n=this.environmentService.hydrate(e.data.query.query||""),i=this.environmentService.hydrate(e.data.variables.variables);try{const r=Object(Ay.a)({url:t,method:e.data.query.httpVerb,headers:e.data.headers.reduce((e,t)=>(e[t.key]=this.environmentService.hydrate(t.value),e),{}),data:{query:n,variables:JSON.parse(i)}});M.a.log(r),Object(Ha.a)(r),this.notifyService.success("Copied cURL command to clipboard.")}catch(r){M.a.log("Error while copying as curl",r)}return Bc.a})),{dispatch:!1}),this.convertToNamedQuery$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.e),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>{try{const t=this.gqlService.nameQuery(e.data.query.query||"");if(t)return Object(v.a)(new C.N(t,e.windowId))}catch(t){M.a.log(t);const e=t.message?t.message:t.toString();this.notifyService.error(`Your query does not appear to be valid. Please check it. Error: ${e}`)}return Bc.a}))),this.refactorQuery$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.o),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>{try{if(e.data.query.query&&e.data.schema.schema){const n=this.gqlService.refactorQuery(e.data.query.query,e.data.schema.schema);if(n&&n.query){try{this.store.dispatch(new ep.l(JSON.stringify({...JSON.parse(e.data.variables.variables),...n.variables},null,2),e.windowId))}catch(t){return this.notifyService.error("Looks like your variables are not formatted properly"),Bc.a}return Object(v.a)(new C.N(n.query,e.windowId))}}}catch(n){M.a.log(n);const e=n.message?n.message:n.toString();this.notifyService.error(`Your query does not appear to be valid. Please check it. Error: ${e}`)}return Bc.a}))),this.showDonationAlert$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.r),Object(u.a)(()=>this.donationService.trackAndCheckIfEligible()),Object(u.a)(e=>e?Object(v.a)(new I.d):Bc.a))),this.startStreamClient$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(jy.e),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>{if(!e.data.stream.url)return Bc.a;const t=new URL(this.environmentService.hydrate(e.data.query.url)),n=new URL(this.environmentService.hydrate(e.data.stream.url),t);if(t.host!==n.host)return this.notifyService.error(`\n The stream and endpoint domains do not match. Please check your server implementation.\n [${t.host} != ${n.host}]\n `),Bc.a;try{e.data.stream.client&&this.gqlService.closeStreamClient(e.data.stream.client);let t=0;const i=this.gqlService.createStreamClient(n.href);let r=e.action.payload.backoff||200;return i.addEventListener("message",()=>{clearTimeout(t),this.store.dispatch(new C.K(e.windowId))},!1),i.addEventListener("open",()=>{this.store.dispatch(new jy.i(e.windowId,{failed:null})),this.store.dispatch(new jy.h(e.windowId,{connected:!0})),r=200,clearTimeout(t)},!1),i.addEventListener("error",n=>{this.store.dispatch(new jy.i(e.windowId,{failed:n})),t=window.setTimeout(()=>{r=Math.min(1.7*r,3e4),this.store.dispatch(new jy.k(e.windowId,{backoff:r})),clearTimeout(t)},r)},!1),Object(v.a)(new jy.g(e.windowId,{streamClient:i}))}catch(i){return M.a.error("An error occurred starting the stream.",i),Bc.a}}))),this.stopStreamClient$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(jy.f),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>(e.data.stream.client&&this.gqlService.closeStreamClient(e.data.stream.client),Object(v.a)(new jy.g(e.windowId,{streamClient:null})))))),this.setDynamicWindowTitle$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.t,C.v),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.windowId],windowId:e.windowId,windowIds:t.windowsMeta.windowIds,action:e})),Object(u.a)(e=>{const t=e.data.query.query;if(!e.data.layout.hasDynamicTitle)return Bc.a;if(t){const n=this.gqlService.parseQuery(t).definitions.filter(e=>{var t;return"OperationDefinition"===e.kind&&Boolean(null===(t=e.name)||void 0===t?void 0:t.value)}).map(e=>e.name.value);if(n.length){const t=n[0];return Object(v.a)(new S.e(e.windowId,{title:t}))}}return Object(v.a)(new S.e(e.windowId,{title:`Window ${e.windowIds.length}`}))})))}getPrerequestTransformedData$(e){return Object(v.a)(e).pipe(Object(u.a)(e=>{if(!e)return Bc.a;const t=(e.data.query.query||"").trim();return function(e,t=Bc.a,n=Bc.a){return Object(ss.a)(()=>e()?t:n)}(()=>e.data.preRequest.enabled,new Te.a(n=>{try{this.preRequestService.executeScript(e.data.preRequest.script,{environment:this.environmentService.getActiveEnvironment(),headers:e.data.headers,query:t,variables:e.data.variables.variables}).then(t=>{n.next({response:e,transformedData:t}),n.complete()}).catch(e=>{M.a.error(e),this.notifyService.error(e.message,"Pre-request error"),n.next(null),n.complete()})}catch(i){M.a.error(i),this.notifyService.error(i.message,"Pre-request error"),n.next(null),n.complete()}}),Object(v.a)({response:e,transformedData:null}))}))}handlePostRequestTransforms$(e,t,n){return n.data.postRequest.enabled?Object(b.a)(this.preRequestService.executeScript(n.data.postRequest.script,{environment:this.environmentService.getActiveEnvironment(),headers:n.data.headers,query:n.data.query.query||"",variables:n.data.variables.variables,requestType:e,response:t})).pipe(Object(c.a)(e=>({transformedData:e,data:t}))):Object(v.a)({transformedData:null,data:t})}}return e.\u0275fac=function(t){return new(t||e)(r.ac(yy.a),r.ac(R.GqlService),r.ac(R.NotifyService),r.ac(R.DbService),r.ac(R.DonationService),r.ac(R.ElectronAppService),r.ac(R.EnvironmentService),r.ac(R.PreRequestService),r.ac(R.SubscriptionProviderRegistryService),r.ac(g.h))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();var My=n("1uah"),Fy=n("9tIO");let Py=(()=>{class e{constructor(e,t,n){this.actions$=e,this.store=t,this.windowService=n,this.addWindowID$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(T.a),Object(zy.a)(this.store,(e,t)=>({windows:t.windows,windowIds:t.windowsMeta.windowIds,action:e})),Object(u.a)(e=>{const t=Object.keys(e.windows),n=e.windowIds,i=[...n,...t.filter(e=>!n.includes(e))];return Object(v.a)(new x.o({ids:i}))}))),this.removeWindowID$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(T.i),Object(zy.a)(this.store,(e,t)=>({windows:t.windows,windowIds:t.windowsMeta.windowIds,action:e})),Object(u.a)(e=>{const t=Object.keys(e.windows),n=e.windowIds.filter(e=>t.includes(e));return Object(v.a)(new x.o({ids:n}))}))),this.reopenClosedWindow$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(T.j),Object(zy.a)(this.store,(e,t)=>({closedWindows:t.local.closedWindows,windows:t.windows,windowIds:t.windowsMeta.windowIds,action:e})),Object(u.a)(e=>{const t=e.closedWindows[e.closedWindows.length-1];if(!t||!t.windowId)return Bc.a;const n=t.windowId,i=e.windows;if(i[n])return Bc.a;i[n]=t,this.store.dispatch(new T.n(Object.values(i))),this.windowService.setupWindow(n);const r=[...e.windowIds,n];return this.store.dispatch(new x.o({ids:r})),Object(v.a)(new x.l({windowId:n}))}),Object(lt.a)(()=>{this.store.dispatch(new j.i)}))),this.exportWindow$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(T.c),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.payload.windowId],windowId:e.payload.windowId,action:e})),Object(u.a)(e=>Object(My.a)(Object(v.a)(e),this.windowService.getWindowExportData(e.windowId))),Object(u.a)(([e,t])=>(Object(Ha.c)(t,e.data.layout.title,{fileType:"agq"}),Bc.a))),{dispatch:!1}),this.importWindow$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(T.e),Object(u.a)(e=>(Object(Ha.h)({accept:".agq"}).then(e=>{this.windowService.importWindowDataFromJson(e)}),Bc.a))),{dispatch:!1}),this.importWindowFromCurl$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(T.f),Object(u.a)(e=>(e.payload&&this.windowService.importWindowDataFromCurl(e.payload.data),Bc.a))),{dispatch:!1})}}return e.\u0275fac=function(t){return new(t||e)(r.ac(yy.a),r.ac(g.h),r.ac(Fy.a))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),Vy=(()=>{class e{constructor(e,t,n,i,r){this.actions$=e,this.store=t,this.collectionService=n,this.windowService=i,this.notifyService=r,this.createCollectionAndSaveQueryToCollection$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(D.a),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.payload.windowId],windowId:e.payload.windowId,action:e})),Object(u.a)(e=>Object(My.a)(Object(v.a)(e),this.windowService.getWindowExportData(e.windowId))),Object(u.a)(([e,t])=>{const n=t;return e.action.payload.windowTitle&&(n.windowName=e.action.payload.windowTitle),this.collectionService.create({title:e.action.payload.collectionTitle,queries:[n]})}),Object(lt.a)(()=>this.notifyService.success("Created collection.")),Object(c.a)(()=>new D.l))),this.saveQueryToCollection$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(D.m),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.payload.windowId],windowId:e.payload.windowId,action:e})),Object(u.a)(e=>Object(m.a)([Object(v.a)(e),this.windowService.getWindowExportData(e.windowId)])),Object(u.a)(([e,t])=>{const n=t;return e.action.payload.windowTitle&&(n.windowName=e.action.payload.windowTitle),this.collectionService.addQuery(e.action.payload.collectionId,n)}),Object(lt.a)(()=>this.notifyService.success("Added query to collection.")),Object(c.a)(()=>new D.l))),this.updateQueryInCollection$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(D.v),Object(zy.a)(this.store,(e,t)=>({data:t.windows[e.payload.windowId],windowId:e.payload.windowId,action:e})),Object(u.a)(e=>Object(m.a)([Object(v.a)(e),this.windowService.getWindowExportData(e.windowId)])),Object(u.a)(([e,t])=>e.data.layout.collectionId&&e.data.layout.windowIdInCollection?this.collectionService.updateQuery(e.data.layout.collectionId,e.data.layout.windowIdInCollection,t):Bc.a),Object(lt.a)(()=>this.notifyService.success("Updated query in collection.")),Object(c.a)(()=>new D.l))),this.loadCollections$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(D.k),Object(u.a)(e=>this.collectionService.getAll()),Object(c.a)(e=>new D.s({collections:e})))),this.deleteQueryFromCollection$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(D.d),Object(u.a)(e=>this.collectionService.deleteQuery(e.payload.collectionId,e.payload.query)),Object(lt.a)(()=>this.notifyService.success("Deleted query from collection.")),Object(c.a)(()=>new D.l))),this.updateCollection$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(D.u),Object(u.a)(e=>this.collectionService.updateCollection(e.payload.collectionId,e.payload.collection)),Object(lt.a)(()=>this.notifyService.success("Updated collection.")),Object(c.a)(()=>new D.l))),this.deleteCollection$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(D.c),Object(u.a)(e=>this.collectionService.deleteCollection(e.payload.collectionId)),Object(lt.a)(()=>this.notifyService.success("Deleted query from collection.")),Object(c.a)(()=>new D.l))),this.exportCollection$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(D.g),Object(u.a)(e=>this.collectionService.getExportCollectionData(e.payload.collectionId)),Object(u.a)(e=>(e&&Object(Ha.c)(e,e.title,{fileType:"agc"}),Bc.a))),{dispatch:!1}),this.importCollection$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(D.i),Object(u.a)(()=>Object(b.a)(Object(Ha.h)({accept:".agc"}))),Object(u.a)(e=>this.collectionService.importCollectionDataFromJson(e)),Object(lt.a)(()=>this.notifyService.success("Successfully imported collection.")),Object(c.a)(()=>new D.l),Object(d.a)(e=>{const t=e.message?e.message:e.toString();return this.notifyService.error(`Something went wrong importing collection. Error: ${t}`),Bc.a})))}}return e.\u0275fac=function(t){return new(t||e)(r.ac(yy.a),r.ac(g.h),r.ac(R.QueryCollectionService),r.ac(R.WindowService),r.ac(R.NotifyService))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),Gy=(()=>{class e{constructor(e,t,n){this.actions$=e,this.store=t,this.pluginEventService=n,this.onSetQuery$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.t),Object(zy.a)(this.store,(e,t)=>({state:t,data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>(this.pluginEventService.emit("query.change",{windowId:e.windowId,data:e.data.query.query||""}),Bc.a))),{dispatch:!1}),this.onSetSDL$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(np.j),Object(zy.a)(this.store,(e,t)=>({state:t,data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>(this.pluginEventService.emit("sdl.change",{windowId:e.windowId,data:e.data.schema.sdl}),Bc.a))),{dispatch:!1}),this.onSetActiveWindow$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(x.c),Object(zy.a)(this.store,(e,t)=>({state:t,data:t.windows[e.payload.windowId],windowId:e.payload.windowId,action:e})),Object(u.a)(e=>(this.pluginEventService.emit("current-window.change",{windowId:e.windowId}),Bc.a))),{dispatch:!1}),this.onSetQueryResult$=Object(yy.d)(()=>this.actions$.pipe(Object(yy.e)(C.x),Object(zy.a)(this.store,(e,t)=>({state:t,data:t.windows[e.windowId],windowId:e.windowId,action:e})),Object(u.a)(e=>(this.pluginEventService.emit("query-result.change",{windowId:e.windowId,data:e.action.payload}),Bc.a))),{dispatch:!1})}}return e.\u0275fac=function(t){return new(t||e)(r.ac(yy.a),r.ac(g.h),r.ac(R.PluginEventService))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),By=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})(),Wy=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})();var $y=n("XhxL");function Uy(e,t){if(1&e&&(r.Wb(0,"div",2),r.Gc(1,". "),r.Rb(2,"div",3),r.Vb()),2&e){const e=r.gc();r.Eb(2),r.mc("nzTooltipTitle",e.resolvedValue)}}const Hy=function(e){return{"fancy-input-marker__invalid":e}};let qy=(()=>{class e{constructor(e){this.environmentService=e,this.section={content:""},this.activeEnvironment={},this.resolvedValue=""}ngOnInit(){}ngOnChanges(e){this.resolvedValue=this.environmentService.hydrate(this.section.content)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb($y.a))},e.\u0275cmp=r.Kb({type:e,selectors:[["app-fancy-input-marker"]],inputs:{section:"section",activeEnvironment:"activeEnvironment"},features:[r.Cb],decls:3,vars:5,consts:[[3,"ngClass"],["class","value-indicator__wrapper",4,"ngIf"],[1,"value-indicator__wrapper"],["nz-tooltip","",1,"value-indicator",3,"nzTooltipTitle"]],template:function(e,t){1&e&&(r.Wb(0,"mark",0),r.Gc(1),r.Vb(),r.Ec(2,Uy,3,1,"div",1)),2&e&&(r.mc("ngClass",r.pc(3,Hy,!t.resolvedValue)),r.Eb(1),r.Hc(t.section.content),r.Eb(1),r.mc("ngIf",t.resolvedValue))},directives:[o.l,o.o,ar],encapsulation:2,changeDetection:0}),e})(),Qy=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c,ya.i,Dy]]}),e})();r.zc(El,[uc,kc,o.o,o.n,nh,lc,Ec,Tc],[y.c]);let Ky=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c,ya.i,Ea,Wy,By,Dy,Qy]]}),e})();r.zc(mp,[ya.e,ya.l,ya.o,o.n,o.o,qy],[]);let Xy=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c,ya.i,Dy,Ky]]}),e})(),Yy=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c,ya.i,Dy,Ky]]}),e})();var Jy=n("z6cu");let Zy=(()=>{class e{intercept(e,t){return t.handle(e).pipe(Object(d.a)(e=>{let t="";return t=e.error instanceof ErrorEvent?`Error: ${e.error.message}`:`Error Code: ${e.status}\nMessage: ${e.message}`,Object(Jy.a)(e)}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();var ew=n("306n"),tw=n.n(ew);let nw=(()=>{class e{constructor(e){this.injector=e}handleError(e){if(e instanceof vy.e)M.a.error("Backend returned status code: ",e.status),M.a.error("Response body:",e.message);else{const t=this.injector.get(R.NotifyService),n=e.message?e.message:e.toString(),i=`Bug: Application error: ${n}`,r=`Error message: ${n}\n\nError stack:\n\n\`\`\`\n${e.stack}\n\`\`\``,o=tw()({user:"imolorhe",repo:"altair",title:i,body:r,labels:["bug-report"],template:"Bug_report.md"});M.a.error("Application error:",n),t.error(`An error occured: ${n}`),t.warning("If you think this is a bug, click here to report the bug.","Altair",{disableTimeOut:!0,data:{url:o}})}}}return e.\u0275fac=function(t){return new(t||e)(r.ac(r.t))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();var iw=n("tAZD"),rw=n.n(iw);let ow=(()=>{class e extends ot.g{_createContainer(){const e=document.createElement("div");e.classList.add("cdk-overlay-container"),e.classList.add("app-overlay-container");const t=document.querySelector(".app-wrapper");t&&(t.appendChild(e),this._containerElement=e)}}return e.\u0275fac=function(t){return sw(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();const sw=r.Yb(ow);var aw=n("D08x"),cw=n("BTCl");let lw=(()=>{class e{bootstrap(){var e=this;return Object(s.a)(function*(){e.initialState=yield Object(cw.b)({updateFromLocalStorage:!0})})()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();function uw(e){return new _y(e,"./assets/i18n/",".json")}var hw;Object(o.C)(rw.a),hw=R,Object.keys(hw).map(function(e){return hw[e]});const dw=[R.ApiService,R.GqlService,R.DbService,R.WindowService,R.NotifyService,R.DonationService,R.ElectronAppService,R.KeybinderService,R.StorageService,R.QueryCollectionService,R.EnvironmentService,R.PluginRegistryService,R.PluginEventService,R.PreRequestService,R.ThemeRegistryService,R.SubscriptionProviderRegistryService,R.PluginContextService,R.BackupService,Oy.a,lw,{provide:vy.a,useClass:Zy,multi:!0},{provide:r.m,useClass:nw},{provide:ot.g,useClass:ow},{provide:r.d,deps:[lw],multi:!0,useFactory:function(e){return()=>e.bootstrap()}}];let pw=(()=>{class e{constructor(e,t,n){e.donePromise.then(()=>t.dispatch(new aw.b({initialState:n.initialState})))}static forRoot(){return{ngModule:e,providers:[{provide:O.C,useValue:Object(O.n)()}]}}}return e.\u0275mod=r.Ob({type:e,bootstrap:[my]}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.ac(r.e),r.ac(g.h),r.ac(lw))},providers:dw,imports:[[i.a,as.b,ya.i,vy.d,Dy.forRoot(),Qi.forRoot({animation:150}),Ky,Xy,Qy,Yy,By,g.j.forRoot(O.C,{metaReducers:O.B,runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),yy.b.forRoot([Ly,Py,Vy,Gy]),wy.a.instrument({logOnly:A.a.production}),y.b.forRoot({loader:{provide:y.a,useFactory:uw,deps:[vy.c]}})]]}),e})(),fw=(()=>{class e{}return e.\u0275mod=r.Ob({type:e,bootstrap:[by]}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[o.c,i.a,pw.forRoot()]]}),e})();const gw=()=>{var e;e=function(e){const t=this.href||"";if(t.replace(/#.*$/,""))if(e.preventDefault(),window.process&&window.process.versions.electron)window.require("electron").shell.openExternal(t);else{const e=window.open(t,"_blank");e&&e.focus()}},document.body.addEventListener("click",function(t){t.target&&t.target.matches("a")&&e.apply(t.target,[t])})},mw=["__ALTAIR_ENDPOINT_URL__","__ALTAIR_SUBSCRIPTIONS_ENDPOINT__","__ALTAIR_INITIAL_QUERY__","__ALTAIR_INITIAL_VARIABLES__","__ALTAIR_INITIAL_HEADERS__","__ALTAIR_INITIAL_PRE_REQUEST_SCRIPT__","__ALTAIR_INSTANCE_STORAGE_NAMESPACE__"],bw=e=>{console.warn("DEPRECATION NOTICE: Configuring altair using global variables is deprecated, and will be removed in a future version."),console.warn(`You set [window.${e}], which is deprecated.`),console.warn("Use 'AltairGraphQL.init(opts)' instead.")};let vw=!1;window.AltairGraphQL={init(e={}){if(vw)return;const t=new N.a(e);Object(N.c)(t),A.a.production&&Object(r.V)(),i.d([{provide:N.a,useValue:t}]).bootstrapModule(fw,{preserveWhitespaces:!0}).then(e=>{const t=e.injector.get(r.g).components[0];Object(i.c)(t)}).catch(e=>M.a.log("Error bootstrapping application:",e)),gw(),mw.forEach(e=>{window[e]&&bw(e),Object.defineProperty(window,e,{get:()=>window[e],set(t){bw(e),window[e]=t}})}),vw=!0},plugins:{}}},zdgv:function(e,t,n){"use strict";var i=n("NSes"),r=Object.create;e.exports=function(){var e=0,t=[],n=r(null);return{get:function(e){var n,r=0,o=t,s=e.length;if(0===s)return o[s]||null;if(o=o[s]){for(;r{let n;return"function"==typeof e[e.length-1]&&(n=e.pop()),t.lift(new s(e,n))}}class s{constructor(e,t){this.observables=e,this.project=t}call(e,t){return t.subscribe(new a(e,this.observables,this.project))}}class a extends i.a{constructor(e,t,n){super(e),this.observables=t,this.project=n,this.toRespond=[];const i=t.length;this.values=new Array(i);for(let r=0;r0){const e=i.indexOf(n);-1!==e&&i.splice(e,1)}}notifyComplete(){}_next(e){if(0===this.toRespond.length){const t=[e,...this.values];this.project?this._tryProject(t):this.destination.next(t)}}_tryProject(e){let t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},zpYP:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e){return"object"==i(e)&&null!==e}n.d(t,"a",function(){return r})},zs8F:function(e,t,n){"use strict";var i=n("GpRL"),r=n("lq5y"),o=Function.prototype.bind,s=Function.prototype.call,a=Object.keys,c=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(n,l){var u,h=arguments[2],d=arguments[3];return n=Object(r(n)),i(l),u=a(n),d&&u.sort("function"==typeof d?o.call(d,n):void 0),"function"!=typeof e&&(e=u[e]),s.call(e,u,function(e,i){return c.call(n,e)?s.call(l,h,n[e],e,n,i):t})}}},zsKT:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var i=n("y4cC");function r(e){return o(e.source,Object(i.a)(e.source,e.start))}function o(e,t){var n=e.locationOffset.column-1,i=a(n)+e.body,r=t.line-1,o=t.line+(e.locationOffset.line-1),c=t.column+(1===t.line?n:0),l="".concat(e.name,":").concat(o,":").concat(c,"\n"),u=i.split(/\r\n|[\n\r]/g),h=u[r];if(h.length>120){for(var d=Math.floor(c/80),p=c%80,f=[],g=0;gc;)r.f(t,n=o[c++],e[n]);return t}},O741:function(t,e,n){var o=n("hh1v");t.exports=function(t){if(!o(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},PzqY:function(t,e,n){var o=n("I+eb"),r=n("g6v/"),i=n("glrk"),a=n("wE6v"),s=n("m/L8");o({target:"Reflect",stat:!0,forced:n("0Dky")(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})}),sham:!r},{defineProperty:function(t,e,n){i(t);var o=a(e,!0);i(n);try{return s.f(t,o,n),!0}catch(r){return!1}}})},Qo9l:function(t,e,n){var o=n("2oRo");t.exports=o},RK3t:function(t,e,n){var o=n("0Dky"),r=n("xrYK"),i="".split;t.exports=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==r(t)?i.call(t,""):Object(t)}:Object},SkA5:function(t,e,n){n("pv2x"),n("SuFq"),n("PzqY"),n("rBZX"),n("XUE8"),n("nkod"),n("f3jH"),n("x2An"),n("25bX"),n("G/JM"),n("1t3B"),n("ftMj"),n("i5pp");var o=n("Qo9l");t.exports=o.Reflect},SuFq:function(t,e,n){var o=n("I+eb"),r=n("0GbY"),i=n("HAuM"),a=n("glrk"),s=n("hh1v"),c=n("fHMY"),l=n("BTho"),u=n("0Dky"),f=r("Reflect","construct"),p=u(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),h=!u(function(){f(function(){})}),d=p||h;o({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(h&&!p)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var o=[null];return o.push.apply(o,e),new(l.apply(t,o))}var r=n.prototype,u=c(s(r)?r:Object.prototype),d=Function.apply.call(t,u,e);return s(d)?d:u}})},TWQb:function(t,e,n){var o=n("/GqU"),r=n("UMSQ"),i=n("I8vh"),a=function(t){return function(e,n,a){var s,c=o(e),l=r(c.length),u=i(a,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},UMSQ:function(t,e,n){var o=n("ppGB"),r=Math.min;t.exports=function(t){return t>0?r(o(t),9007199254740991):0}},UTVS:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},VpIT:function(t,e,n){var o=n("xDBR"),r=n("xs3f");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:o?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},Vu81:function(t,e,n){var o=n("0GbY"),r=n("JBy8"),i=n("dBg+"),a=n("glrk");t.exports=o("Reflect","ownKeys")||function(t){var e=r.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},XGwC:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},XUE8:function(t,e,n){var o=n("I+eb"),r=n("hh1v"),i=n("glrk"),a=n("UTVS"),s=n("Bs8V"),c=n("4WOD");o({target:"Reflect",stat:!0},{get:function t(e,n){var o,l,u=arguments.length<3?e:arguments[2];return i(e)===u?e[n]:(o=s.f(e,n))?a(o,"value")?o.value:void 0===o.get?void 0:o.get.call(u):r(l=c(e))?t(l,n,u):void 0}})},aVe3:function(t,e){(function(){"use strict";var t=window.Document.prototype.createElement,e=window.Document.prototype.createElementNS,n=window.Document.prototype.importNode,o=window.Document.prototype.prepend,r=window.Document.prototype.append,i=window.DocumentFragment.prototype.prepend,a=window.DocumentFragment.prototype.append,s=window.Node.prototype.cloneNode,c=window.Node.prototype.appendChild,l=window.Node.prototype.insertBefore,u=window.Node.prototype.removeChild,f=window.Node.prototype.replaceChild,p=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),h=window.Element.prototype.attachShadow,d=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),g=window.Element.prototype.getAttribute,m=window.Element.prototype.setAttribute,y=window.Element.prototype.removeAttribute,v=window.Element.prototype.getAttributeNS,_=window.Element.prototype.setAttributeNS,b=window.Element.prototype.removeAttributeNS,k=window.Element.prototype.insertAdjacentElement,w=window.Element.prototype.insertAdjacentHTML,E=window.Element.prototype.prepend,T=window.Element.prototype.append,C=window.Element.prototype.before,S=window.Element.prototype.after,D=window.Element.prototype.replaceWith,O=window.Element.prototype.remove,x=window.HTMLElement,P=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),j=window.HTMLElement.prototype.insertAdjacentElement,Z=window.HTMLElement.prototype.insertAdjacentHTML,N=new Set;function R(t){var e=N.has(t);return t=/^[a-z][.0-9_a-z]*-[-.0-9_a-z]*$/.test(t),!e&&t}"annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ").forEach(function(t){return N.add(t)});var z=document.contains?document.contains.bind(document):document.documentElement.contains.bind(document.documentElement);function M(t){var e=t.isConnected;if(void 0!==e)return e;if(z(t))return!0;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function I(t){var e=t.children;if(e)return Array.prototype.slice.call(e);for(e=[],t=t.firstChild;t;t=t.nextSibling)t.nodeType===Node.ELEMENT_NODE&&e.push(t);return e}function L(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function A(t,e,n){for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var r=o;e(r);var i=r.localName;if("link"===i&&"import"===r.getAttribute("rel")){if(o=r.import,void 0===n&&(n=new Set),o instanceof Node&&!n.has(o))for(n.add(o),o=o.firstChild;o;o=o.nextSibling)A(o,e,n);o=L(t,r);continue}if("template"===i){o=L(t,r);continue}if(r=r.__CE_shadowRoot)for(r=r.firstChild;r;r=r.nextSibling)A(r,e,n)}o=o.firstChild?o.firstChild:L(t,o)}}function F(){var t=!(null==at||!at.noDocumentConstructionObserver),e=!(null==at||!at.shadyDomFastWalk);this.h=[],this.a=[],this.f=!1,this.shadyDomFastWalk=e,this.C=!t}function H(t,e,n,o){var r=window.ShadyDom;if(t.shadyDomFastWalk&&r&&r.inUse){if(e.nodeType===Node.ELEMENT_NODE&&n(e),e.querySelectorAll)for(t=r.nativeMethods.querySelectorAll.call(e,"*"),e=0;e"+t+"<\/script>"},h=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(r){}var t,e;h=o?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(o):((e=l("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[u]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=r(t),n=new f,f.prototype=null,n[u]=t):n=h(),void 0===e?n:i(n,e)}},ftMj:function(t,e,n){var o=n("I+eb"),r=n("glrk"),i=n("hh1v"),a=n("UTVS"),s=n("0Dky"),c=n("m/L8"),l=n("Bs8V"),u=n("4WOD"),f=n("XGwC");o({target:"Reflect",stat:!0,forced:s(function(){var t=c.f({},"a",{configurable:!0});return!1!==Reflect.set(u(t),"a",1,t)})},{set:function t(e,n,o){var s,p,h=arguments.length<4?e:arguments[3],d=l.f(r(e),n);if(!d){if(i(p=u(e)))return t(p,n,o,h);d=f(0)}if(a(d,"value")){if(!1===d.writable||!i(h))return!1;if(s=l.f(h,n)){if(s.get||s.set||!1===s.writable)return!1;s.value=o,c.f(h,n,s)}else c.f(h,n,f(0,o));return!0}return void 0!==d.set&&(d.set.call(h,o),!0)}})},"g6v/":function(t,e,n){var o=n("0Dky");t.exports=!o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},glrk:function(t,e,n){var o=n("hh1v");t.exports=function(t){if(!o(t))throw TypeError(String(t)+" is not an object");return t}},"hN/g":function(t,e,n){"use strict";n.r(e),n("SkA5"),n("pDpN"),n("aVe3"),window.global=window},hh1v:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},i5pp:function(t,e,n){var o=n("I+eb"),r=n("glrk"),i=n("O741"),a=n("0rvr");a&&o({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){r(t),i(e);try{return a(t,e),!0}catch(n){return!1}}})},iSVu:function(t,e,n){var o=n("xs3f"),r=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(t){return r.call(t)}),t.exports=o.inspectSource},kOOl:function(t,e){var n=0,o=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+o).toString(36)}},kRJp:function(t,e,n){var o=n("g6v/"),r=n("m/L8"),i=n("XGwC");t.exports=o?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},lMq5:function(t,e,n){var o=n("0Dky"),r=/#|\.prototype\./,i=function(t,e){var n=s[a(t)];return n==l||n!=c&&("function"==typeof e?o(e):!!e)},a=i.normalize=function(t){return String(t).replace(r,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},"m/L8":function(t,e,n){var o=n("g6v/"),r=n("DPsx"),i=n("glrk"),a=n("wE6v"),s=Object.defineProperty;e.f=o?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),r)try{return s(t,e,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},nkod:function(t,e,n){var o=n("I+eb"),r=n("g6v/"),i=n("glrk"),a=n("Bs8V");o({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(t,e){return a.f(i(t),e)}})},pDpN:function(t,e,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(t){const e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function o(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");const r=t.__Zone_symbol_prefix||"__zone_symbol__";function i(t){return r+t}const a=!0===t[i("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}class s{constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==x.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=s.current;for(;t.parent;)t=t.parent;return t}static get current(){return j.zone}static get currentTask(){return Z}static __load_patch(e,r){if(x.hasOwnProperty(e)){if(a)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const i="Zone:"+e;n(i),x[e]=r(t,s,P),o(i,i)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),o=this;return function(){return o.runGuarded(n,this,arguments,e)}}run(t,e,n,o){j={parent:j,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,o)}finally{j=j.parent}}runGuarded(t,e=null,n,o){j={parent:j,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{j=j.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||_).name+"; Execution: "+this.name+")");if(t.state===b&&(t.type===O||t.type===D))return;const o=t.state!=E;o&&t._transitionTo(E,w),t.runCount++;const r=Z;Z=t,j={parent:j,zone:this};try{t.type==D&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==b&&t.state!==C&&(t.type==O||t.data&&t.data.isPeriodic?o&&t._transitionTo(w,E):(t.runCount=0,this._updateTaskCount(t,-1),o&&t._transitionTo(b,E,b))),j=j.parent,Z=r}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(k,b);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(C,k,b),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==k&&t._transitionTo(w,k),t}scheduleMicroTask(t,e,n,o){return this.scheduleTask(new u(S,t,e,n,o,void 0))}scheduleMacroTask(t,e,n,o,r){return this.scheduleTask(new u(D,t,e,n,o,r))}scheduleEventTask(t,e,n,o,r){return this.scheduleTask(new u(O,t,e,n,o,r))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||_).name+"; Execution: "+this.name+")");t._transitionTo(T,w,E);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(C,T),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(b,T),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let o=0;ot.hasTask(n,o),onScheduleTask:(t,e,n,o)=>t.scheduleTask(n,o),onInvokeTask:(t,e,n,o,r,i)=>t.invokeTask(n,o,r,i),onCancelTask:(t,e,n,o)=>t.cancelTask(n,o)};class l{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||e&&e._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new s(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,o,r):e.apply(n,o)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=S)throw new Error("Task is missing scheduleFn.");y(e)}return n}invokeTask(t,e,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,o):e.callback.apply(n,o)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,o=n[t],r=n[t]=o+e;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class u{constructor(e,n,o,r,i,a){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=n,this.data=r,this.scheduleFn=i,this.cancelFn=a,!o)throw new Error("callback is not defined");this.callback=o;const s=this;this.invoke=e===O&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(t,s,this,arguments)}}static invokeTask(t,e,n){t||(t=this),N++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==N&&v(),N--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,k)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==b&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const f=i("setTimeout"),p=i("Promise"),h=i("then");let d,g=[],m=!1;function y(e){if(0===N&&0===g.length)if(d||t[p]&&(d=t[p].resolve(0)),d){let t=d[h];t||(t=d.then),t.call(d,v)}else t[f](v,0);e&&g.push(e)}function v(){if(!m){for(m=!0;g.length;){const e=g;g=[];for(let n=0;nj,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:y,showUncaughtError:()=>!s[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,setNativePromise:t=>{t&&"function"==typeof t.resolve&&(d=t.resolve(0))},patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let j={parent:null,zone:new s(null,null)},Z=null,N=0;function R(){}o("Zone","Zone"),t.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,i=n.symbol,a=[],s=!0===t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=i("Promise"),l=i("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;a.length;){const e=a.shift();try{e.zone.runGuarded(()=>{throw e})}catch(t){f(t)}}};const u=i("unhandledPromiseRejectionHandler");function f(t){n.onUnhandledError(t);try{const n=e[u];"function"==typeof n&&n.call(this,t)}catch(o){}}function p(t){return t&&t.then}function h(t){return t}function d(t){return D.reject(t)}const g=i("state"),m=i("value"),y=i("finally"),v=i("parentPromiseValue"),_=i("parentPromiseState");function b(t,e){return n=>{try{w(t,e,n)}catch(o){w(t,!1,o)}}}const k=i("currentTaskTrace");function w(t,o,i){const c=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}}();if(t===i)throw new TypeError("Promise resolved with itself");if(null===t[g]){let f=null;try{"object"!=typeof i&&"function"!=typeof i||(f=i&&i.then)}catch(u){return c(()=>{w(t,!1,u)})(),t}if(!1!==o&&i instanceof D&&i.hasOwnProperty(g)&&i.hasOwnProperty(m)&&null!==i[g])T(i),w(t,i[g],i[m]);else if(!1!==o&&"function"==typeof f)try{f.call(i,c(b(t,o)),c(b(t,!1)))}catch(u){c(()=>{w(t,!1,u)})()}else{t[g]=o;const c=t[m];if(t[m]=i,t[y]===y&&!0===o&&(t[g]=t[_],t[m]=t[v]),!1===o&&i instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&r(i,k,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e{try{const o=t[m],r=!!n&&y===n[y];r&&(n[v]=o,n[_]=i);const s=e.run(a,void 0,r&&a!==d&&a!==h?[]:[o]);w(n,!0,s)}catch(o){w(n,!1,o)}},n)}const S=function(){};class D{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return w(new this(null),!0,t)}static reject(t){return w(new this(null),!1,t)}static race(t){let e,n,o=new this((t,o)=>{e=t,n=o});function r(t){e(t)}function i(t){n(t)}for(let a of t)p(a)||(a=this.resolve(a)),a.then(r,i);return o}static all(t){return D.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof D?this:D).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,o,r=new this((t,e)=>{n=t,o=e}),i=2,a=0;const s=[];for(let l of t){p(l)||(l=this.resolve(l));const t=a;try{l.then(o=>{s[t]=e?e.thenCallback(o):o,i--,0===i&&n(s)},r=>{e?(s[t]=e.errorCallback(r),i--,0===i&&n(s)):o(r)})}catch(c){o(c)}i++,a++}return i-=2,0===i&&n(s),r}constructor(t){const e=this;if(!(e instanceof D))throw new Error("Must be an instanceof Promise.");e[g]=null,e[m]=[];try{t&&t(b(e,!0),b(e,!1))}catch(n){w(e,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return D}then(t,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||D);const r=new o(S),i=e.current;return null==this[g]?this[m].push(i,r,t,n):C(this,i,r,t,n),r}catch(t){return this.then(null,t)}finally(t){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=D);const o=new n(S);o[y]=y;const r=e.current;return null==this[g]?this[m].push(r,o,t,t):C(this,r,o,t,t),o}}D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;const O=t[c]=t.Promise,x=e.__symbol__("ZoneAwarePromise");let P=o(t,"Promise");P&&!P.configurable||(P&&delete P.writable,P&&delete P.value,P||(P={configurable:!0,enumerable:!0}),P.get=function(){return t[x]?t[x]:t[c]},P.set=function(e){e===D?t[x]=e:(t[c]=e,e.prototype[l]||Z(e),n.setNativePromise(e))},r(t,"Promise",P)),t.Promise=D;const j=i("thenPatched");function Z(t){const e=t.prototype,n=o(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=e.then;e[l]=r,t.prototype.then=function(t,e){return new D((t,e)=>{r.call(this,t,e)}).then(t,e)},t[j]=!0}if(n.patchThen=Z,O){Z(O);const e=t.fetch;"function"==typeof e&&(t[n.symbol("fetch")]=e,t.fetch=(N=e,function(){let t=N.apply(this,arguments);if(t instanceof D)return t;let e=t.constructor;return e[j]||Z(e),t}))}var N;return Promise[e.__symbol__("uncaughtPromiseErrors")]=a,D});const t=Object.getOwnPropertyDescriptor,e=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,i=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),s=Zone.__symbol__("");function c(t,e){return Zone.current.wrap(t,e)}function l(t,e,n,o,r){return Zone.current.scheduleMacroTask(t,e,n,o,r)}const u=Zone.__symbol__,f="undefined"!=typeof window,p=f?window:void 0,h=f&&p||"object"==typeof self&&self||global,d=[null];function g(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=c(t[n],e+"_"+n));return t}function m(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,v=!("nw"in h)&&void 0!==h.process&&"[object process]"==={}.toString.call(h.process),_=!v&&!y&&!(!f||!p.HTMLElement),b=void 0!==h.process&&"[object process]"==={}.toString.call(h.process)&&!y&&!(!f||!p.HTMLElement),k={},w=function(t){if(!(t=t||h.event))return;let e=k[t.type];e||(e=k[t.type]=u("ON_PROPERTY"+t.type));const n=this||t.target||h,o=n[e];let r;if(_&&n===p&&"error"===t.type){const e=t;r=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===r&&t.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||t.preventDefault();return r};function E(n,o,r){let i=t(n,o);if(!i&&r&&t(r,o)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const a=u("on"+o+"patched");if(n.hasOwnProperty(a)&&n[a])return;delete i.writable,delete i.value;const s=i.get,c=i.set,l=o.substr(2);let f=k[l];f||(f=k[l]=u("ON_PROPERTY"+l)),i.set=function(t){let e=this;e||n!==h||(e=h),e&&(e[f]&&e.removeEventListener(l,w),c&&c.apply(e,d),"function"==typeof t?(e[f]=t,e.addEventListener(l,w,!1)):e[f]=null)},i.get=function(){let t=this;if(t||n!==h||(t=h),!t)return null;const e=t[f];if(e)return e;if(s){let e=s&&s.call(this);if(e)return i.set.call(this,e),"function"==typeof t.removeAttribute&&t.removeAttribute(o),e}return null},e(n,o,i),n[a]=!0}function T(t,e,n){if(e)for(let o=0;ofunction(e,o){const i=n(e,o);return i.cbIdx>=0&&"function"==typeof o[i.cbIdx]?l(i.name,o[i.cbIdx],i,r):t.apply(e,o)})}function x(t,e){t[u("OriginalDelegate")]=e}let P=!1,j=!1;function Z(){try{const t=p.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}function N(){if(P)return j;P=!0;try{const t=p.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(j=!0)}catch(t){}return j}Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=u("OriginalDelegate"),o=u("Promise"),r=u("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=t[o];if(n)return e.call(n)}if(this===Error){const n=t[r];if(n)return e.call(n)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;const a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});let R=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){R=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(st){R=!1}const z={useG:!0},M={},I={},L=new RegExp("^"+s+"(\\w+)(true|false)$"),A=u("propagationStopped");function F(t,e){const n=(e?e(t):t)+"false",o=(e?e(t):t)+"true",r=s+n,i=s+o;M[t]={},M[t].false=r,M[t].true=i}function H(t,e,o){const r=o&&o.add||"addEventListener",i=o&&o.rm||"removeEventListener",a=o&&o.listeners||"eventListeners",c=o&&o.rmAll||"removeAllListeners",l=u(r),f="."+r+":",p=function(t,e,n){if(t.isRemoved)return;const o=t.callback;"object"==typeof o&&o.handleEvent&&(t.callback=t=>o.handleEvent(t),t.originalDelegate=o),t.invoke(t,e,[n]);const r=t.options;r&&"object"==typeof r&&r.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,r)},h=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,o=n[M[e.type].false];if(o)if(1===o.length)p(o[0],n,e);else{const t=o.slice();for(let o=0;ofunction(e,n){e[A]=!0,t&&t.apply(e,n)})}function V(t,e,n,o,r){const i=Zone.__symbol__(o);if(e[i])return;const a=e[i]=e[o];e[o]=function(i,s,c){return s&&s.prototype&&r.forEach(function(e){const r=`${n}.${o}::`+e,i=s.prototype;if(i.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(i,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,r),t._redefineProperty(s.prototype,e,n)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],r))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],r))}),a.call(e,i,s,c)},t.attachOriginToPatched(e[o],a)}const W=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],U=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],q=["load"],X=["blur","error","focus","load","resize","scroll","messageerror"],Y=["bounce","finish","start"],J=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],K=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],$=["close","error","open","message"],Q=["error","message"],tt=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],W,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function et(t,e,n){if(!n||0===n.length)return e;const o=n.filter(e=>e.target===t);if(!o||0===o.length)return e;const r=o[0].ignoreProperties;return e.filter(t=>-1===r.indexOf(t))}function nt(t,e,n,o){t&&T(t,et(t,e,n),o)}function ot(t,e){if(v&&!b)return;if(Zone[t.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=e.__Zone_ignore_on_properties;if(_){const t=window,e=Z?[{target:t,ignoreProperties:["error"]}]:[];nt(t,tt.concat(["messageerror"]),r?r.concat(e):r,n(t)),nt(Document.prototype,tt,r),void 0!==t.SVGElement&&nt(t.SVGElement.prototype,tt,r),nt(Element.prototype,tt,r),nt(HTMLElement.prototype,tt,r),nt(HTMLMediaElement.prototype,U,r),nt(HTMLFrameSetElement.prototype,W.concat(X),r),nt(HTMLBodyElement.prototype,W.concat(X),r),nt(HTMLFrameElement.prototype,q,r),nt(HTMLIFrameElement.prototype,q,r);const o=t.HTMLMarqueeElement;o&&nt(o.prototype,Y,r);const i=t.Worker;i&&nt(i.prototype,Q,r)}const i=e.XMLHttpRequest;i&&nt(i.prototype,J,r);const a=e.XMLHttpRequestEventTarget;a&&nt(a&&a.prototype,J,r),"undefined"!=typeof IDBIndex&&(nt(IDBIndex.prototype,K,r),nt(IDBRequest.prototype,K,r),nt(IDBOpenDBRequest.prototype,K,r),nt(IDBDatabase.prototype,K,r),nt(IDBTransaction.prototype,K,r),nt(IDBCursor.prototype,K,r)),o&&nt(WebSocket.prototype,$,r)}Zone.__load_patch("util",(n,i,a)=>{a.patchOnProperties=T,a.patchMethod=D,a.bindArguments=g,a.patchMacroTask=O;const l=i.__symbol__("BLACK_LISTED_EVENTS"),u=i.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[l]=n[u]),n[l]&&(i[l]=i[u]=n[l]),a.patchEventPrototype=G,a.patchEventTarget=H,a.isIEOrEdge=N,a.ObjectDefineProperty=e,a.ObjectGetOwnPropertyDescriptor=t,a.ObjectCreate=o,a.ArraySlice=r,a.patchClass=S,a.wrapWithCurrentZone=c,a.filterProperties=et,a.attachOriginToPatched=x,a._redefineProperty=Object.defineProperty,a.patchCallbacks=V,a.getGlobalObjects=()=>({globalSources:I,zoneSymbolEventNames:M,eventNames:tt,isBrowser:_,isMix:b,isNode:v,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:s,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const rt=u("zoneTask");function it(t,e,n,o){let r=null,i=null;n+=o;const a={};function s(e){const n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[rt]=null))}},n.handleId=r.apply(t,n.args),e}function c(t){return i(t.data.handleId)}r=D(t,e+=o,n=>function(r,i){if("function"==typeof i[0]){const t=l(e,i[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?i[1]||0:void 0,args:i},s,c);if(!t)return t;const n=t.data.handleId;return"number"==typeof n?a[n]=t:n&&(n[rt]=t),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(t.ref=n.ref.bind(n),t.unref=n.unref.bind(n)),"number"==typeof n||n?n:t}return n.apply(t,i)}),i=D(t,n,e=>function(n,o){const r=o[0];let i;"number"==typeof r?i=a[r]:(i=r&&r[rt],i||(i=r)),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof r?delete a[r]:r&&(r[rt]=null),i.zone.cancelTask(i)):e.apply(t,o)})}function at(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:i,ZONE_SYMBOL_PREFIX:a}=e.getGlobalObjects();for(let c=0;c{const e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("timers",t=>{it(t,"set","clear","Timeout"),it(t,"set","clear","Interval"),it(t,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{it(t,"request","cancel","AnimationFrame"),it(t,"mozRequest","mozCancel","AnimationFrame"),it(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let o=0;ofunction(o,i){return e.current.run(n,t,i,r)})}),Zone.__load_patch("EventTarget",(t,e,n)=>{(function(t,e){e.patchEventPrototype(t,e)})(t,n),at(t,n);const o=t.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(t,[o.prototype]),S("MutationObserver"),S("WebKitMutationObserver"),S("IntersectionObserver"),S("FileReader")}),Zone.__load_patch("on_property",(t,e,n)=>{ot(n,t)}),Zone.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:o}=e.getGlobalObjects();(n||o)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",(t,e)=>{!function(t){const p=t.XMLHttpRequest;if(!p)return;const h=p.prototype;let d=h[i],g=h[a];if(!d){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;d=t[i],g=t[a]}}function m(t){const o=t.data,c=o.target;c[s]=!1,c[f]=!1;const l=c[r];d||(d=c[i],g=c[a]),l&&g.call(c,"readystatechange",l);const u=c[r]=()=>{if(c.readyState===c.DONE)if(!o.aborted&&c[s]&&"scheduled"===t.state){const n=c[e.__symbol__("loadfalse")];if(n&&n.length>0){const r=t.invoke;t.invoke=function(){const n=c[e.__symbol__("loadfalse")];for(let e=0;efunction(t,e){return t[o]=0==e[2],t[c]=e[1],_.apply(t,e)}),b=u("fetchTaskAborting"),k=u("fetchTaskScheduling"),w=D(h,"send",()=>function(t,n){if(!0===e.current[k])return w.apply(t,n);if(t[o])return w.apply(t,n);{const e={target:t,url:t[c],isPeriodic:!1,args:n,aborted:!1},o=l("XMLHttpRequest.send",y,e,m,v);t&&!0===t[f]&&!e.aborted&&"scheduled"===o.state&&o.invoke()}}),E=D(h,"abort",()=>function(t,o){const r=t[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===e.current[b])return E.apply(t,o)})}(t);const n=u("xhrTask"),o=u("xhrSync"),r=u("xhrListener"),s=u("xhrScheduled"),c=u("xhrURL"),f=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const o=e.constructor.name;for(let r=0;r{const e=function(){return t.apply(this,g(arguments,o+"."+i))};return x(e,t),e})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){B(t,e).forEach(o=>{const r=t.PromiseRejectionEvent;if(r){const t=new r(e,{promise:n.promise,reason:n.rejection});o.invoke(t)}})}}t.PromiseRejectionEvent&&(e[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(e,n,e,t):o)||(t.exports=r)},ppGB:function(t,e){var n=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:n)(t)}},pv2x:function(t,e,n){var o=n("I+eb"),r=n("0GbY"),i=n("HAuM"),a=n("glrk"),s=n("0Dky"),c=r("Reflect","apply"),l=Function.apply;o({target:"Reflect",stat:!0,forced:!s(function(){c(function(){})})},{apply:function(t,e,n){return i(t),a(n),c?c(t,e,n):l.call(t,e,n)}})},rBZX:function(t,e,n){var o=n("I+eb"),r=n("glrk"),i=n("Bs8V").f;o({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=i(r(t),e);return!(n&&!n.configurable)&&delete t[e]}})},uy83:function(t,e,n){var o=n("0Dky");t.exports=!o(function(){return Object.isExtensible(Object.preventExtensions({}))})},wE6v:function(t,e,n){var o=n("hh1v");t.exports=function(t,e){if(!o(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!o(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!o(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!o(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},x2An:function(t,e,n){n("I+eb")({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},xDBR:function(t,e){t.exports=!1},xrYK:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},xs3f:function(t,e,n){var o=n("2oRo"),r=n("zk60"),i=o["__core-js_shared__"]||r("__core-js_shared__",{});t.exports=i},yoRg:function(t,e,n){var o=n("UTVS"),r=n("/GqU"),i=n("TWQb").indexOf,a=n("0BK2");t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)!o(a,n)&&o(s,n)&&l.push(n);for(;e.length>c;)o(s,n=e[c++])&&(~i(l,n)||l.push(n));return l}},zBJ4:function(t,e,n){var o=n("2oRo"),r=n("hh1v"),i=o.document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},zk60:function(t,e,n){var o=n("2oRo"),r=n("kRJp");t.exports=function(t,e){try{r(o,t,e)}catch(n){o[t]=e}return e}}},[[2,1]]]); \ No newline at end of file diff --git a/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/runtime-es2018.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/runtime-es2018.js new file mode 100644 index 00000000..9aeec8d8 --- /dev/null +++ b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/altair/runtime-es2018.js @@ -0,0 +1 @@ +!function(e){function r(r){for(var n,i,a=r[0],c=r[1],l=r[2],p=0,s=[];p*{line-height:1}.anticon svg{display:inline-block}.anticon:before{display:none}.anticon .anticon-icon{display:block}.anticon[tabindex]{cursor:pointer}.anticon-spin,.anticon-spin:before{display:inline-block;-webkit-animation:loadingCircle 1s linear infinite;animation:loadingCircle 1s linear infinite}.fade-appear,.fade-enter,.fade-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.fade-appear.fade-appear-active,.fade-enter.fade-enter-active{-webkit-animation-name:antFadeIn;animation-name:antFadeIn;-webkit-animation-play-state:running;animation-play-state:running}.fade-leave.fade-leave-active{-webkit-animation-name:antFadeOut;animation-name:antFadeOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.fade-appear,.fade-enter{opacity:0}.fade-appear,.fade-enter,.fade-leave{-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes antFadeOut{0%{opacity:1}to{opacity:0}}@keyframes antFadeOut{0%{opacity:1}to{opacity:0}}.move-up-appear,.move-up-enter,.move-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-up-appear.move-up-appear-active,.move-up-enter.move-up-enter-active{-webkit-animation-name:antMoveUpIn;animation-name:antMoveUpIn;-webkit-animation-play-state:running;animation-play-state:running}.move-up-leave.move-up-leave-active{-webkit-animation-name:antMoveUpOut;animation-name:antMoveUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-up-appear,.move-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-up-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-down-appear,.move-down-enter,.move-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-down-appear.move-down-appear-active,.move-down-enter.move-down-enter-active{-webkit-animation-name:antMoveDownIn;animation-name:antMoveDownIn;-webkit-animation-play-state:running;animation-play-state:running}.move-down-leave.move-down-leave-active{-webkit-animation-name:antMoveDownOut;animation-name:antMoveDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-down-appear,.move-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-down-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-left-appear,.move-left-enter,.move-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-left-appear.move-left-appear-active,.move-left-enter.move-left-enter-active{-webkit-animation-name:antMoveLeftIn;animation-name:antMoveLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.move-left-leave.move-left-leave-active{-webkit-animation-name:antMoveLeftOut;animation-name:antMoveLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-left-appear,.move-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-left-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}.move-right-appear,.move-right-enter,.move-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-right-appear.move-right-appear-active,.move-right-enter.move-right-enter-active{-webkit-animation-name:antMoveRightIn;animation-name:antMoveRightIn;-webkit-animation-play-state:running;animation-play-state:running}.move-right-leave.move-right-leave-active{-webkit-animation-name:antMoveRightOut;animation-name:antMoveRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.move-right-appear,.move-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.move-right-leave{-webkit-animation-timing-function:cubic-bezier(.6,.04,.98,.34);animation-timing-function:cubic-bezier(.6,.04,.98,.34)}@-webkit-keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveDownIn{0%{transform:translateY(100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveDownOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveLeftIn{0%{transform:translateX(-100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveLeftOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(-100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@keyframes antMoveRightIn{0%{transform:translateX(100%);transform-origin:0 0;opacity:0}to{transform:translateX(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@keyframes antMoveRightOut{0%{transform:translateX(0);transform-origin:0 0;opacity:1}to{transform:translateX(100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@keyframes antMoveUpIn{0%{transform:translateY(-100%);transform-origin:0 0;opacity:0}to{transform:translateY(0);transform-origin:0 0;opacity:1}}@-webkit-keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@keyframes antMoveUpOut{0%{transform:translateY(0);transform-origin:0 0;opacity:1}to{transform:translateY(-100%);transform-origin:0 0;opacity:0}}@-webkit-keyframes loadingCircle{to{transform:rotate(1turn)}}@keyframes loadingCircle{to{transform:rotate(1turn)}}[ant-click-animating-without-extra-node=true],[ant-click-animating=true]{position:relative}html{--antd-wave-shadow-color:#7ebc59;--scroll-bar:0}.ant-click-animating-node,[ant-click-animating-without-extra-node=true]:after{position:absolute;top:0;right:0;bottom:0;left:0;display:block;border-radius:inherit;box-shadow:0 0 0 0 #7ebc59;box-shadow:0 0 0 0 var(--antd-wave-shadow-color);opacity:.2;-webkit-animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;content:"";pointer-events:none}@-webkit-keyframes waveEffect{to{box-shadow:0 0 0 #7ebc59;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@keyframes waveEffect{to{box-shadow:0 0 0 #7ebc59;box-shadow:0 0 0 6px var(--antd-wave-shadow-color)}}@-webkit-keyframes fadeEffect{to{opacity:0}}@keyframes fadeEffect{to{opacity:0}}.slide-up-appear,.slide-up-enter,.slide-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-up-appear.slide-up-appear-active,.slide-up-enter.slide-up-enter-active{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-up-leave.slide-up-leave-active{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-up-appear,.slide-up-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-up-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-down-appear,.slide-down-enter,.slide-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-down-appear.slide-down-appear-active,.slide-down-enter.slide-down-enter-active{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-down-leave.slide-down-leave-active{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-down-appear,.slide-down-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-down-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-left-appear,.slide-left-enter,.slide-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-left-appear.slide-left-appear-active,.slide-left-enter.slide-left-enter-active{-webkit-animation-name:antSlideLeftIn;animation-name:antSlideLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-left-leave.slide-left-leave-active{-webkit-animation-name:antSlideLeftOut;animation-name:antSlideLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-left-appear,.slide-left-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-left-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}.slide-right-appear,.slide-right-enter,.slide-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-right-appear.slide-right-appear-active,.slide-right-enter.slide-right-enter-active{-webkit-animation-name:antSlideRightIn;animation-name:antSlideRightIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-right-leave.slide-right-leave-active{-webkit-animation-name:antSlideRightOut;animation-name:antSlideRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.slide-right-appear,.slide-right-enter{opacity:0;-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.slide-right-leave{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06)}@-webkit-keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@keyframes antSlideUpIn{0%{transform:scaleY(.8);transform-origin:0 0;opacity:0}to{transform:scaleY(1);transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideUpOut{0%{transform:scaleY(1);transform-origin:0 0;opacity:1}to{transform:scaleY(.8);transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@keyframes antSlideDownIn{0%{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}to{transform:scaleY(1);transform-origin:100% 100%;opacity:1}}@-webkit-keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@keyframes antSlideDownOut{0%{transform:scaleY(1);transform-origin:100% 100%;opacity:1}to{transform:scaleY(.8);transform-origin:100% 100%;opacity:0}}@-webkit-keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@keyframes antSlideLeftIn{0%{transform:scaleX(.8);transform-origin:0 0;opacity:0}to{transform:scaleX(1);transform-origin:0 0;opacity:1}}@-webkit-keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@keyframes antSlideLeftOut{0%{transform:scaleX(1);transform-origin:0 0;opacity:1}to{transform:scaleX(.8);transform-origin:0 0;opacity:0}}@-webkit-keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@keyframes antSlideRightIn{0%{transform:scaleX(.8);transform-origin:100% 0;opacity:0}to{transform:scaleX(1);transform-origin:100% 0;opacity:1}}@-webkit-keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}@keyframes antSlideRightOut{0%{transform:scaleX(1);transform-origin:100% 0;opacity:1}to{transform:scaleX(.8);transform-origin:100% 0;opacity:0}}.zoom-appear,.zoom-enter,.zoom-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-appear.zoom-appear-active,.zoom-enter.zoom-enter-active{-webkit-animation-name:antZoomIn;animation-name:antZoomIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-leave.zoom-leave-active{-webkit-animation-name:antZoomOut;animation-name:antZoomOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-appear,.zoom-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-appear-prepare,.zoom-enter-prepare{transform:none}.zoom-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-big-appear,.zoom-big-enter,.zoom-big-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-big-appear.zoom-big-appear-active,.zoom-big-enter.zoom-big-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-big-leave.zoom-big-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-big-appear,.zoom-big-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-big-appear-prepare,.zoom-big-enter-prepare{transform:none}.zoom-big-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-big-fast-appear,.zoom-big-fast-enter,.zoom-big-fast-leave{-webkit-animation-duration:.1s;animation-duration:.1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-big-fast-appear.zoom-big-fast-appear-active,.zoom-big-fast-enter.zoom-big-fast-enter-active{-webkit-animation-name:antZoomBigIn;animation-name:antZoomBigIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-big-fast-leave.zoom-big-fast-leave-active{-webkit-animation-name:antZoomBigOut;animation-name:antZoomBigOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-big-fast-appear,.zoom-big-fast-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-big-fast-appear-prepare,.zoom-big-fast-enter-prepare{transform:none}.zoom-big-fast-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-up-appear,.zoom-up-enter,.zoom-up-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-up-appear.zoom-up-appear-active,.zoom-up-enter.zoom-up-enter-active{-webkit-animation-name:antZoomUpIn;animation-name:antZoomUpIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-up-leave.zoom-up-leave-active{-webkit-animation-name:antZoomUpOut;animation-name:antZoomUpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-up-appear,.zoom-up-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-up-appear-prepare,.zoom-up-enter-prepare{transform:none}.zoom-up-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-down-appear,.zoom-down-enter,.zoom-down-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-down-appear.zoom-down-appear-active,.zoom-down-enter.zoom-down-enter-active{-webkit-animation-name:antZoomDownIn;animation-name:antZoomDownIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-down-leave.zoom-down-leave-active{-webkit-animation-name:antZoomDownOut;animation-name:antZoomDownOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-down-appear,.zoom-down-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-down-appear-prepare,.zoom-down-enter-prepare{transform:none}.zoom-down-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-left-appear,.zoom-left-enter,.zoom-left-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-left-appear.zoom-left-appear-active,.zoom-left-enter.zoom-left-enter-active{-webkit-animation-name:antZoomLeftIn;animation-name:antZoomLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-left-leave.zoom-left-leave-active{-webkit-animation-name:antZoomLeftOut;animation-name:antZoomLeftOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-left-appear,.zoom-left-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-left-appear-prepare,.zoom-left-enter-prepare{transform:none}.zoom-left-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.zoom-right-appear,.zoom-right-enter,.zoom-right-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.zoom-right-appear.zoom-right-appear-active,.zoom-right-enter.zoom-right-enter-active{-webkit-animation-name:antZoomRightIn;animation-name:antZoomRightIn;-webkit-animation-play-state:running;animation-play-state:running}.zoom-right-leave.zoom-right-leave-active{-webkit-animation-name:antZoomRightOut;animation-name:antZoomRightOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.zoom-right-appear,.zoom-right-enter{transform:scale(0);opacity:0;-webkit-animation-timing-function:cubic-bezier(.08,.82,.17,1);animation-timing-function:cubic-bezier(.08,.82,.17,1)}.zoom-right-appear-prepare,.zoom-right-enter-prepare{transform:none}.zoom-right-leave{-webkit-animation-timing-function:cubic-bezier(.78,.14,.15,.86);animation-timing-function:cubic-bezier(.78,.14,.15,.86)}@-webkit-keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomIn{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@keyframes antZoomOut{0%{transform:scale(1)}to{transform:scale(.2);opacity:0}}@-webkit-keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes antZoomBigIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@-webkit-keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@keyframes antZoomBigOut{0%{transform:scale(1)}to{transform:scale(.8);opacity:0}}@-webkit-keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@keyframes antZoomUpIn{0%{transform:scale(.8);transform-origin:50% 0;opacity:0}to{transform:scale(1);transform-origin:50% 0}}@-webkit-keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@keyframes antZoomUpOut{0%{transform:scale(1);transform-origin:50% 0}to{transform:scale(.8);transform-origin:50% 0;opacity:0}}@-webkit-keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@keyframes antZoomLeftIn{0%{transform:scale(.8);transform-origin:0 50%;opacity:0}to{transform:scale(1);transform-origin:0 50%}}@-webkit-keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@keyframes antZoomLeftOut{0%{transform:scale(1);transform-origin:0 50%}to{transform:scale(.8);transform-origin:0 50%;opacity:0}}@-webkit-keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@keyframes antZoomRightIn{0%{transform:scale(.8);transform-origin:100% 50%;opacity:0}to{transform:scale(1);transform-origin:100% 50%}}@-webkit-keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@keyframes antZoomRightOut{0%{transform:scale(1);transform-origin:100% 50%}to{transform:scale(.8);transform-origin:100% 50%;opacity:0}}@-webkit-keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@keyframes antZoomDownIn{0%{transform:scale(.8);transform-origin:50% 100%;opacity:0}to{transform:scale(1);transform-origin:50% 100%}}@-webkit-keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}@keyframes antZoomDownOut{0%{transform:scale(1);transform-origin:50% 100%}to{transform:scale(.8);transform-origin:50% 100%;opacity:0}}.ant-motion-collapse-legacy{overflow:hidden}.ant-motion-collapse,.ant-motion-collapse-legacy-active{transition:height .2s cubic-bezier(.645,.045,.355,1),opacity .2s cubic-bezier(.645,.045,.355,1)!important}.ant-motion-collapse{overflow:hidden}.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:1000}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-overlay-backdrop{top:0;bottom:0;left:0;right:0;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0;position:absolute;pointer-events:auto;z-index:1000}.cdk-overlay-backdrop.ant-modal-mask{opacity:1}.cdk-overlay-pane{position:absolute;pointer-events:auto;z-index:1000}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-global-scrollblock body{overflow-x:visible}.nz-overlay-transparent-backdrop,.nz-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.nz-animate-disabled.ant-drawer.ant-drawer-open .ant-drawer-mask{-webkit-animation:none;animation:none;transition:none}.nz-animate-disabled.ant-drawer>*{transition:none}.nz-animate-disabled .ant-modal,.nz-animate-disabled .ant-modal-mask,.nz-animate-disabled .ant-modal-mask.zoom-enter,.nz-animate-disabled .ant-modal-mask.zoom-enter-active,.nz-animate-disabled .ant-modal-mask.zoom-leave,.nz-animate-disabled .ant-modal-mask.zoom-leave-active,.nz-animate-disabled .ant-modal.zoom-enter,.nz-animate-disabled .ant-modal.zoom-enter-active,.nz-animate-disabled .ant-modal.zoom-leave,.nz-animate-disabled .ant-modal.zoom-leave-active{-webkit-animation:none;animation:none;transition:none}.nz-animate-disabled.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg,.nz-animate-disabled.ant-menu,.nz-animate-disabled.ant-menu .ant-menu-item,.nz-animate-disabled.ant-menu .ant-menu-item .anticon,.nz-animate-disabled.ant-menu .ant-menu-item .anticon+span,.nz-animate-disabled.ant-menu .ant-menu-submenu-title,.nz-animate-disabled.ant-menu .ant-menu-submenu-title .anticon,.nz-animate-disabled.ant-menu .ant-menu-submenu-title .anticon+span,.nz-animate-disabled.ant-tabs .ant-tabs-bottom-content.ant-tabs-content-animated,.nz-animate-disabled.ant-tabs .ant-tabs-bottom-content>.ant-tabs-tabpane,.nz-animate-disabled.ant-tabs.ant-tabs-bottom .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-left .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs.ant-tabs-right .ant-tabs-ink-bar-animated,.nz-animate-disabled.ant-tabs .ant-tabs-top-content.ant-tabs-content-animated,.nz-animate-disabled.ant-tabs .ant-tabs-top-content>.ant-tabs-tabpane,.nz-animate-disabled.ant-tabs.ant-tabs-top .ant-tabs-ink-bar-animated{transition:none}.ant-affix{position:fixed;z-index:10}nz-affix{display:block}.ant-alert{box-sizing:border-box;margin:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:center;padding:8px 15px;word-wrap:break-word;border-radius:4px}.ant-alert-content{flex:1;min-width:0}.ant-alert-icon{margin-right:8px}.ant-alert-description{display:none;font-size:14px;line-height:22px}.ant-alert-success{background-color:#f6ffed;border:1px solid #b7eb8f}.ant-alert-success .ant-alert-icon{color:#52c41a}.ant-alert-info{background-color:#e6f7ff;border:1px solid #91d5ff}.ant-alert-info .ant-alert-icon{color:#1890ff}.ant-alert-warning{background-color:#fffbe6;border:1px solid #ffe58f}.ant-alert-warning .ant-alert-icon{color:#faad14}.ant-alert-error{background-color:#fff1f0;border:1px solid #ffa39e}.ant-alert-error .ant-alert-icon{color:#f5222d}.ant-alert-error .ant-alert-description>pre{margin:0;padding:0}.ant-alert-action{margin-left:8px}.ant-alert-close-icon{margin-left:8px;padding:0;overflow:hidden;font-size:12px;line-height:12px;background-color:transparent;border:none;outline:none;cursor:pointer}.ant-alert-close-icon .anticon-close{color:rgba(0,0,0,.45);transition:color .3s}.ant-alert-close-icon .anticon-close:hover{color:rgba(0,0,0,.75)}.ant-alert-close-text{color:rgba(0,0,0,.45);transition:color .3s}.ant-alert-close-text:hover{color:rgba(0,0,0,.75)}.ant-alert-with-description{align-items:flex-start;padding:15px 15px 15px 24px}.ant-alert-with-description.ant-alert-no-icon{padding:15px}.ant-alert-with-description .ant-alert-icon{margin-right:15px;font-size:24px}.ant-alert-with-description .ant-alert-message{display:block;margin-bottom:4px;color:rgba(0,0,0,.85);font-size:16px}.ant-alert-message{color:rgba(0,0,0,.85)}.ant-alert-with-description .ant-alert-description{display:block}.ant-alert.ant-alert-motion-leave{overflow:hidden;opacity:1;transition:max-height .3s cubic-bezier(.78,.14,.15,.86),opacity .3s cubic-bezier(.78,.14,.15,.86),padding-top .3s cubic-bezier(.78,.14,.15,.86),padding-bottom .3s cubic-bezier(.78,.14,.15,.86),margin-bottom .3s cubic-bezier(.78,.14,.15,.86)}.ant-alert.ant-alert-motion-leave-active{max-height:0;margin-bottom:0!important;padding-top:0;padding-bottom:0;opacity:0}.ant-alert-banner{margin-bottom:0;border:0;border-radius:0}.ant-alert.ant-alert-rtl{direction:rtl}.ant-alert-rtl.ant-alert.ant-alert-no-icon{padding:8px 15px}.ant-alert-rtl .ant-alert-icon{margin-right:auto;margin-left:8px}.ant-alert-rtl .ant-alert-action,.ant-alert-rtl .ant-alert-close-icon{margin-right:8px;margin-left:auto}.ant-alert-rtl.ant-alert-with-description .ant-alert-icon{margin-right:auto;margin-left:15px}nz-alert{display:block}.ant-anchor{box-sizing:border-box;margin:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;padding:0 0 0 2px}.ant-anchor-wrapper{margin-left:-4px;padding-left:4px;overflow:auto;background-color:#fff}.ant-anchor-ink{position:absolute;top:0;left:0;height:100%}.ant-anchor-ink:before{position:relative;display:block;width:2px;height:100%;margin:0 auto;background-color:#e8e8e8;content:" "}.ant-anchor-ink-ball{position:absolute;left:50%;display:none;width:8px;height:8px;background-color:#fff;border:2px solid #7ebc59;border-radius:8px;transform:translateX(-50%);transition:top .3s ease-in-out}.ant-anchor-ink-ball.visible{display:inline-block}.ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball{display:none}.ant-anchor-link{padding:7px 0 7px 16px;line-height:1.143}.ant-anchor-link-title{position:relative;display:block;margin-bottom:6px;overflow:hidden;color:rgba(0,0,0,.65);white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-anchor-link-title:only-child{margin-bottom:0}.ant-anchor-link-active>.ant-anchor-link-title{color:#7ebc59}.ant-anchor-link .ant-anchor-link{padding-top:5px;padding-bottom:5px}.ant-anchor-rtl{direction:rtl}.ant-anchor-rtl.ant-anchor-wrapper{margin-right:-4px;margin-left:0;padding-right:4px;padding-left:0}.ant-anchor-rtl .ant-anchor-ink{right:0;left:auto}.ant-anchor-rtl .ant-anchor-ink-ball{right:50%;left:0;transform:translateX(50%)}.ant-anchor-rtl .ant-anchor-link{padding:7px 16px 7px 0}nz-link{display:block}.ant-avatar{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;overflow:hidden;color:#fff;white-space:nowrap;text-align:center;vertical-align:middle;background:#ccc;width:32px;height:32px;line-height:32px;border-radius:50%}.ant-avatar-image{background:transparent}.ant-avatar .ant-image-img{display:block}.ant-avatar-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar.ant-avatar-icon{font-size:18px}.ant-avatar.ant-avatar-icon>.anticon{margin:0}.ant-avatar-lg{width:40px;height:40px;line-height:40px;border-radius:50%}.ant-avatar-lg-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-lg.ant-avatar-icon{font-size:24px}.ant-avatar-lg.ant-avatar-icon>.anticon{margin:0}.ant-avatar-sm{width:24px;height:24px;line-height:24px;border-radius:50%}.ant-avatar-sm-string{position:absolute;left:50%;transform-origin:0 center}.ant-avatar-sm.ant-avatar-icon{font-size:14px}.ant-avatar-sm.ant-avatar-icon>.anticon{margin:0}.ant-avatar-square{border-radius:4px}.ant-avatar>img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.ant-avatar-group{display:inline-flex}.ant-avatar-group .ant-avatar{border:1px solid #fff}.ant-avatar-group .ant-avatar:not(:first-child){margin-left:-8px}.ant-avatar-group-popover .ant-avatar+.ant-avatar{margin-left:3px}.ant-avatar-group-rtl .ant-avatar:not(:first-child){margin-right:-8px;margin-left:0}.ant-avatar-group-popover.ant-popover-rtl .ant-avatar+.ant-avatar{margin-right:3px;margin-left:0}.ant-back-top{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:fixed;right:100px;bottom:50px;z-index:10;width:40px;height:40px;cursor:pointer}.ant-back-top:empty{display:none}.ant-back-top-rtl{right:auto;left:100px;direction:rtl}.ant-back-top-content{width:40px;height:40px;overflow:hidden;color:#fff;text-align:center;background-color:rgba(0,0,0,.45);border-radius:20px;transition:all .3s}.ant-back-top-content:hover{background-color:rgba(0,0,0,.65);transition:all .3s}.ant-back-top-icon{font-size:24px;line-height:40px}@media screen and (max-width:768px){.ant-back-top{right:60px}}@media screen and (max-width:480px){.ant-back-top{right:20px}}.ant-badge{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;line-height:1}.ant-badge-count{z-index:auto;min-width:20px;height:20px;padding:0 6px;color:#fff;font-weight:400;font-size:12px;line-height:20px;white-space:nowrap;text-align:center;background:#f5222d;border-radius:10px;box-shadow:0 0 0 1px #fff}.ant-badge-count a,.ant-badge-count a:hover{color:#fff}.ant-badge-count-sm{min-width:14px;height:14px;padding:0;font-size:12px;line-height:14px;border-radius:7px}.ant-badge-multiple-words{padding:0 8px}.ant-badge-dot{z-index:auto;width:6px;min-width:6px;height:6px;background:#f5222d;border-radius:100%;box-shadow:0 0 0 1px #fff}.ant-badge-count,.ant-badge-dot,.ant-badge .ant-scroll-number-custom-component{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0}.ant-badge-status{line-height:inherit;vertical-align:baseline}.ant-badge-status-dot{position:relative;top:-1px;display:inline-block;width:6px;height:6px;vertical-align:middle;border-radius:50%}.ant-badge-status-success{background-color:#52c41a}.ant-badge-status-processing{position:relative;background-color:#1890ff}.ant-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #1890ff;border-radius:50%;-webkit-animation:antStatusProcessing 1.2s ease-in-out infinite;animation:antStatusProcessing 1.2s ease-in-out infinite;content:""}.ant-badge-status-default{background-color:#d9d9d9}.ant-badge-status-error{background-color:#f5222d}.ant-badge-status-warning{background-color:#faad14}.ant-badge-status-magenta,.ant-badge-status-pink{background:#eb2f96}.ant-badge-status-red{background:#f5222d}.ant-badge-status-volcano{background:#fa541c}.ant-badge-status-orange{background:#fa8c16}.ant-badge-status-yellow{background:#fadb14}.ant-badge-status-gold{background:#faad14}.ant-badge-status-cyan{background:#13c2c2}.ant-badge-status-lime{background:#a0d911}.ant-badge-status-green{background:#52c41a}.ant-badge-status-blue{background:#1890ff}.ant-badge-status-geekblue{background:#2f54eb}.ant-badge-status-purple{background:#722ed1}.ant-badge-status-text{margin-left:8px;color:rgba(0,0,0,.65);font-size:14px}.ant-badge-zoom-appear,.ant-badge-zoom-enter{-webkit-animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation:antZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-zoom-leave{-webkit-animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation:antZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-badge-not-a-wrapper .ant-badge-zoom-appear,.ant-badge-not-a-wrapper .ant-badge-zoom-enter{-webkit-animation:antNoWrapperZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46);animation:antNoWrapperZoomBadgeIn .3s cubic-bezier(.12,.4,.29,1.46)}.ant-badge-not-a-wrapper .ant-badge-zoom-leave{-webkit-animation:antNoWrapperZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6);animation:antNoWrapperZoomBadgeOut .3s cubic-bezier(.71,-.46,.88,.6)}.ant-badge-not-a-wrapper:not(.ant-badge-status){vertical-align:middle}.ant-badge-not-a-wrapper .ant-scroll-number{position:relative;top:auto;display:block;transform-origin:50% 50%}@-webkit-keyframes antStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}@keyframes antStatusProcessing{0%{transform:scale(.8);opacity:.5}to{transform:scale(2.4);opacity:0}}.ant-scroll-number{overflow:hidden}.ant-scroll-number-only{display:inline-block;height:20px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-scroll-number-only>p.ant-scroll-number-only-unit{height:20px;margin:0}.ant-scroll-number-symbol{vertical-align:top}@-webkit-keyframes antZoomBadgeIn{0%{transform:scale(0) translate(50%,-50%);opacity:0}to{transform:scale(1) translate(50%,-50%)}}@keyframes antZoomBadgeIn{0%{transform:scale(0) translate(50%,-50%);opacity:0}to{transform:scale(1) translate(50%,-50%)}}@-webkit-keyframes antZoomBadgeOut{0%{transform:scale(1) translate(50%,-50%)}to{transform:scale(0) translate(50%,-50%);opacity:0}}@keyframes antZoomBadgeOut{0%{transform:scale(1) translate(50%,-50%)}to{transform:scale(0) translate(50%,-50%);opacity:0}}@-webkit-keyframes antNoWrapperZoomBadgeIn{0%{transform:scale(0);opacity:0}to{transform:scale(1)}}@keyframes antNoWrapperZoomBadgeIn{0%{transform:scale(0);opacity:0}to{transform:scale(1)}}@-webkit-keyframes antNoWrapperZoomBadgeOut{0%{transform:scale(1)}to{transform:scale(0);opacity:0}}@keyframes antNoWrapperZoomBadgeOut{0%{transform:scale(1)}to{transform:scale(0);opacity:0}}.ant-ribbon-wrapper{position:relative}.ant-ribbon{box-sizing:border-box;margin:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;top:8px;height:22px;padding:0 8px;color:#fff;line-height:22px;white-space:nowrap;background-color:#7ebc59;border-radius:2px}.ant-ribbon-text{color:#fff}.ant-ribbon-corner{position:absolute;top:100%;width:8px;height:8px;color:currentColor;border:4px solid;transform:scaleY(.75);transform-origin:top}.ant-ribbon-corner:after{position:absolute;top:-4px;left:-4px;width:inherit;height:inherit;color:rgba(0,0,0,.25);border:inherit;content:""}.ant-ribbon-color-magenta,.ant-ribbon-color-pink{color:#eb2f96;background:#eb2f96}.ant-ribbon-color-red{color:#f5222d;background:#f5222d}.ant-ribbon-color-volcano{color:#fa541c;background:#fa541c}.ant-ribbon-color-orange{color:#fa8c16;background:#fa8c16}.ant-ribbon-color-yellow{color:#fadb14;background:#fadb14}.ant-ribbon-color-gold{color:#faad14;background:#faad14}.ant-ribbon-color-cyan{color:#13c2c2;background:#13c2c2}.ant-ribbon-color-lime{color:#a0d911;background:#a0d911}.ant-ribbon-color-green{color:#52c41a;background:#52c41a}.ant-ribbon-color-blue{color:#1890ff;background:#1890ff}.ant-ribbon-color-geekblue{color:#2f54eb;background:#2f54eb}.ant-ribbon-color-purple{color:#722ed1;background:#722ed1}.ant-ribbon.ant-ribbon-placement-end{right:-8px;border-bottom-right-radius:0}.ant-ribbon.ant-ribbon-placement-end .ant-ribbon-corner{right:0;border-color:currentColor transparent transparent currentColor}.ant-ribbon.ant-ribbon-placement-start{left:-8px;border-bottom-left-radius:0}.ant-ribbon.ant-ribbon-placement-start .ant-ribbon-corner{left:0;border-color:currentColor currentColor transparent transparent}.ant-badge-rtl{direction:rtl}.ant-badge-rtl .ant-badge-count,.ant-badge-rtl .ant-badge-dot,.ant-badge-rtl .ant-badge .ant-scroll-number-custom-component{right:auto;left:0;direction:ltr;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl.ant-badge .ant-scroll-number-custom-component{right:auto;left:0;transform:translate(-50%,-50%);transform-origin:0 0}.ant-badge-rtl .ant-badge-status-text{margin-right:8px;margin-left:0}.ant-badge-rtl .ant-badge-zoom-appear,.ant-badge-rtl .ant-badge-zoom-enter{-webkit-animation-name:antZoomBadgeInRtl;animation-name:antZoomBadgeInRtl}.ant-badge-rtl .ant-badge-zoom-leave{-webkit-animation-name:antZoomBadgeOutRtl;animation-name:antZoomBadgeOutRtl}.ant-badge-not-a-wrapper .ant-badge-count{transform:none}.ant-ribbon-rtl{direction:rtl}.ant-ribbon-rtl.ant-ribbon-placement-end{right:unset;left:-8px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner{right:unset;left:0}.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner,.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner:after{border-color:currentColor currentColor transparent transparent}.ant-ribbon-rtl.ant-ribbon-placement-start{right:-8px;left:unset;border-bottom-right-radius:0;border-bottom-left-radius:2px}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner{right:0;left:unset}.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner,.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner:after{border-color:currentColor transparent transparent currentColor}@-webkit-keyframes antZoomBadgeInRtl{0%{transform:scale(0) translate(-50%,-50%);opacity:0}to{transform:scale(1) translate(-50%,-50%)}}@keyframes antZoomBadgeInRtl{0%{transform:scale(0) translate(-50%,-50%);opacity:0}to{transform:scale(1) translate(-50%,-50%)}}@-webkit-keyframes antZoomBadgeOutRtl{0%{transform:scale(1) translate(-50%,-50%)}to{transform:scale(0) translate(-50%,-50%);opacity:0}}@keyframes antZoomBadgeOutRtl{0%{transform:scale(1) translate(-50%,-50%)}to{transform:scale(0) translate(-50%,-50%);opacity:0}}.ant-badge .ant-scroll-number:only-child{position:relative;top:auto;display:block}.ant-badge .ant-badge-count:only-child{transform:none}nz-ribbon{display:block}.ant-breadcrumb{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";color:rgba(0,0,0,.45);font-size:14px}.ant-breadcrumb .anticon{font-size:14px}.ant-breadcrumb a{color:rgba(0,0,0,.45);transition:color .3s}.ant-breadcrumb a:hover{color:#9dc97f}.ant-breadcrumb>span:last-child,.ant-breadcrumb>span:last-child a{color:rgba(0,0,0,.65)}.ant-breadcrumb>span:last-child .ant-breadcrumb-separator{display:none}.ant-breadcrumb-separator{margin:0 8px;color:rgba(0,0,0,.45)}.ant-breadcrumb-link>.anticon+a,.ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-overlay-link>.anticon{margin-left:4px}.ant-breadcrumb-rtl{direction:rtl}.ant-breadcrumb-rtl:before{display:table;content:""}.ant-breadcrumb-rtl:after{display:table;clear:both;content:""}.ant-breadcrumb-rtl>span{float:right}.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+a,.ant-breadcrumb-rtl .ant-breadcrumb-link>.anticon+span,.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link>.anticon{margin-right:4px;margin-left:0}.ant-breadcrumb-link .anticon+span{margin-left:4px}.ant-breadcrumb>nz-breadcrumb-item:last-child,.ant-breadcrumb>nz-breadcrumb-item:last-child a{color:rgba(0,0,0,.65)}.ant-breadcrumb-rtl>nz-breadcrumb-item{float:right}nz-breadcrumb{display:block}nz-breadcrumb-item:last-child .ant-breadcrumb-separator{display:none}.ant-btn{line-height:1.5;position:relative;display:inline-block;font-weight:400;white-space:nowrap;text-align:center;background-image:none;box-shadow:0 2px 0 rgba(0,0,0,.015);cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:manipulation;height:32px;padding:4.5px 15px;font-size:14px;border-radius:4px;color:rgba(0,0,0,.65);background:#fff;border:1px solid #d9d9d9}.ant-btn>.anticon{line-height:1}.ant-btn,.ant-btn:active,.ant-btn:focus{outline:0}.ant-btn:not([disabled]):hover{text-decoration:none}.ant-btn:not([disabled]):active{outline:0;box-shadow:none}.ant-btn[disabled]{cursor:not-allowed}.ant-btn[disabled]>*{pointer-events:none}.ant-btn-lg{height:40px;padding:7px 15px;font-size:16px;border-radius:4px}.ant-btn-sm{height:24px;padding:.5px 7px;font-size:14px;border-radius:4px}.ant-btn>a:only-child{color:currentColor}.ant-btn>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn:focus,.ant-btn:hover{color:#9dc97f;background:#fff;border-color:#9dc97f}.ant-btn:focus>a:only-child,.ant-btn:hover>a:only-child{color:currentColor}.ant-btn:focus>a:only-child:after,.ant-btn:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn:active{color:#5c963f;background:#fff;border-color:#5c963f}.ant-btn:active>a:only-child{color:currentColor}.ant-btn:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn[disabled],.ant-btn[disabled]:active,.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn[disabled]:active>a:only-child,.ant-btn[disabled]:focus>a:only-child,.ant-btn[disabled]:hover>a:only-child,.ant-btn[disabled]>a:only-child{color:currentColor}.ant-btn[disabled]:active>a:only-child:after,.ant-btn[disabled]:focus>a:only-child:after,.ant-btn[disabled]:hover>a:only-child:after,.ant-btn[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn:active,.ant-btn:focus,.ant-btn:hover{text-decoration:none;background:#fff}.ant-btn>span{display:inline-block}.ant-btn-primary{color:#fff;background:#7ebc59;border-color:#7ebc59;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-primary:focus,.ant-btn-primary:hover{color:#fff;background:#9dc97f;border-color:#9dc97f}.ant-btn-primary:focus>a:only-child,.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-primary:focus>a:only-child:after,.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-primary:active{color:#fff;background:#5c963f;border-color:#5c963f}.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-primary[disabled],.ant-btn-primary[disabled]:active,.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#9dc97f;border-left-color:#9dc97f}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled{border-color:#d9d9d9}.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#9dc97f}.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#d9d9d9}.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-left-color:#9dc97f}.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-left-color:#d9d9d9}.ant-btn-ghost{color:rgba(0,0,0,.65);background:transparent;border-color:#d9d9d9}.ant-btn-ghost>a:only-child{color:currentColor}.ant-btn-ghost>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-ghost:focus,.ant-btn-ghost:hover{color:#9dc97f;background:transparent;border-color:#9dc97f}.ant-btn-ghost:focus>a:only-child,.ant-btn-ghost:hover>a:only-child{color:currentColor}.ant-btn-ghost:focus>a:only-child:after,.ant-btn-ghost:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-ghost:active{color:#5c963f;background:transparent;border-color:#5c963f}.ant-btn-ghost:active>a:only-child{color:currentColor}.ant-btn-ghost:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-ghost[disabled],.ant-btn-ghost[disabled]:active,.ant-btn-ghost[disabled]:focus,.ant-btn-ghost[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-ghost[disabled]:active>a:only-child,.ant-btn-ghost[disabled]:focus>a:only-child,.ant-btn-ghost[disabled]:hover>a:only-child,.ant-btn-ghost[disabled]>a:only-child{color:currentColor}.ant-btn-ghost[disabled]:active>a:only-child:after,.ant-btn-ghost[disabled]:focus>a:only-child:after,.ant-btn-ghost[disabled]:hover>a:only-child:after,.ant-btn-ghost[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed{color:rgba(0,0,0,.65);background:#fff;border-color:#d9d9d9;border-style:dashed}.ant-btn-dashed>a:only-child{color:currentColor}.ant-btn-dashed>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed:focus,.ant-btn-dashed:hover{color:#9dc97f;background:#fff;border-color:#9dc97f}.ant-btn-dashed:focus>a:only-child,.ant-btn-dashed:hover>a:only-child{color:currentColor}.ant-btn-dashed:focus>a:only-child:after,.ant-btn-dashed:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed:active{color:#5c963f;background:#fff;border-color:#5c963f}.ant-btn-dashed:active>a:only-child{color:currentColor}.ant-btn-dashed:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dashed[disabled],.ant-btn-dashed[disabled]:active,.ant-btn-dashed[disabled]:focus,.ant-btn-dashed[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-dashed[disabled]:active>a:only-child,.ant-btn-dashed[disabled]:focus>a:only-child,.ant-btn-dashed[disabled]:hover>a:only-child,.ant-btn-dashed[disabled]>a:only-child{color:currentColor}.ant-btn-dashed[disabled]:active>a:only-child:after,.ant-btn-dashed[disabled]:focus>a:only-child:after,.ant-btn-dashed[disabled]:hover>a:only-child:after,.ant-btn-dashed[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger{color:#f5222d;background:#f5f5f5;border-color:#f5f5f5;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger:focus,.ant-btn-danger:hover{color:#f5222d;background:#fff0f0;border-color:#fff0f0}.ant-btn-danger:focus>a:only-child,.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-danger:focus>a:only-child:after,.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger:active{color:#f5222d;background:#cfc2c3;border-color:#cfc2c3}.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-danger[disabled],.ant-btn-danger[disabled]:active,.ant-btn-danger[disabled]:focus,.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link{color:#7ebc59;background:transparent;border-color:transparent;box-shadow:none}.ant-btn-link>a:only-child{color:currentColor}.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link:focus,.ant-btn-link:hover{color:#9dc97f;background:transparent;border-color:#9dc97f}.ant-btn-link:focus>a:only-child,.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-link:focus>a:only-child:after,.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link:active{color:#5c963f;background:transparent;border-color:#5c963f}.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-link[disabled],.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{background:#f5f5f5;border-color:#d9d9d9}.ant-btn-link:hover{background:transparent}.ant-btn-link:active,.ant-btn-link:focus,.ant-btn-link:hover{border-color:transparent}.ant-btn-link[disabled],.ant-btn-link[disabled]:active,.ant-btn-link[disabled]:focus,.ant-btn-link[disabled]:hover{color:rgba(0,0,0,.25);background:transparent;border-color:transparent;text-shadow:none;box-shadow:none}.ant-btn-link[disabled]:active>a:only-child,.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-text{color:rgba(0,0,0,.65);background:transparent;border-color:transparent;box-shadow:none}.ant-btn-text>a:only-child{color:currentColor}.ant-btn-text>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-text:focus,.ant-btn-text:hover{color:#9dc97f;background:transparent;border-color:#9dc97f}.ant-btn-text:focus>a:only-child,.ant-btn-text:hover>a:only-child{color:currentColor}.ant-btn-text:focus>a:only-child:after,.ant-btn-text:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-text:active{color:#5c963f;background:transparent;border-color:#5c963f}.ant-btn-text:active>a:only-child{color:currentColor}.ant-btn-text:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-text[disabled],.ant-btn-text[disabled]:active,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:hover{background:#f5f5f5;border-color:#d9d9d9}.ant-btn-text:focus,.ant-btn-text:hover{color:rgba(0,0,0,.65);background:rgba(0,0,0,.018);border-color:transparent}.ant-btn-text:active{color:rgba(0,0,0,.65);background:rgba(0,0,0,.028);border-color:transparent}.ant-btn-text[disabled],.ant-btn-text[disabled]:active,.ant-btn-text[disabled]:focus,.ant-btn-text[disabled]:hover{color:rgba(0,0,0,.25);background:transparent;border-color:transparent;text-shadow:none;box-shadow:none}.ant-btn-text[disabled]:active>a:only-child,.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-text[disabled]>a:only-child{color:currentColor}.ant-btn-text[disabled]:active>a:only-child:after,.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-text[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous{color:#f5222d;background:#fff;border-color:#f5222d}.ant-btn-dangerous>a:only-child{color:currentColor}.ant-btn-dangerous>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous:focus,.ant-btn-dangerous:hover{color:#ff4d4f;background:#fff;border-color:#ff4d4f}.ant-btn-dangerous:focus>a:only-child,.ant-btn-dangerous:hover>a:only-child{color:currentColor}.ant-btn-dangerous:focus>a:only-child:after,.ant-btn-dangerous:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous:active{color:#cf1322;background:#fff;border-color:#cf1322}.ant-btn-dangerous:active>a:only-child{color:currentColor}.ant-btn-dangerous:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous[disabled],.ant-btn-dangerous[disabled]:active,.ant-btn-dangerous[disabled]:focus,.ant-btn-dangerous[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-dangerous[disabled]:active>a:only-child,.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-dangerous[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous[disabled]:active>a:only-child:after,.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-dangerous[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary{color:#f5222d;background:#f5f5f5;border-color:#f5f5f5;text-shadow:0 -1px 0 rgba(0,0,0,.12);box-shadow:0 2px 0 rgba(0,0,0,.045)}.ant-btn-dangerous.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary:focus,.ant-btn-dangerous.ant-btn-primary:hover{color:#f5222d;background:#fff0f0;border-color:#fff0f0}.ant-btn-dangerous.ant-btn-primary:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary:active{color:#f5222d;background:#cfc2c3;border-color:#cfc2c3}.ant-btn-dangerous.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-primary[disabled],.ant-btn-dangerous.ant-btn-primary[disabled]:active,.ant-btn-dangerous.ant-btn-primary[disabled]:focus,.ant-btn-dangerous.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link{color:#f5222d;background:transparent;border-color:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-dangerous.ant-btn-link:hover{color:#9dc97f;border-color:#9dc97f}.ant-btn-dangerous.ant-btn-link:active{color:#5c963f;border-color:#5c963f}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:hover{background:#f5f5f5;border-color:#d9d9d9}.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-dangerous.ant-btn-link:hover{color:#ff4d4f;background:transparent;border-color:transparent}.ant-btn-dangerous.ant-btn-link:focus>a:only-child,.ant-btn-dangerous.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link:active{color:#cf1322;background:transparent;border-color:transparent}.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-dangerous.ant-btn-link[disabled]:hover{color:rgba(0,0,0,.25);background:transparent;border-color:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text{color:#f5222d;background:transparent;border-color:transparent;box-shadow:none}.ant-btn-dangerous.ant-btn-text>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text:focus,.ant-btn-dangerous.ant-btn-text:hover{color:#9dc97f;background:transparent;border-color:#9dc97f}.ant-btn-dangerous.ant-btn-text:active{color:#5c963f;background:transparent;border-color:#5c963f}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:active,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:hover{background:#f5f5f5;border-color:#d9d9d9}.ant-btn-dangerous.ant-btn-text:focus,.ant-btn-dangerous.ant-btn-text:hover{color:#ff4d4f;background:rgba(0,0,0,.018);border-color:transparent}.ant-btn-dangerous.ant-btn-text:focus>a:only-child,.ant-btn-dangerous.ant-btn-text:hover>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text:active{color:#cf1322;background:rgba(0,0,0,.028);border-color:transparent}.ant-btn-dangerous.ant-btn-text:active>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-dangerous.ant-btn-text[disabled],.ant-btn-dangerous.ant-btn-text[disabled]:active,.ant-btn-dangerous.ant-btn-text[disabled]:focus,.ant-btn-dangerous.ant-btn-text[disabled]:hover{color:rgba(0,0,0,.25);background:transparent;border-color:transparent;text-shadow:none;box-shadow:none}.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child,.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child{color:currentColor}.ant-btn-dangerous.ant-btn-text[disabled]:active>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:focus>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]:hover>a:only-child:after,.ant-btn-dangerous.ant-btn-text[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-icon-only{width:32px;height:32px;padding:3px 0;font-size:16px;border-radius:4px;vertical-align:-1px}.ant-btn-icon-only>*{font-size:16px}.ant-btn-icon-only.ant-btn-lg{width:40px;height:40px;padding:5.5px 0;font-size:18px;border-radius:4px}.ant-btn-icon-only.ant-btn-lg>*{font-size:18px}.ant-btn-icon-only.ant-btn-sm{width:24px;height:24px;padding:.5px 0;font-size:14px;border-radius:4px}.ant-btn-icon-only.ant-btn-sm>*{font-size:14px}.ant-btn-round{height:32px;padding:4.5px 16px;font-size:14px;border-radius:32px}.ant-btn-round.ant-btn-lg{height:40px;padding:7px 20px;font-size:16px;border-radius:40px}.ant-btn-round.ant-btn-sm{height:24px;padding:.5px 12px;font-size:14px;border-radius:24px}.ant-btn-round.ant-btn-icon-only{width:auto}.ant-btn-circle{min-width:32px;padding-right:0;padding-left:0;text-align:center;border-radius:50%}.ant-btn-circle.ant-btn-lg{min-width:40px;border-radius:50%}.ant-btn-circle.ant-btn-sm{min-width:24px;border-radius:50%}.ant-btn:before{position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;z-index:1;display:none;background:#fff;border-radius:inherit;opacity:.35;transition:opacity .2s;content:"";pointer-events:none}.ant-btn .anticon{transition:margin-left .3s cubic-bezier(.645,.045,.355,1)}.ant-btn .anticon.anticon-minus>svg,.ant-btn .anticon.anticon-plus>svg{shape-rendering:optimizeSpeed}.ant-btn.ant-btn-loading{position:relative}.ant-btn.ant-btn-loading:not([disabled]){pointer-events:none}.ant-btn.ant-btn-loading:before{display:block}.ant-btn>.ant-btn-loading-icon{transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-btn>.ant-btn-loading-icon .anticon{padding-right:8px;-webkit-animation:none;animation:none}.ant-btn>.ant-btn-loading-icon .anticon svg{-webkit-animation:loadingCircle 1s linear infinite;animation:loadingCircle 1s linear infinite}.ant-btn-group{display:inline-flex}.ant-btn-group,.ant-btn-group>.ant-btn,.ant-btn-group>span>.ant-btn{position:relative}.ant-btn-group>.ant-btn:active,.ant-btn-group>.ant-btn:focus,.ant-btn-group>.ant-btn:hover,.ant-btn-group>span>.ant-btn:active,.ant-btn-group>span>.ant-btn:focus,.ant-btn-group>span>.ant-btn:hover{z-index:2}.ant-btn-group>.ant-btn[disabled],.ant-btn-group>span>.ant-btn[disabled]{z-index:0}.ant-btn-group .ant-btn-icon-only{font-size:14px}.ant-btn-group-lg>.ant-btn,.ant-btn-group-lg>span>.ant-btn{height:40px;padding:7px 15px;font-size:16px;border-radius:0}.ant-btn-group-lg .ant-btn.ant-btn-icon-only{width:40px;height:40px;padding-right:0;padding-left:0}.ant-btn-group-sm>.ant-btn,.ant-btn-group-sm>span>.ant-btn{height:24px;padding:.5px 7px;font-size:14px;border-radius:0}.ant-btn-group-sm>.ant-btn>.anticon,.ant-btn-group-sm>span>.ant-btn>.anticon{font-size:14px}.ant-btn-group-sm .ant-btn.ant-btn-icon-only{width:24px;height:24px;padding-right:0;padding-left:0}.ant-btn+.ant-btn-group,.ant-btn-group+.ant-btn,.ant-btn-group+.ant-btn-group,.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group .ant-btn+span,.ant-btn-group>span+span,.ant-btn-group span+.ant-btn{margin-left:-1px}.ant-btn-group .ant-btn-primary+.ant-btn:not(.ant-btn-primary):not([disabled]){border-left-color:transparent}.ant-btn-group .ant-btn{border-radius:0}.ant-btn-group>.ant-btn:first-child,.ant-btn-group>span:first-child>.ant-btn{margin-left:0}.ant-btn-group>.ant-btn:only-child,.ant-btn-group>span:only-child>.ant-btn{border-radius:4px}.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.ant-btn-group-sm>.ant-btn:only-child,.ant-btn-group-sm>span:only-child>.ant-btn{border-radius:4px}.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.ant-btn-group>.ant-btn-group{float:left}.ant-btn-group>.ant-btn-group:not(:first-child):not(:last-child)>.ant-btn{border-radius:0}.ant-btn-group>.ant-btn-group:first-child:not(:last-child)>.ant-btn:last-child{padding-right:8px;border-top-right-radius:0;border-bottom-right-radius:0}.ant-btn-group>.ant-btn-group:last-child:not(:first-child)>.ant-btn:first-child{padding-left:8px;border-top-left-radius:0;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group+.ant-btn,.ant-btn-group-rtl.ant-btn-group+.ant-btn-group,.ant-btn-group-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group-rtl.ant-btn-group .ant-btn+span,.ant-btn-group-rtl.ant-btn-group>span+span,.ant-btn-group-rtl.ant-btn-group span+.ant-btn,.ant-btn-rtl.ant-btn+.ant-btn-group,.ant-btn-rtl.ant-btn-group+.ant-btn,.ant-btn-rtl.ant-btn-group+.ant-btn-group,.ant-btn-rtl.ant-btn-group .ant-btn+.ant-btn,.ant-btn-rtl.ant-btn-group .ant-btn+span,.ant-btn-rtl.ant-btn-group>span+span,.ant-btn-rtl.ant-btn-group span+.ant-btn{margin-right:-1px;margin-left:auto}.ant-btn-group.ant-btn-group-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-rtl.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.ant-btn-group-rtl.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-rtl.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.ant-btn:active>span,.ant-btn:focus>span{position:relative}.ant-btn>.anticon+span,.ant-btn>span+.anticon{margin-left:8px}.ant-btn-background-ghost{color:#fff;background:transparent!important;border-color:#fff}.ant-btn-background-ghost.ant-btn-primary{color:#7ebc59;background:transparent;border-color:#7ebc59;text-shadow:none}.ant-btn-background-ghost.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary:focus,.ant-btn-background-ghost.ant-btn-primary:hover{color:#9dc97f;background:transparent;border-color:#9dc97f}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary:active{color:#5c963f;background:transparent;border-color:#5c963f}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-primary[disabled],.ant-btn-background-ghost.ant-btn-primary[disabled]:active,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger{color:#d9d9d9;background:transparent;border-color:#d9d9d9;text-shadow:none}.ant-btn-background-ghost.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger:focus,.ant-btn-background-ghost.ant-btn-danger:hover{color:#e6d8d8;background:transparent;border-color:#e6d8d8}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger:active{color:#b3a8a8;background:transparent;border-color:#b3a8a8}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-danger[disabled],.ant-btn-background-ghost.ant-btn-danger[disabled]:active,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous{color:#d9d9d9;background:transparent;border-color:#d9d9d9;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous:focus,.ant-btn-background-ghost.ant-btn-dangerous:hover{color:#e6d8d8;background:transparent;border-color:#e6d8d8}.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous:active{color:#b3a8a8;background:transparent;border-color:#b3a8a8}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous[disabled],.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link{color:#d9d9d9;background:transparent;border-color:transparent;text-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover{color:#e6d8d8;background:transparent;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active{color:#b3a8a8;background:transparent;border-color:transparent}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled],.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;text-shadow:none;box-shadow:none}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]>a:only-child:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;content:""}.ant-btn-two-chinese-chars:first-letter{letter-spacing:.34em}.ant-btn-two-chinese-chars>:not(.anticon){margin-right:-.34em;letter-spacing:.34em}.ant-btn-block{width:100%}.ant-btn:empty{display:inline-block;width:0;visibility:hidden;content:"\a0"}a.ant-btn{padding-top:.1px;line-height:30px}a.ant-btn-lg{line-height:38px}a.ant-btn-sm{line-height:22px}.ant-btn-rtl{direction:rtl}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-right-color:#9dc97f;border-left-color:#d9d9d9}.ant-btn-group-rtl.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-right-color:#d9d9d9;border-left-color:#9dc97f}.ant-btn-rtl.ant-btn>.ant-btn-loading-icon .anticon{padding-right:0;padding-left:8px}.ant-btn>.ant-btn-loading-icon:only-child .anticon{padding-right:0;padding-left:0}.ant-btn-rtl.ant-btn>.anticon+span,.ant-btn-rtl.ant-btn>span+.anticon{margin-right:8px;margin-left:0}.ant-card{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;background:#fff;border-radius:4px}.ant-card-rtl{direction:rtl}.ant-card-hoverable{cursor:pointer;transition:box-shadow .3s,border-color .3s}.ant-card-hoverable:hover{border-color:transparent;box-shadow:0 2px 8px rgba(0,0,0,.09)}.ant-card-bordered{border:1px solid #e8e8e8}.ant-card-head{min-height:48px;margin-bottom:-1px;padding:0 24px;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;background:transparent;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0}.ant-card-head:after,.ant-card-head:before{display:table;content:""}.ant-card-head:after{clear:both}.ant-card-head-wrapper{display:flex;align-items:center}.ant-card-head-title{display:inline-block;flex:1;padding:16px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-card-head-title>.ant-typography,.ant-card-head-title>.ant-typography-edit-content{left:0;margin-top:0;margin-bottom:0}.ant-card-head .ant-tabs{clear:both;margin-bottom:-17px;color:rgba(0,0,0,.65);font-weight:400;font-size:14px}.ant-card-head .ant-tabs-bar{border-bottom:1px solid #e8e8e8}.ant-card-extra{float:right;margin-left:auto;padding:16px 0;color:rgba(0,0,0,.65);font-weight:400;font-size:14px}.ant-card-rtl .ant-card-extra{margin-right:auto;margin-left:0}.ant-card-body{padding:24px}.ant-card-body:after,.ant-card-body:before{display:table;content:""}.ant-card-body:after{clear:both}.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body{margin:-1px 0 0 -1px;padding:0}.ant-card-grid{float:left;width:33.33%;padding:24px;border:0;border-radius:0;box-shadow:1px 0 0 0 #e8e8e8,0 1px 0 0 #e8e8e8,1px 1px 0 0 #e8e8e8,inset 1px 0 0 0 #e8e8e8,inset 0 1px 0 0 #e8e8e8;transition:all .3s}.ant-card-rtl .ant-card-grid{float:right}.ant-card-grid-hoverable:hover{position:relative;z-index:1;box-shadow:0 2px 8px rgba(0,0,0,.09)}.ant-card-contain-tabs>.ant-card-head .ant-card-head-title{min-height:32px;padding-bottom:0}.ant-card-contain-tabs>.ant-card-head .ant-card-extra{padding-bottom:0}.ant-card-bordered .ant-card-cover{margin-top:-1px;margin-right:-1px;margin-left:-1px}.ant-card-cover>*{display:block;width:100%}.ant-card-cover img{border-radius:4px 4px 0 0}.ant-card-actions{margin:0;padding:0;list-style:none;background:#fafafa;border-top:1px solid #e8e8e8}.ant-card-actions:after,.ant-card-actions:before{display:table;content:""}.ant-card-actions:after{clear:both}.ant-card-actions>li{float:left;margin:12px 0;color:rgba(0,0,0,.45);text-align:center}.ant-card-rtl .ant-card-actions>li{float:right}.ant-card-actions>li>span{position:relative;display:block;min-width:32px;font-size:14px;line-height:1.5;cursor:pointer}.ant-card-actions>li>span:hover{color:#7ebc59;transition:color .3s}.ant-card-actions>li>span>.anticon,.ant-card-actions>li>span a:not(.ant-btn){display:inline-block;width:100%;color:rgba(0,0,0,.45);line-height:22px;transition:color .3s}.ant-card-actions>li>span>.anticon:hover,.ant-card-actions>li>span a:not(.ant-btn):hover{color:#7ebc59}.ant-card-actions>li>span>.anticon{font-size:16px;line-height:22px}.ant-card-actions>li:not(:last-child){border-right:1px solid #e8e8e8}.ant-card-type-inner .ant-card-head{padding:0 24px;background:#fafafa}.ant-card-type-inner .ant-card-head-title{padding:12px 0;font-size:14px}.ant-card-type-inner .ant-card-body{padding:16px 24px}.ant-card-type-inner .ant-card-extra{padding:13.5px 0}.ant-card-meta{margin:-4px 0}.ant-card-meta:after,.ant-card-meta:before{display:table;content:""}.ant-card-meta:after{clear:both}.ant-card-meta-avatar{float:left;padding-right:16px}.ant-card-rtl .ant-card-meta-avatar{float:right;padding-right:0;padding-left:16px}.ant-card-meta-detail{overflow:hidden}.ant-card-meta-detail>div:not(:last-child){margin-bottom:8px}.ant-card-meta-title{overflow:hidden;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-overflow:ellipsis}.ant-card-meta-description{color:rgba(0,0,0,.45)}.ant-card-loading{overflow:hidden}.ant-card-loading .ant-card-body{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-card-loading-content p{margin:0}.ant-card-loading-block{height:14px;margin:4px 0;background:linear-gradient(90deg,rgba(207,216,220,.2),rgba(207,216,220,.4),rgba(207,216,220,.2));background-size:600% 600%;border-radius:4px;-webkit-animation:card-loading 1.4s ease infinite;animation:card-loading 1.4s ease infinite}@-webkit-keyframes card-loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}@keyframes card-loading{0%,to{background-position:0 50%}50%{background-position:100% 50%}}.ant-card-small>.ant-card-head{min-height:36px;padding:0 12px;font-size:14px}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-head-title{padding:8px 0}.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra{padding:8px 0;font-size:14px}.ant-card-small>.ant-card-body{padding:12px}.ant-card-rtl .ant-skeleton-header{padding:0 0 0 16px}nz-card,nz-card-loading,nz-card-meta{display:block}.ant-carousel{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum"}.ant-carousel .slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-touch-callout:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.ant-carousel .slick-list{position:relative;display:block;margin:0;padding:0;overflow:hidden}.ant-carousel .slick-list:focus{outline:none}.ant-carousel .slick-list.dragging{cursor:pointer}.ant-carousel .slick-list .slick-slide{pointer-events:none}.ant-carousel .slick-list .slick-slide input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide input.ant-radio-input{visibility:hidden}.ant-carousel .slick-list .slick-slide.slick-active{pointer-events:auto}.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input{visibility:visible}.ant-carousel .slick-list .slick-slide>div>div{vertical-align:bottom}.ant-carousel .slick-slider .slick-list,.ant-carousel .slick-slider .slick-track{transform:translateZ(0);touch-action:pan-y}.ant-carousel .slick-track{position:relative;top:0;left:0;display:block}.ant-carousel .slick-track:after,.ant-carousel .slick-track:before{display:table;content:""}.ant-carousel .slick-track:after{clear:both}.slick-loading .ant-carousel .slick-track{visibility:hidden}.ant-carousel .slick-slide{display:none;float:left;height:100%;min-height:1px}.ant-carousel .slick-slide img{display:block}.ant-carousel .slick-slide.slick-loading img{display:none}.ant-carousel .slick-slide.dragging img{pointer-events:none}.ant-carousel .slick-initialized .slick-slide{display:block}.ant-carousel .slick-loading .slick-slide{visibility:hidden}.ant-carousel .slick-vertical .slick-slide{display:block;height:auto}.ant-carousel .slick-arrow.slick-hidden{display:none}.ant-carousel .slick-next,.ant-carousel .slick-prev{position:absolute;top:50%;display:block;width:20px;height:20px;margin-top:-10px;padding:0;font-size:0;line-height:0;border:0;cursor:pointer}.ant-carousel .slick-next,.ant-carousel .slick-next:focus,.ant-carousel .slick-next:hover,.ant-carousel .slick-prev,.ant-carousel .slick-prev:focus,.ant-carousel .slick-prev:hover{color:transparent;background:transparent;outline:none}.ant-carousel .slick-next:focus:before,.ant-carousel .slick-next:hover:before,.ant-carousel .slick-prev:focus:before,.ant-carousel .slick-prev:hover:before{opacity:1}.ant-carousel .slick-next.slick-disabled:before,.ant-carousel .slick-prev.slick-disabled:before{opacity:.25}.ant-carousel .slick-prev{left:-25px}.ant-carousel .slick-prev:before{content:"←"}.ant-carousel .slick-next{right:-25px}.ant-carousel .slick-next:before{content:"→"}.ant-carousel .slick-dots{position:absolute;right:0;bottom:0;left:0;z-index:15;display:flex!important;justify-content:center;margin-right:15%;margin-left:15%;padding-left:0;list-style:none}.ant-carousel .slick-dots-bottom{bottom:12px}.ant-carousel .slick-dots-top{top:12px}.ant-carousel .slick-dots li{position:relative;display:inline-block;flex:0 1 auto;box-sizing:content-box;width:16px;height:3px;margin:0 3px;padding:0;text-align:center;text-indent:-999px;vertical-align:top;transition:all .5s}.ant-carousel .slick-dots li button{display:block;width:100%;height:3px;padding:0;color:transparent;font-size:0;background:#fff;border:0;border-radius:1px;outline:none;cursor:pointer;opacity:.3;transition:all .5s}.ant-carousel .slick-dots li button:focus,.ant-carousel .slick-dots li button:hover{opacity:.75}.ant-carousel .slick-dots li.slick-active{width:24px}.ant-carousel .slick-dots li.slick-active button{background:#fff;opacity:1}.ant-carousel .slick-dots li.slick-active:focus,.ant-carousel .slick-dots li.slick-active:hover{opacity:1}.ant-carousel-vertical .slick-dots{top:50%;bottom:auto;flex-direction:column;width:3px;height:auto;margin:0;transform:translateY(-50%)}.ant-carousel-vertical .slick-dots-left{right:auto;left:12px}.ant-carousel-vertical .slick-dots-right{right:12px;left:auto}.ant-carousel-vertical .slick-dots li{width:3px;height:16px;margin:4px 2px;vertical-align:baseline}.ant-carousel-vertical .slick-dots li button{width:3px;height:16px}.ant-carousel-vertical .slick-dots li.slick-active,.ant-carousel-vertical .slick-dots li.slick-active button{width:3px;height:24px}.ant-carousel-rtl{direction:rtl}.ant-carousel-rtl .ant-carousel .slick-track{right:0;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev{right:-25px;left:auto}.ant-carousel-rtl .ant-carousel .slick-prev:before{content:"→"}.ant-carousel-rtl .ant-carousel .slick-next{right:auto;left:-25px}.ant-carousel-rtl .ant-carousel .slick-next:before{content:"←"}.ant-carousel-rtl.ant-carousel .slick-dots{flex-direction:row-reverse}.ant-carousel-rtl.ant-carousel-vertical .slick-dots{flex-direction:column}nz-carousel{position:relative;overflow:hidden;width:100%;height:100%}.slick-dots,nz-carousel{display:block}.slick-track{opacity:1}.slick-list{direction:ltr}@-webkit-keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}@keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-checkbox{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;top:-.09em;display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;outline:none;cursor:pointer}.ant-checkbox-input:focus+.ant-checkbox-inner,.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner{border-color:#7ebc59}.ant-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #7ebc59;border-radius:4px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-checkbox-wrapper:hover .ant-checkbox:after,.ant-checkbox:hover:after{visibility:visible}.ant-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;border-collapse:separate;transition:all .3s}.ant-checkbox-inner:after{position:absolute;top:50%;left:22%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-checkbox-checked .ant-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-checkbox-checked .ant-checkbox-inner{background-color:#7ebc59;border-color:#7ebc59}.ant-checkbox-disabled{cursor:not-allowed}.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-checkbox-disabled .ant-checkbox-input{cursor:not-allowed}.ant-checkbox-disabled .ant-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-checkbox-disabled:hover:after,.ant-checkbox-wrapper:hover .ant-checkbox-disabled:after{visibility:hidden}.ant-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:inline-block;line-height:unset;cursor:pointer}.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled{cursor:not-allowed}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:8px}.ant-checkbox+span{padding-right:8px;padding-left:8px}.ant-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-checkbox-group-item{display:inline-block;margin-right:8px}.ant-checkbox-group-item:last-child{margin-right:0}.ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:0}.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-checkbox-indeterminate .ant-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#7ebc59;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-checkbox-rtl{direction:rtl}.ant-checkbox-group-rtl .ant-checkbox-group-item{margin-right:0;margin-left:8px}.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child{margin-left:0!important}.ant-checkbox-group-rtl .ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:8px}.ant-checkbox+span:empty{display:none}.ant-collapse{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";background-color:#fafafa;border:1px solid #d9d9d9;border-bottom:0;border-radius:4px}.ant-collapse>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse>.ant-collapse-item:last-child,.ant-collapse>.ant-collapse-item:last-child>.ant-collapse-header{border-radius:0 0 4px 4px}.ant-collapse>.ant-collapse-item>.ant-collapse-header{position:relative;padding:12px 16px 12px 40px;color:rgba(0,0,0,.85);line-height:1.5;cursor:pointer;transition:all .3s}.ant-collapse>.ant-collapse-item>.ant-collapse-header:before{display:table;content:""}.ant-collapse>.ant-collapse-item>.ant-collapse-header:after{display:table;clear:both;content:""}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:4.5px;left:16px;display:inline-block;padding:12px 0 0;font-size:12px}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow>*{line-height:1}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{display:inline-block}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow:before{display:none}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow .ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow-icon{display:block}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transition:transform .24s}.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{float:right}.ant-collapse>.ant-collapse-item>.ant-collapse-header:focus{outline:none}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only{cursor:default}.ant-collapse>.ant-collapse-item .ant-collapse-header-collapsible-only .ant-collapse-header-text{cursor:pointer}.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-left:12px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header{padding:12px 40px}.ant-collapse-icon-position-right>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow{right:16px;left:auto}.ant-collapse-content{color:rgba(0,0,0,.65);background-color:#fff;border-top:1px solid #d9d9d9}.ant-collapse-content>.ant-collapse-content-box{padding:16px}.ant-collapse-content-hidden{display:none}.ant-collapse-item:last-child>.ant-collapse-content{border-radius:0 0 4px 4px}.ant-collapse-borderless{background-color:#fafafa;border:0}.ant-collapse-borderless>.ant-collapse-item{border-bottom:1px solid #d9d9d9}.ant-collapse-borderless>.ant-collapse-item:last-child,.ant-collapse-borderless>.ant-collapse-item:last-child .ant-collapse-header{border-radius:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content{background-color:transparent;border-top:0}.ant-collapse-borderless>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:4px}.ant-collapse-ghost{background-color:transparent;border:0}.ant-collapse-ghost>.ant-collapse-item{border-bottom:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content{background-color:transparent;border-top:0}.ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding-top:12px;padding-bottom:12px}.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-collapse-rtl{direction:rtl}.ant-collapse-rtl .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:12px 40px}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-arrow svg{transform:rotate(180deg)}.ant-collapse-rtl.ant-collapse>.ant-collapse-item>.ant-collapse-header .ant-collapse-extra{float:left}.ant-collapse-rtl.ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding-right:12px;padding-left:0}nz-collapse,nz-collapse-panel{display:block}.ant-comment{position:relative;background-color:inherit}.ant-comment-inner{display:flex;padding:16px 0}.ant-comment-avatar{position:relative;flex-shrink:0;margin-right:12px;cursor:pointer}.ant-comment-avatar img{width:32px;height:32px;border-radius:50%}.ant-comment-content{position:relative;flex:1 1 auto;min-width:1px;font-size:14px;word-wrap:break-word}.ant-comment-content-author{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:4px;font-size:14px}.ant-comment-content-author>a,.ant-comment-content-author>span{padding-right:8px;font-size:12px;line-height:18px}.ant-comment-content-author-name{color:rgba(0,0,0,.45);font-size:14px;transition:color .3s}.ant-comment-content-author-name>*,.ant-comment-content-author-name>:hover{color:rgba(0,0,0,.45)}.ant-comment-content-author-time{color:#ccc;white-space:nowrap;cursor:auto}.ant-comment-content-detail p{margin-bottom:inherit;white-space:pre-wrap}.ant-comment-actions{margin-top:12px;margin-bottom:inherit;padding-left:0}.ant-comment-actions>li{display:inline-block;color:rgba(0,0,0,.45)}.ant-comment-actions>li>span{margin-right:10px;color:rgba(0,0,0,.45);font-size:12px;cursor:pointer;transition:color .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-comment-actions>li>span:hover{color:#595959}.ant-comment-nested{margin-left:44px}.ant-comment-rtl{direction:rtl}.ant-comment-rtl .ant-comment-avatar{margin-right:0;margin-left:12px}.ant-comment-rtl .ant-comment-content-author>a,.ant-comment-rtl .ant-comment-content-author>span{padding-right:0;padding-left:8px}.ant-comment-rtl .ant-comment-actions{padding-right:0}.ant-comment-rtl .ant-comment-actions>li>span{margin-right:0;margin-left:10px}.ant-comment-rtl .ant-comment-nested{margin-right:44px;margin-left:0}nz-comment,nz-comment-content{display:block}.ant-picker{box-sizing:border-box;margin:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";padding:4.5px 11px;position:relative;display:inline-flex;align-items:center;background:#fff;border:1px solid #d9d9d9;border-radius:4px;transition:border .3s,box-shadow .3s}.ant-picker-focused,.ant-picker:hover{border-color:#7ebc59;border-right-width:1px!important}.ant-input-rtl .ant-picker-focused,.ant-input-rtl .ant-picker:hover{border-right-width:0;border-left-width:1px!important}.ant-picker-focused{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-picker-focused{border-right-width:0;border-left-width:1px!important}.ant-picker.ant-picker-disabled{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-picker.ant-picker-disabled .ant-picker-suffix{color:rgba(0,0,0,.25)}.ant-picker.ant-picker-borderless{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}.ant-picker-input{position:relative;display:inline-flex;align-items:center;width:100%}.ant-picker-input>input{position:relative;display:inline-block;width:100%;min-width:0;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border-radius:4px;transition:all .3s;flex:auto;min-width:1px;height:auto;padding:0;background:transparent;border:0}.ant-picker-input>input::-moz-placeholder{opacity:1}.ant-picker-input>input:-ms-input-placeholder{color:#bfbfbf}.ant-picker-input>input::placeholder{color:#bfbfbf}.ant-picker-input>input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-picker-input>input:-ms-input-placeholder{text-overflow:ellipsis}.ant-picker-input>input:placeholder-shown{text-overflow:ellipsis}.ant-picker-input>input:hover{border-color:#7ebc59;border-right-width:1px!important}.ant-input-rtl .ant-picker-input>input:hover{border-right-width:0;border-left-width:1px!important}.ant-picker-input>input-focused,.ant-picker-input>input:focus{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-picker-input>input-focused,.ant-input-rtl .ant-picker-input>input:focus{border-right-width:0;border-left-width:1px!important}.ant-picker-input>input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-picker-input>input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-picker-input>input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-picker-input>input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-picker-input>input-borderless,.ant-picker-input>input-borderless-disabled,.ant-picker-input>input-borderless-focused,.ant-picker-input>input-borderless:focus,.ant-picker-input>input-borderless:hover,.ant-picker-input>input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-picker-input>input{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;transition:all .3s,height 0s}.ant-picker-input>input-lg{padding:6px 11px;font-size:16px}.ant-picker-input>input-sm{padding:1px 7px}.ant-picker-input>input-rtl{direction:rtl}.ant-picker-input>input:focus{box-shadow:none}.ant-picker-input>input[disabled]{background:transparent}.ant-picker-input:hover .ant-picker-clear{opacity:1}.ant-picker-input-placeholder>input{color:#bfbfbf}.ant-picker-large{padding:7px 11px}.ant-picker-large .ant-picker-input>input{font-size:16px}.ant-picker-small{padding:.5px 7px}.ant-picker-suffix{align-self:center;margin-left:4px;color:rgba(0,0,0,.25);line-height:1;pointer-events:none}.ant-picker-suffix>*{vertical-align:top}.ant-picker-clear{position:absolute;top:50%;right:0;color:rgba(0,0,0,.25);line-height:1;background:#fff;transform:translateY(-50%);cursor:pointer;opacity:0;transition:opacity .3s,color .3s}.ant-picker-clear>*{vertical-align:top}.ant-picker-clear:hover{color:rgba(0,0,0,.45)}.ant-picker-separator{position:relative;display:inline-block;width:1em;height:16px;color:rgba(0,0,0,.25);font-size:16px;vertical-align:top;cursor:default}.ant-picker-focused .ant-picker-separator{color:rgba(0,0,0,.45)}.ant-picker-disabled .ant-picker-range-separator .ant-picker-separator{cursor:not-allowed}.ant-picker-range{position:relative;display:inline-flex}.ant-picker-range .ant-picker-clear{right:11px}.ant-picker-range:hover .ant-picker-clear{opacity:1}.ant-picker-range .ant-picker-active-bar{bottom:-1px;height:2px;margin-left:11px;background:#7ebc59;opacity:0;transition:all .3s ease-out;pointer-events:none}.ant-picker-range.ant-picker-focused .ant-picker-active-bar{opacity:1}.ant-picker-range-separator{align-items:center;padding:0 8px;line-height:1}.ant-picker-range.ant-picker-small .ant-picker-clear{right:7px}.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-left:7px}.ant-picker-dropdown{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;z-index:1050}.ant-picker-dropdown-hidden{display:none}.ant-picker-dropdown-placement-bottomLeft .ant-picker-range-arrow{top:1.66666667px;display:block;transform:rotate(-45deg)}.ant-picker-dropdown-placement-topLeft .ant-picker-range-arrow{bottom:1.66666667px;display:block;transform:rotate(135deg)}.ant-picker-dropdown.slide-up-appear.slide-up-appear-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.slide-up-appear.slide-up-appear-active.ant-picker-dropdown-placement-topRight,.ant-picker-dropdown.slide-up-enter.slide-up-enter-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.slide-up-enter.slide-up-enter-active.ant-picker-dropdown-placement-topRight{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-picker-dropdown.slide-up-appear.slide-up-appear-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.slide-up-appear.slide-up-appear-active.ant-picker-dropdown-placement-bottomRight,.ant-picker-dropdown.slide-up-enter.slide-up-enter-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.slide-up-enter.slide-up-enter-active.ant-picker-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-picker-dropdown.slide-up-leave.slide-up-leave-active.ant-picker-dropdown-placement-topLeft,.ant-picker-dropdown.slide-up-leave.slide-up-leave-active.ant-picker-dropdown-placement-topRight{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-picker-dropdown.slide-up-leave.slide-up-leave-active.ant-picker-dropdown-placement-bottomLeft,.ant-picker-dropdown.slide-up-leave.slide-up-leave-active.ant-picker-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-picker-dropdown-range{padding:6.66666667px 0}.ant-picker-dropdown-range-hidden{display:none}.ant-picker-dropdown .ant-picker-panel>.ant-picker-time-panel{padding-top:4px}.ant-picker-ranges{margin-bottom:0;padding:4px 12px;overflow:hidden;line-height:34px;text-align:left;list-style:none}.ant-picker-ranges>li{display:inline-block}.ant-picker-ranges .ant-picker-preset>.ant-tag-blue{color:#7ebc59;background:#f5fced;border-color:#dce3d5;cursor:pointer}.ant-picker-ranges .ant-picker-ok{float:right;margin-left:8px}.ant-picker-range-wrapper{display:flex}.ant-picker-range-arrow{position:absolute;z-index:1;display:none;width:10px;height:10px;margin-left:16.5px;box-shadow:2px -2px 6px rgba(0,0,0,.06);transition:left .3s ease-out}.ant-picker-range-arrow:after{position:absolute;top:1px;right:1px;width:10px;height:10px;border-color:#fff #fff transparent transparent;border-style:solid;border-width:5px;content:""}.ant-picker-panel-container{overflow:hidden;vertical-align:top;background:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);transition:margin .3s}.ant-picker-panel-container .ant-picker-panels{display:inline-flex;flex-wrap:nowrap;direction:ltr}.ant-picker-panel-container .ant-picker-panel{vertical-align:top;background:transparent;border-width:0 0 1px;border-radius:0}.ant-picker-panel-container .ant-picker-panel-focused{border-color:#e8e8e8}.ant-picker-panel{display:inline-flex;flex-direction:column;text-align:center;background:#fff;border:1px solid #e8e8e8;border-radius:4px;outline:none}.ant-picker-panel-focused{border-color:#7ebc59}.ant-picker-date-panel,.ant-picker-decade-panel,.ant-picker-month-panel,.ant-picker-quarter-panel,.ant-picker-time-panel,.ant-picker-week-panel,.ant-picker-year-panel{display:flex;flex-direction:column;width:280px}.ant-picker-header{display:flex;padding:0 8px;color:rgba(0,0,0,.85);border-bottom:1px solid #e8e8e8}.ant-picker-header>*{flex:none}.ant-picker-header button{padding:0;color:rgba(0,0,0,.25);line-height:40px;background:transparent;border:0;cursor:pointer;transition:color .3s}.ant-picker-header>button{min-width:1.6em;font-size:14px}.ant-picker-header>button:hover{color:rgba(0,0,0,.65)}.ant-picker-header-view{flex:auto;font-weight:500;line-height:40px}.ant-picker-header-view button{color:inherit;font-weight:inherit}.ant-picker-header-view button:not(:first-child){margin-left:8px}.ant-picker-header-view button:hover{color:#7ebc59}.ant-picker-next-icon,.ant-picker-prev-icon,.ant-picker-super-next-icon,.ant-picker-super-prev-icon{position:relative;display:inline-block;width:7px;height:7px}.ant-picker-next-icon:before,.ant-picker-prev-icon:before,.ant-picker-super-next-icon:before,.ant-picker-super-prev-icon:before{position:absolute;top:0;left:0;display:inline-block;width:7px;height:7px;border:0 solid;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-super-next-icon:after,.ant-picker-super-prev-icon:after{position:absolute;top:4px;left:4px;display:inline-block;width:7px;height:7px;border:0 solid;border-width:1.5px 0 0 1.5px;content:""}.ant-picker-prev-icon,.ant-picker-super-prev-icon{transform:rotate(-45deg)}.ant-picker-next-icon,.ant-picker-super-next-icon{transform:rotate(135deg)}.ant-picker-content{width:100%;table-layout:fixed;border-collapse:collapse}.ant-picker-content td,.ant-picker-content th{position:relative;min-width:24px;font-weight:400}.ant-picker-content th{height:30px;color:rgba(0,0,0,.65);line-height:30px}.ant-picker-cell{padding:3px 0;color:rgba(0,0,0,.25);cursor:pointer}.ant-picker-cell-in-view{color:rgba(0,0,0,.65)}.ant-picker-cell-disabled{cursor:not-allowed}.ant-picker-cell:before{position:absolute;top:50%;right:0;left:0;z-index:1;height:24px;transform:translateY(-50%);content:""}.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner{background:#f5fced}.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;border:1px solid #7ebc59;border-radius:4px;content:""}.ant-picker-cell-in-view.ant-picker-cell-in-range{position:relative}.ant-picker-cell-in-view.ant-picker-cell-in-range:before{background:#f5fced}.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner{color:#fff;background:#7ebc59}.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):before,.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):before{background:#f5fced}.ant-picker-cell-in-view.ant-picker-cell-range-start:before{left:50%}.ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:50%}.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-end-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-start-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start-single:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-end-near-hover:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-in-range):after{position:absolute;top:50%;z-index:0;height:24px;border-top:1px dashed #b6d9a2;border-bottom:1px dashed #b6d9a2;transform:translateY(-50%);content:""}.ant-picker-cell-range-hover-end:after,.ant-picker-cell-range-hover-start:after,.ant-picker-cell-range-hover:after{right:0;left:2px}.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end:before,.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover:before,.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end:before,.ant-picker-panel>:not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start:before{background:#e1efd8}.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:4px 0 0 4px}.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:0 4px 4px 0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after,.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{position:absolute;top:0;bottom:0;z-index:-1;background:#e1efd8;content:""}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:50%}.ant-picker-cell-range-hover.ant-picker-cell-range-end:after{left:50%}.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after,.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:first-child:after{left:6px;border-left:1px dashed #b6d9a2;border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:last-child:after{right:6px;border-right:1px dashed #b6d9a2;border-top-right-radius:4px;border-bottom-right-radius:4px}.ant-picker-cell-disabled{pointer-events:none}.ant-picker-cell-disabled .ant-picker-cell-inner{color:rgba(0,0,0,.25);background:transparent}.ant-picker-cell-disabled:before{background:#f5f5f5}.ant-picker-cell-disabled.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:rgba(0,0,0,.25)}.ant-picker-decade-panel .ant-picker-content,.ant-picker-month-panel .ant-picker-content,.ant-picker-quarter-panel .ant-picker-content,.ant-picker-year-panel .ant-picker-content{height:264px}.ant-picker-decade-panel .ant-picker-cell-inner,.ant-picker-month-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-year-panel .ant-picker-cell-inner{padding:0 8px}.ant-picker-decade-panel .ant-picker-cell-disabled .ant-picker-cell-inner,.ant-picker-month-panel .ant-picker-cell-disabled .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-disabled .ant-picker-cell-inner,.ant-picker-year-panel .ant-picker-cell-disabled .ant-picker-cell-inner{background:#f5f5f5}.ant-picker-quarter-panel .ant-picker-content{height:56px}.ant-picker-footer{width:-webkit-min-content;width:-moz-min-content;width:min-content;min-width:100%;line-height:38px;text-align:center;border-bottom:1px solid transparent}.ant-picker-panel .ant-picker-footer{border-top:1px solid #e8e8e8}.ant-picker-footer-extra{padding:0 12px;line-height:38px;text-align:left}.ant-picker-footer-extra:not(:last-child){border-bottom:1px solid #e8e8e8}.ant-picker-now{text-align:left}.ant-picker-today-btn{color:#7ebc59}.ant-picker-today-btn:hover{color:#9dc97f}.ant-picker-today-btn:active{color:#5c963f}.ant-picker-today-btn.ant-picker-today-btn-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-picker-decade-panel .ant-picker-cell-inner{padding:0 4px}.ant-picker-decade-panel .ant-picker-cell:before{display:none}.ant-picker-month-panel .ant-picker-body,.ant-picker-quarter-panel .ant-picker-body,.ant-picker-year-panel .ant-picker-body{padding:0 8px}.ant-picker-month-panel .ant-picker-cell-inner,.ant-picker-quarter-panel .ant-picker-cell-inner,.ant-picker-year-panel .ant-picker-cell-inner{width:60px}.ant-picker-month-panel .ant-picker-cell-range-hover-start:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-year-panel .ant-picker-cell-range-hover-start:after{left:14px;border-left:1px dashed #b6d9a2;border-radius:4px 0 0 4px}.ant-picker-month-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-start:after,.ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-year-panel .ant-picker-cell-range-hover-end:after{right:14px;border-right:1px dashed #b6d9a2;border-radius:0 4px 4px 0}.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-end:after{left:14px;border-left:1px dashed #b6d9a2;border-radius:4px 0 0 4px}.ant-picker-week-panel .ant-picker-body{padding:8px 12px}.ant-picker-week-panel .ant-picker-cell-selected .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell .ant-picker-cell-inner,.ant-picker-week-panel .ant-picker-cell:hover .ant-picker-cell-inner{background:transparent!important}.ant-picker-week-panel-row td{transition:background .3s}.ant-picker-week-panel-row:hover td{background:#f5fced}.ant-picker-week-panel-row-selected:hover td,.ant-picker-week-panel-row-selected td{background:#7ebc59}.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-week,.ant-picker-week-panel-row-selected td.ant-picker-cell-week{color:hsla(0,0%,100%,.5)}.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-today .ant-picker-cell-inner:before,.ant-picker-week-panel-row-selected td.ant-picker-cell-today .ant-picker-cell-inner:before{border-color:#fff}.ant-picker-week-panel-row-selected:hover td .ant-picker-cell-inner,.ant-picker-week-panel-row-selected td .ant-picker-cell-inner{color:#fff}.ant-picker-date-panel .ant-picker-body{padding:8px 12px}.ant-picker-date-panel .ant-picker-content{width:252px}.ant-picker-date-panel .ant-picker-content th{width:36px}.ant-picker-datetime-panel{display:flex}.ant-picker-datetime-panel .ant-picker-time-panel{border-left:1px solid #e8e8e8}.ant-picker-datetime-panel .ant-picker-date-panel,.ant-picker-datetime-panel .ant-picker-time-panel{transition:opacity .3s}.ant-picker-datetime-panel-active .ant-picker-date-panel,.ant-picker-datetime-panel-active .ant-picker-time-panel{opacity:.3}.ant-picker-datetime-panel-active .ant-picker-date-panel-active,.ant-picker-datetime-panel-active .ant-picker-time-panel-active{opacity:1}.ant-picker-time-panel{width:auto;min-width:auto}.ant-picker-time-panel .ant-picker-content{display:flex;flex:auto;height:224px}.ant-picker-time-panel-column{flex:1 0 auto;width:56px;margin:0;padding:0;overflow-y:hidden;text-align:left;list-style:none;transition:background .3s}.ant-picker-time-panel-column:after{display:block;height:196px;content:""}.ant-picker-datetime-panel .ant-picker-time-panel-column:after{height:198px}.ant-picker-time-panel-column:not(:first-child){border-left:1px solid #e8e8e8}.ant-picker-time-panel-column-active{background:rgba(245,252,237,.2)}.ant-picker-time-panel-column:hover{overflow-y:auto}.ant-picker-time-panel-column>li{margin:0;padding:0}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner{display:block;width:100%;height:28px;margin:0;padding:0 0 0 14px;color:rgba(0,0,0,.65);line-height:28px;border-radius:0;cursor:pointer;transition:background .3s}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner,.ant-picker-time-panel-column>li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover{background:#f5fced}.ant-picker-time-panel-column>li.ant-picker-time-panel-cell-disabled .ant-picker-time-panel-cell-inner{color:rgba(0,0,0,.25);background:transparent;cursor:not-allowed}:root .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,:root .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell,_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell{padding:21px 0}.ant-picker-rtl{direction:rtl}.ant-picker-rtl .ant-picker-suffix{margin-right:4px;margin-left:0}.ant-picker-rtl .ant-picker-clear{right:auto;left:0}.ant-picker-rtl .ant-picker-separator{transform:rotate(180deg)}.ant-picker-panel-rtl .ant-picker-header-view button:not(:first-child){margin-right:8px;margin-left:0}.ant-picker-rtl.ant-picker-range .ant-picker-clear{right:auto;left:11px}.ant-picker-rtl.ant-picker-range .ant-picker-active-bar{margin-right:11px;margin-left:0}.ant-picker-rtl.ant-picker-range.ant-picker-small .ant-picker-active-bar{margin-right:7px}.ant-picker-dropdown-rtl .ant-picker-ranges{text-align:right}.ant-picker-dropdown-rtl .ant-picker-ranges .ant-picker-ok{float:left;margin-right:8px;margin-left:0}.ant-picker-panel-rtl{direction:rtl}.ant-picker-panel-rtl .ant-picker-prev-icon,.ant-picker-panel-rtl .ant-picker-super-prev-icon{transform:rotate(135deg)}.ant-picker-panel-rtl .ant-picker-next-icon,.ant-picker-panel-rtl .ant-picker-super-next-icon{transform:rotate(-45deg)}.ant-picker-cell .ant-picker-cell-inner{position:relative;z-index:2;display:inline-block;min-width:24px;height:24px;line-height:24px;border-radius:4px;transition:background .3s,border .3s}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:before{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:before{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-end:before{right:50%;left:50%}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner:after{right:0;left:-6px}.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner:after{right:-6px;left:0}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-start:after{right:0;left:50%}.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-end:after{right:50%;left:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner{border-radius:0 4px 4px 0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner{border-radius:4px 0 0 4px}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):first-child:after{right:6px;left:0;border-right:1px dashed #b6d9a2;border-left:none;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range:after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):last-child:after{right:0;left:6px;border-right:none;border-left:1px dashed #b6d9a2;border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-start.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-end.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover):after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-end:first-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child:after,.ant-picker-panel-rtl tr>.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-start:last-child:after{right:6px;left:6px;border-right:1px dashed #b6d9a2;border-left:1px dashed #b6d9a2;border-radius:4px}.ant-picker-dropdown-rtl .ant-picker-footer-extra{direction:rtl;text-align:right}.ant-picker-panel-rtl .ant-picker-time-panel{direction:ltr}.ant-picker-inline{border:none;padding:0}.ant-picker-inline .ant-picker-range-arrow{display:none!important}.ant-descriptions-header{display:flex;align-items:center;margin-bottom:20px}.ant-descriptions-title{flex:auto;overflow:hidden;color:rgba(0,0,0,.85);font-weight:700;font-size:16px;line-height:1.5;white-space:nowrap;text-overflow:ellipsis}.ant-descriptions-extra{margin-left:auto;color:rgba(0,0,0,.65);font-size:14px}.ant-descriptions-view{width:100%;overflow:hidden;border-radius:4px}.ant-descriptions-view table{width:100%;table-layout:fixed}.ant-descriptions-row>td,.ant-descriptions-row>th{padding-bottom:16px}.ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-item-label{color:rgba(0,0,0,.85);font-weight:400;font-size:14px;line-height:1.5;text-align:start}.ant-descriptions-item-label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-descriptions-item-label.ant-descriptions-item-no-colon:after{content:" "}.ant-descriptions-item-no-label:after{margin:0;content:""}.ant-descriptions-item-content{display:table-cell;flex:1;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;word-break:break-word;overflow-wrap:break-word}.ant-descriptions-item{padding-bottom:0;vertical-align:top}.ant-descriptions-item-container{display:flex}.ant-descriptions-item-container .ant-descriptions-item-content,.ant-descriptions-item-container .ant-descriptions-item-label{display:inline-flex;align-items:baseline}.ant-descriptions-middle .ant-descriptions-row>td,.ant-descriptions-middle .ant-descriptions-row>th{padding-bottom:12px}.ant-descriptions-small .ant-descriptions-row>td,.ant-descriptions-small .ant-descriptions-row>th{padding-bottom:8px}.ant-descriptions-bordered .ant-descriptions-view{border:1px solid #e8e8e8}.ant-descriptions-bordered .ant-descriptions-view>table{table-layout:auto}.ant-descriptions-bordered .ant-descriptions-item-content,.ant-descriptions-bordered .ant-descriptions-item-label{padding:16px 24px;border-right:1px solid #e8e8e8}.ant-descriptions-bordered .ant-descriptions-item-content:last-child,.ant-descriptions-bordered .ant-descriptions-item-label:last-child{border-right:none}.ant-descriptions-bordered .ant-descriptions-item-label{background-color:#fafafa}.ant-descriptions-bordered .ant-descriptions-item-label:after{display:none}.ant-descriptions-bordered .ant-descriptions-row{border-bottom:1px solid #e8e8e8}.ant-descriptions-bordered .ant-descriptions-row:last-child{border-bottom:none}.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-content,.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-label{padding:12px 24px}.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content,.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label{padding:8px 16px}.ant-descriptions-rtl{direction:rtl}.ant-descriptions-rtl .ant-descriptions-item-label:after{margin:0 2px 0 8px}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label{border-right:none;border-left:1px solid #e8e8e8}.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content:last-child,.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label:last-child{border-left:none}nz-descriptions{display:block}.ant-divider{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";border-top:1px solid rgba(0,0,0,.06)}.ant-divider-vertical{position:relative;top:-.06em;display:inline-block;height:.9em;margin:0 8px;vertical-align:middle;border-top:0;border-left:1px solid rgba(0,0,0,.06)}.ant-divider-horizontal{display:flex;clear:both;width:100%;min-width:100%;margin:24px 0}.ant-divider-horizontal.ant-divider-with-text{display:flex;margin:16px 0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;white-space:nowrap;text-align:center;border-top:0;border-top-color:rgba(0,0,0,.06)}.ant-divider-horizontal.ant-divider-with-text:after,.ant-divider-horizontal.ant-divider-with-text:before{position:relative;top:50%;width:50%;border-top:1px solid transparent;border-top-color:inherit;border-bottom:0;transform:translateY(50%);content:""}.ant-divider-horizontal.ant-divider-with-text-left:before{top:50%;width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-right:before{top:50%;width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{top:50%;width:5%}.ant-divider-inner-text{display:inline-block;padding:0 1em}.ant-divider-dashed{background:none;border:dashed rgba(0,0,0,.06);border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed{border-top:0}.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:before{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.ant-divider-plain.ant-divider-with-text{color:rgba(0,0,0,.65);font-weight:400;font-size:14px}.ant-divider-rtl{direction:rtl}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:before{width:95%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:before{width:5%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:after{width:95%}.ant-drawer{position:fixed;z-index:1000;width:0;height:100%;transition:transform .3s cubic-bezier(.7,.3,.1,1),height 0s ease .3s,width 0s ease .3s}.ant-drawer>*{transition:transform .3s cubic-bezier(.7,.3,.1,1),box-shadow .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-content-wrapper{position:absolute;width:100%;height:100%}.ant-drawer .ant-drawer-content{width:100%;height:100%}.ant-drawer-left,.ant-drawer-right{top:0;width:0;height:100%}.ant-drawer-left .ant-drawer-content-wrapper,.ant-drawer-right .ant-drawer-content-wrapper{height:100%}.ant-drawer-left.ant-drawer-open,.ant-drawer-right.ant-drawer-open{width:100%;transition:transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-left,.ant-drawer-left .ant-drawer-content-wrapper{left:0}.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:2px 0 8px rgba(0,0,0,.15)}.ant-drawer-right,.ant-drawer-right .ant-drawer-content-wrapper{right:0}.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:-2px 0 8px rgba(0,0,0,.15)}.ant-drawer-right.ant-drawer-open.no-mask{right:1px;transform:translateX(1px)}.ant-drawer-bottom,.ant-drawer-top{left:0;width:100%;height:0%}.ant-drawer-bottom .ant-drawer-content-wrapper,.ant-drawer-top .ant-drawer-content-wrapper{width:100%}.ant-drawer-bottom.ant-drawer-open,.ant-drawer-top.ant-drawer-open{height:100%;transition:transform .3s cubic-bezier(.7,.3,.1,1)}.ant-drawer-top{top:0}.ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-drawer-bottom,.ant-drawer-bottom .ant-drawer-content-wrapper{bottom:0}.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper{box-shadow:0 -2px 8px rgba(0,0,0,.15)}.ant-drawer-bottom.ant-drawer-open.no-mask{bottom:1px;transform:translateY(1px)}.ant-drawer.ant-drawer-open .ant-drawer-mask{height:100%;opacity:1;transition:none;-webkit-animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1);animation:antdDrawerFadeIn .3s cubic-bezier(.7,.3,.1,1);pointer-events:auto}.ant-drawer-title{margin:0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:22px}.ant-drawer-content{position:relative;z-index:1;overflow:auto;background-color:#fff;background-clip:padding-box;border:0}.ant-drawer-close{position:absolute;top:0;right:0;z-index:10;display:block;padding:20px;color:rgba(0,0,0,.45);font-weight:700;font-size:16px;font-style:normal;line-height:1;text-align:center;text-transform:none;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s;text-rendering:auto}.ant-drawer-close:focus,.ant-drawer-close:hover{color:rgba(0,0,0,.75);text-decoration:none}.ant-drawer-header-no-title .ant-drawer-close{margin-right:var(--scroll-bar);padding-right:calc(20px - var(--scroll-bar))}.ant-drawer-header{position:relative;padding:16px 24px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0}.ant-drawer-header,.ant-drawer-header-no-title{color:rgba(0,0,0,.65);background:#fff}.ant-drawer-wrapper-body{display:flex;flex-direction:column;flex-wrap:nowrap;width:100%;height:100%}.ant-drawer-body{flex-grow:1;padding:24px;overflow:auto;font-size:14px;line-height:1.5;word-wrap:break-word}.ant-drawer-footer{flex-shrink:0;padding:10px;border-top:1px solid #e8e8e8}.ant-drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;background-color:rgba(0,0,0,.65);opacity:0;filter:alpha(opacity=45);transition:opacity .3s linear,height 0s ease .3s;pointer-events:none}.ant-drawer-open-content{box-shadow:0 4px 12px rgba(0,0,0,.15)}.ant-drawer .ant-picker-clear{background:#fff}@-webkit-keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}@keyframes antdDrawerFadeIn{0%{opacity:0}to{opacity:1}}.ant-drawer-rtl{direction:rtl}.ant-drawer-rtl .ant-drawer-close{right:auto;left:0}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger{color:#f5222d}.ant-dropdown-menu-item.ant-dropdown-menu-item-danger:hover{color:#fff;background-color:#f5222d}.ant-dropdown{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-dropdown:before{position:absolute;top:-4px;right:0;bottom:-4px;left:-7px;z-index:-9999;opacity:.0001;content:" "}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{font-size:10px}.ant-dropdown-wrap .anticon-down:before{transition:transform .2s}.ant-dropdown-wrap-open .anticon-down:before{transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden{display:none}.ant-dropdown-show-arrow.ant-dropdown-placement-topCenter,.ant-dropdown-show-arrow.ant-dropdown-placement-topLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-topRight{padding-bottom:10px}.ant-dropdown-show-arrow.ant-dropdown-placement-bottomCenter,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomLeft,.ant-dropdown-show-arrow.ant-dropdown-placement-bottomRight{padding-top:10px}.ant-dropdown-arrow{position:absolute;z-index:1;display:block;width:8.48528137px;height:8.48528137px;background:transparent;border-style:solid;border-width:4.24264069px;transform:rotate(45deg)}.ant-dropdown-placement-topCenter>.ant-dropdown-arrow,.ant-dropdown-placement-topLeft>.ant-dropdown-arrow,.ant-dropdown-placement-topRight>.ant-dropdown-arrow{bottom:6.2px;border-color:transparent #fff #fff transparent;box-shadow:3px 3px 7px rgba(0,0,0,.07)}.ant-dropdown-placement-topCenter>.ant-dropdown-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-dropdown-placement-topLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-topRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-placement-bottomCenter>.ant-dropdown-arrow,.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow,.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{top:6px;border-color:#fff transparent transparent #fff;box-shadow:-2px -2px 5px rgba(0,0,0,.06)}.ant-dropdown-placement-bottomCenter>.ant-dropdown-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-dropdown-placement-bottomLeft>.ant-dropdown-arrow{left:16px}.ant-dropdown-placement-bottomRight>.ant-dropdown-arrow{right:16px}.ant-dropdown-menu{position:relative;margin:0;padding:4px 0;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:4px;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-dropdown-menu-item-group-title{padding:5px 12px;color:rgba(0,0,0,.45);transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;box-shadow:none;transform-origin:0 0}.ant-dropdown-menu-submenu-popup li,.ant-dropdown-menu-submenu-popup ul{list-style:none}.ant-dropdown-menu-submenu-popup ul{margin-right:.3em;margin-left:.3em}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{clear:both;margin:0;padding:5px 12px;color:rgba(0,0,0,.65);font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;cursor:pointer;transition:all .3s}.ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-menu-item>a>.anticon:first-child,.ant-dropdown-menu-item>span>.anticon:first-child,.ant-dropdown-menu-submenu-title>.anticon:first-child,.ant-dropdown-menu-submenu-title>a>.anticon:first-child,.ant-dropdown-menu-submenu-title>span>.anticon:first-child{min-width:12px;margin-right:8px;font-size:12px;vertical-align:-.1em}.ant-dropdown-menu-item>a,.ant-dropdown-menu-submenu-title>a{display:block;margin:-5px -12px;padding:5px 12px;color:rgba(0,0,0,.65);transition:all .3s}.ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-submenu-title>a:hover{color:rgba(0,0,0,.65)}.ant-dropdown-menu-item>.anticon+span>a,.ant-dropdown-menu-submenu-title>.anticon+span>a{color:rgba(0,0,0,.65);transition:all .3s}.ant-dropdown-menu-item>.anticon+span>a:hover,.ant-dropdown-menu-submenu-title>.anticon+span>a:hover{color:rgba(0,0,0,.65)}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-item-selected>a,.ant-dropdown-menu-submenu-title-selected,.ant-dropdown-menu-submenu-title-selected>a{color:#7ebc59;background-color:#f5fced}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover{background-color:#f5fced}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-item-disabled>a,.ant-dropdown-menu-submenu-title-disabled>a{position:relative;color:rgba(0,0,0,.25);pointer-events:none}.ant-dropdown-menu-item-disabled>a:after,.ant-dropdown-menu-submenu-title-disabled>a:after{position:absolute;top:0;left:0;width:100%;height:100%;cursor:not-allowed;content:""}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;margin:4px 0;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{position:absolute;right:8px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon{margin-right:0!important;color:rgba(0,0,0,.45);font-size:10px;font-style:normal}.ant-dropdown-menu-item-group-list{margin:0 8px;padding:0;list-style:none}.ant-dropdown-menu-submenu-title{padding-right:24px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{position:absolute;top:0;left:100%;min-width:100%;margin-left:4px;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title{color:#7ebc59}.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomRight,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topRight,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topRight{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topRight{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-dropdown-button>.anticon.anticon-down,.ant-dropdown-link>.anticon.anticon-down,.ant-dropdown-trigger>.anticon.anticon-down{font-size:10px;vertical-align:baseline}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child):not(.ant-btn-icon-only){padding-right:8px;padding-left:8px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#001529}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:hsla(0,0%,100%,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>.anticon+span>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover{color:#fff;background:transparent}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{color:#fff;background:#7ebc59}.ant-dropdown-rtl{direction:rtl}.ant-dropdown-rtl.ant-dropdown:before{right:-7px;left:0}.ant-dropdown-menu.ant-dropdown-menu-rtl,.ant-dropdown-rtl .ant-dropdown-menu-item-group-title{direction:rtl;text-align:right}.ant-dropdown-menu-submenu-popup.ant-dropdown-menu-submenu-rtl{transform-origin:100% 0}.ant-dropdown-rtl .ant-dropdown-menu-item,.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup li,.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup ul,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{text-align:right}.ant-dropdown-rtl .ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-item>span>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>.anticon:first-child,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title>span>.anticon:first-child{margin-right:0;margin-left:8px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{right:auto;left:8px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{margin-left:0!important;transform:scaleX(-1)}.ant-dropdown-rtl .ant-dropdown-menu-submenu-title{padding-right:12px;padding-left:24px}.ant-dropdown-rtl .ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{right:100%;left:0;margin-right:4px;margin-left:0}.ant-dropdown-menu>ul{list-style:inherit;margin:0;padding:0}.ant-dropdown{top:0;left:0;position:relative;width:100%;margin-top:6px;margin-bottom:6px}.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{transform:rotate(180deg)}.ant-empty{margin:0 8px;font-size:14px;line-height:1.5;text-align:center}.ant-empty-image{height:100px;margin-bottom:8px}.ant-empty-image img{height:100%}.ant-empty-image svg{height:100%;margin:auto}.ant-empty-footer{margin-top:16px}.ant-empty-normal{margin:32px 0;color:rgba(0,0,0,.25)}.ant-empty-normal .ant-empty-image{height:40px}.ant-empty-small{margin:8px 0;color:rgba(0,0,0,.25)}.ant-empty-small .ant-empty-image{height:35px}.ant-empty-img-default-ellipse{fill-opacity:.8;fill:#f5f5f5}.ant-empty-img-default-path-1{fill:#aeb8c2}.ant-empty-img-default-path-2{fill:url(#linearGradient-1)}.ant-empty-img-default-path-3{fill:#f5f5f7}.ant-empty-img-default-path-4,.ant-empty-img-default-path-5{fill:#dce0e6}.ant-empty-img-default-g{fill:#fff}.ant-empty-img-simple-ellipse{fill:#f5f5f5}.ant-empty-img-simple-g{stroke:#d9d9d9}.ant-empty-img-simple-path{fill:#fafafa}.ant-empty-rtl{direction:rtl}nz-empty{display:block}.ant-row{flex-flow:row wrap}.ant-row,.ant-row:after,.ant-row:before{display:flex}.ant-row-no-wrap{flex-wrap:nowrap}.ant-row-start{justify-content:flex-start}.ant-row-center{justify-content:center}.ant-row-end{justify-content:flex-end}.ant-row-space-between{justify-content:space-between}.ant-row-space-around{justify-content:space-around}.ant-row-top{align-items:flex-start}.ant-row-middle{align-items:center}.ant-row-bottom{align-items:flex-end}.ant-col{position:relative;max-width:100%;min-height:1px}.ant-col-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-push-24{left:100%}.ant-col-pull-24{right:100%}.ant-col-offset-24{margin-left:100%}.ant-col-order-24{order:24}.ant-col-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-push-23{left:95.83333333%}.ant-col-pull-23{right:95.83333333%}.ant-col-offset-23{margin-left:95.83333333%}.ant-col-order-23{order:23}.ant-col-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-push-22{left:91.66666667%}.ant-col-pull-22{right:91.66666667%}.ant-col-offset-22{margin-left:91.66666667%}.ant-col-order-22{order:22}.ant-col-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-push-21{left:87.5%}.ant-col-pull-21{right:87.5%}.ant-col-offset-21{margin-left:87.5%}.ant-col-order-21{order:21}.ant-col-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-push-20{left:83.33333333%}.ant-col-pull-20{right:83.33333333%}.ant-col-offset-20{margin-left:83.33333333%}.ant-col-order-20{order:20}.ant-col-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-push-19{left:79.16666667%}.ant-col-pull-19{right:79.16666667%}.ant-col-offset-19{margin-left:79.16666667%}.ant-col-order-19{order:19}.ant-col-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-push-18{left:75%}.ant-col-pull-18{right:75%}.ant-col-offset-18{margin-left:75%}.ant-col-order-18{order:18}.ant-col-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-push-17{left:70.83333333%}.ant-col-pull-17{right:70.83333333%}.ant-col-offset-17{margin-left:70.83333333%}.ant-col-order-17{order:17}.ant-col-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-push-16{left:66.66666667%}.ant-col-pull-16{right:66.66666667%}.ant-col-offset-16{margin-left:66.66666667%}.ant-col-order-16{order:16}.ant-col-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-push-15{left:62.5%}.ant-col-pull-15{right:62.5%}.ant-col-offset-15{margin-left:62.5%}.ant-col-order-15{order:15}.ant-col-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-push-14{left:58.33333333%}.ant-col-pull-14{right:58.33333333%}.ant-col-offset-14{margin-left:58.33333333%}.ant-col-order-14{order:14}.ant-col-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-push-13{left:54.16666667%}.ant-col-pull-13{right:54.16666667%}.ant-col-offset-13{margin-left:54.16666667%}.ant-col-order-13{order:13}.ant-col-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-push-12{left:50%}.ant-col-pull-12{right:50%}.ant-col-offset-12{margin-left:50%}.ant-col-order-12{order:12}.ant-col-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-push-11{left:45.83333333%}.ant-col-pull-11{right:45.83333333%}.ant-col-offset-11{margin-left:45.83333333%}.ant-col-order-11{order:11}.ant-col-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-push-10{left:41.66666667%}.ant-col-pull-10{right:41.66666667%}.ant-col-offset-10{margin-left:41.66666667%}.ant-col-order-10{order:10}.ant-col-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-push-9{left:37.5%}.ant-col-pull-9{right:37.5%}.ant-col-offset-9{margin-left:37.5%}.ant-col-order-9{order:9}.ant-col-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-push-8{left:33.33333333%}.ant-col-pull-8{right:33.33333333%}.ant-col-offset-8{margin-left:33.33333333%}.ant-col-order-8{order:8}.ant-col-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-push-7{left:29.16666667%}.ant-col-pull-7{right:29.16666667%}.ant-col-offset-7{margin-left:29.16666667%}.ant-col-order-7{order:7}.ant-col-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-push-6{left:25%}.ant-col-pull-6{right:25%}.ant-col-offset-6{margin-left:25%}.ant-col-order-6{order:6}.ant-col-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-push-5{left:20.83333333%}.ant-col-pull-5{right:20.83333333%}.ant-col-offset-5{margin-left:20.83333333%}.ant-col-order-5{order:5}.ant-col-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-push-4{left:16.66666667%}.ant-col-pull-4{right:16.66666667%}.ant-col-offset-4{margin-left:16.66666667%}.ant-col-order-4{order:4}.ant-col-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-push-3{left:12.5%}.ant-col-pull-3{right:12.5%}.ant-col-offset-3{margin-left:12.5%}.ant-col-order-3{order:3}.ant-col-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-push-2{left:8.33333333%}.ant-col-pull-2{right:8.33333333%}.ant-col-offset-2{margin-left:8.33333333%}.ant-col-order-2{order:2}.ant-col-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-push-1{left:4.16666667%}.ant-col-pull-1{right:4.16666667%}.ant-col-offset-1{margin-left:4.16666667%}.ant-col-order-1{order:1}.ant-col-0{display:none}.ant-col-offset-0{margin-left:0}.ant-col-order-0{order:0}.ant-col-offset-0.ant-col-rtl{margin-right:0}.ant-col-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}.ant-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xs-push-24{left:100%}.ant-col-xs-pull-24{right:100%}.ant-col-xs-offset-24{margin-left:100%}.ant-col-xs-order-24{order:24}.ant-col-xs-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xs-push-23{left:95.83333333%}.ant-col-xs-pull-23{right:95.83333333%}.ant-col-xs-offset-23{margin-left:95.83333333%}.ant-col-xs-order-23{order:23}.ant-col-xs-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xs-push-22{left:91.66666667%}.ant-col-xs-pull-22{right:91.66666667%}.ant-col-xs-offset-22{margin-left:91.66666667%}.ant-col-xs-order-22{order:22}.ant-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xs-push-21{left:87.5%}.ant-col-xs-pull-21{right:87.5%}.ant-col-xs-offset-21{margin-left:87.5%}.ant-col-xs-order-21{order:21}.ant-col-xs-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xs-push-20{left:83.33333333%}.ant-col-xs-pull-20{right:83.33333333%}.ant-col-xs-offset-20{margin-left:83.33333333%}.ant-col-xs-order-20{order:20}.ant-col-xs-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xs-push-19{left:79.16666667%}.ant-col-xs-pull-19{right:79.16666667%}.ant-col-xs-offset-19{margin-left:79.16666667%}.ant-col-xs-order-19{order:19}.ant-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xs-push-18{left:75%}.ant-col-xs-pull-18{right:75%}.ant-col-xs-offset-18{margin-left:75%}.ant-col-xs-order-18{order:18}.ant-col-xs-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xs-push-17{left:70.83333333%}.ant-col-xs-pull-17{right:70.83333333%}.ant-col-xs-offset-17{margin-left:70.83333333%}.ant-col-xs-order-17{order:17}.ant-col-xs-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xs-push-16{left:66.66666667%}.ant-col-xs-pull-16{right:66.66666667%}.ant-col-xs-offset-16{margin-left:66.66666667%}.ant-col-xs-order-16{order:16}.ant-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xs-push-15{left:62.5%}.ant-col-xs-pull-15{right:62.5%}.ant-col-xs-offset-15{margin-left:62.5%}.ant-col-xs-order-15{order:15}.ant-col-xs-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xs-push-14{left:58.33333333%}.ant-col-xs-pull-14{right:58.33333333%}.ant-col-xs-offset-14{margin-left:58.33333333%}.ant-col-xs-order-14{order:14}.ant-col-xs-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xs-push-13{left:54.16666667%}.ant-col-xs-pull-13{right:54.16666667%}.ant-col-xs-offset-13{margin-left:54.16666667%}.ant-col-xs-order-13{order:13}.ant-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xs-push-12{left:50%}.ant-col-xs-pull-12{right:50%}.ant-col-xs-offset-12{margin-left:50%}.ant-col-xs-order-12{order:12}.ant-col-xs-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xs-push-11{left:45.83333333%}.ant-col-xs-pull-11{right:45.83333333%}.ant-col-xs-offset-11{margin-left:45.83333333%}.ant-col-xs-order-11{order:11}.ant-col-xs-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xs-push-10{left:41.66666667%}.ant-col-xs-pull-10{right:41.66666667%}.ant-col-xs-offset-10{margin-left:41.66666667%}.ant-col-xs-order-10{order:10}.ant-col-xs-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xs-push-9{left:37.5%}.ant-col-xs-pull-9{right:37.5%}.ant-col-xs-offset-9{margin-left:37.5%}.ant-col-xs-order-9{order:9}.ant-col-xs-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xs-push-8{left:33.33333333%}.ant-col-xs-pull-8{right:33.33333333%}.ant-col-xs-offset-8{margin-left:33.33333333%}.ant-col-xs-order-8{order:8}.ant-col-xs-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xs-push-7{left:29.16666667%}.ant-col-xs-pull-7{right:29.16666667%}.ant-col-xs-offset-7{margin-left:29.16666667%}.ant-col-xs-order-7{order:7}.ant-col-xs-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xs-push-6{left:25%}.ant-col-xs-pull-6{right:25%}.ant-col-xs-offset-6{margin-left:25%}.ant-col-xs-order-6{order:6}.ant-col-xs-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xs-push-5{left:20.83333333%}.ant-col-xs-pull-5{right:20.83333333%}.ant-col-xs-offset-5{margin-left:20.83333333%}.ant-col-xs-order-5{order:5}.ant-col-xs-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xs-push-4{left:16.66666667%}.ant-col-xs-pull-4{right:16.66666667%}.ant-col-xs-offset-4{margin-left:16.66666667%}.ant-col-xs-order-4{order:4}.ant-col-xs-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xs-push-3{left:12.5%}.ant-col-xs-pull-3{right:12.5%}.ant-col-xs-offset-3{margin-left:12.5%}.ant-col-xs-order-3{order:3}.ant-col-xs-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xs-push-2{left:8.33333333%}.ant-col-xs-pull-2{right:8.33333333%}.ant-col-xs-offset-2{margin-left:8.33333333%}.ant-col-xs-order-2{order:2}.ant-col-xs-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xs-push-1{left:4.16666667%}.ant-col-xs-pull-1{right:4.16666667%}.ant-col-xs-offset-1{margin-left:4.16666667%}.ant-col-xs-order-1{order:1}.ant-col-xs-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xs-push-0{left:auto}.ant-col-xs-pull-0{right:auto}.ant-col-xs-offset-0{margin-left:0}.ant-col-xs-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xs-push-0.ant-col-rtl{right:auto}.ant-col-xs-pull-0.ant-col-rtl{left:auto}.ant-col-xs-offset-0.ant-col-rtl{margin-right:0}.ant-col-xs-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xs-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xs-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xs-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xs-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xs-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xs-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xs-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xs-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xs-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xs-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xs-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xs-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xs-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xs-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xs-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xs-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xs-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xs-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xs-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xs-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xs-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xs-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xs-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xs-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xs-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xs-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xs-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xs-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xs-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xs-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xs-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xs-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xs-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xs-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xs-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xs-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xs-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xs-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xs-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xs-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xs-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xs-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xs-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xs-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xs-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xs-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xs-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xs-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xs-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xs-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xs-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xs-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xs-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xs-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xs-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xs-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xs-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xs-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xs-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xs-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xs-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xs-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xs-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xs-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xs-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xs-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xs-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xs-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xs-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xs-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xs-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}@media (min-width:576px){.ant-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-sm-push-24{left:100%}.ant-col-sm-pull-24{right:100%}.ant-col-sm-offset-24{margin-left:100%}.ant-col-sm-order-24{order:24}.ant-col-sm-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-sm-push-23{left:95.83333333%}.ant-col-sm-pull-23{right:95.83333333%}.ant-col-sm-offset-23{margin-left:95.83333333%}.ant-col-sm-order-23{order:23}.ant-col-sm-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-sm-push-22{left:91.66666667%}.ant-col-sm-pull-22{right:91.66666667%}.ant-col-sm-offset-22{margin-left:91.66666667%}.ant-col-sm-order-22{order:22}.ant-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-sm-push-21{left:87.5%}.ant-col-sm-pull-21{right:87.5%}.ant-col-sm-offset-21{margin-left:87.5%}.ant-col-sm-order-21{order:21}.ant-col-sm-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-sm-push-20{left:83.33333333%}.ant-col-sm-pull-20{right:83.33333333%}.ant-col-sm-offset-20{margin-left:83.33333333%}.ant-col-sm-order-20{order:20}.ant-col-sm-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-sm-push-19{left:79.16666667%}.ant-col-sm-pull-19{right:79.16666667%}.ant-col-sm-offset-19{margin-left:79.16666667%}.ant-col-sm-order-19{order:19}.ant-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-sm-push-18{left:75%}.ant-col-sm-pull-18{right:75%}.ant-col-sm-offset-18{margin-left:75%}.ant-col-sm-order-18{order:18}.ant-col-sm-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-sm-push-17{left:70.83333333%}.ant-col-sm-pull-17{right:70.83333333%}.ant-col-sm-offset-17{margin-left:70.83333333%}.ant-col-sm-order-17{order:17}.ant-col-sm-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-sm-push-16{left:66.66666667%}.ant-col-sm-pull-16{right:66.66666667%}.ant-col-sm-offset-16{margin-left:66.66666667%}.ant-col-sm-order-16{order:16}.ant-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-sm-push-15{left:62.5%}.ant-col-sm-pull-15{right:62.5%}.ant-col-sm-offset-15{margin-left:62.5%}.ant-col-sm-order-15{order:15}.ant-col-sm-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-sm-push-14{left:58.33333333%}.ant-col-sm-pull-14{right:58.33333333%}.ant-col-sm-offset-14{margin-left:58.33333333%}.ant-col-sm-order-14{order:14}.ant-col-sm-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-sm-push-13{left:54.16666667%}.ant-col-sm-pull-13{right:54.16666667%}.ant-col-sm-offset-13{margin-left:54.16666667%}.ant-col-sm-order-13{order:13}.ant-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-sm-push-12{left:50%}.ant-col-sm-pull-12{right:50%}.ant-col-sm-offset-12{margin-left:50%}.ant-col-sm-order-12{order:12}.ant-col-sm-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-sm-push-11{left:45.83333333%}.ant-col-sm-pull-11{right:45.83333333%}.ant-col-sm-offset-11{margin-left:45.83333333%}.ant-col-sm-order-11{order:11}.ant-col-sm-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-sm-push-10{left:41.66666667%}.ant-col-sm-pull-10{right:41.66666667%}.ant-col-sm-offset-10{margin-left:41.66666667%}.ant-col-sm-order-10{order:10}.ant-col-sm-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-sm-push-9{left:37.5%}.ant-col-sm-pull-9{right:37.5%}.ant-col-sm-offset-9{margin-left:37.5%}.ant-col-sm-order-9{order:9}.ant-col-sm-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-sm-push-8{left:33.33333333%}.ant-col-sm-pull-8{right:33.33333333%}.ant-col-sm-offset-8{margin-left:33.33333333%}.ant-col-sm-order-8{order:8}.ant-col-sm-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-sm-push-7{left:29.16666667%}.ant-col-sm-pull-7{right:29.16666667%}.ant-col-sm-offset-7{margin-left:29.16666667%}.ant-col-sm-order-7{order:7}.ant-col-sm-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-sm-push-6{left:25%}.ant-col-sm-pull-6{right:25%}.ant-col-sm-offset-6{margin-left:25%}.ant-col-sm-order-6{order:6}.ant-col-sm-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-sm-push-5{left:20.83333333%}.ant-col-sm-pull-5{right:20.83333333%}.ant-col-sm-offset-5{margin-left:20.83333333%}.ant-col-sm-order-5{order:5}.ant-col-sm-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-sm-push-4{left:16.66666667%}.ant-col-sm-pull-4{right:16.66666667%}.ant-col-sm-offset-4{margin-left:16.66666667%}.ant-col-sm-order-4{order:4}.ant-col-sm-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-sm-push-3{left:12.5%}.ant-col-sm-pull-3{right:12.5%}.ant-col-sm-offset-3{margin-left:12.5%}.ant-col-sm-order-3{order:3}.ant-col-sm-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-sm-push-2{left:8.33333333%}.ant-col-sm-pull-2{right:8.33333333%}.ant-col-sm-offset-2{margin-left:8.33333333%}.ant-col-sm-order-2{order:2}.ant-col-sm-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-sm-push-1{left:4.16666667%}.ant-col-sm-pull-1{right:4.16666667%}.ant-col-sm-offset-1{margin-left:4.16666667%}.ant-col-sm-order-1{order:1}.ant-col-sm-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-sm-push-0{left:auto}.ant-col-sm-pull-0{right:auto}.ant-col-sm-offset-0{margin-left:0}.ant-col-sm-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-sm-push-0.ant-col-rtl{right:auto}.ant-col-sm-pull-0.ant-col-rtl{left:auto}.ant-col-sm-offset-0.ant-col-rtl{margin-right:0}.ant-col-sm-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-sm-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-sm-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-sm-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-sm-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-sm-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-sm-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-sm-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-sm-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-sm-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-sm-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-sm-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-sm-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-sm-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-sm-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-sm-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-sm-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-sm-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-sm-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-sm-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-sm-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-sm-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-sm-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-sm-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-sm-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-sm-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-sm-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-sm-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-sm-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-sm-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-sm-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-sm-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-sm-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-sm-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-sm-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-sm-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-sm-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-sm-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-sm-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-sm-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-sm-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-sm-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-sm-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-sm-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-sm-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-sm-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-sm-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-sm-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-sm-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-sm-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-sm-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-sm-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-sm-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-sm-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-sm-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-sm-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-sm-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-sm-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-sm-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-sm-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-sm-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-sm-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-sm-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-sm-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-sm-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-sm-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-sm-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-sm-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-sm-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-sm-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-sm-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-sm-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:768px){.ant-col-md-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-md-push-24{left:100%}.ant-col-md-pull-24{right:100%}.ant-col-md-offset-24{margin-left:100%}.ant-col-md-order-24{order:24}.ant-col-md-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-md-push-23{left:95.83333333%}.ant-col-md-pull-23{right:95.83333333%}.ant-col-md-offset-23{margin-left:95.83333333%}.ant-col-md-order-23{order:23}.ant-col-md-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-md-push-22{left:91.66666667%}.ant-col-md-pull-22{right:91.66666667%}.ant-col-md-offset-22{margin-left:91.66666667%}.ant-col-md-order-22{order:22}.ant-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-md-push-21{left:87.5%}.ant-col-md-pull-21{right:87.5%}.ant-col-md-offset-21{margin-left:87.5%}.ant-col-md-order-21{order:21}.ant-col-md-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-md-push-20{left:83.33333333%}.ant-col-md-pull-20{right:83.33333333%}.ant-col-md-offset-20{margin-left:83.33333333%}.ant-col-md-order-20{order:20}.ant-col-md-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-md-push-19{left:79.16666667%}.ant-col-md-pull-19{right:79.16666667%}.ant-col-md-offset-19{margin-left:79.16666667%}.ant-col-md-order-19{order:19}.ant-col-md-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-md-push-18{left:75%}.ant-col-md-pull-18{right:75%}.ant-col-md-offset-18{margin-left:75%}.ant-col-md-order-18{order:18}.ant-col-md-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-md-push-17{left:70.83333333%}.ant-col-md-pull-17{right:70.83333333%}.ant-col-md-offset-17{margin-left:70.83333333%}.ant-col-md-order-17{order:17}.ant-col-md-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-md-push-16{left:66.66666667%}.ant-col-md-pull-16{right:66.66666667%}.ant-col-md-offset-16{margin-left:66.66666667%}.ant-col-md-order-16{order:16}.ant-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-md-push-15{left:62.5%}.ant-col-md-pull-15{right:62.5%}.ant-col-md-offset-15{margin-left:62.5%}.ant-col-md-order-15{order:15}.ant-col-md-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-md-push-14{left:58.33333333%}.ant-col-md-pull-14{right:58.33333333%}.ant-col-md-offset-14{margin-left:58.33333333%}.ant-col-md-order-14{order:14}.ant-col-md-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-md-push-13{left:54.16666667%}.ant-col-md-pull-13{right:54.16666667%}.ant-col-md-offset-13{margin-left:54.16666667%}.ant-col-md-order-13{order:13}.ant-col-md-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-md-push-12{left:50%}.ant-col-md-pull-12{right:50%}.ant-col-md-offset-12{margin-left:50%}.ant-col-md-order-12{order:12}.ant-col-md-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-md-push-11{left:45.83333333%}.ant-col-md-pull-11{right:45.83333333%}.ant-col-md-offset-11{margin-left:45.83333333%}.ant-col-md-order-11{order:11}.ant-col-md-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-md-push-10{left:41.66666667%}.ant-col-md-pull-10{right:41.66666667%}.ant-col-md-offset-10{margin-left:41.66666667%}.ant-col-md-order-10{order:10}.ant-col-md-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-md-push-9{left:37.5%}.ant-col-md-pull-9{right:37.5%}.ant-col-md-offset-9{margin-left:37.5%}.ant-col-md-order-9{order:9}.ant-col-md-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-md-push-8{left:33.33333333%}.ant-col-md-pull-8{right:33.33333333%}.ant-col-md-offset-8{margin-left:33.33333333%}.ant-col-md-order-8{order:8}.ant-col-md-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-md-push-7{left:29.16666667%}.ant-col-md-pull-7{right:29.16666667%}.ant-col-md-offset-7{margin-left:29.16666667%}.ant-col-md-order-7{order:7}.ant-col-md-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-md-push-6{left:25%}.ant-col-md-pull-6{right:25%}.ant-col-md-offset-6{margin-left:25%}.ant-col-md-order-6{order:6}.ant-col-md-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-md-push-5{left:20.83333333%}.ant-col-md-pull-5{right:20.83333333%}.ant-col-md-offset-5{margin-left:20.83333333%}.ant-col-md-order-5{order:5}.ant-col-md-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-md-push-4{left:16.66666667%}.ant-col-md-pull-4{right:16.66666667%}.ant-col-md-offset-4{margin-left:16.66666667%}.ant-col-md-order-4{order:4}.ant-col-md-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-md-push-3{left:12.5%}.ant-col-md-pull-3{right:12.5%}.ant-col-md-offset-3{margin-left:12.5%}.ant-col-md-order-3{order:3}.ant-col-md-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-md-push-2{left:8.33333333%}.ant-col-md-pull-2{right:8.33333333%}.ant-col-md-offset-2{margin-left:8.33333333%}.ant-col-md-order-2{order:2}.ant-col-md-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-md-push-1{left:4.16666667%}.ant-col-md-pull-1{right:4.16666667%}.ant-col-md-offset-1{margin-left:4.16666667%}.ant-col-md-order-1{order:1}.ant-col-md-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-md-push-0{left:auto}.ant-col-md-pull-0{right:auto}.ant-col-md-offset-0{margin-left:0}.ant-col-md-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-md-push-0.ant-col-rtl{right:auto}.ant-col-md-pull-0.ant-col-rtl{left:auto}.ant-col-md-offset-0.ant-col-rtl{margin-right:0}.ant-col-md-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-md-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-md-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-md-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-md-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-md-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-md-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-md-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-md-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-md-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-md-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-md-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-md-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-md-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-md-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-md-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-md-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-md-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-md-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-md-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-md-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-md-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-md-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-md-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-md-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-md-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-md-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-md-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-md-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-md-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-md-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-md-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-md-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-md-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-md-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-md-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-md-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-md-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-md-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-md-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-md-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-md-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-md-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-md-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-md-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-md-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-md-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-md-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-md-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-md-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-md-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-md-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-md-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-md-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-md-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-md-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-md-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-md-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-md-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-md-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-md-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-md-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-md-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-md-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-md-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-md-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-md-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-md-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-md-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-md-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-md-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-md-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:992px){.ant-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-lg-push-24{left:100%}.ant-col-lg-pull-24{right:100%}.ant-col-lg-offset-24{margin-left:100%}.ant-col-lg-order-24{order:24}.ant-col-lg-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-lg-push-23{left:95.83333333%}.ant-col-lg-pull-23{right:95.83333333%}.ant-col-lg-offset-23{margin-left:95.83333333%}.ant-col-lg-order-23{order:23}.ant-col-lg-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-lg-push-22{left:91.66666667%}.ant-col-lg-pull-22{right:91.66666667%}.ant-col-lg-offset-22{margin-left:91.66666667%}.ant-col-lg-order-22{order:22}.ant-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-lg-push-21{left:87.5%}.ant-col-lg-pull-21{right:87.5%}.ant-col-lg-offset-21{margin-left:87.5%}.ant-col-lg-order-21{order:21}.ant-col-lg-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-lg-push-20{left:83.33333333%}.ant-col-lg-pull-20{right:83.33333333%}.ant-col-lg-offset-20{margin-left:83.33333333%}.ant-col-lg-order-20{order:20}.ant-col-lg-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-lg-push-19{left:79.16666667%}.ant-col-lg-pull-19{right:79.16666667%}.ant-col-lg-offset-19{margin-left:79.16666667%}.ant-col-lg-order-19{order:19}.ant-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-lg-push-18{left:75%}.ant-col-lg-pull-18{right:75%}.ant-col-lg-offset-18{margin-left:75%}.ant-col-lg-order-18{order:18}.ant-col-lg-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-lg-push-17{left:70.83333333%}.ant-col-lg-pull-17{right:70.83333333%}.ant-col-lg-offset-17{margin-left:70.83333333%}.ant-col-lg-order-17{order:17}.ant-col-lg-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-lg-push-16{left:66.66666667%}.ant-col-lg-pull-16{right:66.66666667%}.ant-col-lg-offset-16{margin-left:66.66666667%}.ant-col-lg-order-16{order:16}.ant-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-lg-push-15{left:62.5%}.ant-col-lg-pull-15{right:62.5%}.ant-col-lg-offset-15{margin-left:62.5%}.ant-col-lg-order-15{order:15}.ant-col-lg-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-lg-push-14{left:58.33333333%}.ant-col-lg-pull-14{right:58.33333333%}.ant-col-lg-offset-14{margin-left:58.33333333%}.ant-col-lg-order-14{order:14}.ant-col-lg-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-lg-push-13{left:54.16666667%}.ant-col-lg-pull-13{right:54.16666667%}.ant-col-lg-offset-13{margin-left:54.16666667%}.ant-col-lg-order-13{order:13}.ant-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-lg-push-12{left:50%}.ant-col-lg-pull-12{right:50%}.ant-col-lg-offset-12{margin-left:50%}.ant-col-lg-order-12{order:12}.ant-col-lg-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-lg-push-11{left:45.83333333%}.ant-col-lg-pull-11{right:45.83333333%}.ant-col-lg-offset-11{margin-left:45.83333333%}.ant-col-lg-order-11{order:11}.ant-col-lg-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-lg-push-10{left:41.66666667%}.ant-col-lg-pull-10{right:41.66666667%}.ant-col-lg-offset-10{margin-left:41.66666667%}.ant-col-lg-order-10{order:10}.ant-col-lg-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-lg-push-9{left:37.5%}.ant-col-lg-pull-9{right:37.5%}.ant-col-lg-offset-9{margin-left:37.5%}.ant-col-lg-order-9{order:9}.ant-col-lg-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-lg-push-8{left:33.33333333%}.ant-col-lg-pull-8{right:33.33333333%}.ant-col-lg-offset-8{margin-left:33.33333333%}.ant-col-lg-order-8{order:8}.ant-col-lg-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-lg-push-7{left:29.16666667%}.ant-col-lg-pull-7{right:29.16666667%}.ant-col-lg-offset-7{margin-left:29.16666667%}.ant-col-lg-order-7{order:7}.ant-col-lg-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-lg-push-6{left:25%}.ant-col-lg-pull-6{right:25%}.ant-col-lg-offset-6{margin-left:25%}.ant-col-lg-order-6{order:6}.ant-col-lg-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-lg-push-5{left:20.83333333%}.ant-col-lg-pull-5{right:20.83333333%}.ant-col-lg-offset-5{margin-left:20.83333333%}.ant-col-lg-order-5{order:5}.ant-col-lg-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-lg-push-4{left:16.66666667%}.ant-col-lg-pull-4{right:16.66666667%}.ant-col-lg-offset-4{margin-left:16.66666667%}.ant-col-lg-order-4{order:4}.ant-col-lg-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-lg-push-3{left:12.5%}.ant-col-lg-pull-3{right:12.5%}.ant-col-lg-offset-3{margin-left:12.5%}.ant-col-lg-order-3{order:3}.ant-col-lg-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-lg-push-2{left:8.33333333%}.ant-col-lg-pull-2{right:8.33333333%}.ant-col-lg-offset-2{margin-left:8.33333333%}.ant-col-lg-order-2{order:2}.ant-col-lg-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-lg-push-1{left:4.16666667%}.ant-col-lg-pull-1{right:4.16666667%}.ant-col-lg-offset-1{margin-left:4.16666667%}.ant-col-lg-order-1{order:1}.ant-col-lg-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-lg-push-0{left:auto}.ant-col-lg-pull-0{right:auto}.ant-col-lg-offset-0{margin-left:0}.ant-col-lg-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-lg-push-0.ant-col-rtl{right:auto}.ant-col-lg-pull-0.ant-col-rtl{left:auto}.ant-col-lg-offset-0.ant-col-rtl{margin-right:0}.ant-col-lg-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-lg-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-lg-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-lg-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-lg-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-lg-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-lg-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-lg-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-lg-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-lg-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-lg-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-lg-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-lg-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-lg-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-lg-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-lg-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-lg-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-lg-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-lg-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-lg-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-lg-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-lg-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-lg-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-lg-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-lg-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-lg-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-lg-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-lg-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-lg-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-lg-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-lg-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-lg-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-lg-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-lg-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-lg-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-lg-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-lg-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-lg-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-lg-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-lg-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-lg-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-lg-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-lg-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-lg-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-lg-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-lg-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-lg-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-lg-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-lg-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-lg-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-lg-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-lg-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-lg-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-lg-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-lg-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-lg-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-lg-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-lg-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-lg-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-lg-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-lg-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-lg-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-lg-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-lg-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-lg-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-lg-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-lg-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-lg-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-lg-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-lg-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-lg-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-lg-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:1200px){.ant-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xl-push-24{left:100%}.ant-col-xl-pull-24{right:100%}.ant-col-xl-offset-24{margin-left:100%}.ant-col-xl-order-24{order:24}.ant-col-xl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xl-push-23{left:95.83333333%}.ant-col-xl-pull-23{right:95.83333333%}.ant-col-xl-offset-23{margin-left:95.83333333%}.ant-col-xl-order-23{order:23}.ant-col-xl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xl-push-22{left:91.66666667%}.ant-col-xl-pull-22{right:91.66666667%}.ant-col-xl-offset-22{margin-left:91.66666667%}.ant-col-xl-order-22{order:22}.ant-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xl-push-21{left:87.5%}.ant-col-xl-pull-21{right:87.5%}.ant-col-xl-offset-21{margin-left:87.5%}.ant-col-xl-order-21{order:21}.ant-col-xl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xl-push-20{left:83.33333333%}.ant-col-xl-pull-20{right:83.33333333%}.ant-col-xl-offset-20{margin-left:83.33333333%}.ant-col-xl-order-20{order:20}.ant-col-xl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xl-push-19{left:79.16666667%}.ant-col-xl-pull-19{right:79.16666667%}.ant-col-xl-offset-19{margin-left:79.16666667%}.ant-col-xl-order-19{order:19}.ant-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xl-push-18{left:75%}.ant-col-xl-pull-18{right:75%}.ant-col-xl-offset-18{margin-left:75%}.ant-col-xl-order-18{order:18}.ant-col-xl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xl-push-17{left:70.83333333%}.ant-col-xl-pull-17{right:70.83333333%}.ant-col-xl-offset-17{margin-left:70.83333333%}.ant-col-xl-order-17{order:17}.ant-col-xl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xl-push-16{left:66.66666667%}.ant-col-xl-pull-16{right:66.66666667%}.ant-col-xl-offset-16{margin-left:66.66666667%}.ant-col-xl-order-16{order:16}.ant-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xl-push-15{left:62.5%}.ant-col-xl-pull-15{right:62.5%}.ant-col-xl-offset-15{margin-left:62.5%}.ant-col-xl-order-15{order:15}.ant-col-xl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xl-push-14{left:58.33333333%}.ant-col-xl-pull-14{right:58.33333333%}.ant-col-xl-offset-14{margin-left:58.33333333%}.ant-col-xl-order-14{order:14}.ant-col-xl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xl-push-13{left:54.16666667%}.ant-col-xl-pull-13{right:54.16666667%}.ant-col-xl-offset-13{margin-left:54.16666667%}.ant-col-xl-order-13{order:13}.ant-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xl-push-12{left:50%}.ant-col-xl-pull-12{right:50%}.ant-col-xl-offset-12{margin-left:50%}.ant-col-xl-order-12{order:12}.ant-col-xl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xl-push-11{left:45.83333333%}.ant-col-xl-pull-11{right:45.83333333%}.ant-col-xl-offset-11{margin-left:45.83333333%}.ant-col-xl-order-11{order:11}.ant-col-xl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xl-push-10{left:41.66666667%}.ant-col-xl-pull-10{right:41.66666667%}.ant-col-xl-offset-10{margin-left:41.66666667%}.ant-col-xl-order-10{order:10}.ant-col-xl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xl-push-9{left:37.5%}.ant-col-xl-pull-9{right:37.5%}.ant-col-xl-offset-9{margin-left:37.5%}.ant-col-xl-order-9{order:9}.ant-col-xl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xl-push-8{left:33.33333333%}.ant-col-xl-pull-8{right:33.33333333%}.ant-col-xl-offset-8{margin-left:33.33333333%}.ant-col-xl-order-8{order:8}.ant-col-xl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xl-push-7{left:29.16666667%}.ant-col-xl-pull-7{right:29.16666667%}.ant-col-xl-offset-7{margin-left:29.16666667%}.ant-col-xl-order-7{order:7}.ant-col-xl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xl-push-6{left:25%}.ant-col-xl-pull-6{right:25%}.ant-col-xl-offset-6{margin-left:25%}.ant-col-xl-order-6{order:6}.ant-col-xl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xl-push-5{left:20.83333333%}.ant-col-xl-pull-5{right:20.83333333%}.ant-col-xl-offset-5{margin-left:20.83333333%}.ant-col-xl-order-5{order:5}.ant-col-xl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xl-push-4{left:16.66666667%}.ant-col-xl-pull-4{right:16.66666667%}.ant-col-xl-offset-4{margin-left:16.66666667%}.ant-col-xl-order-4{order:4}.ant-col-xl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xl-push-3{left:12.5%}.ant-col-xl-pull-3{right:12.5%}.ant-col-xl-offset-3{margin-left:12.5%}.ant-col-xl-order-3{order:3}.ant-col-xl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xl-push-2{left:8.33333333%}.ant-col-xl-pull-2{right:8.33333333%}.ant-col-xl-offset-2{margin-left:8.33333333%}.ant-col-xl-order-2{order:2}.ant-col-xl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xl-push-1{left:4.16666667%}.ant-col-xl-pull-1{right:4.16666667%}.ant-col-xl-offset-1{margin-left:4.16666667%}.ant-col-xl-order-1{order:1}.ant-col-xl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xl-push-0{left:auto}.ant-col-xl-pull-0{right:auto}.ant-col-xl-offset-0{margin-left:0}.ant-col-xl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xl-push-0.ant-col-rtl{right:auto}.ant-col-xl-pull-0.ant-col-rtl{left:auto}.ant-col-xl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}@media (min-width:1600px){.ant-col-xxl-24{display:block;flex:0 0 100%;max-width:100%}.ant-col-xxl-push-24{left:100%}.ant-col-xxl-pull-24{right:100%}.ant-col-xxl-offset-24{margin-left:100%}.ant-col-xxl-order-24{order:24}.ant-col-xxl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.ant-col-xxl-push-23{left:95.83333333%}.ant-col-xxl-pull-23{right:95.83333333%}.ant-col-xxl-offset-23{margin-left:95.83333333%}.ant-col-xxl-order-23{order:23}.ant-col-xxl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.ant-col-xxl-push-22{left:91.66666667%}.ant-col-xxl-pull-22{right:91.66666667%}.ant-col-xxl-offset-22{margin-left:91.66666667%}.ant-col-xxl-order-22{order:22}.ant-col-xxl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.ant-col-xxl-push-21{left:87.5%}.ant-col-xxl-pull-21{right:87.5%}.ant-col-xxl-offset-21{margin-left:87.5%}.ant-col-xxl-order-21{order:21}.ant-col-xxl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.ant-col-xxl-push-20{left:83.33333333%}.ant-col-xxl-pull-20{right:83.33333333%}.ant-col-xxl-offset-20{margin-left:83.33333333%}.ant-col-xxl-order-20{order:20}.ant-col-xxl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.ant-col-xxl-push-19{left:79.16666667%}.ant-col-xxl-pull-19{right:79.16666667%}.ant-col-xxl-offset-19{margin-left:79.16666667%}.ant-col-xxl-order-19{order:19}.ant-col-xxl-18{display:block;flex:0 0 75%;max-width:75%}.ant-col-xxl-push-18{left:75%}.ant-col-xxl-pull-18{right:75%}.ant-col-xxl-offset-18{margin-left:75%}.ant-col-xxl-order-18{order:18}.ant-col-xxl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.ant-col-xxl-push-17{left:70.83333333%}.ant-col-xxl-pull-17{right:70.83333333%}.ant-col-xxl-offset-17{margin-left:70.83333333%}.ant-col-xxl-order-17{order:17}.ant-col-xxl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.ant-col-xxl-push-16{left:66.66666667%}.ant-col-xxl-pull-16{right:66.66666667%}.ant-col-xxl-offset-16{margin-left:66.66666667%}.ant-col-xxl-order-16{order:16}.ant-col-xxl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.ant-col-xxl-push-15{left:62.5%}.ant-col-xxl-pull-15{right:62.5%}.ant-col-xxl-offset-15{margin-left:62.5%}.ant-col-xxl-order-15{order:15}.ant-col-xxl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.ant-col-xxl-push-14{left:58.33333333%}.ant-col-xxl-pull-14{right:58.33333333%}.ant-col-xxl-offset-14{margin-left:58.33333333%}.ant-col-xxl-order-14{order:14}.ant-col-xxl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.ant-col-xxl-push-13{left:54.16666667%}.ant-col-xxl-pull-13{right:54.16666667%}.ant-col-xxl-offset-13{margin-left:54.16666667%}.ant-col-xxl-order-13{order:13}.ant-col-xxl-12{display:block;flex:0 0 50%;max-width:50%}.ant-col-xxl-push-12{left:50%}.ant-col-xxl-pull-12{right:50%}.ant-col-xxl-offset-12{margin-left:50%}.ant-col-xxl-order-12{order:12}.ant-col-xxl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.ant-col-xxl-push-11{left:45.83333333%}.ant-col-xxl-pull-11{right:45.83333333%}.ant-col-xxl-offset-11{margin-left:45.83333333%}.ant-col-xxl-order-11{order:11}.ant-col-xxl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.ant-col-xxl-push-10{left:41.66666667%}.ant-col-xxl-pull-10{right:41.66666667%}.ant-col-xxl-offset-10{margin-left:41.66666667%}.ant-col-xxl-order-10{order:10}.ant-col-xxl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.ant-col-xxl-push-9{left:37.5%}.ant-col-xxl-pull-9{right:37.5%}.ant-col-xxl-offset-9{margin-left:37.5%}.ant-col-xxl-order-9{order:9}.ant-col-xxl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.ant-col-xxl-push-8{left:33.33333333%}.ant-col-xxl-pull-8{right:33.33333333%}.ant-col-xxl-offset-8{margin-left:33.33333333%}.ant-col-xxl-order-8{order:8}.ant-col-xxl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.ant-col-xxl-push-7{left:29.16666667%}.ant-col-xxl-pull-7{right:29.16666667%}.ant-col-xxl-offset-7{margin-left:29.16666667%}.ant-col-xxl-order-7{order:7}.ant-col-xxl-6{display:block;flex:0 0 25%;max-width:25%}.ant-col-xxl-push-6{left:25%}.ant-col-xxl-pull-6{right:25%}.ant-col-xxl-offset-6{margin-left:25%}.ant-col-xxl-order-6{order:6}.ant-col-xxl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.ant-col-xxl-push-5{left:20.83333333%}.ant-col-xxl-pull-5{right:20.83333333%}.ant-col-xxl-offset-5{margin-left:20.83333333%}.ant-col-xxl-order-5{order:5}.ant-col-xxl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.ant-col-xxl-push-4{left:16.66666667%}.ant-col-xxl-pull-4{right:16.66666667%}.ant-col-xxl-offset-4{margin-left:16.66666667%}.ant-col-xxl-order-4{order:4}.ant-col-xxl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.ant-col-xxl-push-3{left:12.5%}.ant-col-xxl-pull-3{right:12.5%}.ant-col-xxl-offset-3{margin-left:12.5%}.ant-col-xxl-order-3{order:3}.ant-col-xxl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.ant-col-xxl-push-2{left:8.33333333%}.ant-col-xxl-pull-2{right:8.33333333%}.ant-col-xxl-offset-2{margin-left:8.33333333%}.ant-col-xxl-order-2{order:2}.ant-col-xxl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.ant-col-xxl-push-1{left:4.16666667%}.ant-col-xxl-pull-1{right:4.16666667%}.ant-col-xxl-offset-1{margin-left:4.16666667%}.ant-col-xxl-order-1{order:1}.ant-col-xxl-0{display:none}.ant-col-push-0{left:auto}.ant-col-pull-0{right:auto}.ant-col-xxl-push-0{left:auto}.ant-col-xxl-pull-0{right:auto}.ant-col-xxl-offset-0{margin-left:0}.ant-col-xxl-order-0{order:0}.ant-col-push-0.ant-col-rtl{right:auto}.ant-col-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-push-0.ant-col-rtl{right:auto}.ant-col-xxl-pull-0.ant-col-rtl{left:auto}.ant-col-xxl-offset-0.ant-col-rtl{margin-right:0}.ant-col-xxl-push-1.ant-col-rtl{right:4.16666667%;left:auto}.ant-col-xxl-pull-1.ant-col-rtl{right:auto;left:4.16666667%}.ant-col-xxl-offset-1.ant-col-rtl{margin-right:4.16666667%;margin-left:0}.ant-col-xxl-push-2.ant-col-rtl{right:8.33333333%;left:auto}.ant-col-xxl-pull-2.ant-col-rtl{right:auto;left:8.33333333%}.ant-col-xxl-offset-2.ant-col-rtl{margin-right:8.33333333%;margin-left:0}.ant-col-xxl-push-3.ant-col-rtl{right:12.5%;left:auto}.ant-col-xxl-pull-3.ant-col-rtl{right:auto;left:12.5%}.ant-col-xxl-offset-3.ant-col-rtl{margin-right:12.5%;margin-left:0}.ant-col-xxl-push-4.ant-col-rtl{right:16.66666667%;left:auto}.ant-col-xxl-pull-4.ant-col-rtl{right:auto;left:16.66666667%}.ant-col-xxl-offset-4.ant-col-rtl{margin-right:16.66666667%;margin-left:0}.ant-col-xxl-push-5.ant-col-rtl{right:20.83333333%;left:auto}.ant-col-xxl-pull-5.ant-col-rtl{right:auto;left:20.83333333%}.ant-col-xxl-offset-5.ant-col-rtl{margin-right:20.83333333%;margin-left:0}.ant-col-xxl-push-6.ant-col-rtl{right:25%;left:auto}.ant-col-xxl-pull-6.ant-col-rtl{right:auto;left:25%}.ant-col-xxl-offset-6.ant-col-rtl{margin-right:25%;margin-left:0}.ant-col-xxl-push-7.ant-col-rtl{right:29.16666667%;left:auto}.ant-col-xxl-pull-7.ant-col-rtl{right:auto;left:29.16666667%}.ant-col-xxl-offset-7.ant-col-rtl{margin-right:29.16666667%;margin-left:0}.ant-col-xxl-push-8.ant-col-rtl{right:33.33333333%;left:auto}.ant-col-xxl-pull-8.ant-col-rtl{right:auto;left:33.33333333%}.ant-col-xxl-offset-8.ant-col-rtl{margin-right:33.33333333%;margin-left:0}.ant-col-xxl-push-9.ant-col-rtl{right:37.5%;left:auto}.ant-col-xxl-pull-9.ant-col-rtl{right:auto;left:37.5%}.ant-col-xxl-offset-9.ant-col-rtl{margin-right:37.5%;margin-left:0}.ant-col-xxl-push-10.ant-col-rtl{right:41.66666667%;left:auto}.ant-col-xxl-pull-10.ant-col-rtl{right:auto;left:41.66666667%}.ant-col-xxl-offset-10.ant-col-rtl{margin-right:41.66666667%;margin-left:0}.ant-col-xxl-push-11.ant-col-rtl{right:45.83333333%;left:auto}.ant-col-xxl-pull-11.ant-col-rtl{right:auto;left:45.83333333%}.ant-col-xxl-offset-11.ant-col-rtl{margin-right:45.83333333%;margin-left:0}.ant-col-xxl-push-12.ant-col-rtl{right:50%;left:auto}.ant-col-xxl-pull-12.ant-col-rtl{right:auto;left:50%}.ant-col-xxl-offset-12.ant-col-rtl{margin-right:50%;margin-left:0}.ant-col-xxl-push-13.ant-col-rtl{right:54.16666667%;left:auto}.ant-col-xxl-pull-13.ant-col-rtl{right:auto;left:54.16666667%}.ant-col-xxl-offset-13.ant-col-rtl{margin-right:54.16666667%;margin-left:0}.ant-col-xxl-push-14.ant-col-rtl{right:58.33333333%;left:auto}.ant-col-xxl-pull-14.ant-col-rtl{right:auto;left:58.33333333%}.ant-col-xxl-offset-14.ant-col-rtl{margin-right:58.33333333%;margin-left:0}.ant-col-xxl-push-15.ant-col-rtl{right:62.5%;left:auto}.ant-col-xxl-pull-15.ant-col-rtl{right:auto;left:62.5%}.ant-col-xxl-offset-15.ant-col-rtl{margin-right:62.5%;margin-left:0}.ant-col-xxl-push-16.ant-col-rtl{right:66.66666667%;left:auto}.ant-col-xxl-pull-16.ant-col-rtl{right:auto;left:66.66666667%}.ant-col-xxl-offset-16.ant-col-rtl{margin-right:66.66666667%;margin-left:0}.ant-col-xxl-push-17.ant-col-rtl{right:70.83333333%;left:auto}.ant-col-xxl-pull-17.ant-col-rtl{right:auto;left:70.83333333%}.ant-col-xxl-offset-17.ant-col-rtl{margin-right:70.83333333%;margin-left:0}.ant-col-xxl-push-18.ant-col-rtl{right:75%;left:auto}.ant-col-xxl-pull-18.ant-col-rtl{right:auto;left:75%}.ant-col-xxl-offset-18.ant-col-rtl{margin-right:75%;margin-left:0}.ant-col-xxl-push-19.ant-col-rtl{right:79.16666667%;left:auto}.ant-col-xxl-pull-19.ant-col-rtl{right:auto;left:79.16666667%}.ant-col-xxl-offset-19.ant-col-rtl{margin-right:79.16666667%;margin-left:0}.ant-col-xxl-push-20.ant-col-rtl{right:83.33333333%;left:auto}.ant-col-xxl-pull-20.ant-col-rtl{right:auto;left:83.33333333%}.ant-col-xxl-offset-20.ant-col-rtl{margin-right:83.33333333%;margin-left:0}.ant-col-xxl-push-21.ant-col-rtl{right:87.5%;left:auto}.ant-col-xxl-pull-21.ant-col-rtl{right:auto;left:87.5%}.ant-col-xxl-offset-21.ant-col-rtl{margin-right:87.5%;margin-left:0}.ant-col-xxl-push-22.ant-col-rtl{right:91.66666667%;left:auto}.ant-col-xxl-pull-22.ant-col-rtl{right:auto;left:91.66666667%}.ant-col-xxl-offset-22.ant-col-rtl{margin-right:91.66666667%;margin-left:0}.ant-col-xxl-push-23.ant-col-rtl{right:95.83333333%;left:auto}.ant-col-xxl-pull-23.ant-col-rtl{right:auto;left:95.83333333%}.ant-col-xxl-offset-23.ant-col-rtl{margin-right:95.83333333%;margin-left:0}.ant-col-xxl-push-24.ant-col-rtl{right:100%;left:auto}.ant-col-xxl-pull-24.ant-col-rtl{right:auto;left:100%}.ant-col-xxl-offset-24.ant-col-rtl{margin-right:100%;margin-left:0}}.ant-row-rtl{direction:rtl}.ant-input-affix-wrapper{position:relative;display:inline-block;width:100%;min-width:0;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s;display:inline-flex}.ant-input-affix-wrapper::-moz-placeholder{opacity:1}.ant-input-affix-wrapper:-ms-input-placeholder{color:#bfbfbf}.ant-input-affix-wrapper::placeholder{color:#bfbfbf}.ant-input-affix-wrapper:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper:-ms-input-placeholder{text-overflow:ellipsis}.ant-input-affix-wrapper:placeholder-shown{text-overflow:ellipsis}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-input-affix-wrapper-focused,.ant-input-rtl .ant-input-affix-wrapper:focus{border-right-width:0;border-left-width:1px!important}.ant-input-affix-wrapper-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-affix-wrapper[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-affix-wrapper[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-affix-wrapper-borderless,.ant-input-affix-wrapper-borderless-disabled,.ant-input-affix-wrapper-borderless-focused,.ant-input-affix-wrapper-borderless:focus,.ant-input-affix-wrapper-borderless:hover,.ant-input-affix-wrapper-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-affix-wrapper{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-affix-wrapper-lg{padding:6px 11px;font-size:16px}.ant-input-affix-wrapper-sm{padding:1px 7px}.ant-input-affix-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper:hover{border-color:#7ebc59;border-right-width:1px!important;z-index:1}.ant-input-rtl .ant-input-affix-wrapper:hover{border-right-width:0;border-left-width:1px!important}.ant-input-search-with-button .ant-input-affix-wrapper:hover{z-index:0}.ant-input-affix-wrapper-focused,.ant-input-affix-wrapper:focus{z-index:1}.ant-input-affix-wrapper-disabled .ant-input[disabled]{background:transparent}.ant-input-affix-wrapper>input.ant-input{padding:0;border:none;outline:none}.ant-input-affix-wrapper>input.ant-input:focus{box-shadow:none}.ant-input-affix-wrapper:before{width:0;visibility:hidden;content:"\a0"}.ant-input-prefix,.ant-input-suffix{display:flex;flex:none;align-items:center}.ant-input-prefix{margin-right:4px}.ant-input-suffix{margin-left:4px}.ant-input-clear-icon{margin:0 4px;color:rgba(0,0,0,.25);font-size:12px;vertical-align:-1px;cursor:pointer;transition:color .3s}.ant-input-clear-icon:hover{color:rgba(0,0,0,.45)}.ant-input-clear-icon:active{color:rgba(0,0,0,.65)}.ant-input-clear-icon-hidden{visibility:hidden}.ant-input-clear-icon:last-child{margin-right:0}.ant-input-affix-wrapper-textarea-with-clear-btn{padding:0!important;border:0!important}.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon{position:absolute;top:8px;right:8px;z-index:1}.ant-input{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;width:100%;min-width:0;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s}.ant-input::-moz-placeholder{opacity:1}.ant-input:-ms-input-placeholder{color:#bfbfbf}.ant-input::placeholder{color:#bfbfbf}.ant-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-input:placeholder-shown{text-overflow:ellipsis}.ant-input:hover{border-color:#7ebc59;border-right-width:1px!important}.ant-input-rtl .ant-input:hover{border-right-width:0;border-left-width:1px!important}.ant-input-focused,.ant-input:focus{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-input-focused,.ant-input-rtl .ant-input:focus{border-right-width:0;border-left-width:1px!important}.ant-input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-borderless,.ant-input-borderless-disabled,.ant-input-borderless-focused,.ant-input-borderless:focus,.ant-input-borderless:hover,.ant-input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-lg{padding:6px 11px;font-size:16px}.ant-input-sm{padding:1px 7px}.ant-input-rtl{direction:rtl}.ant-input-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;display:table;width:100%;border-collapse:separate;border-spacing:0}.ant-input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0;text-align:inherit}.ant-input-group .ant-input:focus,.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-search-with-button .ant-input-group .ant-input:hover{z-index:0}.ant-input-group-addon{position:relative;padding:0 11px;color:rgba(0,0,0,.65);font-weight:400;font-size:14px;text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s}.ant-input-group-addon .ant-select{margin:-5px -11px}.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{background-color:inherit;border:1px solid transparent;box-shadow:none}.ant-input-group-addon .ant-select-focused .ant-select-selector,.ant-input-group-addon .ant-select-open .ant-select-selector{color:#7ebc59}.ant-input-group-addon:first-child,.ant-input-group-addon:first-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:first-child,.ant-input-group>.ant-input:first-child .ant-select .ant-select-selector{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group-addon:last-child,.ant-input-group-addon:last-child .ant-select .ant-select-selector,.ant-input-group>.ant-input:last-child,.ant-input-group>.ant-input:last-child .ant-select .ant-select-selector{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{padding:6px 11px;font-size:16px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:1px 7px}.ant-input-group-lg .ant-select-single .ant-select-selector{height:40px}.ant-input-group-sm .ant-select-single .ant-select-selector{height:24px}.ant-input-group .ant-input-affix-wrapper:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child){border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-input-group.ant-input-group-compact{display:block}.ant-input-group.ant-input-group-compact:before{display:table;content:""}.ant-input-group.ant-input-group-compact:after{display:table;clear:both;content:""}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child){border-right-width:1px}.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):focus,.ant-input-group.ant-input-group-compact>.ant-input:not(:first-child):not(:last-child):hover{z-index:1}.ant-input-group.ant-input-group-compact>*{display:inline-block;float:none;vertical-align:top;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-input-affix-wrapper,.ant-input-group.ant-input-group-compact>.ant-picker-range{display:inline-flex}.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:-1px;border-right-width:1px}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector{border-right-width:1px;border-radius:0}.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-input-group-wrapper .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:focus,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input:hover,.ant-input-group.ant-input-group-compact>.ant-select-focused,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-arrow,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:focus,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selector:hover{z-index:1}.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group.ant-input-group-compact>:last-child{border-right-width:1px;border-top-right-radius:4px;border-bottom-right-radius:4px}.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input{vertical-align:top}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper{margin-left:-1px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper+.ant-input-group-wrapper .ant-input-affix-wrapper,.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input-group-addon>.ant-input-search-button{border-radius:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:4px 0 0 4px}.ant-input-group-rtl .ant-input-group-addon:first-child,.ant-input-group>.ant-input-rtl:first-child{border-radius:0 4px 4px 0}.ant-input-group-rtl .ant-input-group-addon:first-child{border-right:1px solid #d9d9d9;border-left:0}.ant-input-group-rtl .ant-input-group-addon:last-child{border-right:0;border-left:1px solid #d9d9d9}.ant-input-group-rtl.ant-input-group-addon:last-child,.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child),.ant-input-group-rtl.ant-input-group>.ant-input:last-child{border-radius:4px 0 0 4px}.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child){border-radius:0 4px 4px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:not(:last-child){margin-right:0;margin-left:-1px;border-left-width:1px}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:first-child{border-radius:0 4px 4px 0}.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker-focused:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selector,.ant-input-group-rtl.ant-input-group.ant-input-group-compact>:last-child{border-left-width:1px;border-radius:4px 0 0 4px}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl+.ant-input-group-wrapper-rtl{margin-right:-1px;margin-left:0}.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search>.ant-input-group>.ant-input{border-radius:0 4px 4px 0}.ant-input-group-wrapper{display:inline-block;width:100%;text-align:start;vertical-align:top}.ant-input-password-icon{color:rgba(0,0,0,.45);cursor:pointer;transition:all .3s}.ant-input-password-icon:hover{color:rgba(0,0,0,.85)}.ant-input[type=color]{height:32px}.ant-input[type=color].ant-input-lg{height:40px}.ant-input[type=color].ant-input-sm{height:24px;padding-top:3px;padding-bottom:3px}.ant-input-textarea-show-count:after{display:block;color:rgba(0,0,0,.45);text-align:right;content:attr(data-count)}.ant-input-search .ant-input:focus,.ant-input-search .ant-input:hover{border-color:#7ebc59}.ant-input-search .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-left-color:#7ebc59}.ant-input-search .ant-input-affix-wrapper{border-radius:0}.ant-input-search .ant-input-lg{line-height:1.4998}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child{left:-1px;padding:0;border:0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button{padding-top:0;padding-bottom:0;border-radius:0 4px 4px 0}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary){color:rgba(0,0,0,.45)}.ant-input-search>.ant-input-group>.ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading:before{top:0;right:0;bottom:0;left:0}.ant-input-search-button{height:32px}.ant-input-search-button:focus,.ant-input-search-button:hover{z-index:1}.ant-input-search-large .ant-input-search-button{height:40px}.ant-input-search-small .ant-input-search-button{height:24px}.ant-input-group-rtl,.ant-input-group-wrapper-rtl{direction:rtl}.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl>input.ant-input{border:none;outline:none}.ant-input-affix-wrapper-rtl .ant-input-prefix{margin:0 0 0 4px}.ant-input-affix-wrapper-rtl .ant-input-suffix{margin:0 4px 0 0}.ant-input-textarea-rtl{direction:rtl}.ant-input-textarea-rtl.ant-input-textarea-show-count:after{text-align:left}.ant-input-affix-wrapper-rtl .ant-input-clear-icon:last-child{margin-right:4px;margin-left:0}.ant-input-affix-wrapper-rtl .ant-input-clear-icon{right:auto;left:8px}.ant-input-search-rtl{direction:rtl}.ant-input-search-rtl .ant-input:focus+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),.ant-input-search-rtl .ant-input:hover+.ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary){border-right-color:#7ebc59;border-left-color:#d9d9d9}.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper-focused,.ant-input-search-rtl>.ant-input-group>.ant-input-affix-wrapper:hover{border-right-color:#7ebc59}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon{right:-1px;left:auto}.ant-input-search-rtl>.ant-input-group>.ant-input-group-addon .ant-input-search-button{border-radius:4px 0 0 4px}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ant-input{height:32px}.ant-input-lg{height:40px}.ant-input-sm{height:24px}.ant-input-affix-wrapper>input.ant-input{height:auto}}textarea.nz-textarea-autosize-measuring{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only,.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only{width:32px;height:32px}.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-sm,.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-sm{width:24px;height:24px}.ant-input-search-rtl.ant-input-search-enter-button+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-lg,.ant-input-search-rtl.ant-input-search-enter-button input+.ant-input-group-addon .ant-input-search-button.ant-btn-icon-only.ant-btn-lg{width:40px;height:40px}.ant-input-number{box-sizing:border-box;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;width:100%;min-width:0;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;transition:all .3s;display:inline-block;width:90px;margin:0;padding:0;border:1px solid #d9d9d9;border-radius:4px}.ant-input-number::-moz-placeholder{opacity:1}.ant-input-number:-ms-input-placeholder{color:#bfbfbf}.ant-input-number::placeholder{color:#bfbfbf}.ant-input-number:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input-number:-ms-input-placeholder{text-overflow:ellipsis}.ant-input-number:placeholder-shown{text-overflow:ellipsis}.ant-input-rtl .ant-input-number:hover{border-right-width:0;border-left-width:1px!important}.ant-input-number-focused,.ant-input-number:focus{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-input-number-focused,.ant-input-rtl .ant-input-number:focus{border-right-width:0;border-left-width:1px!important}.ant-input-number[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-number[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-number-borderless,.ant-input-number-borderless-disabled,.ant-input-number-borderless-focused,.ant-input-number-borderless:focus,.ant-input-number-borderless:hover,.ant-input-number-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-input-number{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;transition:all .3s,height 0s}.ant-input-number-lg{padding:6px 11px}.ant-input-number-sm{padding:1px 7px}.ant-input-number-handler{position:relative;display:block;width:100%;height:50%;overflow:hidden;color:rgba(0,0,0,.45);font-weight:700;line-height:0;text-align:center;transition:all .1s linear}.ant-input-number-handler:active{background:#f4f4f4}.ant-input-number-handler:hover .ant-input-number-handler-down-inner,.ant-input-number-handler:hover .ant-input-number-handler-up-inner{color:#9dc97f}.ant-input-number-handler-down-inner,.ant-input-number-handler-up-inner{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;right:4px;width:12px;height:12px;color:rgba(0,0,0,.45);line-height:12px;transition:all .1s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-input-number-handler-down-inner>*,.ant-input-number-handler-up-inner>*{line-height:1}.ant-input-number-handler-down-inner svg,.ant-input-number-handler-up-inner svg{display:inline-block}.ant-input-number-handler-down-inner:before,.ant-input-number-handler-up-inner:before{display:none}.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon{display:block}.ant-input-number:hover{border-color:#7ebc59;border-right-width:1px!important}.ant-input-number:hover+.ant-form-item-children-icon{opacity:0;transition:opacity .24s linear .24s}.ant-input-number-focused{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-input-number-focused{border-right-width:0;border-left-width:1px!important}.ant-input-number-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-number-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-number-disabled .ant-input-number-input{cursor:not-allowed}.ant-input-number-disabled .ant-input-number-handler-wrap,.ant-input-number-readonly .ant-input-number-handler-wrap{display:none}.ant-input-number-input{width:100%;height:30px;padding:0 11px;text-align:left;background-color:transparent;border:0;border-radius:4px;outline:0;transition:all .3s linear;-moz-appearance:textfield!important}.ant-input-number-input::-moz-placeholder{opacity:1}.ant-input-number-input:-ms-input-placeholder{color:#bfbfbf}.ant-input-number-input::placeholder{color:#bfbfbf}.ant-input-number-input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-input-number-input:-ms-input-placeholder{text-overflow:ellipsis}.ant-input-number-input:placeholder-shown{text-overflow:ellipsis}.ant-input-number-input[type=number]::-webkit-inner-spin-button,.ant-input-number-input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.ant-input-number-lg{padding:0;font-size:16px}.ant-input-number-lg input{height:38px}.ant-input-number-sm{padding:0}.ant-input-number-sm input{height:22px;padding:0 7px}.ant-input-number-handler-wrap{position:absolute;top:0;right:0;width:22px;height:100%;background:#fff;border-left:1px solid #d9d9d9;border-radius:0 4px 4px 0;opacity:0;transition:opacity .24s linear .1s}.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner,.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner{min-width:auto;margin-right:0;font-size:7px}.ant-input-number-handler-wrap:hover .ant-input-number-handler{height:40%}.ant-input-number:hover .ant-input-number-handler-wrap{opacity:1}.ant-input-number-handler-up{border-top-right-radius:4px;cursor:pointer}.ant-input-number-handler-up-inner{top:50%;margin-top:-5px;text-align:center}.ant-input-number-handler-up:hover{height:60%!important}.ant-input-number-handler-down{top:0;border-top:1px solid #d9d9d9;border-bottom-right-radius:4px;cursor:pointer}.ant-input-number-handler-down-inner{top:50%;text-align:center;transform:translateY(-50%)}.ant-input-number-handler-down:hover{height:60%!important}.ant-input-number-handler-down-disabled,.ant-input-number-handler-up-disabled{cursor:not-allowed}.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner,.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner{color:rgba(0,0,0,.25)}.ant-input-number-rtl{direction:rtl}.ant-input-number-rtl .ant-input-number-handler-wrap{right:auto;left:0;border-right:1px solid #d9d9d9;border-left:0;border-radius:4px 0 0 4px}.ant-input-number-rtl .ant-input-number-input{direction:ltr;text-align:right}.ant-layout{display:flex;flex:auto;flex-direction:column;min-height:0;background:#f0f2f5}.ant-layout,.ant-layout *{box-sizing:border-box}.ant-layout.ant-layout-has-sider{flex-direction:row}.ant-layout.ant-layout-has-sider>.ant-layout,.ant-layout.ant-layout-has-sider>.ant-layout-content{width:0}.ant-layout-footer,.ant-layout-header{flex:0 0 auto}.ant-layout-header{height:60px;padding:0;color:rgba(0,0,0,.65);line-height:60px;background:#001529}.ant-layout-footer{padding:24px 50px;color:rgba(0,0,0,.65);font-size:14px;background:#f0f2f5}.ant-layout-content{flex:auto;min-height:0}.ant-layout-sider{position:relative;min-width:0;background:#001529;transition:all .2s}.ant-layout-sider-children{height:100%;margin-top:-.1px;padding-top:.1px}.ant-layout-sider-has-trigger{padding-bottom:48px}.ant-layout-sider-right{order:1}.ant-layout-sider-trigger{position:fixed;bottom:0;z-index:1;height:48px;color:#fff;line-height:48px;text-align:center;background:#002140;cursor:pointer;transition:all .2s}.ant-layout-sider-zero-width>*{overflow:hidden}.ant-layout-sider-zero-width-trigger{position:absolute;top:60px;right:-36px;z-index:1;width:36px;height:42px;color:#fff;font-size:18px;line-height:42px;text-align:center;background:#001529;border-radius:0 4px 4px 0;cursor:pointer;transition:background .3s ease}.ant-layout-sider-zero-width-trigger:after{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;transition:all .3s;content:""}.ant-layout-sider-zero-width-trigger:hover:after{background:hsla(0,0%,100%,.1)}.ant-layout-sider-zero-width-trigger-right{left:-36px;border-radius:4px 0 0 4px}.ant-layout-sider-light{background:#fff}.ant-layout-sider-light .ant-layout-sider-trigger,.ant-layout-sider-light .ant-layout-sider-zero-width-trigger{color:rgba(0,0,0,.65);background:#fff}.ant-layout-rtl{direction:rtl}nz-content,nz-footer,nz-header{display:block}.ant-form-item .ant-mentions,.ant-form-item textarea.ant-input{height:auto}.ant-form-item .ant-upload{background:transparent}.ant-form-item .ant-upload.ant-upload-drag{background:#fafafa}.ant-form-item input[type=checkbox],.ant-form-item input[type=radio]{width:14px;height:14px}.ant-form-item .ant-checkbox-inline,.ant-form-item .ant-radio-inline{display:inline-block;margin-left:8px;font-weight:400;vertical-align:middle;cursor:pointer}.ant-form-item .ant-checkbox-inline:first-child,.ant-form-item .ant-radio-inline:first-child{margin-left:0}.ant-form-item .ant-checkbox-vertical,.ant-form-item .ant-radio-vertical{display:block}.ant-form-item .ant-checkbox-vertical+.ant-checkbox-vertical,.ant-form-item .ant-radio-vertical+.ant-radio-vertical{margin-left:0}.ant-form-item .ant-input-number+.ant-form-text{margin-left:8px}.ant-form-item .ant-input-number-handler-wrap{z-index:2}.ant-form-item .ant-cascader-picker,.ant-form-item .ant-select{width:100%}.ant-form-item .ant-input-group .ant-cascader-picker,.ant-form-item .ant-input-group .ant-select{width:auto}.ant-form-inline{display:flex;flex-wrap:wrap}.ant-form-inline .ant-form-item{flex:none;flex-wrap:nowrap;margin-right:16px;margin-bottom:0}.ant-form-inline .ant-form-item-with-help{margin-bottom:24px}.ant-form-inline .ant-form-item>.ant-form-item-control,.ant-form-inline .ant-form-item>.ant-form-item-label{display:inline-block;vertical-align:top}.ant-form-inline .ant-form-item>.ant-form-item-label{flex:none}.ant-form-inline .ant-form-item .ant-form-item-has-feedback,.ant-form-inline .ant-form-item .ant-form-text{display:inline-block}.ant-form-horizontal .ant-form-item-label{flex-grow:0}.ant-form-horizontal .ant-form-item-control{flex:1 1 0}.ant-form-vertical .ant-form-item{flex-direction:column}.ant-form-vertical .ant-form-item-label>label{height:auto}.ant-col-24.ant-form-item-label,.ant-col-xl-24.ant-form-item-label,.ant-form-vertical .ant-form-item-label{padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-24.ant-form-item-label>label,.ant-col-xl-24.ant-form-item-label>label,.ant-form-vertical .ant-form-item-label>label{margin:0}.ant-col-24.ant-form-item-label>label:after,.ant-col-xl-24.ant-form-item-label>label:after,.ant-form-vertical .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-24.ant-form-item-label,.ant-form-rtl.ant-col-xl-24.ant-form-item-label,.ant-form-rtl.ant-form-vertical .ant-form-item-label{text-align:right}@media (max-width:575px){.ant-form-item .ant-form-item-label{padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-form-item .ant-form-item-label>label{margin:0}.ant-form-item .ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-form-item .ant-form-item-label{text-align:right}.ant-form .ant-form-item{flex-wrap:wrap}.ant-form .ant-form-item .ant-form-item-control,.ant-form .ant-form-item .ant-form-item-label{flex:0 0 100%;max-width:100%}.ant-col-xs-24.ant-form-item-label{padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-xs-24.ant-form-item-label>label{margin:0}.ant-col-xs-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xs-24.ant-form-item-label{text-align:right}}@media (max-width:767px){.ant-col-sm-24.ant-form-item-label{padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-sm-24.ant-form-item-label>label{margin:0}.ant-col-sm-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-sm-24.ant-form-item-label{text-align:right}}@media (max-width:991px){.ant-col-md-24.ant-form-item-label{padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-md-24.ant-form-item-label>label{margin:0}.ant-col-md-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-md-24.ant-form-item-label{text-align:right}}@media (max-width:1199px){.ant-col-lg-24.ant-form-item-label{padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-lg-24.ant-form-item-label>label{margin:0}.ant-col-lg-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-lg-24.ant-form-item-label{text-align:right}}@media (max-width:1599px){.ant-col-xl-24.ant-form-item-label{padding:0 0 8px;line-height:1.5;white-space:normal;text-align:left}.ant-col-xl-24.ant-form-item-label>label{margin:0}.ant-col-xl-24.ant-form-item-label>label:after{display:none}.ant-form-rtl.ant-col-xl-24.ant-form-item-label{text-align:right}}.ant-form-item-explain.ant-form-item-explain-error{color:#f5222d}.ant-form-item-explain.ant-form-item-explain-warning{color:#faad14}.ant-form-item-has-feedback .ant-input{padding-right:24px}.ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:18px}.ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{right:28px}.ant-form-item-has-feedback .ant-switch{margin:2px 0 4px}.ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-item-has-feedback>.ant-select .ant-select-clear{right:32px}.ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-right:42px}.ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-right:19px}.ant-form-item-has-feedback .ant-cascader-picker-clear{right:32px}.ant-form-item-has-feedback .ant-picker,.ant-form-item-has-feedback .ant-picker-large{padding-right:29.2px}.ant-form-item-has-feedback .ant-picker-small{padding-right:25.2px}.ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{position:absolute;top:50%;right:0;z-index:1;width:32px;height:20px;margin-top:-10px;font-size:14px;line-height:20px;text-align:center;visibility:visible;-webkit-animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);animation:zoomIn .3s cubic-bezier(.12,.4,.29,1.46);pointer-events:none}.ant-form-item-has-success.ant-form-item-has-feedback .ant-form-item-children-icon{color:#52c41a;-webkit-animation-name:diffZoomIn1!important;animation-name:diffZoomIn1!important}.ant-form-item-has-warning .ant-form-item-split{color:#faad14}.ant-form-item-has-warning .ant-input,.ant-form-item-has-warning .ant-input-affix-wrapper,.ant-form-item-has-warning .ant-input-affix-wrapper:hover,.ant-form-item-has-warning .ant-input:hover{background-color:#fff;border-color:#faad14}.ant-form-item-has-warning .ant-input-affix-wrapper-focused,.ant-form-item-has-warning .ant-input-affix-wrapper:focus,.ant-form-item-has-warning .ant-input-focused,.ant-form-item-has-warning .ant-input:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(250,173,20,.2)}.ant-form-item-has-warning .ant-input-affix-wrapper-disabled,.ant-form-item-has-warning .ant-input-disabled{background-color:#f5f5f5;border-color:#d9d9d9}.ant-form-item-has-warning .ant-input-affix-wrapper-disabled input:focus{box-shadow:none!important}.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(250,173,20,.2)}.ant-form-item-has-warning .ant-input-prefix{color:#faad14}.ant-form-item-has-warning .ant-input-group-addon{color:#faad14;border-color:#faad14}.ant-form-item-has-warning .has-feedback{color:#faad14}.ant-form-item-has-warning.ant-form-item-has-feedback .ant-form-item-children-icon{color:#faad14;-webkit-animation-name:diffZoomIn3!important;animation-name:diffZoomIn3!important}.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#faad14!important}.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector,.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(250,173,20,.2)}.ant-form-item-has-warning .ant-input-number,.ant-form-item-has-warning .ant-picker{background-color:#fff;border-color:#faad14}.ant-form-item-has-warning .ant-input-number-focused,.ant-form-item-has-warning .ant-input-number:focus,.ant-form-item-has-warning .ant-picker-focused,.ant-form-item-has-warning .ant-picker:focus{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(250,173,20,.2)}.ant-form-item-has-warning .ant-input-number:not([disabled]):hover,.ant-form-item-has-warning .ant-picker:not([disabled]):hover{background-color:#fff;border-color:#faad14}.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input{border-color:#ffc53d;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(250,173,20,.2)}.ant-form-item-has-error .ant-form-item-split{color:#f5222d}.ant-form-item-has-error .ant-input,.ant-form-item-has-error .ant-input-affix-wrapper,.ant-form-item-has-error .ant-input-affix-wrapper:hover,.ant-form-item-has-error .ant-input:hover{background-color:#fff;border-color:#f5222d}.ant-form-item-has-error .ant-input-affix-wrapper-focused,.ant-form-item-has-error .ant-input-affix-wrapper:focus,.ant-form-item-has-error .ant-input-focused,.ant-form-item-has-error .ant-input:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(245,34,45,.2)}.ant-form-item-has-error .ant-input-affix-wrapper-disabled,.ant-form-item-has-error .ant-input-disabled{background-color:#f5f5f5;border-color:#d9d9d9}.ant-form-item-has-error .ant-input-affix-wrapper-disabled input:focus{box-shadow:none!important}.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input{border-color:#ff4d4f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(245,34,45,.2)}.ant-form-item-has-error .ant-input-prefix{color:#f5222d}.ant-form-item-has-error .ant-input-group-addon{color:#f5222d;border-color:#f5222d}.ant-form-item-has-error .has-feedback{color:#f5222d}.ant-form-item-has-error.ant-form-item-has-feedback .ant-form-item-children-icon{color:#f5222d;-webkit-animation-name:diffZoomIn2!important;animation-name:diffZoomIn2!important}.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector{background-color:#fff;border-color:#f5222d!important}.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector,.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector{border-color:#ff4d4f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(245,34,45,.2)}.ant-form-item-has-error .ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{border:0}.ant-form-item-has-error .ant-select.ant-select-auto-complete .ant-input:focus{border-color:#f5222d}.ant-form-item-has-error .ant-input-number,.ant-form-item-has-error .ant-picker{background-color:#fff;border-color:#f5222d}.ant-form-item-has-error .ant-input-number-focused,.ant-form-item-has-error .ant-input-number:focus,.ant-form-item-has-error .ant-picker-focused,.ant-form-item-has-error .ant-picker:focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(245,34,45,.2)}.ant-form-item-has-error .ant-input-number:not([disabled]):hover,.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor,.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover,.ant-form-item-has-error .ant-picker:not([disabled]):hover{background-color:#fff;border-color:#f5222d}.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input,.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor,.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus{border-color:#ff4d4f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(245,34,45,.2)}.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input{background-color:#fff}.ant-form-item-has-error .ant-transfer-list{border-color:#f5222d}.ant-form-item-has-error .ant-transfer-list-search:not([disabled]){border-color:#d9d9d9}.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover{border-color:#7ebc59;border-right-width:1px!important}.ant-input-rtl .ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover{border-right-width:0;border-left-width:1px!important}.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):focus{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-form-item-has-error .ant-transfer-list-search:not([disabled]):focus{border-right-width:0;border-left-width:1px!important}.ant-form-item-has-error .ant-radio-button-wrapper{border-color:#f5222d!important}.ant-form-item-has-error .ant-radio-button-wrapper:not(:first-child):before{background-color:#f5222d}.ant-form-item-is-validating.ant-form-item-has-feedback .ant-form-item-children-icon{display:inline-block;color:#7ebc59}.ant-form{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum"}.ant-form legend{display:block;width:100%;margin-bottom:20px;padding:0;color:rgba(0,0,0,.45);font-size:16px;line-height:inherit;border:0;border-bottom:1px solid #d9d9d9}.ant-form label{font-size:14px}.ant-form input[type=search]{box-sizing:border-box}.ant-form input[type=checkbox],.ant-form input[type=radio]{line-height:normal}.ant-form input[type=file]{display:block}.ant-form input[type=range]{display:block;width:100%}.ant-form select[multiple],.ant-form select[size]{height:auto}.ant-form input[type=checkbox]:focus,.ant-form input[type=file]:focus,.ant-form input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.ant-form output{display:block;padding-top:15px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5}.ant-form .ant-form-text{display:inline-block;padding-right:8px}.ant-form-small .ant-form-item-label>label{height:24px}.ant-form-small .ant-form-item-control-input{min-height:24px}.ant-form-large .ant-form-item-label>label{height:40px}.ant-form-large .ant-form-item-control-input{min-height:40px}.ant-form-item{box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";margin:0 0 24px;vertical-align:top}.ant-form-item-with-help{margin-bottom:0}.ant-form-item-hidden,.ant-form-item-hidden.ant-row{display:none}.ant-form-item-label{display:inline-block;flex-grow:0;overflow:hidden;white-space:nowrap;text-align:right;vertical-align:middle}.ant-form-item-label-left{text-align:left}.ant-form-item-label>label{position:relative;display:inline-flex;align-items:center;height:32px;color:rgba(0,0,0,.85);font-size:14px}.ant-form-item-label>label>.anticon{font-size:14px;vertical-align:top}.ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:inline-block;margin-right:4px;color:#f5222d;font-size:14px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.ant-form-hide-required-mark .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before{display:none}.ant-form-item-label>label .ant-form-item-optional{display:inline-block;margin-left:4px;color:rgba(0,0,0,.45)}.ant-form-hide-required-mark .ant-form-item-label>label .ant-form-item-optional{display:none}.ant-form-item-label>label .ant-form-item-tooltip{-ms-writing-mode:lr-tb;writing-mode:horizontal-tb;-webkit-margin-start:4px;margin-inline-start:4px;color:rgba(0,0,0,.45)}.ant-form-item-label>label:after{content:":";position:relative;top:-.5px;margin:0 8px 0 2px}.ant-form-item-label>label.ant-form-item-no-colon:after{content:" "}.ant-form-item-control{display:flex;flex-direction:column;flex-grow:1}.ant-form-item-control:first-child:not([class^=ant-col-]):not([class*=" ant-col-"]){width:100%}.ant-form-item-control-input{position:relative;display:flex;align-items:center;min-height:32px}.ant-form-item-control-input-content{flex:auto;max-width:100%}.ant-form-item-explain,.ant-form-item-extra{clear:both;min-height:24px;padding-top:1px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;transition:color .3s cubic-bezier(.215,.61,.355,1)}.ant-form-item .ant-input-textarea-show-count:after{position:absolute;bottom:-22px;width:100%}.show-help-appear,.show-help-enter,.show-help-leave{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.show-help-appear.show-help-appear-active,.show-help-enter.show-help-enter-active{-webkit-animation-name:antShowHelpIn;animation-name:antShowHelpIn;-webkit-animation-play-state:running;animation-play-state:running}.show-help-leave.show-help-leave-active{-webkit-animation-name:antShowHelpOut;animation-name:antShowHelpOut;-webkit-animation-play-state:running;animation-play-state:running;pointer-events:none}.show-help-appear,.show-help-enter{opacity:0}.show-help-appear,.show-help-enter,.show-help-leave{-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1)}@-webkit-keyframes antShowHelpIn{0%{transform:translateY(-5px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes antShowHelpIn{0%{transform:translateY(-5px);opacity:0}to{transform:translateY(0);opacity:1}}@-webkit-keyframes antShowHelpOut{to{transform:translateY(-5px);opacity:0}}@keyframes antShowHelpOut{to{transform:translateY(-5px);opacity:0}}@-webkit-keyframes diffZoomIn1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes diffZoomIn1{0%{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes diffZoomIn2{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes diffZoomIn2{0%{transform:scale(0)}to{transform:scale(1)}}@-webkit-keyframes diffZoomIn3{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes diffZoomIn3{0%{transform:scale(0)}to{transform:scale(1)}}.ant-form-rtl{direction:rtl}.ant-form-rtl .ant-form-item-label{text-align:left}.ant-form-rtl .ant-form-item-label>label.ant-form-item-required:before{margin-right:0;margin-left:4px}.ant-form-rtl .ant-form-item-label>label:after{margin:0 2px 0 8px}.ant-form-rtl .ant-form-item-label>label .ant-form-item-optional{margin-right:4px;margin-left:0}.ant-col-rtl .ant-form-item-control:first-child{width:100%}.ant-form-rtl .ant-form-item-has-feedback .ant-input{padding-right:11px;padding-left:24px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix{padding-right:11px;padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input{padding:0}.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix{right:auto;left:28px}.ant-form-rtl .ant-form-item-has-feedback .ant-input-number{padding-left:18px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-clear,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-arrow,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon)>.ant-select .ant-select-selection-selected-value,.ant-form-rtl .ant-form-item-has-feedback>.ant-select .ant-select-selection-selected-value{padding-right:0;padding-left:42px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow{margin-right:0;margin-left:19px}.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear{right:auto;left:32px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker,.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large{padding-right:11px;padding-left:29.2px}.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small{padding-right:7px;padding-left:25.2px}.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon{right:auto;left:0}.ant-form-rtl.ant-form-inline .ant-form-item{margin-right:0;margin-left:16px}.ant-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative}.ant-list *{outline:none}.ant-list-pagination{margin-top:24px;text-align:right}.ant-list-pagination .ant-pagination-options{text-align:left}.ant-list-more{margin-top:12px;text-align:center}.ant-list-more button{padding-right:32px;padding-left:32px}.ant-list-spin{min-height:40px;text-align:center}.ant-list-empty-text{padding:16px;color:rgba(0,0,0,.25);font-size:14px;text-align:center}.ant-list-items{margin:0;padding:0;list-style:none}.ant-list-item{display:flex;align-items:center;justify-content:space-between;padding:12px 0;color:rgba(0,0,0,.65)}.ant-list-item-meta{display:flex;flex:1;align-items:flex-start;max-width:100%}.ant-list-item-meta-avatar{margin-right:16px}.ant-list-item-meta-content{flex:1 0;width:0;color:rgba(0,0,0,.65)}.ant-list-item-meta-title{margin-bottom:4px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5}.ant-list-item-meta-title>a{color:rgba(0,0,0,.65);transition:all .3s}.ant-list-item-meta-title>a:hover{color:#7ebc59}.ant-list-item-meta-description{color:rgba(0,0,0,.45);font-size:14px;line-height:1.5}.ant-list-item-action{flex:0 0 auto;margin-left:48px;padding:0;font-size:0;list-style:none}.ant-list-item-action>li{position:relative;display:inline-block;padding:0 8px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;text-align:center}.ant-list-item-action>li:first-child{padding-left:0}.ant-list-item-action-split{position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background-color:#e8e8e8}.ant-list-footer,.ant-list-header{background:transparent}.ant-list-footer,.ant-list-header{padding-top:12px;padding-bottom:12px}.ant-list-empty{padding:16px 0;color:rgba(0,0,0,.45);font-size:12px;text-align:center}.ant-list-split .ant-list-item{border-bottom:1px solid #e8e8e8}.ant-list-split .ant-list-item:last-child{border-bottom:none}.ant-list-split .ant-list-header{border-bottom:1px solid #e8e8e8}.ant-list-split.ant-list-empty .ant-list-footer{border-top:1px solid #e8e8e8}.ant-list-loading .ant-list-spin-nested-loading{min-height:32px}.ant-list-split.ant-list-something-after-last-item .ant-spin-container>.ant-list-items>.ant-list-item:last-child{border-bottom:1px solid #e8e8e8}.ant-list-lg .ant-list-item{padding:16px 24px}.ant-list-sm .ant-list-item{padding:8px 16px}.ant-list-vertical .ant-list-item{align-items:normal}.ant-list-vertical .ant-list-item-main{display:block;flex:1}.ant-list-vertical .ant-list-item-extra{margin-left:40px}.ant-list-vertical .ant-list-item-meta{margin-bottom:16px}.ant-list-vertical .ant-list-item-meta-title{margin-bottom:12px;color:rgba(0,0,0,.85);font-size:16px;line-height:24px}.ant-list-vertical .ant-list-item-action{margin-top:16px;margin-left:auto}.ant-list-vertical .ant-list-item-action>li{padding:0 16px}.ant-list-vertical .ant-list-item-action>li:first-child{padding-left:0}.ant-list-grid .ant-col>.ant-list-item{display:block;max-width:100%;margin-bottom:16px;padding-top:0;padding-bottom:0;border-bottom:none}.ant-list-item-no-flex{display:block}.ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:right}.ant-list-bordered{border:1px solid #d9d9d9;border-radius:4px}.ant-list-bordered .ant-list-footer,.ant-list-bordered .ant-list-header,.ant-list-bordered .ant-list-item{padding-right:24px;padding-left:24px}.ant-list-bordered .ant-list-pagination{margin:16px 24px}.ant-list-bordered.ant-list-sm .ant-list-footer,.ant-list-bordered.ant-list-sm .ant-list-header,.ant-list-bordered.ant-list-sm .ant-list-item{padding:8px 16px}.ant-list-bordered.ant-list-lg .ant-list-footer,.ant-list-bordered.ant-list-lg .ant-list-header,.ant-list-bordered.ant-list-lg .ant-list-item{padding:16px 24px}@media screen and (max-width:768px){.ant-list-item-action,.ant-list-vertical .ant-list-item-extra{margin-left:24px}}@media screen and (max-width:576px){.ant-list-item{flex-wrap:wrap}.ant-list-item-action{margin-left:12px}.ant-list-vertical .ant-list-item{flex-wrap:wrap-reverse}.ant-list-vertical .ant-list-item-main{min-width:220px}.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}.ant-list-rtl{direction:rtl;text-align:right}.ant-list-rtl .ReactVirtualized__List .ant-list-item{direction:rtl}.ant-list-rtl .ant-list-pagination{text-align:left}.ant-list-rtl .ant-list-item-meta-avatar{margin-right:0;margin-left:16px}.ant-list-rtl .ant-list-item-action{margin-right:48px;margin-left:0}.ant-list.ant-list-rtl .ant-list-item-action>li:first-child{padding-right:0;padding-left:16px}.ant-list-rtl .ant-list-item-action-split{right:auto;left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin-right:40px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-action{margin-right:auto}.ant-list-rtl .ant-list-vertical .ant-list-item-action>li:first-child{padding-right:0;padding-left:16px}.ant-list-rtl .ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action{float:left}@media screen and (max-width:768px){.ant-list-rtl .ant-list-item-action,.ant-list-rtl .ant-list-vertical .ant-list-item-extra{margin-right:24px;margin-left:0}}@media screen and (max-width:576px){.ant-list-rtl .ant-list-item-action{margin-right:22px;margin-left:0}.ant-list-rtl.ant-list-vertical .ant-list-item-extra{margin:auto auto 16px}}nz-list,nz-list-empty,nz-list-footer,nz-list-header,nz-list-item-extra,nz-list-pagination,nz-list nz-spin{display:block}.ant-menu-item-danger.ant-menu-item,.ant-menu-item-danger.ant-menu-item-active,.ant-menu-item-danger.ant-menu-item:hover{color:#f5222d}.ant-menu-item-danger.ant-menu-item:active{background:#fff1f0}.ant-menu-item-danger.ant-menu-item-selected,.ant-menu-item-danger.ant-menu-item-selected>a,.ant-menu-item-danger.ant-menu-item-selected>a:hover{color:#f5222d}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{background-color:#fff1f0}.ant-menu-inline .ant-menu-item-danger.ant-menu-item:after{border-right-color:#f5222d}.ant-menu-dark .ant-menu-item-danger.ant-menu-item,.ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover,.ant-menu-dark .ant-menu-item-danger.ant-menu-item>a{color:#f5222d}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected{color:#fff;background-color:#f5222d}.ant-menu{box-sizing:border-box;font-variant:tabular-nums;line-height:1.5;font-feature-settings:"tnum";margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;line-height:0;text-align:left;list-style:none;background:#fff;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.15);transition:background .3s,width .3s cubic-bezier(.2,0,0,1) 0s}.ant-menu:after,.ant-menu:before{display:table;content:""}.ant-menu:after{clear:both}.ant-menu ol,.ant-menu ul{margin:0;padding:0;list-style:none}.ant-menu-hidden{display:none}.ant-menu-item-group-title{height:1.5;padding:8px 16px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;transition:all .3s}.ant-menu-horizontal .ant-menu-submenu{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu,.ant-menu-submenu-inline{transition:border-color .3s cubic-bezier(.645,.045,.355,1),background .3s cubic-bezier(.645,.045,.355,1),padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-selected{color:#7ebc59}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#f5fced}.ant-menu-submenu .ant-menu-sub{cursor:auto;transition:background .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-item a{color:rgba(0,0,0,.65)}.ant-menu-item a:hover{color:#7ebc59}.ant-menu-item a:before{position:absolute;top:0;right:0;bottom:0;left:0;background-color:transparent;content:""}.ant-menu-item>.ant-badge a{color:rgba(0,0,0,.65)}.ant-menu-item>.ant-badge a:hover{color:#7ebc59}.ant-menu-item-divider{height:1px;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-menu-item-active,.ant-menu-item:hover,.ant-menu-submenu-active,.ant-menu-submenu-title:hover,.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{color:#7ebc59}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:transparent}.ant-menu-item-selected,.ant-menu-item-selected a,.ant-menu-item-selected a:hover{color:#7ebc59}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#f5fced}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #e8e8e8}.ant-menu-vertical-right{border-left:1px solid #e8e8e8}.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{min-width:160px;max-height:calc(100vh - 100px);padding:0;overflow:hidden;border-right:0}.ant-menu-vertical-left.ant-menu-sub:not([class*=-active]),.ant-menu-vertical-right.ant-menu-sub:not([class*=-active]),.ant-menu-vertical.ant-menu-sub:not([class*=-active]){overflow-x:hidden;overflow-y:auto}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item,.ant-menu-vertical.ant-menu-sub .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub{min-width:114px}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu-title{transition:border-color .3s,background .3s}.ant-menu-item,.ant-menu-submenu-title{position:relative;display:block;margin:0;padding:0 20px;white-space:nowrap;cursor:pointer;transition:border-color .3s,background .3s,padding .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-item .ant-menu-item-icon,.ant-menu-item .anticon,.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-submenu-title .anticon{min-width:14px;margin-right:10px;font-size:14px;transition:font-size .15s cubic-bezier(.215,.61,.355,1),margin .3s cubic-bezier(.645,.045,.355,1),color .3s}.ant-menu-item .ant-menu-item-icon+span,.ant-menu-item .anticon+span,.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu-submenu-title .anticon+span{opacity:1;transition:opacity .3s cubic-bezier(.645,.045,.355,1),width .3s cubic-bezier(.645,.045,.355,1),color .3s}.ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-right:0}.ant-menu>.ant-menu-item-divider{height:1px;margin:1px 0;padding:0;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-menu-submenu-popup{position:absolute;z-index:1050;background:transparent;border-radius:4px;box-shadow:none;transform-origin:0 0}.ant-menu-submenu-popup:before{position:absolute;top:-7px;right:0;bottom:0;left:0;z-index:-1;width:100%;height:100%;opacity:.0001;content:" "}.ant-menu-submenu-placement-rightTop:before{top:0;left:-7px}.ant-menu-submenu>.ant-menu{background-color:#fff;border-radius:4px}.ant-menu-submenu>.ant-menu-submenu-title:after{transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-popup>.ant-menu{background-color:#fff}.ant-menu-submenu-arrow,.ant-menu-submenu-expand-icon{position:absolute;top:50%;right:16px;width:10px;color:rgba(0,0,0,.65);transform:translateY(-50%);transition:transform .3s cubic-bezier(.645,.045,.355,1)}.ant-menu-submenu-arrow:after,.ant-menu-submenu-arrow:before{position:absolute;width:6px;height:1.5px;background-color:currentColor;border-radius:2px;transition:background .3s cubic-bezier(.645,.045,.355,1),transform .3s cubic-bezier(.645,.045,.355,1),top .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);content:""}.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateY(-2.5px)}.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateY(2.5px)}.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-expand-icon{color:#7ebc59}.ant-menu-submenu-inline .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateX(2.5px)}.ant-menu-submenu-inline .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateX(-2.5px)}.ant-menu-submenu-horizontal .ant-menu-submenu-arrow{display:none}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow{transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateX(-2.5px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{transform:rotate(45deg) translateX(2.5px)}.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected,.ant-menu-vertical .ant-menu-submenu-selected{color:#7ebc59}.ant-menu-horizontal{line-height:46px;border:0;border-bottom:1px solid #e8e8e8;box-shadow:none}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu{margin:-1px 20px 0;padding:0}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover{color:#7ebc59;border-bottom:2px solid #7ebc59}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;display:inline-block;vertical-align:bottom;border-bottom:2px solid transparent}.ant-menu-horizontal>.ant-menu-submenu>.ant-menu-submenu-title{padding:0}.ant-menu-horizontal>.ant-menu-item a{color:rgba(0,0,0,.65)}.ant-menu-horizontal>.ant-menu-item a:hover{color:#7ebc59}.ant-menu-horizontal>.ant-menu-item a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected a{color:#7ebc59}.ant-menu-horizontal:after{display:block;clear:both;height:0;content:"\20"}.ant-menu-inline .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical .ant-menu-item{position:relative}.ant-menu-inline .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-vertical .ant-menu-item:after{position:absolute;top:0;right:0;bottom:0;border-right:3px solid #7ebc59;transform:scaleY(.0001);opacity:0;transition:transform .15s cubic-bezier(.215,.61,.355,1),opacity .15s cubic-bezier(.215,.61,.355,1);content:""}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title{height:40px;margin-top:4px;margin-bottom:4px;padding:0 16px;overflow:hidden;line-height:40px;text-overflow:ellipsis}.ant-menu-inline .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu,.ant-menu-vertical .ant-menu-submenu{padding-bottom:.02px}.ant-menu-inline .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child),.ant-menu-vertical .ant-menu-item:not(:last-child){margin-bottom:8px}.ant-menu-inline>.ant-menu-item,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px}.ant-menu-vertical .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-item-selected:after,.ant-menu-inline .ant-menu-selected:after{transform:scaleY(1);opacity:1;transition:transform .15s cubic-bezier(.645,.045,.355,1),opacity .15s cubic-bezier(.645,.045,.355,1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline-collapsed{width:80px}.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;padding:0 calc(50% - 16px / 2);text-overflow:clip}.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{display:none}.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon,.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{margin:0;font-size:16px;line-height:40px}.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-item-icon+span,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-item-icon+span,.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-item-icon+span,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{display:inline-block;max-width:0;opacity:0}.ant-menu-inline-collapsed .ant-menu-item-icon,.ant-menu-inline-collapsed .anticon{display:inline-block}.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu-inline-collapsed-tooltip .ant-menu-item-icon,.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu-inline-collapsed-tooltip a{color:hsla(0,0%,100%,.85)}.ant-menu-inline-collapsed .ant-menu-item-group-title{padding-right:4px;padding-left:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-inline,.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right{box-shadow:none}.ant-menu-root.ant-menu-inline-collapsed .ant-menu-item>.ant-menu-inline-collapsed-noicon,.ant-menu-root.ant-menu-inline-collapsed .ant-menu-submenu .ant-menu-submenu-title>.ant-menu-inline-collapsed-noicon{font-size:16px;text-align:center}.ant-menu-sub.ant-menu-inline{padding:0;border-radius:0;box-shadow:none}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{height:40px;line-height:40px;list-style-position:inside;list-style-type:disc}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:rgba(0,0,0,.25)!important;background:none;border-color:transparent!important;cursor:not-allowed}.ant-menu-item-disabled a,.ant-menu-submenu-disabled a{color:rgba(0,0,0,.25)!important;pointer-events:none}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:rgba(0,0,0,.25)!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:rgba(0,0,0,.25)!important}.ant-layout-header .ant-menu{line-height:inherit}.ant-menu-dark .ant-menu-sub,.ant-menu.ant-menu-dark,.ant-menu.ant-menu-dark .ant-menu-sub{color:hsla(0,0%,100%,.65);background:#001529}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;transition:all .3s}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:transparent}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#000c17}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{top:0;margin-top:0;padding:0 20px;border-color:#001529;border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item:hover{background-color:#7ebc59}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a,.ant-menu-dark .ant-menu-item>span>a{color:hsla(0,0%,100%,.65)}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item{left:0;margin-left:0;border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{color:#fff;background-color:transparent}.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-item-active>span>a,.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-item:hover>span>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-active>span>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-open>span>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-selected>span>a,.ant-menu-dark .ant-menu-submenu-title:hover>a,.ant-menu-dark .ant-menu-submenu-title:hover>span>a{color:#fff}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item:hover{background-color:transparent}.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#7ebc59}.ant-menu-dark .ant-menu-item-selected{color:#fff;border-right:0}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon,.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon+span,.ant-menu-dark .ant-menu-item-selected .anticon,.ant-menu-dark .ant-menu-item-selected .anticon+span,.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>a:hover,.ant-menu-dark .ant-menu-item-selected>span>a,.ant-menu-dark .ant-menu-item-selected>span>a:hover{color:#fff}.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,.ant-menu.ant-menu-dark .ant-menu-item-selected{background-color:#7ebc59}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-item-disabled>span>a,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-submenu-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled>span>a{color:hsla(0,0%,100%,.35)!important;opacity:.8}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:hsla(0,0%,100%,.35)!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:hsla(0,0%,100%,.35)!important}.ant-menu.ant-menu-rtl{direction:rtl;text-align:right}.ant-menu-rtl .ant-menu-item-group-title{text-align:right}.ant-menu-rtl.ant-menu-inline,.ant-menu-rtl.ant-menu-vertical{border-right:none;border-left:1px solid #e8e8e8}.ant-menu-rtl.ant-menu-dark.ant-menu-inline,.ant-menu-rtl.ant-menu-dark.ant-menu-vertical{border-left:none}.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-rtl.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:top right}.ant-menu-rtl .ant-menu-item .ant-menu-item-icon,.ant-menu-rtl .ant-menu-item .anticon,.ant-menu-rtl .ant-menu-submenu-title .ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title .anticon{margin-right:auto;margin-left:10px}.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child>.anticon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.ant-menu-item-icon,.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child>.anticon{margin-left:0}.ant-menu-submenu-rtl.ant-menu-submenu-popup{transform-origin:100% 0}.ant-menu-rtl .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow{right:auto;left:16px}.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateY(-2px)}.ant-menu-rtl .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-rtl .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateY(2px)}.ant-menu-rtl.ant-menu-inline .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item:after,.ant-menu-rtl.ant-menu-vertical .ant-menu-item:after{right:auto;left:0}.ant-menu-rtl.ant-menu-inline .ant-menu-item,.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item,.ant-menu-rtl.ant-menu-vertical-right .ant-menu-submenu-title,.ant-menu-rtl.ant-menu-vertical .ant-menu-item,.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title{text-align:right}.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title{padding-right:0;padding-left:34px}.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title{padding-right:16px;padding-left:34px}.ant-menu-rtl.ant-menu-inline-collapsed.ant-menu-vertical .ant-menu-submenu-title{padding:0 calc(50% - 16px / 2)}.ant-menu-rtl .ant-menu-item-group-list .ant-menu-item,.ant-menu-rtl .ant-menu-item-group-list .ant-menu-submenu-title{padding:0 28px 0 16px}.ant-menu-sub.ant-menu-inline{border:0}.ant-menu-rtl.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-right:32px;padding-left:0}.ant-menu-submenu.ant-menu-submenu-placement-bottom{top:6px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-right{left:4px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-right.ant-menu-submenu-rtl{left:auto;right:4px}.ant-menu-submenu.ant-menu-submenu-placement-left{right:4px;position:relative}.ant-menu-submenu.ant-menu-submenu-placement-left.ant-menu-submenu-rtl{right:auto;left:4px}.ant-mention-wrapper{box-sizing:border-box;margin:0;font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";display:inline-block;vertical-align:middle}.ant-mention-wrapper,.ant-mention-wrapper .ant-mention-editor{padding:0;color:rgba(0,0,0,.65);line-height:1.5;position:relative;width:100%}.ant-mention-wrapper .ant-mention-editor{display:inline-block;min-width:0;font-size:14px;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s;display:block;height:auto;min-height:32px}.ant-mention-wrapper .ant-mention-editor::-moz-placeholder{opacity:1}.ant-mention-wrapper .ant-mention-editor:-ms-input-placeholder{color:#bfbfbf}.ant-mention-wrapper .ant-mention-editor::placeholder{color:#bfbfbf}.ant-mention-wrapper .ant-mention-editor:-moz-placeholder-shown{text-overflow:ellipsis}.ant-mention-wrapper .ant-mention-editor:-ms-input-placeholder{text-overflow:ellipsis}.ant-mention-wrapper .ant-mention-editor:placeholder-shown{text-overflow:ellipsis}.ant-mention-wrapper .ant-mention-editor:hover{border-color:#7ebc59;border-right-width:1px!important}.ant-input-rtl .ant-mention-wrapper .ant-mention-editor:hover{border-right-width:0;border-left-width:1px!important}.ant-mention-wrapper .ant-mention-editor-focused,.ant-mention-wrapper .ant-mention-editor:focus{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-mention-wrapper .ant-mention-editor-focused,.ant-input-rtl .ant-mention-wrapper .ant-mention-editor:focus{border-right-width:0;border-left-width:1px!important}.ant-mention-wrapper .ant-mention-editor-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-mention-wrapper .ant-mention-editor-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mention-wrapper .ant-mention-editor[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-mention-wrapper .ant-mention-editor[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mention-wrapper .ant-mention-editor-borderless,.ant-mention-wrapper .ant-mention-editor-borderless-disabled,.ant-mention-wrapper .ant-mention-editor-borderless-focused,.ant-mention-wrapper .ant-mention-editor-borderless:focus,.ant-mention-wrapper .ant-mention-editor-borderless:hover,.ant-mention-wrapper .ant-mention-editor-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-mention-wrapper .ant-mention-editor{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;transition:all .3s,height 0s}.ant-mention-wrapper .ant-mention-editor-lg{padding:6px 11px;font-size:16px}.ant-mention-wrapper .ant-mention-editor-sm{padding:1px 7px}.ant-mention-wrapper .ant-mention-editor-rtl{direction:rtl}.ant-mention-wrapper .ant-mention-editor-wrapper{height:auto;overflow-y:auto}.ant-mention-wrapper.ant-mention-active:not(.disabled) .ant-mention-editor{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-mention-wrapper.ant-mention-active:not(.disabled) .ant-mention-editor{border-right-width:0;border-left-width:1px!important}.ant-mention-wrapper.disabled .ant-mention-editor{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-mention-wrapper.disabled .ant-mention-editor:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-mention-wrapper .public-DraftEditorPlaceholder-root{position:absolute;pointer-events:none}.ant-mention-wrapper .public-DraftEditorPlaceholder-root .public-DraftEditorPlaceholder-inner{height:auto;padding:5px 11px;color:#bfbfbf;white-space:pre-wrap;word-wrap:break-word;outline:none;opacity:1}.ant-mention-wrapper .DraftEditor-editorContainer .public-DraftEditor-content{height:auto;padding:5px 11px}.ant-mention-dropdown{box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;min-width:120px;max-height:250px;margin:1.5em 0 0;overflow-x:hidden;overflow-y:auto;background-color:#fff;border-radius:4px;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-mention-dropdown-placement-top{margin-top:-.1em}.ant-mention-dropdown-notfound.ant-mention-dropdown-item{color:rgba(0,0,0,.25)}.ant-mention-dropdown-notfound.ant-mention-dropdown-item .anticon-loading{display:block;color:#7ebc59;text-align:center}.ant-mention-dropdown-item{position:relative;display:block;padding:5px 12px;overflow:hidden;color:rgba(0,0,0,.65);font-weight:400;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:background .3s}.ant-mention-dropdown-item-active,.ant-mention-dropdown-item.focus,.ant-mention-dropdown-item:hover{background-color:#f5fced}.ant-mention-dropdown-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-mention-dropdown-item-disabled:hover{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-mention-dropdown-item-selected,.ant-mention-dropdown-item-selected:hover{color:rgba(0,0,0,.65);font-weight:700;background-color:#f5f5f5}.ant-mention-dropdown-item-divider{height:1px;margin:1px 0;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-mention-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px}.ant-message{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:fixed;top:8px;left:0;z-index:1010;width:100%;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice-content{display:inline-block;padding:10px 16px;background:#fff;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.15);pointer-events:all}.ant-message-success .anticon{color:#52c41a}.ant-message-error .anticon{color:#f5222d}.ant-message-warning .anticon{color:#faad14}.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}.ant-message .anticon{position:relative;top:1px;margin-right:8px;font-size:16px}.ant-message-notice.move-up-leave.move-up-leave-active{-webkit-animation-name:MessageMoveOut;animation-name:MessageMoveOut;-webkit-animation-duration:.3s;animation-duration:.3s}@-webkit-keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}@keyframes MessageMoveOut{0%{max-height:150px;padding:8px;opacity:1}to{max-height:0;padding:0;opacity:0}}.ant-message-rtl,.ant-message-rtl span{direction:rtl}.ant-message-rtl .anticon{margin-right:0;margin-left:8px}.ant-modal{box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";pointer-events:none;position:relative;top:100px;width:auto;max-width:calc(100vw - 32px);margin:0 auto;padding:0 0 24px}.ant-modal.zoom-appear,.ant-modal.zoom-enter{transform:none;opacity:0;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%;background-color:rgba(0,0,0,.65)}.ant-modal-mask-hidden{display:none}.ant-modal-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch;z-index:1000}.ant-modal-title{margin:0;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:22px;word-wrap:break-word}.ant-modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:0;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.15);pointer-events:auto}.ant-modal-close{position:absolute;top:0;right:0;z-index:10;padding:0;color:rgba(0,0,0,.45);font-weight:700;line-height:1;text-decoration:none;background:transparent;border:0;outline:0;cursor:pointer;transition:color .3s}.ant-modal-close-x{display:block;width:56px;height:56px;font-size:16px;font-style:normal;line-height:56px;text-align:center;text-transform:none;text-rendering:auto}.ant-modal-close:focus,.ant-modal-close:hover{color:rgba(0,0,0,.75);text-decoration:none}.ant-modal-header{padding:16px 24px;color:rgba(0,0,0,.65);background:#fff;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0}.ant-modal-body{padding:24px;font-size:14px;line-height:1.5;word-wrap:break-word}.ant-modal-footer{padding:10px 16px;text-align:right;background:transparent;border-top:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-modal-footer button+button{margin-bottom:0;margin-left:8px}.ant-modal-open{overflow:hidden}.ant-modal-centered{text-align:center}.ant-modal-centered:before{display:inline-block;width:0;height:100%;vertical-align:middle;content:""}.ant-modal-centered .ant-modal{top:0;display:inline-block;text-align:left;vertical-align:middle}@media (max-width:767px){.ant-modal{max-width:calc(100vw - 16px);margin:8px auto}.ant-modal-centered .ant-modal{flex:1}}.ant-modal-confirm .ant-modal-header{display:none}.ant-modal-confirm .ant-modal-body{padding:32px 32px 24px}.ant-modal-confirm-body-wrapper:before{display:table;content:""}.ant-modal-confirm-body-wrapper:after{display:table;clear:both;content:""}.ant-modal-confirm-body .ant-modal-confirm-title{display:block;overflow:hidden;color:rgba(0,0,0,.85);font-weight:500;font-size:16px;line-height:1.4}.ant-modal-confirm-body .ant-modal-confirm-content{margin-top:8px;color:rgba(0,0,0,.65);font-size:14px}.ant-modal-confirm-body>.anticon{float:left;margin-right:16px;font-size:22px}.ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-left:38px}.ant-modal-confirm .ant-modal-confirm-btns{float:right;margin-top:24px}.ant-modal-confirm .ant-modal-confirm-btns button+button{margin-bottom:0;margin-left:8px}.ant-modal-confirm-error .ant-modal-confirm-body>.anticon{color:#f5222d}.ant-modal-confirm-confirm .ant-modal-confirm-body>.anticon,.ant-modal-confirm-warning .ant-modal-confirm-body>.anticon{color:#faad14}.ant-modal-confirm-info .ant-modal-confirm-body>.anticon{color:#1890ff}.ant-modal-confirm-success .ant-modal-confirm-body>.anticon{color:#52c41a}.ant-modal-wrap-rtl{direction:rtl}.ant-modal-wrap-rtl .ant-modal-close{right:auto;left:0}.ant-modal-wrap-rtl .ant-modal-footer{text-align:left}.ant-modal-wrap-rtl .ant-modal-footer button+button{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-body{direction:rtl}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon{float:right;margin-right:0;margin-left:16px}.ant-modal-wrap-rtl .ant-modal-confirm-body>.anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-right:38px;margin-left:0}.ant-modal-wrap-rtl .ant-modal-confirm-btns{float:left}.ant-modal-wrap-rtl .ant-modal-confirm-btns button+button{margin-right:8px;margin-left:0}.ant-modal-wrap-rtl.ant-modal-centered .ant-modal{text-align:right}.ant-notification{box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:fixed;z-index:1010;margin:0 24px 0 0}.ant-notification-bottomLeft,.ant-notification-topLeft{margin-right:0;margin-left:24px}.ant-notification-bottomLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-bottomLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,.ant-notification-topLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-topLeft .ant-notification-fade-enter.ant-notification-fade-enter-active{-webkit-animation-name:NotificationLeftFadeIn;animation-name:NotificationLeftFadeIn}.ant-notification-close-icon{font-size:14px;cursor:pointer}.ant-notification-hook-holder,.ant-notification-notice{position:relative;width:384px;max-width:calc(100vw - 24px * 2);margin-bottom:16px;margin-left:auto;overflow:hidden;word-wrap:break-word;background:#fff;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.15)}.ant-notification-bottomLeft .ant-notification-hook-holder,.ant-notification-bottomLeft .ant-notification-notice,.ant-notification-topLeft .ant-notification-hook-holder,.ant-notification-topLeft .ant-notification-notice{margin-right:auto;margin-left:0}.ant-notification-hook-holder>.ant-notification-notice{margin-bottom:0;box-shadow:none}.ant-notification-notice{padding:16px 24px;line-height:1.5}.ant-notification-notice-message{margin-bottom:8px;color:rgba(0,0,0,.85);font-size:16px;line-height:24px}.ant-notification-notice-message-single-line-auto-margin{display:block;width:calc(384px - 24px * 2 - 24px - 48px - 100%);max-width:4px;background-color:transparent;pointer-events:none}.ant-notification-notice-message-single-line-auto-margin:before{display:block;content:""}.ant-notification-notice-description{font-size:14px}.ant-notification-notice-closable .ant-notification-notice-message{padding-right:24px}.ant-notification-notice-with-icon .ant-notification-notice-message{margin-bottom:4px;margin-left:48px;font-size:16px}.ant-notification-notice-with-icon .ant-notification-notice-description{margin-left:48px;font-size:14px}.ant-notification-notice-icon{position:absolute;margin-left:4px;font-size:24px;line-height:24px}.anticon.ant-notification-notice-icon-success{color:#52c41a}.anticon.ant-notification-notice-icon-info{color:#1890ff}.anticon.ant-notification-notice-icon-warning{color:#faad14}.anticon.ant-notification-notice-icon-error{color:#f5222d}.ant-notification-notice-close{position:absolute;top:16px;right:22px;color:rgba(0,0,0,.45);outline:none}.ant-notification-notice-close:hover{color:rgba(0,0,0,.67)}.ant-notification-notice-btn{float:right;margin-top:16px}.ant-notification .notification-fade-effect{-webkit-animation-duration:.24s;animation-duration:.24s;-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-notification-fade-appear,.ant-notification-fade-enter{opacity:0;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-notification-fade-appear,.ant-notification-fade-enter,.ant-notification-fade-leave{-webkit-animation-duration:.24s;animation-duration:.24s;-webkit-animation-timing-function:cubic-bezier(.645,.045,.355,1);animation-timing-function:cubic-bezier(.645,.045,.355,1);-webkit-animation-fill-mode:both;animation-fill-mode:both}.ant-notification-fade-leave{-webkit-animation-duration:.2s;animation-duration:.2s;-webkit-animation-play-state:paused;animation-play-state:paused}.ant-notification-fade-appear.ant-notification-fade-appear-active,.ant-notification-fade-enter.ant-notification-fade-enter-active{-webkit-animation-name:NotificationFadeIn;animation-name:NotificationFadeIn;-webkit-animation-play-state:running;animation-play-state:running}.ant-notification-fade-leave.ant-notification-fade-leave-active{-webkit-animation-name:NotificationFadeOut;animation-name:NotificationFadeOut;-webkit-animation-play-state:running;animation-play-state:running}@-webkit-keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@keyframes NotificationFadeIn{0%{left:384px;opacity:0}to{left:0;opacity:1}}@-webkit-keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}@keyframes NotificationLeftFadeIn{0%{right:384px;opacity:0}to{right:0;opacity:1}}@-webkit-keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}@keyframes NotificationFadeOut{0%{max-height:150px;margin-bottom:16px;opacity:1}to{max-height:0;margin-bottom:0;padding-top:0;padding-bottom:0;opacity:0}}.ant-notification-rtl{direction:rtl}.ant-notification-rtl .ant-notification-notice-closable .ant-notification-notice-message{padding-right:0;padding-left:24px}.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-description,.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-message{margin-right:48px;margin-left:0}.ant-notification-rtl .ant-notification-notice-icon{margin-right:4px;margin-left:0}.ant-notification-rtl .ant-notification-notice-close{right:auto;left:22px}.ant-notification-rtl .ant-notification-notice-btn{float:left}.ant-page-header{box-sizing:border-box;margin:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;padding:16px 24px;background-color:#fff}.ant-page-header-ghost{background-color:inherit}.ant-page-header.has-breadcrumb{padding-top:12px}.ant-page-header.has-footer{padding-bottom:0}.ant-page-header-back{margin-right:16px;font-size:16px;line-height:1}.ant-page-header-back-button{color:#7ebc59;text-decoration:none;outline:none;transition:color .3s;color:#000;cursor:pointer}.ant-page-header-back-button:focus,.ant-page-header-back-button:hover{color:#9dc97f}.ant-page-header-back-button:active{color:#5c963f}.ant-page-header .ant-divider-vertical{height:14px;margin:0 12px;vertical-align:middle}.ant-breadcrumb+.ant-page-header-heading{margin-top:8px}.ant-page-header-heading{display:flex;justify-content:space-between}.ant-page-header-heading-left{display:flex;align-items:center;margin:4px 0;overflow:hidden}.ant-page-header-heading-title{margin-right:12px;margin-bottom:0;color:rgba(0,0,0,.85);font-weight:600;font-size:20px;line-height:32px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading .ant-avatar{margin-right:12px}.ant-page-header-heading-sub-title{margin-right:12px;color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-page-header-heading-extra{margin:4px 0;white-space:nowrap}.ant-page-header-heading-extra>*{margin-left:12px;white-space:unset}.ant-page-header-heading-extra>:first-child{margin-left:0}.ant-page-header-content{padding-top:12px}.ant-page-header-footer{margin-top:16px}.ant-page-header-footer .ant-tabs>.ant-tabs-nav{margin:0}.ant-page-header-footer .ant-tabs>.ant-tabs-nav:before{border:none}.ant-page-header-footer .ant-tabs .ant-tabs-tab{padding:8px 0;font-size:16px}.ant-page-header-compact .ant-page-header-heading{flex-wrap:wrap}.ant-page-header-rtl{direction:rtl}.ant-page-header-rtl .ant-page-header-back{float:right;margin-right:0;margin-left:16px}.ant-page-header-rtl .ant-page-header-heading-title,.ant-page-header-rtl .ant-page-header-heading .ant-avatar{margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-sub-title{float:right;margin-right:0;margin-left:12px}.ant-page-header-rtl .ant-page-header-heading-tags{float:right}.ant-page-header-rtl .ant-page-header-heading-extra{float:left}.ant-page-header-rtl .ant-page-header-heading-extra>*{margin-right:12px;margin-left:0}.ant-page-header-rtl .ant-page-header-heading-extra>:first-child{margin-right:0}.ant-page-header-rtl .ant-page-header-footer .ant-tabs-bar .ant-tabs-nav{float:right}.ant-page-header-back-button{border:0;background:transparent;padding:0;line-height:inherit;display:inline-block}nz-page-header,nz-page-header-content,nz-page-header-footer{display:block}.ant-pagination{box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;font-feature-settings:"tnum"}.ant-pagination,.ant-pagination ol,.ant-pagination ul{margin:0;padding:0;list-style:none}.ant-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:" "}.ant-pagination-item,.ant-pagination-total-text{display:inline-block;height:32px;margin-right:8px;line-height:30px;vertical-align:middle}.ant-pagination-item{min-width:32px;font-family:Arial;text-align:center;list-style:none;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-item a{display:block;padding:0 6px;color:rgba(0,0,0,.65);transition:none}.ant-pagination-item a:hover{text-decoration:none}.ant-pagination-item:focus,.ant-pagination-item:hover{border-color:#7ebc59;transition:all .3s}.ant-pagination-item:focus a,.ant-pagination-item:hover a{color:#7ebc59}.ant-pagination-item-active{font-weight:500;background:#fff;border-color:#7ebc59}.ant-pagination-item-active a{color:#7ebc59}.ant-pagination-item-active:focus,.ant-pagination-item-active:hover{border-color:#9dc97f}.ant-pagination-item-active:focus a,.ant-pagination-item-active:hover a{color:#9dc97f}.ant-pagination-jump-next,.ant-pagination-jump-prev{outline:0}.ant-pagination-jump-next .ant-pagination-item-container,.ant-pagination-jump-prev .ant-pagination-item-container{position:relative}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{color:#7ebc59;font-size:12px;letter-spacing:-1px;opacity:0;transition:all .2s}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg{top:0;right:0;bottom:0;left:0;margin:auto}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:auto;color:rgba(0,0,0,.25);font-family:Arial,Helvetica,sans-serif;letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;transition:all .2s}.ant-pagination-jump-next:focus .ant-pagination-item-link-icon,.ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-prev{margin-right:8px}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-next,.ant-pagination-prev{display:inline-block;min-width:32px;height:32px;color:rgba(0,0,0,.65);font-family:Arial;line-height:32px;text-align:center;vertical-align:middle;list-style:none;border-radius:4px;cursor:pointer;transition:all .3s}.ant-pagination-next,.ant-pagination-prev{font-family:Arial,Helvetica,sans-serif;outline:0}.ant-pagination-next button,.ant-pagination-prev button{color:rgba(0,0,0,.65);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-next:hover button,.ant-pagination-prev:hover button{border-color:#9dc97f}.ant-pagination-next .ant-pagination-item-link,.ant-pagination-prev .ant-pagination-item-link{display:block;width:100%;height:100%;padding:0;font-size:12px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:none;transition:all .3s}.ant-pagination-next:focus .ant-pagination-item-link,.ant-pagination-next:hover .ant-pagination-item-link,.ant-pagination-prev:focus .ant-pagination-item-link,.ant-pagination-prev:hover .ant-pagination-item-link{color:#7ebc59;border-color:#7ebc59}.ant-pagination-disabled,.ant-pagination-disabled:focus,.ant-pagination-disabled:hover{cursor:not-allowed}.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination-disabled:focus .ant-pagination-item-link,.ant-pagination-disabled:hover .ant-pagination-item-link{color:rgba(0,0,0,.25);border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-slash{margin:0 10px 0 5px}.ant-pagination-options{display:inline-block;margin-left:16px;vertical-align:middle}@media (-ms-high-contrast:none){.ant-pagination-options,.ant-pagination-options ::-ms-backdrop{vertical-align:top}}.ant-pagination-options-size-changer.ant-select{display:inline-block;width:auto}.ant-pagination-options-quick-jumper{display:inline-block;height:32px;margin-left:8px;line-height:32px;vertical-align:top}.ant-pagination-options-quick-jumper input{position:relative;display:inline-block;width:100%;min-width:0;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s;width:50px;margin:0 8px}.ant-pagination-options-quick-jumper input::-moz-placeholder{opacity:1}.ant-pagination-options-quick-jumper input:-ms-input-placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input::placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input:-moz-placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:-ms-input-placeholder{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:placeholder-shown{text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:hover{border-color:#7ebc59;border-right-width:1px!important}.ant-input-rtl .ant-pagination-options-quick-jumper input:hover{border-right-width:0;border-left-width:1px!important}.ant-pagination-options-quick-jumper input-focused,.ant-pagination-options-quick-jumper input:focus{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-pagination-options-quick-jumper input-focused,.ant-input-rtl .ant-pagination-options-quick-jumper input:focus{border-right-width:0;border-left-width:1px!important}.ant-pagination-options-quick-jumper input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-pagination-options-quick-jumper input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-pagination-options-quick-jumper input-borderless,.ant-pagination-options-quick-jumper input-borderless-disabled,.ant-pagination-options-quick-jumper input-borderless-focused,.ant-pagination-options-quick-jumper input-borderless:focus,.ant-pagination-options-quick-jumper input-borderless:hover,.ant-pagination-options-quick-jumper input-borderless[disabled]{background-color:transparent;border:none;box-shadow:none}textarea.ant-pagination-options-quick-jumper input{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;transition:all .3s,height 0s}.ant-pagination-options-quick-jumper input-lg{padding:6px 11px;font-size:16px}.ant-pagination-options-quick-jumper input-sm{padding:1px 7px}.ant-pagination-options-quick-jumper input-rtl{direction:rtl}.ant-pagination-simple .ant-pagination-next,.ant-pagination-simple .ant-pagination-prev{height:24px;line-height:24px;vertical-align:top}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link{height:24px;background-color:transparent;border:0}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination-simple .ant-pagination-simple-pager{display:inline-block;height:24px;margin-right:8px}.ant-pagination-simple .ant-pagination-simple-pager input{box-sizing:border-box;height:100%;margin-right:8px;padding:0 6px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:none;transition:border-color .3s}.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#7ebc59}.ant-pagination-simple .ant-pagination-simple-pager input[disabled]{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.mini .ant-pagination-simple-pager,.ant-pagination.mini .ant-pagination-total-text{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-item{min-width:24px;height:24px;margin:0;line-height:22px}.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active){background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next,.ant-pagination.mini .ant-pagination-prev{min-width:24px;height:24px;margin:0;line-height:24px}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link{background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-jump-next,.ant-pagination.mini .ant-pagination-jump-prev{height:24px;margin-right:0;line-height:24px}.ant-pagination.mini .ant-pagination-options{margin-left:2px}.ant-pagination.mini .ant-pagination-options-size-changer{top:0}.ant-pagination.mini .ant-pagination-options-quick-jumper{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-options-quick-jumper input{padding:1px 7px;width:44px}.ant-pagination.ant-pagination-disabled{cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item a{color:rgba(0,0,0,.25);background:transparent;border:none;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active{background:#dbdbdb;border-color:transparent}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a{color:#fff}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{color:rgba(0,0,0,.25);background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link{background:transparent}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon{opacity:0}.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis{opacity:1}.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager{color:rgba(0,0,0,.25)}@media only screen and (max-width:992px){.ant-pagination-item-after-jump-prev,.ant-pagination-item-before-jump-next{display:none}}@media only screen and (max-width:576px){.ant-pagination-options{display:none}}.ant-pagination-rtl .ant-pagination-item,.ant-pagination-rtl .ant-pagination-jump-next,.ant-pagination-rtl .ant-pagination-jump-prev,.ant-pagination-rtl .ant-pagination-prev,.ant-pagination-rtl .ant-pagination-total-text{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-slash{margin:0 5px 0 10px}.ant-pagination-rtl .ant-pagination-options{margin-right:16px;margin-left:0}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select{margin-right:0;margin-left:8px}.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper{margin-left:0}.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager,.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input{margin-right:0;margin-left:8px}.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options{margin-right:2px;margin-left:0}nz-pagination{display:block}.ant-popover{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:left;cursor:auto;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ant-popover:after{position:absolute;background:hsla(0,0%,100%,.01);content:""}.ant-popover-hidden{display:none}.ant-popover-placement-top,.ant-popover-placement-topLeft,.ant-popover-placement-topRight{padding-bottom:10px}.ant-popover-placement-right,.ant-popover-placement-rightBottom,.ant-popover-placement-rightTop{padding-left:10px}.ant-popover-placement-bottom,.ant-popover-placement-bottomLeft,.ant-popover-placement-bottomRight{padding-top:10px}.ant-popover-placement-left,.ant-popover-placement-leftBottom,.ant-popover-placement-leftTop{padding-right:10px}.ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 0 8px rgba(0,0,0,.15)\9}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ant-popover-inner{box-shadow:0 2px 8px rgba(0,0,0,.15)}}.ant-popover-title{min-width:177px;min-height:32px;margin:0;padding:5px 16px 4px;color:rgba(0,0,0,.85);font-weight:500;border-bottom:1px solid #e8e8e8}.ant-popover-inner-content{padding:12px 16px;color:rgba(0,0,0,.65)}.ant-popover-message{position:relative;padding:4px 0 12px;color:rgba(0,0,0,.65);font-size:14px}.ant-popover-message>.anticon{position:absolute;top:7.5px;color:#faad14;font-size:14px}.ant-popover-message-title{padding-left:22px}.ant-popover-buttons{margin-bottom:4px;text-align:right}.ant-popover-buttons button{margin-left:8px}.ant-popover-arrow{position:absolute;display:block;width:8.48528137px;height:8.48528137px;background:transparent;border-style:solid;border-width:4.24264069px;transform:rotate(45deg)}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{bottom:6.2px;border-color:transparent #fff #fff transparent;box-shadow:3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{left:6px;border-color:transparent transparent #fff #fff;box-shadow:-3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow{top:50%;transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{top:6px;border-color:#fff transparent transparent #fff;box-shadow:-2px -2px 5px rgba(0,0,0,.06)}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{right:6px;border-color:#fff #fff transparent transparent;box-shadow:3px -3px 7px rgba(0,0,0,.07)}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow{top:50%;transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}.ant-popover-rtl{direction:rtl;text-align:right}.ant-popover-rtl .ant-popover-message-title{padding-right:22px;padding-left:16px}.ant-popover-rtl .ant-popover-buttons{text-align:left}.ant-popover-rtl .ant-popover-buttons button{margin-right:8px;margin-left:0}.ant-popover{position:relative}.ant-progress{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-progress-line{position:relative;width:100%;font-size:14px}.ant-progress-steps{display:inline-block}.ant-progress-steps-outer{display:flex;flex-direction:row;align-items:center}.ant-progress-steps-item{flex-shrink:0;min-width:2px;margin-right:2px;background:#f3f3f3;transition:all .3s}.ant-progress-steps-item-active{background:#1890ff}.ant-progress-small.ant-progress-line,.ant-progress-small.ant-progress-line .ant-progress-text .anticon{font-size:12px}.ant-progress-outer{display:inline-block;width:100%;margin-right:0;padding-right:0}.ant-progress-show-info .ant-progress-outer{margin-right:calc(-2em - 8px);padding-right:calc(2em + 8px)}.ant-progress-inner{position:relative;display:inline-block;width:100%;overflow:hidden;vertical-align:middle;background-color:#f5f5f5;border-radius:100px}.ant-progress-circle-trail{stroke:#f5f5f5}.ant-progress-circle-path{-webkit-animation:ant-progress-appear .3s;animation:ant-progress-appear .3s}.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#1890ff}.ant-progress-bg,.ant-progress-success-bg{position:relative;background-color:#1890ff;border-radius:100px;transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.ant-progress-success-bg{position:absolute;top:0;left:0;background-color:#52c41a}.ant-progress-text{display:inline-block;width:2em;margin-left:8px;color:rgba(0,0,0,.45);font-size:1em;line-height:1;white-space:nowrap;text-align:left;vertical-align:middle;word-break:normal}.ant-progress-text .anticon{font-size:14px}.ant-progress-status-active .ant-progress-bg:before{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;border-radius:10px;opacity:0;-webkit-animation:ant-progress-active 2.4s cubic-bezier(.23,1,.32,1) infinite;animation:ant-progress-active 2.4s cubic-bezier(.23,1,.32,1) infinite;content:""}.ant-progress-status-exception .ant-progress-bg{background-color:#f5222d}.ant-progress-status-exception .ant-progress-text{color:#f5222d}.ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#f5222d}.ant-progress-status-success .ant-progress-bg{background-color:#52c41a}.ant-progress-status-success .ant-progress-text{color:#52c41a}.ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#52c41a}.ant-progress-circle .ant-progress-inner{position:relative;line-height:1;background-color:transparent}.ant-progress-circle .ant-progress-text{position:absolute;top:50%;left:50%;width:100%;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:1em;line-height:1;white-space:normal;text-align:center;transform:translate(-50%,-50%)}.ant-progress-circle .ant-progress-text .anticon{font-size:1.16666667em}.ant-progress-circle.ant-progress-status-exception .ant-progress-text{color:#f5222d}.ant-progress-circle.ant-progress-status-success .ant-progress-text{color:#52c41a}@-webkit-keyframes ant-progress-active{0%{width:0;opacity:.1}20%{width:0;opacity:.5}to{width:100%;opacity:0}}@keyframes ant-progress-active{0%{width:0;opacity:.1}20%{width:0;opacity:.5}to{width:100%;opacity:0}}.ant-progress-rtl{direction:rtl}.ant-progress-rtl.ant-progress-show-info .ant-progress-outer{margin-right:0;margin-left:calc(-2em - 8px);padding-right:0;padding-left:calc(2em + 8px)}.ant-progress-rtl .ant-progress-success-bg{right:0;left:auto}.ant-progress-rtl.ant-progress-line .ant-progress-text,.ant-progress-rtl.ant-progress-steps .ant-progress-text{margin-right:8px;margin-left:0;text-align:right}.ant-radio-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:inline-block;font-size:0;line-height:unset}.ant-radio-group .ant-badge-count{z-index:1}.ant-radio-group>.ant-badge:not(:first-child)>.ant-radio-button-wrapper{border-left:none}.ant-radio-wrapper{margin:0 8px 0 0}.ant-radio,.ant-radio-wrapper{box-sizing:border-box;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;white-space:nowrap;cursor:pointer}.ant-radio{margin:0;top:0;line-height:1;vertical-align:text-bottom;outline:none}.ant-radio-input:focus+.ant-radio-inner,.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner{border-color:#7ebc59}.ant-radio-input:focus+.ant-radio-inner{box-shadow:0 0 0 3px rgba(126,188,89,.08)}.ant-radio-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #7ebc59;border-radius:50%;visibility:hidden;-webkit-animation:antRadioEffect .36s ease-in-out;animation:antRadioEffect .36s ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both;content:""}.ant-radio-wrapper:hover .ant-radio:after,.ant-radio:hover:after{visibility:visible}.ant-radio-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;background-color:#fff;border:1px solid #d9d9d9;border-radius:50%;transition:all .3s}.ant-radio-inner:after{position:absolute;top:3px;left:3px;display:table;width:8px;height:8px;background-color:#7ebc59;border-top:0;border-left:0;border-radius:8px;transform:scale(0);opacity:0;transition:all .3s cubic-bezier(.78,.14,.15,.86);content:" "}.ant-radio-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;cursor:pointer;opacity:0}.ant-radio-checked .ant-radio-inner{border-color:#7ebc59}.ant-radio-checked .ant-radio-inner:after{transform:scale(1);opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.ant-radio-disabled{cursor:not-allowed}.ant-radio-disabled .ant-radio-inner{background-color:#f5f5f5;border-color:#d9d9d9!important;cursor:not-allowed}.ant-radio-disabled .ant-radio-inner:after{background-color:rgba(0,0,0,.2)}.ant-radio-disabled .ant-radio-input{cursor:not-allowed}.ant-radio-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}span.ant-radio+*{padding-right:8px;padding-left:8px}.ant-radio-button-wrapper{position:relative;display:inline-block;height:32px;margin:0;padding:0 15px;color:rgba(0,0,0,.65);font-size:14px;line-height:30px;background:#fff;border-color:#d9d9d9;border-style:solid;border-width:1.02px 1px 1px 0;cursor:pointer;transition:color .3s,background .3s,border-color .3s,box-shadow .3s}.ant-radio-button-wrapper a{color:rgba(0,0,0,.65)}.ant-radio-button-wrapper>.ant-radio-button{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.ant-radio-group-large .ant-radio-button-wrapper{height:40px;font-size:16px;line-height:38px}.ant-radio-group-small .ant-radio-button-wrapper{height:24px;padding:0 7px;line-height:22px}.ant-radio-button-wrapper:not(:first-child):before{position:absolute;top:-1px;left:-1px;display:block;box-sizing:content-box;width:1px;height:100%;padding:1px 0;background-color:#d9d9d9;transition:background-color .3s;content:""}.ant-radio-button-wrapper:first-child{border-left:1px solid #d9d9d9;border-radius:4px 0 0 4px}.ant-radio-button-wrapper:last-child{border-radius:0 4px 4px 0}.ant-radio-button-wrapper:first-child:last-child{border-radius:4px}.ant-radio-button-wrapper:hover{position:relative;color:#7ebc59}.ant-radio-button-wrapper:focus-within{box-shadow:0 0 0 3px rgba(126,188,89,.08)}.ant-radio-button-wrapper .ant-radio-inner,.ant-radio-button-wrapper input[type=checkbox],.ant-radio-button-wrapper input[type=radio]{width:0;height:0;opacity:0;pointer-events:none}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){z-index:1;color:#7ebc59;background:#fff;border-color:#7ebc59}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#7ebc59}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#7ebc59}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#9dc97f;border-color:#9dc97f}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover:before{background-color:#9dc97f}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#5c963f;border-color:#5c963f}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active:before{background-color:#5c963f}.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px rgba(126,188,89,.08)}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#fff;background:#7ebc59;border-color:#7ebc59}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#fff;background:#9dc97f;border-color:#9dc97f}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#fff;background:#5c963f;border-color:#5c963f}.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px rgba(126,188,89,.08)}.ant-radio-button-wrapper-disabled{cursor:not-allowed}.ant-radio-button-wrapper-disabled,.ant-radio-button-wrapper-disabled:first-child,.ant-radio-button-wrapper-disabled:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-radio-button-wrapper-disabled:first-child{border-left-color:#d9d9d9}.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked{color:rgba(0,0,0,.25);background-color:#e6e6e6;border-color:#d9d9d9;box-shadow:none}@-webkit-keyframes antRadioEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}@keyframes antRadioEffect{0%{transform:scale(1);opacity:.5}to{transform:scale(1.6);opacity:0}}.ant-radio-group.ant-radio-group-rtl{direction:rtl}.ant-radio-wrapper.ant-radio-wrapper-rtl{margin-right:0;margin-left:8px;direction:rtl}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl{border-right-width:0;border-left-width:1px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child):before{right:-1px;left:0}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child{border-right:1px solid #d9d9d9;border-radius:0 4px 4px 0}.ant-radio-button-wrapper-checked:not([class*=" ant-radio-button-wrapper-disabled"]).ant-radio-button-wrapper:first-child{border-right-color:#9dc97f}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child{border-radius:4px 0 0 4px}.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child{border-right-color:#d9d9d9}.ant-radio+span:empty{display:none}.ant-rate{box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;font-feature-settings:"tnum";display:inline-block;margin:0;padding:0;color:#fadb14;font-size:20px;line-height:unset;list-style:none;outline:none}.ant-rate-disabled .ant-rate-star{cursor:default}.ant-rate-disabled .ant-rate-star:hover{transform:scale(1)}.ant-rate-star{position:relative;display:inline-block;color:inherit;cursor:pointer;transition:all .3s}.ant-rate-star:not(:last-child){margin-right:8px}.ant-rate-star>div:focus{outline:0}.ant-rate-star>div:focus,.ant-rate-star>div:hover{transform:scale(1.1)}.ant-rate-star-first,.ant-rate-star-second{color:#e8e8e8;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-rate-star-first .anticon,.ant-rate-star-second .anticon{vertical-align:middle}.ant-rate-star-first{position:absolute;top:0;left:0;width:50%;height:100%;overflow:hidden;opacity:0}.ant-rate-star-half .ant-rate-star-first,.ant-rate-star-half .ant-rate-star-second{opacity:1}.ant-rate-star-full .ant-rate-star-second,.ant-rate-star-half .ant-rate-star-first{color:inherit}.ant-rate-text{display:inline-block;margin:0 8px;font-size:14px}.ant-rate-rtl{direction:rtl}.ant-rate-rtl .ant-rate-star:not(:last-child){margin-right:0;margin-left:8px}.ant-rate-rtl .ant-rate-star-first{right:0;left:auto}.ant-select-single .ant-select-selector{display:flex}.ant-select-single .ant-select-selector .ant-select-selection-search{position:absolute;top:0;right:11px;bottom:0;left:11px}.ant-select-single .ant-select-selector .ant-select-selection-search-input{width:100%}.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{padding:0;line-height:30px;transition:all .3s}@supports (-moz-appearance:meterbar){.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{line-height:30px}}.ant-select-single .ant-select-selector .ant-select-selection-item{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-single .ant-select-selector .ant-select-selection-placeholder{pointer-events:none}.ant-select-single .ant-select-selector .ant-select-selection-item:after,.ant-select-single .ant-select-selector .ant-select-selection-placeholder:after,.ant-select-single .ant-select-selector:after{display:inline-block;width:0;visibility:hidden;content:"\a0"}.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:25px}.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:18px}.ant-select-single.ant-select-open .ant-select-selection-item{color:#bfbfbf}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{width:100%;height:32px;padding:0 11px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{height:30px}.ant-select-single:not(.ant-select-customize-input) .ant-select-selector:after{line-height:30px}.ant-select-single.ant-select-customize-input .ant-select-selector:after{display:none}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-search{position:static;width:100%}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder{position:absolute;right:0;left:0;padding:0 11px}.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder:after{display:none}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{height:40px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder,.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector:after{line-height:38px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:38px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{height:24px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder,.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector:after{line-height:22px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input{height:22px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selection-search{right:7px;left:7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector{padding:0 7px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:28px}.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:21px}.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{padding:0 11px}.ant-select-selection-overflow{position:relative;display:flex;flex:auto;flex-wrap:wrap;max-width:100%}.ant-select-selection-overflow-item{flex:none;max-width:100%}.ant-select-multiple .ant-select-selector{display:flex;flex-wrap:wrap;align-items:center;padding:1px 4px}.ant-select-show-search.ant-select-multiple .ant-select-selector{cursor:text}.ant-select-disabled.ant-select-multiple .ant-select-selector{background:#f5f5f5;cursor:not-allowed}.ant-select-multiple .ant-select-selector:after{display:inline-block;width:0;margin:2px 0;line-height:24px;content:"\a0"}.ant-select-multiple.ant-select-allow-clear .ant-select-selector,.ant-select-multiple.ant-select-show-arrow .ant-select-selector{padding-right:24px}.ant-select-multiple .ant-select-selection-item{position:relative;display:flex;flex:none;box-sizing:border-box;max-width:100%;height:24px;margin-top:2px;-webkit-margin-end:4px;margin-inline-end:4px;margin-bottom:2px;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:4px;padding-inline-end:4px;line-height:22px;background:#f5f5f5;border:1px solid #e8e8e8;border-radius:4px;cursor:default;transition:font-size .3s,line-height .3s,height .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-disabled.ant-select-multiple .ant-select-selection-item{color:#bfbfbf;border-color:#d9d9d9;cursor:not-allowed}.ant-select-multiple .ant-select-selection-item-content{display:inline-block;margin-right:4px;overflow:hidden;white-space:pre;text-overflow:ellipsis}.ant-select-multiple .ant-select-selection-item-remove{color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;color:rgba(0,0,0,.45);font-weight:700;font-size:10px;line-height:inherit;cursor:pointer}.ant-select-multiple .ant-select-selection-item-remove>*{line-height:1}.ant-select-multiple .ant-select-selection-item-remove svg{display:inline-block}.ant-select-multiple .ant-select-selection-item-remove:before{display:none}.ant-select-multiple .ant-select-selection-item-remove .ant-select-multiple .ant-select-selection-item-remove-icon{display:block}.ant-select-multiple .ant-select-selection-item-remove>.anticon{vertical-align:-.2em}.ant-select-multiple .ant-select-selection-item-remove:hover{color:rgba(0,0,0,.75)}.ant-select-multiple .ant-select-selection-overflow-item+.ant-select-selection-overflow-item .ant-select-selection-search{-webkit-margin-start:0;margin-inline-start:0}.ant-select-multiple .ant-select-selection-search{position:relative;max-width:100%;margin-top:2px;margin-bottom:2px;-webkit-margin-start:7px;margin-inline-start:7px}.ant-select-multiple .ant-select-selection-search-input,.ant-select-multiple .ant-select-selection-search-mirror{height:24px;font-family:Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;line-height:24px;transition:all .3s}.ant-select-multiple .ant-select-selection-search-input{width:100%;min-width:4.1px}.ant-select-multiple .ant-select-selection-search-mirror{position:absolute;top:0;left:0;z-index:999;white-space:pre;visibility:hidden}.ant-select-multiple .ant-select-selection-placeholder{position:absolute;top:50%;right:11px;left:11px;transform:translateY(-50%);transition:all .3s}.ant-select-multiple.ant-select-lg .ant-select-selector:after{line-height:32px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{line-height:30px}.ant-select-multiple.ant-select-lg .ant-select-selection-search{height:33px;line-height:33px}.ant-select-multiple.ant-select-lg .ant-select-selection-search-input,.ant-select-multiple.ant-select-lg .ant-select-selection-search-mirror{height:32px;line-height:30px}.ant-select-multiple.ant-select-sm .ant-select-selector:after{line-height:16px}.ant-select-multiple.ant-select-sm .ant-select-selection-item{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-search{height:17px;line-height:17px}.ant-select-multiple.ant-select-sm .ant-select-selection-search-input,.ant-select-multiple.ant-select-sm .ant-select-selection-search-mirror{height:16px;line-height:14px}.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{left:7px}.ant-select-multiple.ant-select-sm .ant-select-selection-search:first-child .ant-select-selection-search-input{margin-left:3px}.ant-select-multiple.ant-select-lg .ant-select-selection-item{height:32px;line-height:32px}.ant-select-disabled .ant-select-selection-item-remove{display:none}.ant-select{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;cursor:pointer}.ant-select:not(.ant-select-customize-input) .ant-select-selector{position:relative;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:pointer}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector{cursor:text}.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:auto}.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector{border-right-width:0;border-left-width:1px!important}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:rgba(0,0,0,.25);background:#f5f5f5;cursor:not-allowed}.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input{cursor:not-allowed}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input{margin:0;padding:0;background:transparent;border:none;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}.ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:#7ebc59;border-right-width:1px!important}.ant-input-rtl .ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-right-width:0;border-left-width:1px!important}.ant-select-selection-item{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (-ms-high-contrast:none){.ant-select-selection-item,.ant-select-selection-item ::-ms-backdrop{flex:auto}}.ant-select-selection-placeholder{flex:1;overflow:hidden;color:#bfbfbf;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}@media (-ms-high-contrast:none){.ant-select-selection-placeholder,.ant-select-selection-placeholder ::-ms-backdrop{flex:auto}}.ant-select-arrow{display:inline-block;color:inherit;font-style:normal;line-height:0;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:53%;right:11px;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;line-height:1;text-align:center;pointer-events:none}.ant-select-arrow>*{line-height:1}.ant-select-arrow svg{display:inline-block}.ant-select-arrow:before{display:none}.ant-select-arrow .ant-select-arrow-icon{display:block}.ant-select-arrow .anticon{vertical-align:top;transition:transform .3s}.ant-select-arrow .anticon>svg{vertical-align:top}.ant-select-arrow .anticon:not(.ant-select-suffix){pointer-events:auto}.ant-select-disabled .ant-select-arrow{cursor:not-allowed}.ant-select-clear{position:absolute;top:50%;right:11px;z-index:1;display:inline-block;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;font-style:normal;line-height:1;text-align:center;text-transform:none;background:#fff;cursor:pointer;opacity:0;transition:color .3s ease,opacity .15s ease;text-rendering:auto}.ant-select-clear:before{display:block}.ant-select-clear:hover{color:rgba(0,0,0,.45)}.ant-select:hover .ant-select-clear{opacity:1}.ant-select-dropdown{margin:0;color:rgba(0,0,0,.65);font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;box-sizing:border-box;padding:4px 0;overflow:hidden;font-size:14px;font-variant:normal;background-color:#fff;border-radius:4px;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-select-dropdown.slide-up-appear.slide-up-appear-active.ant-select-dropdown-placement-bottomLeft,.ant-select-dropdown.slide-up-enter.slide-up-enter-active.ant-select-dropdown-placement-bottomLeft{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-select-dropdown.slide-up-appear.slide-up-appear-active.ant-select-dropdown-placement-topLeft,.ant-select-dropdown.slide-up-enter.slide-up-enter-active.ant-select-dropdown-placement-topLeft{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-select-dropdown.slide-up-leave.slide-up-leave-active.ant-select-dropdown-placement-bottomLeft{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-select-dropdown.slide-up-leave.slide-up-leave-active.ant-select-dropdown-placement-topLeft{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-select-dropdown-empty{color:rgba(0,0,0,.25)}.ant-select-item-empty{color:rgba(0,0,0,.65);color:rgba(0,0,0,.25)}.ant-select-item,.ant-select-item-empty{position:relative;display:block;min-height:32px;padding:5px 12px;font-weight:400;font-size:14px;line-height:22px}.ant-select-item{color:rgba(0,0,0,.65);cursor:pointer;transition:background .3s ease}.ant-select-item-group{color:rgba(0,0,0,.45);font-size:12px;cursor:default}.ant-select-item-option{display:flex}.ant-select-item-option-content{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-select-item-option-state{flex:none}.ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#f5fced}.ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:rgba(0,0,0,.65);font-weight:600;background-color:#f5fced}.ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state{color:#7ebc59}.ant-select-item-option-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-select-item-option-grouped{padding-left:24px}.ant-select-lg{font-size:16px}.ant-select-borderless .ant-select-selector{background-color:transparent!important;border-color:transparent!important;box-shadow:none!important}.ant-select-rtl{direction:rtl}.ant-select-rtl .ant-select-arrow,.ant-select-rtl .ant-select-clear{right:auto;left:11px}.ant-select-dropdown-rtl{direction:rtl}.ant-select-dropdown-rtl .ant-select-item-option-grouped{padding-right:24px;padding-left:12px}.ant-select-rtl.ant-select-multiple.ant-select-allow-clear .ant-select-selector,.ant-select-rtl.ant-select-multiple.ant-select-show-arrow .ant-select-selector{padding-right:4px;padding-left:24px}.ant-select-rtl.ant-select-multiple .ant-select-selection-item{text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-item-content{margin-right:0;margin-left:4px;text-align:right}.ant-select-rtl.ant-select-multiple .ant-select-selection-search-mirror{right:0;left:auto}.ant-select-rtl.ant-select-multiple .ant-select-selection-search:first-child>.ant-select-selection-search-input{margin-right:5px!important;margin-left:0!important}.ant-select-rtl.ant-select-multiple .ant-select-selection-placeholder{right:11px;left:auto}.ant-select-rtl.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder{right:7px}.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-placeholder{right:0;left:9px;text-align:right}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-search{right:11px;left:25px}.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:18px}.ant-select-rtl.ant-select-single:not(.ant-select-customize-input) .ant-select-selector{padding:0 11px}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search{right:0}.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder{padding-right:0;padding-left:21px}.ant-select-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px;display:block}.ant-select-dropdown .cdk-virtual-scroll-content-wrapper{right:0}.ant-select-dropdown .full-width{contain:none}.ant-select-dropdown .full-width .cdk-virtual-scroll-content-wrapper{position:static}.ant-skeleton{display:table;width:100%}.ant-skeleton-header{display:table-cell;padding-right:16px;vertical-align:top}.ant-skeleton-header .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:#f2f2f2;width:32px;height:32px;line-height:32px}.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-lg{width:40px;height:40px;line-height:40px}.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-header .ant-skeleton-avatar-sm{width:24px;height:24px;line-height:24px}.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-content{display:table-cell;width:100%;vertical-align:top}.ant-skeleton-content .ant-skeleton-title{width:100%;height:16px;margin-top:16px;background:#f2f2f2;border-radius:4px}.ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:24px}.ant-skeleton-content .ant-skeleton-paragraph{padding:0}.ant-skeleton-content .ant-skeleton-paragraph>li{width:100%;height:16px;list-style:none;background:#f2f2f2;border-radius:4px}.ant-skeleton-content .ant-skeleton-paragraph>li:last-child:not(:first-child):not(:nth-child(2)){width:61%}.ant-skeleton-content .ant-skeleton-paragraph>li+li{margin-top:16px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title{margin-top:12px}.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title+.ant-skeleton-paragraph{margin-top:28px}.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title{border-radius:100px}.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton.ant-skeleton-active .ant-skeleton-button,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,.ant-skeleton.ant-skeleton-active .ant-skeleton-image,.ant-skeleton.ant-skeleton-active .ant-skeleton-input{background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);background-size:400% 100%;-webkit-animation:ant-skeleton-loading 1.4s ease infinite;animation:ant-skeleton-loading 1.4s ease infinite}.ant-skeleton-element{display:inline-block;width:auto}.ant-skeleton-element .ant-skeleton-button{display:inline-block;vertical-align:top;background:#f2f2f2;border-radius:4px;width:64px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle{width:32px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round{border-radius:32px}.ant-skeleton-element .ant-skeleton-button-lg{width:80px;height:40px;line-height:40px}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle{width:40px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round{border-radius:40px}.ant-skeleton-element .ant-skeleton-button-sm{width:48px;height:24px;line-height:24px}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle{width:24px;border-radius:50%}.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round{border-radius:24px}.ant-skeleton-element .ant-skeleton-avatar{display:inline-block;vertical-align:top;background:#f2f2f2;width:32px;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-lg{width:40px;height:40px;line-height:40px}.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-avatar-sm{width:24px;height:24px;line-height:24px}.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-input{display:inline-block;vertical-align:top;background:#f2f2f2;width:100%;height:32px;line-height:32px}.ant-skeleton-element .ant-skeleton-input-lg{width:100%;height:40px;line-height:40px}.ant-skeleton-element .ant-skeleton-input-sm{width:100%;height:24px;line-height:24px}.ant-skeleton-element .ant-skeleton-image{display:flex;align-items:center;justify-content:center;vertical-align:top;background:#f2f2f2;width:96px;height:96px;line-height:96px}.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle{border-radius:50%}.ant-skeleton-element .ant-skeleton-image-path{fill:#bfbfbf}.ant-skeleton-element .ant-skeleton-image-svg{width:48px;height:48px;line-height:48px;max-width:192px;max-height:192px}.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle{border-radius:50%}@-webkit-keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@keyframes ant-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.ant-skeleton-rtl{direction:rtl}.ant-skeleton-rtl .ant-skeleton-header{padding-right:0;padding-left:16px}.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar,.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph>li,.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title{-webkit-animation-name:ant-skeleton-loading-rtl;animation-name:ant-skeleton-loading-rtl}@-webkit-keyframes ant-skeleton-loading-rtl{0%{background-position:0 50%}to{background-position:100% 50%}}@keyframes ant-skeleton-loading-rtl{0%{background-position:0 50%}to{background-position:100% 50%}}.ant-slider{box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;height:12px;margin:14px 6px 10px;padding:4px 0;cursor:pointer;touch-action:none}.ant-slider-vertical{width:12px;height:100%;margin:6px 10px;padding:0 4px}.ant-slider-vertical .ant-slider-rail{width:4px;height:100%}.ant-slider-vertical .ant-slider-track{width:4px}.ant-slider-vertical .ant-slider-handle{margin-top:-6px;margin-left:-5px}.ant-slider-vertical .ant-slider-mark{top:0;left:12px;width:18px;height:100%}.ant-slider-vertical .ant-slider-mark-text{left:4px;white-space:nowrap}.ant-slider-vertical .ant-slider-step{width:4px;height:100%}.ant-slider-vertical .ant-slider-dot{top:auto;left:2px;margin-bottom:-4px}.ant-slider-tooltip .ant-tooltip-inner{min-width:unset}.ant-slider-rtl.ant-slider-vertical .ant-slider-handle{margin-right:-5px;margin-left:0}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark{right:12px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-mark-text{right:4px;left:auto}.ant-slider-rtl.ant-slider-vertical .ant-slider-dot{right:2px;left:auto}.ant-slider-with-marks{margin-bottom:28px}.ant-slider-rail{width:100%;background-color:#f5f5f5}.ant-slider-rail,.ant-slider-track{position:absolute;height:4px;border-radius:4px;transition:background-color .3s}.ant-slider-track{background-color:#9dc97f}.ant-slider-handle{position:absolute;width:14px;height:14px;margin-top:-5px;background-color:#fff;border:2px solid #9dc97f;border-radius:50%;box-shadow:0;cursor:pointer;transition:border-color .3s,box-shadow .6s,transform .3s cubic-bezier(.18,.89,.32,1.28)}.ant-slider-handle-dragging.ant-slider-handle-dragging.ant-slider-handle-dragging,.ant-slider-handle:focus{border-color:#98c97a;box-shadow:0 0 0 5px rgba(126,188,89,.2)}.ant-slider-handle:focus{outline:none}.ant-slider-handle.ant-tooltip-open{border-color:#7ebc59}.ant-slider:hover .ant-slider-rail{background-color:#e1e1e1}.ant-slider:hover .ant-slider-track{background-color:#7ebc59}.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open){border-color:#7ebc59}.ant-slider-mark{position:absolute;top:14px;left:0;width:100%;font-size:14px}.ant-slider-mark-text{position:absolute;display:inline-block;color:rgba(0,0,0,.45);text-align:center;word-break:keep-all;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-slider-mark-text-active{color:rgba(0,0,0,.65)}.ant-slider-step{position:absolute;width:100%;height:4px;background:transparent}.ant-slider-dot{position:absolute;top:-2px;width:8px;height:8px;background-color:#fff;border:2px solid #e8e8e8;border-radius:50%;cursor:pointer}.ant-slider-dot,.ant-slider-dot:first-child,.ant-slider-dot:last-child{margin-left:-4px}.ant-slider-dot-active{border-color:#9dc97f}.ant-slider-disabled{cursor:not-allowed}.ant-slider-disabled .ant-slider-track{background-color:rgba(0,0,0,.25)!important}.ant-slider-disabled .ant-slider-dot,.ant-slider-disabled .ant-slider-handle{background-color:#fff;border-color:rgba(0,0,0,.25)!important;box-shadow:none;cursor:not-allowed}.ant-slider-disabled .ant-slider-dot,.ant-slider-disabled .ant-slider-mark-text{cursor:not-allowed!important}.ant-slider-rtl{direction:rtl}.ant-slider-rtl .ant-slider-mark{right:0;left:auto}.ant-slider-rtl .ant-slider-dot,.ant-slider-rtl .ant-slider-dot:first-child,.ant-slider-rtl .ant-slider-dot:last-child{margin-right:-4px;margin-left:0}.ant-spin{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;display:none;color:#7ebc59;text-align:center;vertical-align:middle;opacity:0;transition:transform .3s cubic-bezier(.78,.14,.15,.86)}.ant-spin-spinning{position:static;display:inline-block;opacity:1}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{position:absolute;top:0;left:0;z-index:4;display:block;width:100%;height:100%;max-height:400px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:5px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:2px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:11px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;transition:opacity .3s}.ant-spin-container:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:none\9;width:100%;height:100%;background:#fff;opacity:0;transition:all .3s;content:"";pointer-events:none}.ant-spin-blur{clear:both;overflow:hidden;opacity:.5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ant-spin-blur:after{opacity:.4;pointer-events:auto}.ant-spin-tip{color:rgba(0,0,0,.45)}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:1em;height:1em}.ant-spin-dot-item{position:absolute;display:block;width:9px;height:9px;background-color:#7ebc59;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;-webkit-animation:antSpinMove 1s linear infinite alternate;animation:antSpinMove 1s linear infinite alternate}.ant-spin-dot-item:first-child{top:0;left:0}.ant-spin-dot-item:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.ant-spin-dot-item:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.ant-spin-dot-item:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}.ant-spin-dot-spin{transform:rotate(45deg);-webkit-animation:antRotate 1.2s linear infinite;animation:antRotate 1.2s linear infinite}.ant-spin-sm .ant-spin-dot{font-size:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.ant-spin-blur{background:#fff;opacity:.5}}@-webkit-keyframes antSpinMove{to{opacity:1}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antRotate{to{transform:rotate(405deg)}}@keyframes antRotate{to{transform:rotate(405deg)}}.ant-spin-rtl{direction:rtl}.ant-spin-rtl .ant-spin-dot-spin{transform:rotate(-45deg);-webkit-animation-name:antRotateRtl;animation-name:antRotateRtl}@-webkit-keyframes antRotateRtl{to{transform:rotate(-405deg)}}@keyframes antRotateRtl{to{transform:rotate(-405deg)}}nz-spin{display:block}.ant-statistic{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum"}.ant-statistic-title{margin-bottom:4px;color:rgba(0,0,0,.45);font-size:14px}.ant-statistic-content{color:rgba(0,0,0,.85);font-size:24px;font-family:Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.ant-statistic-content-value{display:inline-block;direction:ltr}.ant-statistic-content-prefix,.ant-statistic-content-suffix{display:inline-block}.ant-statistic-content-prefix{margin-right:4px}.ant-statistic-content-suffix{margin-left:4px}.ant-statistic-rtl{direction:rtl}.ant-statistic-rtl .ant-statistic-content-prefix{margin-right:0;margin-left:4px}.ant-statistic-rtl .ant-statistic-content-suffix{margin-right:4px;margin-left:0}.ant-steps{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:flex;width:100%;font-size:0;text-align:initial}.ant-steps-item{position:relative;display:inline-block;flex:1;overflow:hidden;vertical-align:top}.ant-steps-item-container{outline:none}.ant-steps-item:last-child{flex:none}.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after,.ant-steps-item:last-child>.ant-steps-item-container>.ant-steps-item-tail{display:none}.ant-steps-item-content,.ant-steps-item-icon{display:inline-block;vertical-align:top}.ant-steps-item-icon{width:32px;height:32px;margin:0 8px 0 0;font-size:16px;font-family:Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;line-height:32px;text-align:center;border:1px solid rgba(0,0,0,.25);border-radius:32px;transition:background-color .3s,border-color .3s}.ant-steps-item-icon .ant-steps-icon{position:relative;top:-1px;color:#7ebc59;line-height:1}.ant-steps-item-tail{position:absolute;top:12px;left:0;width:100%;padding:0 10px}.ant-steps-item-tail:after{display:inline-block;width:100%;height:1px;background:#e8e8e8;border-radius:1px;transition:background .3s;content:""}.ant-steps-item-title{position:relative;display:inline-block;padding-right:16px;color:rgba(0,0,0,.65);font-size:16px;line-height:32px}.ant-steps-item-title:after{position:absolute;top:16px;left:100%;display:block;width:9999px;height:1px;background:#e8e8e8;content:""}.ant-steps-item-subtitle{display:inline;margin-left:8px;font-weight:400}.ant-steps-item-description,.ant-steps-item-subtitle{color:rgba(0,0,0,.45);font-size:14px}.ant-steps-item-wait .ant-steps-item-icon{background-color:#fff;border-color:rgba(0,0,0,.25)}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon{color:rgba(0,0,0,.25)}.ant-steps-item-wait .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:rgba(0,0,0,.25)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:rgba(0,0,0,.45)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#e8e8e8}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:rgba(0,0,0,.45)}.ant-steps-item-wait>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#e8e8e8}.ant-steps-item-process .ant-steps-item-icon{background-color:#fff;border-color:#7ebc59}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#7ebc59}.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#7ebc59}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:rgba(0,0,0,.85)}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#e8e8e8}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:rgba(0,0,0,.65)}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#e8e8e8}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon{background:#7ebc59}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-icon .ant-steps-icon{color:#fff}.ant-steps-item-process>.ant-steps-item-container>.ant-steps-item-title{font-weight:500}.ant-steps-item-finish .ant-steps-item-icon{background-color:#fff;border-color:#7ebc59}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon{color:#7ebc59}.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#7ebc59}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:rgba(0,0,0,.65)}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#7ebc59}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:rgba(0,0,0,.45)}.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#7ebc59}.ant-steps-item-error .ant-steps-item-icon{background-color:#fff;border-color:#f5222d}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon{color:#f5222d}.ant-steps-item-error .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#f5222d}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title{color:#f5222d}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#e8e8e8}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-description{color:#f5222d}.ant-steps-item-error>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#e8e8e8}.ant-steps-item.ant-steps-next-error .ant-steps-item-title:after{background:#f5222d}.ant-steps-item-disabled{cursor:not-allowed}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]{cursor:pointer}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-icon .ant-steps-icon,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button] .ant-steps-item-title{transition:color .3s}.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-title{color:#7ebc59}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon{border-color:#7ebc59}.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon .ant-steps-icon{color:#7ebc59}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:16px;white-space:nowrap}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-right:0}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-tail{display:none}.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-description{max-width:140px;white-space:normal}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon{height:auto;background:none;border:0}.ant-steps-item-custom>.ant-steps-item-container>.ant-steps-item-icon>.ant-steps-icon{top:0;left:.5px;width:32px;height:32px;font-size:24px;line-height:32px}.ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#7ebc59}.ant-steps:not(.ant-steps-vertical) .ant-steps-item-custom .ant-steps-item-icon{width:auto;background:none}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-left:12px}.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-left:0}.ant-steps-small .ant-steps-item-icon{width:24px;height:24px;margin:0 8px 0 0;font-size:12px;line-height:24px;text-align:center;border-radius:24px}.ant-steps-small .ant-steps-item-title{padding-right:12px;font-size:14px;line-height:24px}.ant-steps-small .ant-steps-item-title:after{top:12px}.ant-steps-small .ant-steps-item-description{color:rgba(0,0,0,.45);font-size:14px}.ant-steps-small .ant-steps-item-tail{top:8px}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon{width:inherit;height:inherit;line-height:inherit;background:none;border:0;border-radius:0}.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{font-size:24px;line-height:24px;transform:none}.ant-steps-vertical{display:flex;flex-direction:column}.ant-steps-vertical>.ant-steps-item{display:block;flex:1 0 auto;padding-left:0;overflow:visible}.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:left;margin-right:16px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-content{display:block;min-height:48px;overflow:hidden}.ant-steps-vertical>.ant-steps-item .ant-steps-item-title{line-height:32px}.ant-steps-vertical>.ant-steps-item .ant-steps-item-description{padding-bottom:12px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{position:absolute;top:0;left:16px;width:1px;height:100%;padding:38px 0 6px}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail:after{width:1px;height:100%}.ant-steps-vertical>.ant-steps-item:not(:last-child)>.ant-steps-item-container>.ant-steps-item-tail{display:block}.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{display:none}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{position:absolute;top:0;left:12px;padding:30px 0 6px}.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-title{line-height:24px}.ant-steps-label-vertical .ant-steps-item{overflow:visible}.ant-steps-label-vertical .ant-steps-item-tail{margin-left:58px;padding:3.5px 24px}.ant-steps-label-vertical .ant-steps-item-content{display:block;width:116px;margin-top:8px;text-align:center}.ant-steps-label-vertical .ant-steps-item-icon{display:inline-block;margin-left:42px}.ant-steps-label-vertical .ant-steps-item-title{padding-right:0;padding-left:0}.ant-steps-label-vertical .ant-steps-item-title:after{display:none}.ant-steps-label-vertical .ant-steps-item-subtitle{display:block;margin-bottom:4px;margin-left:0;line-height:1.5}.ant-steps-label-vertical.ant-steps-small:not(.ant-steps-dot) .ant-steps-item-icon{margin-left:46px}.ant-steps-dot .ant-steps-item-title,.ant-steps-dot.ant-steps-small .ant-steps-item-title{line-height:1.5}.ant-steps-dot .ant-steps-item-tail,.ant-steps-dot.ant-steps-small .ant-steps-item-tail{top:2px;width:100%;margin:0 0 0 70px;padding:0}.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{width:calc(100% - 20px);height:3px;margin-left:12px}.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{left:2px}.ant-steps-dot .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-icon{width:8px;height:8px;margin-left:67px;padding-right:0;line-height:8px;background:transparent;border:0}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{position:relative;float:left;width:100%;height:100%;border-radius:100px;transition:all .3s}.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{position:absolute;top:-12px;left:-26px;width:60px;height:32px;background:rgba(0,0,0,.001);content:""}.ant-steps-dot .ant-steps-item-content,.ant-steps-dot.ant-steps-small .ant-steps-item-content{width:140px}.ant-steps-dot .ant-steps-item-process .ant-steps-item-icon,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-item-icon{position:relative;top:-1px;width:10px;height:10px;line-height:10px;background:none}.ant-steps-dot .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot,.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-top:8px;margin-left:0;background:none}.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{top:2px;left:-9px;margin:0;padding:22px 0 4px}.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{left:0}.ant-steps-vertical.ant-steps-dot .ant-steps-item-content{width:inherit}.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-item-container .ant-steps-item-icon .ant-steps-icon-dot{left:-2px}.ant-steps-navigation{padding-top:12px}.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-left:-12px}.ant-steps-navigation .ant-steps-item{overflow:visible;text-align:center}.ant-steps-navigation .ant-steps-item-container{display:inline-block;height:100%;margin-left:-16px;padding-bottom:12px;text-align:left;transition:opacity .3s}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-content{max-width:auto}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{max-width:100%;padding-right:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title:after{display:none}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]{cursor:pointer}.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role=button]:hover{opacity:.85}.ant-steps-navigation .ant-steps-item:last-child{flex:1}.ant-steps-navigation .ant-steps-item:last-child:after{display:none}.ant-steps-navigation .ant-steps-item:after{position:absolute;top:50%;left:100%;display:inline-block;width:12px;height:12px;margin-top:-14px;margin-left:-2px;border:1px solid rgba(0,0,0,.25);border-bottom:none;border-left:none;transform:rotate(45deg);content:""}.ant-steps-navigation .ant-steps-item:before{position:absolute;bottom:0;left:50%;display:inline-block;width:0;height:2px;background-color:#7ebc59;transition:width .3s,left .3s;transition-timing-function:ease-out;content:""}.ant-steps-navigation .ant-steps-item.ant-steps-item-active:before{left:0;width:100%}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item{margin-right:0!important}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:before{display:none}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item.ant-steps-item-active:before{top:0;right:0;left:unset;display:block;width:3px;height:calc(100% - 24px)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item:after{position:relative;top:-2px;left:50%;display:block;width:8px;height:8px;margin-bottom:8px;text-align:center;transform:rotate(135deg)}.ant-steps-navigation.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{visibility:hidden}.ant-steps-rtl{direction:rtl}.ant-steps.ant-steps-rtl .ant-steps-item-icon{margin-right:0;margin-left:8px}.ant-steps-rtl .ant-steps-item-tail{right:0;left:auto}.ant-steps-rtl .ant-steps-item-title{padding-right:0;padding-left:16px}.ant-steps-rtl .ant-steps-item-title:after{right:100%;left:auto}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:16px;padding-left:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title{padding-left:0}.ant-steps-rtl .ant-steps-item-custom .ant-steps-item-icon>.ant-steps-icon{right:.5px;left:auto}.ant-steps-rtl.ant-steps-navigation.ant-steps-small .ant-steps-item-container{margin-right:-12px;margin-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container{margin-right:-16px;margin-left:0;text-align:right}.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-navigation .ant-steps-item:after{right:100%;left:auto;margin-right:-2px;margin-left:0;transform:rotate(225deg)}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item{padding-right:12px;padding-left:0}.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child{padding-right:0}.ant-steps-rtl.ant-steps-small .ant-steps-item-title{padding-right:0;padding-left:12px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item .ant-steps-item-icon{float:right;margin-right:0;margin-left:16px}.ant-steps-rtl.ant-steps-vertical>.ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:16px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail{right:12px;left:auto}.ant-steps-rtl.ant-steps-label-vertical .ant-steps-item-title{padding-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail{margin:0 70px 0 0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail:after{margin-right:12px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot{right:2px;left:auto}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon{margin-right:67px;margin-left:0}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot{float:right}.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot:after,.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot:after{right:-26px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon{margin-right:0;margin-left:16px}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item>.ant-steps-item-container>.ant-steps-item-tail{right:-9px;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot{right:0;left:auto}.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-icon-dot{right:-2px;left:auto}.ant-steps-with-progress .ant-steps-item{padding-top:4px}.ant-steps-with-progress .ant-steps-item .ant-steps-item-tail{top:4px!important}.ant-steps-with-progress .ant-steps-item-icon{position:relative}.ant-steps-with-progress .ant-steps-item-icon .ant-progress{position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px}.ant-switch{margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;box-sizing:border-box;min-width:44px;height:22px;line-height:22px;vertical-align:middle;background-color:rgba(0,0,0,.25);border:0;border-radius:100px;cursor:pointer;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-switch:focus{outline:0;box-shadow:0 0 0 2px rgba(0,0,0,.1)}.ant-switch-checked:focus{box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-switch:focus:hover{box-shadow:none}.ant-switch-checked{background-color:#7ebc59}.ant-switch-disabled,.ant-switch-loading{cursor:not-allowed;opacity:.4}.ant-switch-disabled *,.ant-switch-loading *{box-shadow:none;cursor:not-allowed}.ant-switch-inner{display:block;margin:0 7px 0 25px;color:#fff;font-size:12px;transition:margin .2s}.ant-switch-checked .ant-switch-inner{margin:0 25px 0 7px}.ant-switch-handle{top:2px;left:2px;width:18px;height:18px}.ant-switch-handle,.ant-switch-handle:before{position:absolute;transition:all .2s ease-in-out}.ant-switch-handle:before{top:0;right:0;bottom:0;left:0;background-color:#fff;border-radius:9px;box-shadow:0 2px 4px 0 rgba(0,35,11,.2);content:""}.ant-switch-checked .ant-switch-handle{left:calc(100% - 18px - 2px)}.ant-switch:not(.ant-switch-disabled):active .ant-switch-handle:before{right:-30%;left:0}.ant-switch:not(.ant-switch-disabled):active.ant-switch-checked .ant-switch-handle:before{right:0;left:-30%}.ant-switch-loading-icon{position:relative;top:2px;color:rgba(0,0,0,.65);vertical-align:top}.ant-switch-checked .ant-switch-loading-icon{color:#7ebc59}.ant-switch-small{min-width:28px;height:16px;line-height:16px}.ant-switch-small .ant-switch-inner{margin:0 5px 0 18px;font-size:12px}.ant-switch-small .ant-switch-handle{width:12px;height:12px}.ant-switch-small .ant-switch-loading-icon{top:1.5px;font-size:9px}.ant-switch-small.ant-switch-checked .ant-switch-inner{margin:0 18px 0 5px}.ant-switch-small.ant-switch-checked .ant-switch-handle{left:calc(100% - 12px - 2px)}.ant-switch-rtl{direction:rtl}.ant-switch-rtl .ant-switch-inner{margin:0 25px 0 7px}.ant-switch-rtl .ant-switch-handle{right:2px;left:auto}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active .ant-switch-handle:before{right:0;left:-30%}.ant-switch-rtl:not(.ant-switch-rtl-disabled):active.ant-switch-checked .ant-switch-handle:before{right:-30%;left:0}.ant-switch-rtl.ant-switch-checked .ant-switch-inner{margin:0 7px 0 25px}.ant-switch-rtl.ant-switch-checked .ant-switch-handle{right:calc(100% - 18px - 2px)}.ant-switch-rtl.ant-switch-small.ant-switch-checked .ant-switch-handle{right:calc(100% - 12px - 2px)}nz-switch{display:inline-block}.ant-table.ant-table-middle{font-size:14px}.ant-table.ant-table-middle .ant-table-footer,.ant-table.ant-table-middle .ant-table-tbody>tr>td,.ant-table.ant-table-middle .ant-table-thead>tr>th,.ant-table.ant-table-middle .ant-table-title,.ant-table.ant-table-middle tfoot>tr>td,.ant-table.ant-table-middle tfoot>tr>th{padding:12px 8px}.ant-table.ant-table-middle .ant-table-thead th.ant-table-column-has-sorters{padding:0}.ant-table.ant-table-middle .ant-table-thead .ant-table-filter-column{margin:-12px -8px}.ant-table.ant-table-middle .ant-table-thead .ant-table-filter-column-title{padding:12px 2.3em 12px 8px}.ant-table.ant-table-middle .ant-table-thead .ant-table-column-sorters{padding:12px 8px}.ant-table.ant-table-middle .ant-table-expanded-row-fixed{margin:-12px -8px}.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-12px -8px -12px 25px}.ant-table.ant-table-small{font-size:14px}.ant-table.ant-table-small .ant-table-footer,.ant-table.ant-table-small .ant-table-tbody>tr>td,.ant-table.ant-table-small .ant-table-thead>tr>th,.ant-table.ant-table-small .ant-table-title,.ant-table.ant-table-small tfoot>tr>td,.ant-table.ant-table-small tfoot>tr>th{padding:8px}.ant-table.ant-table-small .ant-table-thead th.ant-table-column-has-sorters{padding:0}.ant-table.ant-table-small .ant-table-thead .ant-table-filter-column{margin:-8px}.ant-table.ant-table-small .ant-table-thead .ant-table-filter-column-title{padding:8px 2.3em 8px 8px}.ant-table.ant-table-small .ant-table-thead .ant-table-column-sorters{padding:8px}.ant-table.ant-table-small .ant-table-expanded-row-fixed{margin:-8px}.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table{margin:-8px -8px -8px 25px}.ant-table-small .ant-table-thead>tr>th{background-color:#fafafa}.ant-table-small .ant-table-selection-column{width:46px;min-width:46px}.ant-table.ant-table-bordered>.ant-table-title{border:1px solid #e8e8e8;border-bottom:0}.ant-table.ant-table-bordered>.ant-table-container{border:1px solid #e8e8e8;border-right:0;border-bottom:0}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>td,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>th{border-right:1px solid #e8e8e8}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr:not(:last-child)>th,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr:not(:last-child)>th{border-bottom:1px solid #e8e8e8}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>thead>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tfoot>tr>.ant-table-cell-fix-right-first:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>thead>tr>.ant-table-cell-fix-right-first:after{border-right:1px solid #e8e8e8}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-16px -17px}.ant-table.ant-table-bordered>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed:after,.ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table>tbody>tr>td>.ant-table-expanded-row-fixed:after{position:absolute;top:0;right:1px;bottom:0;border-right:1px solid #e8e8e8;content:""}.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-expanded-row>td,.ant-table.ant-table-bordered.ant-table-scroll-horizontal>.ant-table-container>.ant-table-body>table>tbody>tr.ant-table-placeholder>td{border-right:0}.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-middle>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-12px -9px}.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-body>table>tbody>tr>td>.ant-table-expanded-row-fixed,.ant-table.ant-table-bordered.ant-table-small>.ant-table-container>.ant-table-content>table>tbody>tr>td>.ant-table-expanded-row-fixed{margin:-8px -9px}.ant-table.ant-table-bordered>.ant-table-footer{border:1px solid #e8e8e8;border-top:0}.ant-table-cell .ant-table-container:first-child{border-top:0}.ant-table-cell-scrollbar{box-shadow:0 1px 0 1px #fafafa}.ant-table-wrapper{clear:both;max-width:100%}.ant-table-wrapper:before{display:table;content:""}.ant-table-wrapper:after{display:table;clear:both;content:""}.ant-table{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;font-size:14px;background:#fff;border-radius:4px}.ant-table table{width:100%;text-align:left;border-radius:4px 4px 0 0;border-collapse:separate;border-spacing:0}.ant-table-tbody>tr>td,.ant-table-thead>tr>th,.ant-table tfoot>tr>td,.ant-table tfoot>tr>th{position:relative;padding:16px;overflow-wrap:break-word}.ant-table-cell-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first{overflow:visible}.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content{display:block;overflow:hidden;text-overflow:ellipsis}.ant-table-title{padding:16px}.ant-table-footer{padding:16px;color:rgba(0,0,0,.85);background:#fafafa}.ant-table-thead>tr>th{color:rgba(0,0,0,.85);font-weight:500;text-align:left;background:#fafafa;border-bottom:1px solid #e8e8e8;transition:background .3s ease}.ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #e8e8e8;transition:background .3s}.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table{margin:-16px -16px -16px 33px}.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td{border-bottom:0}.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:first-child,.ant-table-tbody>tr>td>.ant-table-wrapper:only-child .ant-table-tbody>tr:last-child>td:last-child{border-radius:0}.ant-table-tbody>tr.ant-table-row:hover>td{background:#f5fced}.ant-table-tbody>tr.ant-table-row-selected>td{background:#fafafa;border-color:rgba(0,0,0,.03)}.ant-table-tbody>tr.ant-table-row-selected:hover>td{background:#f5f5f5}.ant-table tfoot>tr>td,.ant-table tfoot>tr>th{border-bottom:1px solid #e8e8e8}.ant-table-pagination.ant-pagination{margin:16px 0}.ant-table-pagination{display:flex}.ant-table-pagination-left{justify-content:flex-start}.ant-table-pagination-center{justify-content:center}.ant-table-pagination-right{justify-content:flex-end}.ant-table-thead th.ant-table-column-has-sorters{padding:0;cursor:pointer;transition:all .3s}.ant-table-thead th.ant-table-column-has-sorters:hover{background:#f2f2f2}.ant-table-thead th.ant-table-column-has-sorters:hover .ant-table-filter-trigger-container{background:#f7f7f7}.ant-table-thead th.ant-table-column-sort{background:#f5f5f5}td.ant-table-column-sort{background:rgba(0,0,0,.01)}.ant-table-column-sorters-with-tooltip{display:inline-block;width:100%}.ant-table-column-sorters{display:inline-flex;align-items:center;padding:16px}.ant-table-column-sorter{margin-top:.15em;margin-bottom:-.15em;margin-left:8px;color:#bfbfbf}.ant-table-column-sorter-full{margin-top:-.2em;margin-bottom:0}.ant-table-column-sorter-inner{display:inline-flex;flex-direction:column;align-items:center}.ant-table-column-sorter-down,.ant-table-column-sorter-up{font-size:11px}.ant-table-column-sorter-down.active,.ant-table-column-sorter-up.active{color:#7ebc59}.ant-table-column-sorter-up+.ant-table-column-sorter-down{margin-top:-.3em}.ant-table-filter-column{display:flex;align-items:center;margin:-16px}.ant-table-filter-column-title{flex:auto;padding:16px 2.3em 16px 16px}.ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column{margin:0}.ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title{padding:0 2.3em 0 0}.ant-table-filter-trigger-container{position:absolute;top:0;right:0;bottom:0;display:flex;flex:none;align-items:stretch;align-self:stretch;cursor:pointer;transition:background-color .3s}.ant-table-filter-trigger-container-open,.ant-table-filter-trigger-container:hover,.ant-table-thead th.ant-table-column-has-sorters:hover .ant-table-filter-trigger-container:hover{background:#e5e5e5}.ant-table-filter-trigger{display:block;width:2.3em;color:#bfbfbf;font-size:12px;transition:color .3s}.ant-table-filter-trigger .anticon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ant-table-filter-trigger-container-open .ant-table-filter-trigger,.ant-table-filter-trigger:hover{color:rgba(0,0,0,.45)}.ant-table-filter-trigger.active{color:#7ebc59}.ant-table-filter-dropdown{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";min-width:120px;background-color:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-table-filter-dropdown .ant-dropdown-menu{max-height:264px;overflow-x:hidden;border:0;box-shadow:none}.ant-table-filter-dropdown-submenu>ul{max-height:calc(100vh - 130px);overflow-x:hidden;overflow-y:auto}.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-table-filter-dropdown .ant-checkbox-wrapper+span{padding-left:8px}.ant-table-filter-dropdown-btns{display:flex;justify-content:space-between;padding:7px 8px 7px 3px;overflow:hidden;background-color:inherit;border-top:1px solid #e8e8e8}.ant-table .ant-table-selection-col{width:32px}table tr td.ant-table-selection-column,table tr th.ant-table-selection-column{padding-right:8px;padding-left:8px;text-align:center}table tr td.ant-table-selection-column .ant-radio-wrapper,table tr th.ant-table-selection-column .ant-radio-wrapper{margin-right:0}.ant-table-selection{position:relative;display:inline-flex;flex-direction:column}.ant-table-selection-extra{position:absolute;top:0;z-index:1;cursor:pointer;transition:all .3s;-webkit-margin-start:100%;margin-inline-start:100%;-webkit-padding-start:4px;padding-inline-start:4px}.ant-table-selection-extra .anticon{color:#bfbfbf;font-size:10px}.ant-table-selection-extra .anticon:hover{color:#a6a6a6}.ant-table-expand-icon-col{width:48px}.ant-table-row-expand-icon-cell{text-align:center}.ant-table-row-indent{float:left;height:1px}.ant-table-row-expand-icon{color:#7ebc59;text-decoration:none;cursor:pointer;transition:color .3s;position:relative;display:inline-flex;float:left;box-sizing:border-box;width:17px;height:17px;padding:0;color:inherit;line-height:17px;background:#fff;border:1px solid #e8e8e8;border-radius:4px;outline:none;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{color:#9dc97f}.ant-table-row-expand-icon:active{color:#5c963f}.ant-table-row-expand-icon:active,.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{border-color:currentColor}.ant-table-row-expand-icon:after,.ant-table-row-expand-icon:before{position:absolute;background:currentColor;transition:transform .3s ease-out;content:""}.ant-table-row-expand-icon:before{top:7px;right:3px;left:3px;height:1px}.ant-table-row-expand-icon:after{top:3px;bottom:3px;left:7px;width:1px;transform:rotate(90deg)}.ant-table-row-expand-icon-collapsed:before{transform:rotate(-180deg)}.ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}.ant-table-row-expand-icon-spaced{background:transparent;border:0;visibility:hidden}.ant-table-row-expand-icon-spaced:after,.ant-table-row-expand-icon-spaced:before{display:none;content:none}.ant-table-row-indent+.ant-table-row-expand-icon{margin-top:2px;margin-right:8px}tr.ant-table-expanded-row:hover>td,tr.ant-table-expanded-row>td{background:#fbfbfb}tr.ant-table-expanded-row .ant-descriptions-view table{width:auto}.ant-table .ant-table-expanded-row-fixed{position:relative;margin:-16px;padding:16px}.ant-table-tbody>tr.ant-table-placeholder{text-align:center}.ant-table-empty .ant-table-tbody>tr.ant-table-placeholder{color:rgba(0,0,0,.25)}.ant-table-tbody>tr.ant-table-placeholder:hover>td{background:#fff}.ant-table-cell-fix-left,.ant-table-cell-fix-right{position:-webkit-sticky!important;position:sticky!important;z-index:2;background:#fff}.ant-table-cell-fix-left-first:after,.ant-table-cell-fix-left-last:after{position:absolute;top:0;right:0;bottom:-1px;width:30px;transform:translateX(100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table-cell-fix-right-first:after,.ant-table-cell-fix-right-last:after{position:absolute;top:0;bottom:-1px;left:0;width:30px;transform:translateX(-100%);transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:after,.ant-table .ant-table-container:before{position:absolute;top:0;bottom:0;z-index:1;width:30px;transition:box-shadow .3s;content:"";pointer-events:none}.ant-table .ant-table-container:before{left:0}.ant-table .ant-table-container:after{right:0}.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container{position:relative}.ant-table-ping-left .ant-table-cell-fix-left-first:after,.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container:before{box-shadow:inset 10px 0 8px -8px rgba(0,0,0,.15)}.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container{position:relative}.ant-table-ping-right .ant-table-cell-fix-right-first:after,.ant-table-ping-right .ant-table-cell-fix-right-last:after,.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container:after{box-shadow:inset -10px 0 8px -8px rgba(0,0,0,.15)}.ant-table-sticky-header,.ant-table-sticky-scroll{position:-webkit-sticky;position:sticky;z-index:calc(2 + 1)}.ant-table-sticky-scroll{bottom:0;display:flex;align-items:center;background:#fff;border-top:1px solid #e8e8e8;opacity:.6}.ant-table-sticky-scroll:hover{transform-origin:center bottom}.ant-table-sticky-scroll-bar{height:8px;background-color:rgba(0,0,0,.35);border-radius:4px}.ant-table-sticky-scroll-bar-active,.ant-table-sticky-scroll-bar:hover{background-color:rgba(0,0,0,.8)}@media (-ms-high-contrast:none){.ant-table-ping-left .ant-table-cell-fix-left-last:after,.ant-table-ping-right .ant-table-cell-fix-right-first:after{box-shadow:none!important}}.ant-table-title{border-radius:4px 4px 0 0}.ant-table-title+.ant-table-container{border-top-left-radius:0;border-top-right-radius:0}.ant-table-title+.ant-table-container table>thead>tr:first-child th:first-child,.ant-table-title+.ant-table-container table>thead>tr:first-child th:last-child{border-radius:0}.ant-table-container{border-top-right-radius:4px}.ant-table-container,.ant-table-container table>thead>tr:first-child th:first-child{border-top-left-radius:4px}.ant-table-container table>thead>tr:first-child th:last-child{border-top-right-radius:4px}.ant-table-footer{border-radius:0 0 4px 4px}.ant-table-rtl,.ant-table-wrapper-rtl{direction:rtl}.ant-table-wrapper-rtl .ant-table table{text-align:right}.ant-table-wrapper-rtl .ant-table-thead>tr>th[colspan]:not([colspan="1"]){text-align:center}.ant-table-wrapper-rtl .ant-table-thead>tr>th{text-align:right}.ant-table-tbody>tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl{margin:-16px 33px -16px -16px}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left{justify-content:flex-end}.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right{justify-content:flex-start}.ant-table-wrapper-rtl .ant-table-column-sorter{margin-right:8px;margin-left:0}.ant-table-wrapper-rtl .ant-table-filter-column-title{padding:16px 16px 16px 2.3em}.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title{padding:0 0 0 2.3em}.ant-table-wrapper-rtl .ant-table-filter-trigger-container{right:auto;left:0}.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper+span{padding-right:8px;padding-left:0}.ant-table-wrapper-rtl .ant-table-selection{text-align:center}.ant-table-wrapper-rtl .ant-table-row-expand-icon,.ant-table-wrapper-rtl .ant-table-row-indent{float:right}.ant-table-wrapper-rtl .ant-table-row-indent+.ant-table-row-expand-icon{margin-right:0;margin-left:8px}.ant-table-wrapper-rtl .ant-table-row-expand-icon:after{transform:rotate(-90deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:before{transform:rotate(180deg)}.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed:after{transform:rotate(0deg)}nz-table,nz-table-inner-default,nz-table-inner-scroll,nz-table-selection,nz-table-title-footer{display:block}.nz-table-out-bordered>.ant-table-container,.nz-table-out-bordered>.ant-table-title{border:1px solid #e8e8e8;border-bottom:0}.nz-table-out-bordered>.ant-table-footer{border:1px solid #e8e8e8;border-top:0}cdk-virtual-scroll-viewport.ant-table-body{overflow-y:scroll}.nz-table-hide-scrollbar{scrollbar-color:#fafafa #fafafa}.nz-table-hide-scrollbar::-webkit-scrollbar{background-color:#fafafa}.ant-table.ant-table-small .nz-table-hide-scrollbar{scrollbar-color:#fafafa #fafafa}.ant-table.ant-table-small .nz-table-hide-scrollbar::-webkit-scrollbar{background-color:transparent}.ant-table-wrapper-rtl .ant-table thead>tr>th.ant-table-selection-column{text-align:center}.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:8px 0;font-size:14px}.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:16px 0;font-size:16px}.ant-tabs-card.ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{padding:6px 16px}.ant-tabs-card.ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{padding:7px 16px 6px}.ant-tabs-rtl{direction:rtl}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab{margin:0 0 0 32px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab:last-of-type{margin-left:0}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .anticon{margin-right:0;margin-left:12px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove{margin-right:8px;margin-left:-4px}.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-nav{order:1}.ant-tabs-rtl.ant-tabs-left>.ant-tabs-content-holder,.ant-tabs-rtl.ant-tabs-right>.ant-tabs-nav{order:0}.ant-tabs-rtl.ant-tabs-right>.ant-tabs-content-holder{order:1}.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type),.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type),.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type),.ant-tabs-rtl.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type){margin-right:0;margin-left:2px}.ant-tabs-dropdown-rtl{direction:rtl}.ant-tabs-dropdown-rtl .ant-tabs-dropdown-menu-item{text-align:right}.ant-tabs-bottom,.ant-tabs-top{flex-direction:column}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav,.ant-tabs-top>.ant-tabs-nav,.ant-tabs-top>div>.ant-tabs-nav{margin:0 0 16px}.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before,.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before{position:absolute;right:0;left:0;border-bottom:1px solid #e8e8e8;content:""}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar{height:2px}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:width .3s,left .3s,right .3s}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;bottom:0;width:30px}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{left:0;box-shadow:inset 10px 0 8px -8px rgba(0,0,0,.08)}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{right:0;box-shadow:inset -10px 0 8px -8px rgba(0,0,0,.08)}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right:after{opacity:1}.ant-tabs-top>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-top>div>.ant-tabs-nav:before{bottom:0}.ant-tabs-bottom>.ant-tabs-nav,.ant-tabs-bottom>div>.ant-tabs-nav{order:1;margin-top:16px;margin-bottom:0}.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-bottom>div>.ant-tabs-nav:before{top:0}.ant-tabs-bottom>.ant-tabs-content-holder,.ant-tabs-bottom>div>.ant-tabs-content-holder{order:0}.ant-tabs-left>.ant-tabs-nav,.ant-tabs-left>div>.ant-tabs-nav,.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{flex-direction:column;min-width:50px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{margin:0 0 16px;padding:8px 24px;text-align:center}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab:last-of-type,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab:last-of-type,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab:last-of-type,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab:last-of-type{margin-bottom:0}.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn,.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn{font-weight:400;text-shadow:0 0 .25px #5c963f}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap{flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{right:0;left:0;height:30px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{top:0;box-shadow:inset 0 10px 8px -8px rgba(0,0,0,.08)}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap:after{bottom:0;box-shadow:inset 0 -10px 8px -8px rgba(0,0,0,.08)}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom:after,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top:before{opacity:1}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{width:2px}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar-animated,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar-animated{transition:height .3s,top .3s}.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-nav-operations{flex-direction:column}.ant-tabs-left>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-ink-bar{right:0}.ant-tabs-left>.ant-tabs-content-holder,.ant-tabs-left>div>.ant-tabs-content-holder{margin-left:-1px;border-left:1px solid #e8e8e8}.ant-tabs-left>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-left>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-left:24px}.ant-tabs-right>.ant-tabs-nav,.ant-tabs-right>div>.ant-tabs-nav{order:1}.ant-tabs-right>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-ink-bar{left:0}.ant-tabs-right>.ant-tabs-content-holder,.ant-tabs-right>div>.ant-tabs-content-holder{order:0;margin-right:-1px;border-right:1px solid #e8e8e8}.ant-tabs-right>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane,.ant-tabs-right>div>.ant-tabs-content-holder>.ant-tabs-content>.ant-tabs-tabpane{padding-right:24px}.ant-tabs-dropdown{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-tabs-dropdown-hidden{display:none}.ant-tabs-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:4px;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-tabs-dropdown-menu-item{min-width:120px;margin:0;padding:5px 12px;overflow:hidden;color:rgba(0,0,0,.65);font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-tabs-dropdown-menu-item:hover{background:#f5fced}.ant-tabs-dropdown-menu-item-disabled,.ant-tabs-dropdown-menu-item-disabled:hover{color:rgba(0,0,0,.25);background:transparent;cursor:not-allowed}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab{margin:0;padding:8.5px 16px;background:#fafafa;border:1px solid #e8e8e8;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs-card>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-tab-active{color:#7ebc59;background:#fff}.ant-tabs-card>.ant-tabs-nav .ant-tabs-ink-bar,.ant-tabs-card>div>.ant-tabs-nav .ant-tabs-ink-bar{visibility:hidden}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type),.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type),.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type),.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type){margin-right:2px}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab{border-radius:4px 4px 0 0}.ant-tabs-card.ant-tabs-top>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-top>div>.ant-tabs-nav .ant-tabs-tab-active{border-bottom-color:#fff}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 0 4px 4px}.ant-tabs-card.ant-tabs-bottom>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-bottom>div>.ant-tabs-nav .ant-tabs-tab-active{border-top-color:#fff}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type),.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type),.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type),.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab:not(:last-of-type){margin-bottom:2px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab{border-radius:4px 0 0 4px}.ant-tabs-card.ant-tabs-left>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-left>div>.ant-tabs-nav .ant-tabs-tab-active{border-right-color:#fff}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab{border-radius:0 4px 4px 0}.ant-tabs-card.ant-tabs-right>.ant-tabs-nav .ant-tabs-tab-active,.ant-tabs-card.ant-tabs-right>div>.ant-tabs-nav .ant-tabs-tab-active{border-left-color:#fff}.ant-tabs{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:flex;overflow:hidden}.ant-tabs>.ant-tabs-nav,.ant-tabs>div>.ant-tabs-nav{position:relative;display:flex;flex:none;align-items:center}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap{position:relative;display:inline-block;display:flex;flex:auto;align-self:stretch;overflow:hidden;white-space:nowrap;transform:translate(0)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-wrap:before,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-wrap:before{position:absolute;z-index:1;opacity:0;transition:opacity .3s;content:"";pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-list,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-list{position:relative;display:flex;transition:transform .3s}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations{display:flex;align-self:stretch}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-operations-hidden,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-operations-hidden{position:absolute;visibility:hidden;pointer-events:none}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more{position:relative;padding:8.5px 16px;background:transparent;border:0}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-more:after,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-more:after{position:absolute;right:0;bottom:0;left:0;height:5px;transform:translateY(100%);content:""}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add{min-width:40px;padding:0 8px;background:#fafafa;border:1px solid #e8e8e8;border-radius:4px 4px 0 0;outline:none;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1)}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:hover,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:hover{color:#9dc97f}.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>.ant-tabs-nav .ant-tabs-nav-add:focus,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:active,.ant-tabs>div>.ant-tabs-nav .ant-tabs-nav-add:focus{color:#5c963f}.ant-tabs-extra-content{flex:none}.ant-tabs-centered>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*=ant-tabs-nav-wrap-ping]),.ant-tabs-centered>div>.ant-tabs-nav .ant-tabs-nav-wrap:not([class*=ant-tabs-nav-wrap-ping]){justify-content:center}.ant-tabs-ink-bar{position:absolute;background:#7ebc59;pointer-events:none}.ant-tabs-tab{position:relative;display:inline-flex;align-items:center;margin:0 32px 0 0;padding:12px 16px;font-size:14px;background:transparent;border:0;outline:none;cursor:pointer}.ant-tabs-tab:last-of-type{margin-right:0;margin-left:0}.ant-tabs-tab-btn:active,.ant-tabs-tab-btn:focus,.ant-tabs-tab-remove:active,.ant-tabs-tab-remove:focus{color:#5c963f}.ant-tabs-tab-btn,.ant-tabs-tab-remove{outline:none;transition:all .3s}.ant-tabs-tab-remove{flex:none;margin-right:-4px;margin-left:8px;color:rgba(0,0,0,.45);font-size:12px;background:transparent;border:none;cursor:pointer}.ant-tabs-tab-remove:hover{color:rgba(0,0,0,.85)}.ant-tabs-tab:hover{color:#9dc97f}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#7ebc59;font-weight:500}.ant-tabs-tab.ant-tabs-tab-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:focus,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:active,.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:focus{color:rgba(0,0,0,.25)}.ant-tabs-tab .ant-tabs-tab-remove .anticon{margin:0}.ant-tabs-tab .anticon{margin-right:12px}.ant-tabs-content{display:flex;width:100%}.ant-tabs-content-holder{flex:auto;min-width:0;min-height:0}.ant-tabs-content-animated{transition:margin .3s}.ant-tabs-tabpane{flex:none;width:100%;outline:none}.ant-tabs-dropdown-menu-item a[nz-tab-link]{position:relative}a[nz-tab-link]:before{position:absolute;top:0;left:0;right:0;bottom:0;background-color:transparent;content:""}nz-tab-nav-operation,nz-tabs-nav,nz-tabset{display:block}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu{max-height:200px;margin:0;padding:4px 0;overflow-x:hidden;overflow-y:auto;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:4px;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.15)}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item{min-width:120px;margin:0;padding:5px 12px;overflow:hidden;color:rgba(0,0,0,.65);font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item:hover{background:#f5fced}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled,.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled:hover{color:rgba(0,0,0,.25);background:transparent;cursor:not-allowed}.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled:hover a,.nz-tabs-dropdown.ant-dropdown .ant-dropdown-menu-item-disabled a{pointer-events:none;color:rgba(0,0,0,.25)}.ant-tabs-rtl .ant-tabs-rtl-tab-next{right:auto;left:2px}.ant-tabs-tab-disabled a{pointer-events:none;color:rgba(0,0,0,.25)}.ant-tag{box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:inline-block;height:auto;margin:0 8px 0 0;padding:0 7px;font-size:12px;line-height:20px;white-space:nowrap;background:#fafafa;border:1px solid #d9d9d9;border-radius:4px;opacity:1;transition:all .3s}.ant-tag:hover{opacity:.85}.ant-tag,.ant-tag a,.ant-tag a:hover{color:rgba(0,0,0,.65)}.ant-tag>a:first-child:last-child{display:inline-block;margin:0 -8px;padding:0 8px}.ant-tag-close-icon{margin-left:3px;color:rgba(0,0,0,.45);font-size:10px;cursor:pointer;transition:all .3s}.ant-tag-close-icon:hover{color:rgba(0,0,0,.85)}.ant-tag-has-color{border-color:transparent}.ant-tag-has-color,.ant-tag-has-color .anticon-close,.ant-tag-has-color .anticon-close:hover,.ant-tag-has-color a,.ant-tag-has-color a:hover{color:#fff}.ant-tag-checkable{background-color:transparent;border-color:transparent;cursor:pointer}.ant-tag-checkable:not(.ant-tag-checkable-checked):hover{color:#7ebc59}.ant-tag-checkable-checked,.ant-tag-checkable:active{color:#fff}.ant-tag-checkable-checked{background-color:#7ebc59}.ant-tag-checkable:active{background-color:#5c963f}.ant-tag-hidden{display:none}.ant-tag-pink{color:#eb2f96;background:#fff0f6;border-color:#ffadd2}.ant-tag-pink-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-magenta{color:#eb2f96;background:#fff0f6;border-color:#ffadd2}.ant-tag-magenta-inverse{color:#fff;background:#eb2f96;border-color:#eb2f96}.ant-tag-red{color:#f5222d;background:#fff1f0;border-color:#ffa39e}.ant-tag-red-inverse{color:#fff;background:#f5222d;border-color:#f5222d}.ant-tag-volcano{color:#fa541c;background:#fff2e8;border-color:#ffbb96}.ant-tag-volcano-inverse{color:#fff;background:#fa541c;border-color:#fa541c}.ant-tag-orange{color:#fa8c16;background:#fff7e6;border-color:#ffd591}.ant-tag-orange-inverse{color:#fff;background:#fa8c16;border-color:#fa8c16}.ant-tag-yellow{color:#fadb14;background:#feffe6;border-color:#fffb8f}.ant-tag-yellow-inverse{color:#fff;background:#fadb14;border-color:#fadb14}.ant-tag-gold{color:#faad14;background:#fffbe6;border-color:#ffe58f}.ant-tag-gold-inverse{color:#fff;background:#faad14;border-color:#faad14}.ant-tag-cyan{color:#13c2c2;background:#e6fffb;border-color:#87e8de}.ant-tag-cyan-inverse{color:#fff;background:#13c2c2;border-color:#13c2c2}.ant-tag-lime{color:#a0d911;background:#fcffe6;border-color:#eaff8f}.ant-tag-lime-inverse{color:#fff;background:#a0d911;border-color:#a0d911}.ant-tag-green{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.ant-tag-green-inverse{color:#fff;background:#52c41a;border-color:#52c41a}.ant-tag-blue{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}.ant-tag-blue-inverse{color:#fff;background:#1890ff;border-color:#1890ff}.ant-tag-geekblue{color:#2f54eb;background:#f0f5ff;border-color:#adc6ff}.ant-tag-geekblue-inverse{color:#fff;background:#2f54eb;border-color:#2f54eb}.ant-tag-purple{color:#722ed1;background:#f9f0ff;border-color:#d3adf7}.ant-tag-purple-inverse{color:#fff;background:#722ed1;border-color:#722ed1}.ant-tag-success{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.ant-tag-processing{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}.ant-tag-error{color:#f5222d;background:#fff1f0;border-color:#ffa39e}.ant-tag-warning{color:#fa8c16;background:#fff7e6;border-color:#ffd591}.ant-tag>.anticon+span,.ant-tag>span+.anticon{margin-left:7px}.ant-tag.ant-tag-rtl{margin-right:0;margin-left:8px;direction:rtl;text-align:right}.ant-tag-rtl .ant-tag-close-icon{margin-right:3px;margin-left:0}.ant-tag-rtl.ant-tag>.anticon+span,.ant-tag-rtl.ant-tag>span+.anticon{margin-right:7px;margin-left:0}.ant-timeline{box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;font-feature-settings:"tnum";margin:0;padding:0;list-style:none}.ant-timeline-item{position:relative;margin:0;padding-bottom:20px;font-size:14px;list-style:none}.ant-timeline-item-tail{position:absolute;top:10px;left:4px;height:calc(100% - 10px);border-left:2px solid #e8e8e8}.ant-timeline-item-pending .ant-timeline-item-head{font-size:12px;background-color:transparent}.ant-timeline-item-pending .ant-timeline-item-tail{display:none}.ant-timeline-item-head{position:absolute;width:10px;height:10px;background-color:#fff;border:2px solid transparent;border-radius:100px}.ant-timeline-item-head-blue{color:#7ebc59;border-color:#7ebc59}.ant-timeline-item-head-red{color:#f5222d;border-color:#f5222d}.ant-timeline-item-head-green{color:#52c41a;border-color:#52c41a}.ant-timeline-item-head-gray{color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-timeline-item-head-custom{position:absolute;top:5.5px;left:5px;width:auto;height:auto;margin-top:0;padding:3px 1px;line-height:1;text-align:center;border:0;border-radius:0;transform:translate(-50%,-50%)}.ant-timeline-item-content{position:relative;top:-6px;margin:0 0 0 26px;word-break:break-word}.ant-timeline-item-last>.ant-timeline-item-tail{display:none}.ant-timeline-item-last>.ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-tail{left:50%}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-head{margin-left:-4px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom{margin-left:1px}.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content{left:calc(50% - 4px);width:calc(50% - 14px);text-align:left}.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(50% - 12px);margin:0;text-align:right}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom,.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail{left:calc(100% - 4px - 2px)}.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:calc(100% - 18px)}.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail{display:block;height:calc(100% - 14px);border-left:2px dotted #e8e8e8}.ant-timeline.ant-timeline-reverse .ant-timeline-item-last .ant-timeline-item-tail{display:none}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{top:15px;display:block;height:calc(100% - 15px);border-left:2px dotted #e8e8e8}.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-content{min-height:48px}.ant-timeline.ant-timeline-label .ant-timeline-item-label{position:absolute;top:-6px;width:calc(50% - 12px);text-align:right}.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{left:calc(50% + 14px);width:calc(50% - 14px);text-align:left}.ant-timeline-rtl{direction:rtl}.ant-timeline-rtl .ant-timeline-item-tail{right:4px;left:auto;border-right:2px solid #e8e8e8;border-left:none}.ant-timeline-rtl .ant-timeline-item-head-custom{right:5px;left:auto;transform:translate(50%,-50%)}.ant-timeline-rtl .ant-timeline-item-content{margin:0 18px 0 0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-tail{right:50%;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head{margin-right:-4px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom{margin-right:1px;margin-left:0}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content{right:calc(50% - 4px);left:auto;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom,.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail{right:0;left:auto}.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content{width:100%;margin-right:18px;text-align:right}.ant-timeline-rtl.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail,.ant-timeline-rtl.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail{border-right:2px dotted #e8e8e8;border-left:none}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-label{text-align:left}.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label{right:calc(50% + 14px);text-align:right}.ant-tooltip{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;z-index:1060;display:block;max-width:250px;visibility:visible}.ant-tooltip-hidden{display:none}.ant-tooltip-placement-top,.ant-tooltip-placement-topLeft,.ant-tooltip-placement-topRight{padding-bottom:8px}.ant-tooltip-placement-right,.ant-tooltip-placement-rightBottom,.ant-tooltip-placement-rightTop{padding-left:8px}.ant-tooltip-placement-bottom,.ant-tooltip-placement-bottomLeft,.ant-tooltip-placement-bottomRight{padding-top:8px}.ant-tooltip-placement-left,.ant-tooltip-placement-leftBottom,.ant-tooltip-placement-leftTop{padding-right:8px}.ant-tooltip-inner{min-width:30px;min-height:32px;padding:6px 8px;color:#fff;text-align:left;text-decoration:none;word-wrap:break-word;background-color:rgba(0,0,0,.75);border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-tooltip-arrow{position:absolute;display:block;width:13.07106781px;height:13.07106781px;overflow:hidden;background:transparent;pointer-events:none}.ant-tooltip-arrow-content{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:5px;height:5px;margin:auto;background-color:rgba(0,0,0,.75);content:"";pointer-events:auto}.ant-tooltip-placement-top .ant-tooltip-arrow,.ant-tooltip-placement-topLeft .ant-tooltip-arrow,.ant-tooltip-placement-topRight .ant-tooltip-arrow{bottom:-5.07106781px}.ant-tooltip-placement-top .ant-tooltip-arrow-content,.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-topRight .ant-tooltip-arrow-content{box-shadow:3px 3px 7px rgba(0,0,0,.07);transform:translateY(-6.53553391px) rotate(45deg)}.ant-tooltip-placement-top .ant-tooltip-arrow{left:50%;transform:translateX(-50%)}.ant-tooltip-placement-topLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-topRight .ant-tooltip-arrow{right:13px}.ant-tooltip-placement-right .ant-tooltip-arrow,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow,.ant-tooltip-placement-rightTop .ant-tooltip-arrow{left:-5.07106781px}.ant-tooltip-placement-right .ant-tooltip-arrow-content,.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content{box-shadow:-3px 3px 7px rgba(0,0,0,.07);transform:translateX(6.53553391px) rotate(45deg)}.ant-tooltip-placement-right .ant-tooltip-arrow{top:50%;transform:translateY(-50%)}.ant-tooltip-placement-rightTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-rightBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-left .ant-tooltip-arrow,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow,.ant-tooltip-placement-leftTop .ant-tooltip-arrow{right:-5.07106781px}.ant-tooltip-placement-left .ant-tooltip-arrow-content,.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content,.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content{box-shadow:3px -3px 7px rgba(0,0,0,.07);transform:translateX(-6.53553391px) rotate(45deg)}.ant-tooltip-placement-left .ant-tooltip-arrow{top:50%;transform:translateY(-50%)}.ant-tooltip-placement-leftTop .ant-tooltip-arrow{top:5px}.ant-tooltip-placement-leftBottom .ant-tooltip-arrow{bottom:5px}.ant-tooltip-placement-bottom .ant-tooltip-arrow,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{top:-5.07106781px}.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content{box-shadow:-3px -3px 7px rgba(0,0,0,.07);transform:translateY(6.53553391px) rotate(45deg)}.ant-tooltip-placement-bottom .ant-tooltip-arrow{left:50%;transform:translateX(-50%)}.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow{left:13px}.ant-tooltip-placement-bottomRight .ant-tooltip-arrow{right:13px}.ant-tooltip-magenta .ant-tooltip-arrow-content,.ant-tooltip-magenta .ant-tooltip-inner,.ant-tooltip-pink .ant-tooltip-arrow-content,.ant-tooltip-pink .ant-tooltip-inner{background-color:#eb2f96}.ant-tooltip-red .ant-tooltip-arrow-content,.ant-tooltip-red .ant-tooltip-inner{background-color:#f5222d}.ant-tooltip-volcano .ant-tooltip-arrow-content,.ant-tooltip-volcano .ant-tooltip-inner{background-color:#fa541c}.ant-tooltip-orange .ant-tooltip-arrow-content,.ant-tooltip-orange .ant-tooltip-inner{background-color:#fa8c16}.ant-tooltip-yellow .ant-tooltip-arrow-content,.ant-tooltip-yellow .ant-tooltip-inner{background-color:#fadb14}.ant-tooltip-gold .ant-tooltip-arrow-content,.ant-tooltip-gold .ant-tooltip-inner{background-color:#faad14}.ant-tooltip-cyan .ant-tooltip-arrow-content,.ant-tooltip-cyan .ant-tooltip-inner{background-color:#13c2c2}.ant-tooltip-lime .ant-tooltip-arrow-content,.ant-tooltip-lime .ant-tooltip-inner{background-color:#a0d911}.ant-tooltip-green .ant-tooltip-arrow-content,.ant-tooltip-green .ant-tooltip-inner{background-color:#52c41a}.ant-tooltip-blue .ant-tooltip-arrow-content,.ant-tooltip-blue .ant-tooltip-inner{background-color:#1890ff}.ant-tooltip-geekblue .ant-tooltip-arrow-content,.ant-tooltip-geekblue .ant-tooltip-inner{background-color:#2f54eb}.ant-tooltip-purple .ant-tooltip-arrow-content,.ant-tooltip-purple .ant-tooltip-inner{background-color:#722ed1}.ant-tooltip-rtl{direction:rtl}.ant-tooltip-rtl .ant-tooltip-inner{text-align:right}.ant-tooltip{position:relative}.ant-transfer-customize-list .ant-transfer-list{flex:1 1 50%;width:auto;height:auto;min-height:200px}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small{border:0;border-radius:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th{background:#fafafa}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small>.ant-table-content .ant-table-row:last-child td{border-bottom:1px solid #e8e8e8}.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-body{margin:0}.ant-transfer-customize-list .ant-table-wrapper .ant-table-pagination.ant-pagination{margin:16px 0 4px}.ant-transfer-customize-list .ant-input[disabled]{background-color:transparent}.ant-transfer{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;display:flex;align-items:stretch}.ant-transfer-disabled .ant-transfer-list{background:#f5f5f5}.ant-transfer-list{display:flex;flex-direction:column;width:180px;height:200px;border:1px solid #d9d9d9;border-radius:4px}.ant-transfer-list-with-pagination{width:250px;height:auto}.ant-transfer-list-search{padding-right:24px;padding-left:8px}.ant-transfer-list-search-action{position:absolute;top:12px;right:12px;bottom:12px;width:28px;color:rgba(0,0,0,.25);line-height:32px;text-align:center}.ant-transfer-list-search-action .anticon{color:rgba(0,0,0,.25);transition:all .3s}.ant-transfer-list-search-action .anticon:hover{color:rgba(0,0,0,.45)}span.ant-transfer-list-search-action{pointer-events:none}.ant-transfer-list-header{display:flex;flex:none;align-items:center;height:40px;padding:8px 12px 9px;color:rgba(0,0,0,.65);background:#fff;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0}.ant-transfer-list-header>:not(:last-child){margin-right:4px}.ant-transfer-list-header>*{flex:none}.ant-transfer-list-header-title{flex:auto;overflow:hidden;white-space:nowrap;text-align:right;text-overflow:ellipsis}.ant-transfer-list-header-dropdown{font-size:10px;transform:translateY(10%);cursor:pointer}.ant-transfer-list-header-dropdown[disabled]{cursor:not-allowed}.ant-transfer-list-body{display:flex;flex:auto;flex-direction:column;overflow:hidden;font-size:14px}.ant-transfer-list-body-search-wrapper{position:relative;flex:none;padding:12px}.ant-transfer-list-content{flex:auto;margin:0;padding:0;overflow:auto;list-style:none}.ant-transfer-list-content-item{display:flex;align-items:center;min-height:32px;padding:6px 12px;overflow:hidden;line-height:20px;transition:all .3s}.ant-transfer-list-content-item>:not(:last-child){margin-right:8px}.ant-transfer-list-content-item>*{flex:none}.ant-transfer-list-content-item-text{flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ant-transfer-list-content-item-remove{color:#7ebc59;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;position:relative;color:#d9d9d9}.ant-transfer-list-content-item-remove:focus,.ant-transfer-list-content-item-remove:hover{color:#9dc97f}.ant-transfer-list-content-item-remove:active{color:#5c963f}.ant-transfer-list-content-item-remove:after{position:absolute;top:-6px;right:-50%;bottom:-6px;left:-50%;content:""}.ant-transfer-list-content-item-remove:hover{color:#9dc97f}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background-color:#f5fced;cursor:pointer}.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled).ant-transfer-list-content-item-checked:hover{background-color:#f0fbe4}.ant-transfer-list-content-show-remove .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background:transparent;cursor:default}.ant-transfer-list-content-item-checked{background-color:#f5fced}.ant-transfer-list-content-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-transfer-list-pagination{padding:8px 0;text-align:right;border-top:1px solid #e8e8e8}.ant-transfer-list-body-not-found{flex:none;width:100%;margin:auto 0;color:rgba(0,0,0,.25);text-align:center}.ant-transfer-list-footer{border-top:1px solid #e8e8e8}.ant-transfer-operation{display:flex;flex:none;flex-direction:column;align-self:center;margin:0 8px;overflow:hidden;vertical-align:middle}.ant-transfer-operation .ant-btn{display:block}.ant-transfer-operation .ant-btn:first-child{margin-bottom:4px}.ant-transfer-operation .ant-btn .anticon{font-size:12px}.ant-transfer .ant-empty-image{max-height:-2px}.ant-transfer-rtl{direction:rtl}.ant-transfer-rtl .ant-transfer-list-search{padding-right:8px;padding-left:24px}.ant-transfer-rtl .ant-transfer-list-search-action{right:auto;left:12px}.ant-transfer-rtl .ant-transfer-list-header>:not(:last-child){margin-right:0;margin-left:4px}.ant-transfer-rtl .ant-transfer-list-header{right:0;left:auto}.ant-transfer-rtl .ant-transfer-list-header-title{text-align:left}.ant-transfer-rtl .ant-transfer-list-content-item>:not(:last-child){margin-right:0;margin-left:8px}.ant-transfer-rtl .ant-transfer-list-pagination{text-align:left}.ant-transfer-rtl .ant-transfer-list-footer{right:0;left:auto}.ant-typography{color:rgba(0,0,0,.65);overflow-wrap:break-word}.ant-typography.ant-typography-secondary{color:rgba(0,0,0,.45)}.ant-typography.ant-typography-success{color:#52c41a}.ant-typography.ant-typography-warning{color:#faad14}.ant-typography.ant-typography-danger{color:#f5222d}a.ant-typography.ant-typography-danger:active,a.ant-typography.ant-typography-danger:focus,a.ant-typography.ant-typography-danger:hover{color:#ff4d4f}.ant-typography.ant-typography-disabled{color:rgba(0,0,0,.25);cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-typography p,div.ant-typography{margin-bottom:1em}.ant-typography h1,h1.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:38px;line-height:1.23}.ant-typography h2,h2.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:30px;line-height:1.35}.ant-typography h3,h3.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:24px;line-height:1.35}.ant-typography h4,h4.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:20px;line-height:1.4}.ant-typography h5,h5.ant-typography{margin-bottom:.5em;color:rgba(0,0,0,.85);font-weight:600;font-size:16px;line-height:1.5}.ant-typography+h1.ant-typography,.ant-typography+h2.ant-typography,.ant-typography+h3.ant-typography,.ant-typography+h4.ant-typography,.ant-typography+h5.ant-typography,.ant-typography div+h1,.ant-typography div+h2,.ant-typography div+h3,.ant-typography div+h4,.ant-typography div+h5,.ant-typography h1+h1,.ant-typography h1+h2,.ant-typography h1+h3,.ant-typography h1+h4,.ant-typography h1+h5,.ant-typography h2+h1,.ant-typography h2+h2,.ant-typography h2+h3,.ant-typography h2+h4,.ant-typography h2+h5,.ant-typography h3+h1,.ant-typography h3+h2,.ant-typography h3+h3,.ant-typography h3+h4,.ant-typography h3+h5,.ant-typography h4+h1,.ant-typography h4+h2,.ant-typography h4+h3,.ant-typography h4+h4,.ant-typography h4+h5,.ant-typography h5+h1,.ant-typography h5+h2,.ant-typography h5+h3,.ant-typography h5+h4,.ant-typography h5+h5,.ant-typography li+h1,.ant-typography li+h2,.ant-typography li+h3,.ant-typography li+h4,.ant-typography li+h5,.ant-typography p+h1,.ant-typography p+h2,.ant-typography p+h3,.ant-typography p+h4,.ant-typography p+h5,.ant-typography ul+h1,.ant-typography ul+h2,.ant-typography ul+h3,.ant-typography ul+h4,.ant-typography ul+h5{margin-top:1.2em}a.ant-typography-ellipsis,span.ant-typography-ellipsis{display:inline-block}.ant-typography a,a.ant-typography{color:#7ebc59;outline:none;cursor:pointer;transition:color .3s;text-decoration:none}.ant-typography a:focus,.ant-typography a:hover,a.ant-typography:focus,a.ant-typography:hover{color:#9dc97f}.ant-typography a:active,a.ant-typography:active{color:#5c963f}.ant-typography a:active,.ant-typography a:hover,a.ant-typography:active,a.ant-typography:hover{text-decoration:none}.ant-typography a.ant-typography-disabled,.ant-typography a[disabled],a.ant-typography.ant-typography-disabled,a.ant-typography[disabled]{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-typography a.ant-typography-disabled:active,.ant-typography a.ant-typography-disabled:hover,.ant-typography a[disabled]:active,.ant-typography a[disabled]:hover,a.ant-typography.ant-typography-disabled:active,a.ant-typography.ant-typography-disabled:hover,a.ant-typography[disabled]:active,a.ant-typography[disabled]:hover{color:rgba(0,0,0,.25)}.ant-typography a.ant-typography-disabled:active,.ant-typography a[disabled]:active,a.ant-typography.ant-typography-disabled:active,a.ant-typography[disabled]:active{pointer-events:none}.ant-typography code{margin:0 .2em;padding:.2em .4em .1em;font-size:85%;background:hsla(0,0%,58.8%,.1);border:1px solid hsla(0,0%,39.2%,.2);border-radius:3px}.ant-typography kbd{margin:0 .2em;padding:.15em .4em .1em;font-size:90%;background:hsla(0,0%,58.8%,.06);border:solid hsla(0,0%,39.2%,.2);border-width:1px 1px 2px;border-radius:3px}.ant-typography mark{padding:0;background-color:#ffe58f}.ant-typography ins,.ant-typography u{text-decoration:underline;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}.ant-typography del,.ant-typography s{text-decoration:line-through}.ant-typography strong{font-weight:600}.ant-typography-copy,.ant-typography-edit,.ant-typography-expand{color:#7ebc59;text-decoration:none;outline:none;cursor:pointer;transition:color .3s;margin-left:4px}.ant-typography-copy:focus,.ant-typography-copy:hover,.ant-typography-edit:focus,.ant-typography-edit:hover,.ant-typography-expand:focus,.ant-typography-expand:hover{color:#9dc97f}.ant-typography-copy:active,.ant-typography-edit:active,.ant-typography-expand:active{color:#5c963f}.ant-typography-copy-success,.ant-typography-copy-success:focus,.ant-typography-copy-success:hover{color:#52c41a}.ant-typography-edit-content{position:relative}div.ant-typography-edit-content{left:-12px;margin-top:-5px;margin-bottom:calc(1em - 4px - 1px)}.ant-typography-edit-content-confirm{position:absolute;right:10px;bottom:8px;color:rgba(0,0,0,.45);pointer-events:none}.ant-typography-edit-content textarea{-moz-transition:none}.ant-typography ol,.ant-typography ul{margin:0 0 1em;padding:0}.ant-typography ol li,.ant-typography ul li{margin:0 0 0 20px;padding:0 0 0 4px}.ant-typography ul{list-style-type:circle}.ant-typography ul ul{list-style-type:disc}.ant-typography ol{list-style-type:decimal}.ant-typography blockquote,.ant-typography pre{margin:1em 0}.ant-typography pre{padding:.4em .6em;white-space:pre-wrap;word-wrap:break-word;background:hsla(0,0%,58.8%,.1);border:1px solid hsla(0,0%,39.2%,.2);border-radius:3px}.ant-typography pre code{display:inline;margin:0;padding:0;font-size:inherit;font-family:inherit;background:transparent;border:0}.ant-typography blockquote{padding:0 0 0 .6em;border-left:4px solid hsla(0,0%,39.2%,.2);opacity:.85}.ant-typography-ellipsis-single-line{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}a.ant-typography-ellipsis-single-line,span.ant-typography-ellipsis-single-line{vertical-align:bottom}.ant-typography-ellipsis-multiple-line{display:-webkit-box;-webkit-line-clamp:3; + /*! autoprefixer: ignore next */-webkit-box-orient:vertical;overflow:hidden}.ant-typography-rtl{direction:rtl}.ant-typography-rtl .ant-typography-copy,.ant-typography-rtl .ant-typography-edit,.ant-typography-rtl .ant-typography-expand{margin-right:4px;margin-left:0}.ant-typography-rtl .ant-typography-expand{float:left}div.ant-typography-edit-content.ant-typography-rtl{right:-12px;left:auto}.ant-typography-rtl .ant-typography-edit-content-confirm{right:auto;left:10px}.ant-typography-rtl.ant-typography ol li,.ant-typography-rtl.ant-typography ul li{margin:0 20px 0 0;padding:0 4px 0 0}.ant-upload{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";outline:0}.ant-upload p{margin:0}.ant-upload-btn{display:block;width:100%;outline:none}.ant-upload input[type=file]{cursor:pointer}.ant-upload.ant-upload-select{display:inline-block}.ant-upload.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-select-picture-card{width:104px;height:104px;margin-right:8px;margin-bottom:8px;text-align:center;vertical-align:top;background-color:#fafafa;border:1px dashed #d9d9d9;border-radius:4px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-select-picture-card>.ant-upload{display:flex;align-items:center;justify-content:center;height:100%;text-align:center}.ant-upload.ant-upload-select-picture-card:hover{border-color:#7ebc59}.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover{border-color:#d9d9d9}.ant-upload.ant-upload-drag{position:relative;width:100%;height:100%;text-align:center;background:#fafafa;border:1px dashed #d9d9d9;border-radius:4px;cursor:pointer;transition:border-color .3s}.ant-upload.ant-upload-drag .ant-upload{padding:16px 0}.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#5c963f}.ant-upload.ant-upload-drag.ant-upload-disabled{cursor:not-allowed}.ant-upload.ant-upload-drag .ant-upload-btn{display:table;height:100%}.ant-upload.ant-upload-drag .ant-upload-drag-container{display:table-cell;vertical-align:middle}.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#9dc97f}.ant-upload.ant-upload-drag p.ant-upload-drag-icon{margin-bottom:20px}.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#9dc97f;font-size:48px}.ant-upload.ant-upload-drag p.ant-upload-text{margin:0 0 4px;color:rgba(0,0,0,.85);font-size:16px}.ant-upload.ant-upload-drag p.ant-upload-hint{color:rgba(0,0,0,.45);font-size:14px}.ant-upload.ant-upload-drag .anticon-plus{color:rgba(0,0,0,.25);font-size:30px;transition:all .3s}.ant-upload.ant-upload-drag .anticon-plus:hover,.ant-upload.ant-upload-drag:hover .anticon-plus{color:rgba(0,0,0,.45)}.ant-upload-picture-card-wrapper{display:inline-block;width:100%}.ant-upload-picture-card-wrapper:before{display:table;content:""}.ant-upload-picture-card-wrapper:after{display:table;clear:both;content:""}.ant-upload-list{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";line-height:1.5}.ant-upload-list:after,.ant-upload-list:before{display:table;content:""}.ant-upload-list:after{clear:both}.ant-upload-list-item{position:relative;height:21px;margin-top:8px;font-size:14px}.ant-upload-list-item-name{display:inline-block;width:100%;padding-left:22px;overflow:hidden;line-height:1.5;white-space:nowrap;text-overflow:ellipsis}.ant-upload-list-item-card-actions{position:absolute;right:0}.ant-upload-list-item-card-actions-btn{opacity:0}.ant-upload-list-item-card-actions-btn.ant-btn-sm{height:20px;line-height:1}.ant-upload-list-item-card-actions.picture{top:22px;line-height:0}.ant-upload-list-item-card-actions-btn:focus,.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-card-actions .anticon{color:rgba(0,0,0,.45)}.ant-upload-list-item-info{height:100%;padding:0 4px;transition:background-color .3s}.ant-upload-list-item-info>span{display:block;width:100%;height:100%}.ant-upload-list-item-info .ant-upload-text-icon .anticon,.ant-upload-list-item-info .anticon-loading .anticon{position:absolute;top:5px;color:rgba(0,0,0,.45);font-size:14px}.ant-upload-list-item .anticon-close{position:absolute;top:6px;right:4px;color:rgba(0,0,0,.45);font-size:10px;line-height:0;cursor:pointer;opacity:0;transition:all .3s}.ant-upload-list-item .anticon-close:hover{color:rgba(0,0,0,.65)}.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#f5fced}.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn,.ant-upload-list-item:hover .anticon-close{opacity:1}.ant-upload-list-item-error,.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon,.ant-upload-list-item-error .ant-upload-list-item-name,.ant-upload-list-item-error .ant-upload-text-icon>.anticon{color:#f5222d}.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn{opacity:1}.ant-upload-list-item-progress{position:absolute;bottom:-12px;width:100%;padding-left:26px;font-size:14px;line-height:0}.ant-upload-list-picture-card .ant-upload-list-item,.ant-upload-list-picture .ant-upload-list-item{position:relative;height:66px;padding:8px;border:1px solid #d9d9d9;border-radius:4px}.ant-upload-list-picture-card .ant-upload-list-item:hover,.ant-upload-list-picture .ant-upload-list-item:hover{background:transparent}.ant-upload-list-picture-card .ant-upload-list-item-error,.ant-upload-list-picture .ant-upload-list-item-error{border-color:#f5222d}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info,.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info{background:transparent}.ant-upload-list-picture-card .ant-upload-list-item-uploading,.ant-upload-list-picture .ant-upload-list-item-uploading{border-style:dashed}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture .ant-upload-list-item-thumbnail{width:48px;height:48px;line-height:54px;text-align:center;opacity:.8}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon,.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon{font-size:26px}.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"],.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#e6f7ff"]{fill:#fff1f0}.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"],.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill="#1890ff"]{fill:#f5222d}.ant-upload-list-picture-card .ant-upload-list-item-icon,.ant-upload-list-picture .ant-upload-list-item-icon{position:absolute;top:50%;left:50%;font-size:26px;transform:translate(-50%,-50%)}.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon,.ant-upload-list-picture .ant-upload-list-item-icon .anticon{font-size:26px}.ant-upload-list-picture-card .ant-upload-list-item-image,.ant-upload-list-picture .ant-upload-list-item-image{max-width:100%}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img,.ant-upload-list-picture .ant-upload-list-item-thumbnail img{display:block;width:48px;height:48px;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-name,.ant-upload-list-picture .ant-upload-list-item-name{display:inline-block;box-sizing:border-box;max-width:100%;margin:0 0 0 8px;padding-right:8px;padding-left:48px;overflow:hidden;line-height:44px;white-space:nowrap;text-overflow:ellipsis;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name,.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name{line-height:28px}.ant-upload-list-picture-card .ant-upload-list-item-progress,.ant-upload-list-picture .ant-upload-list-item-progress{bottom:14px;width:calc(100% - 24px);margin-top:0;padding-left:56px}.ant-upload-list-picture-card .anticon-close,.ant-upload-list-picture .anticon-close{position:absolute;top:8px;right:8px;line-height:1;opacity:1}.ant-upload-list-picture-card-container{display:inline-block;width:104px;height:104px;margin:0 8px 8px 0;vertical-align:top}.ant-upload-list-picture-card.ant-upload-list:after{display:none}.ant-upload-list-picture-card .ant-upload-list-item{height:100%;margin:0}.ant-upload-list-picture-card .ant-upload-list-item-info{position:relative;height:100%;overflow:hidden}.ant-upload-list-picture-card .ant-upload-list-item-info:before{position:absolute;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.5);opacity:0;transition:all .3s;content:" "}.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info:before{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-actions{position:absolute;top:50%;left:50%;z-index:10;white-space:nowrap;transform:translate(-50%,-50%);opacity:0;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye{z-index:10;width:16px;margin:0 4px;color:hsla(0,0%,100%,.85);font-size:16px;cursor:pointer;transition:all .3s}.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover{color:#fff}.ant-upload-list-picture-card .ant-upload-list-item-actions:hover,.ant-upload-list-picture-card .ant-upload-list-item-info:hover+.ant-upload-list-item-actions{opacity:1}.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img{position:static;display:block;width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.ant-upload-list-picture-card .ant-upload-list-item-name{display:none;margin:8px 0 0;padding:0;line-height:1.5;text-align:center}.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{position:absolute;bottom:10px;display:block}.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item{background-color:#fafafa}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info{height:auto}.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info:before{display:none}.ant-upload-list-picture-card .ant-upload-list-item-progress{bottom:32px;width:calc(100% - 14px);padding-left:0}.ant-upload-list-picture-container,.ant-upload-list-text-container{transition:opacity .3s,height .3s}.ant-upload-list-picture-container:before,.ant-upload-list-text-container:before{display:table;width:0;height:0;content:""}.ant-upload-list-picture-container .ant-upload-span,.ant-upload-list-text-container .ant-upload-span{display:block;flex:auto}.ant-upload-list-picture .ant-upload-span,.ant-upload-list-text .ant-upload-span{display:flex;align-items:center}.ant-upload-list-picture .ant-upload-span>*,.ant-upload-list-text .ant-upload-span>*{flex:none}.ant-upload-list-picture .ant-upload-list-item-name,.ant-upload-list-text .ant-upload-list-item-name{flex:auto;padding:0 8px}.ant-upload-list-picture .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-list-item-card-actions,.ant-upload-list-text .ant-upload-text-icon .anticon{position:static}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter,.ant-upload-list .ant-upload-animate-inline-leave{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:cubic-bezier(.78,.14,.15,.86);animation-fill-mode:cubic-bezier(.78,.14,.15,.86)}.ant-upload-list .ant-upload-animate-inline-appear,.ant-upload-list .ant-upload-animate-inline-enter{-webkit-animation-name:uploadAnimateInlineIn;animation-name:uploadAnimateInlineIn}.ant-upload-list .ant-upload-animate-inline-leave{-webkit-animation-name:uploadAnimateInlineOut;animation-name:uploadAnimateInlineOut}@-webkit-keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineIn{0%{width:0;height:0;margin:0;padding:0;opacity:0}}@-webkit-keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}@keyframes uploadAnimateInlineOut{to{width:0;height:0;margin:0;padding:0;opacity:0}}.ant-upload-rtl{direction:rtl}.ant-upload-rtl.ant-upload.ant-upload-select-picture-card{margin-right:auto;margin-left:8px}.ant-upload-list-rtl{direction:rtl}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1{padding-right:22px;padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2{padding-right:22px;padding-left:28px}.ant-upload-list-rtl .ant-upload-list-item-name{padding-right:22px;padding-left:0}.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1{padding-left:14px}.ant-upload-list-rtl .ant-upload-list-item-card-actions{right:auto;left:0}.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-info{padding:0 4px 0 12px}.ant-upload-list-rtl .ant-upload-list-item .anticon-close{right:auto;left:4px}.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon{padding-right:0;padding-left:5px}.ant-upload-list-rtl .ant-upload-list-item-progress{padding-right:26px;padding-left:0}.ant-upload-list-picture-card .ant-upload-list-item-info,.ant-upload-list-picture .ant-upload-list-item-info{padding:0}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail{right:8px;left:auto}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name{margin:0 8px 0 0;padding-right:48px;padding-left:8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1{padding-right:48px;padding-left:18px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2{padding-right:48px;padding-left:36px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress,.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress{padding-right:0;padding-left:0}.ant-upload-list-rtl.ant-upload-list-picture-card .anticon-close,.ant-upload-list-rtl.ant-upload-list-picture .anticon-close{right:auto;left:8px}.ant-upload-list-rtl .ant-upload-list-picture-card-container{margin:0 0 8px 8px}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions{right:50%;left:auto;transform:translate(50%,-50%)}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file+.ant-upload-list-item-name{margin:8px 0 0;padding:0}.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item{float:unset}.ant-select-auto-complete{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum"}.ant-select-auto-complete .ant-select-clear{right:13px}.ant-select-dropdown-hidden{display:none}.ant-cascader{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum"}.ant-cascader-input.ant-input{position:static;width:100%;padding-right:24px;background-color:transparent!important;cursor:pointer}.ant-cascader-picker-show-search .ant-cascader-input.ant-input{position:relative}.ant-cascader-picker{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;background-color:#fff;border-radius:4px;outline:0;cursor:pointer;transition:color .3s}.ant-cascader-picker-with-value .ant-cascader-picker-label{color:transparent}.ant-cascader-picker-disabled{color:rgba(0,0,0,.25);background:#f5f5f5;cursor:not-allowed}.ant-cascader-picker-disabled .ant-cascader-input{cursor:not-allowed}.ant-cascader-picker:focus .ant-cascader-input{border-color:#9dc97f;border-right-width:1px!important;outline:0;box-shadow:0 0 0 2px rgba(126,188,89,.2)}.ant-input-rtl .ant-cascader-picker:focus .ant-cascader-input{border-right-width:0;border-left-width:1px!important}.ant-cascader-picker-borderless .ant-cascader-input{border-color:transparent!important;box-shadow:none!important}.ant-cascader-picker-show-search.ant-cascader-picker-focused{color:rgba(0,0,0,.25)}.ant-cascader-picker-label{position:absolute;top:50%;left:0;width:100%;height:20px;margin-top:-10px;padding:0 20px 0 12px;overflow:hidden;line-height:20px;white-space:nowrap;text-overflow:ellipsis}.ant-cascader-picker-clear{position:absolute;top:50%;right:12px;z-index:2;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;line-height:12px;background:#fff;cursor:pointer;opacity:0;transition:color .3s ease,opacity .15s ease}.ant-cascader-picker-clear:hover{color:rgba(0,0,0,.45)}.ant-cascader-picker:hover .ant-cascader-picker-clear{opacity:1}.ant-cascader-picker-arrow{position:absolute;top:50%;right:12px;z-index:1;width:12px;height:12px;margin-top:-6px;color:rgba(0,0,0,.25);font-size:12px;line-height:12px}.ant-cascader-picker-label:hover+.ant-cascader-input:not(.ant-cascader-picker-disabled .ant-cascader-picker-label:hover+.ant-cascader-input){border-color:#7ebc59;border-right-width:1px!important}.ant-input-rtl .ant-cascader-picker-label:hover+.ant-cascader-input:not(.ant-cascader-picker-disabled .ant-cascader-picker-label:hover+.ant-cascader-input){border-right-width:0;border-left-width:1px!important}.ant-cascader-picker-small .ant-cascader-picker-arrow,.ant-cascader-picker-small .ant-cascader-picker-clear{right:8px}.ant-cascader-menus{position:absolute;z-index:1050;font-size:14px;white-space:nowrap;background:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-cascader-menus ol,.ant-cascader-menus ul{margin:0;list-style:none}.ant-cascader-menus-empty,.ant-cascader-menus-hidden{display:none}.ant-cascader-menus.slide-up-appear.slide-up-appear-active.ant-cascader-menus-placement-bottomLeft,.ant-cascader-menus.slide-up-enter.slide-up-enter-active.ant-cascader-menus-placement-bottomLeft{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-cascader-menus.slide-up-appear.slide-up-appear-active.ant-cascader-menus-placement-topLeft,.ant-cascader-menus.slide-up-enter.slide-up-enter-active.ant-cascader-menus-placement-topLeft{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-cascader-menus.slide-up-leave.slide-up-leave-active.ant-cascader-menus-placement-bottomLeft{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-cascader-menus.slide-up-leave.slide-up-leave-active.ant-cascader-menus-placement-topLeft{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-cascader-menu{display:inline-block;min-width:111px;height:180px;margin:0;padding:4px 0;overflow:auto;vertical-align:top;list-style:none;border-right:1px solid #e8e8e8;-ms-overflow-style:-ms-autohiding-scrollbar}.ant-cascader-menu:first-child{border-radius:4px 0 0 4px}.ant-cascader-menu:last-child{margin-right:-1px;border-right-color:transparent;border-radius:0 4px 4px 0}.ant-cascader-menu:only-child{border-radius:4px}.ant-cascader-menu-item{padding:5px 12px;overflow:hidden;line-height:22px;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;transition:all .3s}.ant-cascader-menu-item:hover{background:#f5fced}.ant-cascader-menu-item-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-cascader-menu-item-disabled:hover{background:transparent}.ant-cascader-menu-empty .ant-cascader-menu-item{color:rgba(0,0,0,.25);cursor:default;pointer-events:none}.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover{font-weight:600;background-color:#f5fced}.ant-cascader-menu-item-expand{position:relative;padding-right:24px}.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-loading-icon{position:absolute;right:12px;color:rgba(0,0,0,.45);font-size:10px}.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon{color:rgba(0,0,0,.25)}.ant-cascader-menu-item .ant-cascader-menu-item-keyword{color:#f5222d}.ant-cascader-picker-rtl .ant-cascader-input.ant-input{padding-right:11px;padding-left:24px;text-align:right}.ant-cascader-picker-rtl{direction:rtl}.ant-cascader-picker-rtl .ant-cascader-picker-label{padding:0 12px 0 20px;text-align:right}.ant-cascader-picker-rtl .ant-cascader-picker-arrow,.ant-cascader-picker-rtl .ant-cascader-picker-clear{right:auto;left:12px}.ant-cascader-picker-rtl.ant-cascader-picker-small .ant-cascader-picker-arrow,.ant-cascader-picker-rtl.ant-cascader-picker-small .ant-cascader-picker-clear{right:auto;left:8px}.ant-cascader-menu-rtl .ant-cascader-menu{direction:rtl;border-right:none;border-left:1px solid #e8e8e8}.ant-cascader-menu-rtl .ant-cascader-menu:first-child{border-radius:0 4px 4px 0}.ant-cascader-menu-rtl .ant-cascader-menu:last-child{margin-right:0;margin-left:-1px;border-left-color:transparent;border-radius:4px 0 0 4px}.ant-cascader-menu-rtl .ant-cascader-menu:only-child{border-radius:4px}.ant-cascader-menu-rtl .ant-cascader-menu-item-expand{padding-right:12px;padding-left:24px}.ant-cascader-menu-rtl .ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,.ant-cascader-menu-rtl .ant-cascader-menu-item-loading-icon{right:auto;left:12px}.ant-cascader-menu-rtl .ant-cascader-menu-item-loading-icon{transform:scaleY(-1)}.ant-cascader-menus{position:relative;margin-top:2px;margin-bottom:2px}nz-tree-virtual-scroll-view{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}nz-tree-virtual-scroll-view .ant-tree-list,nz-tree-virtual-scroll-view .ant-tree-list-holder{height:100%}nz-tree-view .ant-tree-switcher+.ant-tree-switcher.nz-tree-leaf-line-icon,nz-tree-virtual-scroll-view .ant-tree-switcher+.ant-tree-switcher.nz-tree-leaf-line-icon{display:none}nz-tree-view .ant-tree-list-holder-inner{display:flex;flex-direction:column}.ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line:before{top:auto!important;bottom:auto!important;height:14px!important}.ant-tree.ant-tree-directory .ant-tree-treenode{position:relative}.ant-tree.ant-tree-directory .ant-tree-treenode:before{position:absolute;top:0;right:0;bottom:4px;left:0;transition:background-color .3s;content:"";pointer-events:none}.ant-tree.ant-tree-directory .ant-tree-treenode:hover:before{background:#f5fced}.ant-tree.ant-tree-directory .ant-tree-treenode>*{z-index:1}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-switcher{transition:color .3s}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper{border-radius:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected{color:#fff;background:transparent}.ant-tree.ant-tree-directory .ant-tree-treenode-selected:before,.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover:before{background:#7ebc59}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher{color:#fff}.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper{color:#fff;background:transparent}.ant-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;top:-.09em;display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;outline:none;cursor:pointer}.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:#7ebc59}.ant-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #7ebc59;border-radius:4px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox:after,.ant-tree-checkbox:hover:after{visibility:visible}.ant-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;border-collapse:separate;transition:all .3s}.ant-tree-checkbox-inner:after{position:absolute;top:50%;left:22%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#7ebc59;border-color:#7ebc59}.ant-tree-checkbox-disabled{cursor:not-allowed}.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled .ant-tree-checkbox-input{cursor:not-allowed}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-tree-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tree-checkbox-disabled:hover:after,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled:after{visibility:hidden}.ant-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:inline-block;line-height:unset;cursor:pointer}.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-tree-checkbox-wrapper+.ant-tree-checkbox-wrapper{margin-left:8px}.ant-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-tree-checkbox-group-item{display:inline-block;margin-right:8px}.ant-tree-checkbox-group-item:last-child{margin-right:0}.ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:0}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#7ebc59;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-tree-checkbox-rtl{direction:rtl}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item{margin-right:0;margin-left:8px}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item:last-child{margin-left:0!important}.ant-tree-checkbox-group-rtl .ant-tree-checkbox-group-item+.ant-tree-checkbox-group-item{margin-left:8px}.ant-tree{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:4px;transition:background-color .3s}.ant-tree-focused:not(:hover):not(.ant-tree-active-focused){background:#f5fced}.ant-tree-list-holder-inner{align-items:flex-start}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner{align-items:stretch}.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper{flex:auto}.ant-tree .ant-tree-treenode{display:flex;align-items:flex-start;padding:0 0 4px;outline:none}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover{background:transparent}.ant-tree .ant-tree-treenode-active .ant-tree-node-content-wrapper{background:#f5fced}.ant-tree .ant-tree-treenode.filter-node .ant-tree-title{color:#d4380d;font-weight:500}.ant-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree-indent-unit{display:inline-block;width:24px}.ant-tree-switcher{position:relative;flex:none;align-self:stretch;width:24px;margin:0;line-height:24px;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree-switcher .ant-select-tree-switcher-icon,.ant-tree-switcher .ant-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:baseline}.ant-tree-switcher .ant-select-tree-switcher-icon svg,.ant-tree-switcher .ant-tree-switcher-icon svg{transition:transform .3s}.ant-tree-switcher-noop{cursor:default}.ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-tree-switcher-loading-icon{color:#7ebc59}.ant-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-tree-switcher-leaf-line:before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:" "}.ant-tree-switcher-leaf-line:after{position:absolute;width:10px;height:14px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:" "}.ant-tree-checkbox{top:auto;margin:4px 8px 0 0}.ant-tree .ant-tree-node-content-wrapper{position:relative;z-index:auto;min-height:24px;margin:0;padding:0 4px;color:inherit;line-height:24px;background:transparent;border-radius:4px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-tree .ant-tree-node-content-wrapper:hover{background-color:#f5fced}.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#e9f0e1}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:top}.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle:empty{display:none}.ant-tree-unselectable .ant-tree-node-content-wrapper:hover{background-color:transparent}.ant-tree-node-content-wrapper[draggable=true]{line-height:24px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#7ebc59;border-radius:1px;pointer-events:none}.ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #7ebc59;border-radius:50%;content:""}.ant-tree .ant-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #7ebc59}.ant-tree-show-line .ant-tree-indent-unit{position:relative;height:100%}.ant-tree-show-line .ant-tree-indent-unit:before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:""}.ant-tree-show-line .ant-tree-indent-unit-end:before{display:none}.ant-tree-show-line .ant-tree-switcher{background:#fff}.ant-tree-show-line .ant-tree-switcher-line-icon{vertical-align:-.225em}.ant-tree-rtl{direction:rtl}.ant-tree-rtl .ant-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{right:-6px;left:unset}.ant-tree .ant-tree-treenode-rtl{direction:rtl}.ant-tree-rtl .ant-tree-switcher_close .ant-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-rtl.ant-tree-show-line .ant-tree-indent-unit:before{right:auto;left:-13px;border-right:none;border-left:1px solid #d9d9d9}.ant-tree-rtl.ant-tree-checkbox,.ant-tree-select-dropdown-rtl .ant-select-tree-checkbox{margin:4px 0 0 8px}.font-highlight{color:#f5222d}.ant-tree-child-tree{overflow:hidden}nz-tree{display:block}.ant-select-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";position:relative;top:-.09em;display:inline-block;line-height:1;white-space:nowrap;vertical-align:middle;outline:none;cursor:pointer}.ant-select-tree-checkbox-input:focus+.ant-select-tree-checkbox-inner,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner{border-color:#7ebc59}.ant-select-tree-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #7ebc59;border-radius:4px;visibility:hidden;-webkit-animation:antCheckboxEffect .36s ease-in-out;animation:antCheckboxEffect .36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:""}.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox:after,.ant-select-tree-checkbox:hover:after{visibility:visible}.ant-select-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;border-collapse:separate;transition:all .3s}.ant-select-tree-checkbox-inner:after{position:absolute;top:50%;left:22%;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.ant-select-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner{background-color:#7ebc59;border-color:#7ebc59}.ant-select-tree-checkbox-disabled{cursor:not-allowed}.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:after{border-color:rgba(0,0,0,.25);-webkit-animation-name:none;animation-name:none}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input{cursor:not-allowed}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9!important}.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.ant-select-tree-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-select-tree-checkbox-disabled:hover:after,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled:after{visibility:hidden}.ant-select-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:inline-block;line-height:unset;cursor:pointer}.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled{cursor:not-allowed}.ant-select-tree-checkbox-wrapper+.ant-select-tree-checkbox-wrapper{margin-left:8px}.ant-select-tree-checkbox+span{padding-right:8px;padding-left:8px}.ant-select-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";display:inline-block}.ant-select-tree-checkbox-group-item{display:inline-block;margin-right:8px}.ant-select-tree-checkbox-group-item:last-child{margin-right:0}.ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:0}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner{background-color:#fff;border-color:#d9d9d9}.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after{top:50%;left:50%;width:8px;height:8px;background-color:#7ebc59;border:0;transform:translate(-50%,-50%) scale(1);opacity:1;content:" "}.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner:after{background-color:rgba(0,0,0,.25);border-color:rgba(0,0,0,.25)}.ant-select-tree-checkbox-rtl{direction:rtl}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item{margin-right:0;margin-left:8px}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item:last-child{margin-left:0!important}.ant-select-tree-checkbox-group-rtl .ant-select-tree-checkbox-group-item+.ant-select-tree-checkbox-group-item{margin-left:8px}.ant-tree-select-dropdown{padding:8px 4px 0}.ant-tree-select-dropdown-rtl{direction:rtl}.ant-tree-select-dropdown .ant-select-tree{border-radius:0}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner{align-items:stretch}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode{padding-bottom:8px}.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";background:#fff;border-radius:4px;transition:background-color .3s}.ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused){background:#f5fced}.ant-select-tree-list-holder-inner{align-items:flex-start}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner{align-items:stretch}.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-node-content-wrapper{flex:auto}.ant-select-tree .ant-select-tree-treenode{display:flex;align-items:flex-start;padding:0 0 4px;outline:none}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover{background:transparent}.ant-select-tree .ant-select-tree-treenode-active .ant-select-tree-node-content-wrapper{background:#f5fced}.ant-select-tree .ant-select-tree-treenode.filter-node .ant-select-tree-title{color:#d4380d;font-weight:500}.ant-select-tree-indent{align-self:stretch;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-tree-indent-unit{display:inline-block;width:24px}.ant-select-tree-switcher{position:relative;flex:none;align-self:stretch;width:24px;margin:0;line-height:24px;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-tree-switcher .ant-select-tree-switcher-icon,.ant-select-tree-switcher .ant-tree-switcher-icon{display:inline-block;font-size:10px;vertical-align:baseline}.ant-select-tree-switcher .ant-select-tree-switcher-icon svg,.ant-select-tree-switcher .ant-tree-switcher-icon svg{transition:transform .3s}.ant-select-tree-switcher-noop{cursor:default}.ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(-90deg)}.ant-select-tree-switcher-loading-icon{color:#7ebc59}.ant-select-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.ant-select-tree-switcher-leaf-line:before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:" "}.ant-select-tree-switcher-leaf-line:after{position:absolute;width:10px;height:14px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:" "}.ant-select-tree-checkbox{top:auto;margin:4px 8px 0 0}.ant-select-tree .ant-select-tree-node-content-wrapper{position:relative;z-index:auto;min-height:24px;margin:0;padding:0 4px;color:inherit;line-height:24px;background:transparent;border-radius:4px;cursor:pointer;transition:all .3s,border 0s,line-height 0s,box-shadow 0s}.ant-select-tree .ant-select-tree-node-content-wrapper:hover{background-color:#f5fced}.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected{background-color:#e9f0e1}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:top}.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle:empty{display:none}.ant-select-tree-unselectable .ant-select-tree-node-content-wrapper:hover{background-color:transparent}.ant-select-tree-node-content-wrapper[draggable=true]{line-height:24px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-select-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#7ebc59;border-radius:1px;pointer-events:none}.ant-select-tree-node-content-wrapper[draggable=true] .ant-tree-drop-indicator:after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #7ebc59;border-radius:50%;content:""}.ant-select-tree .ant-select-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #7ebc59}.ant-select-tree-show-line .ant-select-tree-indent-unit{position:relative;height:100%}.ant-select-tree-show-line .ant-select-tree-indent-unit:before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:""}.ant-select-tree-show-line .ant-select-tree-indent-unit-end:before{display:none}.ant-select-tree-show-line .ant-select-tree-switcher{background:#fff}.ant-select-tree-show-line .ant-select-tree-switcher-line-icon{vertical-align:-.225em}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg{transform:rotate(90deg)}.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher-loading-icon{transform:scaleY(-1)}.ant-tree.ant-select-tree.ant-tree-show-line nz-tree-node[builtin]:not(:last-child)>li:before{content:" ";width:1px;border-left:1px solid #d9d9d9;height:calc(100% - 16px);position:absolute;left:12px;margin:26px 0}.ant-select-dropdown.ant-select-tree-dropdown{top:100%;left:0;position:relative;width:100%;margin-top:4px;margin-bottom:4px;overflow:auto}.ant-picker-calendar{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";background:#fff}.ant-picker-calendar-header{display:flex;justify-content:flex-end;padding:12px 0}.ant-picker-calendar-header .ant-picker-calendar-year-select{min-width:80px}.ant-picker-calendar-header .ant-picker-calendar-month-select{min-width:70px;margin-left:8px}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{margin-left:8px}.ant-picker-calendar .ant-picker-panel{background:#fff;border:0;border-top:1px solid #e8e8e8;border-radius:0}.ant-picker-calendar .ant-picker-panel .ant-picker-date-panel,.ant-picker-calendar .ant-picker-panel .ant-picker-month-panel{width:auto}.ant-picker-calendar .ant-picker-panel .ant-picker-body{padding:8px 0}.ant-picker-calendar .ant-picker-panel .ant-picker-content{width:100%}.ant-picker-calendar-mini{border-radius:4px}.ant-picker-calendar-mini .ant-picker-calendar-header{padding-right:8px;padding-left:8px}.ant-picker-calendar-mini .ant-picker-panel{border-radius:0 0 4px 4px}.ant-picker-calendar-mini .ant-picker-content{height:256px}.ant-picker-calendar-mini .ant-picker-content th{height:auto;padding:0;line-height:18px}.ant-picker-calendar-full .ant-picker-panel{display:block;width:100%;text-align:right;background:#fff;border:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body td,.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{padding:0}.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{height:auto;padding:0 12px 5px 0;line-height:18px}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:hover .ant-picker-calendar-date{background:#f5fced}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell .ant-picker-calendar-date-today:before{display:none}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today{background:#f5fced}.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today .ant-picker-calendar-date-value,.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date .ant-picker-calendar-date-value{color:#7ebc59}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date{display:block;width:auto;height:auto;margin:0 4px;padding:4px 8px 0;border:0;border-top:2px solid #e8e8e8;border-radius:0;transition:background .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-value{line-height:24px;transition:color .3s}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{position:static;width:auto;height:86px;overflow-y:auto;color:rgba(0,0,0,.65);line-height:1.5;text-align:left}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today{border-color:#7ebc59}.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today .ant-picker-calendar-date-value{color:rgba(0,0,0,.65)}@media only screen and (max-width:480px){.ant-picker-calendar-header{display:block}.ant-picker-calendar-header .ant-picker-calendar-year-select{width:50%}.ant-picker-calendar-header .ant-picker-calendar-month-select{width:calc(50% - 8px)}.ant-picker-calendar-header .ant-picker-calendar-mode-switch{width:100%;margin-top:8px;margin-left:0}.ant-picker-calendar-header .ant-picker-calendar-mode-switch>label{width:50%;text-align:center}}.ant-picker-calendar-rtl{direction:rtl}.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-mode-switch,.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-month-select{margin-right:8px;margin-left:0}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel{text-align:left}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th{padding:0 0 5px 12px}.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content{text-align:right}.ant-result{padding:48px 32px}.ant-result-success .ant-result-icon>.anticon{color:#52c41a}.ant-result-error .ant-result-icon>.anticon{color:#f5222d}.ant-result-info .ant-result-icon>.anticon{color:#1890ff}.ant-result-warning .ant-result-icon>.anticon{color:#faad14}.ant-result-image{width:250px;height:295px;margin:auto}.ant-result-icon{margin-bottom:24px;text-align:center}.ant-result-icon>.anticon{font-size:72px}.ant-result-title{color:rgba(0,0,0,.85);font-size:24px;line-height:1.8;text-align:center}.ant-result-subtitle{color:rgba(0,0,0,.45);font-size:14px;line-height:1.6;text-align:center}.ant-result-extra{margin:24px 0 0;text-align:center}.ant-result-extra>*{margin-right:8px}.ant-result-extra>:last-child{margin-right:0}.ant-result-content{margin-top:24px;padding:24px 40px;background-color:#fafafa}.ant-result-rtl{direction:rtl}.ant-result-rtl .ant-result-extra>*{margin-right:0;margin-left:8px}.ant-result-rtl .ant-result-extra>:last-child{margin-left:0}nz-result{display:block}.ant-space{display:inline-flex}.ant-space-vertical{flex-direction:column}.ant-space-align-center{align-items:center}.ant-space-align-start{align-items:flex-start}.ant-space-align-end{align-items:flex-end}.ant-space-align-baseline{align-items:baseline}.ant-space-item:empty{display:none}.ant-space-rtl{direction:rtl}nz-space-item{display:block}.ant-image{position:relative;display:inline-block}.ant-image-img{display:block;width:100%;height:auto}.ant-image-img-placeholder{background-color:#f5f5f5;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=);background-repeat:no-repeat;background-position:50%;background-size:30%}.ant-image-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#fff;background:rgba(0,0,0,.5);cursor:pointer;opacity:0;transition:opacity .3s}.ant-image-mask-info .anticon{-webkit-margin-end:4px;margin-inline-end:4px}.ant-image-mask:hover{opacity:1}.ant-image-placeholder{position:absolute;top:0;right:0;bottom:0;left:0}.ant-image-preview{pointer-events:none;height:100%;text-align:center}.ant-image-preview.zoom-appear,.ant-image-preview.zoom-enter{transform:none;opacity:0;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-image-preview-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;height:100%;background-color:rgba(0,0,0,.65)}.ant-image-preview-mask-hidden{display:none}.ant-image-preview-wrap{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;outline:0;-webkit-overflow-scrolling:touch}.ant-image-preview-body{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.ant-image-preview-img{max-width:100%;max-height:100%;vertical-align:middle;transform:scaleX(1);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:auto}.ant-image-preview-img,.ant-image-preview-img-wrapper{transition:transform .3s cubic-bezier(.215,.61,.355,1) 0s}.ant-image-preview-img-wrapper{position:absolute;top:0;right:0;bottom:0;left:0}.ant-image-preview-img-wrapper:before{display:inline-block;width:1px;height:50%;margin-right:-1px;content:""}.ant-image-preview-moving .ant-image-preview-img{cursor:-webkit-grabbing;cursor:grabbing}.ant-image-preview-moving .ant-image-preview-img-wrapper{transition-duration:0s}.ant-image-preview-wrap{z-index:1080}.ant-image-preview-operations{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;font-feature-settings:"tnum";position:absolute;top:0;right:0;z-index:1;display:flex;flex-direction:row-reverse;align-items:center;width:100%;color:hsla(0,0%,100%,.85);list-style:none;background:rgba(0,0,0,.1);pointer-events:auto}.ant-image-preview-operations-operation{margin-left:12px;padding:12px;cursor:pointer}.ant-image-preview-operations-operation-disabled{color:hsla(0,0%,100%,.25);pointer-events:none}.ant-image-preview-operations-operation:last-of-type{margin-left:0}.ant-image-preview-operations-icon{font-size:18px}.ant-image-preview-switch-left,.ant-image-preview-switch-right{position:absolute;top:50%;right:10px;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:-22px;color:hsla(0,0%,100%,.85);background:rgba(0,0,0,.1);border-radius:50%;cursor:pointer;pointer-events:auto}.ant-image-preview-switch-left-disabled,.ant-image-preview-switch-right-disabled{color:hsla(0,0%,100%,.25);cursor:not-allowed}.ant-image-preview-switch-left-disabled>.anticon,.ant-image-preview-switch-right-disabled>.anticon{cursor:not-allowed}.ant-image-preview-switch-left>.anticon,.ant-image-preview-switch-right>.anticon{font-size:18px}.ant-image-preview-switch-left{left:10px}.ant-image-preview-switch-right{right:10px}.cdk-overlay-backdrop.ant-image-preview-mask{opacity:1}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(jetbrains-mono-cyrillic-ext-400-normal.woff2) format("woff2"),url(jetbrains-mono-all-400-normal.woff) format("woff");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(jetbrains-mono-cyrillic-400-normal.woff2) format("woff2"),url(jetbrains-mono-all-400-normal.woff) format("woff");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(jetbrains-mono-greek-400-normal.woff2) format("woff2"),url(jetbrains-mono-all-400-normal.woff) format("woff");unicode-range:U+0370-03ff}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(jetbrains-mono-vietnamese-400-normal.woff2) format("woff2"),url(jetbrains-mono-all-400-normal.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(jetbrains-mono-latin-ext-400-normal.woff2) format("woff2"),url(jetbrains-mono-all-400-normal.woff) format("woff");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(jetbrains-mono-latin-400-normal.woff2) format("woff2"),url(jetbrains-mono-all-400-normal.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-foldmarker{color:#00f;text-shadow:#b9f 1px 1px 2px,#b9f -1px -1px 2px,#b9f 1px -1px 2px,#b9f -1px 1px 2px;font-family:arial;line-height:.3;cursor:pointer}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-folded,.CodeMirror-foldgutter-open{cursor:pointer}.CodeMirror-foldgutter-open:after{content:"\25BE"}.CodeMirror-foldgutter-folded:after{content:"\25B8"}.CodeMirror-hints{position:absolute;z-index:10;overflow:hidden;list-style:none;margin:0;padding:2px;box-shadow:2px 3px 5px rgba(0,0,0,.2);border-radius:3px;border:1px solid silver;background:#fff;font-size:90%;font-family:monospace;max-height:20em;overflow-y:auto}.CodeMirror-hint{margin:0;padding:0 4px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}li.CodeMirror-hint-active{background:#08f;color:#fff}.CodeMirror-lint-markers{width:16px}.CodeMirror-lint-tooltip{background-color:#ffd;border:1px solid #000;border-radius:4px 4px 4px 4px;color:#000;font-family:monospace;font-size:10pt;overflow:hidden;padding:2px 5px;position:fixed;white-space:pre;white-space:pre-wrap;z-index:100;max-width:600px;opacity:0;transition:opacity .4s;-moz-transition:opacity .4s;-webkit-transition:opacity .4s;-o-transition:opacity .4s;-ms-transition:opacity .4s}.CodeMirror-lint-mark-error,.CodeMirror-lint-mark-warning{background-position:0 100%;background-repeat:repeat-x}.CodeMirror-lint-mark-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==")}.CodeMirror-lint-mark-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJFhQXEbhTg7YAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAMklEQVQI12NkgIIvJ3QXMjAwdDN+OaEbysDA4MPAwNDNwMCwiOHLCd1zX07o6kBVGQEAKBANtobskNMAAAAASUVORK5CYII=")}.CodeMirror-lint-marker-error,.CodeMirror-lint-marker-warning{background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:16px;width:16px;vertical-align:middle;position:relative}.CodeMirror-lint-message-error,.CodeMirror-lint-message-warning{padding-left:18px;background-position:0 0;background-repeat:no-repeat}.CodeMirror-lint-marker-error,.CodeMirror-lint-message-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAHlBMVEW7AAC7AACxAAC7AAC7AAAAAAC4AAC5AAD///+7AAAUdclpAAAABnRSTlMXnORSiwCK0ZKSAAAATUlEQVR42mWPOQ7AQAgDuQLx/z8csYRmPRIFIwRGnosRrpamvkKi0FTIiMASR3hhKW+hAN6/tIWhu9PDWiTGNEkTtIOucA5Oyr9ckPgAWm0GPBog6v4AAAAASUVORK5CYII=")}.CodeMirror-lint-marker-warning,.CodeMirror-lint-message-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEX/uwDvrwD/uwD/uwD/uwD/uwD/uwD/uwD/uwD6twD/uwAAAADurwD2tQD7uAD+ugAAAAD/uwDhmeTRAAAADHRSTlMJ8mN1EYcbmiixgACm7WbuAAAAVklEQVR42n3PUQqAIBBFUU1LLc3u/jdbOJoW1P08DA9Gba8+YWJ6gNJoNYIBzAA2chBth5kLmG9YUoG0NHAUwFXwO9LuBQL1giCQb8gC9Oro2vp5rncCIY8L8uEx5ZkAAAAASUVORK5CYII=")}.CodeMirror-lint-marker-multiple{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAMAAADzjKfhAAAACVBMVEUAAAAAAAC/v7914kyHAAAAAXRSTlMAQObYZgAAACNJREFUeNo1ioEJAAAIwmz/H90iFFSGJgFMe3gaLZ0od+9/AQZ0ADosbYraAAAAAElFTkSuQmCC");background-repeat:no-repeat;background-position:100% 100%;width:100%;height:100%}.CodeMirror-dialog{position:absolute;left:0;right:0;background:inherit;z-index:15;padding:.1em .8em;overflow:hidden;color:inherit}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{border:none;outline:none;background:transparent;width:20em;color:inherit;font-family:monospace}.CodeMirror-dialog button{font-size:70%}.CodeMirror-search-match{background:gold;border-top:1px solid orange;border-bottom:1px solid orange;box-sizing:border-box;opacity:.5}.CodeMirror-Tern-completion{padding-left:22px;position:relative;line-height:1.5}.CodeMirror-Tern-completion:before{position:absolute;left:2px;bottom:2px;border-radius:50%;font-size:12px;font-weight:700;height:15px;width:15px;line-height:16px;text-align:center;color:#fff;box-sizing:border-box}.CodeMirror-Tern-completion-unknown:before{content:"?";background:#4bb}.CodeMirror-Tern-completion-object:before{content:"O";background:#77c}.CodeMirror-Tern-completion-fn:before{content:"F";background:#7c7}.CodeMirror-Tern-completion-array:before{content:"A";background:#c66}.CodeMirror-Tern-completion-number:before{content:"1";background:#999}.CodeMirror-Tern-completion-string:before{content:"S";background:#999}.CodeMirror-Tern-completion-bool:before{content:"B";background:#999}.CodeMirror-Tern-completion-guess{color:#999}.CodeMirror-Tern-tooltip{border:1px solid silver;border-radius:3px;color:#444;padding:2px 5px;font-size:90%;font-family:monospace;background-color:#fff;white-space:pre-wrap;max-width:40em;position:absolute;z-index:10;box-shadow:2px 3px 5px rgba(0,0,0,.2);transition:opacity 1s;-moz-transition:opacity 1s;-webkit-transition:opacity 1s;-o-transition:opacity 1s;-ms-transition:opacity 1s}.CodeMirror-Tern-hint-doc{max-width:25em;margin-top:-3px}.CodeMirror-Tern-fname{color:#000}.CodeMirror-Tern-farg{color:#70a}.CodeMirror-Tern-farg-current{text-decoration:underline}.CodeMirror-Tern-type{color:#07c}.CodeMirror-Tern-fhint-guess{opacity:.7}*{box-sizing:border-box;outline:none}html{font-size:calc(var(--rem-base) * 1px)}body,html{margin:0;height:100%}body{font-size:calc((var(--body-font-size) / var(--baseline-size)) * 1rem);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input{color:var(--theme-font-color);background:transparent}input[type=search],input[type=text],input[type=url]{display:block;width:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}input[type=search]:focus,input[type=text]:focus,input[type=url]:focus{outline:0}::-moz-selection{color:var(--theme-bg-color);background:var(--theme-font-color)}::selection{color:var(--theme-bg-color);background:var(--theme-font-color)}@media (prefers-reduced-motion:reduce){*{-webkit-animation:none!important;animation:none!important;transition:none!important}}.hide{display:none!important}.left{float:left}.right{float:right}.text-align-left{text-align:left}.text-align-right{text-align:right}.anim{will-change:transform;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}.anim-rotate{-webkit-animation-name:anim-rotate;animation-name:anim-rotate}.spacer--small{margin-bottom:4px}.spacer{margin-bottom:16px}.spacer--large{margin-bottom:32px}@-webkit-keyframes anim-rotate{0%{transform:rotate(0deg) translateZ(0)}to{transform:rotate(359deg) translateZ(0)}}@keyframes anim-rotate{0%{transform:rotate(0deg) translateZ(0)}to{transform:rotate(359deg) translateZ(0)}}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{top:0}.ant-layout{background:var(--theme-bg-color)}.ant-modal-footer{border-color:var(--theme-border-color)}.ant-modal-footer:after,.ant-modal-footer:before{content:"";display:table}.ant-modal-footer:after{clear:both}.ant-modal-header{background:var(--theme-bg-color);border-color:var(--theme-border-color)}.ant-modal-close,.ant-modal-close-x,.ant-modal-content,.ant-modal-header{color:var(--theme-font-color)}.ant-modal-content{background:var(--theme-bg-color)}.anticon{vertical-align:middle}.ant-checkbox-wrapper,.ant-collapse{color:var(--theme-font-color)}.ant-collapse{background:var(--theme-off-bg-color)}.ant-collapse,.ant-collapse>.ant-collapse-item{border-color:var(--theme-border-color)}.ant-collapse-content,.ant-collapse>.ant-collapse-item>.ant-collapse-header{color:var(--theme-font-color)}.ant-collapse-content{background:var(--theme-bg-color);border-color:var(--theme-border-color)}.ant-list{color:var(--theme-font-color)}.ant-list-bordered,.ant-list-bordered .ant-list-item{border-color:var(--theme-border-color)}.ant-dropdown-menu{background:var(--theme-bg-color);color:var(--theme-font-color)}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{background:transparent;color:var(--theme-font-color)}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover{background:var(--theme-off-bg-color)}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{background:var(--theme-border-color)}.ant-form-item,.ant-form-item-label>label,.ant-form-item label{color:var(--theme-font-color)}.ant-input{color:var(--theme-font-color)}.ant-input,.ant-input-number{background:var(--theme-off-bg-color);border-color:var(--theme-border-color)}.ant-input-number-focused,.ant-input-number:focus,.ant-input-number:hover{border-color:var(--primary-color)}.ant-input-number-handler-wrap{background:var(--theme-off-bg-color);border-color:var(--theme-border-color);color:var(--theme-font-color)}.ant-input-number-handler,.ant-input-number-handler-down-inner,.ant-input-number-handler-up-inner{color:var(--theme-font-color)}.ant-select-selection{border-color:var(--theme-border-color)}.ant-select-dropdown,.ant-select-selection{background:var(--theme-off-bg-color);color:var(--theme-font-color)}.ant-select-item{color:var(--theme-font-color)}.ant-select-item-option-active:not(.ant-select-item-option-disabled){background:var(--theme-bg-color)}.ant-select-item-option-selected:not(.ant-select-item-option-disabled){background:var(--theme-border-color);color:var(--theme-font-color)}.ant-select-arrow{color:var(--theme-border-color)}.ant-select-dropdown-menu-item{color:var(--theme-font-color)}.ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled){background:var(--theme-bg-color)}.ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled){background:var(--theme-bg-color);color:var(--primary-color)}.ant-select:not(.ant-select-customize-input) .ant-select-selector{background:var(--theme-bg-color);border-color:var(--theme-border-color)}.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector,.ant-select:not(.ant-select-disabled):hover .ant-select-selector{border-color:var(--primary-color)}.ant-radio-wrapper{color:var(--theme-font-color)}.ant-radio-checked .ant-radio-inner,.ant-radio-checked:after{border-color:var(--primary-color)}.ant-radio-inner:after{background-color:var(--primary-color)}.ant-tabs{color:var(--theme-font-color)}.ant-tabs-bar{border-color:var(--theme-border-color)}.ant-tooltip-inner{background:var(--theme-off-bg-color);color:var(--theme-font-color)}.ant-tooltip-arrow:before{background-color:var(--theme-off-bg-color)}.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-item:hover,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-active,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark)>.ant-menu-submenu:hover,.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover{color:var(--primary-color);border-color:var(--primary-color);transition:all .3s ease}.ant-checkbox-checked:after,.ant-checkbox-input:focus+.ant-checkbox-inner,.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner{border-color:var(--primary-color)}.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--primary-color);border-color:var(--primary-color)}.ant-switch-checked{background-color:var(--primary-color)}.ant-tabs-bottom>.ant-tabs-nav:before,.ant-tabs-bottom>div>.ant-tabs-nav:before,.ant-tabs-top>.ant-tabs-nav:before,.ant-tabs-top>div>.ant-tabs-nav:before{border-color:var(--theme-border-color)}.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn,.ant-tabs-tab:hover{color:var(--primary-color);font-weight:400}.ant-tabs-ink-bar{background-color:var(--primary-color)}.ant-table,.ant-table.ant-table-small{opacity:.8}.ant-table,.ant-table-small .ant-table-thead>tr>th,.ant-table-thead>tr>th,.ant-table.ant-table-small{background-color:var(--theme-bg-color);color:var(--theme-font-color);font-size:calc((12 / var(--baseline-size)) * 1rem)}.ant-table-small .ant-table-thead>tr>th,.ant-table-thead>tr>th{border-color:var(--theme-border-color)}.ant-table-thead>tr>th{text-transform:uppercase}.ant-table-tbody>tr>td{border-color:var(--theme-border-color)}.ant-table-tbody>tr.ant-table-row:hover>td{background-color:var(--theme-off-bg-color)}.main-container{display:flex;flex-direction:column;height:100vh;color:var(--theme-font-color);background:var(--theme-bg-color);cursor:default}.main-container-inner{flex:1 1 auto;min-height:1px;display:flex}.content-container{position:relative}.app-window__content{position:relative;display:flex;flex:1 1 auto;flex-direction:column;height:100%;padding:5px;overflow-y:auto;-webkit-overflow-scrolling:touch}.main-content-area{position:relative;flex:1;overflow:hidden}.main-content-row{display:flex;height:100%;flex-wrap:nowrap}app-window{flex:1 1 auto;display:flex;min-height:1px}app-query-editor{position:relative;padding-right:.5rem;flex:1}app-query-result{position:relative;flex:1;padding:0}app-doc-viewer{flex:1;padding:0 0 0 .5rem}a{text-decoration:none}.no-link-link,a{color:var(--blue-color)}.no-link-link,button{cursor:pointer}button:focus{outline:0}.icon-button{border:0;border-radius:4px;background:var(--theme-bg-color);color:var(--theme-font-color);transition:all .3s ease}.icon-button:hover{background:var(--theme-off-bg-color)}.app-button{font-size:calc((14 / var(--baseline-size)) * 1rem);border:0;padding:0 20px;line-height:40px;height:40px;background:transparent;color:var(--primary-color);cursor:pointer;letter-spacing:normal;text-transform:none;font-weight:400;border-radius:4px;transition:all .3s ease}.app-button,.app-button img{vertical-align:middle}.app-button:hover{background:var(--theme-off-bg-color)}.app-button:focus{outline:0}.app-button.full-width{width:100%}.app-button.active-destructive,.app-button.active-grey{background:var(--theme-off-bg-color)}.app-button.active-destructive{color:var(--red-color)}.app-button.active-primary{background:var(--primary-color);color:var(--white-color);position:relative;z-index:1}.app-button.active-primary:before{background-image:linear-gradient(hsla(0,0%,100%,.2),hsla(0,0%,100%,.2));content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .4s;width:100%;z-index:-1}.app-button.active-primary:hover:before{opacity:1}.cancel-request-button{height:auto;line-height:20px;margin:10px 0}.cancel-request-button,.subscription-button{background:var(--theme-off-bg-color);color:var(--theme-font-color)}.subscription-button{font-size:calc((14 / var(--baseline-size)) * 1rem);border:0;padding:0 15px;line-height:25px;height:25px;vertical-align:middle;cursor:pointer;border-radius:4px}.subscription-button--stop{background:var(--red-color);color:var(--white-color);transition:all .3s ease}.subscription-button--stop:hover{background-image:linear-gradient(hsla(0,0%,100%,.2),hsla(0,0%,100%,.2))}.loading-screen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:5;background:var(--theme-bg-color);color:var(--theme-font-color);display:flex;align-items:center;justify-content:center}.loading-screen.styled{display:flex}.loading-screen .loading-screen-logo-container{margin-bottom:10px;max-width:100px}.loading-screen .loading-screen-logo-container img{max-width:100%;height:auto}.loading-screen .loading-screen-loading-indicator{text-align:center}.loading-screen .loading-indicator-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin:3px;background:var(--primary-color);-webkit-animation:loading-indicator-blink 1.5s linear infinite;animation:loading-indicator-blink 1.5s linear infinite}.loading-screen .loading-indicator-dot:first-child{-webkit-animation-delay:.5s;animation-delay:.5s}.loading-screen .loading-indicator-dot:nth-child(2){-webkit-animation-delay:1s;animation-delay:1s}.loading-screen .loading-indicator-dot:nth-child(3){-webkit-animation-delay:1.5s;animation-delay:1.5s}@-webkit-keyframes loading-indicator-blink{0%{opacity:1}50%{opacity:.2}to{opacity:1}}@keyframes loading-indicator-blink{0%{opacity:1}50%{opacity:.2}to{opacity:1}}.CodeMirror{--result-default:var(--theme-font-color);--result-string:var(--red-color);height:100%;width:100%;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;line-height:1.4;background:transparent;cursor:text}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{color:var(--theme-font-color);font-family:var(--editor-font-family);font-size:calc((var(--editor-font-size) / var(--baseline-size)) * 1rem)}.CodeMirror-cursor{border-left-color:var(--editor-cursor-color)}.CodeMirror-gutters{background:transparent;border:0}.CodeMirror-linenumber{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.CodeMirror-foldmarker{color:var(--theme-font-color);text-shadow:none}.CodeMirror-dialog{background:var(--theme-bg-color);color:var(--theme-font-color)}.CodeMirror-dialog input{display:inline-block}.CodeMirror-dialog-top{border-color:var(--theme-border-color)}.CodeMirror-jump-token{cursor:pointer;background:rgba(var(--rgb-yellow),.3);border-radius:4px}.CodeMirror-search-field{display:inline-block}.CodeMirror-scroll::-webkit-scrollbar{width:15px;height:15px}.CodeMirror-scroll::-webkit-scrollbar-track{background-color:var(--theme-off-bg-color)}.CodeMirror-vscrollbar{width:10px}.CodeMirror-lint-tooltip{background:var(--theme-bg-color);border:1px solid var(--theme-off-border-color);box-shadow:0 2px 12px -2px rgba(var(--rgb-black),.05);border-radius:5px;color:var(--theme-font-color);padding:10px;font-family:sans-serif;z-index:1050}.CodeMirror-Tern-tooltip{z-index:1050}.CodeMirror-hint-deprecation,.CodeMirror-hint-information{position:-webkit-sticky;position:sticky;bottom:0;border-top:1px solid var(--theme-border-color);white-space:normal;line-height:1.4;padding:5px 10px;background:var(--theme-bg-color);color:var(--theme-off-font-color)}.CodeMirror-hint-information{cursor:pointer}.CodeMirror-hint-fill-all-fields{flex-shrink:0;justify-content:space-between;order:-1;border-bottom:1px solid var(--theme-border-color);padding:5px 10px}.CodeMirror-hint-fill-all-fields,.CodeMirror-hints{display:flex;background:var(--theme-bg-color);color:var(--theme-font-color);line-height:1.4}.CodeMirror-hints{flex-direction:column;font-family:inherit;box-shadow:0 0 5px rgba(var(--rgb-black),.1);z-index:1050;min-width:175px;max-width:300px;font-size:calc((14 / var(--baseline-size)) * 1rem)}.CodeMirror-hints p{line-height:inherit;color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;margin:0;color:var(--theme-font-color)}.CodeMirror-hint{flex-shrink:0;line-height:1.4;padding:5px 10px;width:100%}.CodeMirror-hint.CodeMirror-Tern-completion{padding-left:25px}.CodeMirror-hint.CodeMirror-Tern-completion:before{left:5px;bottom:5px}.CodeMirror-hint-active{background:var(--blue-color)}.CodeMirror-hint-active *{color:var(--white-color)}.cm-s-default .cm-atom{color:var(--editor-atom-color)}.cm-s-default .cm-attribute{color:var(--editor-attribute-color)}.cm-s-default .cm-string,.cm-s-default .cm-string-2,.cm-s-default .cm-string-3{color:var(--editor-string-color)}.cm-s-default .cm-variable,.cm-s-default .cm-variable-2,.cm-s-default .cm-variable-3{color:var(--editor-variable-color)}.cm-s-default .cm-property{color:var(--editor-property-color)}.cm-s-default .cm-punctuation{color:var(--editor-punctuation-color)}.cm-s-default .cm-keyword{color:var(--editor-keyword-color);font-weight:700}.cm-s-default .cm-comment{color:var(--editor-comment-color)}.cm-s-default .cm-def{color:var(--editor-def-color)}.cm-s-default .cm-builtin{color:var(--editor-builtin-color);font-weight:700}.cm-s-default .cm-number{color:var(--editor-number-color)}.cm-s-request-script-editor,.cm-s-variable-editor{background:var(--theme-off-bg-color)}.cm-s-request-script-editor{min-height:200px}.cm-s-request-script-editor .cm-attribute{color:var(--result-default)}.cm-s-request-script-editor .cm-string{color:var(--result-string)}.cm-s-request-script-editor .cm-property,.cm-s-request-script-editor .cm-punctuation{color:var(--result-default)}.cm-s-settings-editor{line-height:2}.cm-s-settings-editor pre{color:var(--theme-off-font-color)}.cm-s-settings-editor .cm-string{color:var(--theme-font-color)}.cm-s-settings-editor .cm-property{color:var(--orange-color)}.cm-s-settings-editor .cm-number{color:var(--green-color)}.window-loader{display:flex;align-items:center;justify-content:center;font-weight:500;position:absolute;top:0;left:50%;background:rgba(var(--rgb-theme-bg),.8);z-index:50;padding:10px;transform:translateX(-50%);min-width:200px;border-radius:0 0 4px 4px}.window-loader .loader-img{vertical-align:middle}.window-loader__content{background:linear-gradient(-45deg,var(--primary-color),var(--secondary-color));background-size:200% 200%;-webkit-background-clip:text;background-clip:text;color:transparent;position:relative;transition-duration:.3s;will-change:background}@-webkit-keyframes bg-gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes bg-gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.toast-top-center{top:10px}#toast-container>.toast{line-height:1.4;box-shadow:none;border-radius:2px;background-position:20px;padding:15px 15px 15px 60px;border-left:5px solid #fff;width:100%;max-width:400px}#toast-container .toast-title{line-height:1.2;text-transform:uppercase;font-size:calc((14 / var(--baseline-size)) * 1rem);letter-spacing:.5px;margin-bottom:3px}#toast-container .toast-close-button{font-weight:400;text-shadow:none;transition:all .3s ease}#toast-container .toast-message{font-size:calc((13 / var(--baseline-size)) * 1rem)}nz-alert{text-align:center}.alert-action{background:transparent;border:1px solid;border-radius:4px}:root{--hot-toast-color:var(--theme-font-color);--hot-toast-bg:var(--theme-bg-color)}.hot-toast-close-btn:before{content:"×";font-size:1em;line-height:1;color:var(--theme-font-color)}.window-switcher__container{-webkit-app-region:drag}app-window-switcher{flex:1 1 auto;overflow:auto;--shadow-height:100%;--shadow-weight:9px;background:linear-gradient(90deg,var(--header-bg-color),hsla(0,0%,100%,0)),linear-gradient(-90deg,var(--header-bg-color),hsla(0,0%,100%,0)) 100% 0,linear-gradient(90deg,var(--shadow-bg),transparent),linear-gradient(-90deg,var(--shadow-bg),transparent) 100% 0;background-repeat:no-repeat;background-color:var(--header-bg-color);background-size:100px 100%,100px 100%,var(--shadow-weight) var(--shadow-height),var(--shadow-weight) var(--shadow-height);background-attachment:local,local,scroll,scroll;scrollbar-width:none}app-window-switcher::-webkit-scrollbar{width:0;height:0}app-window-switcher::-webkit-scrollbar-thumb{background-color:var(--theme-bg-color)}app-window-switcher::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#f5f5f5}.header .header-nav .nav-link.nav-text{padding:.5rem 1rem;line-height:1.5rem}.window-switcher{top:0;height:60px;cursor:pointer;border-bottom:2px solid transparent}.window-switcher:hover{border-bottom-color:var(--theme-border-color)}.window-switcher:hover .window-switcher__close{opacity:1}.window-switcher.active{border-bottom-color:var(--primary-color)}.window-switcher__input{display:inline-block;padding-left:4px;padding-right:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:30px;vertical-align:middle;line-height:30px}.window-switcher__input--editing,.window-switcher__input:focus{box-shadow:0 0 0 2px var(--secondary-color);border-radius:3px;cursor:text;color:var(--theme-font-color)}.window-switcher__close{position:absolute;top:50%;margin-top:-5px;right:-15px;width:15px;height:15px;border-radius:50%;text-align:center;opacity:0;transition:all .3s ease;line-height:1}.window-switcher__close:hover{color:var(--red-color)}.header-nav .nav-link.window-switcher--new-window:hover{color:var(--primary-color)}.app-header{display:flex;box-shadow:0 0 5px 2px rgba(var(--rgb-black),.1);background:var(--header-bg-color);z-index:1}.app-header .branding{position:relative;display:flex;flex:0 0 auto;padding:0;justify-content:center;width:65px;height:60px;float:left}.app-header .header-actions{flex:0 0 auto}.app-header .nav-link,.app-header__menu{background:transparent;color:var(--theme-font-color)}.app-header__menu{line-height:60px;border:none;white-space:nowrap}.app-header__menu-item--icon .anticon{margin:0}.header-logo{width:30px}.app-header__logo-wrapper--experimental{mix-blend-mode:luminosity}.app-header__logo-wrapper--experimental:before{content:"🔥Dev🔥";position:absolute;left:0;bottom:0;color:var(--theme-font-color);text-transform:uppercase;font-size:10px;display:block;width:100%;text-align:center;font-weight:700;line-height:2}.header__environemnt-link{padding:3px 5px;background:var(--theme-bg-color);border-radius:4px;border:1px solid var(--theme-border-color)}.url-box{margin:0 auto 5px;width:100%;display:flex}.url-box__input-container{position:relative;width:100%}.url-box__input{height:45px;line-height:45px;font-size:calc((14 / var(--baseline-size)) * 1rem);border:1px solid var(--theme-border-color);box-shadow:0 4px 30px rgba(var(--rgb-black),.05);transition:all .3s ease;background-color:var(--theme-off-bg-color);width:100%;display:block;padding:0 150px 0 15px}.url-box__input:hover{border-color:var(--theme-off-border-color)}.url-box__input:active,.url-box__input:focus,.url-box__input:focus-within{border-color:var(--primary-color)}.url-box__input-prepend{position:absolute;top:0;left:0;bottom:0;z-index:1;display:flex;align-items:center;padding:0 10px;width:40px;text-align:center}.url-box__input-prepend~.url-box__input{padding-left:30px}.url-box__input-actions{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center}.url-box__input-btn{background:transparent;border:0;padding:0 15px;color:var(--theme-font-color);transition:all .3s ease}.url-box__input-btn--active{color:var(--primary-color)}.url-box__button{height:45px;white-space:nowrap}.url-box__button--send{border-radius:0 4px 4px 0}.url-box__button--method{min-width:75px;padding:0 .5rem;letter-spacing:normal}.btn.btn-outline-primary.url-box__button{border-radius:4px 0 0 4px;border:1px solid var(--theme-border-color);border-right:0;background:var(--theme-bg-color);color:var(--primary-color);height:45px}.btn.btn-outline-primary.url-box__button:hover{border-color:var(--theme-off-border-color);background:transparent}.btn.btn-outline-primary.url-box__button:active{box-shadow:none}.url-box__connection-indicator{display:inline-block;opacity:.6;transition:all .3s ease}.url-box__connection-indicator:hover{opacity:1}.connection-indicator--connected{color:var(--green-color)}.connection-indicator--uncertain{color:var(--orange-color)}.action-bar{margin-bottom:10px}.response-stats{top:0;left:0;right:0;padding:10px;font-size:calc((12 / var(--baseline-size)) * 1rem);color:var(--theme-font-color)}.response-stats__item{display:inline-block;padding:0 5px;border-radius:2px;margin-right:5px}.response-stats__item[data-status-code^="1"]{background:var(--orange-color);color:var(--white-color)}.response-stats__item[data-status-code^="2"]{background:var(--green-color);color:var(--white-color)}.response-stats__item[data-status-code^="3"]{background:var(--orange-color);color:var(--white-color)}.response-stats__item[data-status-code^="4"],.response-stats__item[data-status-code^="5"]{background:var(--red-color);color:var(--white-color)}.response-status-code{background:rgba(var(--rgb-blue),.1)}.response-time{background:rgba(var(--rgb-black),.5);color:var(--white-color);display:inline-block}app-query-editor{transition:all .3s ease;display:flex;flex-direction:column}.query-editor-container{position:relative;height:100%;overflow:auto;background:var(--theme-bg-color);border-radius:4px}.query-editor__input{position:absolute;left:0;top:0;height:100%;width:100%;font-size:calc((14 / var(--baseline-size)) * 1rem);border:0;padding:0;resize:none}.query-editor__line-widget{color:var(--theme-font-color);font-size:calc((12 / var(--baseline-size)) * 1rem);cursor:pointer;display:inline-block;background:var(--theme-off-bg-color);padding:3px 5px;border-radius:4px;transition:all .3s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.query-editor__line-widget:hover{background:var(--theme-border-color)}.query-editor__autocomplete-item{display:flex;justify-content:space-between}.query-editor__autocomplete-item__text{color:var(--theme-off-font-color)}.query-editor__autocomplete-item__type{color:var(--orange-color)}.query-editor__autocomplete-item__shortcut{color:var(--theme-off-font-color)}.query-result__normal-container{position:relative}.query-result__normal-container .app-query-result-textarea{position:absolute;top:40px;left:0;height:100%;width:100%}.query-result-container{height:100%;background:var(--theme-off-bg-color);border-radius:4px}.query-result__normal-container,.query-result__subscription-container{height:100%}.query-result__subscription-container{position:relative;overflow:auto}.query-result__none{display:flex;align-items:center;justify-content:center;text-align:center;height:100%;width:100%;font-size:calc((24 / var(--baseline-size)) * 1rem);font-weight:700;color:var(--theme-off-font-color)}.query-result__none-subtext{font-size:calc((16 / var(--baseline-size)) * 1rem);margin-bottom:10px}.query-result__none-inner{width:400px;max-width:90%}.query-result__none-art-button{display:inline-block;width:50px;height:20px;background:var(--theme-bg-color);opacity:.8;border-radius:5px}.query-result__none-art-button.send{background:var(--primary-color)}.query-result__bottom-actions{position:absolute;bottom:10px;right:10px;z-index:3}.query-result__download-button{background:var(--theme-off-bg-color);color:var(--primary-color);opacity:.5;transition:all .3s ease;border:1px solid var(--primary-color);text-transform:uppercase;font-size:calc((12 / var(--baseline-size)) * 1rem);padding:3px 10px;border-radius:4px}.query-result__download-button:hover{opacity:1}.subscription-result{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column}.subscription-result__actions{display:flex;align-items:center;padding:10px;line-height:1}.subscription-result__actions-left{flex:1 1 50%}.subscription-result__actions-right{flex:1 1 50%;text-align:right}.subscription-result__actions-url{display:inline-block;vertical-align:middle;font-size:calc((13 / var(--baseline-size)) * 1rem)}.subscription-result__float-actions{position:absolute;bottom:10px;right:10px}.subscription-result__float-actions:empty{display:none}.subscription-result__float-action-button{background:var(--theme-off-bg-color);color:var(--theme-off-font-color);opacity:.5;transition:all .3s ease;border:1px solid var(--theme-off-font-color);text-transform:uppercase;font-size:calc((12 / var(--baseline-size)) * 1rem);padding:3px 10px;border-radius:4px}.subscription-result__float-action-button--active,.subscription-result__float-action-button:hover{opacity:1}.subscription-result__float-action-button--active{color:var(--primary-color);border-color:var(--primary-color)}.subscription-result__list-wrapper{padding:0 10px;flex:1;overflow:auto}.subscription-result__list-item{position:relative;font-size:calc((12 / var(--baseline-size)) * 1rem);margin-bottom:10px}.subscription-result__list-item--expanded .subscription-result__list-item-content{white-space:pre-wrap}.subscription-result__list-item--expanded .subscription-result__list-item-time{position:static}.subscription-result__list-item-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--theme-bg-color);padding:5px 10px;border-radius:3px}.subscription-result__list-item-time{position:absolute;top:0;right:0;padding:5px 10px;background:var(--theme-bg-color);color:var(--theme-off-font-color)}.response-headers__container{padding:10px}.response-headers__notice{text-align:center;margin:10px;font-size:calc((13 / var(--baseline-size)) * 1rem);opacity:.7}.variables-editor-container{display:flex;flex-direction:column;max-height:50%}.variables-editor-container.show-variables{min-height:50%}.variables-editor--title{text-transform:uppercase;padding:0 15px;font-size:calc((13 / var(--baseline-size)) * 1rem);font-weight:700;cursor:pointer}.variables-editor-input-container{position:relative;overflow:auto;flex:1;min-height:150px}.variables-editor-inner{flex:1;display:flex;flex-direction:column;overflow:auto}.set-variable-textarea{position:absolute;width:100%;height:100%}.variables-add-files-button{background:none;border:0;color:var(--primary-color);text-decoration:underline}.variables-files-container{padding:3px 5px}.variables-file-item{display:flex}.variables-file-item--warning{color:var(--yellow-color)}.variables-file-item--invalid{color:var(--red-color)}.variables-file-item-name-input-wrapper{flex:1;padding:0 5px;display:flex;align-items:center}.variables-file-item-switch{font-size:calc((10 / var(--baseline-size)) * 1rem);padding:3px;display:inline-block;background:var(--theme-off-bg-color);color:var(--theme-off-font-color);border:1px solid var(--theme-border-color);margin-right:5px;min-width:16px;height:16px;line-height:1;text-align:center;cursor:pointer;border-radius:4px;font-family:monospace}.variables-file-item-switch--enabled{border:1px solid var(--primary-color)}.variables-file-item-input-wrapper{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 5px;display:flex;align-items:center;justify-content:space-between}.variables-file-item-name-input{font-size:calc((14 / var(--baseline-size)) * 1rem);padding:5px 0;line-height:1;border:0;border-bottom:2px solid var(--theme-border-color);transition:all .3s ease}.variables-file-item-name-input:focus{border-color:var(--primary-color)}.variables-file-item-input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}.variables-file-item-button{height:30px;line-height:30px}.variables-file-item-input-delete{padding:3px;cursor:pointer}.variables-file-item-input-delete:hover{color:var(--red-color)}.app-dialog{background:var(--theme-bg-color);border-radius:5px;padding:20px;box-shadow:0 5px 12px 2px rgba(var(--rgb-black),.1)}.app-dialog-header{margin-bottom:30px;color:var(--theme-font-color)}.app-dialog-header,.app-dialog-title{font-size:calc((14 / var(--baseline-size)) * 1rem)}.app-dialog-title{color:var(--primary-color);font-weight:700;text-transform:uppercase;line-height:1}.app-dialog-body{margin-bottom:10px;overflow:auto}.app-dialog-section{margin-bottom:20px}.app-dialog-footer{width:100%}.dialog-input,.dialog-select{display:block;font-size:calc((14 / var(--baseline-size)) * 1rem);padding:5px 0;line-height:1;border:0;border-bottom:2px solid var(--theme-border-color);transition:all .3s ease;min-width:250px;border-radius:0;background:transparent;color:var(--theme-font-color)}.dialog-input:focus,.dialog-select:focus{border-color:var(--primary-color)}.dialog-input option,.dialog-select option{color:var(--black-color)}.dialog-select{border-bottom:0}.dialog-textarea{width:100%;border:1px solid var(--primary-color);border-radius:4px}.dialog-block{width:100%;display:block}.set-header-input-container{display:flex;align-items:center;flex:1;margin-bottom:30px}.set-header-input-container--disabled{opacity:.5}.set-header-input-column{max-width:50%;flex:1;padding:0 10px;display:flex;justify-content:center}.dialog-input,.set-header-input{font-size:calc((14 / var(--baseline-size)) * 1rem);border:0;border-bottom:2px solid var(--theme-border-color);transition:all .3s ease}.dialog-input:focus,.set-header-input:focus{border-color:var(--primary-color)}.header-input-remove-button{font-size:calc((16 / var(--baseline-size)) * 1rem);background:transparent;border:0;cursor:pointer;transition:all .3s ease}.header-input-remove-button:hover{color:var(--red-color)}.history-container{border-radius:4px}.history-item{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer;transition:all .3s ease;background:var(--theme-bg-color);border-radius:4px;padding:10px;margin-bottom:5px;border:1px solid var(--theme-off-border-color)}.history-item:hover{border-color:var(--primary-color)}.ngx-contextmenu{font-size:calc((12 / var(--baseline-size)) * 1rem);font-weight:500}.ngx-contextmenu .dropdown-menu{border:1px solid var(--theme-off-border-color);background-color:var(--theme-bg-color);padding:0}.ngx-contextmenu li{display:block;text-align:left}.ngx-contextmenu .divider{border-bottom:1px solid var(--theme-off-border-color)}.ngx-contextmenu a{color:var(--theme-font-color);display:block;padding:5px 10px}.ngx-contextmenu a:hover{text-decoration:none;background-color:var(--theme-off-bg-color);transition:all .3s ease}.ngx-contextmenu .menu-icon{margin-right:5px}.ngx-contextmenu .menu-icon,.ngx-contextmenu .menu-text{display:inline-block;vertical-align:middle}app-flex-resizer{display:flex;align-items:center;position:absolute;left:-8px;top:50%;transform:translateY(-50%);background:var(--theme-off-border-color);width:16px;height:50px;border-radius:16px;border:1px solid var(--theme-border-color);transition:all .3s ease;opacity:.6;cursor:col-resize;z-index:1}app-flex-resizer.is-right{right:-8px;left:auto}app-flex-resizer:hover{background:var(--theme-border-color)}.app-side-menu{background:var(--theme-bg-color);flex:0 0 auto;order:-1;display:flex;flex-direction:row}.side-menu__main{flex:1 1 auto;display:flex;flex-direction:column;width:60px;min-width:60px;padding-top:15px}.side-menu__main-bottom{margin-top:auto}.side-menu-item{display:block;position:relative;height:50px;line-height:50px;text-align:center;cursor:pointer;transition:all .3s ease}.side-menu-item,.side-menu-item:hover{color:var(--theme-font-color)}.side-menu-item:hover .side-menu-item-icon{color:var(--primary-color)}.side-menu-item:hover .side-menu-item-label{max-width:300px;opacity:1;color:var(--theme-font-color)}.side-menu-item:hover .side-menu-item-submenu{display:block}.side-menu-item--active{color:var(--primary-color)}.side-menu-item-icon,.side-menu-item-label{transition:all .3s ease}.side-menu-item-label{position:absolute;top:0;left:45px;z-index:10;background:var(--theme-bg-color);max-width:0;padding:0 5px;opacity:0;white-space:nowrap;overflow:hidden}.side-menu-divider{border:1px solid var(--theme-off-bg-color);margin:10px 0;opacity:.5}.side-menu-item-submenu{display:none;position:absolute;top:10px;left:100%;z-index:10;min-width:100px;width:-webkit-max-content;width:-moz-max-content;width:max-content;background:var(--theme-bg-color);text-align:left;line-height:1;box-shadow:1px 2px 10px var(--shadow-bg)}.side-menu-item-submenu .submenu-item{display:block;color:var(--theme-font-color);padding:10px;transition:all .3s ease}.side-menu-item-submenu .submenu-item:hover{color:var(--theme-font-color);background:var(--theme-off-bg-color);text-decoration:none}.side-menu-item-submenu .submenu-item-icon,.side-menu-item-submenu .submenu-item-label{display:inline-block;vertical-align:middle}app-query-collections{height:100%}.query-collections-wrapper{height:100%;max-width:320px;width:320px;background:var(--theme-off-bg-color);padding:0 5px;will-change:width;overflow:hidden}.query-collections-wrapper.query-collections-wrapper--close{width:0;padding:0;flex-grow:0}.query-collections__actions--right{float:right}.query-collections__inner{height:100%;overflow:auto;background:var(--theme-bg-color)}.query-title-icon{display:flex;margin-right:5px}.query-collections__title{text-transform:uppercase;font-weight:700;padding:10px}.query-collections__actions{margin-bottom:10px;padding:0 10px}.query-collections__feedback-box{position:absolute;left:5px;bottom:5px}.query-collections__items-wrapper{font-size:calc((13 / var(--baseline-size)) * 1rem)}.query-collections__empty{padding:50px 10px;text-align:center}.query-collections__empty-icon{margin-bottom:10px;opacity:.7}.query-collections__item-details-wrapper{display:flex;padding:5px 10px;border-bottom:1px solid var(--theme-border-color);cursor:pointer;transition:all .3s ease}.query-collections__item-details-wrapper:hover{background:rgba(var(--rgb-theme-font),.05)}.query-collections__item-details-wrapper:hover .query-collections__item-icon{opacity:1}.query-collections__item-details{flex:1}.query-collections__item-right{display:flex;align-items:center}.query-collections__item-icon{opacity:0;transition:all .3s ease}.query-collections__item-icon__button{background:var(--theme-off-bg-color);border:0;color:var(--theme-font-color)}.query-collections__item-title{display:flex;align-items:center;font-weight:700}.query-collections__item-description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.query-collections__item-description,.query-collections__item-meta{font-size:calc((12 / var(--baseline-size)) * 1rem)}.query-collections__item-content-wrapper{overflow:hidden;max-height:9999em;transition:all .3s ease;padding-left:10px}.query-collections__item-content--hidden{max-height:0;opacity:0}.query-collections__item-queries-item{display:flex;padding:10px;cursor:pointer;transition:all .3s ease}.query-collections__item-queries-item:hover{background:rgba(var(--rgb-theme-font),.05)}.query-collections__item-queries-item:hover .query-collections__item-queries-item-icon{opacity:1}.query-collections__item-queries-item-title{display:flex;align-items:center;flex:1}.query-collections__item-queries-item-icon{opacity:0;transition:all .3s ease}.add-to-collection__list-item{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer;transition:all .3s ease;background:var(--theme-bg-color);border-radius:4px;padding:10px;margin-bottom:5px;border:1px solid var(--theme-off-border-color)}.add-to-collection__list-item:hover{border-color:var(--primary-color)}.add-to-collection__actions{padding:10px 0}app-doc-viewer{position:relative;background:var(--theme-bg-color);transition:all .5s var(--app-easing);line-height:1.2;border-radius:4px}app-doc-viewer.hide-doc{flex-grow:0!important;width:0;padding:0;opacity:0}app-doc-viewer.hide-doc .app-doc-viewer{padding:0;width:0}app-doc-viewer p{line-height:inherit;color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;margin:0}app-doc-viewer h1,app-doc-viewer h2,app-doc-viewer h3,app-doc-viewer h4{color:inherit}app-doc-viewer code{color:var(--theme-font-color);background:var(--theme-off-bg-color);padding:0 4px;border-radius:4px}.app-doc-notice{text-align:center;font-weight:700;color:var(--red-color);font-size:calc((16 / var(--baseline-size)) * 1rem);padding:70px 30px}.app-doc-viewer{position:relative;padding:20px;height:100%;overflow:auto}.app-doc-loader{display:flex;align-items:center;justify-content:center;font-weight:500;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(var(--rgb-theme-bg),.8);z-index:5}.app-doc-loader img{vertical-align:middle}.app-doc-loader-content{position:relative;color:transparent;transition-duration:.3s;background:linear-gradient(-45deg,var(--primary-color),var(--secondary-color));background-size:200% 200%;-webkit-background-clip:text;background-clip:text}.doc-viewer-header{margin-bottom:20px}.doc-viewer-close{float:right;font-size:calc((25 / var(--baseline-size)) * 1rem);color:var(--theme-font-color);cursor:pointer}.doc-viewer-export-sdl{position:absolute;transform:translateX(-50%);left:50%;line-height:30px;font-size:calc((12 / var(--baseline-size)) * 1rem);color:var(--orange-color);cursor:pointer;opacity:.5;transition:all .3s ease}.doc-viewer-export-sdl:hover{opacity:1}.doc-viewer-navigation{display:flex;justify-content:space-between}.doc-viewer-navigation__option{padding:5px;color:var(--blue-color);cursor:pointer;background:rgba(var(--rgb-blue),.05);border-radius:4px;height:25px}.doc-viewer-navigation__option,.doc-viewer-navigation__option span{display:inline-block;vertical-align:middle}.doc-viewer-breadcrumbs-container{padding:10px 0}.doc-viewer-breadcrumbs{margin:0;padding:0}.doc-viewer-breadcrumbs li{display:inline-block}.doc-viewer-breadcrumbs li:after{content:" /";margin:0 5px}.doc-viewer-breadcrumbs li:last-child:after{content:none}.doc-viewer-breadcrumbs a{color:var(--blue-color);text-decoration:none}.doc-viewer-search-wrapper{padding:15px 0;margin-bottom:15px;line-height:1}.doc-viewer-search-input{width:100%;font-size:calc((14 / var(--baseline-size)) * 1rem);padding:5px 0;border:0;border-bottom:1px solid var(--theme-border-color);transition:all .3s ease}.doc-viewer-search-input:focus{border-bottom-color:var(--primary-color)}.ngui-auto-complete-wrapper .ngui-auto-complete>ul li{display:block;border:0;padding:10px;background:var(--theme-bg-color);color:var(--theme-font-color);transition:all .3s ease}.ngui-auto-complete-wrapper .ngui-auto-complete>ul li:hover{background:var(--theme-off-bg-color)}.doc-viewer-autocomplete-item-field{float:right;font-size:smaller;text-transform:uppercase}.doc-viewer-autocomplete-item-description{color:var(--theme-off-font-color);font-size:smaller}.doc-viewer-search-results-title{text-transform:uppercase;font-size:calc((10 / var(--baseline-size)) * 1rem);margin-bottom:10px;color:var(--red-color)}.doc-viewer-search-result-item{position:relative;padding:10px 60px 10px 5px;border-radius:3px;color:var(--theme-font-color);font-size:calc((13 / var(--baseline-size)) * 1rem);transition:all .3s ease;cursor:pointer}.doc-viewer-search-result-item:hover{background:rgba(var(--rgb-grey),.5)}.doc-viewer-search-result-item-inner{font-weight:700}.doc-viewer-search-result-parent-type{color:var(--theme-off-font-color);text-decoration:underline}.doc-viewer-search-result-cat{position:absolute;top:50%;right:5px;transform:translateY(-50%);text-transform:uppercase;font-size:calc((10 / var(--baseline-size)) * 1rem);font-weight:700;padding:3px;border-radius:3px}.doc-viewer-search-result-cat.cat-type{background:rgba(var(--rgb-green),.05);color:var(--green-color)}.doc-viewer-search-result-cat.cat-field{background:rgba(var(--rgb-blue),.05);color:var(--blue-color)}.doc-viewer-search-result-cat.cat-query{background:rgba(var(--rgb-cerise),.05);color:var(--cerise-color)}.doc-viewer-search-result-cat.cat-argument{background:rgba(var(--rgb-orange),.05);color:var(--orange-color)}.doc-viewer-search-result-highlight{background:rgba(var(--rgb-orange),.1)}.doc-viewer-search-result-description{color:var(--theme-off-font-color);font-size:calc((12 / var(--baseline-size)) * 1rem);font-weight:400}.doc-viewer-section{margin:0 0 40px}.doc-viewer-section-title{font-size:calc((10 / var(--baseline-size)) * 1rem);color:var(--theme-off-font-color);text-transform:uppercase;font-weight:700;margin-bottom:10px}.doc-viewer-item{position:relative;margin-bottom:20px}.doc-viewer-item:hover .doc-viewer-item-query-add-btn{opacity:1}.doc-viewer-item-query{padding-left:10px;padding-right:75px}.doc-viewer-item-query:before{content:"";position:absolute;top:6px;left:0;display:inline-block;width:5px;height:5px;border-radius:2px;background-color:var(--green-color);vertical-align:middle}.doc-viewer-item-field{color:var(--blue-color)}.doc-viewer-item-type{color:var(--green-color);font-size:calc((13 / var(--baseline-size)) * 1rem);text-decoration:underline}.doc-viewer-item-value{font-size:calc((12 / var(--baseline-size)) * 1rem)}.doc-viewer-item-query-type{background:rgba(var(--rgb-green),.05);padding:3px;border-radius:3px}.doc-viewer-item-query-inner{margin-bottom:1px}.doc-viewer-item-query-deprecated{display:inline-block;font-size:calc((12 / var(--baseline-size)) * 1rem);padding:3px;background:rgba(var(--rgb-red),.05);color:var(--red-color)}.doc-viewer-item-query-description{font-size:calc((13 / var(--baseline-size)) * 1rem);color:var(--theme-off-font-color)}.doc-viewer-item-query-add-btn{top:0;right:0;text-transform:uppercase;color:var(--orange-color);background:rgba(var(--rgb-orange),.2);border:0;border-radius:3px;padding:3px 5px;opacity:0;line-height:1}.doc-viewer-item-query-add-btn,.doc-viewer__last-updated{position:absolute;font-size:calc((10 / var(--baseline-size)) * 1rem);transition:all .3s ease}.doc-viewer__last-updated{bottom:0;opacity:.5;font-style:italic;width:100%;text-align:center}.doc-viewer__last-updated:hover{opacity:1}.subscription-params-section{margin-bottom:20px}.subscription-params-title{text-transform:uppercase;font-size:calc((12 / var(--baseline-size)) * 1rem);font-weight:700;margin-bottom:5px}.environment-manager-wrapper{display:flex}.environment-manager__list-wrapper{width:200px;border-right:1px solid var(--theme-border-color)}.environment-manager__list{margin-bottom:20px}.environment-manager__list-title{font-weight:700}.environment-manager__list-actions{padding:0 10px}.environment-manager__list-item{white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden;overflow-y:auto;padding:5px 10px;cursor:pointer;transition:all .3s ease}.environment-manager__list-item:hover{background:var(--theme-off-bg-color)}.environment-manager__list-item--selected{background:var(--theme-off-bg-color);border-right:5px solid var(--primary-color)}.environment-manager__editor-wrapper{flex:1}.environment-manager__editor-meta{padding:0 10px;display:flex}.environment-manager__editor-meta-input-wrapper{flex:1}.environment-manager__editor-meta-input{border:none;font-size:calc((18 / var(--baseline-size)) * 1rem);height:100%}.tooltip-content.ngxp__container{background:var(--theme-bg-color);color:var(--theme-font-color);border-color:var(--theme-border-color);padding:5px 10px;z-index:5;white-space:normal;max-width:300px}.smart-input-line{min-height:30px}app-smart-input-block{height:100%;display:inline-block}app-smart-input-block.special-block{background:var(--secondary-color);color:var(--white-color)}.fancy-input-container,app-fancy-input{display:flex;position:relative;overflow:hidden!important;-webkit-text-size-adjust:none!important;width:100%}.fancy-input-backdrop{position:absolute!important;top:0!important;right:-99px!important;bottom:0!important;left:0!important;padding-right:99px!important;overflow-x:hidden!important;overflow-y:auto!important;pointer-events:none}.fancy-input-highlights{height:auto!important;border-color:transparent!important;white-space:pre;color:transparent!important;overflow:hidden!important}.fancy-input-element{display:block!important;position:relative!important;border-radius:0;font:inherit;overflow-x:hidden!important;overflow-y:auto!important}.fancy-input-content{margin:0;width:inherit;padding:0;border:0;background:none transparent!important}app-fancy-input-marker{display:inline-block;position:relative}app-fancy-input-marker mark{color:var(--primary-color);background:transparent;border-radius:4px;padding:0!important}app-fancy-input-marker .fancy-input-marker__invalid{color:var(--red-color)}app-fancy-input-marker .value-indicator__wrapper{display:flex;position:absolute;top:50%;right:-5%;line-height:1;transform:translateY(-50%);color:transparent}app-fancy-input-marker .value-indicator{position:absolute;top:-10%;right:0;width:7px;height:7px;background-color:var(--theme-font-color);border-radius:50%;pointer-events:all;opacity:.5;transition:all .3s ease}app-fancy-input-marker .value-indicator:hover{opacity:1;transform:scale(1.2)}.settings-shortcut-category-title{text-transform:uppercase}.settings-shortcut-description{margin-right:20px}.settings-shortcut-key{background:var(--theme-bg-color);padding:3px 5px;border-radius:4px;margin-right:5px}.settings__reset-link,.settings__reset-link:link,.settings__reset-link:visited{color:var(--theme-font-color);opacity:.1}.settings__reset-link:hover,.settings__reset-link:link:hover,.settings__reset-link:visited:hover{transition:all .3s ease 1s;opacity:1;color:var(--red-color)}.plugin__holder{width:100%;height:100%;overflow:auto}.plugin__hide-content{display:none!important}.element__wrapper{overflow:auto;height:100%}.ui-form__item nz-form-control{max-width:350px}.ui-form__item nz-form-label{width:100%;text-align:left}.ui-form__list-wrapper{position:relative}.ui-form__list-item-close{position:absolute;top:100%;left:0;color:var(--red-color);background:var(--theme-off-bg-color);border-radius:4px;line-height:1;padding:3px;font-size:calc((12 / var(--baseline-size)) * 1rem);cursor:pointer}.app-icon,app-icon,app-icon .app-icon{display:inline-block;margin:0;height:16px;width:16px;vertical-align:middle;stroke:currentColor}app-icon .app-icon,app-icon .app-icon svg{display:block}.plugin-manager-wrapper{display:flex}.plugin-manager__list{width:30%}.plugin-manager__list-item{padding:10px;border-radius:4px;margin-bottom:10px;transition:all .3s ease;border:1px solid transparent;cursor:pointer}.plugin-manager__list-item:hover{background:var(--theme-off-bg-color)}.plugin-manager__list-item--selected{border-color:var(--primary-color)}.plugin-manager__list-item-name{font-weight:500;font-size:calc((14 / var(--baseline-size)) * 1rem);margin-bottom:10px}.plugin-manager__list-item-version{display:inline-block;font-size:calc((10 / var(--baseline-size)) * 1rem);color:var(--theme-off-font-color)}.plugin-manager__list-item-description{font-size:calc((12 / var(--baseline-size)) * 1rem)}.plugin-manager__item-details{flex:1;padding:0 10px}.plugin-manager__item-details-name{font-size:calc((16 / var(--baseline-size)) * 1rem);margin-bottom:10px}.plugin-manager__item-details-unique-name{display:inline-block;font-size:calc((12 / var(--baseline-size)) * 1rem);background:var(--theme-off-bg-color)}.main-view-tabs{height:100%;display:flex;flex-direction:column}.main-view-tabs .ant-tabs-tab,.main-view-tabs>.ant-tabs-nav .ant-tabs-tab{padding:0}.main-view-tabs .ant-tabs-tab-btn{padding:5px 8px;font-size:calc((14 / var(--baseline-size)) * 1rem)}.main-view-tabs .ant-tabs-tab-active .ant-tabs-tab-btn,.main-view-tabs .ant-tabs-tab:not(.ant-tabs-tab-disabled):hover{background:var(--theme-off-bg-color);border-radius:4px}.main-view-tabs .ant-tabs-content{display:flex;flex:1}.main-view-tabs .ant-tabs-tabpane{display:flex;flex-direction:column}.main-view-tabs .ant-tabs-content-holder{display:flex}.main-view-tabs>.ant-tabs-nav:before,.main-view-tabs>div>.ant-tabs-nav:before{border-color:transparent}.main-view-tabs .ant-tabs-ink-bar{background:transparent}.main-view-tabs>.ant-tabs-nav,.main-view-tabs>div>.ant-tabs-nav{margin-top:8px;margin-bottom:8px}.main-view-tabs .ant-tabs-tab.ant-tabs-tab-disabled{color:var(--theme-font-color);opacity:.3} \ No newline at end of file diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/es6-promise.auto.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/es6-promise.auto.min.js similarity index 100% rename from graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/es6-promise.auto.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/es6-promise.auto.min.js diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/favicon.ico b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/favicon.ico similarity index 100% rename from graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/favicon.ico rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/favicon.ico diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/fetch.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/fetch.min.js similarity index 100% rename from graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/fetch.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/fetch.min.js diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql-subscriptions-fetcher-browser-client.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql-subscriptions-fetcher-browser-client.js similarity index 100% rename from graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql-subscriptions-fetcher-browser-client.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql-subscriptions-fetcher-browser-client.js diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql.min.css b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql.min.css similarity index 100% rename from graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql.min.css rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql.min.css diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql.min.js similarity index 100% rename from graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/graphiql.min.js diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/react-dom.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/react-dom.min.js similarity index 100% rename from graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/react-dom.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/react-dom.min.js diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/react.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/react.min.js similarity index 100% rename from graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/react.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/react.min.js diff --git a/graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/subscriptions-transport-ws-browser-client.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/subscriptions-transport-ws-browser-client.js similarity index 100% rename from graphiql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/subscriptions-transport-ws-browser-client.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/graphiql/subscriptions-transport-ws-browser-client.js diff --git a/playground-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/favicon.png b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/favicon.png similarity index 100% rename from playground-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/favicon.png rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/favicon.png diff --git a/playground-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/logo.png b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/logo.png similarity index 100% rename from playground-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/logo.png rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/logo.png diff --git a/playground-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/static/css/index.css b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/static/css/index.css similarity index 100% rename from playground-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/static/css/index.css rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/static/css/index.css diff --git a/playground-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/static/js/middleware.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/static/js/middleware.js similarity index 100% rename from playground-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/static/js/middleware.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/playground/static/js/middleware.js diff --git a/voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/es6-promise.auto.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/es6-promise.auto.min.js similarity index 100% rename from voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/es6-promise.auto.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/es6-promise.auto.min.js diff --git a/voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/favicon.ico b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/favicon.ico similarity index 100% rename from voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/favicon.ico rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/favicon.ico diff --git a/voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/fetch.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/fetch.min.js similarity index 100% rename from voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/fetch.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/fetch.min.js diff --git a/voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/react-dom.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/react-dom.min.js similarity index 100% rename from voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/react-dom.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/react-dom.min.js diff --git a/voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/react.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/react.min.js similarity index 100% rename from voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/react.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/react.min.js diff --git a/voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.css b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.css similarity index 100% rename from voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.css rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.css diff --git a/voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.min.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.min.js similarity index 100% rename from voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.min.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.min.js diff --git a/voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.worker.js b/graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.worker.js similarity index 100% rename from voyager-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.worker.js rename to graphql-spring-boot-autoconfigure/src/main/resources/static/vendor/voyager/voyager.worker.js diff --git a/altair-spring-boot-autoconfigure/src/main/resources/altair.html b/graphql-spring-boot-autoconfigure/src/main/resources/templates/altair.html similarity index 59% rename from altair-spring-boot-autoconfigure/src/main/resources/altair.html rename to graphql-spring-boot-autoconfigure/src/main/resources/templates/altair.html index 0ab58963..6306a101 100644 --- a/altair-spring-boot-autoconfigure/src/main/resources/altair.html +++ b/graphql-spring-boot-autoconfigure/src/main/resources/templates/altair.html @@ -1,5 +1,5 @@ - + @@ -12,16 +12,6 @@ -